Regenerate the configure script before running it.

Set the default config file to /var/unbound/unbound.conf.

Approved by:	re (blanket)
This commit is contained in:
des 2013-09-24 09:56:10 +00:00
parent 7a2a1b7d7f
commit da61ec806e

View File

@ -24,9 +24,11 @@ ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR))
[ -f $ldnsobj/libldns.a ] || error "can't find LDNS object directory"
export LDFLAGS="-L$ldnsobj"
autoconf
autoheader
./configure \
--prefix= --exec-prefix=/usr \
--with-conf-file=/etc/unbound/unbound.conf \
--with-conf-file=/var/unbound/unbound.conf \
--with-run-dir=/var/unbound \
--with-username=unbound