This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ /mnt/gmirror/ports/devel/msp430-binutils/work/binutils-2.16.1/libiberty/configure --cache-file=./config.cache --build=i386-unknown-gnu --host=i386-unknown-gnu --target= --target=msp430 --with-gcc --with-gnu-ld --with-gnu-as --disable-nls --prefix=/usr/local i386-unknown-gnu build_alias=i386-unknown-gnu host_alias=i386-unknown-gnu target_alias= CFLAGS=-fno-common --program-transform-name=s,y,y, --srcdir=.././libiberty CC=gcc CFLAGS=-fno-common LDFLAGS= build_alias= host_alias= --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## hostname = darwintel uname -m = x86 uname -r = 8.0.1 uname -s = Darwin uname -v = Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 Kernel configured for up to 4 processors. 4 processors are physically available. Processor type: pentpro (Intel Pentium Pro) Processors active: 0 1 2 3 Primary memory available: 1023.00 megabytes Default processor set: 135 tasks, 192 threads, 4 processors Load average: 4.60, Mach factor: 1.02 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1227: creating cache configure:1384: checking whether to enable maintainer-specific portions of Makefiles configure:1394: result: no configure:1409: checking for makeinfo configure:1435: result: makeinfo --split-size=5000000 configure:1474: checking for perl configure:1490: found /usr/local/bin/perl configure:1500: result: perl configure:1520: checking build system type configure:1538: result: i686-apple-darwin8.0.1 configure:1546: checking host system type configure:1560: result: i686-apple-darwin8.0.1 configure:1611: checking for ar configure:1637: result: ar configure:1690: checking for ranlib configure:1717: result: ranlib configure:1777: checking for gcc configure:1803: result: gcc configure:2047: checking for C compiler version configure:2050: gcc --version &5 gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2053: $? = 0 configure:2055: gcc -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:2058: $? = 0 configure:2060: gcc -V &5 gcc: `-V' option must have argument configure:2063: $? = 1 configure:2082: gcc -o conftest -fno-common conftest.c >&5 configure:2085: $? = 0 configure:2119: checking for C compiler default output file name configure:2122: gcc -fno-common conftest.c >&5 configure:2125: $? = 0 configure:2171: result: a.out configure:2176: checking whether the C compiler works configure:2182: ./a.out configure:2185: $? = 0 configure:2202: result: yes configure:2209: checking whether we are cross compiling configure:2211: result: no configure:2214: checking for suffix of executables configure:2216: gcc -o conftest -fno-common conftest.c >&5 configure:2219: $? = 0 configure:2244: result: configure:2251: checking for suffix of object files configure:2272: gcc -c -fno-common conftest.c >&5 configure:2275: $? = 0 configure:2297: result: configure:2301: checking whether we are using the GNU C compiler configure:2325: gcc -c -fno-common conftest.c >&5 configure:2331: $? = 0 configure:2335: test -z || test ! -s conftest.err configure:2338: $? = 0 configure:2341: test -s conftest. configure:2344: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2357: result: no configure:2363: checking whether gcc accepts -g configure:2384: gcc -c -g conftest.c >&5 configure:2390: $? = 0 configure:2394: test -z || test ! -s conftest.err configure:2397: $? = 0 configure:2400: test -s conftest. configure:2403: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2414: result: no configure:2431: checking for gcc option to accept ANSI C configure:2501: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:11: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:2507: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2501: gcc -qlanglvl=ansi -c -fno-common conftest.c >&5 gcc: unrecognized option `-qlanglvl=ansi' In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:11: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:2507: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2501: gcc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2507: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2501: gcc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:11: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:2507: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2501: gcc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:11: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:2507: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2501: gcc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 gcc: unrecognized option `-Xc' In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:11: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:2507: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2538: result: none needed configure:2556: gcc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2562: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2700: checking how to run the C preprocessor configure:2735: gcc -E conftest.c configure:2741: $? = 0 configure:2773: gcc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2779: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2818: result: gcc -E configure:2842: gcc -E conftest.c configure:2848: $? = 0 configure:2880: gcc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2886: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2938: checking whether gcc and cc understand -c and -o together configure:2968: gcc -c conftest.c -o conftest. >&5 configure:2971: $? = 0 configure:2973: gcc -c conftest.c -o conftest. >&5 configure:2976: $? = 0 configure:2983: cc -c conftest.c >&5 configure:2986: $? = 0 configure:2989: cc -c conftest.c -o conftest. >&5 configure:2992: $? = 0 configure:2994: cc -c conftest.c -o conftest. >&5 configure:2997: $? = 0 configure:3015: result: yes configure:3037: checking for an ANSI C-conforming const configure:3104: gcc -c -fno-common conftest.c >&5 configure:3110: $? = 0 configure:3114: test -z || test ! -s conftest.err configure:3117: $? = 0 configure:3120: test -s conftest. configure:3123: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | /* FIXME: Include the comments suggested by Paul. */ | #ifndef __cplusplus | /* Ultrix mips cc rejects this. */ | typedef int charset[2]; | const charset x; | /* SunOS 4.1.1 cc rejects this. */ | char const *const *ccp; | char **p; | /* NEC SVR4.0.2 mips cc rejects this. */ | struct point {int x, y;}; | static struct point const zero = {0,0}; | /* AIX XL C 1.02.0.0 rejects this. | It does not let you subtract one const X* pointer from another in | an arm of an if-expression whose if-part is not a constant | expression */ | const char *g = "string"; | ccp = &g + (g ? g-g : 0); | /* HPUX 7.0 cc rejects these. */ | ++ccp; | p = (char**) ccp; | ccp = (char const *const *) p; | { /* SCO 3.2v4 cc rejects this. */ | char *t; | char const *s = 0 ? (char *) 0 : (char const *) 0; | | *t++ = 0; | } | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | int x[] = {25, 17}; | const int *foo = &x[0]; | ++foo; | } | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | typedef const int *iptr; | iptr p = 0; | ++p; | } | { /* AIX XL C 1.02.0.0 rejects this saying | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | struct s { int j; const int *ap[3]; }; | struct s *b; b->j = 5; | } | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | const int foo = 10; | } | #endif | | ; | return 0; | } configure:3134: result: no configure:3144: checking for inline configure:3165: gcc -c -fno-common conftest.c >&5 configure:3171: $? = 0 configure:3175: test -z || test ! -s conftest.err configure:3178: $? = 0 configure:3181: test -s conftest. configure:3184: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | /* end confdefs.h. */ | #ifndef __cplusplus | typedef int foo_t; | static inline foo_t static_foo () {return 0; } | inline foo_t foo () {return 0; } | #endif | configure:3165: gcc -c -fno-common conftest.c >&5 configure:3171: $? = 0 configure:3175: test -z || test ! -s conftest.err configure:3178: $? = 0 configure:3181: test -s conftest. configure:3184: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | /* end confdefs.h. */ | #ifndef __cplusplus | typedef int foo_t; | static __inline__ foo_t static_foo () {return 0; } | __inline__ foo_t foo () {return 0; } | #endif | configure:3165: gcc -c -fno-common conftest.c >&5 configure:3171: $? = 0 configure:3175: test -z || test ! -s conftest.err configure:3178: $? = 0 configure:3181: test -s conftest. configure:3184: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | /* end confdefs.h. */ | #ifndef __cplusplus | typedef int foo_t; | static __inline foo_t static_foo () {return 0; } | __inline foo_t foo () {return 0; } | #endif | configure:3196: result: no configure:3215: checking whether byte ordering is bigendian configure:3242: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:13: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:3248: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | /* end confdefs.h. */ | #include | #include | int | main () | { | | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | bogus endian macros | #endif | ; | return 0; | } configure:3341: gcc -o conftest -fno-common conftest.c >&5 configure:3344: $? = 0 configure:3346: ./conftest configure:3349: $? = 0 configure:3364: result: no configure:3445: checking for a BSD-compatible install configure:3500: result: /usr/local/bin/ginstall -c configure:3546: checking for sys/file.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/param.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for limits.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for stdlib.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for malloc.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for string.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for unistd.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for strings.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/time.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for time.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/resource.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/stat.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/mman.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for fcntl.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for alloca.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/pstat.h configure:3559: gcc -E conftest.c conftest.c:29:23: sys/pstat.h: No such file or directory configure:3565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | /* end confdefs.h. */ | #include configure:3586: result: no configure:3546: checking for sys/sysmp.h configure:3559: gcc -E conftest.c conftest.c:29:23: sys/sysmp.h: No such file or directory configure:3565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | /* end confdefs.h. */ | #include configure:3586: result: no configure:3546: checking for sys/sysinfo.h configure:3559: gcc -E conftest.c conftest.c:29:25: sys/sysinfo.h: No such file or directory configure:3565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | /* end confdefs.h. */ | #include configure:3586: result: no configure:3546: checking for machine/hal_sysinfo.h configure:3559: gcc -E conftest.c conftest.c:29:33: machine/hal_sysinfo.h: No such file or directory configure:3565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | /* end confdefs.h. */ | #include configure:3586: result: no configure:3546: checking for sys/table.h configure:3559: gcc -E conftest.c conftest.c:29:23: sys/table.h: No such file or directory configure:3565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | /* end confdefs.h. */ | #include configure:3586: result: no configure:3546: checking for sys/sysctl.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3546: checking for sys/systemcfg.h configure:3559: gcc -E conftest.c conftest.c:30:27: sys/systemcfg.h: No such file or directory configure:3565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | /* end confdefs.h. */ | #include configure:3586: result: no configure:3546: checking for stdint.h configure:3559: gcc -E conftest.c configure:3565: $? = 0 configure:3586: result: yes configure:3596: checking for sys/wait.h that is POSIX.1 compatible configure:3627: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:31: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:3633: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | /* end confdefs.h. */ | #include | #include | #ifndef WEXITSTATUS | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | #endif | #ifndef WIFEXITED | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | #endif | | int | main () | { | int s; | wait (&s); | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | ; | return 0; | } configure:3657: result: no configure:3667: checking whether time.h and sys/time.h may both be included configure:3692: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:31: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:3698: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | /* end confdefs.h. */ | #include | #include | #include | | int | main () | { | if ((struct tm *) 0) | return 0; | ; | return 0; | } configure:3722: result: no configure:3733: checking whether errno must be declared configure:3754: gcc -c -fno-common conftest.c >&5 configure:3760: $? = 0 configure:3764: test -z || test ! -s conftest.err configure:3767: $? = 0 configure:3770: test -s conftest. configure:3773: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | /* end confdefs.h. */ | #include | int | main () | { | int x = errno; | ; | return 0; | } configure:3784: result: yes configure:3796: checking for egrep configure:3806: result: grep -E configure:3811: checking for ANSI C header files configure:3836: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/machine/types.h:32, from /usr/include/stdlib.h:248, from conftest.c:32: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /usr/local/include/stdint.h:162: error: previous declaration of `int8_t' /usr/include/i386/types.h:99: error: conflicting types for `uintptr_t' /usr/local/include/stdint.h:272: error: previous declaration of `uintptr_t' configure:3842: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:3964: result: no configure:3988: checking for sys/types.h configure:4001: gcc -E conftest.c configure:4007: $? = 0 configure:4028: result: yes configure:3988: checking for sys/stat.h configure:4028: result: yes configure:3988: checking for stdlib.h configure:4028: result: yes configure:3988: checking for string.h configure:4028: result: yes configure:3988: checking for memory.h configure:4001: gcc -E conftest.c configure:4007: $? = 0 configure:4028: result: yes configure:3988: checking for strings.h configure:4028: result: yes configure:3988: checking for inttypes.h configure:4001: gcc -E conftest.c configure:4007: $? = 0 configure:4028: result: yes configure:3988: checking for stdint.h configure:4028: result: yes configure:3988: checking for unistd.h configure:4028: result: yes configure:4039: checking for int configure:4063: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:43: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:4069: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | if ((int *) 0) | return 0; | if (sizeof (int)) | return 0; | ; | return 0; | } configure:4093: result: no configure:4096: checking size of int configure:4446: result: 0 configure:4454: checking for uintptr_t configure:4478: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:44: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:4484: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | if ((uintptr_t *) 0) | return 0; | if (sizeof (uintptr_t)) | return 0; | ; | return 0; | } configure:4508: result: no configure:4522: checking for a 64-bit type configure:4545: gcc -c -fno-common conftest.c >&5 configure:4551: $? = 0 configure:4555: test -z || test ! -s conftest.err configure:4558: $? = 0 configure:4561: test -s conftest. configure:4564: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | /* end confdefs.h. */ | #ifdef HAVE_STDINT_H | #include | #endif | int | main () | { | extern uint64_t foo; | ; | return 0; | } configure:4592: gcc -c -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:52: error: size of array `foo' is negative configure:4598: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | /* end confdefs.h. */ | #ifdef HAVE_LIMITS_H | #include | #endif | #ifndef CHAR_BIT | #define CHAR_BIT 8 | #endif | int | main () | { | extern char foo[sizeof(long) * CHAR_BIT >= 64 ? 1 : -1]; | ; | return 0; | } configure:4639: gcc -c -fno-common conftest.c >&5 configure:4645: $? = 0 configure:4649: test -z || test ! -s conftest.err configure:4652: $? = 0 configure:4655: test -s conftest. configure:4658: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | /* end confdefs.h. */ | #ifdef HAVE_LIMITS_H | #include | #endif | #ifndef CHAR_BIT | #define CHAR_BIT 8 | #endif | int | main () | { | extern char foo[sizeof(long long) * CHAR_BIT >= 64 ? 1 : -1]; | ; | return 0; | } configure:4674: result: none configure:4693: checking for pid_t configure:4717: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:46: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' configure:4723: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | if ((pid_t *) 0) | return 0; | if (sizeof (pid_t)) | return 0; | ; | return 0; | } configure:4747: result: no configure:5336: checking for library containing strerror configure:5371: gcc -o conftest -fno-common conftest.c >&5 configure:5377: $? = 0 configure:5381: test -z || test ! -s conftest.err configure:5384: $? = 0 configure:5387: test -s conftest configure:5390: $? = 0 configure:5465: result: none required configure:5476: checking for asprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for atexit configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for basename configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for bcmp configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:66: warning: conflicting types for built-in function `bcmp' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for bcopy configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for bsearch configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for bzero configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:69: warning: conflicting types for built-in function `bzero' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for calloc configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for clock configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for ffs configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:72: warning: conflicting types for built-in function `ffs' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for getcwd configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for getpagesize configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for index configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:75: warning: conflicting types for built-in function `index' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for insque configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for memchr configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for memcmp configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:78: warning: conflicting types for built-in function `memcmp' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for memcpy configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:79: warning: conflicting types for built-in function `memcpy' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for memmove configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for mempcpy configure:5532: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _mempcpy configure:5538: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char mempcpy (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 mempcpy (); | /* 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_mempcpy) || defined (__stub___mempcpy) | choke me | #else | char (*f) () = mempcpy; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != mempcpy; | ; | return 0; | } configure:5563: result: no configure:5476: checking for memset configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:81: warning: conflicting types for built-in function `memset' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for mkstemps configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for putenv configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for random configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for rename configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for rindex configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:86: warning: conflicting types for built-in function `rindex' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for setenv configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for snprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:88: warning: conflicting types for built-in function `snprintf' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for sigsetmask configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for stpcpy configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for stpncpy configure:5532: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _stpncpy configure:5538: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char stpncpy (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 stpncpy (); | /* 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_stpncpy) || defined (__stub___stpncpy) | choke me | #else | char (*f) () = stpncpy; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != stpncpy; | ; | return 0; | } configure:5563: result: no configure:5476: checking for strcasecmp configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strchr configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:92: warning: conflicting types for built-in function `strchr' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strdup configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strncasecmp configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strrchr configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:95: warning: conflicting types for built-in function `strrchr' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strstr configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:96: warning: conflicting types for built-in function `strstr' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strtod configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strtol configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for strtoul configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for tmpnam configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for vasprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for vfprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for vprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:103: warning: conflicting types for built-in function `vprintf' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for vsnprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:104: warning: conflicting types for built-in function `vsnprintf' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for vsprintf configure:5532: gcc -o conftest -fno-common conftest.c >&5 conftest.c:105: warning: conflicting types for built-in function `vsprintf' configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5476: checking for waitpid configure:5532: gcc -o conftest -fno-common conftest.c >&5 configure:5538: $? = 0 configure:5542: test -z || test ! -s conftest.err configure:5545: $? = 0 configure:5548: test -s conftest configure:5551: $? = 0 configure:5563: result: yes configure:5583: checking whether alloca needs Cray hooks configure:5610: result: no configure:5715: checking stack direction for C alloca configure:5747: gcc -o conftest -fno-common conftest.c >&5 configure:5750: $? = 0 configure:5752: ./conftest configure:5755: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | /* end confdefs.h. */ | find_stack_direction () | { | static char *addr = 0; | auto char dummy; | if (addr == 0) | { | addr = &dummy; | return find_stack_direction (); | } | else | return (&dummy > addr) ? 1 : -1; | } | main () | { | exit (find_stack_direction() < 0); | } configure:5769: result: -1 configure:5782: checking for unistd.h configure:5822: result: yes configure:5782: checking for vfork.h configure:5795: gcc -E conftest.c conftest.c:91:19: vfork.h: No such file or directory configure:5801: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:5822: result: no configure:5837: checking for fork configure:5893: gcc -o conftest -fno-common conftest.c >&5 configure:5899: $? = 0 configure:5903: test -z || test ! -s conftest.err configure:5906: $? = 0 configure:5909: test -s conftest configure:5912: $? = 0 configure:5924: result: yes configure:5837: checking for vfork configure:5893: gcc -o conftest -fno-common conftest.c >&5 configure:5899: $? = 0 configure:5903: test -z || test ! -s conftest.err configure:5906: $? = 0 configure:5909: test -s conftest configure:5912: $? = 0 configure:5924: result: yes configure:5935: checking for working fork configure:5958: gcc -o conftest -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:2: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure:5961: $? = 1 configure: program exited with status 1 configure: failed program was: | /* By Ruediger Kuhlmann. */ | #include | #if HAVE_UNISTD_H | # include | #endif | /* Some systems only have a dummy stub for fork() */ | int main () | { | if (fork() < 0) | exit (1); | exit (0); | } configure:5980: result: no configure:6001: checking for working vfork configure:6134: result: yes configure:6295: checking for _doprnt configure:6351: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: __doprnt configure:6357: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _doprnt (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 _doprnt (); | /* 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__doprnt) || defined (__stub____doprnt) | choke me | #else | char (*f) () = _doprnt; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != _doprnt; | ; | return 0; | } configure:6382: result: no configure:6395: checking for sys_errlist configure:6421: gcc -o conftest -fno-common conftest.c >&5 configure:6427: $? = 0 configure:6431: test -z || test ! -s conftest.err configure:6434: $? = 0 configure:6437: test -s conftest configure:6440: $? = 0 configure:6454: result: yes configure:6395: checking for sys_nerr configure:6421: gcc -o conftest -fno-common conftest.c >&5 configure:6427: $? = 0 configure:6431: test -z || test ! -s conftest.err configure:6434: $? = 0 configure:6437: test -s conftest configure:6440: $? = 0 configure:6454: result: yes configure:6395: checking for sys_siglist configure:6421: gcc -o conftest -fno-common conftest.c >&5 configure:6427: $? = 0 configure:6431: test -z || test ! -s conftest.err configure:6434: $? = 0 configure:6437: test -s conftest configure:6440: $? = 0 configure:6454: result: yes configure:6469: checking for external symbol _system_configuration configure:6487: gcc -c -fno-common conftest.c >&5 conftest.c:97:27: sys/systemcfg.h: No such file or directory conftest.c: In function `main': conftest.c:101: error: `_system_configuration' undeclared (first use in this function) conftest.c:101: error: (Each undeclared identifier is reported only once conftest.c:101: error: for each function it appears in.) configure:6493: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | /* end confdefs.h. */ | #include | int | main () | { | double x = _system_configuration.physmem; | ; | return 0; | } configure:6519: result: no configure:6528: checking for getrusage configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for on_exit configure:6584: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _on_exit configure:6590: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char on_exit (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 on_exit (); | /* 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_on_exit) || defined (__stub___on_exit) | choke me | #else | char (*f) () = on_exit; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != on_exit; | ; | return 0; | } configure:6615: result: no configure:6528: checking for psignal configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for strerror configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for strsignal configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for sysconf configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for times configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for sbrk configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for gettimeofday configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for realpath configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for canonicalize_file_name configure:6584: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _canonicalize_file_name configure:6590: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char canonicalize_file_name (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 canonicalize_file_name (); | /* 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_canonicalize_file_name) || defined (__stub___canonicalize_file_name) | choke me | #else | char (*f) () = canonicalize_file_name; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != canonicalize_file_name; | ; | return 0; | } configure:6615: result: no configure:6528: checking for pstat_getstatic configure:6584: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _pstat_getstatic configure:6590: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char pstat_getstatic (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 pstat_getstatic (); | /* 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_pstat_getstatic) || defined (__stub___pstat_getstatic) | choke me | #else | char (*f) () = pstat_getstatic; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != pstat_getstatic; | ; | return 0; | } configure:6615: result: no configure:6528: checking for pstat_getdynamic configure:6584: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _pstat_getdynamic configure:6590: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char pstat_getdynamic (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 pstat_getdynamic (); | /* 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_pstat_getdynamic) || defined (__stub___pstat_getdynamic) | choke me | #else | char (*f) () = pstat_getdynamic; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != pstat_getdynamic; | ; | return 0; | } configure:6615: result: no configure:6528: checking for sysmp configure:6584: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _sysmp configure:6590: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sysmp (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 sysmp (); | /* 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_sysmp) || defined (__stub___sysmp) | choke me | #else | char (*f) () = sysmp; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != sysmp; | ; | return 0; | } configure:6615: result: no configure:6528: checking for getsysinfo configure:6584: gcc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _getsysinfo configure:6590: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getsysinfo (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. Under hpux, | including includes and causes problems | checking for functions defined therein. */ | #if defined (__STDC__) && !defined (_HPUX_SOURCE) | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #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 getsysinfo (); | /* 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_getsysinfo) || defined (__stub___getsysinfo) | choke me | #else | char (*f) () = getsysinfo; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != getsysinfo; | ; | return 0; | } configure:6615: result: no configure:6528: checking for table configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6528: checking for sysctl configure:6584: gcc -o conftest -fno-common conftest.c >&5 configure:6590: $? = 0 configure:6594: test -z || test ! -s conftest.err configure:6597: $? = 0 configure:6600: test -s conftest configure:6603: $? = 0 configure:6615: result: yes configure:6625: checking whether canonicalize_file_name must be declared configure:6661: gcc -c -fno-common conftest.c >&5 In file included from /usr/include/machine/types.h:32, from /usr/include/stdlib.h:248, from conftest.c:119: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /usr/local/include/stdint.h:162: error: previous declaration of `int8_t' conftest.c: In function `main': conftest.c:128: error: `canonicalize_file_name' undeclared (first use in this function) conftest.c:128: error: (Each undeclared identifier is reported only once conftest.c:128: error: for each function it appears in.) configure:6667: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | #define HAVE_TABLE 1 | #define HAVE_SYSCTL 1 | /* end confdefs.h. */ | | #include "confdefs.h" | #include | #ifdef HAVE_STRING_H | #include | #else | #ifdef HAVE_STRINGS_H | #include | #endif | #endif | #ifdef HAVE_STDLIB_H | #include | #endif | #ifdef HAVE_UNISTD_H | #include | #endif | int | main () | { | char *(*pfn) = (char *(*)) canonicalize_file_name | ; | return 0; | } configure:6692: result: yes configure:6725: checking for stdlib.h configure:6765: result: yes configure:6725: checking for unistd.h configure:6765: result: yes configure:6779: checking for getpagesize configure:6866: result: yes configure:6876: checking for working mmap configure:7018: gcc -o conftest -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:114: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' configure:7021: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | #define HAVE_TABLE 1 | #define HAVE_SYSCTL 1 | #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | /* malloc might have been renamed as rpl_malloc. */ | #undef malloc | | /* Thanks to Mike Haertel and Jim Avera for this test. | Here is a matrix of mmap possibilities: | mmap private not fixed | mmap private fixed at somewhere currently unmapped | mmap private fixed at somewhere already mapped | mmap shared not fixed | mmap shared fixed at somewhere currently unmapped | mmap shared fixed at somewhere already mapped | For private mappings, we should verify that changes cannot be read() | back from the file, nor mmap's back from the file at a different | address. (There have been systems where private was not correctly | implemented like the infamous i386 svr4.0, and systems where the | VM page cache was not coherent with the file system buffer cache | like early versions of FreeBSD and possibly contemporary NetBSD.) | For shared mappings, we should conversely verify that changes get | propagated back to all the places they're supposed to be. | | Grep wants private fixed already mapped. | The main things grep needs to know about mmap are: | * does it exist and is it safe to write into the mmap'd area | * how to use it (BSD variants) */ | | #include | #include | | #if !STDC_HEADERS && !HAVE_STDLIB_H | char *malloc (); | #endif | | /* This mess was copied from the GNU getpagesize.h. */ | #if !HAVE_GETPAGESIZE | /* Assume that all systems that can run configure have sys/param.h. */ | # if !HAVE_SYS_PARAM_H | # define HAVE_SYS_PARAM_H 1 | # endif | | # ifdef _SC_PAGESIZE | # define getpagesize() sysconf(_SC_PAGESIZE) | # else /* no _SC_PAGESIZE */ | # if HAVE_SYS_PARAM_H | # include | # ifdef EXEC_PAGESIZE | # define getpagesize() EXEC_PAGESIZE | # else /* no EXEC_PAGESIZE */ | # ifdef NBPG | # define getpagesize() NBPG * CLSIZE | # ifndef CLSIZE | # define CLSIZE 1 | # endif /* no CLSIZE */ | # else /* no NBPG */ | # ifdef NBPC | # define getpagesize() NBPC | # else /* no NBPC */ | # ifdef PAGESIZE | # define getpagesize() PAGESIZE | # endif /* PAGESIZE */ | # endif /* no NBPC */ | # endif /* no NBPG */ | # endif /* no EXEC_PAGESIZE */ | # else /* no HAVE_SYS_PARAM_H */ | # define getpagesize() 8192 /* punt totally */ | # endif /* no HAVE_SYS_PARAM_H */ | # endif /* no _SC_PAGESIZE */ | | #endif /* no HAVE_GETPAGESIZE */ | | int | main () | { | char *data, *data2, *data3; | int i, pagesize; | int fd; | | pagesize = getpagesize (); | | /* First, make a file with some known garbage in it. */ | data = (char *) malloc (pagesize); | if (!data) | exit (1); | for (i = 0; i < pagesize; ++i) | *(data + i) = rand (); | umask (0); | fd = creat ("conftest.mmap", 0600); | if (fd < 0) | exit (1); | if (write (fd, data, pagesize) != pagesize) | exit (1); | close (fd); | | /* Next, try to mmap the file at a fixed address which already has | something else allocated at it. If we can, also make sure that | we see the same garbage. */ | fd = open ("conftest.mmap", O_RDWR); | if (fd < 0) | exit (1); | data2 = (char *) malloc (2 * pagesize); | if (!data2) | exit (1); | data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | exit (1); | for (i = 0; i < pagesize; ++i) | if (*(data + i) != *(data2 + i)) | exit (1); | | /* Finally, make sure that changes to the mapped area do not | percolate back to the file as seen by read(). (This is a bug on | some variants of i386 svr4.0.) */ | for (i = 0; i < pagesize; ++i) | *(data2 + i) = *(data2 + i) + 1; | data3 = (char *) malloc (pagesize); | if (!data3) | exit (1); | if (read (fd, data3, pagesize) != pagesize) | exit (1); | for (i = 0; i < pagesize; ++i) | if (*(data + i) != *(data3 + i)) | exit (1); | close (fd); | exit (0); | } configure:7040: result: no configure:7053: checking for working strncmp configure:7130: gcc -o conftest -fno-common conftest.c >&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from conftest.c:115: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' configure:7133: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define const | #ifndef __cplusplus | #define inline | #endif | #define BYTEORDER 1234 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_STDINT_H 1 | #define NEED_DECLARATION_ERRNO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_INT 0 | #define uintptr_t unsigned long | #define HAVE_UINTPTR_T 1 | #define pid_t int | #define HAVE_ASPRINTF 1 | #define HAVE_ATEXIT 1 | #define HAVE_BASENAME 1 | #define HAVE_BCMP 1 | #define HAVE_BCOPY 1 | #define HAVE_BSEARCH 1 | #define HAVE_BZERO 1 | #define HAVE_CALLOC 1 | #define HAVE_CLOCK 1 | #define HAVE_FFS 1 | #define HAVE_GETCWD 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_INDEX 1 | #define HAVE_INSQUE 1 | #define HAVE_MEMCHR 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKSTEMPS 1 | #define HAVE_PUTENV 1 | #define HAVE_RANDOM 1 | #define HAVE_RENAME 1 | #define HAVE_RINDEX 1 | #define HAVE_SETENV 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SIGSETMASK 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCHR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_TMPNAM 1 | #define HAVE_VASPRINTF 1 | #define HAVE_VFPRINTF 1 | #define HAVE_VPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_VSPRINTF 1 | #define HAVE_WAITPID 1 | #define STACK_DIRECTION -1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_SYS_ERRLIST 1 | #define HAVE_SYS_NERR 1 | #define HAVE_SYS_SIGLIST 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_PSIGNAL 1 | #define HAVE_STRERROR 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_SBRK 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_REALPATH 1 | #define HAVE_TABLE 1 | #define HAVE_SYSCTL 1 | #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | | /* Test by Jim Wilson and Kaveh Ghazi. | Check whether strncmp reads past the end of its string parameters. */ | #include | | #ifdef HAVE_FCNTL_H | #include | #endif | | #ifdef HAVE_SYS_MMAN_H | #include | #endif | | #ifndef MAP_ANON | #ifdef MAP_ANONYMOUS | #define MAP_ANON MAP_ANONYMOUS | #else | #define MAP_ANON MAP_FILE | #endif | #endif | | #ifndef MAP_FILE | #define MAP_FILE 0 | #endif | #ifndef O_RDONLY | #define O_RDONLY 0 | #endif | | #define MAP_LEN 0x10000 | | main () | { | #if defined(HAVE_MMAP) || defined(HAVE_MMAP_ANYWHERE) | char *p; | int dev_zero; | | dev_zero = open ("/dev/zero", O_RDONLY); | if (dev_zero < 0) | exit (1); | | p = (char *) mmap (0, MAP_LEN, PROT_READ|PROT_WRITE, | MAP_ANON|MAP_PRIVATE, dev_zero, 0); | if (p == (char *)-1) | p = (char *) mmap (0, MAP_LEN, PROT_READ|PROT_WRITE, | MAP_ANON|MAP_PRIVATE, -1, 0); | if (p == (char *)-1) | exit (2); | else | { | char *string = "__si_type_info"; | char *q = (char *) p + MAP_LEN - strlen (string) - 2; | char *r = (char *) p + 0xe; | | strcpy (q, string); | strcpy (r, string); | strncmp (r, q, 14); | } | #endif /* HAVE_MMAP || HAVE_MMAP_ANYWHERE */ | exit (0); | } | configure:7153: result: no configure:7286: creating ./config.status ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-apple-darwin8.0.1 ac_cv_build_alias=i686-apple-darwin8.0.1 ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=no ac_cv_c_const=no ac_cv_c_inline=no ac_cv_c_stack_direction=-1 ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fno-common ' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_func__doprnt=no ac_cv_func_asprintf=yes ac_cv_func_atexit=yes ac_cv_func_basename=yes ac_cv_func_bcmp=yes ac_cv_func_bcopy=yes ac_cv_func_bsearch=yes ac_cv_func_bzero=yes ac_cv_func_calloc=yes ac_cv_func_canonicalize_file_name=no ac_cv_func_clock=yes ac_cv_func_ffs=yes ac_cv_func_fork=yes ac_cv_func_fork_works=no ac_cv_func_getcwd=yes ac_cv_func_getpagesize=yes ac_cv_func_getrusage=yes ac_cv_func_getsysinfo=no ac_cv_func_gettimeofday=yes ac_cv_func_index=yes ac_cv_func_insque=yes ac_cv_func_memchr=yes ac_cv_func_memcmp=yes ac_cv_func_memcpy=yes ac_cv_func_memmove=yes ac_cv_func_mempcpy=no ac_cv_func_memset=yes ac_cv_func_mkstemps=yes ac_cv_func_mmap_fixed_mapped=no ac_cv_func_on_exit=no ac_cv_func_psignal=yes ac_cv_func_pstat_getdynamic=no ac_cv_func_pstat_getstatic=no ac_cv_func_putenv=yes ac_cv_func_random=yes ac_cv_func_realpath=yes ac_cv_func_rename=yes ac_cv_func_rindex=yes ac_cv_func_sbrk=yes ac_cv_func_setenv=yes ac_cv_func_sigsetmask=yes ac_cv_func_snprintf=yes ac_cv_func_stpcpy=yes ac_cv_func_stpncpy=no ac_cv_func_strcasecmp=yes ac_cv_func_strchr=yes ac_cv_func_strdup=yes ac_cv_func_strerror=yes ac_cv_func_strncasecmp=yes ac_cv_func_strncmp_works=no ac_cv_func_strrchr=yes ac_cv_func_strsignal=yes ac_cv_func_strstr=yes ac_cv_func_strtod=yes ac_cv_func_strtol=yes ac_cv_func_strtoul=yes ac_cv_func_sysconf=yes ac_cv_func_sysctl=yes ac_cv_func_sysmp=no ac_cv_func_table=yes ac_cv_func_times=yes ac_cv_func_tmpnam=yes ac_cv_func_vasprintf=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_func_vfprintf=yes ac_cv_func_vprintf=yes ac_cv_func_vsnprintf=yes ac_cv_func_vsprintf=yes ac_cv_func_waitpid=yes ac_cv_header_alloca_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_machine_hal_sysinfo_h=no ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=no ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_file_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_pstat_h=no ac_cv_header_sys_resource_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_sysctl_h=yes ac_cv_header_sys_sysinfo_h=no ac_cv_header_sys_sysmp_h=no ac_cv_header_sys_systemcfg_h=no ac_cv_header_sys_table_h=no ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=no ac_cv_header_time=no ac_cv_header_time_h=yes ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_host=i686-apple-darwin8.0.1 ac_cv_host_alias=i686-apple-darwin8.0.1 ac_cv_objext= ac_cv_os_cray=no ac_cv_prog_CPP='gcc -E' ac_cv_prog_MAKEINFO='makeinfo --split-size=5000000' ac_cv_prog_PERL=perl ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=no ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_cc_stdc=no ac_cv_prog_egrep='grep -E' ac_cv_search_strerror='none required' ac_cv_sizeof_int=0 ac_cv_type_int=no ac_cv_type_pid_t=no ac_cv_type_uintptr_t=no liberty_cv_uint64=none libiberty_cv_decl_needed_canonicalize_file_name=yes libiberty_cv_declare_errno=yes libiberty_cv_var_sys_errlist=yes libiberty_cv_var_sys_nerr=yes libiberty_cv_var_sys_siglist=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' BUILD_INFO='info' CC='gcc' CFLAGS='-fno-common ' CHECK='check-cplus-dem' CPP='gcc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' HAVE_PERL='' INSTALL_DATA='/usr/local/bin/ginstall -c -m 644' INSTALL_DEST='libdir' INSTALL_PROGRAM='/usr/local/bin/ginstall -c' INSTALL_SCRIPT='/usr/local/bin/ginstall -c' LDFLAGS='' LIBOBJS=' ./mempcpy.$U. ./stpncpy.$U. ./strncmp.$U.' LIBS='' LTLIBOBJS=' ./mempcpy.$U.lo ./stpncpy.$U.lo ./strncmp.$U.lo' MAINT='#' MAKEINFO='makeinfo --split-size=5000000' NOTMAINT='' NO_MINUS_C_MINUS_O='' OBJEXT='' OUTPUT_OPTION='-o $@' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='perl' RANLIB='ranlib' SHELL='/bin/sh' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_RANLIB='ranlib' ac_libiberty_warn_cflags='' bindir='${exec_prefix}/bin' build='i686-apple-darwin8.0.1' build_alias='' build_cpu='i686' build_os='darwin8.0.1' build_vendor='apple' datadir='${prefix}/share' exec_prefix='${prefix}' host='i686-apple-darwin8.0.1' host_alias='' host_cpu='i686' host_os='darwin8.0.1' host_vendor='apple' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libiberty_topdir='/mnt/gmirror/ports/devel/msp430-binutils/work/binutils-2.16.1/libiberty/..' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' pexecute='./pex-unix.o' prefix='' program_transform_name='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' target_header_dir='' ## ------------- ## ## Output files. ## ## ------------- ## host_makefile_frag='xhost-mkfrag' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define BYTEORDER 1234 #define HAVE_ALLOCA_H 1 #define HAVE_ASPRINTF 1 #define HAVE_ATEXIT 1 #define HAVE_BASENAME 1 #define HAVE_BCMP 1 #define HAVE_BCOPY 1 #define HAVE_BSEARCH 1 #define HAVE_BZERO 1 #define HAVE_CALLOC 1 #define HAVE_CLOCK 1 #define HAVE_FCNTL_H 1 #define HAVE_FFS 1 #define HAVE_FORK 1 #define HAVE_GETCWD 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_INDEX 1 #define HAVE_INSQUE 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMCHR 1 #define HAVE_MEMCMP 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_MEMSET 1 #define HAVE_MKSTEMPS 1 #define HAVE_PSIGNAL 1 #define HAVE_PUTENV 1 #define HAVE_RANDOM 1 #define HAVE_REALPATH 1 #define HAVE_RENAME 1 #define HAVE_RINDEX 1 #define HAVE_SBRK 1 #define HAVE_SETENV 1 #define HAVE_SIGSETMASK 1 #define HAVE_SNPRINTF 1 #define HAVE_STDINT_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STPCPY 1 #define HAVE_STRCASECMP 1 #define HAVE_STRCHR 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRINGS_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRING_H 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRRCHR 1 #define HAVE_STRSIGNAL 1 #define HAVE_STRSTR 1 #define HAVE_STRTOD 1 #define HAVE_STRTOL 1 #define HAVE_STRTOUL 1 #define HAVE_SYSCONF 1 #define HAVE_SYSCTL 1 #define HAVE_SYS_ERRLIST 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_NERR 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SIGLIST 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_TABLE 1 #define HAVE_TIMES 1 #define HAVE_TIME_H 1 #define HAVE_TMPNAM 1 #define HAVE_UINTPTR_T 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VASPRINTF 1 #define HAVE_VFORK 1 #define HAVE_VFPRINTF 1 #define HAVE_VPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_VSPRINTF 1 #define HAVE_WAITPID 1 #define HAVE_WORKING_VFORK 1 #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1 #define NEED_DECLARATION_ERRNO 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define SIZEOF_INT 0 #define STACK_DIRECTION -1 #define const #define inline #define pid_t int #define uintptr_t unsigned long #endif #ifndef __cplusplus configure: exit 0 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = Makefile CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:699: creating Makefile config.status:1274: executing default commands ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = config.h:/mnt/gmirror/ports/devel/msp430-binutils/work/binutils-2.16.1/libiberty/config.in CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:796: creating config.h config.status:1116: config.h is unchanged config.status:1274: executing default commands ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:699: creating Makefile config.status:699: creating testsuite/Makefile config.status:796: creating config.h config.status:1116: config.h is unchanged config.status:1274: executing default commands