bug-autoconf
[Top][All Lists]
Advanced

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

AC_ARG_PROGRAM with AC_CANONICAL_TARGET or AM_INIT_AUTOMAKE


From: Дилян Палаузов
Subject: AC_ARG_PROGRAM with AC_CANONICAL_TARGET or AM_INIT_AUTOMAKE
Date: Sun, 23 Mar 2008 14:50:28 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Hello,

I am using autoconf 2.61 with automake 1.10.1 .

I noticed in autoconf.m4f and general.m4 that AC_CANONICAL_TARGET is supposed to come before AC_ARG_PROGRAM . This is not very clear documentated in AC_ARG_PROGRAM.

Moreover, calling AC_ARG_PROGRAM after AM_INIT_AUTOMAKE produces warnings for multiple calls of AC_ARG_PROGRAM. While the documentation of AM_INIT_AUTOMAKE goes beyond the documentation of autoconf, I think in AC_ARG_PROGRAM shall be written the relation to AM_INIT_AUTOMAKE. Only in this way people can find out what is wrong, when they include both AM_INIT_AUTOMAKE and AM_ARG_PROGRAM is this order. (Excuse me, if this information is implied from some other source of documentation).

        Greetings,
                Дилян




reply via email to

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