Here is a patch fixing an issue I've noticed in the output of configure.ac (and configure) created by gnulib.py. When running the following command, gnulib-tool.py --create-testdir --dir test-dir-python dummy creates a configure.ac like so: gl_source_base='gllib' \ m4_ifval(gl_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || ... AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) ])\n LIBGNU_LIBDEPS="$gl_libdeps" ... This causes the 'configure' script to try to execute 'n' twice like so: checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib ./configure: line 5004: n: command not found This seems to be caused by this commit trying to clean up the code: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=f00ef30ee0a68bf91cfd081afc784cb8ffd00656 I assume that this string literal was changed to a raw string [1] in order to avoid having to escape a sed statement. Since it is already wrapped in triple quotes we can just add a newline in the code and have the output change instead of using '\n'. I've also changed the """foo""" quoting to '''foo''' quoting in that statement. I assume that is also the preferred coding style, feel free to change it if I misinterpreted. I will have to modify this file a few times while handling the TODO, so I will fix the other double quote offenders then. [1] https://docs.python.org/3/library/re.html#raw-string-notation Collin