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 $ ./configure --prefix=/usr/local i386-unknown-gnu ## --------- ## ## 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: 126 tasks, 181 threads, 4 processors Load average: 1.53, Mach factor: 2.45 /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:1292: checking for gawk configure:1308: found /usr/local/bin/gawk configure:1318: result: gawk configure:1336: checking for i386-unknown-gnu-gcc configure:1362: result: cc configure:1644: checking for C compiler version configure:1647: cc --version &5 cc (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:1650: $? = 0 configure:1652: cc -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:1655: $? = 0 configure:1657: cc -V &5 cc: `-V' option must have argument configure:1660: $? = 1 configure:1683: checking for C compiler default output file name configure:1686: cc -fno-common conftest.c >&5 configure:1689: $? = 0 configure:1735: result: a.out configure:1740: checking whether the C compiler works configure:1746: ./a.out configure:1749: $? = 0 configure:1766: result: yes configure:1773: checking whether we are cross compiling configure:1775: result: no configure:1778: checking for suffix of executables configure:1780: cc -o conftest -fno-common conftest.c >&5 configure:1783: $? = 0 configure:1808: result: configure:1814: checking for suffix of object files configure:1835: cc -c -fno-common conftest.c >&5 configure:1838: $? = 0 configure:1860: result: configure:1864: checking whether we are using the GNU C compiler configure:1888: cc -c -fno-common conftest.c >&5 configure:1894: $? = 0 configure:1898: test -z || test ! -s conftest.err configure:1901: $? = 0 configure:1904: test -s conftest. configure:1907: $? = 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:1920: result: no configure:1926: checking whether cc accepts -g configure:1947: cc -c -g conftest.c >&5 configure:1953: $? = 0 configure:1957: test -z || test ! -s conftest.err configure:1960: $? = 0 configure:1963: test -s conftest. configure:1966: $? = 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:1977: result: no configure:1994: checking for cc option to accept ANSI C configure:2064: cc -c -fno-common conftest.c >&5 configure:2070: $? = 0 configure:2074: test -z || test ! -s conftest.err configure:2077: $? = 0 configure:2080: test -s conftest. configure:2083: $? = 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:2064: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:2070: $? = 0 configure:2074: test -z || test ! -s conftest.err configure:2077: $? = 0 configure:2080: test -s conftest. configure:2083: $? = 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:2064: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2070: $? = 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:2064: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2070: $? = 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:2064: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2070: $? = 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:2064: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:2070: $? = 0 configure:2074: test -z || test ! -s conftest.err configure:2077: $? = 0 configure:2080: test -s conftest. configure:2083: $? = 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:2101: result: none needed configure:2119: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2125: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2296: checking for a BSD-compatible install configure:2351: result: /usr/bin/install -c -o root -g wheel configure:2370: checking how to run the C preprocessor configure:2405: cc -E conftest.c configure:2411: $? = 0 configure:2443: cc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2449: $? = 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:2488: result: cc -E configure:2512: cc -E conftest.c configure:2518: $? = 0 configure:2550: cc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2556: $? = 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:2600: checking for egrep configure:2610: result: grep -E configure:2615: checking for ANSI C header files configure:2640: cc -c -fno-common conftest.c >&5 configure:2646: $? = 0 configure:2650: test -z || test ! -s conftest.err configure:2653: $? = 0 configure:2656: test -s conftest. configure:2659: $? = 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 | | int | main () | { | | ; | return 0; | } configure:2768: result: no configure:2792: checking for sys/types.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for sys/stat.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for stdlib.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for string.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for memory.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for strings.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for inttypes.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for stdint.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2792: checking for unistd.h configure:2808: cc -c -fno-common conftest.c >&5 configure:2814: $? = 0 configure:2818: test -z || test ! -s conftest.err configure:2821: $? = 0 configure:2824: test -s conftest. configure:2827: $? = 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 | #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 | | #include configure:2838: result: no configure:2865: checking fcntl.h usability configure:2877: cc -c -fno-common conftest.c >&5 configure:2883: $? = 0 configure:2887: test -z || test ! -s conftest.err configure:2890: $? = 0 configure:2893: test -s conftest. configure:2896: $? = 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 | #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 | #include configure:2906: result: no configure:2910: checking fcntl.h presence configure:2920: cc -E conftest.c configure:2926: $? = 0 configure:2946: result: yes configure:2959: WARNING: fcntl.h: present but cannot be compiled configure:2961: WARNING: fcntl.h: check for missing prerequisite headers? configure:2963: WARNING: fcntl.h: see the Autoconf documentation configure:2965: WARNING: fcntl.h: section "Present But Cannot Be Compiled" configure:2967: WARNING: fcntl.h: proceeding with the preprocessor's result configure:2969: WARNING: fcntl.h: in the future, the compiler will take precedence configure:2981: checking for fcntl.h configure:2988: result: yes configure:2856: checking for unistd.h configure:2861: result: no configure:3002: checking for an ANSI C-conforming const configure:3069: cc -c -fno-common conftest.c >&5 configure:3075: $? = 0 configure:3079: test -z || test ! -s conftest.err configure:3082: $? = 0 configure:3085: test -s conftest. configure:3088: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_FCNTL_H 1 | /* 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:3099: result: no configure:3109: checking for size_t configure:3133: cc -c -fno-common conftest.c >&5 configure:3139: $? = 0 configure:3143: test -z || test ! -s conftest.err configure:3146: $? = 0 configure:3149: test -s conftest. configure:3152: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_FCNTL_H 1 | #define const | /* 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 ((size_t *) 0) | return 0; | if (sizeof (size_t)) | return 0; | ; | return 0; | } configure:3163: result: no configure:3175: checking for off_t configure:3199: cc -c -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:49: error: `off_t' undeclared (first use in this function) conftest.c:49: error: (Each undeclared identifier is reported only once conftest.c:49: error: for each function it appears in.) conftest.c:49: error: parse error before ')' token configure:3205: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_FCNTL_H 1 | #define const | #define size_t unsigned | /* 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 ((off_t *) 0) | return 0; | if (sizeof (off_t)) | return 0; | ; | return 0; | } configure:3229: result: no configure:3242: checking for working memcmp configure:3290: cc -o conftest -fno-common conftest.c >&5 configure:3293: $? = 0 configure:3295: ./conftest configure:3298: $? = 0 configure:3312: result: yes configure:3329: checking for stdlib.h configure:3334: result: no configure:3329: checking for unistd.h configure:3334: result: no configure:3478: checking for getpagesize configure:3535: cc -o conftest -fno-common conftest.c >&5 configure:3541: $? = 0 configure:3545: test -z || test ! -s conftest.err configure:3548: $? = 0 configure:3551: test -s conftest configure:3554: $? = 0 configure:3566: result: yes configure:3576: checking for working mmap configure:3718: cc -o conftest -fno-common conftest.c >&5 configure:3721: $? = 0 configure:3723: ./conftest ./configure: line 1: 10838 Bus error ./conftest$ac_exeext configure:3726: $? = 138 configure: program exited with status 138 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_FCNTL_H 1 | #define const | #define size_t unsigned | #define off_t long | #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:3740: result: no configure:3756: checking for strerror configure:3813: cc -o conftest -fno-common conftest.c >&5 configure:3819: $? = 0 configure:3823: test -z || test ! -s conftest.err configure:3826: $? = 0 configure:3829: test -s conftest configure:3832: $? = 0 configure:3844: result: yes configure:3756: checking for lstat configure:3813: cc -o conftest -fno-common conftest.c >&5 configure:3819: $? = 0 configure:3823: test -z || test ! -s conftest.err configure:3826: $? = 0 configure:3829: test -s conftest configure:3832: $? = 0 configure:3844: result: yes configure:3953: creating ./config.status ## ---------------------- ## ## 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:650: creating Makefile config.status:754: creating config.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=no ac_cv_c_const=no ac_cv_env_CC_set=set ac_cv_env_CC_value=cc 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= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-unknown-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i386-unknown-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i386-unknown-gnu ac_cv_exeext= ac_cv_func_getpagesize=yes ac_cv_func_lstat=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=no ac_cv_func_strerror=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=no ac_cv_header_memory_h=no ac_cv_header_stdc=no ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=no ac_cv_header_string_h=no ac_cv_header_strings_h=no ac_cv_header_sys_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_unistd_h=no ac_cv_objext= ac_cv_prog_AWK=gawk ac_cv_prog_CC=cc ac_cv_prog_CPP='cc -E' ac_cv_prog_cc_g=no ac_cv_prog_cc_stdc=no ac_cv_prog_egrep='grep -E' ac_cv_type_off_t=no ac_cv_type_size_t=no lt_cv_sys_max_cmd_len= ## ----------------- ## ## Output variables. ## ## ----------------- ## AWK='gawk' CC='cc' CFLAGS='-fno-common' CPP='cc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/sh' ac_ct_CC='' bindir='${exec_prefix}/bin' build_alias='i386-unknown-gnu' datadir='${prefix}/share' exec_prefix='${prefix}' host_alias='i386-unknown-gnu' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='i386-unknown-gnu' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_FCNTL_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_LSTAT 1 #define HAVE_STRERROR 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define const #define off_t long #define size_t unsigned configure: exit 0