summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-05-05 19:15:54 +0000
committerBruce Momjian <bruce@momjian.us>2005-05-05 19:15:54 +0000
commit64c8635a4de921fcf60068f746936ecdf24b27be (patch)
treebb307643b6f6fe3eb75324cb43f7412a911fe26e /configure
parent160ca10609f5880b1318b211268999e380e72221 (diff)
downloadpostgresql-64c8635a4de921fcf60068f746936ecdf24b27be.tar.gz
On Win32, libintl replaces snprintf() with its own version that
understands arg control, so we don't need our own. In fact, it also uses macros that conflict with ours, so we _can't_ use our own.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index ba97253d47..b4f300d6a6 100755
--- a/configure
+++ b/configure
@@ -14706,7 +14706,13 @@ fi
# Force use of our snprintf if system's doesn't do arg control
# This feature is used by NLS
-if test "$enable_nls" = yes && test $pgac_need_repl_snprintf = no; then
+if test "$enable_nls" = yes &&
+ test $pgac_need_repl_snprintf = no &&
+# On Win32, libintl replaces snprintf() with its own version that
+# understands arg control, so we don't need our own. In fact, it
+# also uses macros that conflict with ours, so we _can't_ use
+# our own.
+ test "$PORTNAME" != "win32"; then
echo "$as_me:$LINENO: checking whether printf supports argument control" >&5
echo $ECHO_N "checking whether printf supports argument control... $ECHO_C" >&6
if test "${pgac_cv_printf_arg_control+set}" = set; then