postgres.git / summary / log / commit / refs
commit ef31c2bf2e8f230c2871ff54f6b53fd57cf53d53
Author: Bruce Momjian <bruce@momjian.us>
Date: Tue Dec 06 04:53:02 2005 +0000
First released in: 8.2.0, 8.1.1
Add comment on why pg *printf functions are used unconditionally on
Win32.
Backpatch to 8.1.X.
configure | 4 ++++
configure.in | 6 +++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 48d5324209b..c95d1f53fa2 100755
--- a/configure
+++ b/configure
@@ -13895,6 +13895,10 @@ fi
if test "$PORTNAME" = "win32"; then
# Win32 gets this built unconditionally
+ # libintl versions prior to 0.13 use the native *printf functions.
+ # Win32 *printf does not understand %$, so on Win32 using pre-0.13 libintl
+ # it is necessary to use the pg versions of *printf to properly process
+ # NLS strings that use the %$ format.
pgac_need_repl_snprintf=yes
else
pgac_need_repl_snprintf=no
diff --git a/configure.in b/configure.in
index b78f4a1129b..4a0ba6b5b4d 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.434 2005/12/06 02:29:03 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.435 2005/12/06 04:53:02 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -859,6 +859,10 @@ fi
if test "$PORTNAME" = "win32"; then
# Win32 gets this built unconditionally
+ # libintl versions prior to 0.13 use the native *printf functions.
+ # Win32 *printf does not understand %$, so on Win32 using pre-0.13 libintl
+ # it is necessary to use the pg versions of *printf to properly process
+ # NLS strings that use the %$ format.
pgac_need_repl_snprintf=yes
else
pgac_need_repl_snprintf=no
[parent: e0e7589169fb]