Fix --without-icons
authorRoy Marples <roy@marples.name>
Wed, 17 Sep 2014 10:22:20 +0000 (10:22 +0000)
committerRoy Marples <roy@marples.name>
Wed, 17 Sep 2014 10:22:20 +0000 (10:22 +0000)
configure

index c621950d772643d152261fc31973068a6a055166..bcc9dd92487070d2da0ded687e285261324c6417 100755 (executable)
--- a/configure
+++ b/configure
@@ -7,6 +7,7 @@ LIBDHCPCD=no
 WITH_DHCPCD_ONLINE=yes
 WITH_GTK=
 WITH_QT=
+WITH_ICONS=
 NOTIFY=yes
 INCLUDEDIR=
 UI=
@@ -371,7 +372,10 @@ elif [ -n "$WITH_QT" -a "$WITH_QT" != no ]; then
        fi
 fi
 
-if [ -n "$UI" -o "$WITH_ICONS" = yes ]; then
+if [ -n "$UI" -a -z "$WITH_ICONS" ]; then
+       WITH_ICONS=yes
+fi
+if [ "$WITH_ICONS" = yes ]; then
        echo "MKICONS=  icons" >>$CONFIG_MK
 fi