]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Put at least 14 bytes into the initial confdefs.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Nov 2003 17:37:05 +0000 (17:37 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Nov 2003 17:37:05 +0000 (17:37 +0000)
ChangeLog
lib/autoconf/general.m4

index 4e1860d94fb7e0001b77e09c9c2d2b35747ff1f2..9d65bbfd7fb4fb4527a8ec0259c108110d401ee3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-17  Paul Eggert  <eggert@twinsun.com>
+
+       * 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.
+
 2003-11-15  Kevin Ryde  <user42@zip.com.au>
 
        * doc/autoconf.texi (Using System Type): Revise, showing $host rather
index 581c170880214aadb674187905fa19c5511325ee..5bc4e46920a72ce2e26e4fdf4d7f72859e90299c 100644 (file)
@@ -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"],