From: Bruno Haible Date: Sat, 25 Jan 2025 05:49:42 +0000 (+0100) Subject: build: Update package version handling after gnulib changed. X-Git-Tag: v0.24~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf1ef325e344c46479d806e6c3e80f9e358d6a1c;p=thirdparty%2Fgettext.git build: Update package version handling after gnulib changed. * configure.ac: Invoke AC_INIT with arguments. Invoke gl_INIT_PACKAGE_VERSION instead of gl_INIT_PACKAGE. * gettext-runtime/configure.ac: Likewise. * gettext-runtime/intl/configure.ac: Likewise. * gettext-tools/configure.ac: Likewise. * gettext-tools/examples/configure.ac: Likewise. * libtextstyle/configure.ac: Likewise. --- diff --git a/configure.ac b/configure.ac index c2754bb5a..2daad61b3 100644 --- a/configure.ac +++ b/configure.ac @@ -17,14 +17,13 @@ dnl along with this program. If not, see . dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT -PACKAGE_BUGREPORT='bug-gettext@gnu.org' +AC_INIT([gettext], [dummy], [bug-gettext@gnu.org]) AC_CONFIG_SRCDIR([gettext-tools/src/msgfmt.c]) AC_CONFIG_AUX_DIR([build-aux]) VERSION_NUMBER=`cd $srcdir \ && build-aux/git-version-gen .tarball-version \ | sed -e 's/dirty$/modified/'` -gl_INIT_PACKAGE([gettext], [$VERSION_NUMBER]) +gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) AM_INIT_AUTOMAKE([1.13 silent-rules parallel-tests tar-ustar]) dnl Override automake's tar command used for creating distributions: diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac index bb3c02866..19af0de1b 100644 --- a/gettext-runtime/configure.ac +++ b/gettext-runtime/configure.ac @@ -17,14 +17,13 @@ dnl along with this program. If not, see . dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT -PACKAGE_BUGREPORT='bug-gettext@gnu.org' +AC_INIT([gettext-runtime], [dummy], [bug-gettext@gnu.org]) AC_CONFIG_SRCDIR([intl/dcigettext.c]) AC_CONFIG_AUX_DIR([../build-aux]) VERSION_NUMBER=`cd $srcdir/.. \ && build-aux/git-version-gen .tarball-version \ | sed -e 's/dirty$/modified/'` -gl_INIT_PACKAGE([gettext-runtime], [$VERSION_NUMBER]) +gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) AM_INIT_AUTOMAKE([1.11.1 silent-rules parallel-tests]) AC_CONFIG_HEADERS([config.h]) diff --git a/gettext-runtime/intl/configure.ac b/gettext-runtime/intl/configure.ac index e7edb39e1..8f1fa8def 100644 --- a/gettext-runtime/intl/configure.ac +++ b/gettext-runtime/intl/configure.ac @@ -17,14 +17,13 @@ dnl along with this program. If not, see . dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT -PACKAGE_BUGREPORT='bug-gettext@gnu.org' +AC_INIT([libintl], [dummy], [bug-gettext@gnu.org]) AC_CONFIG_SRCDIR([dcigettext.c]) AC_CONFIG_AUX_DIR([../../build-aux]) VERSION_NUMBER=`cd $srcdir/../.. \ && build-aux/git-version-gen .tarball-version \ | sed -e 's/dirty$/modified/'` -gl_INIT_PACKAGE([libintl], [$VERSION_NUMBER]) +gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) AM_INIT_AUTOMAKE([silent-rules]) AC_CONFIG_HEADERS([config.h]) diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 62c4a0e9d..7cb645f2f 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -17,14 +17,13 @@ dnl along with this program. If not, see . dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT -PACKAGE_BUGREPORT='bug-gettext@gnu.org' +AC_INIT([gettext-tools], [dummy], [bug-gettext@gnu.org]) AC_CONFIG_SRCDIR([src/msgfmt.c]) AC_CONFIG_AUX_DIR([../build-aux]) VERSION_NUMBER=`cd $srcdir/.. \ && build-aux/git-version-gen .tarball-version \ | sed -e 's/dirty$/modified/'` -gl_INIT_PACKAGE([gettext-tools], [$VERSION_NUMBER]) +gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) AM_INIT_AUTOMAKE([1.11.1 silent-rules parallel-tests]) AC_CONFIG_HEADERS([config.h]) diff --git a/gettext-tools/examples/configure.ac b/gettext-tools/examples/configure.ac index 30857f937..278376363 100644 --- a/gettext-tools/examples/configure.ac +++ b/gettext-tools/examples/configure.ac @@ -17,14 +17,13 @@ dnl along with this program. If not, see . dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT -PACKAGE_BUGREPORT='bug-gettext@gnu.org' +AC_INIT([gettext], [dummy], [bug-gettext@gnu.org]) AC_CONFIG_SRCDIR([installpaths.in]) AC_CONFIG_AUX_DIR([../../build-aux]) VERSION_NUMBER=`cd $srcdir/../.. \ && build-aux/git-version-gen .tarball-version \ | sed -e 's/dirty$/modified/'` -gl_INIT_PACKAGE([gettext], [$VERSION_NUMBER]) +gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) AM_INIT_AUTOMAKE([silent-rules]) dnl Installation directories. diff --git a/libtextstyle/configure.ac b/libtextstyle/configure.ac index 651357bb3..7cff7a670 100644 --- a/libtextstyle/configure.ac +++ b/libtextstyle/configure.ac @@ -1,5 +1,5 @@ dnl Configuration for the toplevel directory of GNU libtextstyle -dnl Copyright (C) 2009-2023 Free Software Foundation, Inc. +dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl dnl This program is free software: you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -17,11 +17,11 @@ dnl along with this program. If not, see . dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT +AC_INIT([libtextstyle], [dummy]) AC_CONFIG_SRCDIR([version.sh]) AC_CONFIG_AUX_DIR([build-aux]) . $srcdir/version.sh -gl_INIT_PACKAGE([libtextstyle], [$VERSION_NUMBER]) +gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) AM_INIT_AUTOMAKE([1.13 silent-rules]) AC_CONFIG_HEADERS([config.h])