aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-01 01:53:29 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-01 01:53:29 +0000
commit3a4195e4293dce547f9fd671063d9b65ca14cc56 (patch)
tree503e7c0a091920be1626452a1a9ddd4def926836 /config
parent86c534a99a9eda6be04595e2fecc433e51ddaed2 (diff)
downloadopen-axiom-3a4195e4293dce547f9fd671063d9b65ca14cc56.tar.gz
More C cleanups
Diffstat (limited to 'config')
-rw-r--r--config/open-axiom.m41
-rw-r--r--config/openaxiom-c-macros.h.in6
2 files changed, 7 insertions, 0 deletions
diff --git a/config/open-axiom.m4 b/config/open-axiom.m4
index 69645b17..90f3e8cd 100644
--- a/config/open-axiom.m4
+++ b/config/open-axiom.m4
@@ -785,6 +785,7 @@ dnl -----------------------------
dnl -- OPENAXIOM_CHECK_PROCESS --
dnl -----------------------------
AC_DEFUN([OPENAXIOM_CHECK_PROCESS],[
+AC_CHECK_HEADERS([setenv, putenv], [], [], [#include <stdlib.h>])
AC_CHECK_DECLS([getuid, geteuid, getgid, getegid], [], [],
[#include <unistd.h>])
AC_CHECK_HEADERS([sys/wait.h])
diff --git a/config/openaxiom-c-macros.h.in b/config/openaxiom-c-macros.h.in
index e0b7c3f7..8931f245 100644
--- a/config/openaxiom-c-macros.h.in
+++ b/config/openaxiom-c-macros.h.in
@@ -90,6 +90,12 @@
/* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H
+/* Define to 1 if you have the <putenv> header file. */
+#undef HAVE_PUTENV
+
+/* Define to 1 if you have the <setenv,> header file. */
+#undef HAVE_SETENV_
+
/* Define to 1 if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H