* configure.in: detect G/DBM support via gdbm_compat library
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 21 Apr 2006 19:34:42 +0000 (19:34 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 21 Apr 2006 19:34:42 +0000 (19:34 +0000)
(Debian 3.1).

* minor new port: powerpc-apple-darwin8.5.0

.cvsignore
ChangeLog
NEWS
configure.in

index c02538f71e710bddf5e11ef6efaab4c418951ee2..59c65f66ac9ea0d1a0c6e03389490e8d247bcdb6 100644 (file)
@@ -165,3 +165,4 @@ A.i386-unknown-openbsd3.8
 A.powerpc-ibm-aix5.2.0.0-cc
 A.i386-pc-linux-fc5
 A.i386-pc-linux-suse10.1
+A.powerpc-apple-darwin8.5.0
index 699561cec47c112ec4c77074ee7d621ce09d6fea..3b4d69665c74f8ceabdfd33c23e22d1a596fef08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-21  Erez Zadok  <ezk@cs.sunysb.edu>
+
+       * configure.in: detect G/DBM support via gdbm_compat library
+       (Debian 3.1).
+
+       * minor new port: powerpc-apple-darwin8.5.0
+
 2006-04-20  Erez Zadok  <ezk@cs.sunysb.edu>
 
        * scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi,
diff --git a/NEWS b/NEWS
index 5e79dda19fcb30be8aca199d0400e5d581da7be2..fba2cfdcd37e2dc91055aae29c9edf3320aab4f7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,7 @@ better tune Amd's responsiveness under heavy scheduler loads.
        i386-unknown-netbsdelf2.1
        i386-unknown-netbsdelf3.0 (RELEASE)
        i386-unknown-openbsd3.8
+       powerpc-apple-darwin8.5.0
 
 - Bugs fixed:
        * one serious memory leak in amfs_generic (caught by Coverity)
@@ -40,6 +41,7 @@ better tune Amd's responsiveness under heavy scheduler loads.
        * use-after-free bug in amfs_lookup_mntfs (Coverity)
        * don't turn off attribute cache for regular NFS mounts (improves
          performance)
+       * detect G/DBM support via gdbm_compat library (Debian)
 
 *** Notes specific to am-utils version 6.2a1
 
index a4482ce9cb162af8f7cfe4fabc2ee6a02df583bf..66db7c7254a59891f3164928041d3bb3fc01f449 100644 (file)
@@ -55,7 +55,7 @@ AH_BOTTOM([
 dnl
 dnl AC_CONFIG_AUX_DIR(m4)
 AC_PREREQ(2.52)
-AC_REVISION($Revision: 1.124 $)
+AC_REVISION($Revision: 1.125 $)
 AC_COPYRIGHT([Copyright (c) 1997-2006 Erez Zadok])
 dnl find out system type
 AC_MSG_NOTICE(*** SYSTEM TYPES ***)
@@ -667,10 +667,13 @@ if test "$ac_cv_lib_new_dbm" = "" -a "$ac_cv_header_gdbm_ndbm_h" = "yes"; then
   AC_CHECK_LIB(gdbm, dbm_open, ac_cv_header_new_dbm="gdbm/ndbm.h"; ac_cv_lib_new_dbm="gdbm")
 else
   # reset any previous knowledge and retest for different header name
+  # check also gdbm_compat library (Debian 3.1)
   unset ac_cv_header_gdbm_ndbm_h
   AC_CHECK_HEADERS(gdbm-ndbm.h)
   if test "$ac_cv_lib_new_dbm" = "" -a "$ac_cv_header_gdbm_ndbm_h" = "yes"; then
-    AC_CHECK_LIB(gdbm, dbm_open, ac_cv_header_new_dbm="gdbm-ndbm.h"; ac_cv_lib_new_dbm="gdbm")
+    AC_CHECK_LIB(gdbm, dbm_open, ac_cv_header_new_dbm="gdbm-ndbm.h"; ac_cv_lib_new_dbm="gdbm",
+      AC_CHECK_LIB(gdbm_compat, dbm_open, ac_cv_header_new_dbm="gdbm-ndbm.h"; ac_cv_lib_new_dbm="gdbm -lgdbm_compat")
+    )
   fi
 fi
 if test "$ac_cv_header_new_dbm" != "" -a "$ac_cv_lib_new_dbm" != ""; then