summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-01 19:19:41 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-01 19:19:41 +0000
commitf4c7321fc4dddeee6729c8105d83ce5b284b53f0 (patch)
treee5b0e6a4e3c29aab87858e367e557ef93074bcda
parentf8f4f0fb6b537f62fe35183ca3c1df05a4b50079 (diff)
downloadwireshark-f4c7321fc4dddeee6729c8105d83ce5b284b53f0.tar.gz
Check for mkdtemp()
svn path=/trunk/; revision=29659
-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 c9ac11ad4b..b8fb94bd2d 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -48,5 +48,6 @@ 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("mkdtemp" HAVE_MKDTEMP)
check_function_exists("mkstemp" HAVE_MKSTEMP)
check_function_exists("sysconf" HAVE_SYSCONF)
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index bc38d8a254..e27ede8e7c 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 `mkdtemp' function. */
+#cmakedefine HAVE_MKDTEMP 1
+
/* Define to 1 if you have the `mkstemp' function. */
#cmakedefine HAVE_MKSTEMP 1