summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2007-01-25 05:20:19 (GMT)
committerdas <das>2007-01-25 05:20:19 (GMT)
commit9d6ba17b2f2c4090f9e1b262c624f6e5be10a2de (patch)
treedcc96eba1c60fa506d53747c57cbda8e294d6ffb /unix/tcl.m4
parente04cccba5deea95be80a78dc64e5497ea0e76958 (diff)
downloadtcl-9d6ba17b2f2c4090f9e1b262c624f6e5be10a2de.zip
tcl-9d6ba17b2f2c4090f9e1b262c624f6e5be10a2de.tar.gz
tcl-9d6ba17b2f2c4090f9e1b262c624f6e5be10a2de.tar.bz2
previous commit omitted some changes from the HEAD
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 4e39e51..2662fec 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1039,7 +1039,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
ECHO_VERSION='`echo ${VERSION}`'
TCL_LIB_VERSIONS_OK=ok
- CFLAGS="${CPPFLAGS} ${CFLAGS}"
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE=-O
if test "$GCC" = "yes" ; then
@@ -1561,8 +1560,8 @@ dnl AC_CHECK_TOOL(AR, ar)
CFLAGS_OPTIMIZE="-Os"
SHLIB_CFLAGS="-fno-common"
# To avoid discrepancies between what headers configure sees during
- # preprocessing tests and compiling tests, add any -isysroot and
- # -mmacosx-version-min flags present in CFLAGS to CPPFLAGS:
+ # preprocessing tests and compiling tests, move any -isysroot and
+ # -mmacosx-version-min flags from CFLAGS to CPPFLAGS:
CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \
awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
if ([$]i~/^(isysroot|mmacosx-version-min)/) print "-"[$]i}'`"