]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/regress-config.in
Add libdir change for shared libraries
[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     --with-pid-dir=${1}/working \
20     --with-subsys-dir=${1}/working \
21     --with-plugindir=${1}/bin/plugins \
22     --enable-smartalloc \
23     --disable-readline \
24     --with-working-dir=${1}/working \
25     --with-archivedir=${1}/tmp \
26     --with-dump-email=${EMAIL} \
27     --with-job-email=${EMAIL} \
28     --with-smtp-host=${SMTP_HOST} \
29     --with-db-name=@db_name@ \
30     --with-db-user=@db_user@ \
31     ${PASSWD} \
32     ${OPENSSL} \
33     ${TCPWRAPPERS} \
34     ${WHICHDB} \
35     --with-baseport=${BASEPORT}
36
37 LD_LIBRARY_PATH=${1}/bin:${LD_LIBRARY_PATH}
38 export LD_LIBRARY_PATH
39
40 exit 0