@@ -67,10 +67,20 @@ ]) if test "$have_nfqueue" != 'yes'; then AC_MSG_FAILURE([nfqueue was not found.]) fi + +AC_CHECK_LIB([nfnetlink], [nfnl_listen], [ + AC_DEFINE(HAVE_NFNETLINK, [], [Enable if netlink exists]) + LIBS="$LIBS -lnfnetlink" + have_nfnetlink='yes' +]) + +if test "$have_nfnetlink" != 'yes'; then + AC_MSG_FAILURE([nfnetlink was not found.]) +fi AC_MSG_CHECKING(whether to use firedns) if test "$ac_cv_use_firedns" == "yes" ; then AC_MSG_RESULT(yes) AC_CHECK_LIB(firedns, firedns_resolveip4, [