Re: AC_PROG_CC NextStep failure

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

 



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

2003-11-17  Paul Eggert  <eggert@xxxxxxxxxxx>

	* 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"],



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux