From 3a4195e4293dce547f9fd671063d9b65ca14cc56 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 1 Apr 2013 01:53:29 +0000 Subject: More C cleanups --- config/open-axiom.m4 | 1 + config/openaxiom-c-macros.h.in | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'config') 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 ]) AC_CHECK_DECLS([getuid, geteuid, getgid, getegid], [], [], [#include ]) 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 header file. */ #undef HAVE_PTY_H +/* Define to 1 if you have the header file. */ +#undef HAVE_PUTENV + +/* Define to 1 if you have the header file. */ +#undef HAVE_SETENV_ + /* Define to 1 if you have the header file. */ #undef HAVE_SIGNAL_H -- cgit v1.2.3