From 1bef5390ae91148e61c613235e7db3729d7e8781 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 16 Jul 2005 21:59:14 +0000 Subject: Define HAS_MKSTEMP if mkstemp() is present (needed for improved protection against tempfile race conditions in many places) --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bd2ce2b..dc861d8 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,9 @@ AM_CONFIG_HEADER(config.h) AC_PROG_CC AC_PROG_INSTALL +AC_CHECK_FUNC([mkstemp], + AC_DEFINE(HAS_MKSTEMP,1,[Define to 1 if you have the `mkstemp' function.])) + # bmtoa checks for packages PKG_CHECK_MODULES(BMTOA, x11 xmu) AC_SUBST(BMTOA_CFLAGS) -- cgit v1.2.3