Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2008 10:16:26 -0800
From:      Julian Elischer <julian@elischer.org>
To:        "Karl H. Beckers" <karl.h.beckers@gmx.net>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: threading in FreeBSD (acx_pthreads)
Message-ID:  <47A7567A.4030800@elischer.org>
In-Reply-To: <5913.192.9.112.196.1202124683.squirrel@www.our-isp.org>
References:  <5913.192.9.112.196.1202124683.squirrel@www.our-isp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Karl H. Beckers wrote:
> Hi all,
> 
> could you please include me directly in your replies ... I haven't
> subscribed.
> 
> I'm trying to move my configure.in from manual threading libs detection
> to acx_pthreads. That, however, prefers -kthread over -pthread where I
> previously did this:

what are acx_pthreads?

> 
>                 if ( test -x /sbin/sysctl ) ; then
>                         ac_my_freebsd_release=`/sbin/sysctl -n
> kern.osreldate`
>                 else
>                         ac_my_freebsd_release=`/usr/sbin/sysctl -n
> kern.osreldate`
>                 fi
>                 if ( expr ${ac_my_freebsd_release} \< 500016 ) ; then
>                         LIBS="${LIBS} -pthread"
>                 else
>                         LIBS="${LIBS} -lc_r"
>                 fi
> 
> Could anybody make a recommendation of the propert thing to do on
> FreeBSD? Is the acx_pthread assumption OK, or should I patch that?
> 
> TIA,
> 
> Karl.
> 
> 
> _______________________________________________
> freebsd-threads@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A7567A.4030800>