autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Shell selection refinement


From: Paul Eggert
Subject: Re: [PATCH] Shell selection refinement
Date: Sun, 02 May 2004 20:50:32 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks.  I installed that patch (actually, the following slightly
different patch):

Index: m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.113
retrieving revision 1.115
diff -p -u -r1.113 -r1.115
--- m4sh.m4     30 Jan 2004 14:29:19 -0000      1.113
+++ m4sh.m4     3 May 2004 03:49:22 -0000       1.115
@@ -215,7 +215,7 @@ if test "x$CONFIG_SHELL" = x; then
   AS_IF([test $as_have_required = yes && dnl
         _AS_RUN([_AS_DETECT_SUGGESTED_BODY]) 2> /dev/null],
     [],
-    [as_candidate_shells="$SHELL"
+    [as_candidate_shells=
     _AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
       [case $as_dir in
         /*)
@@ -224,7 +224,7 @@ if test "x$CONFIG_SHELL" = x; then
           done
        esac])
 
-      for as_shell in $as_candidate_shells; do
+      for as_shell in $as_candidate_shells $SHELL; do
         AS_IF([_AS_RUN([_AS_DETECT_REQUIRED_BODY], [$as_shell 2> /dev/null])],
               [CONFIG_SHELL=$as_shell
               as_have_required=yes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]