Re: [PATCH] Shell selection refinement

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

 



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



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux