[grilo-plugins] filesystem: Disable plugin if grlpls isn't present



commit e8f2e537601cbca475600b51d0c17e6b8220a2af
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 9 16:26:01 2014 +0200

    filesystem: Disable plugin if grlpls isn't present
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727901

 configure.ac |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a79d9d7..2ad2cee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -254,7 +254,13 @@ AC_ARG_ENABLE(filesystem,
                         ;;
                 esac
         ],
-        [enable_filesystem=yes])
+        [
+                if test "x$HAVE_GRLPLS" = "xyes"; then
+                   enable_filesystem=yes
+                else
+                   enable_filesystem=no
+                fi
+        ])
 
 AM_CONDITIONAL([FILESYSTEM_PLUGIN], [test "x$enable_filesystem" = "xyes"])
 GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL filesystem"


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