Commit bb7fe681 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Ues the standard AC_MSG_WARN to print warnings.

parent 9d4feaa0
...@@ -22808,42 +22808,55 @@ fi ...@@ -22808,42 +22808,55 @@ fi
exitcode=0 exitcode=0
if test "$have_x" = "no" if test "$have_x" = "no"
then then
echo echo >&2
echo "*** Warning: X development files not found. Wine will be built without" { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
echo "*** X support, which currently does not work, and would probably not be" echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
echo "*** what you want anyway. You will need to install devel packages of" { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
echo "*** Xlib/Xfree86 at the very least." echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
{ echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
{ echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
exitcode=1 exitcode=1
fi fi
if test "$wine_cv_opengl_version_OK" = "no" if test "$wine_cv_opengl_version_OK" = "no"
then then
echo echo >&2
echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D" { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
{ echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
exitcode=1 exitcode=1
fi fi
if test "$wine_cv_msg_freetype" = "yes" if test "$wine_cv_msg_freetype" = "yes"
then then
echo echo >&2
echo "*** Note: Your system appears to have the FreeType 2 runtime libraries" { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
echo "*** installed, but 'freetype-config' is not in your PATH. Install the" echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
echo "*** freetype-devel package (or its equivalent on your distribution) to" { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
echo "*** enable Wine to use TrueType fonts." echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
{ echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
{ echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
exitcode=1 exitcode=1
fi fi
if test -z "$FONTSSUBDIRS" if test -z "$FONTSSUBDIRS"
then then
echo echo >&2
if test "$FONTFORGE" = "false" if test "$FONTFORGE" = "false"
then then
echo "*** Warning: FontForge is missing." { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
echo "$as_me: WARNING: FontForge is missing." >&2;}
else else
echo "*** Warning: FreeType is missing." { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
echo "$as_me: WARNING: FreeType is missing." >&2;}
fi fi
echo "*** Fonts will not be built. Dialog text may be invisible or unaligned." { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
exitcode=1 exitcode=1
fi fi
...@@ -22857,9 +22870,13 @@ if test -z "$ALSALIBS" -a \ ...@@ -22857,9 +22870,13 @@ if test -z "$ALSALIBS" -a \
"$ac_cv_header_machine_soundcard_h" != "yes" -a \ "$ac_cv_header_machine_soundcard_h" != "yes" -a \
"$ac_cv_header_soundcard_h" != "yes" "$ac_cv_header_soundcard_h" != "yes"
then then
echo "*** No sound system was found. Windows applications will be silent." echo >&2
echo "*** The currently supported sound systems are:" { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
{ echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
{ echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
exitcode=1 exitcode=1
fi fi
......
...@@ -1826,42 +1826,42 @@ AC_OUTPUT ...@@ -1826,42 +1826,42 @@ AC_OUTPUT
exitcode=0 exitcode=0
if test "$have_x" = "no" if test "$have_x" = "no"
then then
echo echo >&2
echo "*** Warning: X development files not found. Wine will be built without" AC_MSG_WARN([X development files not found. Wine will be built without])
echo "*** X support, which currently does not work, and would probably not be" AC_MSG_WARN([X support, which currently does not work, and probably])
echo "*** what you want anyway. You will need to install devel packages of" AC_MSG_WARN([isn't what you want anyway. You will need to install devel])
echo "*** Xlib/Xfree86 at the very least." AC_MSG_WARN([ packages of Xlib/Xfree86 at the very least.])
exitcode=1 exitcode=1
fi fi
if test "$wine_cv_opengl_version_OK" = "no" if test "$wine_cv_opengl_version_OK" = "no"
then then
echo echo >&2
echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D" AC_MSG_WARN([Old Mesa headers detected. Wine will be built without Direct3D])
echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." AC_MSG_WARN([support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).])
exitcode=1 exitcode=1
fi fi
if test "$wine_cv_msg_freetype" = "yes" if test "$wine_cv_msg_freetype" = "yes"
then then
echo echo >&2
echo "*** Note: Your system appears to have the FreeType 2 runtime libraries" AC_MSG_WARN([Your system appears to have the FreeType 2 runtime libraries])
echo "*** installed, but 'freetype-config' is not in your PATH. Install the" AC_MSG_WARN([installed, but 'freetype-config' is not in your PATH. Install])
echo "*** freetype-devel package (or its equivalent on your distribution) to" AC_MSG_WARN([the freetype-devel package (or its equivalent on your distribution)])
echo "*** enable Wine to use TrueType fonts." AC_MSG_WARN([to enable Wine to use TrueType fonts.])
exitcode=1 exitcode=1
fi fi
if test -z "$FONTSSUBDIRS" if test -z "$FONTSSUBDIRS"
then then
echo echo >&2
if test "$FONTFORGE" = "false" if test "$FONTFORGE" = "false"
then then
echo "*** Warning: FontForge is missing." AC_MSG_WARN([FontForge is missing.])
else else
echo "*** Warning: FreeType is missing." AC_MSG_WARN([FreeType is missing.])
fi fi
echo "*** Fonts will not be built. Dialog text may be invisible or unaligned." AC_MSG_WARN([Fonts will not be built. Dialog text may be invisible or unaligned.])
exitcode=1 exitcode=1
fi fi
...@@ -1875,9 +1875,10 @@ if test -z "$ALSALIBS" -a \ ...@@ -1875,9 +1875,10 @@ if test -z "$ALSALIBS" -a \
"$ac_cv_header_machine_soundcard_h" != "yes" -a \ "$ac_cv_header_machine_soundcard_h" != "yes" -a \
"$ac_cv_header_soundcard_h" != "yes" "$ac_cv_header_soundcard_h" != "yes"
then then
echo "*** No sound system was found. Windows applications will be silent." echo >&2
echo "*** The currently supported sound systems are:" AC_MSG_WARN([No sound system was found. Windows applications will be silent.])
echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" AC_MSG_WARN([The currently supported sound systems are:])
AC_MSG_WARN([ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS])
exitcode=1 exitcode=1
fi fi
......
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