[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config.rpath has non-locale-friendly sed
From: |
Bruno Haible |
Subject: |
Re: config.rpath has non-locale-friendly sed |
Date: |
Mon, 7 Feb 2005 15:31:54 +0100 |
User-agent: |
KMail/1.5 |
Mike Frysinger wrote:
> so the cases where 'a' is not the first letter and/or 'z' is not the last
> letter in the alphabet are ok ?
>
> the biggest problem is the estonian locale:
> http://www.ibs.ee/ibs/estonian/alphabet/
> as you can see with the purty picture, there are a bunch of letters after
> 'Z' :/
You're right. Thanks. I'll be using this patch.
2005-02-07 Bruno Haible <address@hidden>
* config.rpath: Use 'sed' with ranges only in C locale. Needed because
in the et_EE locale, the letters T U V W C Y come after Z.
Reported by Mike Frysinger <address@hidden>.
*** config.rpath.bak 5 Jan 2005 18:33:09 -0000 1.11
--- config.rpath 7 Feb 2005 14:37:13 -0000
***************
*** 551,557 ****
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed
-e 's/^X//' -e "$sed_quote_subst"`
! sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
# How to pass a linker flag through the compiler.
wl="$escaped_wl"
--- 551,557 ----
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed
-e 's/^X//' -e "$sed_quote_subst"`
! LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
# How to pass a linker flag through the compiler.
wl="$escaped_wl"