]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 17 Mar 2006 17:09:21 +0000 (17:09 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 17 Mar 2006 17:09:21 +0000 (17:09 +0000)
the directory `/usr/bin/posix' in the shell search, to prefer
the Posix shell not only in subsequent spawns as with `$BIN_SH'
on Tru64.

ChangeLog
lib/m4sugar/m4sh.m4

index 6fbe294b31e6c6c430b1ea569dd4c6bc9cf96f7c..c6883e57754f279e7ed399bfe835b532353d5c22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
+       the directory `/usr/bin/posix' in the shell search, to prefer
+       the Posix shell not only in subsequent spawns as with `$BIN_SH'
+       on Tru64.
+
        * doc/autoconf.texi (contents): To fix texi2html output, hide
        `@setcontentsaftertitlepage' for HTML.
        (Writing Autoconf Macros): Likewise, insert space after `@c'.
index 3b96b6d3a8c89d3d6cc39284a9558d69a8d44bc7..d6e93ee6e0126fdc21a58b33ca3e96cb015feaa3 100644 (file)
@@ -226,7 +226,7 @@ if test "x$CONFIG_SHELL" = x; then
         _AS_RUN([_AS_DETECT_SUGGESTED_BODY]) 2> /dev/null],
     [],
     [as_candidate_shells=
-    _AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
+    _AS_PATH_WALK([/usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
       [case $as_dir in
         /*)
           for as_base in sh bash ksh sh5; do