use unsetenv() instead of setenv(var, NULL) which is invalid

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-08-07 22:29:07 +00:00
parent fbd4ef1c5e
commit 6e66311d0a
5 changed files with 344 additions and 103 deletions

View File

@@ -4954,6 +4954,9 @@ AC_CHECK_FUNCS(timegm)
dnl look for a function to modify the environment
AC_CHECK_FUNCS(setenv putenv, break)
if test "$ac_cv_func_setenv" = "yes"; then
AC_CHECK_FUNCS(unsetenv)
fi
HAVE_SOME_SLEEP_FUNC=0
if test "$USE_BEOS" = 1; then