Commit 64c8635a authored by Bruce Momjian's avatar Bruce Momjian

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.
parent 160ca106
...@@ -14706,7 +14706,13 @@ fi ...@@ -14706,7 +14706,13 @@ fi
# Force use of our snprintf if system's doesn't do arg control # Force use of our snprintf if system's doesn't do arg control
# This feature is used by NLS # 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 "$as_me:$LINENO: checking whether printf supports argument control" >&5
echo $ECHO_N "checking whether printf supports argument control... $ECHO_C" >&6 echo $ECHO_N "checking whether printf supports argument control... $ECHO_C" >&6
if test "${pgac_cv_printf_arg_control+set}" = set; then if test "${pgac_cv_printf_arg_control+set}" = set; then
......
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.408 2005/05/05 11:50:18 neilc Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.409 2005/05/05 19:15:54 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -1095,7 +1095,13 @@ AC_MSG_ERROR([[ ...@@ -1095,7 +1095,13 @@ AC_MSG_ERROR([[
# Force use of our snprintf if system's doesn't do arg control # Force use of our snprintf if system's doesn't do arg control
# This feature is used by NLS # 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
PGAC_FUNC_PRINTF_ARG_CONTROL PGAC_FUNC_PRINTF_ARG_CONTROL
if test $pgac_cv_printf_arg_control != yes ; then if test $pgac_cv_printf_arg_control != yes ; then
pgac_need_repl_snprintf=yes pgac_need_repl_snprintf=yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment