MSCMS: new dll

Francois Gouget fgouget at free.fr
Mon Sep 20 06:34:57 CDT 2004


On Mon, 20 Sep 2004, Mike Hearn wrote:
[...]
> At some point somebody needs to compile a list of all the optional
> dependencies we use so packaging systems that support the concept of
> recommended/suggested packages can get this right.

Would it help if we modify the configure script to display a list of the
optional dependencies that were not detected. I have attached a very
rough prototype that displays a message if NAS, Alsa or ICU is not
found:

$ ./configure
... many many lines later ...
config.status: executing windows commands

Notes:
*** NAS not detected. The winenas.drv.so driver will be a dummy.
*** ICU not detected. Building without bidi support.

Configure finished.  Do 'make depend && make' to compile Wine.


I only did this for 3 of the optional dependencies. This would obviously
have to be generalized to the others (and the messages can probably be
improved too). But this could help users and packagers detect what's
missing to have a full-featured Wine build. It would certainly be
simpler than having to scan the configure output: not everyone would
realize that a missing xpg4 library won't impact Wine's capabilities (or
at least I believe it won't), while a missing ubidi.h header means no
bidirectional text support.

-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
           Cahn's Axiom: When all else fails, read the instructions.
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /var/cvs/wine/configure.ac,v
retrieving revision 1.309
diff -u -r1.309 configure.ac
--- configure.ac	16 Sep 2004 20:34:27 -0000	1.309
+++ configure.ac	20 Sep 2004 10:34:43 -0000
@@ -1756,6 +1756,8 @@
 
 AC_OUTPUT
 
+echo
+echo "Notes:"
 if test "$have_x" = "no"
 then
   echo
@@ -1781,6 +1783,21 @@
   echo "*** enable Wine to use TrueType fonts."
 fi
 
+if test -z "$ALSALIBS"
+then
+  echo "*** Alsa not detected. The winealsa.drv.so driver will be a dummy."
+fi
+
+if test -z "$NASLIBS"
+then
+  echo "*** NAS not detected. The winenas.drv.so driver will be a dummy."
+fi
+
+if test -z "$ICULIBS"
+then
+  echo "*** ICU not detected. Building without bidi support."
+fi
+
 echo
 echo "Configure finished.  Do '${ac_make} depend && ${ac_make}' to compile Wine."
 echo


More information about the wine-devel mailing list