summaryrefslogtreecommitdiff
blob: e6ffde39fd5966f6b153ca2f7ea94add145d9eed (plain)
1
2
3
4
5
6
7
8
9
10
11
--- configure.in        2000-10-06 09:51:49.000000000 +0200
+++ configure.in        2005-04-02 13:06:24.623616376 +0200
@@ -71,7 +71,7 @@
   if test "$HAVE_DB" = ""; then
     AC_CHECK_FUNCS(dbopen)
     if test $ac_cv_func_dbopen = no; then
-      AC_SEARCH_LIBS(dbopen, db db1, OPTS="-DUSE_DNS ${OPTS}"; HAVE_DB="yes")
+      OPTS="-DUSE_DNS ${OPTS}"; HAVE_DB="yes"; LIBS="-ldb ${LIBS}"
       if test "$HAVE_DB" = ""; then
         AC_MSG_WARN(You must have a V1.85 compatable DB library!)
         AC_MSG_WARN(DNS lookup code will be disabled...)