]> code.citadel.org Git - citadel.git/commitdiff
configure.in: check for Berkeley DB first.
authorNathan Bryant <loanshark@uncensored.citadel.org>
Sun, 1 Jul 2001 15:44:32 +0000 (15:44 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Sun, 1 Jul 2001 15:44:32 +0000 (15:44 +0000)
citadel/ChangeLog
citadel/configure.in

index 0d3460b3a2e888eb3b2b7dd457fad21eb8ede590..5c6efe25a05532612a8db9c1cc5bae769a041dea 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 573.142  2001/07/01 15:44:32  nbryant
+ configure.in: check for Berkeley DB first.
+
  Revision 573.141  2001/06/27 23:34:30  ajc
  * Added some verbage to messages/roomaccess to placate a user who keeps
    bitching about privacy policy.
@@ -2553,3 +2556,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index a0ffc4618fdba679d434483d0ce53bea54300c9f..f1c1d5fe342c2535128ad1a8f710a94f15afb91e 100644 (file)
@@ -189,13 +189,6 @@ if test "$enable_autologin" != no; then
 fi
 
 test "$db_dir" && LDFLAGS="$LDFLAGS -L$db_dir/lib"
-if test "x$with_gdbm" != xno -a "x$with_db" != xyes; then
-       AC_CHECK_LIB(gdbm, gdbm_open,
-               [GDBM="$GDBM -lgdbm"
-               DATABASE=database.c
-               with_db=no])
-fi
-
 if test "x$with_db" != xno -a "x$with_gdbm" != xyes; then
        AC_CHECK_LIB(db, db_env_create,
                [GDBM="$GDBM -ldb"
@@ -203,6 +196,13 @@ if test "x$with_db" != xno -a "x$with_gdbm" != xyes; then
                with_gdbm=no])
 fi
 
+if test "x$with_gdbm" != xno -a "x$with_db" != xyes; then
+        AC_CHECK_LIB(gdbm, gdbm_open,
+                [GDBM="$GDBM -lgdbm"
+                DATABASE=database.c
+                with_db=no])
+fi
+
 test -f /usr/local/lib/libresolv.a && LDFLAGS="$LDFLAGS -L/usr/local/lib"
 AC_CHECK_LIB(resolv, res_query, RESOLV="$RESOLV -lresolv")