Detect if the architecture supports the Tilera mPipe packet processing
hardware. It it does, add the requried libraries and define HAVE_MPIPE.
# libraries
+ AC_MSG_CHECKING([for Mpipe])
+ AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM([[#include <gxio/mpipe.h>]])],
+ [
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([HAVE_MPIPE],[1],[mPIPE support is available])
+ LDFLAGS="$LDFLAGS -lgxio -ltmc"
+ ],
+ [AC_MSG_RESULT([no])])
+
#libpcre
AC_ARG_WITH(libpcre_includes,
[ --with-libpcre-includes=DIR libpcre include directory],