VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
LSMDATE=`sed -n -e 's/^.*LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
+BDB_VERSION=`sed -n -e 's/^.*BDB_VERSION \(.*\)$/\1/p' ${srcdir}/src/cats/cats.h`
AC_SUBST(VERSION)dnl
AC_SUBST(DATE)dnl
AC_SUBST(LSMDATE)dnl
AC_SUBST(BACULA)dnl
AC_SUBST(post_host)dnl
+AC_SUBST(BDB_VERSION)dnl
dnl src/lib
dnl can be overwritten by specific values from version.h
dnl
if test x$with_afsdir = x; then
for root in /usr /usr/local; do
- if test -d ${root}/include/afs/ ; then
- with_afsdir=${root}
- break
- fi
+ if test -d ${root}/include/afs/ ; then
+ with_afsdir=${root}
+ break
+ fi
done
fi
do
for arch_type in .a .so
do
- A=`test -f ${dir}/libsys${arch_type} && nm ${dir}/libsys${arch_type} | grep pioctl`
- pkg=$?
- if test $pkg = 0; then
- have_afs=yes
- AFS_LIBS="-L${dir} -lsys -lrx -llwp ${dir}/util.a"
- break
- fi
+ A=`test -f ${dir}/libsys${arch_type} && nm ${dir}/libsys${arch_type} | grep pioctl`
+ pkg=$?
+ if test $pkg = 0; then
+ have_afs=yes
+ AFS_LIBS="-L${dir} -lsys -lrx -llwp ${dir}/util.a"
+ break
+ fi
done
done
else
if test $have_afs = yes; then
AC_DEFINE([HAVE_AFS],1,[Defines if your system has AFS support])
- AC_DEFINE([HAVE_AFS_ACL],1,[Andrew FileSystem ACL support])
+ AC_DEFINE([HAVE_AFS_ACL],1,[Andrew FileSystem ACL support])
fi
fi
fi
AC_SUBST(AFS_CFLAGS)
AC_SUBST(AFS_LIBS)
-AC_DEFINE(AFS_CFLAGS)
-AC_DEFINE(AFS_LIBS)
dnl
dnl Check for ACL support and libraries
AC_CHECK_LIB(acl, acl_get_file,
[
have_acl=yes;
- if test $have_afs = yes; then
- dnl
- dnl Because of possible naming conflict with AFS libacl make sure we use the one in /usr/lib64 or /usr/lib !!!
- dnl
+ if test $have_afs = yes; then
+ dnl
+ dnl Because of possible naming conflict with AFS libacl make sure we use the one in /usr/lib64 or /usr/lib !!!
+ dnl
if test -d /usr/lib64/; then
FDLIBS="-L/usr/lib64 -lacl $FDLIBS"
- else
+ else
FDLIBS="-L/usr/lib -lacl $FDLIBS"
- fi
- else
+ fi
+ else
FDLIBS="-lacl $FDLIBS"
- fi
+ fi
], [
AC_CHECK_LIB(pacl, acl_get_file,
[
updatedb/update_mysql_tables_10_to_11 \
updatedb/update_sqlite3_tables_10_to_11 \
updatedb/update_postgresql_tables_10_to_11 \
+ updatedb/update_mysql_tables_11_to_12 \
+ updatedb/update_sqlite3_tables_11_to_12 \
+ updatedb/update_postgresql_tables_11_to_12 \
examples/nagios/check_bacula/Makefile \
$PFILES ],
[ ]
build-dird: ${build_dird}
build-stored: ${build_stored}
Plugin support: ${have_plugins}
- AFS support: ${have_afs}
+ AFS support: ${have_afs}
ACL support: ${have_acl}
XATTR support: ${have_xattr}
Python support: ${support_python} ${PYTHON_LIBS}