This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by qonk configure 0.3.1, which was generated by GNU Autoconf 2.61. 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 /usr/bin/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: 96 tasks, 151 threads, 4 processors Load average: 1.91, Mach factor: 2.07 /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:1802: checking build system type configure:1820: result: i386-unknown-gnu configure:1842: checking host system type configure:1857: result: i386-unknown-gnu configure:1879: checking target system type configure:1894: result: i386-unknown-gnu configure:1936: checking for a BSD-compatible install configure:1992: result: /usr/bin/install -c -o root -g wheel configure:2003: checking whether build environment is sane configure:2046: result: yes configure:2111: checking for gawk configure:2127: found /usr/local/bin/gawk configure:2138: result: gawk configure:2149: checking whether gmake sets $(MAKE) configure:2170: result: yes configure:2476: checking for C++ compiler version configure:2483: c++ --version >&5 c++ (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:2486: $? = 0 configure:2493: c++ -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:2496: $? = 0 configure:2503: c++ -V >&5 c++: `-V' option must have argument configure:2506: $? = 1 configure:2529: checking for C++ compiler default output file name configure:2556: c++ -fno-common -I/usr/local/include -L/usr/local/lib conftest.cpp >&5 configure:2559: $? = 0 configure:2597: result: a.out configure:2614: checking whether the C++ compiler works configure:2624: ./a.out configure:2627: $? = 0 configure:2644: result: yes configure:2651: checking whether we are cross compiling configure:2653: result: no configure:2656: checking for suffix of executables configure:2663: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib conftest.cpp >&5 configure:2666: $? = 0 configure:2690: result: configure:2696: checking for suffix of object files configure:2722: c++ -c -fno-common -I/usr/local/include conftest.cpp >&5 configure:2725: $? = 0 configure:2748: result: configure:2752: checking whether we are using the GNU C++ compiler configure:2781: c++ -c -fno-common -I/usr/local/include conftest.cpp >&5 configure:2787: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2804: result: no configure:2809: checking whether c++ accepts -g configure:2839: c++ -c -g -I/usr/local/include conftest.cpp >&5 configure:2845: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2877: c++ -c -I/usr/local/include conftest.cpp >&5 configure:2883: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2916: c++ -c -g -I/usr/local/include conftest.cpp >&5 configure:2922: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2944: result: no configure:2978: checking for style of include used by gmake configure:3006: result: GNU configure:3034: checking dependency style of c++ configure:3124: result: gcc3 configure:3149: checking for i386-unknown-gnu-gcc configure:3176: result: cc configure:3454: checking for C compiler version configure:3461: 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:3464: $? = 0 configure:3471: 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:3474: $? = 0 configure:3481: cc -V >&5 cc: `-V' option must have argument configure:3484: $? = 1 configure:3487: checking whether we are using the GNU C compiler configure:3516: cc -c -fno-common -I/usr/local/include conftest.c >&5 configure:3522: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:3539: result: no configure:3544: checking whether cc accepts -g configure:3574: cc -c -g -I/usr/local/include conftest.c >&5 configure:3580: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3612: cc -c -I/usr/local/include conftest.c >&5 configure:3618: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3651: cc -c -g -I/usr/local/include conftest.c >&5 configure:3657: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3679: result: no configure:3696: checking for cc option to accept ISO C89 configure:3770: cc -c -fno-common -I/usr/local/include conftest.c >&5 configure:3776: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3770: cc -qlanglvl=extc89 -c -fno-common -I/usr/local/include conftest.c >&5 cc: unrecognized option `-qlanglvl=extc89' configure:3776: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3770: cc -qlanglvl=ansi -c -fno-common -I/usr/local/include conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:3776: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3770: cc -std -c -fno-common -I/usr/local/include conftest.c >&5 cc1: error: unrecognized option `-std' configure:3776: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3770: cc -Ae -c -fno-common -I/usr/local/include conftest.c >&5 :6:2: missing '(' after predicate configure:3776: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3770: cc -Aa -D_HPUX_SOURCE -c -fno-common -I/usr/local/include conftest.c >&5 :6:2: missing '(' after predicate configure:3776: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3770: cc -Xc -D__EXTENSIONS__ -c -fno-common -I/usr/local/include conftest.c >&5 cc: unrecognized option `-Xc' configure:3776: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3802: result: unsupported configure:3819: checking dependency style of cc configure:3909: result: gcc3 configure:3929: checking for i386-unknown-gnu-ranlib configure:3959: result: no configure:3969: checking for ranlib configure:3985: found /usr/bin/ranlib configure:3996: result: ranlib configure:4073: checking for sdl-config configure:4104: result: /usr/local/bin/sdl-config configure:4113: checking for SDL - version >= 1.2.0 configure:4210: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -L/usr/local/lib conftest.c -L/lib -lSDL -pthread >&5 cc: unrecognized option `-pthread' In file included from /usr/include/machine/types.h:32, from /usr/include/stdlib.h:248, from conftest.c:12: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /include/stdint.h:162: error: previous declaration of `int8_t' configure:4213: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | #include | #include | #include | #include "SDL.h" | | char* | my_strdup (char *str) | { | char *new_str; | | if (str) | { | new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); | strcpy (new_str, str); | } | else | new_str = NULL; | | return new_str; | } | | int main (int argc, char *argv[]) | { | int major, minor, micro; | char *tmp_version; | | /* This hangs on some systems (?) | system ("touch conf.sdltest"); | */ | { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } | | /* HP/UX 9 (%@#!) writes to sscanf strings */ | tmp_version = my_strdup("1.2.0"); | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | printf("%s, bad version string\n", "1.2.0"); | exit(1); | } | | if ((1 > major) || | ((1 == major) && (2 > minor)) || | ((1 == major) && (2 == minor) && (11 >= micro))) | { | return 0; | } | else | { | printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", 1, 2, 11); | printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); | printf("*** best to upgrade to the required version.\n"); | printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); | printf("*** to point to the correct copy of sdl-config, and remove the file\n"); | printf("*** config.cache before re-running configure\n"); | return 1; | } | } | | configure:4247: result: no configure:4291: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -L/usr/local/lib conftest.c -L/lib -lSDL -pthread >&5 cc: unrecognized option `-pthread' ld: can't locate file for: -lSDL configure:4297: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "qonk" | #define PACKAGE_TARNAME "qonk" | #define PACKAGE_VERSION "0.3.1" | #define PACKAGE_STRING "qonk 0.3.1" | #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" | #define PACKAGE "qonk" | #define VERSION "0.3.1" | /* end confdefs.h. */ | | #include | #include "SDL.h" | | int main(int argc, char *argv[]) | { return 0; } | #undef main | #define main K_and_R_C_main | | int | main () | { | return 0; | ; | return 0; | } configure:4331: error: No proper SDL found. Please install at least version 1.2.0! ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-gnu ac_cv_c_compiler_gnu=no ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= 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=set ac_cv_env_CPPFLAGS_value=-I/usr/local/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value=-fno-common ac_cv_env_CXX_set=set ac_cv_env_CXX_value=c++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/usr/local/lib ac_cv_env_LIBS_set= ac_cv_env_LIBS_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_host=i386-unknown-gnu ac_cv_objext= ac_cv_path_SDL_CONFIG=/usr/local/bin/sdl-config ac_cv_prog_AWK=gawk ac_cv_prog_CC=cc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89=no ac_cv_prog_cc_g=no ac_cv_prog_cxx_g=no ac_cv_prog_make_gmake_set=yes ac_cv_target=i386-unknown-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_sys_max_cmd_len= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/missing --run tar' AUTOCONF='${SHELL} /mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/missing --run autoconf' AUTOHEADER='${SHELL} /mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/missing --run autoheader' AUTOMAKE='${SHELL} /mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/missing --run automake-1.9' AWK='gawk' CC='cc' CCDEPMODE='depmode=gcc3' CFLAGS='-fno-common' CPP='' CPPFLAGS='-I/usr/local/include' CXX='c++' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-fno-common' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GREP='' 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' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='-L/usr/local/lib' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/missing --run makeinfo' OBJEXT='' PACKAGE='qonk' PACKAGE_BUGREPORT='qonk-dev@lists.sf.net' PACKAGE_NAME='qonk' PACKAGE_STRING='qonk 0.3.1' PACKAGE_TARNAME='qonk' PACKAGE_VERSION='0.3.1' PATH_SEPARATOR=':' RANLIB='ranlib' SDL_CFLAGS='' SDL_CONFIG='/usr/local/bin/sdl-config' SDL_LIBS='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='0.3.1' ac_ct_CC='' ac_ct_CXX='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i386-unknown-gnu' build_alias='i386-unknown-gnu' build_cpu='i386' build_os='gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i386-unknown-gnu' host_alias='i386-unknown-gnu' host_cpu='i386' host_os='gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='/mnt/gmirror/ports/games/qonk/work/qonk-0.3.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='' program_transform_name='s&^&i386-unknown-gnu-&' psdir='${docdir}' 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 PACKAGE_NAME "qonk" #define PACKAGE_TARNAME "qonk" #define PACKAGE_VERSION "0.3.1" #define PACKAGE_STRING "qonk 0.3.1" #define PACKAGE_BUGREPORT "qonk-dev@lists.sf.net" #define PACKAGE "qonk" #define VERSION "0.3.1" configure: exit 1