mirror of
https://github.com/postgres/postgres.git
synced 2025-07-20 05:03:10 +03:00
Do not pre-expand localedir as substituted in the makefile, so that 'make
install prefix=elsewhere' works.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.5 2001/06/02 18:25:16 petere Exp $
|
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.6 2001/08/06 15:46:44 petere Exp $
|
||||||
|
|
||||||
|
|
||||||
# PGAC_PATH_FLEX
|
# PGAC_PATH_FLEX
|
||||||
@ -120,13 +120,14 @@ dnl FIXME: We should probably check for version >=0.10.36.
|
|||||||
AC_CHECK_PROGS(XGETTEXT, xgettext)
|
AC_CHECK_PROGS(XGETTEXT, xgettext)
|
||||||
|
|
||||||
# Note: share/locale is always the default, independent of $datadir
|
# Note: share/locale is always the default, independent of $datadir
|
||||||
|
localedir='${prefix}/share/locale'
|
||||||
if test x"$prefix" = x"NONE"; then
|
if test x"$prefix" = x"NONE"; then
|
||||||
localedir="$ac_default_prefix/share/locale"
|
exp_localedir="$ac_default_prefix/share/locale"
|
||||||
else
|
else
|
||||||
localedir="$prefix/share/locale"
|
exp_localedir="$prefix/share/locale"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(localedir)
|
AC_SUBST(localedir)
|
||||||
AC_DEFINE_UNQUOTED(LOCALEDIR, ["$localedir"],
|
AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
|
||||||
[location of locale files])
|
[location of locale files])
|
||||||
])# PGAC_CHECK_GETTEXT
|
])# PGAC_CHECK_GETTEXT
|
||||||
|
Reference in New Issue
Block a user