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