bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Let's remove AA_APPLE_UNIVERSAL_BUILD from gl_MULTIARCH


From: Paul Eggert
Subject: Re: Let's remove AA_APPLE_UNIVERSAL_BUILD from gl_MULTIARCH
Date: Wed, 19 Jan 2011 16:22:39 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 01/19/11 02:05, Bruno Haible wrote:

> Fine with me.

Thanks, I pushed this:

>From 82d47434f5cc9eab439ce713c0b0e8efb346ae45 Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
Date: Wed, 19 Jan 2011 16:20:30 -0800
Subject: [PATCH] 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.
---
 ChangeLog       |    8 ++++++++
 NEWS            |    3 +++
 m4/multiarch.m4 |    7 ++-----
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d67dcf4..9988c9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-19  Paul Eggert  <address@hidden>
+
+       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  <address@hidden>
 
        c-stack: assume stack overflow if SA_SIGINFO unsupported
diff --git a/NEWS b/NEWS
index 49a44ec..40fa082 100644
--- 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".
 
diff --git a/m4/multiarch.m4 b/m4/multiarch.m4
index 47e3e63..691d892 100644
--- a/m4/multiarch.m4
+++ b/m4/multiarch.m4
@@ -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
-- 
1.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]