dns-bench/build_drill.sh

46 lines
634 B
Bash
Raw Normal View History

2024-12-20 17:52:34 +04:00
#!/bin/bash
source .build.sh
2024-12-20 17:52:34 +04:00
echo
echo '==> Checking deps'
which git
which libtoolize
which autoreconf
which make
which gcc || which clang
echo
echo '==> Cloning repo'
clone https://github.com/NLnetLabs/ldns.git ldns
2024-12-20 17:52:34 +04:00
cd ldns
trap 'cd ..' EXIT
2024-12-20 19:25:20 +04:00
set_cflags
2024-12-20 17:52:34 +04:00
echo
echo '==> libtoolize -ci'
libtoolize -ci
echo
echo '==> autoreconf -fi'
autoreconf -fi
echo
echo '==> ./configure (check deps, generate config)'
./configure \
--with-drill \
--without-pyldns \
--without-pyldnsx \
--enable-poll \
2024-12-20 19:52:03 +04:00
--disable-dane \
--disable-dane-verify \
--disable-dane-ta-usage
2024-12-20 17:52:34 +04:00
echo
echo '==> make'
make_maxthreads
2024-12-20 17:52:34 +04:00
echo
echo '==> Done'