Module: Mesa
Branch: master
Commit: eb3e2562a4bf728082818b46dcae1ab88340786e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb3e2562a4bf728082818b46dcae1ab88340786e

Author: Emil Velikov <[email protected]>
Date:   Fri Jul 10 12:28:23 2015 +0100

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]>

---

 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.

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to