depends gconf2 &&
depends gettext && 
depends glib2 &&
depends intltool && 
depends iproute2 && 
depends libnl &&
depends wireless_tools &&
depends wpa_supplicant &&
depends iptables &&
depends -sub GUDEV udev &&

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


optional_depends policykit                    \
                 "--enable-polkit"            \
                 "--disable-polkit"           \
                 "Enable PolicyKit support?"  &&

optional_depends consolekit                                     \
                 "--with-ck"                                    \
                 "--without-ck"                                 \
                 "Enable ConsoleKit session tracking support?"  &&

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?"                    &&

if [ "$NETWORK_MANAGER_CRYPTO" = "nss" ]; then
   depends nss "--with-crypto=nss" 
else
   depends gnutls "--with-crypto=gnutls"
fi
