diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-01-08 16:52:00 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-01-08 16:53:27 +0400 |
commit | 72ff4776cd78698c7f47868e88cd6072979f61b5 (patch) | |
tree | e47639de52c79ce58620100a0ba0bf632c085ead /CMakeLists.txt | |
parent | aca3cb87a3ecec4986258cb04df6b20ab56af24a (diff) | |
download | schroot-72ff4776cd78698c7f47868e88cd6072979f61b5.tar.gz |
Use config.h
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f4b4b73f..7caca604 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,37 +105,20 @@ check_include_file_cxx ("mntent.h" HAVE_MNTENT_H) check_include_file_cxx ("sys/mnttab.h" HAVE_SYS_MNTTAB_H) if (HAVE_MNTENT_H) - add_definitions (-D HAVE_MNTENT_H=1) check_struct_has_member ("struct mntent" mnt_opts "mntent.h" HAVE_MNTENT) - if (HAVE_MNTENT) - add_definitions (-D HAVE_MNTENT=1) - endif() endif() if (HAVE_SYS_MNTTAB_H) - add_definitions (-D HAVE_SYS_MNTTAB_H=1) check_struct_has_member ("struct mnttab" mnt_mntopts "sys/mnttab.h" HAVE_MNTTAB) - if (HAVE_MNTTAB) - add_definitions (-D HAVE_MNTTAB=1) - endif() endif() check_symbol_exists (environ "unistd.h" HAVE_ENVIRON_DECLARED) -if (HAVE_ENVIRON_DECLARED) - add_definitions (-D HAVE_ENVIRON_DECLARED=1) -endif() # LIBRARY CHECKS include (CheckLibraryExists) include (CheckFunctionExists) check_function_exists (setmntent HAVE_SETMNTENT) -if (HAVE_SETMNTENT) - add_definitions (-D HAVE_SETMNTENT=1) -endif() check_function_exists (endmntent HAVE_ENDMNTENT) -if (HAVE_ENDMNTENT) - add_definitions (-D HAVE_ENDMNTENT=1) -endif() include("cmake/boost-checks.cmake") include("cmake/regex-checks.cmake") |