1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
=== modified file 'configure.in'
--- configure.in 2008-12-08 18:15:58 +0000
+++ configure.in 2008-12-08 18:17:44 +0000
@@ -146,8 +146,21 @@
AC_CHECK_LIB(maa,maa_shutdown,MAALIB="-lmaa",
[AC_MSG_ERROR([Libmaa not found])])
-AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy])
-AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi])
+AC_ARG_WITH(dbi,
+[ --with-dbi build libdbi plugin if possible (plugin support should be enabled)],
+[
+if test "x${withval}" != xno; then
+ AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi])
+fi
+])
+
+AC_ARG_WITH(judy,
+[ --with-judy build judy plugin if possible (plugin support should be enabled)],
+[
+if test "x${withval}" != xno; then
+ AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy])
+fi
+])
AC_CHECK_LIB(socket,main)
AC_CHECK_LIB(c,inet_ntoa,
|