This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --program-prefix= --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: 92 tasks, 147 threads, 4 processors Load average: 1.57, Mach factor: 2.41 /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:1781: checking build system type configure:1799: result: i386-unknown-gnu configure:1821: checking host system type configure:1836: result: i386-unknown-gnu configure:1858: checking target system type configure:1873: result: i386-unknown-gnu configure:1919: checking for a BSD-compatible install configure:1975: result: /usr/bin/install -c -o root -g wheel configure:1986: checking whether build environment is sane configure:2029: result: yes configure:2094: checking for gawk configure:2110: found /usr/local/bin/gawk configure:2121: result: gawk configure:2132: checking whether make sets $(MAKE) configure:2153: result: yes configure:2347: checking for i386-unknown-gnu-gcc configure:2374: result: cc configure:2652: checking for C compiler version configure:2659: 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:2662: $? = 0 configure:2669: 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:2672: $? = 0 configure:2679: cc -V >&5 cc: `-V' option must have argument configure:2682: $? = 1 configure:2705: checking for C compiler default output file name configure:2732: cc -fno-common conftest.c >&5 configure:2735: $? = 0 configure:2773: result: a.out configure:2790: checking whether the C compiler works configure:2800: ./a.out configure:2803: $? = 0 configure:2820: result: yes configure:2827: checking whether we are cross compiling configure:2829: result: no configure:2832: checking for suffix of executables configure:2839: cc -o conftest -fno-common conftest.c >&5 configure:2842: $? = 0 configure:2866: result: configure:2872: checking for suffix of object files configure:2898: cc -c -fno-common conftest.c >&5 configure:2901: $? = 0 configure:2924: result: configure:2928: checking whether we are using the GNU C compiler configure:2957: cc -c -fno-common conftest.c >&5 configure:2963: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2980: result: no configure:2985: checking whether cc accepts -g configure:3015: cc -c -g conftest.c >&5 configure:3021: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3053: cc -c conftest.c >&5 configure:3059: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3092: cc -c -g conftest.c >&5 configure:3098: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3120: result: no configure:3137: checking for cc option to accept ISO C89 configure:3211: cc -c -fno-common conftest.c >&5 configure:3217: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3211: cc -qlanglvl=extc89 -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=extc89' configure:3217: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3211: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:3217: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3211: cc -std -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std' configure:3217: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3211: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:3217: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3211: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:3217: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3211: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:3217: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* 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:3243: result: unsupported configure:3269: checking for style of include used by make configure:3297: result: GNU configure:3325: checking dependency style of cc configure:3415: result: gcc3 configure:3445: checking for a BSD-compatible install configure:3501: result: /usr/bin/install -c -o root -g wheel configure:3515: checking for i386-unknown-gnu-ranlib configure:3545: result: no configure:3555: checking for ranlib configure:3571: found /usr/bin/ranlib configure:3582: result: ranlib configure:3611: checking for an ANSI C-conforming const configure:3686: cc -c -fno-common conftest.c >&5 configure:3692: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | /* end confdefs.h. */ | | int | main () | { | /* FIXME: Include the comments suggested by Paul. */ | #ifndef __cplusplus | /* Ultrix mips cc rejects this. */ | typedef int charset[2]; | const charset cs; | /* SunOS 4.1.1 cc rejects this. */ | char const *const *pcpcc; | char **ppc; | /* 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"; | pcpcc = &g + (g ? g-g : 0); | /* HPUX 7.0 cc rejects these. */ | ++pcpcc; | ppc = (char**) pcpcc; | pcpcc = (char const *const *) ppc; | { /* SCO 3.2v4 cc rejects this. */ | char *t; | char const *s = 0 ? (char *) 0 : (char const *) 0; | | *t++ = 0; | if (s) return 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; | if (!foo) return 0; | } | return !cs[0] && !zero.x; | #endif | | ; | return 0; | } configure:3707: result: no configure:3759: checking for sdl-config configure:3790: result: /usr/local/bin/sdl-config configure:3799: checking for SDL - version >= 1.1.5 configure:3894: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT 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:13: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /include/stdint.h:162: error: previous declaration of `int8_t' configure:3897: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | #define const | /* 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.1.5"); | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | printf("%s, bad version string\n", "1.1.5"); | 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:3930: result: no configure:3973: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/lib -lSDL -pthread >&5 cc: unrecognized option `-pthread' ld: can't locate file for: -lSDL configure:3979: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "penguin-command" | #define VERSION "1.6.11" | #define const | /* 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:4012: error: *** SDL version 1.1.5 not found! ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=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_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_make_make_set=yes ac_cv_target=i386-unknown-gnu am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_sys_max_cmd_len= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /mnt/gmirror/ports/games/penguin-command/work/penguin-command-1.6.11/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /mnt/gmirror/ports/games/penguin-command/work/penguin-command-1.6.11/missing --run tar' AUTOCONF='${SHELL} /mnt/gmirror/ports/games/penguin-command/work/penguin-command-1.6.11/missing --run autoconf' AUTOHEADER='${SHELL} /mnt/gmirror/ports/games/penguin-command/work/penguin-command-1.6.11/missing --run autoheader' AUTOMAKE='${SHELL} /mnt/gmirror/ports/games/penguin-command/work/penguin-command-1.6.11/missing --run automake-1.9' AWK='gawk' CC='cc' CCDEPMODE='depmode=gcc3' CFLAGS='-fno-common' CPP='' CPPFLAGS='' 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='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /mnt/gmirror/ports/games/penguin-command/work/penguin-command-1.6.11/missing --run makeinfo' OBJEXT='' PACKAGE='penguin-command' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SDL_CFLAGS='' SDL_CONFIG='/usr/local/bin/sdl-config' SDL_LIBS='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='1.6.11' ac_ct_CC='' am__fastdepCC_FALSE='#' am__fastdepCC_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}' 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/penguin-command/work/penguin-command-1.6.11/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&^&&' 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 "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "penguin-command" #define VERSION "1.6.11" #define const configure: exit 1