mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-02 21:40:43 -05:00
[v9_10] add "configure --with-bind" option to dnsperf
4568. [contrib] Added a --with-bind option to the dnsperf configure
script to specify BIND prefix path.
(cherry picked from commit adcdff94d9)
This commit is contained in:
parent
94f8e9b86a
commit
fd9b416561
3 changed files with 1594 additions and 1847 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
4568. [contrib] Added a --with-bind option to the dnsperf configure
|
||||
script to specify BIND prefix path.
|
||||
|
||||
4567. [port] Call getprotobyname and getservbyname prior to calling
|
||||
chroot so that shared libraries get loaded. [RT #44537]
|
||||
|
||||
|
|
|
|||
3424
contrib/dnsperf-2.1.0.0-1/configure
vendored
3424
contrib/dnsperf-2.1.0.0-1/configure
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -58,7 +58,19 @@ AC_DEFUN(AC_SA_LEN,
|
|||
AC_CHECK_LIB(socket, socket)
|
||||
AC_CHECK_LIB(nsl, inet_ntoa)
|
||||
|
||||
AC_PATH_PROG(ac_cv_isc_config, [isc-config.sh], "no")
|
||||
AC_ARG_WITH(bind,
|
||||
[ --with-bind=[[PATH]] Specify ISC BIND 9 prefix path],
|
||||
use_bind="$withval", use_bind="yes")
|
||||
|
||||
AC_MSG_CHECKING(for BIND 9 libraries)
|
||||
if test $use_bind = no; then
|
||||
AC_MSG_ERROR(BIND 9 libraries must be installed)
|
||||
elif test $use_bind = yes; then
|
||||
bindpath="$PATH"
|
||||
else
|
||||
bindpath="$withval/bin"
|
||||
fi
|
||||
AC_PATH_PROG(ac_cv_isc_config, [isc-config.sh], "no", [$bindpath])
|
||||
if test "$ac_cv_isc_config" = "no"; then
|
||||
AC_MSG_ERROR(BIND 9 libraries must be installed)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue