summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-30 20:33:15 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-30 20:33:15 +0000
commita0d7e5f72a1a6b4222ec05b368935d2d84c76e2c (patch)
tree0e66f84abb470fa0e5141ead918ddc120ee234e9
parent660867c1e6639382a389db391db468e214fce235 (diff)
Add check for putenv() for xsm's misc.c
-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)