done
CFLAGS=`echo "$SITE_INCLUDES_CFLAGS $CFLAGS"|sed 's/^ *//'`
,
-if test -f /sw/include/db3/db.h; then
- CFLAGS="-I/sw/include/db3 $CFLAGS"
+if test -f /sw/include/db5/db.h; then
+ CFLAGS="-I/sw/include/db5 $CFLAGS"
elif test -f /sw/include/db4/db.h; then
CFLAGS="-I/sw/include/db4 $CFLAGS"
+elif test -f /sw/include/db3/db.h; then
+ CFLAGS="-I/sw/include/db3 $CFLAGS"
fi
)
LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^ *//'`
LIBS="-ldb $LIBS"
,
-if test -f /sw/include/db3/db.h; then
- LIBS="-L/sw/lib -ldb-3 $LIBS"
+if test -f /sw/include/db5/db.h; then
+ LIBS="-L/sw/lib -ldb-5 $LIBS"
elif test -f /sw/include/db4/db.h; then
LIBS="-L/sw/lib -ldb-4 $LIBS"
+elif test -f /sw/include/db3/db.h; then
+ LIBS="-L/sw/lib -ldb-3 $LIBS"
else
LIBS="-ldb $LIBS"
fi