automake
[Top][All Lists]
Advanced

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

Re: AC_INIT translates PACKAGE to lower case


From: Alexandre Duret-Lutz
Subject: Re: AC_INIT translates PACKAGE to lower case
Date: Wed, 30 Jan 2002 18:15:59 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu)

>>> "Akim" == Akim Demaille <address@hidden> writes:

[...]

 Akim> +All these values may be changed.  For instance if the default value for
 Akim> address@hidden does not suit your application, you can either
              ^^^^^^^^^^^^^^^
I guess you meant AC_PACKAGE_TARNAME.

 Akim> +use:
 Akim> +
 Akim> address@hidden
 Akim> +m4_define([AC_PACKAGE_TARNAME], [GNU-Foo-Bar-1.0])
 Akim> +AC_INIT([GNU Foo Bar], [1.0])
 Akim> address@hidden example
 Akim> +
 Akim> address@hidden
 Akim> +or
 Akim> +
 Akim> address@hidden
 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> address@hidden 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




reply via email to

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