From: Collin Funk Date: Tue, 27 Feb 2024 22:15:10 +0000 (-0800) Subject: gnulib-tool.py: Fix configure.ac output. X-Git-Tag: v1.0~366 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=38a9bb6e0ae3f5c71da8eb5db5ea7aa41b14f3e4;p=gnulib.git gnulib-tool.py: Fix configure.ac output. * pygnulib/GLEmiter.py (GLEmiter.initmacro_end): Fix backslash escapes in raw string. --- diff --git a/ChangeLog b/ChangeLog index a71c5a771c..7d65e27151 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-02-27 Collin Funk + + gnulib-tool.py: Fix configure.ac output. + * pygnulib/GLEmiter.py (GLEmiter.initmacro_end): Fix backslash escapes + in raw string. + 2024-02-27 Collin Funk gnulib-tool.py: Follow gnulib-tool changes, part 31. diff --git a/pygnulib/GLEmiter.py b/pygnulib/GLEmiter.py index 56e8156761..d8cc085f59 100644 --- a/pygnulib/GLEmiter.py +++ b/pygnulib/GLEmiter.py @@ -508,7 +508,7 @@ USE_MSGCTXT = no\n""" # arguments. The check is performed only when autoconf is run from the # directory where the configure.ac resides; if it is run from a different # directory, the check is skipped. - emit += r"""\ + emit += r''' m4_ifval(%V1%_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([%V1%_LIBSOURCES_DIR])[ || for gl_file in ]%V1%_LIBSOURCES_LIST[ ; do @@ -540,7 +540,8 @@ USE_MSGCTXT = no\n""" fi AC_SUBST([%V1%_LIBOBJS], [$%V1%_libobjs]) AC_SUBST([%V1%_LTLIBOBJS], [$%V1%_ltlibobjs]) - ])\n""" + ]) +''' emit = emit.replace('%V1%', macro_prefix_arg) return emit