Put the error code into the Info column symbolically, if possible.
[obnox/wireshark/wip.git] / configure.in
index 2c436add08ef8f527f3549b163fa4d09bac6e138..dd9944048505f664efb759e9c87392d7235f5636 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.136 2001/07/27 06:10:26 guy Exp $
+# $Id: configure.in,v 1.140 2001/11/02 10:01:00 guy Exp $
 dnl
 dnl Process this file with autoconf 2.13 or later to produce a
 dnl configure script; 2.12 doesn't generate a "configure" script that
@@ -13,7 +13,7 @@ AC_INIT(etypes.h)
 
 AC_PREREQ(2.13)
 
-AM_INIT_AUTOMAKE(ethereal, 0.8.19)
+AM_INIT_AUTOMAKE(ethereal, 0.8.20)
 
 dnl Check for CPU / vendor / OS
 AC_CANONICAL_HOST
@@ -315,6 +315,21 @@ fi
 AC_SUBST(text2pcap_bin)
 AC_SUBST(text2pcap_man)
 
+# Enable/disable idl2eth
+
+AC_ARG_ENABLE(idl2eth,
+[  --enable-idl2eth      build idl2eth.  [default=yes]],,enable_idl2eth=yes)
+
+if test "x$enable_idl2eth" = "xyes" ; then
+       idl2eth_bin="idl2eth"
+       idl2eth_man="idl2eth.1"
+else
+       idl2eth_bin=""
+       idl2eth_man=""
+fi
+AC_SUBST(idl2eth_bin)
+AC_SUBST(idl2eth_man)
+
 
 # Enable/disable dftest
 
@@ -375,6 +390,7 @@ if test "x$want_pcap" = "xno" ; then
 else
        AC_MSG_RESULT(yes)
        AC_ETHEREAL_PCAP_CHECK
+       AC_ETHEREAL_PCAP_VERSION_CHECK
 fi
 
 dnl zlib check
@@ -427,6 +443,7 @@ AC_CHECK_HEADERS(sys/wait.h)
 AC_CHECK_HEADERS(netinet/in.h)
 AC_CHECK_HEADERS(stddef.h)
 AC_CHECK_HEADERS(arpa/inet.h)
+AC_CHECK_HEADERS(iconv.h)
 
 dnl SSL Check
 SSL_LIBS=''
@@ -680,6 +697,7 @@ echo "                   Build tethereal : $enable_tethereal"
 echo "                     Build editcap : $enable_editcap"
 echo "                    Build mergecap : $enable_mergecap"
 echo "                   Build text2pcap : $enable_text2pcap"
+echo "                     Build idl2eth : $enable_idl2eth"
 echo "                     Build randpkt : $enable_randpkt"
 echo "                      Build dftest : $enable_dftest"
 echo ""