Only check for PF_RING if we enable PF_RING.

remotes/origin/master-1.1.x
William 14 years ago committed by Victor Julien
parent b3f7e6a2fc
commit 6408febaec

@ -606,7 +606,6 @@ esac
AS_HELP_STRING([--enable-pfring], [Enable Native PF_RING support]),,[enable_pfring=no]) AS_HELP_STRING([--enable-pfring], [Enable Native PF_RING support]),,[enable_pfring=no])
AS_IF([test "x$enable_pfring" = "xyes"], [ AS_IF([test "x$enable_pfring" = "xyes"], [
CFLAGS="$CFLAGS -DHAVE_PFRING" CFLAGS="$CFLAGS -DHAVE_PFRING"
])
#We have to set CFLAGS for AC_TRY_COMPILE as it doesn't pay attention to CPPFLAGS #We have to set CFLAGS for AC_TRY_COMPILE as it doesn't pay attention to CPPFLAGS
AC_ARG_WITH(libpfring_includes, AC_ARG_WITH(libpfring_includes,
@ -684,6 +683,7 @@ esac
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
])
# libpcap # libpcap
AC_ARG_WITH(libpcap_includes, AC_ARG_WITH(libpcap_includes,

Loading…
Cancel
Save