> -----Original Message-----
> From: Harold Bray [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 28, 2000 6:22 PM
> To: [EMAIL PROTECTED]
> Subject: Pthreads
>
> Hello,
> I have tried to install GNU Pth 1.3.6
> <ftp://ftp.gnu.org/gnu/pth/pth-1.3.6.tar.gz> and GNU Pth 1.4a2
> <ftp://alpha.gnu.org/gnu/pth/pth-1.4a2.tar.gz>
>
> with the same results:
> === TESTING BASIC THREAD OPERATION ===
>
> Creating attribute object
> Spawning thread
> Joining thread
> Segmentation Fault - core dumped
>
> Details follow. Also, in both cases, I had to manually 'fix' the #define
> PTH_VERSION_HEX definition. Evidently it
> was not properly configured. See grep:
> # grep PTH_VERSION pth.h
> #ifndef PTH_VERSION_STR
> #define PTH_VERSION_STR "1.4a2 (01-Jul-2000)"
> #ifndef PTH_VERSION_HEX
> #define PTH_VERSION_HEX 0x%X%02X%1X%02X
> #ifndef PTH_VERSION
> #define PTH_VERSION PTH_VERSION_HEX
>
> Good luck and thanks for your efforts!!!
>
> Harold Bray
>
>
>
>
>
> Script started on Fri Jul 28 17:43:15 2000
> # uname -a
> SunOS vader 5.7 Generic_106542-04 i86pc i386 i86pc
> # gcc -v
> Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
> gcc version 2.95.2 19991024 (release)
> # make -v
> GNU Make version 3.77, by Richard Stallman and Roland McGrath.
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
> Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> Report bugs to <[EMAIL PROTECTED]>.
>
> # ./configure --prefix=/usr/local/pth
> Configuring [1mGNU Pth[m (Portable Threads), Version [1m1.4a2
> (01-Jul-2000)[m
> Copyright (c) 1999-2000 Ralf S. Engelschall <[EMAIL PROTECTED]>
> creating cache ./config.cache
> Platform: [1mi386-pc-solaris2.7[m
>
> [1mBuild Tools:[m
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking whether make sets ${MAKE}... yes
> checking for compiler option -pipe... no
> checking for compilation debug mode... disabled
> checking for compilation profile mode... disabled
> checking for compilation optimization mode... disabled
> checking for ranlib... ranlib
> checking for object suffix... o
> checking for executable suffix... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... yes
> checking if gcc static flag -static works... -static
> checking whether ln -s works... yes
> checking for ld used by GCC... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
> yes
> checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> checking command to parse /usr/ccs/bin/nm -p output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... solaris2.7 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
>
> [1mMandatory Platform Environment:[m
> checking for ANSI C header files... yes
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for stdarg.h... yes
> checking for string.h... yes
> checking for signal.h... yes
> checking for unistd.h... yes
> checking for setjmp.h... yes
> checking for fcntl.h... yes
> checking for errno.h... yes
> checking for sys/types.h... yes
> checking for sys/time.h... yes
> checking for sys/wait.h... yes
> checking for sys/socket.h... yes
> checking for function gettimeofday... yes
> checking for function select... yes
> checking for function sigaction... yes
> checking for function sigprocmask... yes
> checking for function sigpending... yes
> checking for function sigsuspend... yes
> decision on mandatory system headers and functions... [1mall fine[m
>
> [1mOptional Platform Environment:[m
> checking for number of signals... 46
> checking for function poll... yes
> checking for define POLLIN in poll.h... yes
> checking whether poll(2) facility has to be faked... no
> checking for sys/uio.h... yes
> checking for function readv... yes
> checking for function writev... yes
> checking whether readv(2)/writev(2) facility has to be faked... no
> checking for function usleep... yes
> checking for function strerror... yes
> checking for sys/resource.h... yes
> checking for net/errno.h... no
> checking for gethostname in -lnsl... yes
> checking for accept in -lsocket... yes
> checking for sys/select.h... yes
> checking for typedef sig_atomic_t... yes
> checking for typedef pid_t... yes
> checking for typedef size_t... yes
> checking for typedef ssize_t... yes
> checking for typedef off_t... yes
> checking for typedef stack_t... yes
> checking for attribute ss_base in struct sigaltstack from sys/signal.h...
> no
> checking for attribute ss_sp in struct sigaltstack from sys/signal.h...
> yes
> checking for a single-argument based gettimeofday... no
> checking for struct timespec... yes
> checking for typedef socklen_t... yes
> checking for type of argument 3 for accept()... Psocklen_t
> checking for fallback socklen_t... socklen_t
> checking for typedef nfds_t... yes
> checking for type of argument 2 for poll()... nfds_t
> checking for fallback nfds_t... nfds_t
> checking for built-in type long long... yes
> checking for built-in type long double... yes
>
> [1mMachine Context Implementation:[m
> checking for ucontext.h... yes
> checking for function makecontext... yes
> checking for function swapcontext... yes
> checking for function getcontext... yes
> checking for function setcontext... yes
> checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
> checking for signal.h... (cached) yes
> checking for function sigsetjmp... yes
> checking for function siglongjmp... yes
> checking for function setjmp... yes
> checking for function longjmp... yes
> checking for function _setjmp... yes
> checking for function _longjmp... yes
> checking for function sigaltstack... yes
> checking for function sigstack... yes
> checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
> checking for typedef stack_t... (cached) yes
> checking for direction of stack growth... down
> checking for function makecontext... (cached) yes
> checking for stack setup via makecontext... ok
> checking for function sigaltstack... (cached) yes
> checking for typedef stack_t... (cached) yes
> checking for stack setup via sigaltstack... ok
> checking for function sigstack... (cached) yes
> checking for stack setup via sigstack... ok
> decision on mctx implementation... [1mmcsc/sc/mc[m
>
> [1mSystem Call Mapping:[m
> checking for function syscall... yes
> checking for sys/syscall.h... yes
> checking for sys/socketcall.h... no
> checking for define SYS_read in sys/syscall.h... yes
> checking whether soft system call mapping is used... no
> checking whether hard system call mapping is used... no
>
> [1mBuild Parameters:[m
> checking whether to activate batch build mode... no
> checking whether to activate maintainer build targets... no
> checking whether to activate test build targets... yes
> checking whether to build Pthread library... no
> checking whether to build against Sfio library... no
> checking whether to build against Dmalloc library... no
>
> [1mOutput Substitution:[m
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating pthread-config
> creating pthread.h
> creating pth-config
> creating pth.h
> creating pth_acmac.h
> creating pth_acdef.h
>
> Now please type `[1mmake[m' to compile. Good luck.
>
>
> ***************** PTH_VERSION IS NOT DEFINED !!! *****************
> * I hard-coded it to: 104002
> ******************************************************************
>
> # grep PTH_VERSION pth.h
> #ifndef PTH_VERSION_STR
> #define PTH_VERSION_STR "1.4a2 (01-Jul-2000)"
> #ifndef PTH_VERSION_HEX
> #define PTH_VERSION_HEX 0x%X%02X%1X%02X
> #ifndef PTH_VERSION
> #define PTH_VERSION PTH_VERSION_HEX
>
>
> # make
> ./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#=='
> pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c
> pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c
> pth_sched.c pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c
> pth_lib.c pth_fork.c pth_high.c pth_ext.c pth_string.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_debug.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_ring.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_pqueue.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_time.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_errno.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_mctx.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_tcb.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_sched.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_attr.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_lib.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_event.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_data.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_clean.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_cancel.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_msg.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_sync.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_fork.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_util.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_high.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_syscall.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_ext.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_compat.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 pth_string.c
> ./libtool --mode=link --quiet gcc -o libpth.la pth_debug.lo pth_ring.lo
> pth_pqueue.lo pth_time.lo pth_errno.lo pth_mctx.lo pth_tcb.lo pth_sched.lo
> pth_attr.lo pth_lib.lo pth_event.lo pth_data.lo pth_clean.lo pth_cancel.lo
> pth_msg.lo pth_sync.lo pth_fork.lo pth_util.lo pth_high.lo pth_syscall.lo
> pth_ext.lo pth_compat.lo pth_string.lo \
> -rpath /usr/local/pth/lib -version-info `./shtool version -lc -dlibtool
> pth_vers.c`
> gcc -c -I. -O2 test_std.c
> gcc -c -I. -O2 test_common.c
> ./libtool --mode=link --quiet gcc -o test_std test_std.o test_common.o
> libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_mp.c
> ./libtool --mode=link --quiet gcc -o test_mp test_mp.o test_common.o
> libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_misc.c
> ./libtool --mode=link --quiet gcc -o test_misc test_misc.o test_common.o
> libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_philo.c
> ./libtool --mode=link --quiet gcc -o test_philo test_philo.o
> test_common.o libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_sig.c
> ./libtool --mode=link --quiet gcc -o test_sig test_sig.o test_common.o
> libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_select.c
> ./libtool --mode=link --quiet gcc -o test_select test_select.o
> test_common.o libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_httpd.c
> ./libtool --mode=link --quiet gcc -o test_httpd test_httpd.o
> test_common.o libpth.la -lsocket -lnsl
> gcc -c -I. -O2 test_sfio.c
> ./libtool --mode=link --quiet gcc -o test_sfio test_sfio.o test_common.o
> libpth.la -lsocket -lnsl
> make[1]: Entering directory `/tmp/pth-1.4a2'
>
> Now please type `[1mmake test[m' to run a quick test suite. Hope it
> works.
>
> make[1]: Leaving directory `/tmp/pth-1.4a2'
> # make test
>
> === TESTING GLOBAL LIBRARY API ===
>
> Fetching library version
> version = 0x104002
>
> === TESTING BASIC OPERATION ===
>
> Initializing Pth system (spawns scheduler and main thread)
> Killing Pth system for testing purposes
> Re-Initializing Pth system
>
> === TESTING BASIC THREAD OPERATION ===
>
> Creating attribute object
> Spawning thread
> Joining thread
> Segmentation Fault - core dumped
> Please send the following summary line together with details about
> the configuration ([1mpth_acdef.h[m, [1mpth_acmac.h[m,
> [1mconfig.status[m, [1mconfig.log[m)
> and build/test steps (output of 'make' and 'make test') to the author
> Ralf S. Engelschall <[EMAIL PROTECTED]> to help him in tracking
> down your platform problem.
>
> Pth: [1mFAILED[m: [1mi386-pc-solaris2.7[m | [1mmcsc/sc/mc[m |
> [1mdown[m | [1m1.4a2[m
>
> make: [test-std] Error 1 (ignored)
> # gdb ./.libs/test_std core
> GNU gdb 4.17
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-pc-solaris2.7"...
> Core was generated by `test_std'.
> Program terminated with signal 11, Segmentation Fault.
> Reading symbols from /tmp/pth-1.4a2/.libs/libpth.so.14...done.
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Reading symbols from /usr/lib/libc.so.1...done.
> Reading symbols from /usr/lib/libdl.so.1...done.
> Reading symbols from /usr/lib/libmp.so.2...done.
> #0 0x0 in ?? ()
> [Established Pth Debugging Environment]
> (gdb) bt
> #0 0x0 in ?? ()
> #1 0xdffd1f0d in __pth_scheduler ()
> #2 0xdffd378c in pth_spawn_trampoline ()
> #3 0xdfed5edc in resumecontext ()
> #4 0xdffd4856 in pth_wait ()
> #5 0xdffd3e10 in pth_join ()
> #6 0x80492b7 in main ()
> #7 0x8048e4f in _start ()
> (gdb) quit
> # for f in pth_acdef.h pth_acmac.h config.status config.log;do
> > echo "***** $f *****";cat $f
> > done
> ***** pth_acdef.h *****
> /* pth_acdef.h. Generated automatically by configure. */
> /* pth_acdef.h.in. Generated automatically from - by autoheader. */
> /*
> ** GNU Pth - The GNU Portable Threads
> ** Copyright (c) 1999-2000 Ralf S. Engelschall <[EMAIL PROTECTED]>
> **
> ** This file is part of GNU Pth, a non-preemptive thread scheduling
> ** library which can be found at http://www.gnu.org/software/pth/.
> **
> ** This library is free software; you can redistribute it and/or
> ** modify it under the terms of the GNU Lesser General Public
> ** License as published by the Free Software Foundation; either
> ** version 2.1 of the License, or (at your option) any later version.
> **
> ** This library is distributed in the hope that it will be useful,
> ** but WITHOUT ANY WARRANTY; without even the implied warranty of
> ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> ** Lesser General Public License for more details.
> **
> ** You should have received a copy of the GNU Lesser General Public
> ** License along with this library; if not, write to the Free Software
> ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> ** USA, or contact Ralf S. Engelschall <[EMAIL PROTECTED]>.
> **
> ** pth_acdef.h Autoconf defines
> */
>
> #ifndef _PTH_ACDEF_H_
> #define _PTH_ACDEF_H_
>
>
> /* Define if you have the ANSI C header files. */
> #define STDC_HEADERS 1
>
> /* the custom Autoconf defines */
> #define HAVE_SIG_ATOMIC_T 1
> #define HAVE_PID_T 1
> #define HAVE_STACK_T 1
> #define HAVE_SIZE_T 1
> #define HAVE_SSIZE_T 1
> #define HAVE_SOCKLEN_T 1
> #define HAVE_NFDS_T 1
> #define HAVE_OFF_T 1
> /* #undef HAVE_GETTIMEOFDAY_ARGS1 */
> #define HAVE_STRUCT_TIMESPEC 1
> #define HAVE_SYS_READ 1
> #define HAVE_POLLIN 1
> #define HAVE_SS_SP 1
> /* #undef HAVE_SS_BASE */
> #define HAVE_LONGLONG 1
> #define HAVE_LONGDOUBLE 1
> /* #undef PTH_DEBUG */
> #define PTH_NSIG 46
> #define PTH_MCTX_MTH_use PTH_MCTX_MTH_mcsc
> #define PTH_MCTX_DSP_use PTH_MCTX_DSP_sc
> #define PTH_MCTX_STK_use PTH_MCTX_STK_mc
> #define PTH_STACKGROWTH -1
> /* #undef PTH_DMALLOC */
>
> /* Define if you have the _longjmp function. */
> #define HAVE__LONGJMP 1
>
> /* Define if you have the _setjmp function. */
> #define HAVE__SETJMP 1
>
> /* Define if you have the getcontext function. */
> #define HAVE_GETCONTEXT 1
>
> /* Define if you have the gettimeofday function. */
> #define HAVE_GETTIMEOFDAY 1
>
> /* Define if you have the longjmp function. */
> #define HAVE_LONGJMP 1
>
> /* Define if you have the makecontext function. */
> #define HAVE_MAKECONTEXT 1
>
> /* Define if you have the poll function. */
> #define HAVE_POLL 1
>
> /* Define if you have the readv function. */
> #define HAVE_READV 1
>
> /* Define if you have the select function. */
> #define HAVE_SELECT 1
>
> /* Define if you have the setcontext function. */
> #define HAVE_SETCONTEXT 1
>
> /* Define if you have the setjmp function. */
> #define HAVE_SETJMP 1
>
> /* Define if you have the sigaction function. */
> #define HAVE_SIGACTION 1
>
> /* Define if you have the sigaltstack function. */
> #define HAVE_SIGALTSTACK 1
>
> /* Define if you have the siglongjmp function. */
> #define HAVE_SIGLONGJMP 1
>
> /* Define if you have the sigpending function. */
> #define HAVE_SIGPENDING 1
>
> /* Define if you have the sigprocmask function. */
> #define HAVE_SIGPROCMASK 1
>
> /* Define if you have the sigsetjmp function. */
> #define HAVE_SIGSETJMP 1
>
> /* Define if you have the sigstack function. */
> #define HAVE_SIGSTACK 1
>
> /* Define if you have the sigsuspend function. */
> #define HAVE_SIGSUSPEND 1
>
> /* Define if you have the strerror function. */
> #define HAVE_STRERROR 1
>
> /* Define if you have the swapcontext function. */
> #define HAVE_SWAPCONTEXT 1
>
> /* Define if you have the syscall function. */
> #define HAVE_SYSCALL 1
>
> /* Define if you have the usleep function. */
> #define HAVE_USLEEP 1
>
> /* Define if you have the writev function. */
> #define HAVE_WRITEV 1
>
> /* Define if you have the <dmalloc.h> header file. */
> /* #undef HAVE_DMALLOC_H */
>
> /* Define if you have the <errno.h> header file. */
> #define HAVE_ERRNO_H 1
>
> /* Define if you have the <fcntl.h> header file. */
> #define HAVE_FCNTL_H 1
>
> /* Define if you have the <net/errno.h> header file. */
> /* #undef HAVE_NET_ERRNO_H */
>
> /* Define if you have the <pthread.h> header file. */
> /* #undef HAVE_PTHREAD_H */
>
> /* Define if you have the <setjmp.h> header file. */
> #define HAVE_SETJMP_H 1
>
> /* Define if you have the <sfio.h> header file. */
> /* #undef HAVE_SFIO_H */
>
> /* Define if you have the <signal.h> header file. */
> #define HAVE_SIGNAL_H 1
>
> /* Define if you have the <stdarg.h> header file. */
> #define HAVE_STDARG_H 1
>
> /* Define if you have the <stdio.h> header file. */
> #define HAVE_STDIO_H 1
>
> /* Define if you have the <stdlib.h> header file. */
> #define HAVE_STDLIB_H 1
>
> /* Define if you have the <string.h> header file. */
> #define HAVE_STRING_H 1
>
> /* Define if you have the <sys/resource.h> header file. */
> #define HAVE_SYS_RESOURCE_H 1
>
> /* Define if you have the <sys/select.h> header file. */
> #define HAVE_SYS_SELECT_H 1
>
> /* Define if you have the <sys/socket.h> header file. */
> #define HAVE_SYS_SOCKET_H 1
>
> /* Define if you have the <sys/socketcall.h> header file. */
> /* #undef HAVE_SYS_SOCKETCALL_H */
>
> /* Define if you have the <sys/syscall.h> header file. */
> #define HAVE_SYS_SYSCALL_H 1
>
> /* Define if you have the <sys/time.h> header file. */
> #define HAVE_SYS_TIME_H 1
>
> /* Define if you have the <sys/types.h> header file. */
> #define HAVE_SYS_TYPES_H 1
>
> /* Define if you have the <sys/uio.h> header file. */
> #define HAVE_SYS_UIO_H 1
>
> /* Define if you have the <sys/wait.h> header file. */
> #define HAVE_SYS_WAIT_H 1
>
> /* Define if you have the <ucontext.h> header file. */
> #define HAVE_UCONTEXT_H 1
>
> /* Define if you have the <unistd.h> header file. */
> #define HAVE_UNISTD_H 1
>
> /* Define if you have the dmalloc library (-ldmalloc). */
> /* #undef HAVE_LIBDMALLOC */
>
> /* Define if you have the nsl library (-lnsl). */
> #define HAVE_LIBNSL 1
>
> /* Define if you have the sfio library (-lsfio). */
> /* #undef HAVE_LIBSFIO */
>
> /* Define if you have the socket library (-lsocket). */
> #define HAVE_LIBSOCKET 1
>
> #endif /* _PTH_ACDEF_H_ */
>
> ***** pth_acmac.h *****
> /*
> ** GNU Pth - The GNU Portable Threads
> ** Copyright (c) 1999-2000 Ralf S. Engelschall <[EMAIL PROTECTED]>
> **
> ** This file is part of GNU Pth, a non-preemptive thread scheduling
> ** library which can be found at http://www.gnu.org/software/pth/.
> **
> ** This library is free software; you can redistribute it and/or
> ** modify it under the terms of the GNU Lesser General Public
> ** License as published by the Free Software Foundation; either
> ** version 2.1 of the License, or (at your option) any later version.
> **
> ** This library is distributed in the hope that it will be useful,
> ** but WITHOUT ANY WARRANTY; without even the implied warranty of
> ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> ** Lesser General Public License for more details.
> **
> ** You should have received a copy of the GNU Lesser General Public
> ** License along with this library; if not, write to the Free Software
> ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> ** USA, or contact Ralf S. Engelschall <[EMAIL PROTECTED]>.
> **
> ** pth_acmac.h: Autoconf macros
> */
>
> #ifndef _PTH_ACMAC_H_
> #define _PTH_ACMAC_H_
>
> /* sig{set,long}jmp macros */
> #define pth_sigjmpbuf
> #define pth_sigsetjmp(buf)
> #define pth_siglongjmp(buf,val)
>
> /* stack setup macros */
> #define pth_skaddr(func,skaddr,sksize) pth_skaddr_##func(skaddr,sksize)
> #define pth_sksize(func,skaddr,sksize) pth_sksize_##func(skaddr,sksize)
> #define pth_skaddr_sigstack(skaddr,sksize) ((skaddr)+(sksize))
> #define pth_sksize_sigstack(skaddr,sksize) ((sksize))
> #define pth_skaddr_sigaltstack(skaddr,sksize) ((skaddr))
> #define pth_sksize_sigaltstack(skaddr,sksize) ((sksize))
> #define pth_skaddr_makecontext(skaddr,sksize) ((skaddr))
> #define pth_sksize_makecontext(skaddr,sksize) ((sksize))
>
> /* mctx compile defines */
> #define PTH_MCTX_MTH(which) (PTH_MCTX_MTH_use == (PTH_MCTX_MTH_##which))
> #define PTH_MCTX_DSP(which) (PTH_MCTX_DSP_use == (PTH_MCTX_DSP_##which))
> #define PTH_MCTX_STK(which) (PTH_MCTX_STK_use == (PTH_MCTX_STK_##which))
> #define PTH_MCTX_MTH_mcsc 1
> #define PTH_MCTX_MTH_sjlj 2
> #define PTH_MCTX_DSP_sc 1
> #define PTH_MCTX_DSP_ssjlj 2
> #define PTH_MCTX_DSP_sjlj 3
> #define PTH_MCTX_DSP_usjlj 4
> #define PTH_MCTX_DSP_sjlje 5
> #define PTH_MCTX_DSP_sjljlx 6
> #define PTH_MCTX_DSP_sjljisc 7
> #define PTH_MCTX_DSP_sjljw32 8
> #define PTH_MCTX_STK_mc 1
> #define PTH_MCTX_STK_ss 2
> #define PTH_MCTX_STK_sas 3
> #define PTH_MCTX_STK_none 4
>
> #endif /* _PTH_ACMAC_H_ */
>
> ***** config.status *****
> #! /bin/sh
> # Generated automatically by configure.
> # Run this file to recreate the current configuration.
> # This directory was configured as follows,
> # on host vader:
> #
> # ./configure --prefix=/usr/local/pth
> #
> # Compiler output produced by configure, useful for debugging
> # configure, is in ./config.log if it exists.
>
> ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
> for ac_option
> do
> case "$ac_option" in
> -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
> echo "running ${CONFIG_SHELL-/bin/sh} ./configure
> --prefix=/usr/local/pth --no-create --no-recursion"
> exec ${CONFIG_SHELL-/bin/sh} ./configure --prefix=/usr/local/pth
> --no-create --no-recursion ;;
> -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
> echo "./config.status generated by autoconf version 2.13"
> exit 0 ;;
> -help | --help | --hel | --he | --h)
> echo "$ac_cs_usage"; exit 0 ;;
> *) echo "$ac_cs_usage"; exit 1 ;;
> esac
> done
>
> ac_given_srcdir=.
>
> trap 'rm -fr Makefile pthread-config pthread.h pth-config pth.h
> pth_acmac.h pth_acdef.h conftest*; exit 1' 1 2 15
>
> # Protect against being on the right side of a sed subst in config.status.
> sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
> s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
> /^[ ]*VPATH[ ]*=[^:]*$/d
>
> s%@SHELL@%/bin/sh%g
> s%@CFLAGS@%-O2%g
> s%@CPPFLAGS@%%g
> s%@CXXFLAGS@%%g
> s%@FFLAGS@%%g
> s%@DEFS@%-DHAVE_CONFIG_H%g
> s%@LDFLAGS@%%g
> s%@LIBS@%-lsocket -lnsl %g
> s%@exec_prefix@%${prefix}%g
> s%@prefix@%/usr/local/pth%g
> s%@program_transform_name@%s,x,x,%g
> s%@bindir@%${exec_prefix}/bin%g
> s%@sbindir@%${exec_prefix}/sbin%g
> s%@libexecdir@%${exec_prefix}/libexec%g
> s%@datadir@%${prefix}/share%g
> s%@sysconfdir@%${prefix}/etc%g
> s%@sharedstatedir@%${prefix}/com%g
> s%@localstatedir@%${prefix}/var%g
> s%@libdir@%${exec_prefix}/lib%g
> s%@includedir@%${prefix}/include%g
> s%@oldincludedir@%/usr/include%g
> s%@infodir@%${prefix}/info%g
> s%@mandir@%${prefix}/man%g
> s%@srcdir_prefix@%%g
> s%@PTH_VERSION_STR@%1.4a2 (01-Jul-2000)%g
> s%@PTH_VERSION_HEX@%0x%X%02X%1X%02X%g
> s%@PLATFORM@%i386-pc-solaris2.7%g
> s%@CC@%gcc%g
> s%@CPP@%gcc -E%g
> s%@SET_MAKE@%%g
> s%@AR@%%g
> s%@RANLIB@%%g
> s%@PTH_FAKE_POLL@%0%g
> s%@PTH_FAKE_RWV@%0%g
> s%@EXTRA_INCLUDE_SYS_SELECT_H@%#include <sys/select.h>%g
> s%@FALLBACK_SIG_ATOMIC_T@%/* typedef int sig_atomic_t; */%g
> s%@FALLBACK_PID_T@%/* typedef int pid_t; */%g
> s%@FALLBACK_SIZE_T@%/* typedef unsigned int size_t; */%g
> s%@FALLBACK_SSIZE_T@%/* typedef unsigned int ssize_t; */%g
> s%@FALLBACK_OFF_T@%/* typedef int off_t; */%g
> s%@FALLBACK_SOCKLEN_T@%/* typedef socklen_t socklen_t; */%g
> s%@FALLBACK_NFDS_T@%/* typedef nfds_t nfds_t; */%g
> s%@PTH_STACK_GROWTH@%down%g
> s%@pth_skaddr_makecontext@%#define pth_skaddr_makecontext(skaddr,sksize)
> ((skaddr))%g
> s%@pth_sksize_makecontext@%#define pth_sksize_makecontext(skaddr,sksize)
> ((sksize))%g
> s%@pth_skaddr_sigaltstack@%#define pth_skaddr_sigaltstack(skaddr,sksize)
> ((skaddr))%g
> s%@pth_sksize_sigaltstack@%#define pth_sksize_sigaltstack(skaddr,sksize)
> ((sksize))%g
> s%@pth_skaddr_sigstack@%#define pth_skaddr_sigstack(skaddr,sksize)
> ((skaddr)+(sksize))%g
> s%@pth_sksize_sigstack@%#define pth_sksize_sigstack(skaddr,sksize)
> ((sksize))%g
> s%@pth_sigjmpbuf@%#define pth_sigjmpbuf %g
> s%@pth_sigsetjmp@%#define pth_sigsetjmp(buf) %g
> s%@pth_siglongjmp@%#define pth_siglongjmp(buf,val) %g
> s%@PTH_MCTX_ID@%mcsc/sc/mc%g
> s%@PTH_SYSCALL_SOFT@%0%g
> s%@PTH_SYSCALL_HARD@%0%g
> s%@BATCH@%no%g
> s%@TARGET_ALL@%$(TARGET_PREQ) $(TARGET_LIBS) $(TARGET_TEST)%g
> s%@PTHREAD_O@%%g
> s%@LIBPTHREAD_A@%%g
> s%@LIBPTHREAD_LA@%%g
> s%@PTHREAD_CONFIG_1@%%g
> s%@PTHREAD_3@%%g
> s%@INSTALL_PTHREAD@%%g
> s%@UNINSTALL_PTHREAD@%%g
> s%@TEST_PTHREAD@%%g
> s%@PTH_EXT_SFIO@%FALSE%g
>
> CEOF
>
> # Split the substitutions into bite-sized pieces for seds with
> # small command number limits, like on Digital OSF/1 and HP-UX.
> ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
> ac_file=1 # Number of current file.
> ac_beg=1 # First line for current file.
> ac_end=$ac_max_sed_cmds # Line after last line for current file.
> ac_more_lines=:
> ac_sed_cmds=""
> while $ac_more_lines; do
> if test $ac_beg -gt 1; then
> sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
> else
> sed "${ac_end}q" conftest.subs > conftest.s$ac_file
> fi
> if test ! -s conftest.s$ac_file; then
> ac_more_lines=false
> rm -f conftest.s$ac_file
> else
> if test -z "$ac_sed_cmds"; then
> ac_sed_cmds="sed -f conftest.s$ac_file"
> else
> ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
> fi
> ac_file=`expr $ac_file + 1`
> ac_beg=$ac_end
> ac_end=`expr $ac_end + $ac_max_sed_cmds`
> fi
> done
> if test -z "$ac_sed_cmds"; then
> ac_sed_cmds=cat
> fi
>
> CONFIG_FILES=${CONFIG_FILES-"Makefile pthread-config pthread.h pth-config
> pth.h pth_acmac.h "}
> for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
> # Support "outfile[:infile[:infile...]]", defaulting
> infile="outfile.in".
> case "$ac_file" in
> *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
> ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
> *) ac_file_in="${ac_file}.in" ;;
> esac
>
> # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
>
> # Remove last slash and all that follows it. Not all systems have
> dirname.
> ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
> if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
> # The file is in a subdirectory.
> test ! -d "$ac_dir" && mkdir "$ac_dir"
> ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
> # A "../" for each directory in $ac_dir_suffix.
> ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
> else
> ac_dir_suffix= ac_dots=
> fi
>
> case "$ac_given_srcdir" in
> .) srcdir=.
> if test -z "$ac_dots"; then top_srcdir=.
> else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
> /*) srcdir="$ac_given_srcdir$ac_dir_suffix";
> top_srcdir="$ac_given_srcdir" ;;
> *) # Relative path.
> srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
> top_srcdir="$ac_dots$ac_given_srcdir" ;;
> esac
>
>
> echo creating "$ac_file"
> rm -f "$ac_file"
> configure_input="Generated automatically from `echo $ac_file_in|sed
> 's%.*/%%'` by configure."
> case "$ac_file" in
> *Makefile*) ac_comsub="1i\\
> # $configure_input" ;;
> *) ac_comsub= ;;
> esac
>
> ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e
> "s%:% $ac_given_srcdir/%g"`
> sed -e "$ac_comsub
> s%@configure_input@%$configure_input%g
> s%@srcdir@%$srcdir%g
> s%@top_srcdir@%$top_srcdir%g
> " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
> fi; done
> rm -f conftest.s*
>
> # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
> # NAME is the cpp macro being defined and VALUE is the value it is being
> given.
> #
> # ac_d sets the value in "#define NAME VALUE" lines.
> ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
> ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
> ac_dC='\3'
> ac_dD='%g'
> # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
> ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
> ac_uB='\([ ]\)%\1#\2define\3'
> ac_uC=' '
> ac_uD='\4%g'
> # ac_e turns "#undef NAME" without trailing blanks into "#define NAME
> VALUE".
> ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
> ac_eB='$%\1#\2define\3'
> ac_eC=' '
> ac_eD='%g'
>
> if test "${CONFIG_HEADERS+set}" != set; then
> CONFIG_HEADERS="pth_acdef.h"
> fi
> for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
> # Support "outfile[:infile[:infile...]]", defaulting
> infile="outfile.in".
> case "$ac_file" in
> *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
> ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
> *) ac_file_in="${ac_file}.in" ;;
> esac
>
> echo creating $ac_file
>
> rm -f conftest.frag conftest.in conftest.out
> ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e
> "s%:% $ac_given_srcdir/%g"`
> cat $ac_file_inputs > conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
> ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
> ${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STDIO_H${ac_dB}HAVE_STDIO_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STDIO_H${ac_uB}HAVE_STDIO_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STDIO_H${ac_eB}HAVE_STDIO_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STDLIB_H${ac_eB}HAVE_STDLIB_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STDARG_H${ac_dB}HAVE_STDARG_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STDARG_H${ac_uB}HAVE_STDARG_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STDARG_H${ac_eB}HAVE_STDARG_H${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGNAL_H${ac_dB}HAVE_SIGNAL_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGNAL_H${ac_uB}HAVE_SIGNAL_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGNAL_H${ac_eB}HAVE_SIGNAL_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SETJMP_H${ac_dB}HAVE_SETJMP_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SETJMP_H${ac_uB}HAVE_SETJMP_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SETJMP_H${ac_eB}HAVE_SETJMP_H${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_FCNTL_H${ac_eB}HAVE_FCNTL_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_ERRNO_H${ac_dB}HAVE_ERRNO_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_ERRNO_H${ac_uB}HAVE_ERRNO_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_ERRNO_H${ac_eB}HAVE_ERRNO_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_TYPES_H${ac_eB}HAVE_SYS_TYPES_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_TIME_H${ac_eB}HAVE_SYS_TIME_H${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SYS_WAIT_H${ac_dB}HAVE_SYS_WAIT_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_WAIT_H${ac_uB}HAVE_SYS_WAIT_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_WAIT_H${ac_eB}HAVE_SYS_WAIT_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SYS_SOCKET_H${ac_dB}HAVE_SYS_SOCKET_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_SOCKET_H${ac_uB}HAVE_SYS_SOCKET_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_SOCKET_H${ac_eB}HAVE_SYS_SOCKET_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_GETTIMEOFDAY${ac_dB}HAVE_GETTIMEOFDAY${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_GETTIMEOFDAY${ac_uB}HAVE_GETTIMEOFDAY${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_GETTIMEOFDAY${ac_eB}HAVE_GETTIMEOFDAY${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SELECT${ac_dB}HAVE_SELECT${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SELECT${ac_uB}HAVE_SELECT${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SELECT${ac_eB}HAVE_SELECT${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SIGACTION${ac_dB}HAVE_SIGACTION${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGACTION${ac_uB}HAVE_SIGACTION${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGACTION${ac_eB}HAVE_SIGACTION${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGPROCMASK${ac_dB}HAVE_SIGPROCMASK${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGPROCMASK${ac_uB}HAVE_SIGPROCMASK${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGPROCMASK${ac_eB}HAVE_SIGPROCMASK${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGPENDING${ac_dB}HAVE_SIGPENDING${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGPENDING${ac_uB}HAVE_SIGPENDING${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGPENDING${ac_eB}HAVE_SIGPENDING${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGSUSPEND${ac_dB}HAVE_SIGSUSPEND${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGSUSPEND${ac_uB}HAVE_SIGSUSPEND${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGSUSPEND${ac_eB}HAVE_SIGSUSPEND${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}PTH_NSIG${ac_dB}PTH_NSIG${ac_dC}46${ac_dD}
> ${ac_uA}PTH_NSIG${ac_uB}PTH_NSIG${ac_uC}46${ac_uD}
> ${ac_eA}PTH_NSIG${ac_eB}PTH_NSIG${ac_eC}46${ac_eD}
> ${ac_dA}HAVE_POLL${ac_dB}HAVE_POLL${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_POLL${ac_uB}HAVE_POLL${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_POLL${ac_eB}HAVE_POLL${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_POLLIN${ac_dB}HAVE_POLLIN${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_POLLIN${ac_uB}HAVE_POLLIN${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_POLLIN${ac_eB}HAVE_POLLIN${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SYS_UIO_H${ac_dB}HAVE_SYS_UIO_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_UIO_H${ac_uB}HAVE_SYS_UIO_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_UIO_H${ac_eB}HAVE_SYS_UIO_H${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_READV${ac_dB}HAVE_READV${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_READV${ac_uB}HAVE_READV${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_READV${ac_eB}HAVE_READV${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_WRITEV${ac_dB}HAVE_WRITEV${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_WRITEV${ac_uB}HAVE_WRITEV${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_WRITEV${ac_eB}HAVE_WRITEV${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_USLEEP${ac_dB}HAVE_USLEEP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_USLEEP${ac_uB}HAVE_USLEEP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_USLEEP${ac_eB}HAVE_USLEEP${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STRERROR${ac_eB}HAVE_STRERROR${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SYS_RESOURCE_H${ac_dB}HAVE_SYS_RESOURCE_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_RESOURCE_H${ac_uB}HAVE_SYS_RESOURCE_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_RESOURCE_H${ac_eB}HAVE_SYS_RESOURCE_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_LIBNSL${ac_dB}HAVE_LIBNSL${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_LIBNSL${ac_uB}HAVE_LIBNSL${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_LIBNSL${ac_eB}HAVE_LIBNSL${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_LIBSOCKET${ac_dB}HAVE_LIBSOCKET${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_LIBSOCKET${ac_uB}HAVE_LIBSOCKET${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_LIBSOCKET${ac_eB}HAVE_LIBSOCKET${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SYS_SELECT_H${ac_dB}HAVE_SYS_SELECT_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_SELECT_H${ac_uB}HAVE_SYS_SELECT_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_SELECT_H${ac_eB}HAVE_SYS_SELECT_H${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SIG_ATOMIC_T${ac_dB}HAVE_SIG_ATOMIC_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIG_ATOMIC_T${ac_uB}HAVE_SIG_ATOMIC_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIG_ATOMIC_T${ac_eB}HAVE_SIG_ATOMIC_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_PID_T${ac_dB}HAVE_PID_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_PID_T${ac_uB}HAVE_PID_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_PID_T${ac_eB}HAVE_PID_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIZE_T${ac_dB}HAVE_SIZE_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIZE_T${ac_uB}HAVE_SIZE_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIZE_T${ac_eB}HAVE_SIZE_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SSIZE_T${ac_dB}HAVE_SSIZE_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SSIZE_T${ac_uB}HAVE_SSIZE_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SSIZE_T${ac_eB}HAVE_SSIZE_T${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_OFF_T${ac_dB}HAVE_OFF_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_OFF_T${ac_uB}HAVE_OFF_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_OFF_T${ac_eB}HAVE_OFF_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STACK_T${ac_dB}HAVE_STACK_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STACK_T${ac_uB}HAVE_STACK_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STACK_T${ac_eB}HAVE_STACK_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SS_SP${ac_dB}HAVE_SS_SP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SS_SP${ac_uB}HAVE_SS_SP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SS_SP${ac_eB}HAVE_SS_SP${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STRUCT_TIMESPEC${ac_dB}HAVE_STRUCT_TIMESPEC${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STRUCT_TIMESPEC${ac_uB}HAVE_STRUCT_TIMESPEC${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STRUCT_TIMESPEC${ac_eB}HAVE_STRUCT_TIMESPEC${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SOCKLEN_T${ac_dB}HAVE_SOCKLEN_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SOCKLEN_T${ac_uB}HAVE_SOCKLEN_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SOCKLEN_T${ac_eB}HAVE_SOCKLEN_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_NFDS_T${ac_dB}HAVE_NFDS_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_NFDS_T${ac_uB}HAVE_NFDS_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_NFDS_T${ac_eB}HAVE_NFDS_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_LONGLONG${ac_dB}HAVE_LONGLONG${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_LONGLONG${ac_uB}HAVE_LONGLONG${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_LONGLONG${ac_eB}HAVE_LONGLONG${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_LONGDOUBLE${ac_dB}HAVE_LONGDOUBLE${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_LONGDOUBLE${ac_uB}HAVE_LONGDOUBLE${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_LONGDOUBLE${ac_eB}HAVE_LONGDOUBLE${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_UCONTEXT_H${ac_dB}HAVE_UCONTEXT_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_UCONTEXT_H${ac_uB}HAVE_UCONTEXT_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_UCONTEXT_H${ac_eB}HAVE_UCONTEXT_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_MAKECONTEXT${ac_dB}HAVE_MAKECONTEXT${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_MAKECONTEXT${ac_uB}HAVE_MAKECONTEXT${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_MAKECONTEXT${ac_eB}HAVE_MAKECONTEXT${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SWAPCONTEXT${ac_dB}HAVE_SWAPCONTEXT${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SWAPCONTEXT${ac_uB}HAVE_SWAPCONTEXT${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SWAPCONTEXT${ac_eB}HAVE_SWAPCONTEXT${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_GETCONTEXT${ac_dB}HAVE_GETCONTEXT${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_GETCONTEXT${ac_uB}HAVE_GETCONTEXT${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_GETCONTEXT${ac_eB}HAVE_GETCONTEXT${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SETCONTEXT${ac_dB}HAVE_SETCONTEXT${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SETCONTEXT${ac_uB}HAVE_SETCONTEXT${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SETCONTEXT${ac_eB}HAVE_SETCONTEXT${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGNAL_H${ac_dB}HAVE_SIGNAL_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGNAL_H${ac_uB}HAVE_SIGNAL_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGNAL_H${ac_eB}HAVE_SIGNAL_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGSETJMP${ac_dB}HAVE_SIGSETJMP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGSETJMP${ac_uB}HAVE_SIGSETJMP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGSETJMP${ac_eB}HAVE_SIGSETJMP${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGLONGJMP${ac_dB}HAVE_SIGLONGJMP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGLONGJMP${ac_uB}HAVE_SIGLONGJMP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGLONGJMP${ac_eB}HAVE_SIGLONGJMP${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SETJMP${ac_dB}HAVE_SETJMP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SETJMP${ac_uB}HAVE_SETJMP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SETJMP${ac_eB}HAVE_SETJMP${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_LONGJMP${ac_dB}HAVE_LONGJMP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_LONGJMP${ac_uB}HAVE_LONGJMP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_LONGJMP${ac_eB}HAVE_LONGJMP${ac_eC}1${ac_eD}
> ${ac_dA}HAVE__SETJMP${ac_dB}HAVE__SETJMP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE__SETJMP${ac_uB}HAVE__SETJMP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE__SETJMP${ac_eB}HAVE__SETJMP${ac_eC}1${ac_eD}
> ${ac_dA}HAVE__LONGJMP${ac_dB}HAVE__LONGJMP${ac_dC}1${ac_dD}
> ${ac_uA}HAVE__LONGJMP${ac_uB}HAVE__LONGJMP${ac_uC}1${ac_uD}
> ${ac_eA}HAVE__LONGJMP${ac_eB}HAVE__LONGJMP${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SIGALTSTACK${ac_dB}HAVE_SIGALTSTACK${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGALTSTACK${ac_uB}HAVE_SIGALTSTACK${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGALTSTACK${ac_eB}HAVE_SIGALTSTACK${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGSTACK${ac_dB}HAVE_SIGSTACK${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGSTACK${ac_uB}HAVE_SIGSTACK${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGSTACK${ac_eB}HAVE_SIGSTACK${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STACK_T${ac_dB}HAVE_STACK_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STACK_T${ac_uB}HAVE_STACK_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STACK_T${ac_eB}HAVE_STACK_T${ac_eC}1${ac_eD}
> ${ac_dA}PTH_STACKGROWTH${ac_dB}PTH_STACKGROWTH${ac_dC}-1${ac_dD}
> ${ac_uA}PTH_STACKGROWTH${ac_uB}PTH_STACKGROWTH${ac_uC}-1${ac_uD}
> ${ac_eA}PTH_STACKGROWTH${ac_eB}PTH_STACKGROWTH${ac_eC}-1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_MAKECONTEXT${ac_dB}HAVE_MAKECONTEXT${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_MAKECONTEXT${ac_uB}HAVE_MAKECONTEXT${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_MAKECONTEXT${ac_eB}HAVE_MAKECONTEXT${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGALTSTACK${ac_dB}HAVE_SIGALTSTACK${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGALTSTACK${ac_uB}HAVE_SIGALTSTACK${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGALTSTACK${ac_eB}HAVE_SIGALTSTACK${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_STACK_T${ac_dB}HAVE_STACK_T${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_STACK_T${ac_uB}HAVE_STACK_T${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_STACK_T${ac_eB}HAVE_STACK_T${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SIGSTACK${ac_dB}HAVE_SIGSTACK${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SIGSTACK${ac_uB}HAVE_SIGSTACK${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SIGSTACK${ac_eB}HAVE_SIGSTACK${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}PTH_MCTX_MTH_use${ac_dB}PTH_MCTX_MTH_use${ac_dC}PTH_MCTX_MTH_mcsc$
> {ac_dD}
> ${ac_uA}PTH_MCTX_MTH_use${ac_uB}PTH_MCTX_MTH_use${ac_uC}PTH_MCTX_MTH_mcsc$
> {ac_uD}
> ${ac_eA}PTH_MCTX_MTH_use${ac_eB}PTH_MCTX_MTH_use${ac_eC}PTH_MCTX_MTH_mcsc$
> {ac_eD}
> ${ac_dA}PTH_MCTX_DSP_use${ac_dB}PTH_MCTX_DSP_use${ac_dC}PTH_MCTX_DSP_sc${a
> c_dD}
> ${ac_uA}PTH_MCTX_DSP_use${ac_uB}PTH_MCTX_DSP_use${ac_uC}PTH_MCTX_DSP_sc${a
> c_uD}
> ${ac_eA}PTH_MCTX_DSP_use${ac_eB}PTH_MCTX_DSP_use${ac_eC}PTH_MCTX_DSP_sc${a
> c_eD}
> ${ac_dA}PTH_MCTX_STK_use${ac_dB}PTH_MCTX_STK_use${ac_dC}PTH_MCTX_STK_mc${a
> c_dD}
> ${ac_uA}PTH_MCTX_STK_use${ac_uB}PTH_MCTX_STK_use${ac_uC}PTH_MCTX_STK_mc${a
> c_uD}
> ${ac_eA}PTH_MCTX_STK_use${ac_eB}PTH_MCTX_STK_use${ac_eC}PTH_MCTX_STK_mc${a
> c_eD}
> ${ac_dA}HAVE_SYSCALL${ac_dB}HAVE_SYSCALL${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYSCALL${ac_uB}HAVE_SYSCALL${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYSCALL${ac_eB}HAVE_SYSCALL${ac_eC}1${ac_eD}
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> cat > conftest.frag <<CEOF
> ${ac_dA}HAVE_SYS_SYSCALL_H${ac_dB}HAVE_SYS_SYSCALL_H${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_SYSCALL_H${ac_uB}HAVE_SYS_SYSCALL_H${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_SYSCALL_H${ac_eB}HAVE_SYS_SYSCALL_H${ac_eC}1${ac_eD}
> ${ac_dA}HAVE_SYS_READ${ac_dB}HAVE_SYS_READ${ac_dC}1${ac_dD}
> ${ac_uA}HAVE_SYS_READ${ac_uB}HAVE_SYS_READ${ac_uC}1${ac_uD}
> ${ac_eA}HAVE_SYS_READ${ac_eB}HAVE_SYS_READ${ac_eC}1${ac_eD}
> s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
> CEOF
> sed -f conftest.frag conftest.in > conftest.out
> rm -f conftest.in
> mv conftest.out conftest.in
>
> rm -f conftest.frag conftest.h
> echo "/* $ac_file. Generated automatically by configure. */" >
> conftest.h
> cat conftest.in >> conftest.h
> rm -f conftest.in
> if cmp -s $ac_file conftest.h 2>/dev/null; then
> echo "$ac_file is unchanged"
> rm -f conftest.h
> else
> # Remove last slash and all that follows it. Not all systems have
> dirname.
> ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
> if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
> # The file is in a subdirectory.
> test ! -d "$ac_dir" && mkdir "$ac_dir"
> fi
> rm -f $ac_file
> mv conftest.h $ac_file
> fi
> fi; done
>
>
> chmod +rx pthread-config
> chmod +rx pth-config
>
> exit 0
> ***** config.log *****
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:738: checking for gcc
> configure:851: checking whether the C compiler (gcc ) works
> configure:867: gcc -o conftest conftest.c 1>&5
> configure:893: checking whether the C compiler (gcc ) is a cross-compiler
> configure:898: checking whether we are using GNU C
> configure:907: gcc -E conftest.c
> configure:926: checking whether gcc accepts -g
> configure:958: checking how to run the C preprocessor
> configure:979: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1038: checking whether make sets ${MAKE}
> configure:1203: checking for compiler option -pipe
> configure:1241: checking for compilation debug mode
> configure:1248: checking for compilation profile mode
> configure:1407: checking for compilation optimization mode
> configure:1558: checking for ANSI C header files
> configure:1571: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1638: gcc -o conftest -O2 conftest.c 1>&5
> configure:1665: checking for stdio.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for stdlib.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for stdarg.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for string.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for signal.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for unistd.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for setjmp.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for fcntl.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for errno.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for sys/types.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for sys/time.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for sys/wait.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1665: checking for sys/socket.h
> configure:1675: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1703: checking for function gettimeofday
> configure:1735: gcc -o conftest -O2 conftest.c 1>&5
> configure:1703: checking for function select
> configure:1735: gcc -o conftest -O2 conftest.c 1>&5
> configure:1703: checking for function sigaction
> configure:1735: gcc -o conftest -O2 conftest.c 1>&5
> configure:1703: checking for function sigprocmask
> configure:1735: gcc -o conftest -O2 conftest.c 1>&5
> configure:1703: checking for function sigpending
> configure:1735: gcc -o conftest -O2 conftest.c 1>&5
> configure:1703: checking for function sigsuspend
> configure:1735: gcc -o conftest -O2 conftest.c 1>&5
> configure:1821: checking for number of signals
> configure:1858: gcc -o conftest -O2 conftest.c 1>&5
> configure:1878: checking for function poll
> configure:1910: gcc -o conftest -O2 conftest.c 1>&5
> configure:1935: checking for define POLLIN in poll.h
> configure:1969: checking whether poll(2) facility has to be faked
> configure:2015: checking for sys/uio.h
> configure:2025: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2053: checking for function readv
> configure:2085: gcc -o conftest -O2 conftest.c 1>&5
> configure:2053: checking for function writev
> configure:2085: gcc -o conftest -O2 conftest.c 1>&5
> configure:2110: checking whether readv(2)/writev(2) facility has to be
> faked
> configure:2154: checking for function usleep
> configure:2186: gcc -o conftest -O2 conftest.c 1>&5
> configure:2154: checking for function strerror
> configure:2186: gcc -o conftest -O2 conftest.c 1>&5
> configure:2215: checking for sys/resource.h
> configure:2225: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2215: checking for net/errno.h
> configure:2225: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2221: net/errno.h: No such file or directory
> configure: failed program was:
> #line 2220 "configure"
> #include "confdefs.h"
> #include <net/errno.h>
> configure:2253: checking for gethostname in -lnsl
> configure:2272: gcc -o conftest -O2 conftest.c -lnsl 1>&5
> configure:2349: checking for accept in -lsocket
> configure:2368: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:2400: checking for sys/select.h
> configure:2410: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2443: checking for typedef sig_atomic_t
> configure:2480: checking for typedef pid_t
> configure:2517: checking for typedef size_t
> configure:2554: checking for typedef ssize_t
> configure:2591: checking for typedef off_t
> configure:2628: checking for typedef stack_t
> configure:2660: checking for attribute ss_base in struct sigaltstack from
> sys/signal.h
> configure:2680: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure: In function `main':
> configure:2675: structure has no member named `ss_base'
> configure:2675: structure has no member named `ss_base'
> configure: failed program was:
> #line 2666 "configure"
> #include "confdefs.h"
>
> #include <sys/types.h>
> #include <sys/signal.h>
>
> int main() {
>
> struct sigaltstack *sp1;
> struct sigaltstack *sp2;
> sp1->ss_base = sp2->ss_base;
>
> ; return 0; }
> configure:2700: checking for attribute ss_sp in struct sigaltstack from
> sys/signal.h
> configure:2720: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:2741: checking for a single-argument based gettimeofday
> configure:2758: gcc -c -O2 conftest.c 1>&5
> configure: In function `main':
> configure:2753: too few arguments to function `gettimeofday'
> configure: failed program was:
> #line 2744 "configure"
> #include "confdefs.h"
>
> #include <sys/types.h>
> #include <sys/time.h>
> #include <unistd.h>
>
> int main() {
>
> struct timeval tv;
> (void)gettimeofday(&tv);
>
> ; return 0; }
> configure:2783: checking for struct timespec
> configure:2798: gcc -c -O2 conftest.c 1>&5
> configure:2819: checking for typedef socklen_t
> configure:2850: checking for type of argument 3 for accept()
> configure:2914: checking for fallback socklen_t
> configure:2941: checking for typedef nfds_t
> configure:2972: checking for type of argument 2 for poll()
> configure:3036: checking for fallback nfds_t
> configure:3063: checking for built-in type long long
> configure:3081: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3100: checking for built-in type long double
> configure:3118: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3149: checking for ucontext.h
> configure:3159: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:3187: checking for function makecontext
> configure:3219: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3187: checking for function swapcontext
> configure:3219: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3187: checking for function getcontext
> configure:3219: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3187: checking for function setcontext
> configure:3219: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3245: checking for usable SVR4/SUSv2
> makecontext(2)/swapcontext(2)
> configure:3311: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3336: checking for signal.h
> configure:3374: checking for function sigsetjmp
> configure:3406: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3374: checking for function siglongjmp
> configure:3406: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3374: checking for function setjmp
> configure:3406: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3374: checking for function longjmp
> configure:3406: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3374: checking for function _setjmp
> configure:3406: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3374: checking for function _longjmp
> configure:3406: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3432: checking for function sigaltstack
> configure:3464: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3432: checking for function sigstack
> configure:3464: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3489: checking for signal-mask aware setjmp(3)/longjmp(3)
> configure:3636: gcc -o conftest -O2 -DTEST_ssjlj conftest.c -lsocket
> -lnsl 1>&5
> configure:3811: checking for typedef stack_t
> configure:3843: checking for direction of stack growth
> configure:3883: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:3919: checking for function makecontext
> configure:3977: checking for stack setup via makecontext
> configure:4129: gcc -o conftest -O2 -DTEST_makecontext conftest.c
> -lsocket -lnsl 1>&5
> configure:4168: checking for function sigaltstack
> configure:4230: checking for typedef stack_t
> configure:4264: checking for stack setup via sigaltstack
> configure:4416: gcc -o conftest -O2 -DTEST_sigaltstack conftest.c
> -lsocket -lnsl 1>&5
> configure:4454: checking for function sigstack
> configure:4512: checking for stack setup via sigstack
> configure:4664: gcc -o conftest -O2 -DTEST_sigstack conftest.c -lsocket
> -lnsl 1>&5
> configure:4775: checking for function syscall
> configure:4807: gcc -o conftest -O2 conftest.c -lsocket -lnsl 1>&5
> configure:4835: checking for sys/syscall.h
> configure:4845: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4835: checking for sys/socketcall.h
> configure:4845: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4841: sys/socketcall.h: No such file or directory
> configure: failed program was:
> #line 4840 "configure"
> #include "confdefs.h"
> #include <sys/socketcall.h>
> configure:4872: checking for define SYS_read in sys/syscall.h
> configure:4907: checking whether soft system call mapping is used
> configure:4929: checking whether hard system call mapping is used
> configure:5000: checking whether to activate batch build mode
> configure:5017: checking whether to activate maintainer build targets
> configure:5031: checking whether to activate test build targets
> configure:5048: checking whether to build Pthread library
> configure:5334: checking whether to build against Sfio library
> configure:5536: checking whether to build against Dmalloc library
> # exit
>
> script done on Fri Jul 28 17:54:47 2000
>
>
winmail.dat