1 --- bacula-3.0.0/autoconf/bacula-macros/db.m4.orig 2009-04-20 13:02:06.530168885 +0200
2 +++ bacula-3.0.0/autoconf/bacula-macros/db.m4 2009-04-20 13:05:42.299890921 +0200
5 AC_MSG_ERROR(Unable to find dbi.h in standard locations)
7 - if test -d /usr/local/lib/dbd; then
8 + if test -d /usr/local/lib64/dbd; then
9 + DRIVERDIR=/usr/local/lib64/dbd
10 + elif test -d /usr/local/lib/dbd; then
11 DRIVERDIR=/usr/local/lib/dbd
12 - if test -d /usr/local/lib64/dbd; then
13 - DRIVERDIR=/usr/local/lib64/dbd
15 - DRIVERDIR=/usr/local/lib/dbd
17 + elif test -d /usr/lib64/dbd; then
18 + DRIVERDIR=/usr/lib64/dbd
19 elif test -d /usr/lib/dbd; then
20 DRIVERDIR=/usr/lib/dbd
21 - if test -d /usr/lib64/dbd; then
22 - DRIVERDIR=/usr/lib64/dbd
24 - DRIVERDIR=/usr/lib/dbd
26 + elif test -d $prefix/lib64/dbd; then
27 + DRIVERDIR=$prefix/lib64/dbd
28 elif test -d $prefix/lib/dbd; then
29 - if test -d $prefix/lib64/dbd; then
30 - DRIVERDIR=$prefix/lib64/dbd
32 - DRIVERDIR=$prefix/lib/dbd
34 + DRIVERDIR=$prefix/lib/dbd
37 AC_MSG_ERROR(Unable to find DBD drivers in standard locations)