-# $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
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
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
else
AC_MSG_RESULT(yes)
AC_ETHEREAL_PCAP_CHECK
+ AC_ETHEREAL_PCAP_VERSION_CHECK
fi
dnl zlib check
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=''
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 ""