Add --with-qt and --without-qk options.
authorRoy Marples <roy@marples.name>
Tue, 2 Sep 2014 11:49:36 +0000 (11:49 +0000)
committerRoy Marples <roy@marples.name>
Tue, 2 Sep 2014 11:49:36 +0000 (11:49 +0000)
Fix --without-gtk option.

configure

index 7279906913bbac98476a4cff5fcec7999579518c..8da4f077ed7ae320f9a21c7057e742566d5afd3e 100755 (executable)
--- a/configure
+++ b/configure
@@ -37,6 +37,8 @@ for x; do
        --icondir) ICONDIR=$var;;
        --with-gtk|--with-gtk+) WITH_GTK=${var:-yes};;
        --without-gtk|--without-gtk+) WITH_GTK=no;;
+       --with-qt) WITH_QT=${var:-yes};;
+       --without-qt) WITH_QT=no;;
        --enable-notification) NOTIFY=yes;;
        --disable-notification) NOTIFY=no;;
        --help) echo "See the README file for available options"; exit 0;;
@@ -329,7 +331,7 @@ elif [ -n "$WITH_GTK" -a "$WITH_GTK" != no ]; then
        fi
 fi
        
-if [ -n "$WITH_GTK" ]; then
+if [ -n "$WITH_GTK" -a "$WITH_GTK" != no ]; then
        PKG="$WITH_GTK"
        if [ "$NOTIFY" = yes ]; then
                PKG="$PKG${PKG:+ }libnotify"