Issue a warning if no sound system was found

Francois Gouget fgouget at free.fr
Fri Mar 18 19:16:36 CST 2005


Changelog:

  * configure
    configure.ac

    Issue a warning if no sound system was found.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
         It really galls me that most of the computer power in the world
                           is wasted on screen savers.
                      Chris Caldwell from the GIMPS project
                        http://www.mersenne.org/prime.htm
-------------- next part --------------
Index: configure
===================================================================
RCS file: /var/cvs/wine/configure,v
retrieving revision 1.638
diff -u -p -r1.638 configure
--- configure	10 Mar 2005 20:10:33 -0000	1.638
+++ configure	19 Mar 2005 00:59:29 -0000
@@ -21667,6 +21667,15 @@ then
   echo "*** enable Wine to use TrueType fonts."
 fi
 
+if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
+        -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
+        "$ac_cv_c_opensoundsystem" = "no"
+then
+    echo "*** No sound system was found. Windows applications will be silent."
+    echo "*** The currently supported sound systems are:"
+    echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
+fi
+
 echo
 echo "Configure finished.  Do '${ac_make} depend && ${ac_make}' to compile Wine."
 echo
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	19 Mar 2005 00:59:19 -0000
@@ -1787,6 +1787,15 @@ then
   echo "*** enable Wine to use TrueType fonts."
 fi
 
+if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
+        -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
+        "$ac_cv_c_opensoundsystem" = "no"
+then
+    echo "*** No sound system was found. Windows applications will be silent."
+    echo "*** The currently supported sound systems are:"
+    echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
+fi
+
 echo
 echo "Configure finished.  Do '${ac_make} depend && ${ac_make}' to compile Wine."
 echo


More information about the wine-patches mailing list