This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by multisuck configure 1.0.4, which was generated by GNU Autoconf 2.53. 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: 146 tasks, 203 threads, 4 processors Load average: 0.16, Mach factor: 3.82 /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:1246: checking for a BSD-compatible install configure:1300: result: /usr/bin/install -c -o root -g wheel configure:1311: checking whether build environment is sane configure:1354: result: yes configure:1388: checking for gawk configure:1404: found /usr/local/bin/gawk configure:1414: result: gawk configure:1424: checking whether make sets ${MAKE} configure:1444: result: yes configure:1551: checking build system type configure:1569: result: i386-unknown-gnu configure:1577: checking host system type configure:1591: result: i386-unknown-gnu configure:1609: checking for i386-unknown-gnu-gcc configure:1635: result: cc configure:1917: checking for C compiler version configure:1920: 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:1923: $? = 0 configure:1925: 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:1928: $? = 0 configure:1930: cc -V &5 cc: `-V' option must have argument configure:1933: $? = 1 configure:1959: checking for C compiler default output configure:1962: cc -fno-common conftest.c >&5 configure:1965: $? = 0 configure:1998: result: a.out configure:2003: checking whether the C compiler works configure:2009: ./a.out configure:2012: $? = 0 configure:2027: result: yes configure:2034: checking whether we are cross compiling configure:2036: result: no configure:2039: checking for suffix of executables configure:2041: cc -o conftest -fno-common conftest.c >&5 configure:2044: $? = 0 configure:2066: result: configure:2072: checking for suffix of object files configure:2096: cc -c -fno-common conftest.c >&5 configure:2099: $? = 0 configure:2118: result: configure:2122: checking whether we are using the GNU C compiler configure:2149: cc -c -fno-common conftest.c >&5 configure:2152: $? = 0 configure:2155: test -s conftest. configure:2158: $? = 1 configure: failed program was: #line 2127 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { #ifndef __GNUC__ choke me #endif ; return 0; } configure:2170: result: no configure:2176: checking whether cc accepts -g configure:2200: cc -c -g conftest.c >&5 configure:2203: $? = 0 configure:2206: test -s conftest. configure:2209: $? = 1 configure: failed program was: #line 2181 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { ; return 0; } configure:2219: result: no configure:2246: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2249: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2367: checking for style of include used by make configure:2395: result: GNU configure:2402: checking dependency style of cc configure:2464: result: gcc3 configure:2481: checking for a BSD-compatible install configure:2535: result: /usr/bin/install -c -o root -g wheel configure:2556: checking how to run the C preprocessor configure:2582: cc -E conftest.c configure:2588: $? = 0 configure:2615: cc -E conftest.c configure:2611:28: ac_nonexistent.h: No such file or directory configure:2621: $? = 1 configure: failed program was: #line 2610 "configure" #include "confdefs.h" #include configure:2658: result: cc -E configure:2673: cc -E conftest.c configure:2679: $? = 0 configure:2706: cc -E conftest.c configure:2702:28: ac_nonexistent.h: No such file or directory configure:2712: $? = 1 configure: failed program was: #line 2701 "configure" #include "confdefs.h" #include configure:2752: checking for ANSI C header files configure:2766: cc -E conftest.c configure:2772: $? = 0 configure:2857: cc -o conftest -fno-common conftest.c >&5 configure:2860: $? = 0 configure:2862: ./conftest configure:2865: $? = 0 configure:2879: result: yes configure:2903: checking for sys/types.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for sys/stat.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for stdlib.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for string.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for memory.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for strings.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for inttypes.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for stdint.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2903: checking for unistd.h configure:2916: cc -c -fno-common conftest.c >&5 configure:2919: $? = 0 configure:2922: test -s conftest. configure:2925: $? = 1 configure: failed program was: #line 2908 "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:2935: result: no configure:2968: checking fcntl.h usability configure:2977: cc -c -fno-common conftest.c >&5 configure:2980: $? = 0 configure:2983: test -s conftest. configure:2986: $? = 1 configure: failed program was: #line 2970 "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:2995: result: no configure:2999: checking fcntl.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: fcntl.h: present but cannot be compiled configure:3043: WARNING: fcntl.h: check for missing prerequisite headers? configure:3045: WARNING: fcntl.h: proceeding with the preprocessor's result configure:3048: checking for fcntl.h configure:3055: result: yes configure:2968: checking netdb.h usability configure:2977: cc -c -fno-common conftest.c >&5 configure:2980: $? = 0 configure:2983: test -s conftest. configure:2986: $? = 1 configure: failed program was: #line 2970 "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:2995: result: no configure:2999: checking netdb.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: netdb.h: present but cannot be compiled configure:3043: WARNING: netdb.h: check for missing prerequisite headers? configure:3045: WARNING: netdb.h: proceeding with the preprocessor's result configure:3048: checking for netdb.h configure:3055: result: yes configure:2968: checking netinet/in.h usability configure:2977: cc -c -fno-common conftest.c >&5 configure:2980: $? = 0 configure:2983: test -s conftest. configure:2986: $? = 1 configure: failed program was: #line 2970 "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:2995: result: no configure:2999: checking netinet/in.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: netinet/in.h: present but cannot be compiled configure:3043: WARNING: netinet/in.h: check for missing prerequisite headers? configure:3045: WARNING: netinet/in.h: proceeding with the preprocessor's result configure:3048: checking for netinet/in.h configure:3055: result: yes configure:2959: checking for stdlib.h configure:2964: result: no configure:2959: checking for string.h configure:2964: result: no configure:2968: checking sys/param.h usability configure:2977: cc -c -fno-common conftest.c >&5 configure:2980: $? = 0 configure:2983: test -s conftest. configure:2986: $? = 1 configure: failed program was: #line 2970 "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:2995: result: no configure:2999: checking sys/param.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: sys/param.h: present but cannot be compiled configure:3043: WARNING: sys/param.h: check for missing prerequisite headers? configure:3045: WARNING: sys/param.h: proceeding with the preprocessor's result configure:3048: checking for sys/param.h configure:3055: result: yes configure:2968: checking sys/socket.h usability configure:2977: cc -c -fno-common conftest.c >&5 configure:2980: $? = 0 configure:2983: test -s conftest. configure:2986: $? = 1 configure: failed program was: #line 2970 "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:2995: result: no configure:2999: checking sys/socket.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: sys/socket.h: present but cannot be compiled configure:3043: WARNING: sys/socket.h: check for missing prerequisite headers? configure:3045: WARNING: sys/socket.h: proceeding with the preprocessor's result configure:3048: checking for sys/socket.h configure:3055: result: yes configure:2959: checking for unistd.h configure:2964: result: no configure:3070: checking for cc option to accept ANSI C configure:3133: cc -c -fno-common conftest.c >&5 configure:3136: $? = 0 configure:3139: test -s conftest. configure:3142: $? = 1 configure: failed program was: #line 3077 "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; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } configure:3133: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:3136: $? = 0 configure:3139: test -s conftest. configure:3142: $? = 1 configure: failed program was: #line 3077 "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; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } configure:3133: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:3136: $? = 1 configure: failed program was: #line 3077 "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; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } configure:3133: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:3136: $? = 1 configure: failed program was: #line 3077 "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; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } configure:3133: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:3136: $? = 1 configure: failed program was: #line 3077 "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; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } configure:3133: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:3136: $? = 0 configure:3139: test -s conftest. configure:3142: $? = 1 configure: failed program was: #line 3077 "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; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } configure:3159: result: none needed configure:3167: checking for an ANSI C-conforming const configure:3237: cc -c -fno-common conftest.c >&5 configure:3240: $? = 0 configure:3243: test -s conftest. configure:3246: $? = 1 configure: failed program was: #line 3172 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif 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:3256: result: no configure:3266: checking for off_t configure:3293: cc -c -fno-common conftest.c >&5 configure: In function `main': configure:3315: error: `off_t' undeclared (first use in this function) configure:3315: error: (Each undeclared identifier is reported only once configure:3315: error: for each function it appears in.) configure:3315: error: parse error before ')' token configure:3296: $? = 1 configure: failed program was: #line 3271 "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 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { if ((off_t *) 0) return 0; if (sizeof (off_t)) return 0; ; return 0; } configure:3312: result: no configure:3324: checking for pid_t configure:3351: cc -c -fno-common conftest.c >&5 configure:3354: $? = 0 configure:3357: test -s conftest. configure:3360: $? = 1 configure: failed program was: #line 3329 "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 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { if ((pid_t *) 0) return 0; if (sizeof (pid_t)) return 0; ; return 0; } configure:3370: result: no configure:3390: checking for unistd.h configure:3395: result: no configure:3399: checking vfork.h usability configure:3408: cc -c -fno-common conftest.c >&5 configure:3436:19: vfork.h: No such file or directory configure:3411: $? = 1 configure: failed program was: #line 3401 "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:3426: result: no configure:3430: checking vfork.h presence configure:3437: cc -E conftest.c configure:3433:19: vfork.h: No such file or directory configure:3443: $? = 1 configure: failed program was: #line 3432 "configure" #include "confdefs.h" #include configure:3461: result: no configure:3479: checking for vfork.h configure:3486: result: no configure:3504: checking for fork configure:3547: cc -o conftest -fno-common conftest.c >&5 configure:3550: $? = 0 configure:3553: test -s conftest configure:3556: $? = 0 configure:3566: result: yes configure:3504: checking for vfork configure:3547: cc -o conftest -fno-common conftest.c >&5 configure:3550: $? = 0 configure:3553: test -s conftest configure:3556: $? = 0 configure:3566: result: yes configure:3578: checking for working fork configure:3622: result: yes configure:3641: checking for working vfork configure:3768: result: yes configure:3804: checking for stdlib.h configure:3809: result: no configure:3913: checking for working malloc configure:3945: cc -o conftest -fno-common conftest.c >&5 configure:3948: $? = 0 configure:3950: ./conftest configure:3953: $? = 0 configure:3966: result: yes configure:3982: checking for stdlib.h configure:3987: result: no configure:3982: checking for unistd.h configure:3987: result: no configure:4095: checking for getpagesize configure:4138: cc -o conftest -fno-common conftest.c >&5 configure:4141: $? = 0 configure:4144: test -s conftest configure:4147: $? = 0 configure:4157: result: yes configure:4167: checking for working mmap configure:4306: cc -o conftest -fno-common conftest.c >&5 configure:4309: $? = 0 configure:4311: ./conftest ./configure: line 1: 19628 Bus error ./conftest$ac_exeext configure:4314: $? = 138 configure: program exited with status 138 configure: failed program was: #line 4175 "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 /* 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 - ((int) 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:4327: result: no configure:4338: checking whether setvbuf arguments are reversed configure:4366: cc -o conftest -fno-common conftest.c >&5 configure: In function `main': configure:4357: warning: passing arg 2 of `setvbuf' makes pointer from integer without a cast configure:4357: warning: passing arg 3 of `setvbuf' makes integer from pointer without a cast configure:4369: $? = 0 configure:4371: ./conftest configure:4374: $? = 1 configure: program exited with status 1 configure: failed program was: #line 4348 "configure" #include "confdefs.h" #include /* If setvbuf has the reversed format, exit 0. */ int main () { /* This call has the arguments reversed. A reversed system may check and see that the address of main is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */ if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0) exit(1); putc('\r', stdout); exit(0); /* Non-reversed systems segv here. */ } configure:4388: result: no configure:4398: checking whether lstat dereferences a symlink specified with a trailing slash configure:4432: cc -o conftest -fno-common conftest.c >&5 configure: In function `main': configure:4453: error: storage size of `sbuf' isn't known configure:4435: $? = 1 configure: program exited with status 1 configure: failed program was: #line 4409 "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 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { struct stat sbuf; /* Linux will dereference the symlink and fail. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); ; return 0; } configure:4460: result: no configure:4474: checking whether stat accepts an empty string configure:4502: cc -o conftest -fno-common conftest.c >&5 configure: In function `main': configure:4526: error: storage size of `sbuf' isn't known configure:4505: $? = 1 configure: program exited with status 1 configure: failed program was: #line 4482 "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 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { struct stat sbuf; exit (stat ("", &sbuf) ? 1 : 0); ; return 0; } configure:4523: result: no configure:4545: checking for bzero configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4560: warning: conflicting types for built-in function `bzero' configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for gethostbyname configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for munmap configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for regcomp configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for socket configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for strcasecmp configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for strstr configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4560: warning: conflicting types for built-in function `strstr' configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4545: checking for strtoul configure:4588: cc -o conftest -fno-common conftest.c >&5 configure:4591: $? = 0 configure:4594: test -s conftest configure:4597: $? = 0 configure:4607: result: yes configure:4700: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by multisuck config.status 1.0.4, which was generated by GNU Autoconf 2.53. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:607: creating Makefile config.status:711: creating config.h config.status:939: 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_bzero=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_gethostbyname=yes ac_cv_func_getpagesize=yes ac_cv_func_lstat_dereferences_slashed_symlink=no ac_cv_func_malloc_works=yes ac_cv_func_mmap_fixed_mapped=no ac_cv_func_munmap=yes ac_cv_func_regcomp=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_socket=yes ac_cv_func_stat_empty_string_bug=no ac_cv_func_strcasecmp=yes ac_cv_func_strstr=yes ac_cv_func_strtoul=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=no ac_cv_header_memory_h=no ac_cv_header_netdb_h=yes ac_cv_header_netinet_in_h=yes 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_param_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_unistd_h=no ac_cv_header_vfork_h=no ac_cv_host=i386-unknown-gnu ac_cv_host_alias=i386-unknown-gnu 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_make_make_set=yes ac_cv_type_off_t=no ac_cv_type_pid_t=no am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_sys_max_cmd_len= ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "multisuck" #define PACKAGE_TARNAME "multisuck" #define PACKAGE_VERSION "1.0.4" #define PACKAGE_STRING "multisuck 1.0.4" #define PACKAGE_BUGREPORT "conrads@cox.net" #define STDC_HEADERS 1 #define HAVE_FCNTL_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define const #define off_t long #define pid_t int #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_MALLOC 1 #define HAVE_GETPAGESIZE 1 #define HAVE_BZERO 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_MUNMAP 1 #define HAVE_REGCOMP 1 #define HAVE_SOCKET 1 #define HAVE_STRCASECMP 1 #define HAVE_STRSTR 1 #define HAVE_STRTOUL 1 configure: exit 0 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by multisuck config.status 1.0.4, which was generated by GNU Autoconf 2.53. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = config.h CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:711: creating config.h config.status:838: config.h is unchanged config.status:939: executing default-1 commands