summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 21:59:14 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 21:59:14 +0000
commite2191eda39bb8021d36d86750b9eb6b33702fa95 (patch)
treea2c195444bd1b33660be8d321ec39a13ba18469a /configure.ac
parent2f07c342e877fde5d3f64041ca6ff365a643ddc8 (diff)
Define HAS_MKSTEMP if mkstemp() is present (needed for improved protection
against tempfile race conditions in many places)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d9ba5c2..098b66b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,9 @@ fi
#endif
#endif
+AC_CHECK_FUNC([mkstemp],
+ AC_DEFINE(HAS_MKSTEMP,1,[Define to 1 if you have the `mkstemp' function.]))
+
# Checks for pkg-config packages
XAW_CHECK_XPRINT_SUPPORT(DEP)