]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/tools.m4 (Syntax of the scripts): Specify the path to the
authorAkim Demaille <akim@epita.fr>
Tue, 24 Oct 2000 11:28:20 +0000 (11:28 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 24 Oct 2000 11:28:20 +0000 (11:28 +0000)
tested program, some shells don't honor the PATH with `sh PROG'.

ChangeLog
tests/tools.m4

index 6a887058d51edf6f46f5b38524ee2b0cec9c1f84..73f90c8a7fb71e3612c27ce25fb8689f77a167b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-24  Akim Demaille  <akim@epita.fr>
+
+       * 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  <akim@epita.fr>
 
        Since GNU M4 now comes with its libm4 (binary), to avoid
index 6a21f464182047153cb159a195c69c3810b26c24..1f225173aad0e5364eb355b0bdf4ed70dfdbd380 100644 (file)
@@ -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