提交 5558e15c 编写于 作者: P Peter Eisentraut

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

install prefix=elsewhere' works.
上级 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
......@@ -120,13 +120,14 @@ dnl FIXME: We should probably check for version >=0.10.36.
AC_CHECK_PROGS(XGETTEXT, xgettext)
# Note: share/locale is always the default, independent of $datadir
localedir='${prefix}/share/locale'
if test x"$prefix" = x"NONE"; then
localedir="$ac_default_prefix/share/locale"
exp_localedir="$ac_default_prefix/share/locale"
else
localedir="$prefix/share/locale"
exp_localedir="$prefix/share/locale"
fi
AC_SUBST(localedir)
AC_DEFINE_UNQUOTED(LOCALEDIR, ["$localedir"],
AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
[location of locale files])
])# PGAC_CHECK_GETTEXT
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册