aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-06 04:53:28 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-06 04:53:28 +0000
commit4d870d5d8ae5f6d29828c92a43617a19517384af (patch)
tree1ec4bfbe81aec592272b5c1c8c0abbc8526dc322
parentf244c488fb7312933c24cae816bc4ce470d27840 (diff)
downloadpostgresql-4d870d5d8ae5f6d29828c92a43617a19517384af.tar.gz
postgresql-4d870d5d8ae5f6d29828c92a43617a19517384af.zip
Add comment on why pg *printf functions are used unconditionally on
Win32. Backpatch to 8.1.X.
-rwxr-xr-xconfigure4
-rw-r--r--configure.in6
2 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index 26233f1e1c3..2fdc17b1cbf 100755
--- a/configure
+++ b/configure
@@ -13854,6 +13854,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 11ae126628f..d8b643a26ef 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.431.2.1 2005/12/06 02:29:25 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.431.2.2 2005/12/06 04:53:28 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -852,6 +852,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