Hello,
  I invented a tiny simplification, see the attached patch.

I guess we cannot have
        echo "             " >confdefs.h
because a smart editor might replace the spaces with tabs.

But I hope that the solution presented in the patch is OK.

Have a nice day,
        Stepan Kasal
2005-05-16  Stepan Kasal  <[EMAIL PROTECTED]>

        * ./lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the initial
          echo to confdefs.h .

Index: ./lib/autoconf/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v
retrieving revision 1.854
diff -u -r1.854 general.m4
--- ./lib/autoconf/general.m4   13 May 2005 09:17:15 -0000      1.854
+++ ./lib/autoconf/general.m4   16 May 2005 13:38:00 -0000
@@ -1293,8 +1293,7 @@
 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
+echo "[ ] [ ] [ ] [ ] [ ] [ ] [ ]" >confdefs.h
 
 # Predefined preprocessor variables.
 AC_DEFINE_UNQUOTED([PACKAGE_NAME], ["$PACKAGE_NAME"],

Reply via email to