mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
314f6deec9
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]
|
||
---|---|---|
.. | ||
.gitignore | ||
be.po | ||
bg.po | ||
ca.po | ||
cs.po | ||
da.po | ||
de.po | ||
el.po | ||
en_GB.po | ||
eo.po | ||
es.po | ||
fi.po | ||
fr.po | ||
gl.po | ||
hr.po | ||
hu.po | ||
ia.po | ||
id.po | ||
it.po | ||
ja.po | ||
ko.po | ||
libc.pot | ||
lt.po | ||
Makefile | ||
nb.po | ||
nl.po | ||
pl.po | ||
pot.header | ||
pt_BR.po | ||
ru.po | ||
rw.po | ||
sk.po | ||
sl.po | ||
sv.po | ||
tr.po | ||
uk.po | ||
vi.po | ||
zh_CN.po | ||
zh_TW.po |