I try to compile pth-1.3.7 on intel-Solaris8 and make test failed.. === 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 (pth_acdef.h, pth_acmac.h, config.status, config.log) 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: FAILED: i386-pc-solaris2.8 | mcsc/sc/mc | down | 1.3.7 Can you look on this ? Next, on Linux, I compile pth and compile openldap1.2.11 with them, but make test (for openldap) fails on test replication.. If slurpd cannot use pth ? -- Sylwester Lunski, [EMAIL PROTECTED]
./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 ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_debug.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_ring.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_pqueue.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_time.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_errno.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_mctx.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_tcb.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_sched.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_attr.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_lib.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_event.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_data.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_clean.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_cancel.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_msg.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_sync.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_fork.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_util.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_high.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_syscall.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_ext.c ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_compat.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 \ -rpath /usr/local/lib -version-info `./shtool version -l c -d libtool pth_vers.c` gcc -c -I. -O2 -pipe test_std.c gcc -c -I. -O2 -pipe 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 -pipe 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 -pipe 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 -pipe 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 -pipe 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 -pipe 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 -pipe 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 -pipe 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 `/d1/pth-1.3.7' Now please type `[1mmake test[m' to run a quick test suite. Hope it works. make[1]: Leaving directory `/d1/pth-1.3.7'
#! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host i33: # # ./configure # # 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 --no-create --no-recursion" exec ${CONFIG_SHELL-/bin/sh} ./configure --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 -pipe%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%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.3.7 (29-Jul-2000)%g s%@PTH_VERSION_HEX@%0x103207%g s%@PLATFORM@%i386-pc-solaris2.8%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_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} 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_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} ${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} 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_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} ${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__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_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} 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_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} ${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} 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_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} ${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${ac_dD} ${ac_uA}PTH_MCTX_DSP_use${ac_uB}PTH_MCTX_DSP_use${ac_uC}PTH_MCTX_DSP_sc${ac_uD} ${ac_eA}PTH_MCTX_DSP_use${ac_eB}PTH_MCTX_DSP_use${ac_eC}PTH_MCTX_DSP_sc${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_STK_use${ac_dB}PTH_MCTX_STK_use${ac_dC}PTH_MCTX_STK_mc${ac_dD} ${ac_uA}PTH_MCTX_STK_use${ac_uB}PTH_MCTX_STK_use${ac_uC}PTH_MCTX_STK_mc${ac_uD} ${ac_eA}PTH_MCTX_STK_use${ac_eB}PTH_MCTX_STK_use${ac_eC}PTH_MCTX_STK_mc${ac_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} ${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} CEOF sed -f conftest.frag conftest.in > conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag <<CEOF 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
/* 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 */ /* #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_ */
/* ** 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_ */
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:735: checking for gcc configure:848: checking whether the C compiler (gcc ) works configure:864: gcc -o conftest conftest.c 1>&5 configure:890: checking whether the C compiler (gcc ) is a cross-compiler configure:895: checking whether we are using GNU C configure:923: checking whether gcc accepts -g configure:955: checking how to run the C preprocessor configure:1035: checking whether make sets ${MAKE} configure:1175: checking for compiler option -pipe configure:1213: checking for compilation debug mode configure:1220: checking for compilation profile mode configure:1379: checking for compilation optimization mode configure:1530: checking for ANSI C header files configure:1637: checking for stdio.h configure:1637: checking for stdlib.h configure:1637: checking for stdarg.h configure:1637: checking for string.h configure:1637: checking for signal.h configure:1637: checking for unistd.h configure:1637: checking for setjmp.h configure:1637: checking for fcntl.h configure:1637: checking for errno.h configure:1637: checking for sys/types.h configure:1637: checking for sys/time.h configure:1637: checking for sys/wait.h configure:1637: checking for sys/socket.h configure:1675: checking for function gettimeofday configure:1675: checking for function select configure:1675: checking for function sigaction configure:1675: checking for function sigprocmask configure:1675: checking for function sigpending configure:1675: checking for function sigsuspend configure:1793: checking for number of signals configure:1830: gcc -o conftest -O2 -pipe conftest.c 1>&5 configure:1850: checking for function poll configure:1907: checking for define POLLIN in poll.h configure:1941: checking whether poll(2) facility has to be faked configure:1987: checking for sys/uio.h configure:2025: checking for function readv configure:2025: checking for function writev configure:2082: checking whether readv(2)/writev(2) facility has to be faked configure:2126: checking for function usleep configure:2126: checking for function strerror configure:2187: checking for sys/resource.h configure:2187: checking for net/errno.h configure:2225: checking for gethostname in -lnsl configure:2321: checking for accept in -lsocket configure:2372: checking for sys/select.h configure:2415: checking for typedef sig_atomic_t configure:2452: checking for typedef pid_t configure:2489: checking for typedef size_t configure:2526: checking for typedef ssize_t configure:2563: checking for typedef off_t configure:2600: checking for typedef stack_t configure:2632: checking for attribute ss_base in struct sigaltstack from sys/signal.h configure:2672: checking for attribute ss_sp in struct sigaltstack from sys/signal.h configure:2713: checking for a single-argument based gettimeofday configure:2730: gcc -c -O2 -pipe conftest.c 1>&5 configure: In function `main': configure:2725: too few arguments to function `gettimeofday' configure: failed program was: #line 2716 "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:2755: checking for struct timespec configure:2770: gcc -c -O2 -pipe conftest.c 1>&5 configure:2791: checking for typedef socklen_t configure:2822: checking for type of argument 3 for accept() configure:2886: checking for fallback socklen_t configure:2913: checking for typedef nfds_t configure:2944: checking for type of argument 2 for poll() configure:3008: checking for fallback nfds_t configure:3046: checking for ucontext.h configure:3084: checking for function makecontext configure:3084: checking for function swapcontext configure:3084: checking for function getcontext configure:3084: checking for function setcontext configure:3142: checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2) configure:3233: checking for signal.h configure:3271: checking for function sigsetjmp configure:3271: checking for function siglongjmp configure:3271: checking for function setjmp configure:3271: checking for function longjmp configure:3271: checking for function _setjmp configure:3271: checking for function _longjmp configure:3329: checking for function sigaltstack configure:3329: checking for function sigstack configure:3386: checking for signal-mask aware setjmp(3)/longjmp(3) configure:3703: checking for typedef stack_t configure:3735: checking for direction of stack growth configure:3811: checking for function makecontext configure:3869: checking for stack setup via makecontext configure:4060: checking for function sigaltstack configure:4122: checking for typedef stack_t configure:4156: checking for stack setup via sigaltstack configure:4346: checking for function sigstack configure:4404: checking for stack setup via sigstack configure:4667: checking for function syscall configure:4727: checking for sys/syscall.h configure:4727: checking for sys/socketcall.h configure:4764: checking for define SYS_read in sys/syscall.h configure:4799: checking whether soft system call mapping is used configure:4821: checking whether hard system call mapping is used configure:4892: checking whether to activate batch build mode configure:4909: checking whether to activate maintainer build targets configure:4923: checking whether to activate test build targets configure:4940: checking whether to build Pthread library configure:5226: checking whether to build against Sfio library configure:5428: checking whether to build against Dmalloc library