wespvp@syntegra.com wrote:
> On 4/25/04 8:57 AM, "Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
>
> > In config/acx_pthreasd.m4, I see:
> >
> > acx_pthread_flags="pthreads none -Kthread -kthread lthread \
> > -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-conf
> > ...
> >
> > The configure test should be trying -lpthread as part of its work.
> >
> > Can you check config.log to see why it is failing? Here is the code
> > that should be checking:
>
> I don't see it attempting that test at all, but could be overlooking it.
> I'll send you the config.log file.
OK, I just did some major wacking of the thread stuff and tried it on
FreeBSD 4.9. It failed because getpwuid() isn't thread-safe on that
platform, and there isn't a getpwuid_r() function, but it did pick up
-pthread as a valid option.
Please test CVS HEAD and report back. Thanks.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073