* steven woody wrote on Wed, Sep 20, 2006 at 10:26:53AM CEST: > On 9/20/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> >For the simplest part, throw out the LDFLAGS setting in Makefile.am (if > >anything you should be setting AM_LDFLAGS; LDFLAGS is reserved for the > >user). Then have the user on GNU/Linux do > > ./configure LDFLAGS=-pthread > > glad to know the method, i will try it! thank you very much. I should add that in general, it is not sufficient to specify -pthread only at link time. So you may have to put the flag in CFLAGS and/or CPPFLAGS as well; probably this is safe for C code: ./configure CPPFLAGS=-pthread LDFLAGS=-pthread Cheers, Ralf