aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ConfigureChecks.cmake1
-rw-r--r--cmakeconfig.h.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4c17f58fbe..c9ac11ad4b 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -48,4 +48,5 @@ check_function_exists("inet_ntop" HAVE_INET_NTOP_PROTO)
check_function_exists("issetugid" HAVE_ISSETUGID)
check_function_exists("mmap" HAVE_MMAP)
check_function_exists("mprotect" HAVE_MPROTECT)
+check_function_exists("mkstemp" HAVE_MKSTEMP)
check_function_exists("sysconf" HAVE_SYSCONF)
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 499b00acd0..bc38d8a254 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -102,6 +102,9 @@
/* Define to use MIT kerberos */
#cmakedefine HAVE_MIT_KERBEROS 1
+/* Define to 1 if you have the `mkstemp' function. */
+#cmakedefine HAVE_MKSTEMP 1
+
/* Define to 1 if you have the `mmap' function. */
#cmakedefine HAVE_MMAP 1