This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by jailer configure 1.1.2, 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: 106 tasks, 161 threads, 4 processors Load average: 2.14, Mach factor: 1.85 /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: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1242: checking for a BSD-compatible install configure:1296: result: /usr/bin/install -c -o root -g wheel configure:1307: checking whether build environment is sane configure:1350: result: yes configure:1384: checking for gawk configure:1400: found /usr/local/bin/gawk configure:1410: result: gawk configure:1420: checking whether make sets ${MAKE} configure:1440: result: yes configure:1559: checking for i386-unknown-gnu-gcc configure:1585: result: cc configure:1867: checking for C compiler version configure:1870: 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:1873: $? = 0 configure:1875: 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:1878: $? = 0 configure:1880: cc -V &5 cc: `-V' option must have argument configure:1883: $? = 1 configure:1909: checking for C compiler default output configure:1912: cc -fno-common conftest.c >&5 configure:1915: $? = 0 configure:1948: result: a.out configure:1953: checking whether the C compiler works configure:1959: ./a.out configure:1962: $? = 0 configure:1977: result: yes configure:1984: checking whether we are cross compiling configure:1986: result: no configure:1989: checking for suffix of executables configure:1991: cc -o conftest -fno-common conftest.c >&5 configure:1994: $? = 0 configure:2016: result: configure:2022: checking for suffix of object files configure:2046: cc -c -fno-common conftest.c >&5 configure:2049: $? = 0 configure:2068: result: configure:2072: checking whether we are using the GNU C compiler configure:2099: cc -c -fno-common conftest.c >&5 configure:2102: $? = 0 configure:2105: test -s conftest. configure:2108: $? = 1 configure: failed program was: #line 2077 "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:2120: result: no configure:2126: checking whether cc accepts -g configure:2150: cc -c -g conftest.c >&5 configure:2153: $? = 0 configure:2156: test -s conftest. configure:2159: $? = 1 configure: failed program was: #line 2131 "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:2169: result: no configure:2196: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2199: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2317: checking for style of include used by make configure:2345: result: GNU configure:2352: checking dependency style of cc configure:2414: result: gcc3 configure:2423: checking for kvm_open in -lkvm configure:2456: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:2459: $? = 0 configure:2462: test -s conftest configure:2465: $? = 0 configure:2476: result: yes configure:2494: checking how to run the C preprocessor configure:2520: cc -E conftest.c configure:2526: $? = 0 configure:2553: cc -E conftest.c configure:2549:28: ac_nonexistent.h: No such file or directory configure:2559: $? = 1 configure: failed program was: #line 2548 "configure" #include "confdefs.h" #include configure:2596: result: cc -E configure:2611: cc -E conftest.c configure:2617: $? = 0 configure:2644: cc -E conftest.c configure:2640:28: ac_nonexistent.h: No such file or directory configure:2650: $? = 1 configure: failed program was: #line 2639 "configure" #include "confdefs.h" #include configure:2690: checking for ANSI C header files configure:2704: cc -E conftest.c configure:2710: $? = 0 configure:2795: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:2798: $? = 0 configure:2800: ./conftest configure:2803: $? = 0 configure:2817: result: yes configure:2827: checking for sys/wait.h that is POSIX.1 compatible configure:2861: cc -c -fno-common conftest.c >&5 configure:2864: $? = 0 configure:2867: test -s conftest. configure:2870: $? = 1 configure: failed program was: #line 2832 "configure" #include "confdefs.h" #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } configure:2880: result: no configure:2904: checking for sys/types.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for sys/stat.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for stdlib.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for string.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for memory.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for strings.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for inttypes.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for stdint.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: result: no configure:2904: checking for unistd.h configure:2917: cc -c -fno-common conftest.c >&5 configure:2920: $? = 0 configure:2923: test -s conftest. configure:2926: $? = 1 configure: failed program was: #line 2909 "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:2936: 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 syslog.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 syslog.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: syslog.h: present but cannot be compiled configure:3043: WARNING: syslog.h: check for missing prerequisite headers? configure:3045: WARNING: syslog.h: proceeding with the preprocessor's result configure:3048: checking for syslog.h configure:3055: result: yes configure:2959: checking for unistd.h configure:2964: result: no configure:2968: checking limits.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 limits.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: limits.h: present but cannot be compiled configure:3043: WARNING: limits.h: check for missing prerequisite headers? configure:3045: WARNING: limits.h: proceeding with the preprocessor's result configure:3048: checking for limits.h configure:3055: result: yes configure:2968: checking sys/file.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/file.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: sys/file.h: present but cannot be compiled configure:3043: WARNING: sys/file.h: check for missing prerequisite headers? configure:3045: WARNING: sys/file.h: proceeding with the preprocessor's result configure:3048: checking for sys/file.h configure:3055: result: yes 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 paths.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 paths.h presence configure:3006: cc -E conftest.c configure:3012: $? = 0 configure:3030: result: yes configure:3041: WARNING: paths.h: present but cannot be compiled configure:3043: WARNING: paths.h: check for missing prerequisite headers? configure:3045: WARNING: paths.h: proceeding with the preprocessor's result configure:3048: checking for paths.h configure:3055: result: yes 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 size_t configure:3293: cc -c -fno-common conftest.c >&5 configure:3296: $? = 0 configure:3299: test -s conftest. configure:3302: $? = 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 ((size_t *) 0) return 0; if (sizeof (size_t)) return 0; ; return 0; } configure:3312: result: no configure:3324: checking whether struct tm is in sys/time.h or time.h configure:3350: cc -c -fno-common conftest.c >&5 configure:3353: $? = 0 configure:3356: test -s conftest. configure:3359: $? = 1 configure: failed program was: #line 3329 "configure" #include "confdefs.h" #include #include #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { struct tm *tp; tp->tm_sec; ; return 0; } configure:3369: result: sys/time.h configure:3381: checking for pid_t configure:3408: cc -c -fno-common conftest.c >&5 configure:3411: $? = 0 configure:3414: test -s conftest. configure:3417: $? = 1 configure: failed program was: #line 3386 "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:3427: result: no configure:3445: checking for unistd.h configure:3450: result: no configure:3454: checking vfork.h usability configure:3463: cc -c -fno-common conftest.c >&5 configure:3491:19: vfork.h: No such file or directory configure:3466: $? = 1 configure: failed program was: #line 3456 "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:3481: result: no configure:3485: checking vfork.h presence configure:3492: cc -E conftest.c configure:3488:19: vfork.h: No such file or directory configure:3498: $? = 1 configure: failed program was: #line 3487 "configure" #include "confdefs.h" #include configure:3516: result: no configure:3534: checking for vfork.h configure:3541: result: no configure:3559: checking for fork configure:3602: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:3605: $? = 0 configure:3608: test -s conftest configure:3611: $? = 0 configure:3621: result: yes configure:3559: checking for vfork configure:3602: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:3605: $? = 0 configure:3608: test -s conftest configure:3611: $? = 0 configure:3621: result: yes configure:3633: checking for working fork configure:3677: result: yes configure:3696: checking for working vfork configure:3823: result: yes configure:3854: checking whether setvbuf arguments are reversed configure:3882: cc -o conftest -fno-common conftest.c -lkvm >&5 configure: In function `main': configure:3873: warning: passing arg 2 of `setvbuf' makes pointer from integer without a cast configure:3873: warning: passing arg 3 of `setvbuf' makes integer from pointer without a cast configure:3885: $? = 0 configure:3887: ./conftest configure:3890: $? = 1 configure: program exited with status 1 configure: failed program was: #line 3864 "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:3904: result: no configure:3914: checking return type of signal handlers configure:3948: cc -c -fno-common conftest.c >&5 configure:3951: $? = 0 configure:3954: test -s conftest. configure:3957: $? = 1 configure: failed program was: #line 3919 "configure" #include "confdefs.h" #include #include #ifdef signal # undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void (*)(int)))(int); #else void (*signal ()) (); #endif #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { int i; ; return 0; } configure:3967: result: int configure:3975: checking whether lstat dereferences a symlink specified with a trailing slash configure:4009: cc -o conftest -fno-common conftest.c -lkvm >&5 configure: In function `main': configure:4030: error: storage size of `sbuf' isn't known configure:4012: $? = 1 configure: program exited with status 1 configure: failed program was: #line 3986 "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:4037: result: no configure:4051: checking whether stat accepts an empty string configure:4079: cc -o conftest -fno-common conftest.c -lkvm >&5 configure: In function `main': configure:4103: error: storage size of `sbuf' isn't known configure:4082: $? = 1 configure: program exited with status 1 configure: failed program was: #line 4059 "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:4100: result: no configure:4120: checking for dup2 configure:4163: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:4166: $? = 0 configure:4169: test -s conftest configure:4172: $? = 0 configure:4182: result: yes configure:4120: checking for gethostname configure:4163: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:4166: $? = 0 configure:4169: test -s conftest configure:4172: $? = 0 configure:4182: result: yes configure:4120: checking for strerror configure:4163: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:4166: $? = 0 configure:4169: test -s conftest configure:4172: $? = 0 configure:4182: result: yes configure:4120: checking for atexit configure:4163: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:4166: $? = 0 configure:4169: test -s conftest configure:4172: $? = 0 configure:4182: result: yes configure:4120: checking for setproctitle configure:4163: cc -o conftest -fno-common conftest.c -lkvm >&5 ld: Undefined symbols: _setproctitle configure:4166: $? = 1 configure: failed program was: #line 4125 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char setproctitle (); below. */ #include /* 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 setproctitle (); char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_setproctitle) || defined (__stub___setproctitle) choke me #else f = setproctitle; #endif ; return 0; } configure:4182: result: no configure:4120: checking for select configure:4163: cc -o conftest -fno-common conftest.c -lkvm >&5 configure:4166: $? = 0 configure:4169: test -s conftest configure:4172: $? = 0 configure:4182: result: yes configure:4275: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by jailer config.status 1.1.2, 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:601: creating Makefile config.status:601: creating src/Makefile config.status:601: creating scripts/Makefile config.status:705: creating config.h config.status:935: executing default-1 commands ## ---------------- ## ## 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_atexit=yes ac_cv_func_dup2=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_gethostname=yes ac_cv_func_lstat_dereferences_slashed_symlink=no ac_cv_func_select=yes ac_cv_func_setproctitle=no ac_cv_func_setvbuf_reversed=no ac_cv_func_stat_empty_string_bug=no ac_cv_func_strerror=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_limits_h=yes ac_cv_header_memory_h=no ac_cv_header_paths_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_file_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_sys_wait_h=no ac_cv_header_syslog_h=yes ac_cv_header_unistd_h=no ac_cv_header_vfork_h=no ac_cv_lib_kvm_kvm_open=yes 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_struct_tm=sys/time.h ac_cv_type_pid_t=no ac_cv_type_signal=int ac_cv_type_size_t=no am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_sys_max_cmd_len= ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "jailer" #define PACKAGE_TARNAME "jailer" #define PACKAGE_VERSION "1.1.2" #define PACKAGE_STRING "jailer 1.1.2" #define PACKAGE_BUGREPORT "nielsen@memberwebs.com" #define PACKAGE "jailer" #define VERSION "1.1.2" #define HAVE_LIBKVM 1 #define STDC_HEADERS 1 #define HAVE_FCNTL_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_PATHS_H 1 #define const #define size_t unsigned #define TM_IN_SYS_TIME 1 #define pid_t int #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define RETSIGTYPE int #define HAVE_DUP2 1 #define HAVE_GETHOSTNAME 1 #define HAVE_STRERROR 1 #define HAVE_ATEXIT 1 #define HAVE_SELECT 1 configure: exit 0 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by jailer config.status 1.1.2, 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:705: creating config.h config.status:834: config.h is unchanged config.status:935: executing default-1 commands