]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/regress-config.in
regress: tweak diff.pl output
[bacula/bacula] / regress / scripts / regress-config.in
1 #!/bin/sh
2 #
3 # This is the configuration script for regression testing
4 #
5
6 . ${1}/config
7 if test "x@db_password@" = "x"; then
8   PASSWD=
9 else
10   PASSWD="--with-db-password=@db_password@"
11 fi
12
13 if [ -z "${CFLAGS}" ]; then
14    CFLAGS="-g -O2 -Wall"
15    export CFLAGS
16 fi
17
18 ./configure \
19     --sbindir=${1}/bin \
20     --libdir=${1}/bin \
21     --sysconfdir=${1}/bin \
22     --mandir=${1}/bin \
23     --docdir=${1}/bin/html \
24     --htmldir=${1}/bin/html \
25     --with-pid-dir=${1}/working \
26     --with-subsys-dir=${1}/working \
27     --with-plugindir=${1}/bin/plugins \
28     --enable-smartalloc \
29     --enable-lockmgr \
30     --disable-readline \
31     --with-working-dir=${1}/working \
32     --with-archivedir=${1}/tmp \
33     --with-dump-email=${EMAIL} \
34     --with-job-email=${EMAIL} \
35     --with-smtp-host=${SMTP_HOST} \
36     --with-db-name=@db_name@ \
37     --with-db-user=@db_user@ \
38     ${PASSWD} \
39     ${OPENSSL} \
40     ${TCPWRAPPERS} \
41     ${WHICHDB} \
42     --with-baseport=${BASEPORT}
43
44 LD_LIBRARY_PATH=${1}/bin:${LD_LIBRARY_PATH}
45 export LD_LIBRARY_PATH
46
47 exit 0