# selected by '--enable-dependency-tracking', we make this threefold check
# only in this later case.
+if test $depmode,$depcomp_with_libtool = auto,yes; then
+ do_all_tests () { do_test; }
+else
+ do_all_tests ()
+ {
+ do_test default
+ do_test noshared --disable-shared
+ do_test nostatic --disable-static
+ }
+fi
+
case $depmode in
auto)
- if test $depcomp_with_libtool = no; then
- plan_ 28
- do_all_tests () { do_test; }
- else
- plan_ 84
- do_all_tests ()
- {
- do_test default
- do_test noshared --disable-shared
- do_test nostatic --disable-static
- }
- fi
displayed_depmode='..*' # At least one character long.
cfg_deptrack=--enable-dependency-tracking ;;
disabled)
- plan_ 28
- do_all_tests () { do_test; }
displayed_depmode=none
cfg_deptrack=--disable-dependency-tracking ;;
*)
- plan_ 28
- do_all_tests () { do_test; }
displayed_depmode="(cached) $depmode"
cfg_deptrack="$cachevar=$depmode"
# Sanity check: ensure the cache variable we force is truly
{
foreach my $m (keys %depmodes)
{
+ my $planned = ($lt && $m eq "auto") ? 72 : 28;
my @required =
(
@{$depmodes{$m}},
#! /bin/sh
# Automatically generated test. DO NOT EDIT BY HAND!
@vars_init
+ plan_ $planned
required="@required"
. ./defs-static || exit '99'
. "\$testsrcdir/depcomp.sh"; exit "\$?"