diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-16 21:59:14 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-16 21:59:14 +0000 |
commit | e2191eda39bb8021d36d86750b9eb6b33702fa95 (patch) | |
tree | a2c195444bd1b33660be8d321ec39a13ba18469a | |
parent | 2f07c342e877fde5d3f64041ca6ff365a643ddc8 (diff) |
Define HAS_MKSTEMP if mkstemp() is present (needed for improved protection
against tempfile race conditions in many places)
-rw-r--r-- | configure.ac | 3 |
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) |