1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Avoid duplicate definition of LOCALEDIR in pg_config.h, already defined

in port/pg_config_paths.h.
This commit is contained in:
Bruce Momjian
2006-05-23 19:28:45 +00:00
parent c8f345024d
commit 5d9062f939
4 changed files with 3 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/config/programs.m4,v 1.19 2005/12/04 03:52:28 momjian Exp $
# $PostgreSQL: pgsql/config/programs.m4,v 1.20 2006/05/23 19:28:45 momjian Exp $
# PGAC_PATH_FLEX
@ -164,15 +164,7 @@ dnl FIXME: We should probably check for version >=0.10.36.
# Note: share/locale is always the default, independent of $datadir
localedir='${prefix}/share/locale'
if test x"$prefix" = x"NONE"; then
exp_localedir="$ac_default_prefix/share/locale"
else
exp_localedir="$prefix/share/locale"
fi
AC_SUBST(localedir)
AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
[Define to the location of locale files.])
])# PGAC_CHECK_GETTEXT