rollback
This commit was SVN r5660.
Этот коммит содержится в:
родитель
d54c6fafe0
Коммит
6a565b3fb7
@ -61,14 +61,14 @@ AC_DEFUN([MCA_CONFIGURE_STUB],[
|
||||
EXTRA_LDFLAGS=
|
||||
if test -n "$with_ptl_ib_libdir"; then
|
||||
if test -d "$with_ptl_ib_libdir/lib"; then
|
||||
EXTRA_LDFLAGS="-L$with_ptl_ib_libdir/lib64"
|
||||
EXTRA_LDFLAGS="-L$with_ptl_ib_libdir/lib"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $with_ptl_ib_libdir/lib])
|
||||
AC_MSG_WARN([*** Will still try to configure ib ptl anyway...])
|
||||
fi
|
||||
elif test -n "$with_ptl_ib"; then
|
||||
if test -d "$with_ptl_ib/lib"; then
|
||||
EXTRA_LDFLAGS="-L$with_ptl_ib/lib64"
|
||||
EXTRA_LDFLAGS="-L$with_ptl_ib/lib"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $with_ptl_ib/lib])
|
||||
AC_MSG_WARN([*** Will still try to configure ib ptl anyway...])
|
||||
@ -80,8 +80,18 @@ AC_DEFUN([MCA_CONFIGURE_STUB],[
|
||||
|
||||
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
|
||||
AC_CHECK_LIB([vapi], [EVAPI_list_hcas], [], [vapi_badness=true],
|
||||
[-lmpga -lmosal])
|
||||
LIBS="$LIBS -lmpga -lmosal"
|
||||
[-lmtl_common -lmpga -lmosal])
|
||||
if test -n "$vapi_badness"; then
|
||||
AC_CHECK_LIB([pthread], [pthread_create],
|
||||
[pthread=yes LIBS="$LIBS -lpthread"],
|
||||
[pthread=no])
|
||||
if test "$pthread" = "yes"; then
|
||||
AC_CHECK_LIB([vapi], [EVAPI_open_hca], [],
|
||||
[AC_MSG_ERROR([*** Cannot find libvapi])],
|
||||
[-lmtl_common -lmpga -lmosal])
|
||||
fi
|
||||
fi
|
||||
LIBS="$LIBS -lmtl_common -lmpga"
|
||||
|
||||
#
|
||||
# Save extra compiler/linker flags so that they can be added in
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user