--with-postgresql=DIR Include PostgreSQL support. DIR is the PostgreSQL
base install directory, defaults to /usr/local/pgsql
-Which DBMS do you want to use (please select only one):
--with-mysql=DIR Include MySQL support. DIR is the MySQL base
install directory, default is to search through
a number of common places for the MySQL files.
-Which DBMS do you want to use (please select only one):
--with-embedded-mysql=DIR Include MySQL support. DIR is the MySQL base
install directory, default is to search through
a number of common places for the MySQL files.
-Which DBMS do you want to use (please select only one):
--with-sqlite=DIR Include SQLite support. DIR is the SQLite base
install directory, default is to search through
a number of common places for the SQLite files.
# ------------------------------------------
# Where to place working dir
# ------------------------------------------
-working_dir=`eval echo ${sysconfdir}/working`
+working_dir=`eval echo ${prefix}/var/bacula/working`
# Check whether --with-working-dir or --without-working-dir was given.
if test "${with_working_dir+set}" = set; then
POSTGRESQL_INCDIR=/usr/include
POSTGRESQL_LIBDIR=/usr/lib
POSTGRESQL_BINDIR=/usr/bin
+ elif test -f /usr/include/pgsql/libpq-fe.h; then
+ POSTGRESQL_INCDIR=/usr/include/pgsql
+ POSTGRESQL_LIBDIR=/usr/lib/pgsql
+ POSTGRESQL_BINDIR=/usr/bin
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
PFILES="platforms/Makefile"
PSCMD="ps -e"
WIN32=
-hostname=`uname -n`
+hostname=`uname -n | cut -d '.' -f 1`
case "$DISTNAME" in
aix)
DISTVER=`uname -r`
platforms/bsdi/bacula-fd \
platforms/bsdi/bacula-sd \
platforms/bsdi/bacula-dir"
- hostname=`hostname -s`
largefile_support="yes"
;;
cygwin)
DISTVER=`uname -r`
TAPEDRIVE="/dev/nst0"
PSCMD="ps -e -o pid,command"
- hostname=`hostname -s`
PFILES="${PFILES} \
platforms/darwin/Makefile"
;;
DISTVER=`cat /etc/debian_version`
TAPEDRIVE="/dev/nrst0"
PSCMD="ps -e -o pid,command"
- hostname=`hostname -s`
;;
freebsd)
DISTVER=`uname -a |awk '{print $3}'`
platforms/freebsd/bacula-fd \
platforms/freebsd/bacula-sd \
platforms/freebsd/bacula-dir"
- hostname=`hostname -s`
largefile_support="yes"
;;
hpux)
+ PSCMD="UNIX95=1 ps -e -o pid,comm"
+ CFLAGS="$(CFLAGS) -D_XOPEN_SOURCE_EXTENDED=1"
DISTVER=`uname -r`
TAPEDRIVE="/dev/rmt/0hnb"
;;
platforms/mandrake/bacula-dir \
platforms/mandrake/bacula.spec \
"
- hostname=`hostname -s`
;;
gentoo)
DISTVER=`awk '/version / {print $5}' < /etc/gentoo-release`
platforms/gentoo/bacula-fd \
platforms/gentoo/bacula-sd \
platforms/gentoo/bacula-dir"
- hostname=`hostname -s`
;;
-
slackware)
DISTVER=`cat /etc/slackware-version`
TAPEDRIVE="/dev/nst0"
PSCMD="ps -e -o pid,command"
- hostname=`hostname -s`
+ PFILES="${PFILES} \
+ platforms/slackware/Makefile \
+ platforms/slackware/rc.bacula-fd \
+ platforms/slackware/rc.bacula-sd \
+ platforms/slackware/rc.bacula-dir\
+ platforms/slackware/functions.bacula"
;;
solaris)
DISTVER=`uname -r`
cut -f 3 -d ' '`
TAPEDRIVE="/dev/nst0"
PSCMD="ps -e -o pid,command"
- hostname=`hostname -s`
PFILES="${PFILES} \
platforms/suse/Makefile \
platforms/suse/bacula-fd \
platforms/suse/bacula-sd \
- platforms/suse/bacula-dir"
+ platforms/suse/bacula-dir \
+ platforms/suse/bacula \
+ platforms/suse/bacula.spec"
;;
suse5)
DISTNAME=suse
DISTVER=5.x
TAPEDRIVE="/dev/nst0"
PSCMD="ps -e -o pid,command"
- hostname=`hostname -s`
PFILES="${PFILES} \
platforms/suse/Makefile \
platforms/suse/bacula-fd \
cd scripts
chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer
-chmod 755 bconsole gconsole mtx-changer devel_bacula
+chmod 755 bconsole gconsole mtx-changer devel_bacula logrotate
cd ..
c=src/cats