diff options
author | OBATA Akio <obache@wizdas.com> | 2019-04-06 19:01:11 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2019-04-16 18:02:35 +0900 |
commit | f8424834b6a36b4d3e43e3af199e55c18fb913b8 (patch) | |
tree | fc9b419d76a6552bcb49073ae814e06499318e55 /ConfigureChecks.cmake | |
parent | da2fceb03bbdb031fbe6e3e285f5a4d0b013c0b4 (diff) | |
download | tdeutils-f8424834b6a36b4d3e43e3af199e55c18fb913b8.tar.gz tdeutils-f8424834b6a36b4d3e43e3af199e55c18fb913b8.zip |
Fix NetBSD APM support
NetBSD APM is supported other than i386 too, emulate API,
so change to detect with MI support header.
Additionally, catch up support codes to others.
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 44ca497..1b48407 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -80,6 +80,10 @@ if( BUILD_KLAPTOPDAEMON ) tde_message_fatal( "stdint.h header is required, but was not found on your system" ) endif( NOT HAVE_STDINT_H ) +# NetBSD apm support + check_include_files( "unistd.h;machine/apm_bios.h" HAVE_MACHINE_APM_BIOS_H ) + check_include_files( "unistd.h;dev/apm/apmio.h" HAVE_DEV_APM_APMIO_H ) + # xtest pkg_search_module( XTEST xtst ) if( XTEST_FOUND ) |