Hi, When run in a German locale, gnulib-tool converts this line from a module description
test_stdlib_c___SOURCES = test-stdlib-c++.cc to test_stdlibtests_a_c___SOURCES = test-stdlib-c++.cc The reason is a range expression inside a sed command. This fixes it: 2010-03-07 Bruno Haible <br...@clisp.org> Fix incorrect Makefile.am generation in German locale. * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Execute sed command with character range in C locale. --- gnulib-tool.orig Sun Mar 7 14:21:37 2010 +++ gnulib-tool Sun Mar 7 14:21:22 2010 @@ -2543,6 +2543,7 @@ if test -n "$module"; then { func_get_automake_snippet "$module" | + LC_ALL=C \ sed -e 's,lib_LIBRARIES,lib%_LIBRARIES,g' \ -e 's,lib_LTLIBRARIES,lib%_LTLIBRARIES,g' \ -e "$sed_eliminate_LDFLAGS" \ @@ -2802,6 +2803,7 @@ if test -n "$module"; then { func_get_automake_snippet "$module" | + LC_ALL=C \ sed -e 's,lib_LIBRARIES,lib%_LIBRARIES,g' \ -e 's,lib_LTLIBRARIES,lib%_LTLIBRARIES,g' \ -e "$sed_eliminate_LDFLAGS" \