summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2004-07-20 11:13:11 (GMT)
committerdas <das>2004-07-20 11:13:11 (GMT)
commit1104fd0b70deabeff7a4c71fe201b3dc8626411b (patch)
tree44132bef834f66208585423d23fc9bfa90b91b6d /unix/tcl.m4
parentd58f623b153ddc3b721e360aa20a0e74faeb4a0e (diff)
downloadtk-1104fd0b70deabeff7a4c71fe201b3dc8626411b.zip
tk-1104fd0b70deabeff7a4c71fe201b3dc8626411b.tar.gz
tk-1104fd0b70deabeff7a4c71fe201b3dc8626411b.tar.bz2
* unix/tcl.m4: fixed Darwin autoconf breakage caused by
recent CFLAGS reordering. * unix/configure: regen
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-*)