summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index bdfe63c06a..0a8b2d4757 100644
--- a/configure.in
+++ b/configure.in
@@ -422,7 +422,8 @@ AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_PATH_PROG(BASH, bash, no)
if test "$BASH" != no &&
- $BASH -c 'test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
+ $BASH -c 'test "$BASH_VERSINFO"
+ && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
libc_cv_have_bash2=yes
else
libc_cv_have_bash2=no