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.54. Invocation command line was $ ./configure --with-libevent=/usr/local --program-transform-name= --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: 128 tasks, 183 threads, 4 processors Load average: 1.53, Mach factor: 2.46 /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:1271: checking build system type configure:1289: result: i386-unknown-gnu configure:1297: checking host system type configure:1311: result: i386-unknown-gnu configure:1319: checking target system type configure:1333: result: i386-unknown-gnu configure:1361: checking for a BSD-compatible install configure:1415: result: /usr/bin/install -c -o root -g wheel configure:1426: checking whether build environment is sane configure:1469: result: yes configure:1484: checking whether make sets ${MAKE} configure:1504: result: yes configure:1536: checking for working aclocal-1.4 configure:1547: result: missing configure:1551: checking for working autoconf configure:1558: result: found configure:1566: checking for working automake-1.4 configure:1577: result: missing configure:1581: checking for working autoheader configure:1588: result: found configure:1596: checking for working makeinfo configure:1603: result: found configure:1630: checking for i386-unknown-gnu-gcc configure:1656: result: cc configure:1936: checking for C compiler version configure:1939: 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:1942: $? = 0 configure:1944: 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:1947: $? = 0 configure:1949: cc -V &5 cc: `-V' option must have argument configure:1952: $? = 1 configure:1972: checking for C compiler default output configure:1975: cc -fno-common conftest.c >&5 configure:1978: $? = 0 configure:2012: result: a.out configure:2017: checking whether the C compiler works configure:2023: ./a.out configure:2026: $? = 0 configure:2041: result: yes configure:2048: checking whether we are cross compiling configure:2050: result: no configure:2053: checking for suffix of executables configure:2055: cc -o conftest -fno-common conftest.c >&5 configure:2058: $? = 0 configure:2081: result: configure:2087: checking for suffix of object files configure:2105: cc -c -fno-common conftest.c >&5 configure:2108: $? = 0 configure:2127: result: configure:2131: checking whether we are using the GNU C compiler configure:2152: cc -c -fno-common conftest.c >&5 configure:2155: $? = 0 configure:2158: test -s conftest. configure:2161: $? = 1 configure: failed program was: #line 2136 "configure" #include "confdefs.h" int main () { #ifndef __GNUC__ choke me #endif ; return 0; } configure:2173: result: no configure:2179: checking whether cc accepts -g configure:2197: cc -c -g conftest.c >&5 configure:2200: $? = 0 configure:2203: test -s conftest. configure:2206: $? = 1 configure: failed program was: #line 2184 "configure" #include "confdefs.h" int main () { ; return 0; } configure:2216: result: no configure:2233: checking for cc option to accept ANSI C configure:2290: cc -c -fno-common conftest.c >&5 configure:2293: $? = 0 configure:2296: test -s conftest. configure:2299: $? = 1 configure: failed program was: #line 2240 "configure" #include "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; } 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:2290: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:2293: $? = 0 configure:2296: test -s conftest. configure:2299: $? = 1 configure: failed program was: #line 2240 "configure" #include "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; } 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:2290: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2293: $? = 1 configure: failed program was: #line 2240 "configure" #include "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; } 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:2290: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2293: $? = 1 configure: failed program was: #line 2240 "configure" #include "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; } 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:2290: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2293: $? = 1 configure: failed program was: #line 2240 "configure" #include "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; } 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:2290: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:2293: $? = 0 configure:2296: test -s conftest. configure:2299: $? = 1 configure: failed program was: #line 2240 "configure" #include "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; } 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:2316: result: none needed configure:2334: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2337: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2447: checking for a BSD-compatible install configure:2501: result: /usr/bin/install -c -o root -g wheel configure:2513: checking if we may use "-I/usr/include" configure:2528: result: yes configure:2534: checking for libevent configure:2576: result: yes configure:2583: checking for Berkeley DB with 1.85 compatibility configure:2694: result: yes configure:2707: checking how to run the C preprocessor configure:2733: cc -E conftest.c configure:2739: $? = 0 configure:2766: cc -E conftest.c configure:2762:28: ac_nonexistent.h: No such file or directory configure:2772: $? = 1 configure: failed program was: #line 2761 "configure" #include "confdefs.h" #include configure:2809: result: cc -E configure:2824: cc -E conftest.c configure:2830: $? = 0 configure:2857: cc -E conftest.c configure:2853:28: ac_nonexistent.h: No such file or directory configure:2863: $? = 1 configure: failed program was: #line 2852 "configure" #include "confdefs.h" #include configure:2903: checking for egrep configure:2913: result: grep -E configure:2918: checking for ANSI C header files configure:2932: cc -E conftest.c configure:2938: $? = 0 configure:3023: cc -o conftest -fno-common conftest.c >&5 configure:3026: $? = 0 configure:3028: ./conftest configure:3031: $? = 0 configure:3045: result: yes configure:3069: checking for sys/types.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for sys/stat.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for stdlib.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for string.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for memory.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for strings.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for inttypes.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for stdint.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3069: checking for unistd.h configure:3082: cc -c -fno-common conftest.c >&5 configure:3085: $? = 0 configure:3088: test -s conftest. configure:3091: $? = 1 configure: failed program was: #line 3074 "configure" #include "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:3101: result: no configure:3130: checking libgen.h usability configure:3139: cc -c -fno-common conftest.c >&5 configure:3142: $? = 0 configure:3145: test -s conftest. configure:3148: $? = 1 configure: failed program was: #line 3132 "configure" #include "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:3157: result: no configure:3161: checking libgen.h presence configure:3168: cc -E conftest.c configure:3174: $? = 0 configure:3192: result: yes configure:3203: WARNING: libgen.h: present but cannot be compiled configure:3205: WARNING: libgen.h: check for missing prerequisite headers? configure:3207: WARNING: libgen.h: proceeding with the preprocessor's result configure:3210: checking for libgen.h configure:3217: result: yes configure:3121: checking for unistd.h configure:3126: result: no configure:3130: checking sys/time.h usability configure:3139: cc -c -fno-common conftest.c >&5 configure:3142: $? = 0 configure:3145: test -s conftest. configure:3148: $? = 1 configure: failed program was: #line 3132 "configure" #include "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:3157: result: no configure:3161: checking sys/time.h presence configure:3168: cc -E conftest.c configure:3174: $? = 0 configure:3192: result: yes configure:3203: WARNING: sys/time.h: present but cannot be compiled configure:3205: WARNING: sys/time.h: check for missing prerequisite headers? configure:3207: WARNING: sys/time.h: proceeding with the preprocessor's result configure:3210: checking for sys/time.h configure:3217: result: yes configure:3130: checking sys/queue.h usability configure:3139: cc -c -fno-common conftest.c >&5 configure:3142: $? = 0 configure:3145: test -s conftest. configure:3148: $? = 1 configure: failed program was: #line 3132 "configure" #include "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:3157: result: no configure:3161: checking sys/queue.h presence configure:3168: cc -E conftest.c configure:3174: $? = 0 configure:3192: result: yes configure:3203: WARNING: sys/queue.h: present but cannot be compiled configure:3205: WARNING: sys/queue.h: check for missing prerequisite headers? configure:3207: WARNING: sys/queue.h: proceeding with the preprocessor's result configure:3210: checking for sys/queue.h configure:3217: result: yes configure:3231: checking for TAILQ_FOREACH in sys/queue.h configure:3245: result: yes configure:3261: checking for LIST_FIRST in sys/queue.h configure:3275: result: yes configure:3291: checking for an ANSI C-conforming const configure:3355: cc -c -fno-common conftest.c >&5 configure:3358: $? = 0 configure:3361: test -s conftest. configure:3364: $? = 1 configure: failed program was: #line 3296 "configure" #include "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:3374: result: no configure:3384: checking for size_t configure:3405: cc -c -fno-common conftest.c >&5 configure:3408: $? = 0 configure:3411: test -s conftest. configure:3414: $? = 1 configure: failed program was: #line 3389 "configure" #include "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:3424: result: no configure:3436: checking for u_int64_t configure:3457: cc -c -fno-common conftest.c >&5 configure:3460: $? = 0 configure:3463: test -s conftest. configure:3466: $? = 1 configure: failed program was: #line 3441 "configure" #include "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 ((u_int64_t *) 0) return 0; if (sizeof (u_int64_t)) return 0; ; return 0; } configure:3476: result: no configure:3488: checking for u_int32_t configure:3509: cc -c -fno-common conftest.c >&5 configure:3512: $? = 0 configure:3515: test -s conftest. configure:3518: $? = 1 configure: failed program was: #line 3493 "configure" #include "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 ((u_int32_t *) 0) return 0; if (sizeof (u_int32_t)) return 0; ; return 0; } configure:3528: result: no configure:3540: checking for u_int16_t configure:3561: cc -c -fno-common conftest.c >&5 configure:3564: $? = 0 configure:3567: test -s conftest. configure:3570: $? = 1 configure: failed program was: #line 3545 "configure" #include "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 ((u_int16_t *) 0) return 0; if (sizeof (u_int16_t)) return 0; ; return 0; } configure:3580: result: no configure:3592: checking for u_int8_t configure:3613: cc -c -fno-common conftest.c >&5 configure:3616: $? = 0 configure:3619: test -s conftest. configure:3622: $? = 1 configure: failed program was: #line 3597 "configure" #include "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 ((u_int8_t *) 0) return 0; if (sizeof (u_int8_t)) return 0; ; return 0; } configure:3632: result: no configure:3644: checking whether time.h and sys/time.h may both be included configure:3666: cc -c -fno-common conftest.c >&5 configure:3669: $? = 0 configure:3672: test -s conftest. configure:3675: $? = 1 configure: failed program was: #line 3649 "configure" #include "confdefs.h" #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } configure:3685: result: no configure:3697: checking for socket in -lsocket configure:3724: cc -o conftest -fno-common conftest.c -lsocket >&5 ld: can't locate file for: -lsocket configure:3727: $? = 1 configure: failed program was: #line 3704 "configure" #include "confdefs.h" /* 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 socket (); int main () { socket (); ; return 0; } configure:3744: result: no configure:3766: checking for gettimeofday configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3766: checking for memmove configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3766: checking for memset configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3781: warning: conflicting types for built-in function `memset' configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3766: checking for strcasecmp configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3766: checking for strchr configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3781: warning: conflicting types for built-in function `strchr' configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3766: checking for strdup configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3766: checking for strncasecmp configure:3803: cc -o conftest -fno-common conftest.c >&5 configure:3806: $? = 0 configure:3809: test -s conftest configure:3812: $? = 0 configure:3822: result: yes configure:3842: checking for basename configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3842: checking for dirname configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3842: checking for getaddrinfo configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3842: checking for strlcat configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3842: checking for strlcpy configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3842: checking for strsep configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3842: checking for inet_aton configure:3879: cc -o conftest -fno-common conftest.c >&5 configure:3882: $? = 0 configure:3885: test -s conftest configure:3888: $? = 0 configure:3898: result: yes configure:3913: checking for working basename configure:3935: cc -o conftest -fno-common conftest.c >&5 configure: In function `main': configure:3928: warning: assignment makes pointer from integer without a cast configure:3938: $? = 0 configure:3940: ./conftest configure:3943: $? = 0 configure:3945: result: yes configure:3963: checking for working dirname configure:3985: cc -o conftest -fno-common conftest.c >&5 configure: In function `main': configure:3978: warning: assignment makes pointer from integer without a cast configure:3988: $? = 0 configure:3990: ./conftest configure:3993: $? = 0 configure:3995: result: yes configure:4013: checking for md5 in libc configure:4035: cc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _MD5Final _MD5Init _MD5Update configure:4038: $? = 1 configure: failed program was: #line 4015 "configure" #include "confdefs.h" #include #include int main () { MD5_CTX ctx; MD5Init(&ctx); MD5Update(&ctx, "a", 1); MD5Final((void *)0, &ctx); ; return 0; } configure:4051: result: no configure:4065: checking for warnx configure:4102: cc -o conftest -fno-common conftest.c >&5 configure:4105: $? = 0 configure:4108: test -s conftest configure:4111: $? = 0 configure:4121: result: yes configure:4137: checking for struct addrinfo in netdb.h configure:4152: result: yes configure:4162: checking for socklen_t configure:4179: cc -c -fno-common conftest.c >&5 configure:4182: $? = 0 configure:4185: test -s conftest. configure:4188: $? = 1 configure: failed program was: #line 4164 "configure" #include "confdefs.h" #include #include int main () { socklen_t x; ; return 0; } configure:4195: result: no configure:4206: checking for NI_MAXSERV configure:4224: cc -c -fno-common conftest.c >&5 configure:4227: $? = 0 configure:4230: test -s conftest. configure:4233: $? = 1 configure: failed program was: #line 4208 "configure" #include "confdefs.h" #include #include #include int main () { char x[NI_MAXSERV]; ; return 0; } configure:4240: result: no configure:4251: checking for timeradd in sys/time.h configure:4270: result: yes configure:4376: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.54. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:629: creating Makefile config.status:733: creating config.h config.status:1000: executing default-1 commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-gnu ac_cv_build_alias=i386-unknown-gnu 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_basename=yes ac_cv_func_dirname=yes ac_cv_func_getaddrinfo=yes ac_cv_func_gettimeofday=yes ac_cv_func_inet_aton=yes ac_cv_func_memmove=yes ac_cv_func_memset=yes ac_cv_func_strcasecmp=yes ac_cv_func_strchr=yes ac_cv_func_strdup=yes ac_cv_func_strlcat=yes ac_cv_func_strlcpy=yes ac_cv_func_strncasecmp=yes ac_cv_func_strsep=yes ac_cv_func_warnx=yes ac_cv_header_inttypes_h=no ac_cv_header_libgen_h=yes ac_cv_header_memory_h=no ac_cv_header_stdc=yes 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_queue_h=yes ac_cv_header_sys_stat_h=no ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=no ac_cv_header_time=no ac_cv_header_unistd_h=no ac_cv_host=i386-unknown-gnu ac_cv_host_alias=i386-unknown-gnu ac_cv_lib_socket_socket=no ac_cv_objext= 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_prog_make_make_set=yes ac_cv_target=i386-unknown-gnu ac_cv_target_alias=i386-unknown-gnu ac_cv_type_size_t=no ac_cv_type_u_int16_t=no ac_cv_type_u_int32_t=no ac_cv_type_u_int64_t=no ac_cv_type_u_int8_t=no lt_cv_sys_max_cmd_len= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='/mnt/gmirror/ports/www/crawl/work/crawl-0.4/missing aclocal-1.4' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='/mnt/gmirror/ports/www/crawl/work/crawl-0.4/missing automake-1.4' CC='cc' CFLAGS='-fno-common' CPP='cc -E' CPPFLAGS='' DBINC='' DBLIB='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EVENTINC='-I/include' EVENTLIB='-L/lib -levent' 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=' md5.$U.' LIBS='' LTLIBOBJS=' md5.$U.lo' MAKEINFO='makeinfo' OBJEXT='' PACKAGE='crawl' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/sh' USRINCLUDE='-I/usr/include/' VERSION='0.4' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i386-unknown-gnu' build_alias='i386-unknown-gnu' build_cpu='i386' build_os='gnu' build_vendor='unknown' datadir='${prefix}/share' exec_prefix='${prefix}' host='i386-unknown-gnu' host_alias='i386-unknown-gnu' host_cpu='i386' host_os='gnu' host_vendor='unknown' 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='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i386-unknown-gnu' target_alias='i386-unknown-gnu' target_cpu='i386' target_os='gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_BASENAME 1 #define HAVE_DB_H 1 #define HAVE_DIRNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_INET_ATON 1 #define HAVE_LIBGEN_H 1 #define HAVE_LISTFIRST 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMSET 1 #define HAVE_STRCASECMP 1 #define HAVE_STRCHR 1 #define HAVE_STRDUP 1 #define HAVE_STRLCAT 1 #define HAVE_STRLCPY 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRSEP 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_SYS_QUEUE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TAILQFOREACH 1 #define HAVE_TIMERADD 1 #define HAVE_WARNX 1 #define NI_MAXSERV 32 #define PACKAGE "crawl" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 #define VERSION "0.4" #define const #define size_t unsigned #define socklen_t int #define u_int16_t unsigned short #define u_int32_t unsigned int #define u_int64_t unsigned long long #define u_int8_t unsigned char configure: exit 0