From eb3e2562a4bf728082818b46dcae1ab88340786e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 10 Jul 2015 12:28:23 +0100 Subject: [PATCH] configure.ac: check for mkostemp() We can make use of it over mkstemp + fcntl in the egl/wayland code. Cc: Axel Davy Suggested-by: Matt Turner Signed-off-by: Emil Velikov --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 1976d56..2fc5a25 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. -- 2.7.4