X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=configure.ac;h=32ba148517f59130c3a098c16beb5491fdd973b2;hb=8a7fb0be7ad81906946715f60916ff1d3400aabe;hp=0a178069acbc50747d9c1aad73b39183bcd1953f;hpb=4f0b17af13eb5f7f34fdab171c6d630a77badb3d;p=ginac.git diff --git a/configure.ac b/configure.ac index 0a178069..32ba1485 100644 --- a/configure.ac +++ b/configure.ac @@ -59,10 +59,10 @@ dnl Check for stuff needed for building the GiNaC interactive shell (ginsh). 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])]) +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 Check for dl library (needed for GiNaC::compile). GINAC_EXCOMPILER