-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
NancyLi1013
committed
Oct 12, 2019
1 parent
038e1c6
commit f34bf60
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/libcrafter/configure.ac b/libcrafter/configure.ac | ||
index 860d98b..b04ccce 100644 | ||
--- a/libcrafter/configure.ac | ||
+++ b/libcrafter/configure.ac | ||
@@ -35,14 +35,13 @@ AC_ARG_WITH(libpcap, | ||
PCAPINC="-I$withval -I$withval/bpf" | ||
PCAPLIB="-L$withval -lpcap" | ||
elif test -f $withval/include/pcap.h -a \ | ||
- -f $withval/include/net/bpf.h -a \ | ||
-f $withval/lib/libpcap.a; then | ||
owd=`pwd` | ||
if cd $withval; then withval=`pwd`; cd $owd; fi | ||
PCAPINC="-I$withval/include" | ||
PCAPLIB="-L$withval/lib -lpcap" | ||
else | ||
- AC_ERROR(pcap.h, net/bpf.h, or libpcap.a not found in $withval) | ||
+ AC_ERROR(pcap.h, or libpcap.a not found in $withval) | ||
fi | ||
;; | ||
esac ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters