]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/regress-config.in
Add new required configure options
[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 CFLAGS="-g -O2 -Wall" \
14  ./configure \
15     --sbindir=${1}/bin \
16     --libdir=${1}/bin \
17     --sysconfdir=${1}/bin \
18     --mandir=${1}/bin \
19     --docdir=${1}/bin/html \
20     --htmldir=${1}/bin/html \
21     --with-pid-dir=${1}/working \
22     --with-subsys-dir=${1}/working \
23     --with-plugindir=${1}/bin/plugins \
24     --enable-smartalloc \
25     --enable-lockmgr \
26     --disable-readline \
27     --with-working-dir=${1}/working \
28     --with-archivedir=${1}/tmp \
29     --with-dump-email=${EMAIL} \
30     --with-job-email=${EMAIL} \
31     --with-smtp-host=${SMTP_HOST} \
32     --with-db-name=@db_name@ \
33     --with-db-user=@db_user@ \
34     ${PASSWD} \
35     ${OPENSSL} \
36     ${TCPWRAPPERS} \
37     ${WHICHDB} \
38     --with-baseport=${BASEPORT}
39
40 LD_LIBRARY_PATH=${1}/bin:${LD_LIBRARY_PATH}
41 export LD_LIBRARY_PATH
42
43 exit 0