[darcs-users] Re: Autoconf support

David Roundy droundy at abridgegame.org
Wed May 21 22:12:08 UTC 2003


On Wed, May 21, 2003 at 11:55:29PM +0200, Peter Simons wrote:
> David Roundy writes:
>  > The other was that libpthread needed to be included whenever
>  > hscurl.o is used.
> 
> OK. The difference is probably, that on my system the thread code is part
> of libc, so I don't need to give the -lpthread explicitly.
> Interesting. I guess, I'll write a test for finding the library
> containing pthread_create(). Then we just link _that_, no matter how it's
> called. (On some BSD systems there appears to be a different threading
> library, which is not called pthread.)

Sounds good.  Also sounds like you know autoconf much better than I do (no
surprise since you volunteered for this).

> One other thing: The Makefile does require GNU make because of the
> "include" statement. Would you mind renaming it to GNUmakefile? Then
> other makes won't choke on it. On we'd have 'card blanche' to make
> full use of GNU make's features, rather than sticking to a minimal
> subset, as of now.

Hmmmm.  I didn't know that was GNU make-specific.  Do you have any idea how
to nicely avoid the include? I suppose by just using a Makefile.in, but
then you can't have make automatically run configure, which is rather
nice... I'd rather not require GNU make (having been forced to use non-GNU
make in the past...) but if we don't decide to avoid the include I'll agree
to rename it to GNUmakefile.
-- 
David Roundy
http://civet.berkeley.edu/droundy/




More information about the darcs-users mailing list