anchor.diff:  		--with-distro=debian \
   		--with-crypto=gnutls \
   		--disable-more-warnings \
  -        --with-dhclient=${base_sbindir}/dhclient \
  -        --with-iptables=${sbindir}/iptables \
  +                --with-dhclient=${base_sbindir}/dhclient \
  +                --with-iptables=${sbindir}/iptables \
  +                --with-tests \
   "
   
   do_configure_prepend() {
  
positive.code: 		    ${libdir}/pppd/*/.debug/ "
  
  FILES_${PN}-dev += "${datadir}/NetworkManager/gdb-cmd \
                      ${libdir}/pppd/*/*.a \
                      ${libdir}/pppd/*/*.la \
                      ${libdir}/NetworkManager/*.a \
                      ${libdir}/NetworkManager/*.la"
  
  FILES_${PN}-tests = "${bindir}/nm-tool \
                       ${bindir}/libnm_glib_test \
                       ${bindir}/nminfotest \
                       ${bindir}/nm-online \
                       ${bindir}/nm-supplicant \
                       ${bindir}/nm-testdevices"
  
negative.code: # Work around dbus permission problems since we lack a proper at_console
  do_install_prepend() {
  	sed -i -e s:deny:allow:g ${S}/src/NetworkManager.conf
  	sed -i -e s:deny:allow:g ${S}/callouts/nm-dispatcher.conf
  }
  
  do_install_append () {
  	install -d ${D}/etc/dbus-1/event.d
  	# Additional test binaries
  	install -d ${D}/usr/bin
  	install -m 0755 ${S}/test/.libs/libnm* ${D}/usr/bin
  
  	install -d ${D}/etc/NetworkManager/
  
  