Module: wine
Branch: master
Commit: 4736c9933f37d8a4974fdafe7c26f7d4f4ee8bf1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4736c9933f37d8a4974fdafe7…
Author: Rafał Mużyło <galtgendo(a)o2.pl>
Date: Mon Oct 20 21:43:21 2008 +0200
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 528c4d3..f3a5848 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 dd5be9f..6c745f2 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