Add some autoconf warnings
Francois Gouget
fgouget at free.fr
Fri Mar 18 06:40:41 CST 2005
I thought I had sent this patch months ago but apparently not. The idea
is to warn the user when some often used libraries are missing and is
based on the warnings issued for bad Mesa or X configurations. Let me
know if the range of checks should be expanded or reduced or otherwise
tweaked.
After applying this patch configure needs to be regenerated (duh).
Changelog:
* configure.ac
Warn the user when OpenGL, OSS, ALSA, ARTS or ICU are missing.
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Avoid the Gates of Hell - use Linux.
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /var/cvs/wine/configure.ac,v
retrieving revision 1.343
diff -u -p -r1.343 configure.ac
--- configure.ac 5 Mar 2005 11:19:14 -0000 1.343
+++ configure.ac 18 Mar 2005 12:31:11 -0000
@@ -1762,6 +1762,8 @@ tools/wrc/Makefile])
AC_OUTPUT
+echo
+echo "Notes:"
if test "$have_x" = "no"
then
echo
@@ -1777,6 +1779,10 @@ then
echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
fi
+if test "$with_opengl" != "no" -a -z "$OPENGL_LIBS"
+then
+ echo "*** OpenGL not detected. Building without OpenGL support."
+fi
if test "$wine_cv_msg_freetype" = "yes"
then
@@ -1787,6 +1793,26 @@ then
echo "*** enable Wine to use TrueType fonts."
fi
+if test "$ac_cv_c_opensoundsystem" = "no"
+then
+ echo "*** OSS not detected. The wineoss.drv.so sound driver will be a dummy."
+fi
+
+if test -z "$ALSALIBS"
+then
+ echo "*** Alsa not detected. The winealsa.drv.so sound driver will be a dummy."
+fi
+
+if test -z "$ARTSC_LIBS"
+then
+ echo "*** Alsa not detected. The winearts.drv.so sound driver will be a dummy."
+fi
+
+if test -z "$ICULIBS"
+then
+ echo "*** ICU not detected. Building without bi-directional text support."
+fi
+
echo
echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
echo
More information about the wine-patches
mailing list