***SPAM*** Re: [ofa-general] ***SPAM*** [PATCH] opensm/*/Makefile.am: remove explicit -lpthread and -ldl flags from Makefile.am
Sasha Khapyorsky
sashak at voltaire.com
Mon Jul 28 09:37:05 PDT 2008
Hi Ira,
On 08:48 Mon 28 Jul , Ira Weiny wrote:
> > diff --git a/opensm/configure.in b/opensm/configure.in
> > index 7d04c14..7da932b 100644
> > --- a/opensm/configure.in
> > +++ b/opensm/configure.in
> > @@ -38,6 +38,8 @@ fi
> > dnl Checks for libraries
> > AC_CHECK_LIB(pthread, pthread_mutex_init, [],
> > AC_MSG_ERROR([pthread_mutex_init() not found. libosmcomp requires libpthread.]))
> > +AC_CHECK_LIB(dl, dlopen, [],
> > + AC_MSG_ERROR([dlopen() not found. OpenSM requires libdl.]))
> >
> > dnl Checks for typedefs, structures, and compiler characteristics.
> > AC_C_CONST
>
> I think it is still valid to check for the dl lib.
Sure, so I add this check to configure.in - this should generate -ldl as
part of LIBS variable.
Sasha
More information about the general
mailing list