[gvfs] configure.ac: Show configured hotplug backend



commit d0f3c534168a420ae2656ff626f8459529bcca9a
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Thu Jul 16 16:25:52 2009 +0200

    configure.ac: Show configured hotplug backend
    
    This shows "gudev", "hal", or "none", depending on whether libgudev/libhal are
    available, and the --{en,dis}able-{hal,gudev} configure switches.
    
    Discussed as a side issue in
    http://bugzilla.gnome.org/show_bug.cgi?id=586410

 configure.ac |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 97342ed..e86f923 100644
--- a/configure.ac
+++ b/configure.ac
@@ -293,6 +293,16 @@ if test "x$enable_gudev" != "xno"; then
 fi
 AM_CONDITIONAL(USE_GUDEV, [test "$msg_gudev" = "yes"])
 
+if test "x$msg_gudev" = "xyes"; then
+  msg_hotplug_backend="gudev"
+else 
+  if test "x$msg_hal" = "xyes"; then
+    msg_hotplug_backend="hal"
+  else
+    msg_hotplug_backend="none"
+  fi
+fi
+
 dnl **************************************************
 dnl *** Check if we should build with CDDA backend ***
 dnl **************************************************
@@ -703,6 +713,8 @@ echo "gvfs configuration summary:"
 echo "
         gio module directory : $giomodulesdir
 
+        hotplug backend:              $msg_hotplug_backend
+
         FTP/HTTP/WebDAV support       $msg_http
         ObexFTP support               $msg_obexftp
 	Samba support:	              $msg_samba



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]