diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 3f31313..3ffcde3 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -32,8 +32,16 @@ check_include_file ( "sys/statvfs.h" HAVE_SYS_STATVFS_H ) check_include_file ( "sys/vfs.h" HAVE_SYS_VFS_H ) check_include_file ( "byteswap.h" HAVE_BYTESWAP_H ) check_include_file ( "stdint.h" HAVE_STDINT_H ) +tde_save_and_set( CMAKE_REQUIRED_LIBRARIES "m" ) check_symbol_exists ( lrint "math.h" HAVE_LRINT ) check_symbol_exists ( lrintf "math.h" HAVE_LRINTF ) +tde_restore( CMAKE_REQUIRED_LIBRARIES ) +if( NOT HAVE_LRINT ) + set( HAVE_LRINT 0 ) +endif( NOT HAVE_LRINT ) +if( NOT HAVE_LRINTF ) + set( HAVE_LRINTF 0 ) +endif( NOT HAVE_LRINTF ) check_symbol_exists ( stat64 "sys/types.h;sys/stat.h;unistd.h" HAVE_STAT64 ) ##### k3bsetup ################################## |