diff options
author | das <das> | 2005-11-27 04:23:10 (GMT) |
---|---|---|
committer | das <das> | 2005-11-27 04:23:10 (GMT) |
commit | fe7ec113d4d7be4b2543e1e0cf6d21a74aef667d (patch) | |
tree | ebe77e2e1f36875492cca3cd7094d81c2fde42ef /unix/configure | |
parent | 3dadea6fa58518be89d8e48e340285cd5d916887 (diff) | |
download | tk-fe7ec113d4d7be4b2543e1e0cf6d21a74aef667d.zip tk-fe7ec113d4d7be4b2543e1e0cf6d21a74aef667d.tar.gz tk-fe7ec113d4d7be4b2543e1e0cf6d21a74aef667d.tar.bz2 |
Darwin: disable ppc64 for fat builds since neither Aqua nor X11 is
available for 64 bit at present.
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure index ead6e5c..15114cb 100755 --- a/unix/configure +++ b/unix/configure @@ -8668,6 +8668,11 @@ echo "$as_me: WARNING: \"Aqua can only be used when Carbon is available\"" >&2;} tk_aqua=no fi fi + if test $do64bit_ok = no ; then + # remove -arch ppc64 from CFLAGS for fat builds as neither Aqua nor X11 + # can be built for 64bit at present (no 64bit GUI libraries). + CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`" + fi else tk_aqua=no fi |