30522a429c
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small. from Nicholas Marriott (MAINTAINER)
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.1.1.1 2007/07/28 21:37:26 jasper Exp $
|
|
--- configure.in.orig Thu Jun 28 11:58:50 2007
|
|
+++ configure.in Thu Jun 28 11:59:20 2007
|
|
@@ -15,18 +15,18 @@ AC_PROG_INSTALL
|
|
AC_PROG_RANLIB
|
|
|
|
dnl Checks for libraries.
|
|
-AC_CHECK_LIB(gdbm, gdbm_open,
|
|
- [have_gdbm=true],[have_gdbm=false])
|
|
-if test "x$have_gdbm" = "xfalse";then
|
|
- AC_MSG_WARN(WARNING: tdbtest is disabled. It needs gdbm.)
|
|
-fi
|
|
-AC_CHECK_LIB(dl, dlopen,[have_dllib=true],[have_dllib=false])
|
|
-if test "x$have_dllib" = "xfalse";then
|
|
- AC_MSG_WARN(WARNING: tdbtorture is disabled. It needs libdl.)
|
|
-fi
|
|
+dnl AC_CHECK_LIB(gdbm, gdbm_open,
|
|
+dnl [have_gdbm=true],[have_gdbm=false])
|
|
+dnl if test "x$have_gdbm" = "xfalse";then
|
|
+dnl AC_MSG_WARN(WARNING: tdbtest is disabled. It needs gdbm.)
|
|
+dnl fi
|
|
+dnl AC_CHECK_LIB(dl, dlopen,[have_dllib=true],[have_dllib=false])
|
|
+dnl if test "x$have_dllib" = "xfalse";then
|
|
+dnl AC_MSG_WARN(WARNING: tdbtorture is disabled. It needs libdl.)
|
|
+dnl fi
|
|
|
|
-AM_CONDITIONAL(BUILD_TDBTEST,$have_gdbm)
|
|
-AM_CONDITIONAL(BUILD_TDBTORTURE,$have_dllib)
|
|
+dnl AM_CONDITIONAL(BUILD_TDBTEST,$have_gdbm)
|
|
+dnl AM_CONDITIONAL(BUILD_TDBTORTURE,$have_dllib)
|
|
|
|
AC_ARG_WITH(spinlocks, [ --with-spinlocks use spin locks instead of fcntl locks ])
|
|
if test "x$with_spinlocks" = "xyes"; then
|