summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 11:24:56 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 11:24:56 -0800
commit5a273c9fab6a4fe3ab0c729e78f3a86d3e5a69ed (patch)
tree6973b7b128ba66d077dd110accad6c0fcd809230 /configure.ac
parent79a24ac258f66014af066df0707058b971c31988 (diff)
Use standard autoconf defines for mkstemp & putenv instead of imake leftovers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index bd4ceea..a2c5c20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,10 +45,7 @@ AC_ARG_WITH(rsh, AS_HELP_STRING([--with-rsh=PATH],
RSH=$rsh
AC_SUBST(RSH)
-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.]))
+AC_CHECK_FUNCS([mkstemp putenv])
# Checks for pkg-config packages
PKG_CHECK_MODULES(XSM, [x11 xt > 1.0.99 ice sm xaw7])