~ubuntu-branches/ubuntu/trusty/fftw3/trusty

« back to all changes in this revision

Viewing changes to m4/acx_mpi.m4

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2012-06-21 23:07:47 UTC
  • mfrom: (3.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120621230747-qj9twdwsyps36x30
Tags: 3.3.2-3ubuntu1
* merge with Debian (LP: #1007259, #781726)
* remove the mpi packages not suitable for main
* add debian/source/extended-diff-ignore to ignore generated files
* add hardening flags to long long test so build log check does not complain

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
])
64
64
 
65
65
if test x = x"$MPILIBS"; then
66
 
        AC_LANG_CASE([C], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])],
67
 
                [C++], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])],
 
66
        AC_LANG_CASE([C], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=""])],
 
67
                [C++], [AC_CHECK_FUNC(MPI_Init, [MPILIBS=""])],
68
68
                [Fortran 77], [AC_MSG_CHECKING([for MPI_Init])
69
 
                        AC_TRY_LINK([],[      call MPI_Init], [MPILIBS=" "
 
69
                        AC_TRY_LINK([],[      call MPI_Init], [MPILIBS=""
70
70
                                AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])])
71
71
fi
72
72
if test x = x"$MPILIBS"; then