Put at least 14 bytes into the initial confdefs.h.

This commit is contained in:
Paul Eggert 2003-11-17 17:37:05 +00:00
parent 786887c774
commit c966beba8e
2 changed files with 9 additions and 1 deletions

View File

@ -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

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