This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: AC_INIT translates PACKAGE to lower case
Am Don, 2002-01-31 um 17.25 schrieb Alexandre Duret-Lutz:
> >>> "Ralf" == Ralf Corsepius <corsepiu@faw.uni-ulm.de> writes:
>
> [...]
>
> Ralf> Example:
>
> Ralf> Given an autoconf-2.52 and automake-1.5 compatible configure.in:
> Ralf> ..
> Ralf> AC_INIT
> Ralf> ..
> Ralf> AM_INIT_AUTOMAKE(libXrc, 0.1)
> Ralf> ..
>
> To be fair: this syntax is depreciated since Autoconf 2.50.
I know ...
> The current `official' syntax is the following:
>
> AC_INIT(libXrc, 0.1, libxrc-bugs@somewhere)
> ..
> AM_INIT_AUTOMAKE(libXrc, 0.1)
This syntax also doesn't expose the "lowercasing" behavior
AFAIU, automake overrides autoconf's PACKAGE and PACKAGE_TARNAME, but
doesn't seem do so if using the "bleeding edge" syntax.
> Autoconf needs these informations to generate propers banners in
> configure/config.status, autotest test-suites etc.
>
> Yes, there is some duplication here. That's why Automake is
> droping its arguments and instead try to get these pieces of
> information from Autoconf.
Because I also knew this, I wanted to give the new syntax a try and was,
well ... surprized.
Ralf