From b01cab26f3dfe7ccbb73985a3c8b85e7dad2ebb7 Mon Sep 17 00:00:00 2001 From: stolz Date: Fri, 23 May 2003 14:31:46 +0000 Subject: [PATCH] [project @ 2003-05-23 14:31:45 by stolz] No (un)setenv until SUSv3 (e.g. Solaris 2.9). (fallback untested) --- configure.in | 1 + mk/config.h.in | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/configure.in b/configure.in index d298e50..5f64488 100644 --- a/configure.in +++ b/configure.in @@ -953,6 +953,7 @@ AC_CHECK_FUNCS(vsnprintf _vsnprintf) AC_CHECK_FUNCS(snprintf _snprintf ) AC_CHECK_FUNCS(popen _popen ) AC_CHECK_FUNCS(pclose _pclose ) +AC_CHECK_FUNCS(setenv unsetenv) dnl ** check for specific library functions that we are interested in diff --git a/mk/config.h.in b/mk/config.h.in index b66c524..aa1964d 100644 --- a/mk/config.h.in +++ b/mk/config.h.in @@ -784,6 +784,12 @@ /* Define if you have the `popen' function. */ #undef HAVE_POPEN +/* Define if you have the `setenv' function. */ +#undef HAVE_SETENV + +/* Define if you have the `unsetenv' function. */ +#undef HAVE_UNSETENV + /* Define if you have the header file. */ #undef HAVE_PTHREAD_H -- 1.7.10.4