aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt8
-rw-r--r--config.h.in16
2 files changed, 22 insertions, 2 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)
diff --git a/config.h.in b/config.h.in
index c80a7d56..b2faed9f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -116,11 +116,17 @@
/* Define if we have arm_neon.h */
#cmakedefine HAVE_ARM_NEON_H
+/* Define if we have alloca.h */
+#cmakedefine HAVE_ALLOCA_H
+
/* Define if we have malloc.h */
#cmakedefine HAVE_MALLOC_H
-/* Define if we have alloca.h */
-#cmakedefine HAVE_ALLOCA_H
+/* Define if we have ftw.h */
+#cmakedefine HAVE_FTW_H
+
+/* Define if we have io.h */
+#cmakedefine HAVE_IO_H
/* Define if we have strings.h */
#cmakedefine HAVE_STRINGS_H
@@ -152,6 +158,12 @@
/* Define if we have __control87_2() */
#cmakedefine HAVE___CONTROL87_2
+/* Define if we have ftw() */
+#cmakedefine HAVE_FTW
+
+/* Define if we have _wfindfirst() */
+#cmakedefine HAVE__WFINDFIRST
+
/* Define if we have pthread_setschedparam() */
#cmakedefine HAVE_PTHREAD_SETSCHEDPARAM