X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure.ac;h=3529a65ec91f6b6796fa24c60d1b5eaf56d7e873;hp=32ba148517f59130c3a098c16beb5491fdd973b2;hb=71fdb941e62f5e4bf131bc40468cfa7a4a5c986a;hpb=e937cf43540a47c8163a3f590b2415487a7b8f0a diff --git a/configure.ac b/configure.ac index 32ba1485..3529a65e 100644 --- a/configure.ac +++ b/configure.ac @@ -59,10 +59,9 @@ dnl Check for stuff needed for building the GiNaC interactive shell (ginsh). AC_CHECK_HEADERS(unistd.h) GINAC_HAVE_RUSAGE GINAC_READLINE -dnl Python3 is necessary for building function.{cpp,h} -AC_PATH_PROG(PYTHON3, python3, "") -AS_IF([test -z "$PYTHON3" -a ! -f "$srcdir/ginac/function.cpp"], - [AC_MSG_ERROR([GiNaC will not compile because Python3 is missing])]) +dnl Python is necessary for building function.{cpp,h} +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