diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-11-28 11:40:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-11-28 11:40:28 +0000 |
commit | 4e4c2942e728daa807c2fdb5041dd0afc0e100ca (patch) | |
tree | f9de5f9811271f7492e72617feb8b903e65b3ebc /configure.in | |
parent | bee3824471a27c035aefdfb2a0ec11e9deba0494 (diff) |
Add support for building dumpcap, and fix dumpcap to build on UN*X.
svn path=/trunk/; revision=16618
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in b/configure.in index af457fccbe..0256e6ae05 100644 --- a/configure.in +++ b/configure.in @@ -541,6 +541,22 @@ AC_SUBST(editcap_bin) AC_SUBST(editcap_man) +# Enable/disable dumpcap + +AC_ARG_ENABLE(dumpcap, +[ --enable-dumpcap build dumpcap. [default=no]],enable_dumpcap=$enableval,enable_dumpcap=no) + +if test "x$enable_dumpcap" = "xyes" ; then + dumpcap_bin="dumpcap\$(EXEEXT)" + dumpcap_man="dumpcap.1" +else + dumpcap_bin="" + dumpcap_man="" +fi +AC_SUBST(dumpcap_bin) +AC_SUBST(dumpcap_man) + + # Enable/disable capinfos AC_ARG_ENABLE(capinfos, @@ -1310,6 +1326,7 @@ echo " Build ethereal : $enable_ethereal" echo " Build tethereal : $enable_tethereal" echo " Build capinfos : $enable_capinfos" echo " Build editcap : $enable_editcap" +echo " Build dumpcap : $enable_dumpcap" echo " Build mergecap : $enable_mergecap" echo " Build text2pcap : $enable_text2pcap" echo " Build idl2eth : $enable_idl2eth" |