multiarch: remove AA_APPLE_UNIVERSAL_BUILD
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jan 2011 00:20:30 +0000 (16:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jan 2011 00:21:00 +0000 (16:21 -0800)
* m4/multiarch.m4 (gl_MULTIARCH): Don't AC_DEFINE
AA_APPLE_UNIVERSAL_BUILD.  See
<http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00247.html>.
* NEWS: Document this.

ChangeLog
NEWS
m4/multiarch.m4

index f01df0d..41a4452 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       multiarch: remove AA_APPLE_UNIVERSAL_BUILD
+       * m4/multiarch.m4 (gl_MULTIARCH): Don't AC_DEFINE
+       AA_APPLE_UNIVERSAL_BUILD.  See
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00247.html>.
+       * NEWS: Document this.
+
 2011-01-19  Eric Blake  <eblake@redhat.com>
 
        c-stack: assume stack overflow if SA_SIGINFO unsupported
diff --git a/NEWS b/NEWS
index 49a44ec..40fa082 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,9 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2011-01-18  multiarch       This no longer #defines AA_APPLE_UNIVERSAL_BUILD;
+                            instead, use the shell var APPLE_UNIVERSAL_BUILD.
+
 2010-12-10  pipe            This module is renamed to spawn-pipe. The include
                             file is renamed to "spawn-pipe.h".
 
index 47e3e63..691d892 100644 (file)
@@ -1,4 +1,4 @@
-# multiarch.m4 serial 5
+# multiarch.m4 serial 6
 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -16,8 +16,7 @@ dnl with or without modifications, as long as this notice is preserved.
 #                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
 #                 CPP="gcc -E" CXXCPP="g++ -E"
 #
-# Detect this situation and set the macro AA_APPLE_UNIVERSAL_BUILD at the
-# beginning of config.h and set APPLE_UNIVERSAL_BUILD accordingly.
+# Detect this situation and set APPLE_UNIVERSAL_BUILD accordingly.
 
 AC_DEFUN_ONCE([gl_MULTIARCH],
 [
@@ -55,8 +54,6 @@ AC_DEFUN_ONCE([gl_MULTIARCH],
      done
     ])
   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
   else
     APPLE_UNIVERSAL_BUILD=0