From: Erez Zadok Date: Fri, 21 Apr 2006 19:34:42 +0000 (+0000) Subject: * configure.in: detect G/DBM support via gdbm_compat library X-Git-Tag: am-utils-6_2a2~3 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=3cab7bc03553a1c3fc1ad6d7e0b94cbe456f0411;p=am-utils-6.2.git * configure.in: detect G/DBM support via gdbm_compat library (Debian 3.1). * minor new port: powerpc-apple-darwin8.5.0 --- diff --git a/.cvsignore b/.cvsignore index c02538f7..59c65f66 100644 --- a/.cvsignore +++ b/.cvsignore @@ -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 diff --git a/ChangeLog b/ChangeLog index 699561ce..3b4d6966 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-04-21 Erez Zadok + + * 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 * scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi, diff --git a/NEWS b/NEWS index 5e79dda1..fba2cfdc 100644 --- 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 diff --git a/configure.in b/configure.in index a4482ce9..66db7c72 100644 --- a/configure.in +++ b/configure.in @@ -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