mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Avoid duplicate definition of LOCALEDIR in pg_config.h, already defined
in port/pg_config_paths.h.
This commit is contained in:
@ -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
|
# 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
|
# Note: share/locale is always the default, independent of $datadir
|
||||||
localedir='${prefix}/share/locale'
|
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_SUBST(localedir)
|
||||||
AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
|
|
||||||
[Define to the location of locale files.])
|
|
||||||
])# PGAC_CHECK_GETTEXT
|
])# PGAC_CHECK_GETTEXT
|
||||||
|
|
||||||
|
|
||||||
|
11
configure
vendored
11
configure
vendored
@ -22083,17 +22083,6 @@ done
|
|||||||
|
|
||||||
# Note: share/locale is always the default, independent of $datadir
|
# Note: share/locale is always the default, independent of $datadir
|
||||||
localedir='${prefix}/share/locale'
|
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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
|
||||||
#define LOCALEDIR "$exp_localedir"
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -531,9 +531,6 @@
|
|||||||
/* Define to build with Kerberos 5 support. (--with-krb5) */
|
/* Define to build with Kerberos 5 support. (--with-krb5) */
|
||||||
#undef KRB5
|
#undef KRB5
|
||||||
|
|
||||||
/* Define to the location of locale files. */
|
|
||||||
#undef LOCALEDIR
|
|
||||||
|
|
||||||
/* Define as the maximum alignment requirement of any C data type. */
|
/* Define as the maximum alignment requirement of any C data type. */
|
||||||
#undef MAXIMUM_ALIGNOF
|
#undef MAXIMUM_ALIGNOF
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.126 2006/05/18 18:19:47 momjian Exp $
|
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.127 2006/05/23 19:28:45 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -60,6 +60,7 @@
|
|||||||
#include "libpq-int.h"
|
#include "libpq-int.h"
|
||||||
#include "pqsignal.h"
|
#include "pqsignal.h"
|
||||||
#include "mb/pg_wchar.h"
|
#include "mb/pg_wchar.h"
|
||||||
|
#include "pg_config_paths.h"
|
||||||
|
|
||||||
|
|
||||||
static int pqPutMsgBytes(const void *buf, size_t len, PGconn *conn);
|
static int pqPutMsgBytes(const void *buf, size_t len, PGconn *conn);
|
||||||
|
Reference in New Issue
Block a user