From 4595dc0b408b572cf46cc9a4864355a884b7537d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 19 Jul 2025 18:10:30 +0200 Subject: [PATCH] examples: Use infrastructure from gettext version 0.26. * gettext-tools/examples/hello-*/configure.ac: Use AM_GNU_GETTEXT_VERSION with version 0.26. * gettext-tools/examples/hello-c++-kde/configure.in.in: Likewise. --- gettext-tools/examples/hello-c++-gnome2/configure.ac | 2 +- gettext-tools/examples/hello-c++-gnome3/configure.ac | 2 +- gettext-tools/examples/hello-c++-kde/configure.in.in | 2 +- gettext-tools/examples/hello-c++/configure.ac | 2 +- gettext-tools/examples/hello-c++20/configure.ac | 2 +- gettext-tools/examples/hello-c-gnome2/configure.ac | 2 +- gettext-tools/examples/hello-c-gnome3/configure.ac | 2 +- gettext-tools/examples/hello-c-http/configure.ac | 2 +- gettext-tools/examples/hello-c/configure.ac | 2 +- gettext-tools/examples/hello-d/configure.ac | 2 +- gettext-tools/examples/hello-modula2/configure.ac | 2 +- gettext-tools/examples/hello-objc-gnome2/configure.ac | 2 +- gettext-tools/examples/hello-objc/configure.ac | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gettext-tools/examples/hello-c++-gnome2/configure.ac b/gettext-tools/examples/hello-c++-gnome2/configure.ac index fcd5ec0e1..590255946 100644 --- a/gettext-tools/examples/hello-c++-gnome2/configure.ac +++ b/gettext-tools/examples/hello-c++-gnome2/configure.ac @@ -16,7 +16,7 @@ GTKMM_LIBS=`gtkmm-config --libs` AC_SUBST([GTKMM_LIBS]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-c++-gnome3/configure.ac b/gettext-tools/examples/hello-c++-gnome3/configure.ac index 268344299..817662814 100644 --- a/gettext-tools/examples/hello-c++-gnome3/configure.ac +++ b/gettext-tools/examples/hello-c++-gnome3/configure.ac @@ -10,7 +10,7 @@ AM_INIT_AUTOMAKE([1.11]) AC_PROG_CC AC_PROG_CXX AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) dnl Define localedir_c and localedir_c_make. gl_BUILD_TO_HOST_LOCALEDIR diff --git a/gettext-tools/examples/hello-c++-kde/configure.in.in b/gettext-tools/examples/hello-c++-kde/configure.in.in index b084eafe9..0770e37ee 100644 --- a/gettext-tools/examples/hello-c++-kde/configure.in.in +++ b/gettext-tools/examples/hello-c++-kde/configure.in.in @@ -1,5 +1,5 @@ #MIN_CONFIG AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([po/Makefile.in]) diff --git a/gettext-tools/examples/hello-c++/configure.ac b/gettext-tools/examples/hello-c++/configure.ac index 34d6b417a..4226bfcc6 100644 --- a/gettext-tools/examples/hello-c++/configure.ac +++ b/gettext-tools/examples/hello-c++/configure.ac @@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([1.11]) AC_PROG_CXX AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_LIB_LINKFLAGS([asprintf]) AC_CONFIG_FILES([Makefile]) diff --git a/gettext-tools/examples/hello-c++20/configure.ac b/gettext-tools/examples/hello-c++20/configure.ac index c338c29e6..e82bdeaf4 100644 --- a/gettext-tools/examples/hello-c++20/configure.ac +++ b/gettext-tools/examples/hello-c++20/configure.ac @@ -29,7 +29,7 @@ elif ${CXX} ${CXXFLAGS} -std=gnu++26 ${CPPFLAGS} -c conftest.cc 2>/dev/null; the fi AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-c-gnome2/configure.ac b/gettext-tools/examples/hello-c-gnome2/configure.ac index aed4720ca..d679a4ace 100644 --- a/gettext-tools/examples/hello-c-gnome2/configure.ac +++ b/gettext-tools/examples/hello-c-gnome2/configure.ac @@ -10,7 +10,7 @@ AM_INIT_AUTOMAKE([1.11]) AC_PROG_CC GNOME_INIT AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-c-gnome3/configure.ac b/gettext-tools/examples/hello-c-gnome3/configure.ac index c82f0dc4c..e527995f2 100644 --- a/gettext-tools/examples/hello-c-gnome3/configure.ac +++ b/gettext-tools/examples/hello-c-gnome3/configure.ac @@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([1.11]) AC_PROG_CC AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) dnl Define localedir_c and localedir_c_make. gl_BUILD_TO_HOST_LOCALEDIR diff --git a/gettext-tools/examples/hello-c-http/configure.ac b/gettext-tools/examples/hello-c-http/configure.ac index 871d94ebe..307a708ee 100644 --- a/gettext-tools/examples/hello-c-http/configure.ac +++ b/gettext-tools/examples/hello-c-http/configure.ac @@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([1.11]) AC_PROG_CC AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-c/configure.ac b/gettext-tools/examples/hello-c/configure.ac index 596e6495a..b55b66ccf 100644 --- a/gettext-tools/examples/hello-c/configure.ac +++ b/gettext-tools/examples/hello-c/configure.ac @@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([1.11]) AC_PROG_CC AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-d/configure.ac b/gettext-tools/examples/hello-d/configure.ac index 76b7177c4..a2dc07099 100644 --- a/gettext-tools/examples/hello-d/configure.ac +++ b/gettext-tools/examples/hello-d/configure.ac @@ -40,7 +40,7 @@ prefix="$save_prefix" AC_SUBST([localedir]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile hello.d]) AC_CONFIG_FILES([dcomp.sh]) diff --git a/gettext-tools/examples/hello-modula2/configure.ac b/gettext-tools/examples/hello-modula2/configure.ac index abe66bafa..9411d6778 100644 --- a/gettext-tools/examples/hello-modula2/configure.ac +++ b/gettext-tools/examples/hello-modula2/configure.ac @@ -41,7 +41,7 @@ prefix="$save_prefix" AC_SUBST([localedir]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile hello.mod]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-objc-gnome2/configure.ac b/gettext-tools/examples/hello-objc-gnome2/configure.ac index f82aec03e..0a7f6354a 100644 --- a/gettext-tools/examples/hello-objc-gnome2/configure.ac +++ b/gettext-tools/examples/hello-objc-gnome2/configure.ac @@ -22,7 +22,7 @@ fi AC_SUBST([OBGNOME_INCLUDES]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) diff --git a/gettext-tools/examples/hello-objc/configure.ac b/gettext-tools/examples/hello-objc/configure.ac index 02e15e8af..b021c729f 100644 --- a/gettext-tools/examples/hello-objc/configure.ac +++ b/gettext-tools/examples/hello-objc/configure.ac @@ -14,7 +14,7 @@ AC_PROG_OBJC([gobjc gcc objcc objc cc CC clang]) m4_popdef([AC_MSG_FAILURE]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.25]) +AM_GNU_GETTEXT_VERSION([0.26]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) -- 2.47.3