aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-27 22:21:02 -0700
committerChris Robinson <[email protected]>2014-03-27 22:21:37 -0700
commit18620ab5e00fb4cba97f3aa2bfbc677dfe8376ef (patch)
tree0c0d5f465171413859a3b56e83d59b428511a16b /CMakeLists.txt
parentd11d061b2c424f7b6a679a8461c274dbbfb8e077 (diff)
Check for ftw and _wfindfirst
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37aa57dd..cecb7e67 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -317,6 +317,8 @@ IF(NOT HAVE_C99_VLA)
CHECK_INCLUDE_FILE(alloca.h HAVE_ALLOCA_H)
ENDIF()
CHECK_INCLUDE_FILE(malloc.h HAVE_MALLOC_H)
+CHECK_INCLUDE_FILE(ftw.h HAVE_FTW_H)
+CHECK_INCLUDE_FILE(io.h HAVE_IO_H)
CHECK_INCLUDE_FILE(strings.h HAVE_STRINGS_H)
CHECK_INCLUDE_FILE(cpuid.h HAVE_CPUID_H)
CHECK_INCLUDE_FILE(sys/sysconf.h HAVE_SYS_SYSCONF_H)
@@ -360,6 +362,12 @@ IF(HAVE_FLOAT_H)
CHECK_SYMBOL_EXISTS(_controlfp float.h HAVE__CONTROLFP)
CHECK_SYMBOL_EXISTS(__control87_2 float.h HAVE___CONTROL87_2)
ENDIF()
+IF(HAVE_FTW_H)
+ CHECK_SYMBOL_EXISTS(ftw ftw.h HAVE_FTW)
+ENDIF()
+IF(HAVE_IO_H)
+ CHECK_SYMBOL_EXISTS(_wfindfirst io.h HAVE__WFINDFIRST)
+ENDIF()
CHECK_FUNCTION_EXISTS(strtof HAVE_STRTOF)
CHECK_FUNCTION_EXISTS(stat HAVE_STAT)