diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-02-16 01:00:01 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-02-16 01:00:01 +0000 |
commit | ef32a2caefdb4bef06d0815222e14aa021cbf750 (patch) | |
tree | 124e39f833e826184fd27511c4b4eb632da3a3b7 /configure.in | |
parent | 2c287e39bf70bef9779cae6a32af1597f292eeb7 (diff) |
Fix compilation on non-Windows systems.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24340 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b7e0e35a94..1e2e29c8a8 100644 --- a/configure.in +++ b/configure.in @@ -829,6 +829,24 @@ else fi AC_SUBST(randpkt_bin) +# Enable/disable rawshark + +AC_ARG_ENABLE(rawshark, + AC_HELP_STRING( [--enable-rawshark], + [build rawshark. @<:@default=yes@:>@]), + rawshark=$enableval,enable_rawshark=yes) + +if test "x$enable_rawshark" = "xyes" ; then + rawshark_bin="rawshark\$(EXEEXT)" + rawshark_man="rawshark.1" +else + rawshark_bin="" + rawshark_man="" +fi +AC_SUBST(rawshark_bin) +AC_SUBST(rawshark_man) + + dnl Checks for "gethostbyname()" - and "-lnsl", if we need it to get dnl "gethostbyname()". @@ -1743,6 +1761,7 @@ echo " Build text2pcap : $enable_text2pcap" echo " Build idl2wrs : $enable_idl2wrs" echo " Build randpkt : $enable_randpkt" echo " Build dftest : $enable_dftest" +echo " Build rawshark : $enable_rawshark" echo "" echo " Install dumpcap setuid : $setuid_message" echo " Use plugins : $have_plugins" |