#
# cnid_maint: A script to maintain the consistency of CNID databases.
#
-# $Id: cnid_maint.in,v 1.13 2003-01-04 21:41:48 jmarcus Exp $
+# $Id: cnid_maint.in,v 1.14 2003-02-16 02:13:05 jmarcus Exp $
#
use strict;
# Below is the example of a BSD ps. A SYSV example is:
# /bin/ps -eflouid,pid,ppid,comm
$PS_CMD = '@PS@ -axouser,pid,ppid,command';
-$DB_STAT = '@BDB_PATH@bin/db_stat';
-$DB_RECOVER = '@BDB_PATH@bin/db_recover';
-$DB_VERIFY = '@BDB_PATH@bin/db_verify';
+$DB_STAT = '@BDB_BIN@bin/db_stat';
+$DB_RECOVER = '@BDB_BIN@bin/db_recover';
+$DB_VERIFY = '@BDB_BIN@bin/db_verify';
$APPLE_VOLUMES_FILE = '@PKGCONFDIR@/AppleVolumes.default';
## End edit section
-dnl $Id: db3-check.m4,v 1.8 2003-01-04 21:41:49 jmarcus Exp $
+dnl $Id: db3-check.m4,v 1.9 2003-02-16 02:13:05 jmarcus Exp $
dnl Autoconf macro to check for the Berkeley DB library
AC_DEFUN([AC_PATH_BDB], [
if test -f "$bdbdir/db.h" ; then
bdblibdir="`echo $bdbdir | sed 's/include\/db3$/lib/'`"
bdblibdir="`echo $bdblibdir | sed 's/include$/lib/'`"
+ bdbbindir="`echo $bdbdir | sed 's/include\/db3$/bin/'`"
+ bdbbindir="`echo $bdbbindir | sed 's/include$/bin/'`"
savedcflags="$CFLAGS"
savedldflags="$LDFLAGS"
bdbfound=yes
BDB_CFLAGS="-I$bdbdir"
BDB_LIBS="-L$bdblibdir -ldb"
+ BDB_BIN=$bdbbindir
BDB_PATH="`echo $bdbdir | sed 's,include/db3$,,'`"
])
CFLAGS="$savedcflags"
AC_SUBST(BDB_CFLAGS)
AC_SUBST(BDB_LIBS)
+ AC_SUBST(BDB_BIN)
AC_SUBST(BDB_PATH)
])