X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure.ac;h=3529a65ec91f6b6796fa24c60d1b5eaf56d7e873;hp=0a178069acbc50747d9c1aad73b39183bcd1953f;hb=7704505fbf7d969ff918f8bf2ff9ed976194987a;hpb=4f0b17af13eb5f7f34fdab171c6d630a77badb3d diff --git a/configure.ac b/configure.ac index 0a178069..3529a65e 100644 --- a/configure.ac +++ b/configure.ac @@ -60,9 +60,8 @@ AC_CHECK_HEADERS(unistd.h) GINAC_HAVE_RUSAGE GINAC_READLINE dnl Python is necessary for building function.{cpp,h} -AC_PATH_PROG(PYTHON, python, "") -AS_IF([test -z "$PYTHON" -a ! -f "$srcdir/ginac/function.cpp"], - [AC_MSG_ERROR([GiNaC will not compile because Python is missing])]) +AM_PATH_PYTHON([2.7],, + [AC_MSG_ERROR([GiNaC will not compile because Python is missing])]) dnl Check for dl library (needed for GiNaC::compile). GINAC_EXCOMPILER