1 # $Id: configure.in,v 1.225 2003/10/10 10:12:18 guy 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.15)
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 dnl Look in /usr/local for header files and libraries ?
142 dnl XXX FIXME don't include /usr/local if it is already in the system
143 dnl search path as this causes gcc 3.2 on Linux to complain about a change
144 dnl of the system search order for includes
145 AC_ARG_ENABLE(usr-local,
146 [ --enable-usr-local look for headers and libs in /usr/local tree. [default=yes]],enable_usr_local=$enableval,enable_usr_local=yes)
148 AC_MSG_CHECKING(whether to use /usr/local for headers and libraries)
149 if test "x$enable_usr_local" = "xyes" ; then
152 # Arrange that we search for header files in the source directory
153 # and in its "wiretap" subdirectory, as well as in "/usr/local/include",
154 # as various packages we use ("libpcap", "zlib", an SNMP library)
155 # may have been installed under "/usr/local/include".
157 CFLAGS="$CFLAGS -I/usr/local/include"
158 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
161 # Arrange that we search for libraries in "/usr/local/lib".
163 AC_ETHEREAL_ADD_DASH_L(LDFLAGS, /usr/local/lib)
169 # If we're running Solaris, and LD_LIBRARY_PATH is defined, add it as a
174 AC_MSG_CHECKING(for LD_LIBRARY_PATH, since you appear to be running Solaris)
175 if test x$LD_LIBRARY_PATH != x ; then
176 LIBS="$LIBS -R$LD_LIBRARY_PATH"
177 AC_MSG_RESULT(yes -- added LD_LIBRARY_PATH to run-time linker path)
179 AC_MSG_RESULT(no -- this may be a problem in a few seconds)
185 # Check for versions of "sed" inadequate to handle, in libtool, a list
186 # of object files as large as the list in Ethereal.
188 # On Solaris, we check for "/bin/sed", "/usr/bin/sed", and "/usr/ucb/sed",
189 # as both "/usr/bin/sed" (which is also "/bin/sed", as "/bin" is just a
190 # symlink to "/usr/bin", but people may have "/bin" before "/usr/bin" in
191 # their search path) and "/usr/ucb/sed" are inadequate; "/usr/xpg4/bin/sed"
192 # is the only "sed" that comes with Solaris that can handle Ethereal.
194 # Add any checks here that are necessary for other OSes.
196 AC_ETHEREAL_GNU_SED_CHECK
197 if test "$HAVE_GNU_SED" = no ; then
200 AC_MSG_CHECKING(whether one of /usr/bin/sed or /bin/sed or /usr/ucb/sed will be used)
202 /bin/sed|/usr/bin/sed|/usr/ucb/sed)
204 AC_MSG_ERROR([change your path to search /usr/xpg4/bin or directory containing GNU sed before /usr/bin (and /bin and /usr/ucb)])
219 # Enable/disable tethereal
221 AC_ARG_ENABLE(ethereal,
222 [ --enable-ethereal build GTK+-based ethereal. [default=yes]],enable_ethereal=$enableval,enable_ethereal=yes)
225 [ --enable-gtk2 build Glib2/Gtk2+-based (t)ethereal. [default=no]],enable_gtk2=$enableval,enable_gtk2=no)
226 AM_CONDITIONAL(USE_GTK2, test x$enable_gtk2 = xyes)
228 AC_ARG_ENABLE(threads,
229 [ --enable-threads use threads in ethereal. [default=no]],enable_threads=$enableval,enable_threads=no)
230 AM_CONDITIONAL(USE_THREADS, test x$enable_threads = xyes)
233 # We don't add $GLIB_LIBS to LIBS, because we don't want to force all
234 # programs to be built with GTK+.
236 if test "x$enable_gtk2" = "xyes" -a "x$enable_ethereal" = "xyes" ; then
238 AM_PATH_GTK_2_0(2.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no, gthread)
239 elif test "x$enable_gtk2" != "xyes" -a "x$enable_ethereal" = "xyes" ; then
241 AM_PATH_GTK(1.2.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no )
247 # This doesn't add GLIB_CFLAGS to CFLAGS, because AM_PATH_GTK will add
248 # GTK_CFLAGS to CFLAGS, and GTK_CFLAGS is a superset of CFLAGS.
249 # However, this means that both @GLIB_LIBS@ and @GTK_LIBS@ will be
250 # set when generating the Makefile, so we can make programs that require
251 # only GLib link with @GLIB_LIBS@ and make programs that require GTK+
252 # link with @GTK_LIBS@ (which includes @GLIB_LIBS@).
253 # We don't add $GLIB_LIBS to LIBS, because we don't want to force all
254 # programs to be built with GLib.
256 if test "$GTK_OK" = "no" ; then
261 if test "x$enable_gtk2" = "xyes" ; then
262 AM_PATH_GLIB_2_0(2.0.0, CFLAGS="$CFLAGS $GLIB_CFLAGS", AC_MSG_ERROR(GLib distribution not found.), gmodule)
264 AM_PATH_GLIB(1.2.0, CFLAGS="$CFLAGS $GLIB_CFLAGS", AC_MSG_ERROR(GLib distribution not found.), gmodule)
267 ethereal_bin="ethereal"
268 ethereal_man="ethereal.1"
269 ethereal_SUBDIRS="gtk"
271 if test "$GTK_OK" = "two" ; then
272 AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR(GLib distribution not found.), gmodule)
274 AM_PATH_GLIB(1.2.0, , AC_MSG_ERROR(GLib distribution not found.), gmodule)
279 # Check whether GLib modules are supported, to determine whether we
280 # can support plugins.
282 AC_MSG_CHECKING(whether GLib supports loadable modules)
283 ac_save_CFLAGS="$CFLAGS"
285 CFLAGS="$CFLAGS $GLIB_CFLAGS"
286 LIBS="$GLIB_LIBS $LIBS"
296 if (g_module_supported())
297 return 0; /* success */
299 return 1; /* failure */
301 ], ac_cv_glib_supports_modules=yes, ac_cv_glib_supports_modules=no,
302 [echo $ac_n "cross compiling; assumed OK... $ac_c"])
303 CFLAGS="$ac_save_CFLAGS"
305 if test "$ac_cv_glib_supports_modules" = yes ; then
314 AC_SUBST(ethereal_bin)
315 AC_SUBST(ethereal_man)
319 # Enable/disable tethereal
321 AC_ARG_ENABLE(tethereal,
322 [ --enable-tethereal build tethereal. [default=yes]],tethereal=$enableval,enable_tethereal=yes)
324 if test "x$enable_tethereal" = "xyes" ; then
325 tethereal_bin="tethereal"
326 tethereal_man="tethereal.1"
327 etherealfilter_man="ethereal-filter.4"
332 AC_SUBST(tethereal_bin)
333 AC_SUBST(tethereal_man)
334 AC_SUBST(etherealfilter_man)
338 # Enable/disable editcap
340 AC_ARG_ENABLE(editcap,
341 [ --enable-editcap build editcap. [default=yes]],enable_editcap=$enableval,enable_editcap=yes)
343 if test "x$enable_editcap" = "xyes" ; then
344 editcap_bin="editcap"
345 editcap_man="editcap.1"
350 AC_SUBST(editcap_bin)
351 AC_SUBST(editcap_man)
354 # Enable/disable mergecap
356 AC_ARG_ENABLE(mergecap,
357 [ --enable-mergecap build mergecap. [default=yes]],enable_mergecap=$enableval,enable_mergecap=yes)
359 if test "x$enable_mergecap" = "xyes" ; then
360 mergecap_bin="mergecap"
361 mergecap_man="mergecap.1"
366 AC_SUBST(mergecap_bin)
367 AC_SUBST(mergecap_man)
370 # Enable/disable text2pcap
372 AC_ARG_ENABLE(text2pcap,
373 [ --enable-text2pcap build text2pcap. [default=yes]],text2pcap=$enableval,enable_text2pcap=yes)
375 if test "x$enable_text2pcap" = "xyes" ; then
376 text2pcap_bin="text2pcap"
377 text2pcap_man="text2pcap.1"
382 AC_SUBST(text2pcap_bin)
383 AC_SUBST(text2pcap_man)
385 # Enable/disable idl2eth
387 AC_ARG_ENABLE(idl2eth,
388 [ --enable-idl2eth build idl2eth. [default=yes]],enable_idl2eth=$enableval,enable_idl2eth=yes)
390 if test "x$enable_idl2eth" = "xyes" ; then
391 idl2eth_bin="idl2eth"
392 idl2eth_man="idl2eth.1"
397 AC_SUBST(idl2eth_bin)
398 AC_SUBST(idl2eth_man)
401 # Enable/disable dftest
403 AC_ARG_ENABLE(dftest,
404 [ --enable-dftest build dftest. [default=no]],enable_dftest=$enableval,enable_dftest=no)
406 if test "x$enable_dftest" = "xyes" ; then
414 # Enable/disable randpkt
416 AC_ARG_ENABLE(randpkt,
417 [ --enable-randpkt build randpkt. [default=no]],enable_randpkt=$enableval,enable_randpkt=no)
419 if test "x$enable_randpkt" = "xyes" ; then
420 randpkt_bin="randpkt"
424 AC_SUBST(randpkt_bin)
427 dnl Checks for "gethostbyname()" - and "-lnsl", if we need it to get
428 dnl "gethostbyname()".
429 AC_ETHEREAL_GETHOSTBY_LIB_CHECK
431 dnl Checks for "connect()", used as a proxy for "socket()" - and
432 dnl "-lsocket", if we need it to get "connect()".
433 AC_ETHEREAL_SOCKET_LIB_CHECK
436 AC_MSG_CHECKING(whether to use libpcap for packet capture)
439 changequote(<<, >>)dnl
440 << --with-pcap[=DIR] use libpcap for packet capturing. [default=yes]>>,
443 if test $withval = no
446 elif test $withval = yes
457 if test "x$want_pcap" = "xno" ; then
461 AC_ETHEREAL_PCAP_CHECK
465 AC_MSG_CHECKING(whether to use zlib for reading compressed capture files)
468 changequote(<<, >>)dnl
469 << --with-zlib[=DIR] use zlib (located in directory DIR, if supplied) to read compressed data. [default=yes, if present]>>,
472 if test $withval = no
475 elif test $withval = yes
484 # Use zlib if it's present, otherwise don't.
489 if test "x$want_zlib" = "xno" ; then
493 AC_ETHEREAL_ZLIB_CHECK
494 if test "x$want_zlib" = "xno" ; then
495 AC_MSG_RESULT(zlib not found - disabling compressed capture file support)
502 [ --enable-ipv6 use ipv6 name resolution, if available. [default=yes]],enable_ipv6=$enableval,enable_ipv6=yes)
504 AC_MSG_CHECKING(whether to enable ipv6 name resolution if available)
505 if test "x$enable_ipv6" = "xno" ; then
509 AC_ETHEREAL_IPV6_STACK
513 dnl Check if ethereal should be installed setuid
514 AC_ARG_ENABLE(setuid-install,
515 [ --enable-setuid-install install ethereal as setuid. DANGEROUS!!! [default=no]],enable_setuid_install=$enableval,enable_setuid_install=no)
517 AC_MSG_CHECKING(whether to install ethereal setuid)
518 if test "x$enable_setuid_install" = "xno" ; then
524 AM_CONDITIONAL(SETUID_INSTALL, test x$enable_setuid_install = xyes)
526 dnl Checks for header files.
528 AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h stdarg.h netdb.h)
529 AC_CHECK_HEADERS(sys/stat.h sys/sockio.h sys/types.h sys/socket.h)
530 AC_CHECK_HEADERS(sys/utsname.h sys/wait.h)
531 AC_CHECK_HEADERS(netinet/in.h)
532 AC_CHECK_HEADERS(stddef.h)
533 AC_CHECK_HEADERS(arpa/inet.h)
534 AC_CHECK_HEADERS(iconv.h)
538 AC_MSG_CHECKING(whether to use SSL library if available)
539 if test "x$enable_ssl" = "xno" ; then
543 AC_ETHEREAL_SSL_CHECK
547 dnl UCD SNMP/NET-SNMP Check
550 AC_ARG_WITH(net-snmp,
551 changequote(<<, >>)dnl
552 << --with-net-snmp=PATH use NET-SNMP library, with PATH as the location of the net-snmp-config shell script that comes with the net-snmp package.>>,
554 [netsnmpconfig=$withval]
557 AC_ARG_WITH(ucd-snmp,
558 changequote(<<, >>)dnl
559 << --with-ucd-snmp[=DIR] use UCD SNMP client library (located in directory DIR, if supplied). [default=yes, if present]>>,
562 if test $withval = no
565 elif test $withval = yes
574 # Set "want_ucdsnmp" to "ifpresent" to make the default "use it
575 # if you find it, otherwise don't".
577 want_ucdsnmp=ifpresent
581 dnl try net-snmp first
582 AC_MSG_CHECKING(whether to use NET-SNMP library if available)
583 if test "x$netsnmpconfig" != "xno" ; then
585 dnl get the net-snmp-config binary
586 if test "x$netsnmpconfig" = "xyes" -o "x$netsnmpconfig" = "x" ; then
588 AC_PATH_PROG(NETSNMPCONFIG,net-snmp-config)
590 NETSNMPCONFIG=$netsnmpconfig
591 if test ! -x $NETSNMPCONFIG ; then
592 AC_MSG_ERROR(Invalid net-snmp-config: $NETSNMPCONFIG)
599 if test "x$NETSNMPCONFIG" != "xno" -a "x$NETSNMPCONFIG" != "x" -a -x "$NETSNMPCONFIG" ; then
600 dnl other choices for flags to use here: could also use
601 dnl --prefix or --exec-prefix if you don't want the full list.
603 AC_CHECK_HEADERS(net-snmp/net-snmp-config.h net-snmp/library/default_store.h)
604 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
605 CFLAGS="$CFLAGS `net-snmp-config --cflags`"
606 CPPFLAGS="$CPPLAGS `net-snmp-config --cflags`"
607 SNMP_LIBS=`net-snmp-config --libs`
608 AC_DEFINE(HAVE_NET_SNMP, 1, [Define to enable support for NET-SNMP])
611 # technically, we should retry ucd-snmp but it's
612 # unlikely they have installed net-snmp-config and not
613 # the net-snmp headers but do have the ucd-snmp
614 # headers. This would likely be a broken system to
615 # try and use anyway.
619 AC_MSG_CHECKING(whether to use UCD SNMP library if available)
620 if test "x$want_ucdsnmp" = "xno" ; then
624 AC_ETHEREAL_UCDSNMP_CHECK
628 if test "x$have_net_snmp" = "xyes" || test "x$have_ucd_snmp" = "xyes"; then
629 AC_DEFINE(HAVE_SOME_SNMP, 1, [Define to if some SNMP support is to be used])
636 AC_MSG_CHECKING(whether to use the GNU ADNS library if available)
637 if test "x$with_adns" = "xno" ; then
641 AC_ETHEREAL_ADNS_CHECK
645 dnl Checks for typedefs, structures, and compiler characteristics.
648 # We need to know whether "struct sockaddr" has an "sa_len" member
649 # for get_interface_list().
651 AC_ETHEREAL_STRUCT_SA_LEN
653 # We must know our byte order
656 # Checks whether "-traditional" is needed when using "ioctl".
657 # XXX - do we need this?
658 AC_PROG_GCC_TRADITIONAL
660 # If there's a system out there that has snprintf and _doesn't_ have vsnprintf,
661 # then this won't work.
664 AC_CHECK_FUNC(snprintf, SNPRINTF_O="",
665 [SNPRINTF_O="snprintf.o"
666 AC_DEFINE(NEED_SNPRINTF_H, 1, [Define if sprintf.h needs to be included])
668 if test "$ac_cv_func_snprintf" = no ; then
669 SNPRINTF_C="snprintf.c"
670 SNPRINTF_O="snprintf.o"
675 AC_CHECK_FUNC(strerror, STRERROR_O="",
676 [STRERROR_O="strerror.o"
677 AC_DEFINE(NEED_STRERROR_H, 1, [Define if strerror.h needs to be included])
679 if test "$ac_cv_func_strerror" = no ; then
680 STRERROR_C="strerror.c"
681 STRERROR_O="strerror.o"
686 AC_CHECK_FUNC(strcasecmp, STRCASECMP_O="",
687 STRCASECMP_O="strcasecmp.o")
688 if test "$ac_cv_func_strcasecmp" = no ; then
689 STRCASECMP_C="strcasecmp.c"
690 STRCASECMP_O="strcasecmp.o"
692 AC_SUBST(STRCASECMP_C)
693 AC_SUBST(STRCASECMP_O)
695 AC_CHECK_FUNC(strncasecmp, STRNCASECMP_O="",
696 STRNCASECMP_O="strncasecmp.o")
697 if test "$ac_cv_func_strncasecmp" = no ; then
698 STRNCASECMP_C="strncasecmp.c"
699 STRNCASECMP_O="strncasecmp.o"
701 AC_SUBST(STRNCASECMP_C)
702 AC_SUBST(STRNCASECMP_O)
704 AC_CHECK_FUNC(mkstemp, MKSTEMP_O="",
705 MKSTEMP_O="mkstemp.o")
706 if test "$ac_cv_func_mkstemp" = no ; then
707 MKSTEMP_C="mkstemp.c"
708 MKSTEMP_O="mkstemp.o"
713 AC_CHECK_FUNC(strptime, STRPTIME_O="",
714 [STRPTIME_O="strptime.o"
715 AC_DEFINE(NEED_STRPTIME_H, 1, [Define if strptime.h needs to be included])
717 if test "$ac_cv_func_strptime" = no ; then
718 STRPTIME_C="strptime.c"
719 STRPTIME_O="strptime.o"
724 AC_CHECK_FUNCS(getprotobynumber gethostbyname2)
726 dnl blank for now, but will be used in future
727 AC_SUBST(ethereal_SUBDIRS)
730 dnl check whether plugins should be enabled and, if they should be,
731 dnl check for plugins directory - stolen from Amanda's configure.in
733 plugindir="$libdir/ethereal/plugins/$VERSION"
735 changequote(<<, >>)dnl
736 << --with-plugins[=DIR] support plugins (installed in DIR, if supplied).>>,
741 if test x$have_plugins = xno
743 AC_MSG_ERROR([GLib on this platform doesn't support loadable modules, so you can't enable plugins.])
750 if test x$have_plugins = xno
752 AC_MSG_ERROR([GLib on this platform doesn't support loadable modules, so you can't enable plugins.])
759 AM_CONDITIONAL(HAVE_PLUGINS, test x$have_plugins = xyes)
760 if test x$have_plugins = xyes
762 AC_DEFINE(HAVE_PLUGINS, 1, [Define if plugins are enabled])
764 test "x$prefix" = xNONE && prefix=$ac_default_prefix
765 test "x$exec_prefix" = xNONE && exec_prefix=${prefix}
766 eval echo "$plugindir"
768 AC_DEFINE_UNQUOTED(PLUGIN_DIR, "$plugindir", [Plugin installation directory])
770 AC_DEFINE(PLUGIN_DIR, NULL, [Plugin installation directory])
776 # Yes, AM_PROG_LIBTOOL is redundant with newer version(s) of some tool(s)
777 # (autoconf? automake? libtool?) - with the newer version(s), it's
778 # just an alias for AC_PROG_LIBTOOL, which is called earlier.
780 # With older version(s) of those tool(s), however, it's not just an
781 # alias, and the configure scripts don't work without it.
784 AC_SUBST(LIBTOOL_DEPS)
786 AM_CONDITIONAL(ENABLE_STATIC, test x$enable_static = xyes)
787 if test x$enable_static = xyes -a x$have_plugins = xyes
789 AC_DEFINE(ENABLE_STATIC, 1, [Link plugins statically into Ethereal])
791 AC_SUBST(ENABLE_STATIC)
793 AM_CONFIG_HEADER(config.h)
794 AC_CONFIG_SUBDIRS(epan wiretap)
800 packaging/nsis/Makefile
801 packaging/rpm/Makefile
802 packaging/rpm/SPECS/Makefile
803 packaging/rpm/SPECS/ethereal.spec
804 packaging/svr4/Makefile
805 packaging/svr4/checkinstall
806 packaging/svr4/pkginfo
808 plugins/artnet/Makefile
809 plugins/docsis/Makefile
810 plugins/giop/Makefile
811 plugins/gryphon/Makefile
812 plugins/lwres/Makefile
813 plugins/megaco/Makefile
814 plugins/mgcp/Makefile
815 plugins/pcli/Makefile
816 plugins/rtnet/Makefile
824 if test "x$enable_setuid_install" = "xyes" ; then
825 setuid_message="yes (DANGEROUS!!!)"
830 if test "x$want_zlib" = "xno" ; then
836 if test "x$have_good_adns" = "xyes" ; then
842 if test "x$NETSNMPCONFIG" != "xno" -a "x$NETSNMPCONFIG" != "x" -a -x "$NETSNMPCONFIG" ; then
843 snmp_libs_message="yes (net-snmp)"
844 elif test "x$SNMP_LIBS" = "x" ; then
845 snmp_libs_message="no"
847 snmp_libs_message="yes (ucd-snmp)"
851 echo "The Ethereal package has been configured with the following options."
852 echo " Build ethereal : $enable_ethereal"
853 echo " Build tethereal : $enable_tethereal"
854 echo " Build editcap : $enable_editcap"
855 echo " Build mergecap : $enable_mergecap"
856 echo " Build text2pcap : $enable_text2pcap"
857 echo " Build idl2eth : $enable_idl2eth"
858 echo " Build randpkt : $enable_randpkt"
859 echo " Build dftest : $enable_dftest"
861 echo " Install setuid : $setuid_message"
862 echo " Use plugins : $have_plugins"
863 echo " Use GTK+ v2 library : $enable_gtk2"
864 if test "x$enable_gtk2" = "xyes" ; then
865 echo " Use threads : $enable_threads"
867 echo " Use pcap library : $want_pcap"
868 echo " Use zlib library : $zlib_message"
869 echo " Use GNU ADNS library : $adns_message"
870 echo " Use IPv6 name resolution : $enable_ipv6"
871 echo " Use UCD SNMP/NET-SNMP library : $snmp_libs_message"