diff --git a/configure b/configure index 6fc23b53442ea9b46db187719c4818f5d115767a..a53bc247060fc0da802d13df02abc61804fae95a 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 43dce5d3e21aec1d85e680bdca3773e34cf8f975..6e36e045db19e0f35acbc1dc0d5510455a25164b 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