depends dbus    &&
depends dbus-glib &&
depends gettext && 
depends glib2 &&
depends iptables &&
depends libnl    &&
depends libgcrypt &&
depends libndp   &&
depends readline &&
depends util-linux &&
depends -sub GUDEV DEVICE-MANAGER &&

depends $NETWORK_MANAGER_CRYPTO "--with-crypto=$NETWORK_MANAGER_CRYPTO" &&

optional_depends newt  \
                 '--with-nmtui=yes' \
                 '--with-nmtui=no' \
                 'Build nmtui' &&

optional_depends libsoup \
                 '--with-libsoup=yes' \
                 '--with-libsoup=no' \
                 'SOAP support' &&

optional_depends gtk-doc \
        "--enable-gtk-doc"  \
	"--disable-gtk-doc" \
	"use gtk-doc to build documentation" 


optional_depends policykit                    \
                 "--enable-polkit=yes"        \
                 "--enable-polkit=disabled"   \
                 "Enable PolicyKit support?"  &&

optional_depends CONSOLE-MANAGER                                \
                 "--with-session-tracking=ck"                   \
                 "--with-session-tracking=none"                 \
                 "Enable ConsoleKit session tracking support?"  &&

optional_depends dnsmasq \
                 "--with-dnsmasq" \
                 "" \
                 "DNS proxy with integrated DHCP" &&

optional_depends dhcpcd                                 \
                "--with-dhcpcd=yes --with-dhclient=no"  \
                "--with-dhcpcd=no --with-dhclient=no"   \
                "Enable dhcpcd 4.x support?"            &&

optional_depends ppp                          \
                 "--enable-ppp"               \
                 "--disable-ppp"              \
                 "enable PPP/PPPoE support?"  &&

optional_depends linux-firmware                              \
                 "--with-kernel-firmware-dir=/lib/firmware"  \
                 "" "Use Linux Firmware?"                    &&

optional_depends upower \
                 "--with-suspend-resume=upower" \
                 "" \
                 "Suspend/Resume support" &&

optional_depends ifupdown \
               "--enable-ifupdown" \
               "" \
               "Network activation" &&

optional_depends BLUEZ \
               "" \
               "" \
               "Bluetooth support" &&
runtime_depends wpa_supplicant
