check for setenv first, then putenv as using setenv in wxSetEnv() is much easier

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-19 23:00:09 +00:00
parent c0472c7c9e
commit c225b981b6
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 47544 2007-07-18 12:58:28Z VZ .
# From configure.in Id: configure.in 47557 2007-07-19 01:02:28Z VZ .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
@@ -39944,7 +39944,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

@@ -4576,7 +4576,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