1
1

fix a typo and add an actual pvfs function in the configure link-test.

This commit was SVN r25120.
Этот коммит содержится в:
Edgar Gabriel 2011-09-07 15:46:41 +00:00
родитель 53725af281
Коммит 4bc2e9b023
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -95,8 +95,11 @@ AC_DEFUN([OMPI_CHECK_PVFS2],[
# check for pvfs2 # check for pvfs2
AC_CHECK_HEADERS([pvfs2.h], AC_CHECK_HEADERS([pvfs2.h],
[AC_MSG_CHECKING([if possible to link PVFS2]) [AC_MSG_CHECKING([if possible to link PVFS2])
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pvfs2.h>], AC_LINK_IFELSE(
[int i;])], [AC_LANG_PROGRAM(
[[#include <stdio.h>
#include <pvfs2.h>]],
[[PVFS_util_resolve(NULL,NULL,NULL,0);]])],
[AC_MSG_RESULT([yes]) [AC_MSG_RESULT([yes])
ompi_check_pvfs2_happy="yes"], ompi_check_pvfs2_happy="yes"],
[AC_MSG_RESULT([no]) [AC_MSG_RESULT([no])

Просмотреть файл

@ -48,7 +48,7 @@ AM_CPPFLAGS = $(fs_pvfs2_CPPFLAGS)
mcacomponentdir = $(pkglibdir) mcacomponentdir = $(pkglibdir)
mcacomponent_LTLIBRARIES = $(component_install) mcacomponent_LTLIBRARIES = $(component_install)
mca_fs_pvfs2_la_SOURCES = $(fs_pvfs2_sources) mca_fs_pvfs2_la_SOURCES = $(fs_pvfs2_sources)
mca_fs_pvfs2_la_LIBADD = $(fs_pvfs_LIBS) mca_fs_pvfs2_la_LIBADD = $(fs_pvfs2_LIBS)
mca_fs_pvfs2_la_LDFLAGS = -module -avoid-version $(fs_pvfs2_LDFLAGS) mca_fs_pvfs2_la_LDFLAGS = -module -avoid-version $(fs_pvfs2_LDFLAGS)
noinst_LTLIBRARIES = $(component_noinst) noinst_LTLIBRARIES = $(component_noinst)