From 4736c9933f37d8a4974fdafe7c26f7d4f4ee8bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mu=C5=BCy=C5=82o?= Date: Mon, 20 Oct 2008 21:43:21 +0200 Subject: [PATCH] configure: Avoid problem with recent autoconf. --- aclocal.m4 | 5 ++++- configure | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 528c4d36d4d..f3a58488f2e 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -215,16 +215,19 @@ Use the --without-$1 option if you really want this.]) ;; esac])]) AC_DEFUN([WINE_PRINT_MESSAGES],[ac_save_IFS="$IFS" -IFS="|" if test "x$wine_notices != "x; then echo >&AS_MESSAGE_FD + IFS="|" for msg in $wine_notices; do + IFS="$ac_save_IFS" if test -n "$msg"; then AC_MSG_NOTICE([$msg]) fi done fi +IFS="|" for msg in $wine_warnings; do + IFS="$ac_save_IFS" if test -n "$msg"; then echo >&2 AC_MSG_WARN([$msg]) diff --git a/configure b/configure index dd5be9febbd..6c745f27cd4 100755 --- a/configure +++ b/configure @@ -27744,17 +27744,20 @@ then fi ac_save_IFS="$IFS" -IFS="|" if test "x$wine_notices != "x; then echo >&6 + IFS="|" for msg in $wine_notices; do + IFS="$ac_save_IFS" if test -n "$msg"; then { echo "$as_me:$LINENO: $msg" >&5 echo "$as_me: $msg" >&6;} fi done fi +IFS="|" for msg in $wine_warnings; do + IFS="$ac_save_IFS" if test -n "$msg"; then echo >&2 { echo "$as_me:$LINENO: WARNING: $msg" >&5