>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

>>>> One thing I can't seem to figure out: if acconfig.h exists, is
>>>> autoheader supposed to add all its contents to config.h.in?

Alexandre> Yup

>> Hm, I might be over picky, but I would have answered no.
>> autoheader 2.13 is including all the paragraphs which are related
>> to something which is AC_DEFINE'd, which is not necessarily all the
>> content of acconfig.h.

Alexandre> Would you believe that I didn't know it would filter the
Alexandre> user's acconfig.h?

:)  Sure, if you tell me, I trust you!  :)

autoheader 2.13 has these lines:

...
TEMPLATES="${AC_MACRODIR}/acconfig.h"
test -r $localdir/acconfig.h && TEMPLATES="${TEMPLATES} $localdir/acconfig.h"
...
  # Undocumented useless feature: stuff outside of @TOP@ and @BOTTOM@ 
  # is ignored in the systemwide acconfig.h too.
  for t in $TEMPLATES; do
...

But for the TOP and BOTTOM sections, the two acconfig.h are handled by
the same code.

        Akim

Reply via email to