[grilo] build: Fail when library dependencies are missing



commit 2a73d7deaad9fbdebf3441d72b8316bdf4258024
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 23 11:35:04 2015 +0200

    build: Fail when library dependencies are missing
    
    When --disable-grl-pls or --disable-grl-net is not passed, fail so that
    users know that those internal libraries are strongly recommended.
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=755367

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5af4a72..41c2de5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,6 +174,7 @@ AC_ARG_ENABLE([grl_net],
         [
                 case "$enableval" in
                      yes)
+                     auto)
                         if test "x$HAVE_LIBSOUP" = "xno"; then
                            AC_MSG_ERROR([libsoup-2.4 not found, install it or use --disable-grl-net])
                         fi
@@ -198,6 +199,7 @@ AC_ARG_ENABLE([grl_pls],
         [
                 case "$enableval" in
                      yes)
+                     auto)
                         if test "x$HAVE_TOTEM_PL_PARSER" = "xno"; then
                            AC_MSG_ERROR([totem-pl-parser not found, install it or use --disable-grl-pls])
                         fi


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