'LIBTOOL' => !! var ('LIBTOOL'),
'NONLIBTOOL' => 1,
- 'HANDLE-EXEEXT' => (exists $configure_vars{'EXEEXT'} ?
- 'TRUE' : 'FALSE'),
'SILENT' => silent_flag (),
%transform);
ifeq ($(call am.vars.is-undef,SUBDIRS),yes)
SUBDIRS :=
endif
+ifeq ($(call am.vars.is-undef,EXEEXT),yes)
+ EXEEXT :=
+endif
# CDPATH is only useful in interactive usage, and should never be exported
# in the environment; doing so could cause our recipes and scripts to chdir
$(am.chars.empty), \
$(lastword $(1)))))
-?HANDLE-EXEEXT?am.conf.handle-exeext := yes
-?!HANDLE-EXEEXT?am.conf.handle-exeext := no
-
## These definitions have been generated by the following Bash 4 script:
##
## #!/bin/bash
endif
%.log %.trs: %$1 $$($(2)LOG_DEPENDENCIES)
@$$(call am.test-suite.runtest,$2)
-ifeq ($(am.conf.handle-exeext),yes)
ifdef EXEEXT
%.log %.trs: %$1$(EXEEXT) $$($(2)LOG_DEPENDENCIES)
@$$(call am.test-suite.runtest,$2)
-endif # defined EXEEXT
-endif # am.conf.handle-exeext = yes
+endif
endef
define am.test-suite.handle-suffix
# TESTS = $(wildcard $(srcdir)/t[0-9][0-9]*.sh)
# where removing the $(srcdir) from the $(wildcard) invocation would
# cause the idiom to break in VPATH builds.
-am.test-suite.get-test-bases = $(patsubst $(srcdir)/%,%,$(strip \
-$(call am.util.strip-suffixes, $(TEST_EXTENSIONS), \
-?!HANDLE-EXEEXT? $(1))))
-?HANDLE-EXEEXT? $(patsubst %$(EXEEXT),%,$(1)))))
+define am.test-suite.get-test-bases
+$(patsubst $(srcdir)/%,%,$(strip \
+ $(call am.util.strip-suffixes, $(TEST_EXTENSIONS), \
+ $(if $(EXEEXT),$(patsubst %$(EXEEXT),%,$1),$1))))
+endef
am.test-suite.rx.recheck = ^[ ]*:recheck:[ ]*
am.test-suite.rx.global-result = ^[ ]*:global-test-result:[ ]*
## Obsolescent serial testsuite driver.
-ifeq ($(am.conf.handle-exeext),yes)
+ifdef EXEEXT
## This is suboptimal, but we need to preserve the order of $(TESTS).
am__check_cook_with_exeext_1 = \
$(if $(filter $(am.all-progs), $1), $1$(EXEEXT), $1)
-am__check_cook_with_exeext = $(strip \
- $(if $(EXEEXT), $(foreach t, $1, $(call $(0)_1, $t)), $1))
+am__check_cook_with_exeext = \
+ $(strip $(foreach t, $1, $(call $(0)_1, $t)))
else
am__check_cook_with_exeext = $(strip $1)
endif