Fix incorrect Makefile.am generation in German locale.
authorIan Beckwith <ianb@erislabs.net>
Mon, 8 Mar 2010 03:07:51 +0000 (03:07 +0000)
committerIan Beckwith <ianb@erislabs.net>
Mon, 8 Mar 2010 03:07:51 +0000 (03:07 +0000)
(cherry picked from commit 3753983927e2b3036817bb59293dffee6001b5f4)

Conflicts:

ChangeLog

ChangeLog
gnulib-tool

index 761b943..202efef 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  Jim Meyering  <meyering@redhat.com>
 
        euidaccess: relax license to LGPLv2+
index 259bb74..67349c6 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" \