From ea20a5275c7dac7ff49eb450264dc826a3a43db2 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 15 Sep 2003 11:09:21 +0000 Subject: [PATCH] * Disabled the monitor plugin because it relies on specific gcc features. git-svn-id: svn://svn.zoy.org/elk/trunk@156 55e467fa-43c5-0310-a8a2-de718669efc6 --- configure.ac | 2 ++ lib/misc/Makefile.am | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 372658b..bb857f8 100644 --- a/configure.ac +++ b/configure.ac @@ -433,6 +433,8 @@ dnl CFLAGS="${CFLAGS_save}" LDFLAGS="${LDFLAGS_save}" +AM_CONDITIONAL(HAVE_MONITOR, false) + AC_CHECK_LIB(gdbm, gdbm_open, ac_cv_my_have_gdbm=yes, ac_cv_my_have_gdbm=no) AM_CONDITIONAL(HAVE_GDBM, test "${ac_cv_my_have_gdbm}" = "yes") diff --git a/lib/misc/Makefile.am b/lib/misc/Makefile.am index 69a6f4e..7265bce 100644 --- a/lib/misc/Makefile.am +++ b/lib/misc/Makefile.am @@ -7,7 +7,7 @@ pkglib_LTLIBRARIES = \ regexp.la \ debug.la \ $(gdbm_la) \ - monitor.la \ + $(monitor_la) \ record.la \ struct.la \ $(newhandler_la) \ @@ -40,6 +40,9 @@ gdbm_la_SOURCES = gdbm.c gdbm_la_LDFLAGS = -module -avoid-version gdbm_la_LIBADD = $(top_builddir)/src/libelk.la -lgdbm +if HAVE_MONITOR +monitor_la = monitor.la +endif monitor_la_SOURCES = monitor.c monitor_la_LDFLAGS = -module -avoid-version monitor_la_LIBADD = $(top_builddir)/src/libelk.la