break from loop if we have found a good python
This commit is contained in:
1
configure
vendored
1
configure
vendored
@@ -11865,6 +11865,7 @@ $as_echo_n "checking python module 'argparse'... " >&6; }
|
||||
if ${PYTHON:-false} -c "$testargparse"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
|
||||
$as_echo "found" >&6; }
|
||||
break
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
|
||||
$as_echo "not found" >&6; }
|
||||
|
||||
@@ -245,6 +245,7 @@ case "$use_python" in
|
||||
AC_MSG_CHECKING([python module 'argparse'])
|
||||
if ${PYTHON:-false} -c "$testargparse"; then
|
||||
AC_MSG_RESULT([found])
|
||||
break
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
unset ac_cv_path_PYTHON
|
||||
|
||||
Reference in New Issue
Block a user