Skip to content

Commit c9010ba

Browse files
authored
Revert "fix configure.ac/autotools issue"
1 parent 280121c commit c9010ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configure.ac

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ ACX_MPI([], [AC_MSG_ERROR([could not find mpi library for C])])
2626
if test -z "${HAVE_MPI_TRUE}"; then
2727
AC_LANG(C++)
2828
ACX_MPI([], [AC_MSG_ERROR([could not find mpi library for C++])])
29+
else
30+
AC_DEFINE(HAVE_MPI,0,[Don not have MPI to build parallel libraries])
2931
fi
30-
AM_CONDITIONAL([HAVE_MPI], [test -z "${HAVE_MPI_TRUE}"])
3132

3233
AC_ARG_ENABLE(fortran,
3334
[AS_HELP_STRING([--disable-fortran],[disable building Fortran libraries.])])

0 commit comments

Comments
 (0)