From 9760c91217a3e84fa5c40a6fb64871a578f7d0e0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 17 Oct 2000 09:21:51 +0000 Subject: [PATCH] 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 --- acconfig.h | 4 +++- configure.in | 11 ++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/acconfig.h b/acconfig.h index cf05fef1ec..1567a8ef16 100644 --- a/acconfig.h +++ b/acconfig.h @@ -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 @@ -27,6 +27,8 @@ #undef VERSION +#undef HAVE_PLUGINS + #undef HAVE_SA_LEN #undef DATAFILE_DIR diff --git a/configure.in b/configure.in index 6d363a8f22..4cf36b3c0f 100644 --- a/configure.in +++ b/configure.in @@ -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)