diff options
Diffstat (limited to 'dev-libs/maloc/files/maloc-1.4-mpi.patch')
-rw-r--r-- | dev-libs/maloc/files/maloc-1.4-mpi.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/maloc/files/maloc-1.4-mpi.patch b/dev-libs/maloc/files/maloc-1.4-mpi.patch new file mode 100644 index 000000000000..c11420e80213 --- /dev/null +++ b/dev-libs/maloc/files/maloc-1.4-mpi.patch @@ -0,0 +1,22 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -397,12 +397,14 @@ AC_SUBST(rl_inc) + dnl # ---------------------- + dnl # HANDLE THE MPI LIBRARY + dnl # ---------------------- ++mpi_use="" + AC_MSG_CHECKING([whether you want MPI]) +-AC_ARG_ENABLE(mpi, +- [ --enable-mpi enable MPI layer [[default=no]]], +- [ mpi_use="yes" ], +- [ mpi_use="" ] +-) ++AC_ARG_ENABLE([mpi], ++ AS_HELP_STRING([--enable-mpi enable MPI layer [[default=no]]])) ++ ++AS_IF([test "x$enable_mpi" = "xyes"], [ ++ mpi_use="yes" ++]) + mpi_lib=""; + mpi_inc=""; + if test -z "${mpi_use}"; then |