Alas, we have to set HAVE_PLUGINS in the top-level configure script as

well as in the libethereal configure script.

svn path=/trunk/; revision=2503
This commit is contained in:
Guy Harris 2000-10-17 09:21:51 +00:00
parent 1a793d05ee
commit 9760c91217
2 changed files with 13 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* acconfig.h
* #ifdefs to be controlled by "configure"
*
* $Id: acconfig.h,v 1.17 2000/10/16 23:18:03 guy Exp $
* $Id: acconfig.h,v 1.18 2000/10/17 09:21:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -27,6 +27,8 @@
#undef VERSION
#undef HAVE_PLUGINS
#undef HAVE_SA_LEN
#undef DATAFILE_DIR

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.105 2000/10/16 23:50:02 guy Exp $
# $Id: configure.in,v 1.106 2000/10/17 09:21:51 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
@ -247,6 +247,15 @@ AC_CHECK_HEADERS(stddef.h)
AC_CHECK_HEADERS(dlfcn.h)
AC_CHECK_HEADERS(arpa/inet.h)
#
# XXX - we should also somehow arrange to support dynamic linking on
# HP-UX, even though it hasn't yet, apparently, implemented the
# UNIX standard "dlopen()" interface atop its own interface.
#
if test "$ac_cv_header_dlfcn_h" = yes ; then
AC_DEFINE(HAVE_PLUGINS)
fi
dnl SNMP Check
AC_ARG_ENABLE(snmp,
[ --enable-snmp use SNMP library, if available. [default=yes]],,enable_snmp=yes)