Lines 96-104
if test -z "$db_inc"; then
Link Here
|
96 |
fi |
96 |
fi |
97 |
|
97 |
|
98 |
dnl figure out which version of db we're using from the header file |
98 |
dnl figure out which version of db we're using from the header file |
99 |
db_ver_maj=`grep DB_VERSION_MAJOR $db_incdir/db.h | awk '{print $3}'` |
99 |
db_ver_maj=`gcc -E -fdirectives-only $db_incdir/db.h | grep DB_VERSION_MAJOR | awk '{print $3}'` |
100 |
db_ver_min=`grep DB_VERSION_MINOR $db_incdir/db.h | awk '{print $3}'` |
100 |
db_ver_min=`gcc -E -fdirectives-only $db_incdir/db.h | grep DB_VERSION_MINOR | awk '{print $3}'` |
101 |
db_ver_pat=`grep DB_VERSION_PATCH $db_incdir/db.h | awk '{print $3}'` |
101 |
db_ver_pat=`gcc -E -fdirectives-only $db_incdir/db.h | grep DB_VERSION_PATCH | awk '{print $3}'` |
102 |
|
102 |
|
103 |
dnl Ensure that we have libdb at least 4.7, older versions aren't supported |
103 |
dnl Ensure that we have libdb at least 4.7, older versions aren't supported |
104 |
if test ${db_ver_maj} -lt 4; then |
104 |
if test ${db_ver_maj} -lt 4; then |