autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_PROG_CC NextStep failure


From: Paul Eggert
Subject: Re: AC_PROG_CC NextStep failure
Date: 17 Nov 2003 09:39:30 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Thanks for the bug report and patch.  I installed the following
somewhat more-conservative patch instead.

2003-11-17  Paul Eggert  <address@hidden>

        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
        into the initial confdefs.h, to work around a bug in NextStep 3.3
        patch 3 reported by Eric Sunshine.

Index: lib/autoconf/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v
retrieving revision 1.823
diff -p -u -r1.823 general.m4
--- lib/autoconf/general.m4     27 Oct 2003 11:12:52 -0000      1.823
+++ lib/autoconf/general.m4     17 Nov 2003 17:35:21 -0000
@@ -1203,7 +1203,9 @@ ac_signal=0
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 rm -rf conftest* confdefs.h
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo >confdefs.h
+# NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
+ac_space=' '
+echo 
"$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space"
 >confdefs.h
 
 # Predefined preprocessor variables.
 AC_DEFINE_UNQUOTED([PACKAGE_NAME], ["$PACKAGE_NAME"],




reply via email to

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