summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 30c8daf..a2b0e40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,8 @@ fi
AC_CHECK_FUNC([mkstemp],
AC_DEFINE(HAS_MKSTEMP,1,[Define to 1 if you have the `mkstemp' function.]))
+AC_CHECK_FUNC([putenv], [],
+ AC_DEFINE(NOPUTENV,1,[Define to 1 if you DO NOT have the `putenv' function.]))
# Checks for pkg-config packages
XAW_CHECK_XPRINT_SUPPORT(XSM)