blob: f6ea97f7497ad28f2dc97f35aab8bee7734a0979 (
plain)
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
29
30
31
32
|
diff -Nur inn-2.4.1.orig/configure.in inn-2.4.1/configure.in
--- inn-2.4.1.orig/configure.in 2004-09-07 14:53:23.800246638 +0200
+++ inn-2.4.1/configure.in 2004-09-07 14:55:04.045893609 +0200
@@ -375,20 +375,20 @@
done
fi
if test x"$BERKELEY_DB_DIR" = xyes ; then
- for v in db41 db4 db3 db2 ; do
+ for v in 4.2 4.1 4 3 2 ; do
- if test -d "/usr/local/include/$v" ; then
+ if test -d "/usr/local/include/db$v" ; then
BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
- BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
- BERKELEY_DB_LIB="-l$v"
+ BERKELEY_DB_CFLAGS="-I/usr/local/include/db$v"
+ BERKELEY_DB_LIB="-ldb-$v"
AC_MSG_RESULT(FreeBSD locations)
break
fi
done
if test x"$BERKELEY_DB_LIB" = x ; then
- for v in db41 db4 db3 db2 ; do
+ for v in 4.2 4.1 4 3 2 ; do
- if test -d "/usr/include/$v" ; then
+ if test -d "/usr/include/db$v" ; then
- BERKELEY_DB_CFLAGS="-I/usr/include/$v"
- BERKELEY_DB_LIB="-l$v"
+ BERKELEY_DB_CFLAGS="-I/usr/include/db$v"
+ BERKELEY_DB_LIB="-ldb-$v"
AC_MSG_RESULT(Linux locations)
break
fi
|