diff --git a/configure b/configure index 37b3130d32..b886de4e27 100755 --- a/configure +++ b/configure @@ -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; } diff --git a/configure.in b/configure.in index 71481810d4..2799501fc8 100644 --- a/configure.in +++ b/configure.in @@ -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