diff options
author | Matti Bickel <mabi@gentoo.org> | 2010-02-28 22:12:11 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2010-02-28 22:12:11 +0000 |
commit | c9e4fccc975e41053e9f2337b47b2fa7f83c3095 (patch) | |
tree | 22f956690faabf58d2e77039c66daab1c82a4aca /sys-cluster/mpi-dotnet/files/configure.ac.patch | |
parent | I no longer use this on any systems, removing myself as the maintainer (diff) | |
download | gentoo-2-c9e4fccc975e41053e9f2337b47b2fa7f83c3095.tar.gz gentoo-2-c9e4fccc975e41053e9f2337b47b2fa7f83c3095.tar.bz2 gentoo-2-c9e4fccc975e41053e9f2337b47b2fa7f83c3095.zip |
build fix
(Portage version: 2.1.7.16/cvs/Linux i686)
Diffstat (limited to 'sys-cluster/mpi-dotnet/files/configure.ac.patch')
-rw-r--r-- | sys-cluster/mpi-dotnet/files/configure.ac.patch | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/sys-cluster/mpi-dotnet/files/configure.ac.patch b/sys-cluster/mpi-dotnet/files/configure.ac.patch index 2c69aa1d5ce6..0b64ae60b600 100644 --- a/sys-cluster/mpi-dotnet/files/configure.ac.patch +++ b/sys-cluster/mpi-dotnet/files/configure.ac.patch @@ -1,6 +1,26 @@ ---- mpi.net-1.0.0.orig/configure.ac 2009-02-03 23:55:46.000000000 +0100 -+++ mpi.net-1.0.0/configure.ac 2009-02-06 21:59:21.000000000 +0100 -@@ -202,9 +202,16 @@ +--- orig/mpi.net-1.0.0/configure.ac 2008-10-06 15:52:38.000000000 +0200 ++++ work/mpi.net-1.0.0/configure.ac 2010-03-01 00:02:49.000000000 +0100 +@@ -164,19 +164,6 @@ + dnl We do not need the C bridge at all; everything can be done from C# + need_cbridge="no" + +- real_CC="$CC" +- CC="$MPICC" +- AC_CHECK_LIB(pmpich,MPI_Init,[HAVE_LIBPMPICH=yes],[HAVE_LIBPMPICH=no],) +- AC_CHECK_LIB(mpich,PMPI_Init,[HAVE_LIBMPICH=yes],[HAVE_LIBMPICH=no],) +- +- if test "$HAVE_LIBPMPICH" = "no" ; then +- if test "$HAVE_LIBMPICH" = "yes" ; then +- AC_MSG_ERROR([ MPICH library is built statically. +- Please install MPICH built as a shared library by configuring MPICH with +- the --enable-sharedlibs=??? option)]) +- fi +- fi +- CC="real_CC" + elif test "$MPI_KIND" = "openmpi" ; then + dnl With Open MPI, we need to explicitly determine which libraries + dnl the MPI.NET C bridge will need to link against, because libtool +@@ -202,9 +189,16 @@ AM_CONDITIONAL(MPINET_CBRIDGE, test "$need_cbridge" = "yes") dnl Variable substitutions |