From 464a53793f803ee4e8b644becc57c1c0507604c1 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 3 May 2006 02:47:01 +0000 Subject: [PATCH] * configure.ac: Don't error-out configure if Python not found; Python is completely optional. Noticed by: Stephen Polkowski svn path=/trunk/yasm/; revision=1518 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 80a7a303..1e1e0451 100644 --- a/configure.ac +++ b/configure.ac @@ -264,10 +264,10 @@ if test x$enable_python = xno; then else AC_MSG_NOTICE([Checking to see if we can build Python bindings]) have_python=no - AM_PATH_PYTHON(2.4) + AM_PATH_PYTHON(2.4,[],[AC_MSG_WARN([Python not found])]) - if test -z "$PYTHON" ; then - AC_MSG_WARN([Python not found]) + if test -z "$PYTHON" || test "$PYTHON" = : ; then + have_python=no else AC_MSG_CHECKING([for Pyrex >= 0.9.3]) PYREX_CHECK_VERSION(0.9.3, [AC_MSG_RESULT(yes) -- 2.40.0