[rygel] build: Minor fixes in autogen.sh



commit a741c562e84507c2abff908e3f08e9c8ff4179d8
Author: Jens Georg <jensg openismus com>
Date:   Thu Oct 31 01:39:09 2013 +0100

    build: Minor fixes in autogen.sh
    
    Found by Mihai Moldovan <ionic ionic de>

 autogen.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index ebb728a..274db38 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -33,15 +33,15 @@ DEFAULT_ARGS="--enable-vala --enable-valadoc --enable-maintainer-mode  --enable-
 
 mkdir -p m4
 
-if [ $1 = "devel" ]; then
+if [ "x$1" = "xdevel" ]; then
     DEFAULT_ARGS="$DEFAULT_ARGS --enable-uninstalled --enable-debug --disable-apidocs"
     shift
-elif [$1 = "release" ]; then
+elif [ "x$1" = "xrelease" ]; then
     DEFAULT_ARGS="$DEFAULT_ARGS --enable-apidocs --disable-debug"
     shift
 fi
 
-# require automak 1.11 for vala support
+# require automake 1.11 for vala support
 REQUIRED_AUTOMAKE_VERSION=1.11 \
 REQUIRED_AUTOCONF_VERSION=2.64 \
 REQUIRED_LIBTOOL_VERSION=2.2.6 \


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