summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authordas <das>2004-06-18 15:30:16 (GMT)
committerdas <das>2004-06-18 15:30:16 (GMT)
commit41bc36d1c5d5f30748dc3e7d21ef248b69450a4c (patch)
tree2c3800e5aed5ed7c1eaf08b3ecafaf2a9662e836 /unix/configure
parent68c988ff855b9dbfb491f6986db826f591b6f1d2 (diff)
downloadtk-41bc36d1c5d5f30748dc3e7d21ef248b69450a4c.zip
tk-41bc36d1c5d5f30748dc3e7d21ef248b69450a4c.tar.gz
tk-41bc36d1c5d5f30748dc3e7d21ef248b69450a4c.tar.bz2
* unix/tcl.m4: autoconf 2.5 fixes in Darwin section.
* unix/configure: autoconf-2.57
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure19
1 files changed, 16 insertions, 3 deletions
diff --git a/unix/configure b/unix/configure
index f873e72..547b527 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5047,9 +5047,22 @@ rm -f conftest*
LD_SEARCH_FLAGS=""
CFLAGS_OPTIMIZE="-Os"
LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
- # for compatibility with autoconf vers 2.13 :
- HACK=""
- EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DUSE_VFORK -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
+ cat >>confdefs.h <<\_ACEOF
+#define MAC_OSX_TCL 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_CFBUNDLE 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define USE_VFORK 1
+_ACEOF
+
+ cat >>confdefs.h <<_ACEOF
+#define TCL_DEFAULT_ENCODING "utf-8"
+_ACEOF
+
LIBS="$LIBS -framework CoreFoundation"
;;
NEXTSTEP-*)