From: David Syzdek Date: Mon, 03 Nov 2008 18:18:42 GMT Subject: Re: [PATCH] Make Pthread link flags configurable Message-ID: <9a0027270811031018t2b90ee64kcd2ef5e9afa73f6a@mail.gmail.com> In-Reply-To: On Mon, Nov 3, 2008 at 12:44 AM, Jakub Narebski wrote: > david.syzdek@acsalaska.net writes: > >> From: David M. Syzdek >> >> FreeBSD 4.x systems use the linker flags `-pthread' instead of the >> linker flags `-lpthread' when linking against the pthread library. >> >> Signed-off-by: David M. Syzdek >> --- >> Makefile | 4 +++- >> 1 files changed, 3 insertions(+), 1 deletions(-) > > Would it be possible to add support for this also to configure.ac > (and config.mak.in)? > I just sent a patch to the list that adds autoconf tests for pthreads. If the test is able to determine which flag to use, then it also sets THREADED_DELTA_SEARCH.