summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authormdejong <mdejong>2003-08-18 07:25:49 (GMT)
committermdejong <mdejong>2003-08-18 07:25:49 (GMT)
commit6f2e1fdbc56144db97b432f8bd152cb6abce45ca (patch)
tree7bfcd4b7567cdf7c89d4fdff2e34c584ae5ae074 /win
parentfcf099c193f2f5f2f310954a013c7de3d51a3b29 (diff)
downloadtcl-6f2e1fdbc56144db97b432f8bd152cb6abce45ca.zip
tcl-6f2e1fdbc56144db97b432f8bd152cb6abce45ca.tar.gz
tcl-6f2e1fdbc56144db97b432f8bd152cb6abce45ca.tar.bz2
* win/configure: Regen.
* win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead of -eq, which does not work. [Bug 781109]
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure6
-rw-r--r--win/tcl.m42
2 files changed, 4 insertions, 4 deletions
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
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