Break out of loop when first POSIX-compatible shell is found
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -11699,7 +11699,7 @@ else
|
||||
/*) :
|
||||
|
||||
if "$ac_cv_prog_shell" -c "$ac_test_shell_script" 2>/dev/null; then :
|
||||
ac_cv_path_shell=$SHELL
|
||||
break
|
||||
fi
|
||||
;; #(
|
||||
*) :
|
||||
|
||||
@@ -14,7 +14,7 @@ AC_DEFUN([AX_POSIX_SHELL],
|
||||
AS_CASE([$ac_cv_prog_shell],
|
||||
[/*],[
|
||||
AS_IF(["$ac_cv_prog_shell" -c "$ac_test_shell_script" 2>/dev/null],
|
||||
[ac_cv_path_shell=$SHELL])
|
||||
[break])
|
||||
])
|
||||
done
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user