CONFIG_SHELL=/bin/bash \
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/networkmanager \
		--with-udev-dir=/lib/udev \
		--with-systemdsystemunitdir=no \
		--disable-nls \
		--disable-static \
		--enable-polkit \
		--enable-wifi \
		--enable-tests=no \
		--enable-gtk-doc=no \
		--enable-gtk-doc-html=no \
		--enable-introspection=no \
		--with-suspend-resume=upower \
		--with-dhcpcd=/sbin/dhcpcd \
		--with-resolvconf=/usr/sbin/resolvconf \
		--with-iptables=/usr/sbin/iptables \
		--with-crypto=nss \
		--enable-more-warnings=no \
		--enable-modify-system \
		--with-session-tracking=consolekit \
		--with-suspend-resume=upower \
		--without-libnm-glib \
		--$(test -f /usr/include/pppd/pppd.h && echo enable || echo disable)-ppp

	make
	make DESTDIR=$PKG install