Commit 5558e15c authored by Peter Eisentraut's avatar Peter Eisentraut

Do not pre-expand localedir as substituted in the makefile, so that 'make

install prefix=elsewhere' works.
parent 4e75fcb8
# $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. ...@@ -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
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment