From: Stepan Kasal Date: Fri, 20 May 2005 07:58:42 +0000 (+0000) Subject: Simplify the init of confdefs.h X-Git-Tag: AUTOCONF-2.59c~384 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661cc613b0acbc751ec8af76e1e2f85eda67057a;p=thirdparty%2Fautoconf.git Simplify the init of confdefs.h --- diff --git a/ChangeLog b/ChangeLog index cba70d92e..9f47aa3a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-20 Stepan Kasal + + * ./lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init + of confdefs.h . + 2005-05-17 Stepan Kasal * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 1a020b8a2..187a0f48d 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1288,10 +1288,9 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -# 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 +dnl AIX cpp loses on an empty file, NextStep 3.3 (patch 3) loses on a file +dnl containing less than 14 bytes (including the newline). +dnl But the defines below solve this problem. # Predefined preprocessor variables. AC_DEFINE_UNQUOTED([PACKAGE_NAME], ["$PACKAGE_NAME"],