summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-03-02 14:48:22 +0000
committerBruce Momjian <bruce@momjian.us>2005-03-02 14:48:22 +0000
commitbb7a3a740cad66c8ecb70adf27b790202d0396a2 (patch)
tree2b584fcd056027ead54275f456510d15985733ad /configure
parent70d4a9343f4a06ae1344b6a1622fce7ed89743fc (diff)
downloadpostgresql-bb7a3a740cad66c8ecb70adf27b790202d0396a2.tar.gz
Use our own snprintf() only if NLS is enabled, and support %qd and %I64d.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 6414cb4186..6fc23b5344 100755
--- a/configure
+++ b/configure
@@ -14527,7 +14527,8 @@ fi
# Force use of our snprintf if system's doesn't do arg control
-if test $pgac_need_repl_snprintf = no; then
+# This feature is used by NLS
+if test "$enable_nls" = yes -a $pgac_need_repl_snprintf = no; 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