***SPAM*** Re: [ofa-general] ***SPAM*** [PATCH] opensm/*/Makefile.am: remove explicit -lpthread and -ldl flags from Makefile.am

Ira Weiny weiny2 at llnl.gov
Mon Jul 28 10:51:35 PDT 2008


Oh, nevermind.  I though you removed it... "-" vs "+"...

Sorry, it was too early for my previous email...

Ira

On Mon, 28 Jul 2008 19:37:05 +0300
Sasha Khapyorsky <sashak at voltaire.com> wrote:

> 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