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:
4
configure
vendored
4
configure
vendored
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user