From c225b981b66212886d33c480cba7f88867747227 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 19 Jul 2007 23:00:09 +0000 Subject: [PATCH] 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 --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index dec4e288dc..ed720f4691 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 5f00378d64..041624853f 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.45.2