[gnome-builder] build: fix test usage with logic condition in git plugin



commit b9b852edc4acde6b30f815fe4abb73f149e07982
Author: Andreas Henriksson <andreas fatal se>
Date:   Tue Apr 12 13:20:01 2016 +0200

    build: fix test usage with logic condition in git plugin
    
    Before having a new enough libgit2-glib I ran into the warning
    about my libgit2-glib not being built properly with threads.
    After having a new enough libgit2-glib when buildin I ran into
    an infinite loop of "= no" lines being outputted...
    
    This change should hopefully fix both.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764522

 plugins/git/configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/configure.ac b/plugins/git/configure.ac
index 4c2bce5..cd4474b 100644
--- a/plugins/git/configure.ac
+++ b/plugins/git/configure.ac
@@ -13,7 +13,7 @@ AS_IF([test "$enable_git_plugin" != no],[
                          [have_git=yes],
                          [have_git=no])
 
-       AS_IF([test "$enable_git_plugin" = "yes" && "$have_git" = "no"],[
+       AS_IF([test "$enable_git_plugin" = "yes" && test "$have_git" = "no"],[
               AC_MSG_ERROR([--enable-git-plugin requires libgit2-glib-1.0 >= ggit_required_version])
        ])
 


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