configure: Fix PCAP_LIBS without pcap-config
Also remove XXX comment (answer: no, using package flags is preferable). Change-Id: I05e7c0a40db9f1e1931b0fc585fed49cd7409526 Reviewed-on: https://code.wireshark.org/review/23901 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
2ecc51f28f
commit
c4fbd43ade
|
@ -200,9 +200,9 @@ AC_DEFUN([AC_WIRESHARK_PCAP_CHECK],
|
|||
# "$prefix/include/pcap", in case $prefix is set to
|
||||
# "/usr/include" or "/usr/local/include".
|
||||
#
|
||||
# XXX - should we just add "$prefix/include" to the include
|
||||
# search path and "$prefix/lib" to the library search path?
|
||||
#
|
||||
PCAP_CFLAGS=""
|
||||
PCAP_LIBS="-lpcap"
|
||||
|
||||
AC_MSG_CHECKING(for extraneous pcap header directories)
|
||||
found_pcap_dir=""
|
||||
pcap_dir_list="/usr/local/include/pcap /usr/include/pcap $prefix/include/pcap $prefix/include"
|
||||
|
|
Loading…
Reference in New Issue