This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AC_INIT translates PACKAGE to lower case


>>> "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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]