>From 87231767771aed7c699c540f12efd5699b752cb7 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 24 Aug 2024 11:21:00 -0700 Subject: [PATCH 1/2] build: update gnulib submodule to latest * bootstrap: Update from Gnulib. --- bootstrap | 16 +++++++++++++++- gnulib | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index d78c8c306..3758683da 100755 --- a/bootstrap +++ b/bootstrap @@ -37,7 +37,7 @@ medir=`dirname "$me"` # A library of shell functions for autopull.sh, autogen.sh, and bootstrap. -scriptlibversion=2024-06-29.23; # UTC +scriptlibversion=2024-07-21.12; # UTC # Copyright (C) 2003-2024 Free Software Foundation, Inc. # @@ -1255,6 +1255,20 @@ autogen() $gnulib_tool $gnulib_tool_options --import $gnulib_modules \ || die "gnulib-tool failed" + if test $with_gettext = yes && test ! -f $m4_base/gettext.m4; then + # The gnulib-tool invocation has removed $m4_base/gettext.m4, that the + # AUTOPOINT invocation had installed. This can occur when the gnulib + # module 'gettext' was previously present but is now not present any more. + # Repeat the AUTOPOINT invocation and the gnulib-tool invocation. + + echo "$0: $AUTOPOINT --force" + $AUTOPOINT --force || return + + echo "$0: $gnulib_tool $gnulib_tool_options --import ..." + $gnulib_tool $gnulib_tool_options --import $gnulib_modules \ + || die "gnulib-tool failed" + fi + for file in $gnulib_files; do symlink_to_dir "$GNULIB_SRCDIR" $file \ || die "failed to symlink $file" diff --git a/gnulib b/gnulib index f3eeabad2..e9655b05d 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit f3eeabad2b3645fdbfbf60449d93e978b7abcfb8 +Subproject commit e9655b05dc0b25d24457f9b8dd31a579d6867d83 -- 2.46.0