]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Simplify the init of confdefs.h
authorStepan Kasal <kasal@ucw.cz>
Fri, 20 May 2005 07:58:42 +0000 (07:58 +0000)
committerStepan Kasal <kasal@ucw.cz>
Fri, 20 May 2005 07:58:42 +0000 (07:58 +0000)
ChangeLog
lib/autoconf/general.m4

index cba70d92e5b90310dfa82a7ba32b2e450eda9370..9f47aa3a0dee38ddcd70c71d23b7a22522066463 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-20  Stepan Kasal  <kasal@ucw.cz>
+
+       * ./lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
+         of confdefs.h .
+
 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
 
        * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
index 1a020b8a2f33a66929d09cacc41ea9f0863c688f..187a0f48d1838e68a8acc3e0cd99b2af125d3da7 100644 (file)
@@ -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"],