Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update find python #41

Merged
merged 2 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Defs.mak.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CXX = @CXX@
FC = @F77@
AR = ar
RANLIB = @RANLIB@
PYTHON = python
PYTHON = @HAVE_PYTHON@

CFLAGS = @CFLAGS@
FFLAGS = @FFLAGS@
Expand Down
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,11 @@ if test "x$AR" = "x"; then
AR=ar
fi

AC_CHECK_PROG(HAVE_PYTHON,[python],[python],[no])
AC_CHECK_PROGS(HAVE_PYTHON,[python python3 python2],[no])
if test "x$HAVE_PYTHON" == "xno" ; then
AC_MSG_ERROR([Python is required to build mpiP.])
fi
AC_SUBST(HAVE_PYTHON)

TEST_LIST=

Expand Down Expand Up @@ -837,6 +838,7 @@ echo
echo " C compiler : ${CC}"
echo " C++ compiler : ${CXX}"
echo " Fortran compiler : ${F77}"
echo " Python : ${HAVE_PYTHON}"
echo
echo " Timer : ${TIMER_NAME}"
echo " Stack Unwinding : ${UNWIND_WITH}"
Expand Down