+2024-02-27 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Fix configure.ac output.
+ * pygnulib/GLEmiter.py (GLEmiter.initmacro_end): Fix backslash escapes
+ in raw string.
+
2024-02-27 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Follow gnulib-tool changes, part 31.
# 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
fi
AC_SUBST([%V1%_LIBOBJS], [$%V1%_libobjs])
AC_SUBST([%V1%_LTLIBOBJS], [$%V1%_ltlibobjs])
- ])\n"""
+ ])
+'''
emit = emit.replace('%V1%', macro_prefix_arg)
return emit