diff options
author | das <das> | 2005-11-27 04:23:39 (GMT) |
---|---|---|
committer | das <das> | 2005-11-27 04:23:39 (GMT) |
commit | a9206527ba1b3b98d41714dcf7564cdba3cbf8f7 (patch) | |
tree | e62d300453f416d5cda220df54c922667af17405 /unix/configure.in | |
parent | 1b9cdb47165d048a72acb062ead0a15fa722c256 (diff) | |
download | tk-a9206527ba1b3b98d41714dcf7564cdba3cbf8f7.zip tk-a9206527ba1b3b98d41714dcf7564cdba3cbf8f7.tar.gz tk-a9206527ba1b3b98d41714dcf7564cdba3cbf8f7.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.in')
-rw-r--r-- | unix/configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in index 1ff7d96..486a0c2 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tk installation dnl to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.83.2.24 2005/11/27 02:44:26 das Exp $ +# RCS: @(#) $Id: configure.in,v 1.83.2.25 2005/11/27 04:23:39 das Exp $ AC_INIT(../generic/tk.h) AC_PREREQ(2.13) @@ -251,6 +251,11 @@ if test "`uname -s`" = "Darwin" ; then 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 |