]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Don't default to /bin/sh.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 May 2004 03:49:22 +0000 (03:49 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 May 2004 03:49:22 +0000 (03:49 +0000)
lib/m4sugar/m4sh.m4

index 8877e3ec3c40556ebaa1816e53d7e3fee5553e82..d8ad91efbc1273f587b0a0bf7ecd37034ec0f27a 100644 (file)
@@ -224,7 +224,7 @@ if test "x$CONFIG_SHELL" = x; then
           done
        esac])
 
-      for as_shell in $as_candidate_shells ${SHELL-/bin/sh}; 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