+elif test -f /sw/include/db3/db.h; then
+ CFLAGS="-I/sw/include/db3 $CFLAGS"
+fi
+)
+
+AC_ARG_WITH(site_libraries,
+ --with-site-libraries=PATH List of directories to search first for libraries
+,
+for dir in `echo "$with_site_libraries"|sed 's/:/ /'`
+do
+ SITE_LIBS="$SITE_LIBS -L$dir"
+done
+LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^ *//'`
+LIBS="-ldb $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