Allow absolute names in AT_TESTED.

* lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Check for
absolute names before path walk.
* THANKS: Update.
Suggested by Allan Clark.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2009-11-20 15:19:50 -07:00
parent 8733bad075
commit d1af860e3f
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2009-11-20 Eric Blake <ebb9@byu.net>
Allow absolute names in AT_TESTED.
* lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Check for
absolute names before path walk.
* THANKS: Update.
Suggested by Allan Clark.
2009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_CONFIG_SUBDIRS tracing in autoreconf.

1
THANKS
View File

@ -26,6 +26,7 @@ Alexandre Oliva oliva@lsd.ic.unicamp.br
Alfred G. de Wijn dwijn@iluvatar.eu.org
Alfred M. Szmidt ams@gnu.org
Allan Caffee allan.caffee@gmail.com
Allan Clark allanc@chickenandporn.com
Andreas Buening andreas.buening@nexgo.de
Andreas Jaeger aj@suse.de
Andreas Schott schott@rzg.mpg.de

View File

@ -967,11 +967,16 @@ m4_divert_push([PREPARE_TESTS])dnl
for at_program in : $at_tested
do
test "$at_program" = : && continue
_AS_PATH_WALK([$PATH], [test -f "$as_dir/$at_program" && break])
if test -f "$as_dir/$at_program"; then
case $at_program in
[[\\/]* | ?:[\\/]* ) $at_program_=$at_program ;;]
* )
_AS_PATH_WALK([$PATH], [test -f "$as_dir/$at_program" && break])
at_program_=$as_dir/$at_program ;;
esac
if test -f "$at_program_"; then
{
AS_ECHO(["$at_srcdir/AT_LINE: $as_dir/$at_program --version"])
"$as_dir/$at_program" --version </dev/null
AS_ECHO(["$at_srcdir/AT_LINE: $at_program_ --version"])
"$at_program_" --version </dev/null
echo
} >&AS_MESSAGE_LOG_FD 2>&1
else