summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-11 18:02:13 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-11 18:02:13 +0000
commit2483b084a80bc3e5027ec25267bdaefa41b45392 (patch)
treee8751867a6ad92ae8894505452925956be5ce8dc /sys-devel
parentapply LANG patch to more configure files than just the toplevel one (diff)
downloadgentoo-2-2483b084a80bc3e5027ec25267bdaefa41b45392.tar.gz
gentoo-2-2483b084a80bc3e5027ec25267bdaefa41b45392.tar.bz2
gentoo-2-2483b084a80bc3e5027ec25267bdaefa41b45392.zip
fixup more LANG bugs #124063
(Portage version: 2.1)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/files/gcc-configure-LANG.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch
index 663bf0b28a8f..d1b1b0353662 100644
--- a/sys-devel/gcc/files/gcc-configure-LANG.patch
+++ b/sys-devel/gcc/files/gcc-configure-LANG.patch
@@ -42,3 +42,23 @@ http://bugs.gentoo.org/103483
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+@@ -1850,6 +1850,19 @@
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in ./config.log if it exists.
+
++# NLS nuisances.
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
++ eval \$as_var=C; export \$as_var
++ else
++ unset \$as_var
++ fi
++done
++
+ ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
+ for ac_option
+ do