diff options
author | das <das@noemail.net> | 2007-01-25 05:20:18 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2007-01-25 05:20:18 (GMT) |
commit | 2a3ef0c94ba26afb725d811696a6f4c9ed5e317a (patch) | |
tree | dcc96eba1c60fa506d53747c57cbda8e294d6ffb /unix/tcl.m4 | |
parent | 4878404ba6b294293ff8a65d4b49820d2615ede7 (diff) | |
download | tcl-2a3ef0c94ba26afb725d811696a6f4c9ed5e317a.zip tcl-2a3ef0c94ba26afb725d811696a6f4c9ed5e317a.tar.gz tcl-2a3ef0c94ba26afb725d811696a6f4c9ed5e317a.tar.bz2 |
previous commit omitted some changes from the HEAD
FossilOrigin-Name: bbc46461de2be7e5d0c242f4102d7a890423c908
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 5 |
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}'`" |