From: Eric Leblond Date: Fri, 13 Sep 2013 11:46:19 +0000 (+0200) Subject: configure: accept libnet 1.1 and 1.2. X-Git-Tag: suricata-2.0beta2~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64cd49da319d6eba11feed7e8a7e79effe9027c5;p=thirdparty%2Fsuricata.git configure: accept libnet 1.1 and 1.2. --- diff --git a/configure.ac b/configure.ac index 75f044b8b8..b7b1ebe651 100644 --- a/configure.ac +++ b/configure.ac @@ -827,7 +827,7 @@ AC_MSG_CHECKING(for libnet.h version 1.1.x) if test "$LIBNET_INC_DIR" != ""; then - if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.1 >/dev/null"; then + if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v '1.[[12]]' >/dev/null"; then AC_MSG_RESULT(no) LIBNET_DETECT_FAIL="yes" LIBNET_FAIL_WARN($libnet_dir)