autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove the rest of the comment from _AC_CACHE_DUMP


From: Paul Eggert
Subject: Re: Remove the rest of the comment from _AC_CACHE_DUMP
Date: Mon, 10 Apr 2006 02:16:20 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> Isn't this a case where configure tries to be too smart?  Shouldn't
> the sorting be removed?  A proposed patch 

Yes.  Yes.  Thanks, but even with your patch the editing could cause
problems in general.  I installed this instead:

2006-04-10  Paul Eggert  <address@hidden>

        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
        confdefs.h as-is.  In general, if it has backslash-newline or the
        like, then it doesn't work either to sort or to remove empty
        lines.

--- lib/autoconf/general.m4     9 Apr 2006 06:29:28 -0000       1.905
+++ lib/autoconf/general.m4     10 Apr 2006 09:15:11 -0000      1.906
@@ -1236,7 +1236,8 @@ trap '
 
     if test -s confdefs.h; then
       AS_BOX([confdefs.h.])
-      sort -u confdefs.h
+      echo
+      cat confdefs.h
       echo
     fi
     test "$ac_signal" != 0 &&





reply via email to

[Prev in Thread] Current Thread [Next in Thread]