configure.ac: Display a hint, when ALSA is not supported (Synced to HEAD)

Detlef Riekenberg wine.dev at web.de
Wed Sep 13 13:14:02 CDT 2006


> Changelog:
> - configure.ac: Display a hint, when ALSA is not supported
> 
> (libasound development package not installed)
> 

Synced to current HEAD


-- 
 
By by ... Detlef

-------------- next part --------------
Subject: configure.ac: Display a hint, when ALSA is not supported

---

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

33dcf02a9bac6f8bf985852b9dae04659c0489d9
diff --git a/configure.ac b/configure.ac
index 14ef9b8..847a96a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1797,6 +1797,14 @@ dnl **** Display messages about addition
 
 if test "$verbose" = "yes"
 then
+  dnl **** libasound-dev devel package ***
+  if test "$ac_cv_header_sys_asoundlib_h" != "yes" -a "$ac_cv_header_alsa_asoundlib_h" != "yes"
+  then
+    echo >&2
+    AC_MSG_NOTICE([libasound development files not found.])
+    AC_MSG_NOTICE([Wine will be built without ALSA support.])
+  fi
+ 
   dnl **** libcapi20-dev devel package ***
   if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
   then
-- 
1.1.3


More information about the wine-patches mailing list