From: Ken Steele Date: Mon, 20 May 2013 19:16:47 +0000 (-0400) Subject: Update configure.ac to detect Tile architecture. X-Git-Tag: suricata-2.0beta1~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3db717db6d05aee16b00cdbdd1184af2063a54aa;p=thirdparty%2Fsuricata.git Update configure.ac to detect Tile architecture. Detect if the architecture supports the Tilera mPipe packet processing hardware. It it does, add the requried libraries and define HAVE_MPIPE. --- diff --git a/configure.ac b/configure.ac index a0075512be..775c16f834 100644 --- a/configure.ac +++ b/configure.ac @@ -384,6 +384,16 @@ AC_INIT(configure.ac) # libraries + AC_MSG_CHECKING([for Mpipe]) + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[#include ]])], + [ + 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],