BA_CHECK_SQLITE3_DB
-BA_CHECK_INGRES_DB
+#BA_CHECK_INGRES_DB
-BA_CHECK_DBI_DB
+#BA_CHECK_DBI_DB
-BA_CHECK_DBI_DRIVER
+#BA_CHECK_DBI_DRIVER
dnl -------------------------------------------
dnl Make sure at least one database backend is found
echo " "
echo " "
echo "You have not specified either --enable-client-only or one of the"
- echo "supported databases: MySQL, PostgreSQL, Ingres, SQLite3 or DBI."
+ echo "supported databases: MySQL, PostgreSQL, or SQLite3."
echo "This is not permitted. Please reconfigure."
echo " "
echo "Aborting the configuration ..."
echo " "
echo " "
echo "You have specified two or more of the"
- echo "supported databases: MySQL, PostgreSQL, Ingres, SQLite3 or DBI."
+ echo "supported databases: MySQL, PostgreSQL, or SQLite3."
echo "This is not permitted when not using libtool Please reconfigure."
echo " "
echo "Aborting the configuration ..."
fi
AC_SUBST(ZLIBS)
-dnl
-dnl Check if we have AFS on this system
-dnl
-AFS_CFLAGS=""
-AFS_LIBS=""
-support_afs=auto
-AC_ARG_ENABLE(afs,
- AC_HELP_STRING([--disable-afs], [disable afs support @<:@default=auto@:>@]),
- [
- if test x$enableval = xyes; then
- support_afs=yes
- elif test x$enableval = xno; then
- support_afs=no
- fi
- ]
-)
-
-have_afs=no
-if test x$support_afs = xyes -o x$support_afs = xauto; then
- AC_ARG_WITH(afsdir,
- AC_HELP_STRING([--with-afsdir@<:@=DIR@:>@], [Directory holding AFS includes/libs]),
- with_afsdir=$withval
- )
-
- dnl
- dnl Search in standard places, or --with-afsdir not specified
- 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
- done
- fi
-
- AFS_CFLAGS="-I${with_afsdir}/include"
-
- saved_CFLAGS="${CFLAGS}"
- CFLAGS="${AFS_CFLAGS} ${saved_CFLAGS}"
-
- AC_CHECK_HEADERS(afs/stds.h)
-
- CFLAGS="${saved_CFLAGS}"
-
- dnl
- dnl See if we can find a libsys with the pioctl symbol in there
- dnl
- for dir in ${with_afsdir}/lib ${with_afsdir}/lib/afs
- 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
- done
- done
-
- if test x$support_afs = xyes -a $have_afs != yes; then
- AC_MSG_ERROR([afs support explicitly enabled but no supported afs implementation found,
- please either load the afs libraries or rerun configure without --enable-afs])
- 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])
- fi
- fi
-fi
-
-AC_SUBST(AFS_CFLAGS)
-AC_SUBST(AFS_LIBS)
-
dnl
dnl Check for ACL support and libraries
dnl
]
)
- AC_CHECK_DECL([ACL_TYPE_DEFAULT_DIR],
- [AC_DEFINE(HAVE_ACL_TYPE_DEFAULT_DIR,1,[Defines if your system have the ACL_TYPE_DEFAULT_DIR acl type])],
- [],
- [[#include <sys/acl.h>]])
+ AC_MSG_CHECKING(for ACL_TYPE_DEFAULT_DIR in acl.h include file)
+ grep ACL_TYPE_DEFAULT_DIR /usr/include/sys/acl.h > /dev/null 2>&1
+ if test $? = 0; then
+ AC_DEFINE(HAVE_ACL_TYPE_DEFAULT_DIR,1,[Defines if your system have the ACL_TYPE_DEFAULT_DIR acl type])
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
fi
dnl
dnl On OSX check for availability of ACL_TYPE_EXTENDED
dnl
if test $have_acl = yes -a \
- x${HAVE_DARWIN_OS_TRUE} = x; then
- AC_CHECK_DECL([ACL_TYPE_EXTENDED],
- [AC_DEFINE(HAVE_ACL_TYPE_EXTENDED,1,[Defines if your system have the ACL_TYPE_EXTENDED acl type])],
- [],
- [[#include <sys/acl.h>]])
+ x${HAVE_DARWIN_OS_TRUE} = x; then
+ AC_MSG_CHECKING(for ACL_TYPE_EXTENDED in acl.h include file)
+ grep ACL_TYPE_EXTENDED /usr/include/sys/acl.h > /dev/null 2>&1
+ if test $? = 0; then
+ AC_DEFINE(HAVE_ACL_TYPE_EXTENDED,1,[Defines if your system have the ACL_TYPE_EXTENDED acl type])
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
fi
dnl
dnl On FreeBSD check for availability of ACL_TYPE_NFS4
dnl
if test $have_acl = yes -a \
- x${HAVE_FREEBSD_OS_TRUE} = x; then
- AC_CHECK_DECL([ACL_TYPE_NFS4],
- [AC_DEFINE(HAVE_ACL_TYPE_NFS4,1,[Defines if your system have the ACL_TYPE_NFS4 acl type])],
- [],
- [[#include <sys/acl.h>]])
+ x${HAVE_FREEBSD_OS_TRUE} = x; then
+ AC_MSG_CHECKING(for ACL_TYPE_NFS4 in acl.h include file)
+ grep ACL_TYPE_NFS4 /usr/include/sys/acl.h > /dev/null 2>&1
+ if test $? = 0; then
+ AC_DEFINE(HAVE_ACL_TYPE_NFS4,1,[Defines if your system have the ACL_TYPE_NFS4 acl type])
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
fi
dnl
PSCMD="ps -e"
WIN32=
MACOSX=
+COMPRESS_MANPAGES=yes
hostname=`uname -n | cut -d '.' -f 1`
if test x${hostname} = x ; then
platforms/solaris/bacula-fd \
platforms/solaris/bacula-sd \
platforms/solaris/bacula-dir"
+ COMPRESS_MANPAGES=
case ${DISTVER} in
5.5|5.6)
AC_DEFINE(HAVE_OLD_SOCKOPT)
AC_SUBST(MACOSX)
AC_SUBST(DISTNAME)
AC_SUBST(DISTVER)
+AC_SUBST(COMPRESS_MANPAGES)
dnl common parts of the Makefile
MCOMMON=./autoconf/Make.common
src/cats/grant_sqlite3_privileges \
src/cats/drop_sqlite3_tables \
src/cats/drop_sqlite3_database \
- src/cats/create_ingres_database \
- src/cats/update_ingres_tables \
- src/cats/make_ingres_tables \
- src/cats/grant_ingres_privileges \
- src/cats/drop_ingres_tables \
- src/cats/drop_ingres_database \
src/cats/sqlite \
src/cats/mysql \
src/cats/create_bacula_database \
chmod 755 $c/create_postgresql_database $c/update_postgresql_tables $c/make_postgresql_tables
chmod 755 $c/grant_postgresql_privileges $c/drop_postgresql_tables $c/drop_postgresql_database
-chmod 755 $c/create_ingres_database $c/update_ingres_tables $c/make_ingres_tables
-chmod 755 $c/grant_ingres_privileges $c/drop_ingres_tables $c/drop_ingres_database
+#chmod 755 $c/create_ingres_database $c/update_ingres_tables $c/make_ingres_tables
+#chmod 755 $c/grant_ingres_privileges $c/drop_ingres_tables $c/drop_ingres_database
chmod 755 $c/make_catalog_backup $c/delete_catalog_backup $c/make_catalog_backup.pl