summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--configure.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 6fc23b53442..a53bc247060 100755
--- a/configure
+++ b/configure
@@ -14528,7 +14528,7 @@ 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 -a $pgac_need_repl_snprintf = no; then
+if test "$enable_nls" = yes && test $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
diff --git a/configure.in b/configure.in
index 43dce5d3e21..6e36e045db1 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.404 2005/03/02 14:48:22 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.405 2005/03/02 15:42:35 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -1068,7 +1068,7 @@ AC_MSG_ERROR([[
# Force use of our snprintf if system's doesn't do arg control
# This feature is used by NLS
-if test "$enable_nls" = yes -a $pgac_need_repl_snprintf = no; then
+if test "$enable_nls" = yes && test $pgac_need_repl_snprintf = no; then
PGAC_FUNC_PRINTF_ARG_CONTROL
if test $pgac_cv_printf_arg_control != yes ; then
pgac_need_repl_snprintf=yes