65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
LIBS="$LIBS -lnetfilter_queue"
have_nfqueue='yes'
])
if test "$have_nfqueue" != 'yes'; then
AC_MSG_FAILURE([nfqueue 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, [
AC_DEFINE(HAVE_FIREDNS, [], [Enable if you have the optional firedns library])
LIBS="$LIBS -lfiredns"
|
>
>
>
>
>
>
>
>
>
>
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
LIBS="$LIBS -lnetfilter_queue"
have_nfqueue='yes'
])
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, [
AC_DEFINE(HAVE_FIREDNS, [], [Enable if you have the optional firedns library])
LIBS="$LIBS -lfiredns"
|