From: Akim Demaille Date: Tue, 24 Oct 2000 11:28:20 +0000 (+0000) Subject: * tests/tools.m4 (Syntax of the scripts): Specify the path to the X-Git-Tag: autoconf-2.50~536 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2879ff558cc2de021d0609ff59b25d2bfff996b;p=thirdparty%2Fautoconf.git * tests/tools.m4 (Syntax of the scripts): Specify the path to the tested program, some shells don't honor the PATH with `sh PROG'. --- 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