[jhbuild] autogen.sh: Fix --simple-install case (again)



commit 9ed3db648d6096c02f3937e7273eccfd436c227d
Author: David King <amigadave amigadave com>
Date:   Thu Sep 19 14:49:09 2013 +0100

    autogen.sh: Fix --simple-install case (again)
    
    Using --simple-install with autogen.sh was broken by commit
    3d03dc2487d128b949cde5e8b3b5a06d9ab40f89 because it wrongly assumed that
    0 was true and 1 was false, when the enable_autotools variable treated
    them the other way around.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708376

 autogen.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 3d3bca3..bf2c6ba 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -79,7 +79,7 @@ setup_i18n()
 # on Solaris, BSD and MacOS.
 parse_commandline()
 {
-  enable_autotools=$FALSE
+  enable_autotools=$TRUE
 
   while [ -n "$1" ]; do
     # substring operations available in all sh?
@@ -88,7 +88,7 @@ parse_commandline()
       key=${keyvalue%%=*}
       value=${keyvalue##*=}
       if [ "$key" = "simple-install" ]; then
-        enable_autotools=$TRUE
+        enable_autotools=$FALSE
       fi
       echo $key | grep -E '^[A-Za-z_][A-Za-z_0-9]*$' > /dev/null 2>&1
       if [ $? -eq 0 ]; then



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