autoconf --trace MACROS works for AC_* marcoses only?

View: New views
2 Messages — Rating Filter:   Alert me  

autoconf --trace MACROS works for AC_* marcoses only?

by pva0xd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

Does autoconf --trace MACROS works for AC_* marcoses only? I've tried to
use it to find AM_GNU_GETTEXT_VERSION macros, but it failed:

$ autoconf-2.63 -t AM_GNU_GETTEXT_VERSION
$ grep AM_GNU_GETTEXT_VERSION configure.ac
AM_GNU_GETTEXT_VERSION([0.12.1])
$

Is this correct behaviour? Thanks in advance for your time.

--
Peter.



_______________________________________________
Autoconf mailing list
Autoconf@...
http://lists.gnu.org/mailman/listinfo/autoconf

Re: autoconf --trace MACROS works for AC_* marcoses only?

by Ralf Wildenhues :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Peter,

* Peter Volkov wrote on Wed, Sep 30, 2009 at 07:07:03PM CEST:
> Does autoconf --trace MACROS works for AC_* marcoses only?

No, but autoconf needs to know what a macro is; IOW, it needs to see a
macro definition somewhere.

> I've tried to
> use it to find AM_GNU_GETTEXT_VERSION macros, but it failed:
>
> $ autoconf-2.63 -t AM_GNU_GETTEXT_VERSION
> $ grep AM_GNU_GETTEXT_VERSION configure.ac
> AM_GNU_GETTEXT_VERSION([0.12.1])

Running aclocal should help to get a definition of
AM_GNU_GETTEXT_VERSION in place, if aclocal can find it.

HTH.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@...
http://lists.gnu.org/mailman/listinfo/autoconf