summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2004-07-20 11:13:07 (GMT)
committerdas <das>2004-07-20 11:13:07 (GMT)
commit3d2e7995dd6ea56840a0c4a2c00466ae914251db (patch)
treef3c026378d1be998b1074b6f4f7fa44ed833a9a6 /unix/tcl.m4
parent344d66a51bb1caa147e4fc14c9c97c2c2549ab0d (diff)
downloadtcl-3d2e7995dd6ea56840a0c4a2c00466ae914251db.zip
tcl-3d2e7995dd6ea56840a0c4a2c00466ae914251db.tar.gz
tcl-3d2e7995dd6ea56840a0c4a2c00466ae914251db.tar.bz2
* unix/tcl.m4: fixed Darwin autoconf breakage caused by
recent CFLAGS reordering. * unix/configure: regen * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 199930e..4a9fac1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1320,9 +1320,10 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_SEARCH_FLAGS=""
CFLAGS_OPTIMIZE="-Os"
LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
- # for compatibility with autoconf vers 2.13 :
- HACK=""
- CFLAGS="$CFLAGS -DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DUSE_VFORK -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
+ AC_DEFINE(MAC_OSX_TCL)
+ AC_DEFINE(HAVE_CFBUNDLE)
+ AC_DEFINE(USE_VFORK)
+ AC_DEFINE_UNQUOTED(TCL_DEFAULT_ENCODING,"utf-8")
LIBS="$LIBS -framework CoreFoundation"
;;
NEXTSTEP-*)