This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: AC_INIT translates PACKAGE to lower case
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Akim Demaille <akim at epita dot fr>
- Cc: Ralf Corsepius <corsepiu at faw dot uni-ulm dot de>, Autoconf List <autoconf at gnu dot org>, Automake List <automake at gnu dot org>
- Date: Wed, 30 Jan 2002 18:15:59 +0100
- Subject: Re: AC_INIT translates PACKAGE to lower case
- References: <1012385216.2864.2830.camel@mccallum><mv4pu3sj7zd.fsf@nostromo.lrde.epita.fr>
>>> "Akim" == Akim Demaille <akim@epita.fr> writes:
[...]
Akim> +All these values may be changed. For instance if the default value for
Akim> +@code{AC_PACKAGE_NAME} does not suit your application, you can either
^^^^^^^^^^^^^^^
I guess you meant AC_PACKAGE_TARNAME.
Akim> +use:
Akim> +
Akim> +@example
Akim> +m4_define([AC_PACKAGE_TARNAME], [GNU-Foo-Bar-1.0])
Akim> +AC_INIT([GNU Foo Bar], [1.0])
Akim> +@end example
Akim> +
Akim> +@noindent
Akim> +or
Akim> +
Akim> +@example
Akim> +AC_INIT([GNU Foo Bar], [1.0])
Akim> +m4_define([AC_PACKAGE_TARNAME], [GNU-Foo-Bar-1.0])
Akim> +AC_SUBST([PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])
Akim> +@end example
As far Automake is concerned, these might not be good
examples: the full tarname is built as
AC_PACKAGE_TARNAME-AC_PACKAGE_VERSION.tar.gz
which would result in
GNU-Foo-Bar-1.0-1.0.tar.gz
[...]
--
Alexandre Duret-Lutz