From 6f2e1fdbc56144db97b432f8bd152cb6abce45ca Mon Sep 17 00:00:00 2001 From: mdejong Date: Mon, 18 Aug 2003 07:25:49 +0000 Subject: * win/configure: Regen. * win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead of -eq, which does not work. [Bug 781109] --- ChangeLog | 6 ++++++ win/configure | 6 +++--- win/tcl.m4 | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cdc9f03..9f6b233 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-18 Mo DeJong + + * win/configure: Regen. + * win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead + of -eq, which does not work. [Bug 781109] + 2003-08-13 Chengye Mao * win/tclWinPipe.c: fixed a bug in BuildCommandLine. diff --git a/win/configure b/win/configure index 2a31e26..8893cbd 100755 --- a/win/configure +++ b/win/configure @@ -2081,12 +2081,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ + '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ - 'void exit (int);' \ - '#include ' + 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -3357,7 +3357,7 @@ echo "${ECHO_T}no" >&6 # Use result from SC_CONFIG_CFLAGS to determine if # optimization is truly active. - if $OPTIMIZING -eq 1 ; then + if test "$OPTIMIZING" = "1" ; then cat >>confdefs.h <<\_ACEOF #define TCL_CFG_OPTIMIZED 1 _ACEOF diff --git a/win/tcl.m4 b/win/tcl.m4 index e459fec..75e3352 100644 --- a/win/tcl.m4 +++ b/win/tcl.m4 @@ -305,7 +305,7 @@ AC_DEFUN(SC_ENABLE_SYMBOLS, [ # Use result from SC_CONFIG_CFLAGS to determine if # optimization is truly active. - if [ $OPTIMIZING -eq 1 ]; then + if test "$OPTIMIZING" = "1" ; then AC_DEFINE(TCL_CFG_OPTIMIZED) fi else -- cgit v0.12