From: Emil Velikov Date: Fri, 10 Jul 2015 11:28:23 +0000 (+0100) Subject: configure.ac: check for mkostemp() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb3e2562a4bf728082818b46dcae1ab88340786e;p=mesa.git 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 --- 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.