Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d9062f

Browse files
committed
Avoid duplicate definition of LOCALEDIR in pg_config.h, already defined
in port/pg_config_paths.h.
1 parentc8f3450 commit5d9062f

File tree

4 files changed

+3
-24
lines changed

4 files changed

+3
-24
lines changed

‎config/programs.m4

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/config/programs.m4,v 1.19 2005/12/04 03:52:28 momjian Exp $
1+
# $PostgreSQL: pgsql/config/programs.m4,v 1.20 2006/05/23 19:28:45 momjian Exp $
22

33

44
# PGAC_PATH_FLEX
@@ -164,15 +164,7 @@ dnl FIXME: We should probably check for version >=0.10.36.
164164
165165
# Note: share/locale is always the default, independent of $datadir
166166
localedir='${prefix}/share/locale'
167-
if test x"$prefix" = x"NONE"; then
168-
exp_localedir="$ac_default_prefix/share/locale"
169-
else
170-
exp_localedir="$prefix/share/locale"
171-
fi
172-
173167
AC_SUBST(localedir)
174-
AC_DEFINE_UNQUOTED(LOCALEDIR,["$exp_localedir"],
175-
[Define to the location of locale files.])
176168
])# PGAC_CHECK_GETTEXT
177169

178170

‎configure

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22083,17 +22083,6 @@ done
2208322083

2208422084
# Note: share/locale is always the default, independent of $datadir
2208522085
localedir='${prefix}/share/locale'
22086-
if test x"$prefix" = x"NONE"; then
22087-
exp_localedir="$ac_default_prefix/share/locale"
22088-
else
22089-
exp_localedir="$prefix/share/locale"
22090-
fi
22091-
22092-
22093-
22094-
cat >>confdefs.h <<_ACEOF
22095-
#define LOCALEDIR "$exp_localedir"
22096-
_ACEOF
2209722086

2209822087

2209922088
fi

‎src/include/pg_config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,6 @@
531531
/* Define to build with Kerberos 5 support. (--with-krb5) */
532532
#undef KRB5
533533

534-
/* Define to the location of locale files. */
535-
#undef LOCALEDIR
536-
537534
/* Define as the maximum alignment requirement of any C data type. */
538535
#undef MAXIMUM_ALIGNOF
539536

‎src/interfaces/libpq/fe-misc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Portions Copyright (c) 1994, Regents of the University of California
2424
*
2525
* IDENTIFICATION
26-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.126 2006/05/18 18:19:47 momjian Exp $
26+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.127 2006/05/2319:28:45 momjian Exp $
2727
*
2828
*-------------------------------------------------------------------------
2929
*/
@@ -60,6 +60,7 @@
6060
#include"libpq-int.h"
6161
#include"pqsignal.h"
6262
#include"mb/pg_wchar.h"
63+
#include"pg_config_paths.h"
6364

6465

6566
staticintpqPutMsgBytes(constvoid*buf,size_tlen,PGconn*conn);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp