>>>>> "AD" == Akim Demaille <[EMAIL PROTECTED]> writes:

>>>>> "Martin" == Martin Buchholz <[EMAIL PROTECTED]> writes:
Martin> Notice that AC_DEFINE seems to get undefined because of its
Martin> appearance in a _comment_ in AC_OUTPUT.  Bizarre!  

AD> No, you are abused by the error message.  The message is triggered
AD> because autoconf.sh saw something which looks very much like a macro
AD> in configure (the output), via an egrep A[CHM]_.  And then it reports
AD> to you what it saw pretending it was undefined.

I don't know how hard it would be to implement, but it would be better
to search for

\bAC_

since you currently get hits on XAC_DEF

Even better would be to look for exact symbols in the output that have
a definition, so the word AC_ in the output would generate no error
message, while AC_DEFINE would.

And of course, you should only report hits corresponding to the
original source files.

Martin

Reply via email to