From e2879ff558cc2de021d0609ff59b25d2bfff996b Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 24 Oct 2000 11:28:20 +0000 Subject: [PATCH] * tests/tools.m4 (Syntax of the scripts): Specify the path to the tested program, some shells don't honor the PATH with `sh PROG'. --- ChangeLog | 5 +++++ tests/tools.m4 | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a887058d..73f90c8a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-10-24 Akim Demaille + + * tests/tools.m4 (Syntax of the scripts): Specify the path to the + tested program, some shells don't honor the PATH with `sh PROG'. + 2000-10-23 Akim Demaille Since GNU M4 now comes with its libm4 (binary), to avoid diff --git a/tests/tools.m4 b/tests/tools.m4 index 6a21f4641..1f225173a 100644 --- a/tests/tools.m4 +++ b/tests/tools.m4 @@ -55,11 +55,13 @@ fi ]]) if /bin/sh ./syntax.sh; then - AT_CHECK([/bin/sh -n autoconf], 0) - AT_CHECK([/bin/sh -n autoreconf], 0) - AT_CHECK([/bin/sh -n autoupdate], 0) - AT_CHECK([/bin/sh -n autoreconf], 0) - AT_CHECK([/bin/sh -n ifnames], 0) + # Specify the path to the tool, some shells don't honor PATH + # when running `sh PROG'. + AT_CHECK([/bin/sh -n ../autoconf], 0) + AT_CHECK([/bin/sh -n ../autoreconf], 0) + AT_CHECK([/bin/sh -n ../autoupdate], 0) + AT_CHECK([/bin/sh -n ../autoreconf], 0) + AT_CHECK([/bin/sh -n ../ifnames], 0) fi AT_CLEANUP -- 2.47.3