net/arp-sk: Fix build with libnet 1.3
This commit is contained in:
parent
f8901e734c
commit
a19e26ecdd
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
-echo "$as_me:$LINENO: checking for version 1.1.x of libnet" >&5
|
||||
-echo $ECHO_N "checking for version 1.1.x of libnet... $ECHO_C" >&6
|
||||
+echo "$as_me:$LINENO: checking for version 1.2.x of libnet" >&5
|
||||
+echo $ECHO_N "checking for version 1.2.x of libnet... $ECHO_C" >&6
|
||||
+echo "$as_me:$LINENO: checking for version 1.3.x of libnet" >&5
|
||||
+echo $ECHO_N "checking for version 1.3.x of libnet... $ECHO_C" >&6
|
||||
|
||||
if test "$cross_compiling" = yes; then
|
||||
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||
|
@ -16,7 +16,7 @@
|
|||
int main()
|
||||
{
|
||||
- return (strncmp(LIBNET_VERSION, "1.1.", 4));
|
||||
+ return (strncmp(LIBNET_VERSION, "1.2", 3));
|
||||
+ return (strncmp(LIBNET_VERSION, "1.3", 3));
|
||||
}
|
||||
|
||||
_ACEOF
|
||||
|
|
Loading…
Reference in a new issue