autoconf-patches
[Top][All Lists]
Advanced

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

Re: PATCH: silence ash during shell search


From: Paul Eggert
Subject: Re: PATCH: silence ash during shell search
Date: Fri, 24 Dec 2004 23:51:33 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks for the clear bug report and patch.  I installed the following
slight-more-generalized patch.

2004-12-24  Eric Blake  <address@hidden>
       and  Paul Eggert  <address@hidden>

        * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
        shells in subshell, to avoid noise from ash.  (trivial change)

--- m4sh.m4     21 Dec 2004 14:24:01 -0000      1.128
+++ m4sh.m4     25 Dec 2004 07:49:41 -0000      1.129
@@ -228,10 +228,12 @@ if test "x$CONFIG_SHELL" = x; then
        esac])
 
       for as_shell in $as_candidate_shells $SHELL; do
-        AS_IF([_AS_RUN([_AS_DETECT_REQUIRED_BODY], [$as_shell 2> /dev/null])],
+        AS_IF([_AS_RUN([_AS_DETECT_REQUIRED_BODY],
+                        [($as_shell) 2> /dev/null])],
               [CONFIG_SHELL=$as_shell
               as_have_required=yes
-              AS_IF([_AS_RUN([_AS_DETECT_SUGGESTED_BODY], [$as_shell 2> 
/dev/null])],
+              AS_IF([_AS_RUN([_AS_DETECT_SUGGESTED_BODY],
+                             [($as_shell) 2> /dev/null])],
                     [break])])
       done
 




reply via email to

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