[gnome-dvb-daemon] Fix configure.ac to really enable/disable grilo-plugin.



commit dfe9eb38b856d11099c8519d81e5d7df8886040e
Author: Jens Lody <fedora jenslody de>
Date:   Sun Sep 18 13:23:51 2016 +0200

    Fix configure.ac to really enable/disable grilo-plugin.

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d3e6371..d214de8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,7 +112,7 @@ AC_DEFINE_UNQUOTED([DVBDAEMON_PLUGIN_ID], ["$DVBDAEMON_PLUGIN_ID"], [DVB Daemon
 AC_ARG_ENABLE([grilo-plugin],
        AS_HELP_STRING([--enable-grilo-plugin], [Install the Grilo plugin (default: auto)]),
        [
-               case "$enablevar" in
+               case "$enableval" in
                        yes)
                                if test "x$HAVE_GRL" = "xno"; then
                                        AC_MSG_ERROR([${GRL_NAME} not found, install it or use 
--disable-grilo-plugin])
@@ -123,13 +123,13 @@ AC_ARG_ENABLE([grilo-plugin],
        ],
        [
                if test "x$HAVE_GRL" = "xyes"; then
-                       enable_grilo=yes
+                       enable_grilo_plugin=yes
                else
-                       enable_grilo=no
+                       enable_grilo_plugin=no
                fi
        ])
 
-AM_CONDITIONAL(ENABLE_GRILO, test "x$enable_grilo" = "xyes")
+AM_CONDITIONAL(ENABLE_GRILO, test "x$enable_grilo_plugin" = "xyes")
 
 
 dnl **********


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