mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-21 00:40:39 -05:00
--enable-developer now compiles bin/tests's XTARGETS [RT #44205]
This commit is contained in:
parent
0c43d50368
commit
434477aa02
3 changed files with 9 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ SUBDIRS = atomic db dst master mem hashes names \
|
|||
# makejournal is needed by system tests
|
||||
|
||||
# Alphabetically
|
||||
TARGETS = cfg_test@EXEEXT@ makejournal@EXEEXT@ wire_test@EXEEXT@
|
||||
TARGETS = @XTARGETS@ cfg_test@EXEEXT@ makejournal@EXEEXT@ \
|
||||
wire_test@EXEEXT@
|
||||
|
||||
# All the other tests are optional and not built by default.
|
||||
|
||||
|
|
|
|||
4
configure
vendored
4
configure
vendored
|
|
@ -886,6 +886,7 @@ PERL
|
|||
ETAGS
|
||||
LN
|
||||
ARFLAGS
|
||||
XTARGETS
|
||||
BACKTRACECFLAGS
|
||||
CCNOOPT
|
||||
CCOPT
|
||||
|
|
@ -11460,6 +11461,7 @@ if test "${enable_developer+set}" = set; then :
|
|||
enableval=$enable_developer;
|
||||
fi
|
||||
|
||||
XTARGETS=
|
||||
case "$enable_developer" in
|
||||
yes)
|
||||
STD_CDEFINES="$STD_CDEFINES -DISC_LIST_CHECKINIT=1"
|
||||
|
|
@ -11472,9 +11474,11 @@ yes)
|
|||
test "${enable_warn_error+set}" = set || enable_warn_error=yes
|
||||
test "${enable_warn_shadow+set}" = set || enable_warn_shadow=yes
|
||||
test "${with_zlib+set}" = set || with_zlib=yes
|
||||
XTARGETS='${XTARGETS}'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# American Fuzzy Lop
|
||||
# Check whether --enable-afl was given.
|
||||
if test "${enable_afl+set}" = set; then :
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ AC_ARG_ENABLE(warn_shadow, [ --enable-warn-shadow turn on -Wshadow when compi
|
|||
AC_ARG_ENABLE(warn_error, [ --enable-warn-error turn on -Werror when compiling])
|
||||
|
||||
AC_ARG_ENABLE(developer, [ --enable-developer enable developer build settings])
|
||||
XTARGETS=
|
||||
case "$enable_developer" in
|
||||
yes)
|
||||
STD_CDEFINES="$STD_CDEFINES -DISC_LIST_CHECKINIT=1"
|
||||
|
|
@ -71,8 +72,10 @@ yes)
|
|||
test "${enable_warn_error+set}" = set || enable_warn_error=yes
|
||||
test "${enable_warn_shadow+set}" = set || enable_warn_shadow=yes
|
||||
test "${with_zlib+set}" = set || with_zlib=yes
|
||||
XTARGETS='${XTARGETS}'
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(XTARGETS)
|
||||
|
||||
# American Fuzzy Lop
|
||||
AC_ARG_ENABLE(afl, [ --enable-afl enable American Fuzzy Lop test harness [[default=no]]],
|
||||
|
|
|
|||
Loading…
Reference in a new issue