diff options
Diffstat (limited to 'ConfigureChecks.cmake')
| -rw-r--r-- | ConfigureChecks.cmake | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index c43a8be..02b3fea 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -9,7 +9,7 @@ # required stuff -tde_setup_architecture_flags( ) +tde_setup_compiler_flags( ) include(TestBigEndian) test_big_endian(WORDS_BIGENDIAN) @@ -45,9 +45,17 @@ endif( WITH_SSL ) #### check for ASUS Mail LED if( WITH_MLED ) - if( EXISTS "/proc/acpi/asus/mled" ) - set( HAVE_MLED 1 ) - else( ) - tde_mesage_fatal( "ASUS Mail LED support was requested but not found in ACPI" ) + set( HAVE_MLED 1 ) + if( NOT EXISTS "/proc/acpi/asus/mled" ) + message( WARNING + "\n" + "-DWITH_MLED=ON requires 'asus-laptop' kernel module from acpi4asus " + "project to work, which was not found on your system. The project is " + "currently abandoned and the module doesn't support linux kernels above " + "2.6.19. There is no harm in enabling the flag besides an additional " + "message on stderr, but you won't get any benefits from it either unless " + "you run some very unusual system configuration." + "\n" + ) endif( ) endif( WITH_MLED ) |
