Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Oct 2002 10:55:25 -0400
From:      Brian Love <lovebot@comcast.net>
To:        ports@FreeBSD.org
Subject:   /usr/ports/net/openldap2
Message-ID:  <5.1.1.6.0.20021006104706.00a22940@mail.comcast.net>

next in thread | raw e-mail | index | archive | help
configure: error: could not locate usable POSIX Threads
===>  Script "configure" failed unexpectedly.
       Please report the problem to ports@FreeBSD.org [maintainer] and attach
       the 
"/usr/ports/net/openldap2/work/openldap-2.0.25/config.log"    including the 
output of the failure of your make command. Also, it      might be a good 
idea to provide an overview of all packages installed   on your system
       (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net/openldap2.

config.log--

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:708: checking host system type
configure:729: checking target system type
configure:747: checking build system type
configure:782: checking for a BSD compatible install
configure:835: checking whether build environment is sane
configure:896: checking for mawk
configure:896: checking for gawk
configure:896: checking for nawk
configure:926: checking whether make sets ${MAKE}
configure:966: checking for working aclocal
configure:979: checking for working autoconf
configure:992: checking for working automake
configure:1005: checking for working autoheader
configure:1018: checking for working makeinfo
configure:1038: checking for gnutar
configure:1038: checking for gtar
configure:1038: checking for tar
configure:1087: checking configure arguments
configure:2364: checking for ar
configure:2422: checking for ranlib
configure:2452: checking for gcc
configure:2565: checking whether the C compiler (cc -O 
-pipe   -L/usr/local/lib) works
configure:2581: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:2607: checking whether the C compiler (cc -O 
-pipe   -L/usr/local/lib) is a cross-compiler
configure:2612: checking whether we are using GNU C
configure:2621: cc -E conftest.c
configure:2640: checking whether cc accepts -g
configure:2683: checking for ld used by GCC
configure:2745: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
configure:2761: checking for BSD-compatible nm
configure:2797: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe  -fPIC -DPIC -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe  -o out/conftest2.o -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe  -c -o conftest.lo -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe  -fno-rtti -fno-exceptions -c conftest.c 
-D_REENTRANT -D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib -static conftest.c  1>&5
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 
's/^.*[      ]\([ABCDGISTW]\)[       ][ 
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: cc -o conftest -O -pipe  -fno-builtin -fno-rtti 
-fno-exceptions -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c conftstm.o 1>&5
ltconfig:2212: checking for dlopen in -ldl
ltconfig:2233: cc -o conftest -O -pipe  -fno-builtin -fno-rtti 
-fno-exceptions -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -ldl   1>&5
/usr/libexec/elf/ld: cannot find -ldl
ltconfig: failed program was:
#line 2220 "ltconfig"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char dlopen();
int main() {
dlopen()
; return 0; }
ltconfig:2252: checking for dlopen
ltconfig:2282: cc -o conftest -O -pipe  -fno-builtin -fno-rtti 
-fno-exceptions -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
ltconfig:2452: checking for dlfcn.h
ltconfig:2462: cc -c -O -pipe  -fno-builtin -fno-rtti -fno-exceptions 
-D_REENTRANT -D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c 1>&5 >/dev/null 2>conftest.out
ltconfig:2490: checking whether a program can dlopen itself
ltconfig:2544: cc -o conftest -O -pipe  -fno-builtin -fno-rtti 
-fno-exceptions -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-DHAVE_DLFCN_H  -L/usr/local/lib -Wl,--export-dynamic conftest.c   1>&5
ltconfig:2563: checking whether a statically linked program can dlopen itself
ltconfig:2617: cc -o conftest -O -pipe  -fno-builtin -fno-rtti 
-fno-exceptions -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-DHAVE_DLFCN_H  -L/usr/local/lib -Wl,--export-dynamic -static conftest.c   1>&5
ltconfig: failed program was:
#line 2571 "ltconfig"
#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif
#include <stdio.h>
#ifdef RTLD_GLOBAL
# define LTDL_GLOBAL    RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
#  define LTDL_GLOBAL   DL_GLOBAL
# else
#  define LTDL_GLOBAL   0
# endif
#endif
/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
    find out it does not work in some platform. */
#ifndef LTDL_LAZY_OR_NOW
# ifdef RTLD_LAZY
#  define LTDL_LAZY_OR_NOW      RTLD_LAZY
# else
#  ifdef DL_LAZY
#   define LTDL_LAZY_OR_NOW     DL_LAZY
#  else
#   ifdef RTLD_NOW
#    define LTDL_LAZY_OR_NOW    RTLD_NOW
#   else
#    ifdef DL_NOW
#     define LTDL_LAZY_OR_NOW   DL_NOW
#    else
#     define LTDL_LAZY_OR_NOW   0
#    endif
#   endif
#  endif
# endif
#endif
fnord() { int i=42;}
main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
     if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
     if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); }
configure:3143: checking for mawk
configure:3174: checking whether ln works
configure:3197: checking whether ln -s works
configure:3225: checking for sendmail
configure:3261: checking for vi
configure:3297: checking for finger
configure:3332: checking how to run the C preprocessor
configure:3353: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:3425: checking for AIX
configure:3449: checking for POSIXized ISC
configure:3471: checking for minix/config.h
configure:3481: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:3477: minix/config.h: No such file or directory
configure: failed program was:
#line 3476 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:3520: checking for Cygwin environment
configure:3536: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure: In function `main':
configure:3532: `__CYGWIN32__' undeclared (first use in this function)
configure:3532: (Each undeclared identifier is reported only once
configure:3532: for each function it appears in.)
configure: failed program was:
#line 3525 "configure"
#include "confdefs.h"
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:3553: checking for mingw32 environment
configure:3565: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure: In function `main':
configure:3561: `__MINGW32__' undeclared (first use in this function)
configure:3561: (Each undeclared identifier is reported only once
configure:3561: for each function it appears in.)
configure: failed program was:
#line 3558 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:3584: checking for executable suffix
configure:3594: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:3615: checking for object suffix
configure:3621: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure:3645: checking for be_app in -lbe
configure:3664: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lbe -lroot -lnet  1>&5
/usr/libexec/elf/ld: cannot find -lbe
configure: failed program was:
#line 3653 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char be_app();
int main() {
be_app()
; return 0; }
configure:3690: checking for cc option to accept ANSI C
configure:3744: cc  -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure:3778: checking for cc depend flag
configure:3788: cc -M conftest.c
configure:3821: checking for afopen in -ls
configure:3840: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -ls   1>&5
/usr/libexec/elf/ld: cannot find -ls
configure: failed program was:
#line 3829 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char afopen();
int main() {
afopen()
; return 0; }
configure:3977: checking for EBCDIC
configure:3992: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:3986: __ASCII__/generate_error.h: No such file or directory
configure: failed program was:
#line 3983 "configure"
#include "confdefs.h"
#if !('M' == 0xd4)
#include <__ASCII__/generate_error.h>
#endif
configure:4016: checking for ANSI C header files
configure:4029: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4103: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:4137: checking for dirent.h that defines DIR
configure:4150: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure:4175: checking for opendir in -ldir
configure:4194: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -ldir   1>&5
/usr/libexec/elf/ld: cannot find -ldir
configure: failed program was:
#line 4183 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char opendir();
int main() {
opendir()
; return 0; }
configure:4258: checking for sys/wait.h that is POSIX.1 compatible
configure:4279: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure:4300: checking POSIX termios
configure:4315: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:4331: checking whether use of TIOCGWINSZ requires sys/ioctl.h
configure:4443: checking for arpa/inet.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for arpa/nameser.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for assert.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for conio.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: conio.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <conio.h>
configure:4443: checking for crypt.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: crypt.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <crypt.h>
configure:4443: checking for direct.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: direct.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <direct.h>
configure:4443: checking for errno.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for fcntl.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for filio.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: filio.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <filio.h>
configure:4443: checking for getopt.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for grp.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for io.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: io.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <io.h>
configure:4443: checking for libutil.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for limits.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for locale.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for netinet/tcp.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for malloc.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
In file included from configure:4449:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> 
which is deprecated, use <stdlib.h> instead"
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:4443: checking for memory.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for psap.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: psap.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <psap.h>
configure:4443: checking for pwd.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for process.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: process.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <process.h>
configure:4443: checking for resolv.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sgtty.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for shadow.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: shadow.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <shadow.h>
configure:4443: checking for stddef.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for string.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for strings.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sysexits.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/file.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/filio.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/errno.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/ioctl.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/param.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/resource.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/select.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/socket.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/syslog.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/time.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for sys/types.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for syslog.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for termios.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for unistd.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4443: checking for winsock.h
configure:4453: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:4449: winsock.h: No such file or directory
configure: failed program was:
#line 4448 "configure"
#include "confdefs.h"
#include <winsock.h>
configure:4483: checking for dlopen
configure:4511: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:4579: checking for sigset in -lV3
configure:4598: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lV3   1>&5
/usr/libexec/elf/ld: cannot find -lV3
configure: failed program was:
#line 4587 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char sigset();
int main() {
sigset()
; return 0; }
configure:4673: checking for socket
configure:4701: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:4986: checking for select
configure:5014: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5037: checking types of arguments for select()
configure:5070: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure:5115: checking for regex.h
configure:5125: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:5155: checking for regfree
configure:5183: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5206: checking for compatible POSIX regex
configure:5241: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5263: checking for res_query
configure:5291: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5584: checking for getaddrinfo
configure:5612: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5584: checking for gai_strerror
configure:5612: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5584: checking for inet_ntop
configure:5612: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:5644: checking INET6_ADDRSTRLEN
configure:5685: checking for sys/un.h
configure:5695: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:6305: checking for openssl/ssl.h
configure:6315: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:6305: checking for ssl.h
configure:6315: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:6311: ssl.h: No such file or directory
configure: failed program was:
#line 6310 "configure"
#include "confdefs.h"
#include <ssl.h>
configure:6344: checking for SSLeay_add_ssl_algorithms in -lssl
configure:6363: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lssl -lcrypto  1>&5
/tmp/ccL1bKtV.o: In function `main':
/tmp/ccL1bKtV.o(.text+0x7): undefined reference to `SSLeay_add_ssl_algorithms'
configure: failed program was:
#line 6352 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char SSLeay_add_ssl_algorithms();
int main() {
SSLeay_add_ssl_algorithms()
; return 0; }
configure:6388: checking for SSL_library_init in -lssl
configure:6407: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lssl -lcrypto  1>&5
configure:6522: checking for ctime_r
configure:6550: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
configure:6522: checking for gethostbyname_r
configure:6550: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
/tmp/cc39FvsZ.o: In function `main':
/tmp/cc39FvsZ.o(.text+0x7): undefined reference to `gethostbyname_r'
configure: failed program was:
#line 6527 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char gethostbyname_r(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char gethostbyname_r();
int main() {
/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub_gethostbyname_r) || defined (__stub___gethostbyname_r)
choke me
#else
gethostbyname_r();
#endif
; return 0; }
configure:6522: checking for gethostbyaddr_r
configure:6550: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
/tmp/ccmTZRUQ.o: In function `main':
/tmp/ccmTZRUQ.o(.text+0x7): undefined reference to `gethostbyaddr_r'
configure: failed program was:
#line 6527 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char gethostbyaddr_r(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char gethostbyaddr_r();
int main() {
/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub_gethostbyaddr_r) || defined (__stub___gethostbyaddr_r)
choke me
#else
gethostbyaddr_r();
#endif
; return 0; }
configure:6579: checking number of arguments of ctime_r
configure:6591: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure: In function `main':
configure:6587: too many arguments to function `ctime_r'
configure: failed program was:
#line 6584 "configure"
#include "confdefs.h"
#include <time.h>
int main() {
time_t ti; char *buffer; ctime_r(&ti,buffer,32);
; return 0; }
configure:6610: cc -c -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 conftest.c 1>&5
configure:6851: checking for _beginthread
configure:6879: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
/tmp/cc2WVQgV.o: In function `main':
/tmp/cc2WVQgV.o(.text+0x7): undefined reference to `_beginthread'
configure: failed program was:
#line 6856 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char _beginthread(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char _beginthread();
int main() {
/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub__beginthread) || defined (__stub____beginthread)
choke me
#else
_beginthread();
#endif
; return 0; }
configure:6934: checking for pthread.h
configure:6944: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:6973: checking POSIX thread version
configure:7054: checking for LinuxThreads pthread.h
configure:7086: checking for GNU Pth pthread.h
configure:7120: checking for sched.h
configure:7130: cc -E -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
conftest.c >/dev/null 2>conftest.out
configure:7160: checking for pthread_create in default libraries
configure:7346: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c  1>&5
/tmp/ccjYvyAc.o: In function `main':
/tmp/ccjYvyAc.o(.text+0x22): undefined reference to `pthread_attr_init'
/tmp/ccjYvyAc.o(.text+0x4a): undefined reference to 
`pthread_attr_setdetachstate'
/tmp/ccjYvyAc.o(.text+0x65): undefined reference to `pthread_create'
configure: failed program was:
#line 7260 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:7371: checking for pthread link with -kthread
configure:7561: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -kthread  1>&5
cc: unrecognized option `-kthread'
/tmp/cchLVgmw.o: In function `main':
/tmp/cchLVgmw.o(.text+0x22): undefined reference to `pthread_attr_init'
/tmp/cchLVgmw.o(.text+0x4a): undefined reference to 
`pthread_attr_setdetachstate'
/tmp/cchLVgmw.o(.text+0x65): undefined reference to `pthread_create'
configure: failed program was:
#line 7475 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:7591: checking for pthread link with -pthread
configure:7781: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -pthread  1>&5
configure: failed program was:
#line 7695 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:7811: checking for pthread link with -pthreads
configure:8001: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -pthreads  1>&5
cc: unrecognized option `-pthreads'
/tmp/ccrV9cex.o: In function `main':
/tmp/ccrV9cex.o(.text+0x22): undefined reference to `pthread_attr_init'
/tmp/ccrV9cex.o(.text+0x4a): undefined reference to 
`pthread_attr_setdetachstate'
/tmp/ccrV9cex.o(.text+0x65): undefined reference to `pthread_create'
configure: failed program was:
#line 7915 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:8031: checking for pthread link with -mthreads
configure:8221: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -mthreads  1>&5
cc1: Invalid option `threads'
configure: failed program was:
#line 8135 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:8251: checking for pthread link with -thread
configure:8441: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -thread  1>&5
cc: unrecognized option `-thread'
/tmp/ccmkaoWQ.o: In function `main':
/tmp/ccmkaoWQ.o(.text+0x22): undefined reference to `pthread_attr_init'
/tmp/ccmkaoWQ.o(.text+0x4a): undefined reference to 
`pthread_attr_setdetachstate'
/tmp/ccmkaoWQ.o(.text+0x65): undefined reference to `pthread_create'
configure: failed program was:
#line 8355 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:8472: checking for pthread link with -lpthread -lmach -lexc -lc_r
configure:8662: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthread -lmach -lexc -lc_r  1>&5
/usr/libexec/elf/ld: cannot find -lpthread
configure: failed program was:
#line 8576 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:8692: checking for pthread link with -lpthread -lmach -lexc
configure:8882: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthread -lmach -lexc  1>&5
/usr/libexec/elf/ld: cannot find -lpthread
configure: failed program was:
#line 8796 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:8913: checking for pthread link with -lpthread -Wl,-woff,85
configure:9103: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthread -Wl,-woff,85  1>&5
/usr/libexec/elf/ld: unrecognized option '-woff'
/usr/libexec/elf/ld: use the --help option for usage information
configure: failed program was:
#line 9017 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:9134: checking for pthread link with -lpthread
configure:9324: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthread  1>&5
/usr/libexec/elf/ld: cannot find -lpthread
configure: failed program was:
#line 9238 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:9354: checking for pthread link with -lc_r
configure:9544: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lc_r  1>&5
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not 
recommended.
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using 
mkstemp()
configure: failed program was:
#line 9458 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:9575: checking for pthread link with -threads
configure:9765: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -threads  1>&5
cc: unrecognized option `-threads'
/tmp/ccc9KVka.o: In function `main':
/tmp/ccc9KVka.o(.text+0x22): undefined reference to `pthread_attr_init'
/tmp/ccc9KVka.o(.text+0x4a): undefined reference to 
`pthread_attr_setdetachstate'
/tmp/ccc9KVka.o(.text+0x65): undefined reference to `pthread_create'
configure: failed program was:
#line 9679 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:9796: checking for pthread link with -lpthreads -lmach -lexc -lc_r
configure:9986: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthreads -lmach -lexc -lc_r  1>&5
/usr/libexec/elf/ld: cannot find -lpthreads
configure: failed program was:
#line 9900 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:10016: checking for pthread link with -lpthreads -lmach -lexc
configure:10206: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthreads -lmach -lexc  1>&5
/usr/libexec/elf/ld: cannot find -lpthreads
configure: failed program was:
#line 10120 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:10236: checking for pthread link with -lpthreads -lexc
configure:10426: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthreads -lexc  1>&5
/usr/libexec/elf/ld: cannot find -lpthreads
configure: failed program was:
#line 10340 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}
configure:10457: checking for pthread link with -lpthreads
configure:10647: cc -o conftest -O -pipe  -D_REENTRANT 
-D_THREAD_SAFE  -I/usr/local/include  -I/usr/local/include/db3 
-L/usr/local/lib conftest.c -lpthreads  1>&5
/usr/libexec/elf/ld: cannot find -lpthreads
configure: failed program was:
#line 10561 "configure"
#include "confdefs.h"
/* pthread test headers */
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
         void *p;
{
         return (void *) (p == NULL);
}

int main(argc, argv)
         int argc;
         char **argv;
{
         /* pthread test function */
         pthread_t t;
         int status;
         int detach = 1;
#ifdef HAVE_PTHREADS_FINAL
         /* Final pthreads */
         pthread_attr_t attr;
         status = pthread_attr_init(&attr);
         if( status ) return status;
#if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED )
         if( !detach ) {
#if defined( PTHREAD_CREATE_JOINABLE )
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_JOINABLE);
#else
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_UNDETACHED);
#endif
#ifdef PTHREAD_CREATE_DETACHED
         } else {
                 status = pthread_attr_setdetachstate(&attr, 
PTHREAD_CREATE_DETACHED);
#endif
         }
         if( status ) return status;
#endif
         status = pthread_create( &t, &attr, task, NULL );
         if( status ) return status;
#if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED )
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( t );
                 if( status ) return status;
         }
#endif
#else
         /* Draft 4 pthreads */
         status = pthread_create( &t, pthread_attr_default, task, NULL );
         if( status ) return status;
         if( detach ) {
                 /* give thread a chance to complete */
                 /* it should remain joinable and hence detachable */
                 sleep( 1 );
                 status = pthread_detach( &t );
                 if( status ) return status;
         }
#endif
#ifdef HAVE_LINUX_THREADS
         pthread_kill_other_threads_np();
#endif
         return 0;
}



ls -l /var/db/pkg

Mesa-3.4.2_2
ORBit-0.5.17
ORBit2-2.4.3
XFree86-Server-4.2.1_3
XFree86-clients-4.2.1
XFree86-documents-4.2.0
XFree86-font100dpi-4.2.0
XFree86-font75dpi-4.2.0
XFree86-fontEncodings-4.2.0
XFree86-libraries-4.2.1_1
apache-2.0.43
atk-1.0.3
autoconf-2.53_1
autoconf213-2.13.000227_2
bash-2.05b.004
bison-1.35_1
bonobo-activation-1.0.3
bugbuddy2-2.2.0
cclient-2001a,1
consolehm-1.31_1
cups-base-1.1.15.1_4
cvsup-without-gui-16.1f
db3-3.3.11,1
docbook-xml-4.1.2_1
docbook-xsl-1.51.1
eel2-2.0.7
eog2-1.0.3
esound-0.2.29
expat-1.95.5
ezm3-1.0
ffmpeg-0.4.5_2
freetype-1.3.1_2
freetype2-2.1.2
gail-0.17
gconf-editor-0.3.1
gconf2-1.2.1
gd-1.8.4_6
gdbm-1.8.0
gdk-pixbuf-0.18.0
gdm2-2.4.0.11_2
gedit2-2.0.5
gettext-0.11.5_1
glade2-1.1.2
gle-3.0.3
glib-1.2.10_7
glib-2.0.6
gmake-3.79.1_3
gnome2-2.0_4
gnomeapplets2-2.0.3_1
gnomeaudio-1.4.0
gnomecontrolcenter2-2.0.1.1
gnomedesktop-2.0.8
gnomegames2-2.0.4
gnomehier-1.0_3
gnomelibs-1.4.2_1
gnomemedia2-2.0.2.5
gnomemimedata-2.0.1_1
gnomepanel-2.0.9
gnomesession-2.0.7
gnomesystemmonitor-2.0.2
gnometerminal-2.0.1
gnomeuserdocs2-2.0.1
gnomeutils2-2.0.5,1
gnomevfs2-2.0.4
gtk-1.2.10_8
gtk-2.0.6
gtk-engines2-1.9.0
guile-1.4.1_2
healthd-0.6.9_1
help2man-1.26
imake-4.2.0_1
imlib-1.9.14_1
imwheel-0.9.9
intltool-0.22
isc-dhcp3-3.0.1.r9
ispell-3.2.06_2
jpeg-6b_1
libIDL-0.8.0
libart_lgpl2-2.3.10
libaudiofile-0.2.3
libbonobo-2.0.0
libbonoboui-2.0.3
libcapplet-1.4.0.5
libgda2-0.8.193
libglade2-2.0.1
libgnome-2.0.5
libgnomecanvas-2.0.4
libgnomedb-0.8.193
libgnomeprint-1.116.1
libgnomeprintui-1.116.0
libgnomeui-2.0.5
libgnugetopt-1.2
libgtkhtml-2.0.2
libgtop2-2.0.0_1
libiconv-1.8_1
librep-0.16.1_1
librsvg2-2.0.1
libslang-1.4.5
libtool-1.3.4_4
libungif-4.1.0b1
libwnck-0.17
libxml-1.8.17_1
libxml2-2.4.24
libxslt-1.0.20
libzvt-2.0.1
linc-0.5.3
lynx-2.8.4.1c
m4-1.4_1
mc-4.5.55_4
metacity-2.4.1
metacity-setup-0.7.1
metatheme2-0.9.7
mkcatalog-1.1
mrtg-2.9.22
nasm-0.98.33,1
nautilus-gtkhtml-0.3.2_1
nautilus2-2.0.7
nut-0.45.3
openldap-2.0.25_1
openssh-3.4_4
openssl-0.9.6g
pango-1.0.4
pine-4.44
pkg_tarup-1.2_3
pkgconfig-0.12.0
pkgdb.db
png-1.2.4
popt-1.6.4
portupgrade-20020921.1
py22-expat-2.2.1_2
python-2.2.1
rawio-1.1
rep-gtk2-0.16,1
ruby-1.6.7.2002.09.12
ruby-bdb1-0.1.7
ruby-shim-ruby18-1.7.3.2002.09.20
samba-2.2.6.p2_1
sawfish2-2.0,1
scrollkeeper-0.3.11_2,1
sdocbook-xml-4.1.2.5
sed_inplace-2002.06.28
sox-12.17.3_1
squid-2.4_10
tiff-3.5.7
ttmkfdir-0.0_1
unzip-5.50
urwfonts-1.0
wget-1.8.2_1
wrapper-1.0_2
xscreensaver-4.05
xscreensaver-gnome-4.05_2
yelp-1.0.6



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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