glibc/intl
Carlos O'Donell 314f6deec9 Enable --localedir to set message catalog directory (Bug 14259)
In 1999 the project split "localedir" into "localedir" (path to compiled
locale archives) and "msgcatdir" (path to message catalogs). This
predates the 2002 change in the GNU Coding Standard to document the use
of "localedir" for the path to the message catalogs. It appears that
newlib, gcc, and several other projects also used "msgcatdir" at one
point or another in the past, and so it is in line with historical
precedent that glibc would also use "msgcatdir." However, given that the
GNU Coding Standard uses "localedir", we will switch to that for
consistency as a GNU project. Previous uses of --localdir didn't work
anyway (see bug 14259).

I am committing this patch in the understanding that nobody would object
to fixing #14259 as part of aligning our variable usage to the GNU
Coding Standard.

Given that previous "localedir" uses were converted to "complocaledir"
by [1], we can now convert "msgcatdir" to "localedir" and complete the
transition. With an addition to config.make.in we also fix bug 14259 and
allow users to specify the locale dependent data directory with
"--localedir" at configure time. There is still no way to control at
configure time the location of the *compiled* locale directory.

Tested on x86_64 with no regressions.

Tested using "--localedir" to specify alternate locale dependent data
directory and verified with "make install DESTDIR=/tmp/glibc".

[1] 90fe682d30
2016-02-24 20:06:04 -05:00
..
bindtextdom.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dcgettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dcigettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dcngettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Depend
dgettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dngettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
eval-plural.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
explodename.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
finddomain.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gettextP.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gmo.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
hash-string.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
hash-string.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
l10nflist.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
libintl.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
loadinfo.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
loadmsgcat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
locale.alias Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
localealias.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Makefile Enable --localedir to set message catalog directory (Bug 14259) 2016-02-24 20:06:04 -05:00
ngettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
plural-exp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
plural-exp.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
plural.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
plural.y Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
po2test.awk Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
textdomain.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
translit.po
tst-codeset.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext2.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
tst-gettext3.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext4-de.po * sysdeps/i386/i686/memcmp.S: Move misplaced END. 2005-04-28 18:21:03 +00:00
tst-gettext4-fr.po * sysdeps/i386/i686/memcmp.S: Move misplaced END. 2005-04-28 18:21:03 +00:00
tst-gettext4.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext4.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
tst-gettext5.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext6.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext6.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
tst-gettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-gettext.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
tst-ngettext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-translit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-translit.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
tstcodeset.po Update. 2001-04-10 00:15:08 +00:00
tstlang1.po
tstlang2.po
Versions Update. 2002-05-01 17:09:58 +00:00