3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
6 # This is the configuration script for regression testing
12 if test "x@db_password@" = "x"; then
15 PASSWD="--with-db-password=@db_password@"
18 if [ -z "${CFLAGS}" ]; then
26 --sysconfdir=${1}/bin \
28 --docdir=${1}/bin/html \
29 --htmldir=${1}/bin/html \
30 --with-pid-dir=${1}/working \
31 --with-subsys-dir=${1}/working \
32 --with-plugindir=${1}/bin/plugins \
33 --with-logdir=${1}/working \
37 --with-working-dir=${1}/working \
38 --with-archivedir=${1}/tmp \
39 --with-dump-email=${EMAIL} \
40 --with-job-email=${EMAIL} \
41 --with-smtp-host=${SMTP_HOST} \
42 --with-db-name=@db_name@ \
43 --with-db-user=@db_user@ \
49 --with-baseport=${BASEPORT}
51 LD_LIBRARY_PATH=${1}/bin:${LD_LIBRARY_PATH}
52 export LD_LIBRARY_PATH