[grilo-plugins/0.1.x] configure.ac: improved readability.



commit 3ea3da9d249ca903c3f27ae938e50c0d95d5214b
Author: Iago Toral Quiroga <itoral igalia com>
Date:   Fri Jun 3 09:56:29 2011 +0200

    configure.ac: improved readability.

 configure.ac |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index eb6faa6..a703acd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,12 +338,8 @@ AC_ARG_ENABLE(youtube,
                 esac
         ],
         [
-                if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
-                   if test "x$HAVE_GDATA" = "xyes"; then
-                     enable_youtube=yes
-                   else
-                     enable_youtube=no
-                   fi
+                if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_GDATA" = "xyes"; then
+                   enable_youtube=yes
                 else
                    enable_youtube=no
                 fi
@@ -468,12 +464,8 @@ AC_ARG_ENABLE(bookmarks,
                 esac
         ],
         [
-                if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_XML" = "xyes"; then
-                   if test "x$HAVE_SQLITE" = "xyes"; then
-                     enable_bookmarks=yes
-                   else
-                     enable_bookmarks=no
-                   fi
+                if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_SQLITE" = "xyes"; then
+                   enable_bookmarks=yes
                 else
                    enable_bookmarks=no
                 fi



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