diff options
author | Bruno Haible <bruno@clisp.org> | 2009-12-01 11:28:08 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-12-01 11:28:08 +0100 |
commit | 703399eba0d6d685501717c300f80cff74c5826b (patch) | |
tree | fec10fc2126dc1e0ae9f7b67eea2961e4a8f1af6 /m4 | |
parent | ad66acfb44ee10f75fc3548a89e96f1bb8b71930 (diff) | |
download | external_gettext-703399eba0d6d685501717c300f80cff74c5826b.zip external_gettext-703399eba0d6d685501717c300f80cff74c5826b.tar.gz external_gettext-703399eba0d6d685501717c300f80cff74c5826b.tar.bz2 |
Set AC_PACKAGE_NAME.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/init-package-version.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/init-package-version.m4 b/m4/init-package-version.m4 index f131a84..0472349 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( |