Hi,
this morning i tried to compile ptheads on my aix box and
i had problems with longjmp or siglongjmp functions
over all tests i tried.
Attached you will find some interesting files.
Let me know if i can do something else.
Bye.
--
Carlo Corridore�
System Integration Manager
Alenia Aeronautica
Via Boscofangone Zona Industriale A.S.I.
80035 Polvica di Nola (NA) ITALY
Tel ++39-81-315-4187
Fax ++39-81-315-4162
mailto:[EMAIL PROTECTED]
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:904: gcc -E conftest.c
configure:923: checking whether gcc accepts -g
configure:955: checking how to run the C preprocessor
configure:976: gcc -E conftest.c >/dev/null 2>conftest.out
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:1543: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1610: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:1637: checking for stdio.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for stdlib.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for stdarg.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for string.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for signal.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for unistd.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for setjmp.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for fcntl.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for errno.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for sys/types.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for sys/time.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for sys/wait.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1637: checking for sys/socket.h
configure:1647: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1675: checking for function gettimeofday
configure:1707: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:1675: checking for function select
configure:1707: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:1675: checking for function sigaction
configure:1707: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:1675: checking for function sigprocmask
configure:1707: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:1675: checking for function sigpending
configure:1707: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:1675: checking for function sigsuspend
configure:1707: gcc -o conftest -O2 -pipe conftest.c 1>&5
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:1882: gcc -o conftest -O2 -pipe conftest.c 1>&5
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:1997: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2025: checking for function readv
configure:2057: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:2025: checking for function writev
configure:2057: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:2082: checking whether readv(2)/writev(2) facility has to be faked
configure:2126: checking for function usleep
configure:2158: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:2126: checking for function strerror
configure:2158: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:2187: checking for sys/resource.h
configure:2197: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2187: checking for net/errno.h
configure:2197: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2193: net/errno.h: No such file or directory
configure: failed program was:
#line 2192 "configure"
#include "confdefs.h"
#include <net/errno.h>
configure:2225: checking for gethostname in -lnsl
configure:2244: gcc -o conftest -O2 -pipe conftest.c -lnsl 1>&5
collect2: Library libnsl not found
configure: failed program was:
#line 2233 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostname();
int main() {
gethostname()
; return 0; }
configure:2273: checking for gethostbyname in -lnsl
configure:2292: gcc -o conftest -O2 -pipe conftest.c -lnsl 1>&5
collect2: Library libnsl not found
configure: failed program was:
#line 2281 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostbyname();
int main() {
gethostbyname()
; return 0; }
configure:2321: checking for accept in -lsocket
configure:2340: gcc -o conftest -O2 -pipe conftest.c -lsocket 1>&5
collect2: Library libsocket not found
configure: failed program was:
#line 2329 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char accept();
int main() {
accept()
; return 0; }
configure:2372: checking for sys/select.h
configure:2382: gcc -E conftest.c >/dev/null 2>conftest.out
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:2652: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure: In function `main':
configure:2647: dereferencing pointer to incomplete type
configure:2647: dereferencing pointer to incomplete type
configure: failed program was:
#line 2638 "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:2672: checking for attribute ss_sp in struct sigaltstack from sys/signal.h
configure:2692: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure: In function `main':
configure:2687: dereferencing pointer to incomplete type
configure:2687: dereferencing pointer to incomplete type
configure: failed program was:
#line 2678 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/signal.h>
int main() {
struct sigaltstack *sp1;
struct sigaltstack *sp2;
sp1->ss_sp = sp2->ss_sp;
; return 0; }
configure:2713: checking for a single-argument based gettimeofday
configure:2730: gcc -c -O2 -pipe conftest.c 1>&5
configure:2755: checking for struct timespec
configure:2770: gcc -c -O2 -pipe conftest.c 1>&5
configure: In function `main':
configure:2765: storage size of `ts' isn't known
configure: failed program was:
#line 2758 "configure"
#include "confdefs.h"
#include <time.h>
#include <sys/time.h>
int main() {
struct timespec ts;
; return 0; }
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:3056: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3052: ucontext.h: No such file or directory
configure: failed program was:
#line 3051 "configure"
#include "confdefs.h"
#include <ucontext.h>
configure:3084: checking for function makecontext
configure:3116: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
makecontext
collect2: ld returned 8 exit status
configure: failed program was:
#line 3089 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char makecontext(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char makecontext();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_makecontext) || defined (__stub___makecontext)
choke me
#else
f = makecontext;
#endif
; return 0; }
configure:3084: checking for function swapcontext
configure:3116: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
swapcontext
collect2: ld returned 8 exit status
configure: failed program was:
#line 3089 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char swapcontext(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char swapcontext();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_swapcontext) || defined (__stub___swapcontext)
choke me
#else
f = swapcontext;
#endif
; return 0; }
configure:3084: checking for function getcontext
configure:3116: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
getcontext
collect2: ld returned 8 exit status
configure: failed program was:
#line 3089 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getcontext(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getcontext();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getcontext) || defined (__stub___getcontext)
choke me
#else
f = getcontext;
#endif
; return 0; }
configure:3084: checking for function setcontext
configure:3116: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
setcontext
collect2: ld returned 8 exit status
configure: failed program was:
#line 3089 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setcontext(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char setcontext();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_setcontext) || defined (__stub___setcontext)
choke me
#else
f = setcontext;
#endif
; return 0; }
configure:3142: checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)
configure:3208: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:3157: ucontext.h: No such file or directory
configure:3159: parse error before `uc_child'
configure:3159: warning: data definition has no type or storage class
configure:3160: parse error before `uc_main'
configure:3160: warning: data definition has no type or storage class
configure: In function `main':
configure:3186: request for member `uc_link' in something not a structure or union
configure:3187: request for member `uc_stack' in something not a structure or union
configure:3188: request for member `uc_stack' in something not a structure or union
configure:3189: request for member `uc_stack' in something not a structure or union
configure: failed program was:
#line 3152 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <stdlib.h>
#include <ucontext.h>
ucontext_t uc_child;
ucontext_t uc_main;
void child(void *arg)
{
if (arg != (void *)12345)
exit(1);
if (swapcontext(&uc_child, &uc_main) != 0)
exit(1);
}
int main(int argc, char *argv[])
{
FILE *fp;
void *stack;
/* the default is that it fails */
if ((fp = fopen("conftestval", "w")) == NULL)
exit(1);
fprintf(fp, "no\n");
fclose(fp);
/* configure a child user-space context */
if ((stack = malloc(64*1024)) == NULL)
exit(1);
if (getcontext(&uc_child) != 0)
exit(1);
uc_child.uc_link = NULL;
uc_child.uc_stack.ss_sp = (char *)stack+(32*1024);
uc_child.uc_stack.ss_size = 32*1024;
uc_child.uc_stack.ss_flags = 0;
makecontext(&uc_child, child, 2, (void *)12345);
/* switch into the user context */
if (swapcontext(&uc_main, &uc_child) != 0)
exit(1);
/* Fine, child came home */
if ((fp = fopen("conftestval", "w")) == NULL)
exit(1);
fprintf(fp, "yes\n");
fclose(fp);
/* die successfully */
exit(0);
}
configure:3233: checking for signal.h
configure:3271: checking for function sigsetjmp
configure:3303: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:3271: checking for function siglongjmp
configure:3303: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:3271: checking for function setjmp
configure:3303: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:3271: checking for function longjmp
configure:3303: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:3271: checking for function _setjmp
configure:3303: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
_setjmp
collect2: ld returned 8 exit status
configure: failed program was:
#line 3276 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _setjmp(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _setjmp();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub__setjmp) || defined (__stub____setjmp)
choke me
#else
f = _setjmp;
#endif
; return 0; }
configure:3271: checking for function _longjmp
configure:3303: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
_longjmp
collect2: ld returned 8 exit status
configure: failed program was:
#line 3276 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _longjmp(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _longjmp();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub__longjmp) || defined (__stub____longjmp)
choke me
#else
f = _longjmp;
#endif
; return 0; }
configure:3329: checking for function sigaltstack
configure:3361: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
sigaltstack
collect2: ld returned 8 exit status
configure: failed program was:
#line 3334 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sigaltstack(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sigaltstack();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_sigaltstack) || defined (__stub___sigaltstack)
choke me
#else
f = sigaltstack;
#endif
; return 0; }
configure:3329: checking for function sigstack
configure:3361: gcc -o conftest -O2 -pipe conftest.c 1>&5
configure:3386: checking for signal-mask aware setjmp(3)/longjmp(3)
configure:3533: gcc -o conftest -O2 -pipe -DTEST_ssjlj conftest.c 1>&5
configure:3703: checking for typedef stack_t
configure:3735: checking for direction of stack growth
configure:3775: gcc -o conftest -O2 -pipe conftest.c 1>&5
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:4556: gcc -o conftest -O2 -pipe -DTEST_sigstack conftest.c 1>&5
configure:4667: checking for function syscall
configure:4699: gcc -o conftest -O2 -pipe conftest.c 1>&5
0706-317 ERROR: Unresolved or undefined symbols detected:
Symbols in error (followed by references) are
dumped to the load map.
The -bloadmap:<filename> option will create a load map.
syscall
collect2: ld returned 8 exit status
configure: failed program was:
#line 4672 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char syscall(); below. */
#include <assert.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char syscall();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_syscall) || defined (__stub___syscall)
choke me
#else
f = syscall;
#endif
; return 0; }
configure:4727: checking for sys/syscall.h
configure:4737: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4733: sys/syscall.h: No such file or directory
configure: failed program was:
#line 4732 "configure"
#include "confdefs.h"
#include <sys/syscall.h>
configure:4727: checking for sys/socketcall.h
configure:4737: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4733: sys/socketcall.h: No such file or directory
configure: failed program was:
#line 4732 "configure"
#include "confdefs.h"
#include <sys/socketcall.h>
configure:4764: checking for define SYS_read in sys/syscall.h
configure:4771: sys/syscall.h: No such file or directory
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
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host traspm:
#
# ./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@%%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.6 (01-Jul-2000)%g
s%@PTH_VERSION_HEX@%0x103206%g
s%@PLATFORM@%rs6000-ibm-aix3.2.5%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 int socklen_t;%g
s%@FALLBACK_NFDS_T@%typedef ulong nfds_t;%g
s%@PTH_STACK_GROWTH@%down%g
s%@pth_skaddr_makecontext@%#define pth_skaddr_makecontext(skaddr,sksize) (/*N.A.*/)%g
s%@pth_sksize_makecontext@%#define pth_sksize_makecontext(skaddr,sksize) (/*N.A.*/)%g
s%@pth_skaddr_sigaltstack@%#define pth_skaddr_sigaltstack(skaddr,sksize) (/*N.A.*/)%g
s%@pth_sksize_sigaltstack@%#define pth_sksize_sigaltstack(skaddr,sksize) (/*N.A.*/)%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 sigjmp_buf%g
s%@pth_sigsetjmp@%#define pth_sigsetjmp(buf) sigsetjmp(buf,1)%g
s%@pth_siglongjmp@%#define pth_siglongjmp(buf,val) siglongjmp(buf,val)%g
s%@PTH_MCTX_ID@%sjlj/ssjlj/ss%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}64${ac_dD}
${ac_uA}PTH_NSIG${ac_uB}PTH_NSIG${ac_uC}64${ac_uD}
${ac_eA}PTH_NSIG${ac_eB}PTH_NSIG${ac_eC}64${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_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}
${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}
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_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}
${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_GETTIMEOFDAY_ARGS1${ac_dB}HAVE_GETTIMEOFDAY_ARGS1${ac_dC}1${ac_dD}
${ac_uA}HAVE_GETTIMEOFDAY_ARGS1${ac_uB}HAVE_GETTIMEOFDAY_ARGS1${ac_uC}1${ac_uD}
${ac_eA}HAVE_GETTIMEOFDAY_ARGS1${ac_eB}HAVE_GETTIMEOFDAY_ARGS1${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_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}
${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}
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_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_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_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_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_sjlj${ac_dD}
${ac_uA}PTH_MCTX_MTH_use${ac_uB}PTH_MCTX_MTH_use${ac_uC}PTH_MCTX_MTH_sjlj${ac_uD}
${ac_eA}PTH_MCTX_MTH_use${ac_eB}PTH_MCTX_MTH_use${ac_eC}PTH_MCTX_MTH_sjlj${ac_eD}
${ac_dA}PTH_MCTX_DSP_use${ac_dB}PTH_MCTX_DSP_use${ac_dC}PTH_MCTX_DSP_ssjlj${ac_dD}
${ac_uA}PTH_MCTX_DSP_use${ac_uB}PTH_MCTX_DSP_use${ac_uC}PTH_MCTX_DSP_ssjlj${ac_uD}
${ac_eA}PTH_MCTX_DSP_use${ac_eB}PTH_MCTX_DSP_use${ac_eC}PTH_MCTX_DSP_ssjlj${ac_eD}
${ac_dA}PTH_MCTX_STK_use${ac_dB}PTH_MCTX_STK_use${ac_dC}PTH_MCTX_STK_ss${ac_dD}
${ac_uA}PTH_MCTX_STK_use${ac_uB}PTH_MCTX_STK_use${ac_uC}PTH_MCTX_STK_ss${ac_uD}
${ac_eA}PTH_MCTX_STK_use${ac_eB}PTH_MCTX_STK_use${ac_eC}PTH_MCTX_STK_ss${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
./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. -g -O2 -pipe pth_debug.c
In file included from pth_p.h.in:41,
from pth_debug.c:29:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_ring.c
In file included from pth_p.h.in:41,
from pth_ring.c:29:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_pqueue.c
In file included from pth_p.h.in:41,
from pth_pqueue.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_time.c
In file included from pth_p.h.in:41,
from pth_time.c:29:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_errno.c
In file included from pth_p.h.in:41,
from pth_errno.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_mctx.c
In file included from pth_p.h.in:41,
from pth_mctx.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_tcb.c
In file included from pth_p.h.in:41,
from pth_tcb.c:27:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_sched.c
In file included from pth_p.h.in:41,
from pth_sched.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_attr.c
In file included from pth_p.h.in:41,
from pth_attr.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_lib.c
In file included from pth_p.h.in:41,
from pth_lib.c:30:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_event.c
In file included from pth_p.h.in:41,
from pth_event.c:29:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_data.c
In file included from pth_p.h.in:41,
from pth_data.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_clean.c
In file included from pth_p.h.in:41,
from pth_clean.c:29:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_cancel.c
In file included from pth_p.h.in:41,
from pth_cancel.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_msg.c
In file included from pth_p.h.in:41,
from pth_msg.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_sync.c
In file included from pth_p.h.in:41,
from pth_sync.c:29:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_fork.c
In file included from pth_p.h.in:41,
from pth_fork.c:30:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_util.c
In file included from pth_p.h.in:41,
from pth_util.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_high.c
In file included from pth_p.h.in:41,
from pth_high.c:36:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_syscall.c
In file included from pth_p.h.in:41,
from pth_syscall.c:30:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_ext.c
In file included from pth_p.h.in:41,
from pth_ext.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./libtool --mode=compile --quiet gcc -c -I. -g -O2 -pipe pth_compat.c
In file included from pth_p.h.in:41,
from pth_compat.c:28:
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning:
`union wait' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.95.2/include/sys/wait.h:107: warning: its
scope is only this definition or declaration, which is probably not what you want.
./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`
libtool: link: warning: undefined symbols not allowed in rs6000-ibm-aix3.2.5 shared
libraries
gcc -c -I. -g -O2 -pipe test_std.c
gcc -c -I. -g -O2 -pipe test_common.c
./libtool --mode=link --quiet gcc -o test_std test_std.o test_common.o libpth.la
gcc -c -I. -g -O2 -pipe test_mp.c
./libtool --mode=link --quiet gcc -o test_mp test_mp.o test_common.o libpth.la
gcc -c -I. -g -O2 -pipe test_misc.c
./libtool --mode=link --quiet gcc -o test_misc test_misc.o test_common.o libpth.la
gcc -c -I. -g -O2 -pipe test_philo.c
./libtool --mode=link --quiet gcc -o test_philo test_philo.o test_common.o libpth.la
gcc -c -I. -g -O2 -pipe test_sig.c
./libtool --mode=link --quiet gcc -o test_sig test_sig.o test_common.o libpth.la
gcc -c -I. -g -O2 -pipe test_select.c
./libtool --mode=link --quiet gcc -o test_select test_select.o test_common.o
libpth.la
gcc -c -I. -g -O2 -pipe test_httpd.c
./libtool --mode=link --quiet gcc -o test_httpd test_httpd.o test_common.o libpth.la
gcc -c -I. -g -O2 -pipe test_sfio.c
./libtool --mode=link --quiet gcc -o test_sfio test_sfio.o test_common.o libpth.la
gmake[1]: Entering directory `/home/carlo/pth-1.3.6'
Now please type `[1mmake test[0;10m(B' to run a quick test suite. Hope it works.
gmake[1]: Leaving directory `/home/carlo/pth-1.3.6'
/* 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
/* #undef HAVE_STACK_T */
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
/* #undef HAVE_SOCKLEN_T */
/* #undef HAVE_NFDS_T */
#define HAVE_OFF_T 1
#define HAVE_GETTIMEOFDAY_ARGS1 1
/* #undef HAVE_STRUCT_TIMESPEC */
/* #undef HAVE_SYS_READ */
#define HAVE_POLLIN 1
/* #undef HAVE_SS_SP */
/* #undef HAVE_SS_BASE */
/* #undef PTH_DEBUG */
#define PTH_NSIG 64
#define PTH_MCTX_MTH_use PTH_MCTX_MTH_sjlj
#define PTH_MCTX_DSP_use PTH_MCTX_DSP_ssjlj
#define PTH_MCTX_STK_use PTH_MCTX_STK_ss
#define PTH_STACKGROWTH -1
/* #undef PTH_DMALLOC */
/* Define if you have the _longjmp function. */
/* #undef HAVE__LONGJMP */
/* Define if you have the _setjmp function. */
/* #undef HAVE__SETJMP */
/* Define if you have the getcontext function. */
/* #undef HAVE_GETCONTEXT */
/* 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. */
/* #undef HAVE_MAKECONTEXT */
/* 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. */
/* #undef HAVE_SETCONTEXT */
/* 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. */
/* #undef HAVE_SIGALTSTACK */
/* 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. */
/* #undef HAVE_SWAPCONTEXT */
/* Define if you have the syscall function. */
/* #undef HAVE_SYSCALL */
/* 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. */
/* #undef HAVE_SYS_SYSCALL_H */
/* 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. */
/* #undef HAVE_UCONTEXT_H */
/* 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). */
/* #undef HAVE_LIBNSL */
/* Define if you have the sfio library (-lsfio). */
/* #undef HAVE_LIBSFIO */
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
#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 sigjmp_buf
#define pth_sigsetjmp(buf) sigsetjmp(buf,1)
#define pth_siglongjmp(buf,val) 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) (/*N.A.*/)
#define pth_sksize_sigaltstack(skaddr,sksize) (/*N.A.*/)
#define pth_skaddr_makecontext(skaddr,sksize) (/*N.A.*/)
#define pth_sksize_makecontext(skaddr,sksize) (/*N.A.*/)
/* 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_ */
=== TESTING GLOBAL LIBRARY API ===
Fetching library version
version = 0x103206
=== TESTING BASIC OPERATION ===
Initializing Pth system (spawns scheduler and main thread)
longjmp or siglongjmp function used outside of saved context
/bin/sh: 28299 Abort: A memory image file is created as "core".
Please send the following summary line together with details about
the configuration ([1mpth_acdef.h[0;10m(B, [1mpth_acmac.h[0;10m(B,
[1mconfig.status[0;10m(B, [1mconfig.log[0;10m(B)
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[0;10m(B: [1mrs6000-ibm-aix3.2.5[0;10m(B |
[1msjlj/ssjlj/ss[0;10m(B | [1mdown[0;10m(B | [1m1.3.6[0;10m(B
gmake: [test-std] Error 1 (ignored)