ZMQII-67: Build checks for python even if it's not needed

This commit is contained in:
Martin Sustrik 2010-02-09 15:15:44 +01:00
parent 4c870ede7f
commit 6b2ca4e158

View File

@ -322,7 +322,7 @@ fi
RUBYDIR="$rubydir" RUBYDIR="$rubydir"
AC_SUBST([RUBYDIR]) AC_SUBST([RUBYDIR])
if test "x$pyzmq" != "xyes"; then if test "x$pyzmq" = "xyes"; then
AC_CHECK_PROG(have_python, python, yes, no) AC_CHECK_PROG(have_python, python, yes, no)
if test "x$have_python" != "xyes"; then if test "x$have_python" != "xyes"; then
AC_MSG_ERROR([Could not find python.]) AC_MSG_ERROR([Could not find python.])