[Pam-developers] [PATCH 2/2] Modernize AM_INIT_AUTOMAKE invocation

Dmitry V. Levin ldv at altlinux.org
Tue Jan 28 15:18:03 UTC 2014


On Wed, Nov 20, 2013 at 02:29:37AM +0400, Dmitry V. Levin wrote:
> Before this change, automake complained that two- and three-arguments
> forms of AM_INIT_AUTOMAKE are deprecated.
> 
> * configure.in: Pass PACKAGE and VERSION arguments to AC_INIT instead
> of AM_INIT_AUTOMAKE.
> ---
>  configure.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.in b/configure.in
> index f16020b..a161e20 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -1,8 +1,8 @@
>  dnl Process this file with autoconf to produce a configure script.
> -AC_INIT
> +AC_INIT([Linux-PAM], [1.1.8])
>  AC_CONFIG_SRCDIR([conf/pam_conv1/pam_conv_y.y])
>  AC_CONFIG_AUX_DIR([build-aux])
> -AM_INIT_AUTOMAKE("Linux-PAM", 1.1.8)
> +AM_INIT_AUTOMAKE
>  AC_PREREQ([2.61])
>  AC_CONFIG_HEADERS([config.h])
>  AC_CONFIG_MACRO_DIR([m4])

As a side effect of this commit, tarball name changed accidentally
from "Linux-PAM" to "linux-pam".
I've just pushed a fix that changes it back to "Linux-PAM".


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/pam-developers/attachments/20140128/06e69dc8/attachment.sig>


More information about the Pam-developers mailing list