[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: Re: [CVS] OpenPKG: openpkg-ui/fe/gui TODO configure.in
From: "Ralf S. Engelschall" <rse () engelschall ! com>
Date: 2002-10-21 19:30:27
[Download RAW message or body]
On Mon, Oct 21, 2002, Michael Schloh von Bennewitz wrote:
> >> Remove whitespace and a compiler-only link flag.
> >> [...]
> >> -LIBS="$PTHREAD_CFLAGS $LIBS"
> >> +LIBS="-pthread $LIBS"
> >> [...]
> >
> > Be careful, option -pthread exists mostly just on gcc.
> >
> I'm also not too happy about this change. I did it because our handy
> ACX_PTHREAD macro is failing to return '-pthread' as a linker flag, and
> FreeBSD builds are broken when using gcc without this flag.
>
> I therefore have to choose between two nasty hacks: (1) use CFLAGS
> (-DREENTRANT -pthread) when linking or (2) hardcode '-pthread' which seems to
> work in all OS with gcc. If you have a preference, or a better idea just let
> me know.
The best solution is to rewrite the ACX_PTHREAD macro to work correctly.
And until this macro is really working, another reason to kick it out
from our OpenPKG "autoconf" package... ;)
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic