From: stolz Date: Fri, 23 May 2003 14:31:46 +0000 (+0000) Subject: [project @ 2003-05-23 14:31:45 by stolz] X-Git-Tag: Approx_11550_changesets_converted~867 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b01cab26f3dfe7ccbb73985a3c8b85e7dad2ebb7;p=ghc-hetmet.git [project @ 2003-05-23 14:31:45 by stolz] No (un)setenv until SUSv3 (e.g. Solaris 2.9). (fallback untested) --- 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