From: Bruno Haible Date: Tue, 1 Dec 2009 10:28:08 +0000 (+0100) Subject: Set AC_PACKAGE_NAME. X-Git-Tag: v0.18~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703399eba0d6d685501717c300f80cff74c5826b;p=thirdparty%2Fgettext.git Set AC_PACKAGE_NAME. --- diff --git a/ChangeLog b/ChangeLog index 9de4b797b..073c42987 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-12-01 Bruno Haible + + * m4/init-package-version.m4 (gl_INIT_PACKAGE): Set AC_PACKAGE_NAME. + 2009-11-30 Bruno Haible * autogen.sh: Treat gettext-runtime/libasprintf before gettext-runtime. diff --git a/m4/init-package-version.m4 b/m4/init-package-version.m4 index f131a844f..047234900 100644 --- a/m4/init-package-version.m4 +++ b/m4/init-package-version.m4 @@ -1,4 +1,4 @@ -# init-package-version.m4 serial 1 (gettext-0.18) +# init-package-version.m4 serial 2 (gettext-0.18) dnl Copyright (C) 1992-2009 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -70,6 +70,8 @@ dnl the same distribution terms as the rest of that program. AC_DEFUN([gl_INIT_PACKAGE], [ AC_BEFORE([$0], [AM_INIT_AUTOMAKE]) + dnl Define AC_PACKAGE_NAME, because macros such as gnulib/m4/acl.m4 need it. + m4_ifndef([AC_PACKAGE_NAME], [m4_define([AC_PACKAGE_NAME], [$1])]) dnl Redefine AM_INIT_AUTOMAKE. m4_define([gl_AM_INIT_AUTOMAKE], m4_bpatsubst(m4_dquote(