check for setenv first, then putenv as using setenv in wxSetEnv() is much easier [backport from trunk]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-19 23:00:32 +00:00
parent 5c40864f51
commit 3e1fc4d2ae
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 47414 2007-07-13 02:49:34Z DE .
# From configure.in Id: configure.in 47558 2007-07-19 01:06:01Z VZ .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for wxWidgets 2.8.4.
#
@@ -36132,7 +36132,7 @@ done
for ac_func in putenv setenv
for ac_func in setenv putenv
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5

View File

@@ -4953,7 +4953,7 @@ dnl check for timegm() used by datetime.cpp
AC_CHECK_FUNCS(timegm)
dnl look for a function to modify the environment
AC_CHECK_FUNCS(putenv setenv, break)
AC_CHECK_FUNCS(setenv putenv, break)
HAVE_SOME_SLEEP_FUNC=0
if test "$USE_BEOS" = 1; then