[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib-tool: fix for non-C locale
From: |
Bruno Haible |
Subject: |
gnulib-tool: fix for non-C locale |
Date: |
Sun, 7 Mar 2010 14:29:38 +0100 |
User-agent: |
KMail/1.9.9 |
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 <address@hidden>
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" \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnulib-tool: fix for non-C locale,
Bruno Haible <=