Line 0
Link Here
|
|
|
1 |
--- configure.in.orig 2002-09-03 07:48:38.000000000 +1000 |
2 |
+++ configure.in 2002-09-03 07:45:23.000000000 +1000 |
3 |
@@ -18,13 +18,14 @@ |
4 |
AC_CHECK_LIB(gdbm, gdbm_open, |
5 |
[have_gdbm=true],[have_gdbm=false]) |
6 |
if test "x$have_gdbm" = "xfalse";then |
7 |
- AC_MSG_WARN(WARNING: tdbtest is disabled. It needs gdbm.) |
8 |
+ AC_MSG_WARN(WARNING: tdbspeed and tdbtest are disabled. They need gdbm.) |
9 |
fi |
10 |
AC_CHECK_LIB(dl, dlopen,[have_dllib=true],[have_dllib=false]) |
11 |
if test "x$have_dllib" = "xfalse";then |
12 |
AC_MSG_WARN(WARNING: tdbtorture is disabled. It needs libdl.) |
13 |
fi |
14 |
|
15 |
+AM_CONDITIONAL(BUILD_TDBSPEED,$have_gdbm) |
16 |
AM_CONDITIONAL(BUILD_TDBTEST,$have_gdbm) |
17 |
AM_CONDITIONAL(BUILD_TDBTORTURE,$have_dllib) |
18 |
|
19 |
--- Makefile.am.orig 2002-09-03 07:48:50.000000000 +1000 |
20 |
+++ Makefile.am 2002-09-03 07:42:58.000000000 +1000 |
21 |
@@ -1,6 +1,12 @@ |
22 |
CFLAGS = @CFLAGS@ @WARNS@ |
23 |
LDADD=libtdb.la |
24 |
|
25 |
+if BUILD_TDBSPEED |
26 |
+TDBSPEED = tdbspeed |
27 |
+else |
28 |
+TDBSPEED = |
29 |
+endif |
30 |
+ |
31 |
if BUILD_TDBTEST |
32 |
TDBTEST = tdbtest |
33 |
else |
34 |
@@ -13,7 +19,7 @@ |
35 |
TDBTORTURE = |
36 |
endif |
37 |
|
38 |
-noinst_PROGRAMS=tdbspeed tdbiterate $(TDBTEST) $(TDBTORTURE) |
39 |
+noinst_PROGRAMS=tdbiterate $(TDBSPEED) $(TDBTEST) $(TDBTORTURE) |
40 |
bin_PROGRAMS=tdbtool tdbdump |
41 |
|
42 |
lib_LTLIBRARIES=libtdb.la |