Fix incorrect Makefile.am generation in German locale.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Mar 2010 13:27:02 +0000 (14:27 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Mar 2010 13:27:02 +0000 (14:27 +0100)
ChangeLog
gnulib-tool

index b291db3ba9fcb46f04120fec1299f1ddad744780..0db6644e50c34276ed68ca8eaa30eae26a33a253 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-07  Bruno Haible  <bruno@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.
+
 2010-03-06  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'iconv-h'.
index 259bb74400fd2e9829c99021691aecca71c155f3..67349c672314ecef74e72f1e0db2217191551db3 100755 (executable)
@@ -2543,6 +2543,7 @@ func_emit_lib_Makefile_am ()
       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 @@ func_emit_tests_Makefile_am ()
       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" \