diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | win/configure | 6 | ||||
-rw-r--r-- | win/tcl.m4 | 2 |
3 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2003-08-18 Mo DeJong <mdejong@users.sourceforge.net> + + * 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 <chengye.geo@yahoo.com> * 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 <stdlib.h>' \ '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 <stdlib.h>' + '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 @@ -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 |