1 # $Id: configure.in,v 1.212 2003/07/23 02:06:24 gerald Exp $
3 dnl Process this file with autoconf 2.13 or later to produce a
4 dnl configure script; 2.12 doesn't generate a "configure" script that
5 dnl defines SHELL, and "Makefile.in" has
9 dnl which requires it to be defined - and there may be other problems
10 dnl with pre-2.13 "autoconf" as well.
16 dnl Check for CPU / vendor / OS
20 AM_INIT_AUTOMAKE(ethereal, 0.9.14)
22 dnl Checks for programs.
26 dnl Work around libtool bug (fixed in the version 1.5a?)
27 AC_DEFUN([AC_PROVIDE_AC_LIBTOOL_DLOPEN], )
32 AC_PATH_PROG(PERL, perl)
33 AC_PATH_PROG(POD2MAN, pod2man)
34 AC_PATH_PROG(LEX, flex)
35 AC_PATH_PROG(PYTHON, python)
41 # Check for packaging utilities
42 # For now, we check to see if the various packaging utilites are in our
43 # path. I'm too lazy to write code to go hunt for them. - Gerald
44 AC_CHECK_PROG(HAVE_PKGPROTO, pkgproto, "yes", "no")
45 AC_CHECK_PROG(HAVE_PKGMK, pkgmk, "yes", "no")
46 AC_CHECK_PROG(HAVE_PKGTRANS, pkgtrans, "yes", "no")
48 if test x$HAVE_PKGPROTO = xyes -a x$HAVE_PKGMK = xyes \
49 -a x$HAVE_PKGTRANS = xyes ; then
50 HAVE_SVR4_PACKAGING=yes
52 HAVE_SVR4_PACKAGING=no
54 AC_SUBST(HAVE_SVR4_PACKAGING)
60 # If we're running gcc, add '-Wall -W' to CFLAGS, and add
61 # '-D_U_="__attribute__((unused))"' as well, so we can use _U_ to
62 # flag unused function arguments and not get warnings about them.
63 # If "--with-extra-gcc-checks" was specified, add "-Wcast-qual
64 # -Wcast-align" as well. (Add more checks here in the future?)
66 # Otherwise, add '-D_U_=""', so that _U_ used to flag an unused function
67 # argument will compile with non-GCC compilers.
69 AC_ARG_WITH(extra-gcc-checks,
70 [ --with-extra-gcc-checks do additional -W checks in GCC. [default=no]],
72 if test $withval != no
74 ethereal_extra_gcc_flags=" -Wcast-qual -Wcast-align"
77 AC_MSG_CHECKING(to see if we can add '-Wall -W$ethereal_extra_gcc_flags' to CFLAGS)
78 if test x$GCC != x ; then
79 CFLAGS="-D_U_=\"__attribute__((unused))\" -Wall -W$ethereal_extra_gcc_flags $CFLAGS"
82 CFLAGS="-D_U_=\"\" $CFLAGS"
87 # Add any platform-specific compiler flags needed.
89 AC_MSG_CHECKING(for platform-specific compiler flags)
93 # Not GCC - assume it's the vendor's compiler.
98 # HP's ANSI C compiler; flags suggested by Jost Martin.
99 # "-Ae" for ANSI C plus extensions such as "long long".
100 # "+O2", for optimization. XXX - works with "-g"?
102 CFLAGS="-Ae +O2 $CFLAGS"
103 AC_MSG_RESULT(HP ANSI C compiler - added -Ae +O2)
107 # It may be called "cc", but it's really a GCC derivative
108 # with a problematic special precompiler and precompiled
109 # headers; turn off the special precompiler, as some
110 # apparently-legal code won't compile with its precompiled
113 CFLAGS="-no-cpp-precomp $CFLAGS"
114 AC_MSG_RESULT(Apple GCC - added -no-cpp-precomp)
117 AC_MSG_RESULT(none needed)
123 # the X11 headers don't automatically include prototype info
124 # and a lot don't include the return type
125 CFLAGS="$CFLAGS -Wno-return-type -DFUNCPROTO=15"
126 AC_MSG_RESULT(GCC on Solaris - added -Wno-return-type -DFUNCPROTO=15)
130 # See comments above about Apple's lovely C compiler.
132 CFLAGS="-no-cpp-precomp $CFLAGS"
133 AC_MSG_RESULT(Apple GCC - added -no-cpp-precomp)
136 AC_MSG_RESULT(none needed)
141 CFLAGS="$CFLAGS -I\$(top_srcdir) -I\$(top_srcdir)/wiretap"
142 CPPFLAGS="$CPPFLAGS -I\$(top_srcdir) -I\$(top_srcdir)/wiretap"
144 dnl Look in /usr/local for header files and libraries ?
145 dnl XXX FIXME don't include /usr/local if it is already in the system
146 dnl search path as this causes gcc 3.2 on Linux to complain about a change
147 dnl of the system search order for includes
148 AC_ARG_ENABLE(usr-local,
149 [ --enable-usr-local look for headers and libs in /usr/local tree. [default=yes]],enable_usr_local=$enableval,enable_usr_local=yes)
151 AC_MSG_CHECKING(whether to use /usr/local for headers and libraries)
152 if test "x$enable_usr_local" = "xyes" ; then
155 # Arrange that we search for header files in the source directory
156 # and in its "wiretap" subdirectory, as well as in "/usr/local/include",
157 # as various packages we use ("libpcap", "zlib", an SNMP library)
158 # may have been installed under "/usr/local/include".
160 CFLAGS="$CFLAGS -I/usr/local/include"
161 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
164 # Arrange that we search for libraries in "/usr/local/lib".
166 AC_ETHEREAL_ADD_DASH_L(LDFLAGS, /usr/local/lib)
172 # If we're running Solaris, and LD_LIBRARY_PATH is defined, add it as a
177 AC_MSG_CHECKING(for LD_LIBRARY_PATH, since you appear to be running Solaris)
178 if test x$LD_LIBRARY_PATH != x ; then
179 LIBS="$LIBS -R$LD_LIBRARY_PATH"
180 AC_MSG_RESULT(yes -- added LD_LIBRARY_PATH to run-time linker path)
182 AC_MSG_RESULT(no -- this may be a problem in a few seconds)
188 # Check for versions of "sed" inadequate to handle, in libtool, a list
189 # of object files as large as the list in Ethereal.
191 # On Solaris, we check for "/bin/sed", "/usr/bin/sed", and "/usr/ucb/sed",
192 # as both "/usr/bin/sed" (which is also "/bin/sed", as "/bin" is just a
193 # symlink to "/usr/bin", but people may have "/bin" before "/usr/bin" in
194 # their search path) and "/usr/ucb/sed" are inadequate; "/usr/xpg4/bin/sed"
195 # is the only "sed" that comes with Solaris that can handle Ethereal.
197 # Add any checks here that are necessary for other OSes.
199 AC_ETHEREAL_GNU_SED_CHECK
200 if test "$HAVE_GNU_SED" = no ; then
203 AC_MSG_CHECKING(whether one of /usr/bin/sed or /bin/sed or /usr/ucb/sed will be used)
205 /bin/sed|/usr/bin/sed|/usr/ucb/sed)
207 AC_MSG_ERROR([change your path to search /usr/xpg4/bin or directory containing GNU sed before /usr/bin (and /bin and /usr/ucb)])
222 # Enable/disable tethereal
224 AC_ARG_ENABLE(ethereal,
225 [ --enable-ethereal build GTK+-based ethereal. [default=yes]],enable_ethereal=$enableval,enable_ethereal=yes)
228 [ --enable-gtk2 build Glib2/Gtk2+-based (t)ethereal. [default=no]],enable_gtk2=$enableval,enable_gtk2=no)
229 AM_CONDITIONAL(USE_GTK2, test x$enable_gtk2 = xyes)
231 AC_ARG_ENABLE(threads,
232 [ --enable-threads use threads in ethereal. [default=no]],enable_threads=$enableval,enable_threads=no)
233 AM_CONDITIONAL(USE_THREADS, test x$enable_threads = xyes)
236 # We don't add $GLIB_LIBS to LIBS, because we don't want to force all
237 # programs to be built with GTK+.
239 if test "x$enable_gtk2" = "xyes" -a "x$enable_ethereal" = "xyes" ; then
241 AM_PATH_GTK_2_0(2.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no, gthread)
242 elif test "x$enable_gtk2" != "xyes" -a "x$enable_ethereal" = "xyes" ; then
244 AM_PATH_GTK(1.2.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no )
250 # This doesn't add GLIB_CFLAGS to CFLAGS, because AM_PATH_GTK will add
251 # GTK_CFLAGS to CFLAGS, and GTK_CFLAGS is a superset of CFLAGS.
252 # However, this means that both @GLIB_LIBS@ and @GTK_LIBS@ will be
253 # set when generating the Makefile, so we can make programs that require
254 # only GLib link with @GLIB_LIBS@ and make programs that require GTK+
255 # link with @GTK_LIBS@ (which includes @GLIB_LIBS@).
256 # We don't add $GLIB_LIBS to LIBS, because we don't want to force all
257 # programs to be built with GLib.
259 if test "$GTK_OK" = "no" ; then
264 if test "x$enable_gtk2" = "xyes" ; then
265 AM_PATH_GLIB_2_0(2.0.0, CFLAGS="$CFLAGS $GLIB_CFLAGS", AC_MSG_ERROR(GLib distribution not found.), gmodule)
267 AM_PATH_GLIB(1.2.0, CFLAGS="$CFLAGS $GLIB_CFLAGS", AC_MSG_ERROR(GLib distribution not found.), gmodule)
270 ethereal_bin="ethereal"
271 ethereal_man="ethereal.1"
272 ethereal_SUBDIRS="gtk"
274 if test "$GTK_OK" = "two" ; then
275 AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR(GLib distribution not found.), gmodule)
277 AM_PATH_GLIB(1.2.0, , AC_MSG_ERROR(GLib distribution not found.), gmodule)
282 # Check whether GLib modules are supported, to determine whether we
283 # can support plugins.
285 AC_MSG_CHECKING(whether GLib supports loadable modules)
286 ac_save_CFLAGS="$CFLAGS"
288 CFLAGS="$CFLAGS $GLIB_CFLAGS"
289 LIBS="$GLIB_LIBS $LIBS"
299 if (g_module_supported())
300 return 0; /* success */
302 return 1; /* failure */
304 ], ac_cv_glib_supports_modules=yes, ac_cv_glib_supports_modules=no,
305 [echo $ac_n "cross compiling; assumed OK... $ac_c"])
306 CFLAGS="$ac_save_CFLAGS"
308 if test "$ac_cv_glib_supports_modules" = yes ; then
317 AC_SUBST(ethereal_bin)
318 AC_SUBST(ethereal_man)
322 # Enable/disable tethereal
324 AC_ARG_ENABLE(tethereal,
325 [ --enable-tethereal build tethereal. [default=yes]],tethereal=$enableval,enable_tethereal=yes)
327 if test "x$enable_tethereal" = "xyes" ; then
328 tethereal_bin="tethereal"
329 tethereal_man="tethereal.1"
334 AC_SUBST(tethereal_bin)
335 AC_SUBST(tethereal_man)
339 # Enable/disable editcap
341 AC_ARG_ENABLE(editcap,
342 [ --enable-editcap build editcap. [default=yes]],enable_editcap=$enableval,enable_editcap=yes)
344 if test "x$enable_editcap" = "xyes" ; then
345 editcap_bin="editcap"
346 editcap_man="editcap.1"
351 AC_SUBST(editcap_bin)
352 AC_SUBST(editcap_man)
355 # Enable/disable mergecap
357 AC_ARG_ENABLE(mergecap,
358 [ --enable-mergecap build mergecap. [default=yes]],enable_mergecap=$enableval,enable_mergecap=yes)
360 if test "x$enable_mergecap" = "xyes" ; then
361 mergecap_bin="mergecap"
362 mergecap_man="mergecap.1"
367 AC_SUBST(mergecap_bin)
368 AC_SUBST(mergecap_man)
371 # Enable/disable text2pcap
373 AC_ARG_ENABLE(text2pcap,
374 [ --enable-text2pcap build text2pcap. [default=yes]],text2pcap=$enableval,enable_text2pcap=yes)
376 if test "x$enable_text2pcap" = "xyes" ; then
377 text2pcap_bin="text2pcap"
378 text2pcap_man="text2pcap.1"
383 AC_SUBST(text2pcap_bin)
384 AC_SUBST(text2pcap_man)
386 # Enable/disable idl2eth
388 AC_ARG_ENABLE(idl2eth,
389 [ --enable-idl2eth build idl2eth. [default=yes]],enable_idl2eth=$enableval,enable_idl2eth=yes)
391 if test "x$enable_idl2eth" = "xyes" ; then
392 idl2eth_bin="idl2eth"
393 idl2eth_man="idl2eth.1"
398 AC_SUBST(idl2eth_bin)
399 AC_SUBST(idl2eth_man)
402 # Enable/disable dftest
404 AC_ARG_ENABLE(dftest,
405 [ --enable-dftest build dftest. [default=no]],enable_dftest=$enableval,enable_dftest=no)
407 if test "x$enable_dftest" = "xyes" ; then
415 # Enable/disable randpkt
417 AC_ARG_ENABLE(randpkt,
418 [ --enable-randpkt build randpkt. [default=no]],enable_randpkt=$enableval,enable_randpkt=no)
420 if test "x$enable_randpkt" = "xyes" ; then
421 randpkt_bin="randpkt"
425 AC_SUBST(randpkt_bin)
428 dnl Checks for "gethostbyname()" - and "-lnsl", if we need it to get
429 dnl "gethostbyname()".
430 AC_ETHEREAL_GETHOSTBY_LIB_CHECK
432 dnl Checks for "connect()", used as a proxy for "socket()" - and
433 dnl "-lsocket", if we need it to get "connect()".
434 AC_ETHEREAL_SOCKET_LIB_CHECK
437 AC_MSG_CHECKING(whether to use libpcap for packet capture)
440 [ --with-pcap[=DIR] use libpcap for packet capturing. [default=yes]],
442 if test $withval = no
445 elif test $withval = yes
456 if test "x$want_pcap" = "xno" ; then
460 AC_ETHEREAL_PCAP_CHECK
461 AC_ETHEREAL_PCAP_VERSION_CHECK
465 AC_MSG_CHECKING(whether to use zlib for reading compressed capture files)
468 [ --with-zlib[=DIR] use zlib (located in directory DIR, if supplied) to read compressed data. [default=yes, if present]],
470 if test $withval = no
473 elif test $withval = yes
482 # Use zlib if it's present, otherwise don't.
487 if test "x$want_zlib" = "xno" ; then
491 AC_ETHEREAL_ZLIB_CHECK
492 if test "x$want_zlib" = "xno" ; then
493 AC_MSG_RESULT(zlib not found - disabling compressed capture file support)
500 [ --enable-ipv6 use ipv6 name resolution, if available. [default=yes]],enable_ipv6=$enableval,enable_ipv6=yes)
502 AC_MSG_CHECKING(whether to enable ipv6 name resolution if available)
503 if test "x$enable_ipv6" = "xno" ; then
507 AC_ETHEREAL_IPV6_STACK
511 dnl Check if ethereal should be installed setuid
512 AC_ARG_ENABLE(setuid-install,
513 [ --enable-setuid-install install ethereal as setuid. DANGEROUS!!! [default=no]],enable_setuid_install=$enableval,enable_setuid_install=no)
515 AC_MSG_CHECKING(whether to install ethereal setuid)
516 if test "x$enable_setuid_install" = "xno" ; then
522 AM_CONDITIONAL(SETUID_INSTALL, test x$enable_setuid_install = xyes)
524 dnl Checks for header files.
526 AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h stdarg.h netdb.h)
527 AC_CHECK_HEADERS(sys/stat.h sys/sockio.h sys/types.h sys/socket.h)
528 AC_CHECK_HEADERS(sys/utsname.h sys/wait.h)
529 AC_CHECK_HEADERS(netinet/in.h)
530 AC_CHECK_HEADERS(stddef.h)
531 AC_CHECK_HEADERS(arpa/inet.h)
532 AC_CHECK_HEADERS(iconv.h)
536 AC_MSG_CHECKING(whether to use SSL library if available)
537 if test "x$enable_ssl" = "xno" ; then
541 AC_ETHEREAL_SSL_CHECK
548 AC_ARG_WITH(net-snmp,
549 [ --with-net-snmp=PATH use PATH as the location of the net-snmp-config shell script that comes with the net-snmp package.],
550 [netsnmpconfig=$withval]
554 [ --with-ucdsnmp[=DIR] use UCD SNMP/NET-SNMP client library (located in directory DIR, if supplied). [default=yes, if present]],
556 if test $withval = no
559 elif test $withval = yes
568 # Set "want_ucdsnmp" to "ifpresent" to make the default "use it
569 # if you find it, otherwise don't".
571 want_ucdsnmp=ifpresent
575 dnl try net-snmp first
576 if test "x$netsnmpconfig" != "xno" ; then
577 dnl get the net-snmp-config binary
578 if test "x$netsnmpconfig" = "xyes" -o "x$netsnmpconfig" = "x" ; then
580 AC_PATH_PROG(NETSNMPCONFIG,net-snmp-config)
582 NETSNMPCONFIG=$netsnmpconfig
583 if test ! -x $NETSNMPCONFIG ; then
584 AC_MSG_ERROR(Invalid net-snmp-config: $NETSNMPCONFIG)
589 AC_MSG_CHECKING(whether to use UCD SNMP/NET-SNMP library if available)
590 if test "x$NETSNMPCONFIG" != "xno" -a "x$NETSNMPCONFIG" != "x" -a -x "$NETSNMPCONFIG" ; then
591 dnl other choices for flags to use here: could also use
592 dnl --prefix or --exec-prefix if you don't want the full list.
594 AC_CHECK_HEADERS(net-snmp/net-snmp-config.h net-snmp/library/default_store.h)
595 if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = "xyes" -a "x$ac_cv_header_net_snmp_library_default_store_h" = "xyes" ; then
596 CFLAGS="$CFLAGS `net-snmp-config --cflags`"
597 CPPFLAGS="$CPPLAGS `net-snmp-config --cflags`"
598 SNMP_LIBS=`net-snmp-config --libs`
599 AC_DEFINE(HAVE_NET_SNMP, 1, [Define to enable support for NET-SNMP])
601 AC_MSG_RESULT(yes (net-snmp))
603 # technically, we should retry ucd-snmp but it's
604 # unlikely they have installed net-snmp-config and not
605 # the net-snmp headers but do have the ucd-snmp
606 # headers. This would likely be a broken system to
607 # try and use anyway.
612 if test "x$want_ucdsnmp" = "xno" ; then
615 AC_MSG_RESULT(yes (ucd-snmp))
616 AC_ETHEREAL_UCDSNMP_CHECK
620 if test "x$have_net_snmp" = "xyes" || test "x$have_ucd_snmp" = "xyes"; then
621 AC_DEFINE(HAVE_SOME_SNMP, 1, [Define to if some SNMP support is to be used])
628 AC_MSG_CHECKING(whether to use the GNU ADNS library if available)
629 if test "x$enable_adns" = "xno" ; then
633 AC_ETHEREAL_ADNS_CHECK
637 dnl Checks for typedefs, structures, and compiler characteristics.
640 # We need to know whether "struct sockaddr" has an "sa_len" member
641 # for get_interface_list().
643 AC_ETHEREAL_STRUCT_SA_LEN
645 # We must know our byte order
648 # Checks whether "-traditional" is needed when using "ioctl".
649 # XXX - do we need this?
650 AC_PROG_GCC_TRADITIONAL
652 # If there's a system out there that has snprintf and _doesn't_ have vsnprintf,
653 # then this won't work.
656 AC_CHECK_FUNC(snprintf, SNPRINTF_O="",
657 [SNPRINTF_O="snprintf.o"
658 AC_DEFINE(NEED_SNPRINTF_H, 1, [Define if sprintf.h needs to be included])
660 if test "$ac_cv_func_snprintf" = no ; then
661 SNPRINTF_C="snprintf.c"
662 SNPRINTF_O="snprintf.o"
667 AC_CHECK_FUNC(strerror, STRERROR_O="",
668 [STRERROR_O="strerror.o"
669 AC_DEFINE(NEED_STRERROR_H, 1, [Define if strerror.h needs to be included])
671 if test "$ac_cv_func_strerror" = no ; then
672 STRERROR_C="strerror.c"
673 STRERROR_O="strerror.o"
678 AC_CHECK_FUNC(strcasecmp, STRCASECMP_O="",
679 STRCASECMP_O="strcasecmp.o")
680 if test "$ac_cv_func_strcasecmp" = no ; then
681 STRCASECMP_C="strcasecmp.c"
682 STRCASECMP_O="strcasecmp.o"
684 AC_SUBST(STRCASECMP_C)
685 AC_SUBST(STRCASECMP_O)
687 AC_CHECK_FUNC(strncasecmp, STRNCASECMP_O="",
688 STRNCASECMP_O="strncasecmp.o")
689 if test "$ac_cv_func_strncasecmp" = no ; then
690 STRNCASECMP_C="strncasecmp.c"
691 STRNCASECMP_O="strncasecmp.o"
693 AC_SUBST(STRNCASECMP_C)
694 AC_SUBST(STRNCASECMP_O)
696 AC_CHECK_FUNC(mkstemp, MKSTEMP_O="",
697 MKSTEMP_O="mkstemp.o")
698 if test "$ac_cv_func_mkstemp" = no ; then
699 MKSTEMP_C="mkstemp.c"
700 MKSTEMP_O="mkstemp.o"
705 AC_CHECK_FUNC(strptime, STRPTIME_O="",
706 [STRPTIME_O="strptime.o"
707 AC_DEFINE(NEED_STRPTIME_H, 1, [Define if strptime.h needs to be included])
709 if test "$ac_cv_func_strptime" = no ; then
710 STRPTIME_C="strptime.c"
711 STRPTIME_O="strptime.o"
716 AC_CHECK_FUNCS(getprotobynumber gethostbyname2)
718 dnl blank for now, but will be used in future
719 AC_SUBST(ethereal_SUBDIRS)
722 dnl check whether plugins should be enabled and, if they should be,
723 dnl check for plugins directory - stolen from Amanda's configure.in
725 plugindir="$libdir/ethereal/plugins/$VERSION"
727 [ --with-plugins[=DIR] support plugins (installed in DIR, if supplied).],
731 if test x$have_plugins = xno
733 AC_MSG_ERROR([GLib on this platform doesn't support loadable modules, so you can't enable plugins.])
740 if test x$have_plugins = xno
742 AC_MSG_ERROR([GLib on this platform doesn't support loadable modules, so you can't enable plugins.])
750 AM_CONDITIONAL(HAVE_PLUGINS, test x$have_plugins = xyes)
751 if test x$have_plugins = xyes
753 AC_DEFINE(HAVE_PLUGINS, 1, [Define if plugins are enabled])
755 test "x$prefix" = xNONE && prefix=$ac_default_prefix
756 test "x$exec_prefix" = xNONE && exec_prefix=${prefix}
757 eval echo "$plugindir"
759 AC_DEFINE_UNQUOTED(PLUGIN_DIR, "$plugindir", [Plugin installation directory])
761 AC_DEFINE(PLUGIN_DIR, NULL, [Plugin installation directory])
767 AC_SUBST(LIBTOOL_DEPS)
769 AM_CONDITIONAL(ENABLE_STATIC, test x$enable_shared = xno)
770 AM_CONFIG_HEADER(config.h)
771 AC_CONFIG_SUBDIRS(epan wiretap)
777 packaging/nsis/Makefile
778 packaging/rpm/Makefile
779 packaging/rpm/SPECS/Makefile
780 packaging/rpm/SPECS/ethereal.spec
781 packaging/svr4/Makefile
782 packaging/svr4/checkinstall
783 packaging/svr4/pkginfo
785 plugins/artnet/Makefile
786 plugins/docsis/Makefile
787 plugins/giop/Makefile
788 plugins/gryphon/Makefile
789 plugins/megaco/Makefile
790 plugins/mgcp/Makefile
791 plugins/pcli/Makefile
792 plugins/rtnet/Makefile
800 if test "x$enable_setuid_install" = "xyes" ; then
801 setuid_message="yes (DANGEROUS!!!)"
806 if test "x$want_zlib" = "xno" ; then
812 if test "x$want_adns" = "xno" ; then
818 if test "x$NETSNMPCONFIG" != "xno" -a "x$NETSNMPCONFIG" != "x" -a -x "$NETSNMPCONFIG" ; then
819 snmp_libs_message="yes (net-snmp)"
820 elif test "x$SNMP_LIBS" = "x" ; then
821 snmp_libs_message="no"
823 snmp_libs_message="yes (ucd-snmp)"
827 echo "The Ethereal package has been configured with the following options."
828 echo " Build ethereal : $enable_ethereal"
829 echo " Build tethereal : $enable_tethereal"
830 echo " Build editcap : $enable_editcap"
831 echo " Build mergecap : $enable_mergecap"
832 echo " Build text2pcap : $enable_text2pcap"
833 echo " Build idl2eth : $enable_idl2eth"
834 echo " Build randpkt : $enable_randpkt"
835 echo " Build dftest : $enable_dftest"
837 echo " Install setuid : $setuid_message"
838 echo " Use plugins : $have_plugins"
839 echo " Use GTK+ v2 library : $enable_gtk2"
840 if test "x$enable_gtk2" = "xyes" ; then
841 echo " Use threads : $enable_threads"
843 echo " Use pcap library : $want_pcap"
844 echo " Use zlib library : $zlib_message"
845 echo " Use GNU ADNS library : $adns_message"
846 echo " Use IPv6 name resolution : $enable_ipv6"
847 echo " Use UCD SNMP/NET-SNMP library : $snmp_libs_message"