|
version 1.1, 2012/02/21 22:57:49
|
version 1.1.1.2, 2012/05/29 09:29:44
|
|
Line 1
|
Line 1
|
| # multiarch.m4 serial 5 | # multiarch.m4 serial 6 |
| dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc. | dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. |
| dnl This file is free software; the Free Software Foundation |
dnl This file is free software; the Free Software Foundation |
| dnl gives unlimited permission to copy and/or distribute it, |
dnl gives unlimited permission to copy and/or distribute it, |
| dnl with or without modifications, as long as this notice is preserved. |
dnl with or without modifications, as long as this notice is preserved. |
|
Line 16 dnl with or without modifications, as long as this not
|
Line 16 dnl with or without modifications, as long as this not
|
| # CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
# CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
| # CPP="gcc -E" CXXCPP="g++ -E" |
# CPP="gcc -E" CXXCPP="g++ -E" |
| # |
# |
| # Detect this situation and set the macro AA_APPLE_UNIVERSAL_BUILD at the | # Detect this situation and set APPLE_UNIVERSAL_BUILD accordingly. |
| # beginning of config.h and set APPLE_UNIVERSAL_BUILD accordingly. | |
| |
|
| AC_DEFUN_ONCE([gl_MULTIARCH], |
AC_DEFUN_ONCE([gl_MULTIARCH], |
| [ |
[ |
|
Line 55 AC_DEFUN_ONCE([gl_MULTIARCH],
|
Line 54 AC_DEFUN_ONCE([gl_MULTIARCH],
|
| done |
done |
| ]) |
]) |
| if test $gl_cv_c_multiarch = yes; then |
if test $gl_cv_c_multiarch = yes; then |
| AC_DEFINE([AA_APPLE_UNIVERSAL_BUILD], [1], |
|
| [Define if the compiler is building for multiple architectures of Apple platforms at once.]) |
|
| APPLE_UNIVERSAL_BUILD=1 |
APPLE_UNIVERSAL_BUILD=1 |
| else |
else |
| APPLE_UNIVERSAL_BUILD=0 |
APPLE_UNIVERSAL_BUILD=0 |