diff options
author | mdejong <mdejong> | 2001-06-26 20:13:20 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-06-26 20:13:20 (GMT) |
commit | 6e78ca3bfaefa925f074070ac7788fd278271283 (patch) | |
tree | fa853605d01f77957018424a0fd85d7b5f055ee1 /win/configure.in | |
parent | 8f2d7d9c0c6cc1877c74aba39be24687c6791c32 (diff) | |
download | tcl-6e78ca3bfaefa925f074070ac7788fd278271283.zip tcl-6e78ca3bfaefa925f074070ac7788fd278271283.tar.gz tcl-6e78ca3bfaefa925f074070ac7788fd278271283.tar.bz2 |
* unix/configure: Regen.
* unix/configure.in: Set CFLAGS to "" if the user
did not set CFLAGS in the env. This keeps AC_PROG_CC
from adding "-g -O2" to the CFLAGS by default.
* win/configure: Regen.
* win/configure.in: Ditto.
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in index e763dae..82c8377 100644 --- a/win/configure.in +++ b/win/configure.in @@ -2,7 +2,7 @@ # generate the file "configure", which is run during Tcl installation # to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.34 2001/06/26 00:53:01 mdejong Exp $ +# RCS: @(#) $Id: configure.in,v 1.35 2001/06/26 20:13:20 mdejong Exp $ AC_INIT(../generic/tcl.h) @@ -23,6 +23,12 @@ fi # Standard compiler checks #------------------------------------------------------------------------ +# If the user did not set CFLAGS, set it now to keep +# the AC_PROG_CC macro from adding "-g -O2". +if test "${CFLAGS+set}" != "set" ; then + export CFLAGS="" +fi + AC_PROG_CC # To properly support cross-compilation, one would |