summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-10 12:28:23 +0100
committerEmil Velikov <[email protected]>2015-08-01 15:41:45 +0100
commiteb3e2562a4bf728082818b46dcae1ab88340786e (patch)
treede06d9346029ffa09f1babb3f14f2050a13e5847
parent175d9752796bbcc52f1df90b1466c879bccfc406 (diff)
configure.ac: check for mkostemp()
We can make use of it over mkstemp + fcntl in the egl/wayland code. Cc: Axel Davy <[email protected]> Suggested-by: Matt Turner <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1976d56769e..2fc5a2592d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -654,6 +654,7 @@ fi
AC_CHECK_HEADER([xlocale.h], [DEFINES="$DEFINES -DHAVE_XLOCALE_H"])
AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"])
AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])
+AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"])
dnl Check to see if dlopen is in default libraries (like Solaris, which
dnl has it in libc), or if libdl is needed to get it.