switch enable-sniffer w/o libpcap to error out again
This commit is contained in:
parent
b41d09b1a2
commit
e5b0000ee4
@ -315,7 +315,7 @@ AC_ARG_ENABLE([sniffer],
|
||||
AS_IF([ test "x$enableval" = "xyes" ],[ AC_CHECK_HEADERS([pcap/pcap.h],[
|
||||
ENABLED_SNIFFER=yes
|
||||
AM_CFLAGS="$AM_CFLAGS -DCYASSL_SNIFFER -DOPENSSL_EXTRA"
|
||||
],[ ENABLED_SNIFFER=no ]) ])
|
||||
],[ AC_MSG_ERROR([cannot enable sniffer without having libpcap available.]) ]) ])
|
||||
],[
|
||||
ENABLED_SNIFFER=no
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user