blob: 1577d578ddd4a432d142141f0318d27112838593 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/contrib/dlz/config.dlz.in b/contrib/dlz/config.dlz.in
index ff3783a..bd7a700 100644
--- a/contrib/dlz/config.dlz.in
+++ b/contrib/dlz/config.dlz.in
@@ -407,10 +407,13 @@ then
odbcdirs="/usr /usr/local /usr/pkg"
for d in $odbcdirs
do
- if test -f $d/include/sql.h -a -f $d/lib/libodbc.a
+ if test -f $d/include/sql.h
then
- use_dlz_odbc=$d
- break
+ if test -f $d/lib/libodbc.a -o -f $d/lib/libodbc.la -o $d/lib/libodbc.so
+ then
+ use_dlz_odbc=$d
+ break
+ fi
fi
done
fi
|