This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by d2x configure 0.2.5, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure --disable-network --disable-debug --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: 130 tasks, 184 threads, 4 processors Load average: 0.91, Mach factor: 3.08 /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:1349: checking build system type configure:1367: result: i386-unknown-gnu configure:1375: checking host system type configure:1389: result: i386-unknown-gnu configure:1397: checking target system type configure:1411: result: i386-unknown-gnu configure:1439: checking for a BSD-compatible install configure:1493: result: /usr/bin/install -c -o root -g wheel configure:1504: checking whether build environment is sane configure:1547: result: yes configure:1580: checking for gawk configure:1596: found /usr/local/bin/gawk configure:1606: result: gawk configure:1616: checking whether gmake sets $(MAKE) configure:1636: result: yes configure:1820: checking whether to enable maintainer-specific portions of Makefiles configure:1829: result: no configure:1860: checking for a BSD-compatible install configure:1914: result: /usr/bin/install -c -o root -g wheel configure:1925: checking whether gmake sets $(MAKE) configure:1945: result: yes configure:1966: checking for style of include used by gmake configure:1994: result: GNU configure:2027: checking for i386-unknown-gnu-gcc configure:2053: result: cc configure:2335: checking for C compiler version configure:2338: 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:2341: $? = 0 configure:2343: 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:2346: $? = 0 configure:2348: cc -V &5 cc: `-V' option must have argument configure:2351: $? = 1 configure:2375: checking for C compiler default output configure:2378: cc -fno-common conftest.c >&5 configure:2381: $? = 0 configure:2427: result: a.out configure:2432: checking whether the C compiler works configure:2438: ./a.out configure:2441: $? = 0 configure:2458: result: yes configure:2465: checking whether we are cross compiling configure:2467: result: no configure:2470: checking for suffix of executables configure:2472: cc -o conftest -fno-common conftest.c >&5 configure:2475: $? = 0 configure:2500: result: configure:2506: checking for suffix of object files configure:2528: cc -c -fno-common conftest.c >&5 configure:2531: $? = 0 configure:2553: result: configure:2557: checking whether we are using the GNU C compiler configure:2582: cc -c -fno-common conftest.c >&5 configure:2585: $? = 0 configure:2588: test -s conftest. configure:2591: $? = 1 configure: failed program was: | #line 2562 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2604: result: no configure:2610: checking whether cc accepts -g configure:2632: cc -c -g conftest.c >&5 configure:2635: $? = 0 configure:2638: test -s conftest. configure:2641: $? = 1 configure: failed program was: | #line 2615 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2652: result: no configure:2669: checking for cc option to accept ANSI C configure:2730: cc -c -fno-common conftest.c >&5 configure:2733: $? = 0 configure:2736: test -s conftest. configure:2739: $? = 1 configure: failed program was: | #line 2676 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* 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; | } | 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:2730: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:2733: $? = 0 configure:2736: test -s conftest. configure:2739: $? = 1 configure: failed program was: | #line 2676 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* 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; | } | 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:2730: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2733: $? = 1 configure: failed program was: | #line 2676 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* 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; | } | 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:2730: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2733: $? = 1 configure: failed program was: | #line 2676 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* 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; | } | 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:2730: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2733: $? = 1 configure: failed program was: | #line 2676 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* 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; | } | 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:2730: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:2733: $? = 0 configure:2736: test -s conftest. configure:2739: $? = 1 configure: failed program was: | #line 2676 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* 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; | } | 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:2757: result: none needed configure:2775: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2778: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2889: checking dependency style of cc configure:2957: result: gcc3 configure:2976: checking for strerror in -lcposix configure:3007: cc -o conftest -fno-common conftest.c -lcposix >&5 ld: can't locate file for: -lcposix configure:3010: $? = 1 configure: failed program was: | #line 2983 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char strerror (); | int | main () | { | strerror (); | ; | return 0; | } configure:3028: result: no configure:3039: checking for i386-unknown-gnu-gcc configure:3065: result: cc configure:3119: checking for i386-unknown-gnu-ranlib configure:3148: result: no configure:3157: checking for ranlib configure:3173: found /usr/bin/ranlib configure:3184: result: ranlib configure:3199: checking for i386-unknown-gnu-strip configure:3228: result: no configure:3237: checking for strip configure:3253: found /usr/bin/strip configure:3264: result: strip configure:3279: checking for i386-unknown-gnu-ar configure:3308: result: no configure:3317: checking for ar configure:3333: found /usr/bin/ar configure:3344: result: ar configure:3364: checking for i386-unknown-gnu-gcc configure:3390: result: cc configure:3672: checking for C compiler version configure:3675: 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:3678: $? = 0 configure:3680: 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:3683: $? = 0 configure:3685: cc -V &5 cc: `-V' option must have argument configure:3688: $? = 1 configure:3691: checking whether we are using the GNU C compiler configure:3738: result: no configure:3744: checking whether cc accepts -g configure:3786: result: no configure:3803: checking for cc option to accept ANSI C configure:3891: result: none needed configure:3909: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:3912: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:4023: checking dependency style of cc configure:4091: result: gcc3 configure:4118: checking for i386-unknown-gnu-g++ configure:4144: result: c++ configure:4202: checking for C++ compiler version configure:4205: 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:4208: $? = 0 configure:4210: 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:4213: $? = 0 configure:4215: c++ -V &5 c++: `-V' option must have argument configure:4218: $? = 1 configure:4221: checking whether we are using the GNU C++ compiler configure:4246: c++ -c -fno-common conftest.cc >&5 configure:4249: $? = 0 configure:4252: test -s conftest. configure:4255: $? = 1 configure: failed program was: | #line 4226 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:4268: result: no configure:4274: checking whether c++ accepts -g configure:4296: c++ -c -g conftest.cc >&5 configure:4299: $? = 0 configure:4302: test -s conftest. configure:4305: $? = 1 configure: failed program was: | #line 4279 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4316: result: no configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | | int | main () | { | exit (42); | ; | return 0; | } configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | extern "C" void std::exit (int) throw (); using std::exit; | int | main () | { | exit (42); | ; | return 0; | } configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | extern "C" void std::exit (int); using std::exit; | int | main () | { | exit (42); | ; | return 0; | } configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | extern "C" void exit (int) throw (); | int | main () | { | exit (42); | ; | return 0; | } configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | extern "C" void exit (int); | int | main () | { | exit (42); | ; | return 0; | } configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | void exit (int); | int | main () | { | exit (42); | ; | return 0; | } configure:4360: c++ -c -fno-common conftest.cc >&5 configure:4363: $? = 0 configure:4366: test -s conftest. configure:4369: $? = 1 configure: failed program was: | #line 4342 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | /* end confdefs.h. */ | #include | #include | int | main () | { | exit (42); | ; | return 0; | } configure:4430: checking dependency style of c++ configure:4498: result: gcc3 configure:4520: checking how to run the C preprocessor configure:4556: cc -E conftest.c configure:4562: $? = 0 configure:4594: cc -E conftest.c configure:4601:28: ac_nonexistent.h: No such file or directory configure:4600: $? = 1 configure: failed program was: | #line 4585 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include configure:4638: result: cc -E configure:4663: cc -E conftest.c configure:4669: $? = 0 configure:4701: cc -E conftest.c configure:4708:28: ac_nonexistent.h: No such file or directory configure:4707: $? = 1 configure: failed program was: | #line 4692 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include configure:4750: checking for egrep configure:4760: result: grep -E configure:4765: checking for ANSI C header files configure:4791: cc -c -fno-common conftest.c >&5 configure:4794: $? = 0 configure:4797: test -s conftest. configure:4800: $? = 1 configure: failed program was: | #line 4770 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:4912: result: no configure:4926: checking for nasm configure:4944: found /usr/local/bin/nasm configure:4956: result: /usr/local/bin/nasm configure:4967: checking whether byte ordering is bigendian configure:4995: cc -c -fno-common conftest.c >&5 configure:4998: $? = 0 configure:5001: test -s conftest. configure:5004: $? = 1 configure: failed program was: | #line 4973 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include | #include | | int | main () | { | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | bogus endian macros | #endif | | ; | return 0; | } configure:5128: cc -o conftest -fno-common conftest.c >&5 configure:5131: $? = 0 configure:5133: ./conftest configure:5136: $? = 0 configure:5152: result: no configure:5200: checking whether nanosleep is declared configure:5226: cc -c -fno-common conftest.c >&5 configure:5229: $? = 0 configure:5232: test -s conftest. configure:5235: $? = 1 configure: failed program was: | #line 5205 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include | | int | main () | { | #ifndef nanosleep | char *p = (char *) nanosleep; | #endif | | ; | return 0; | } configure:5246: result: no configure:5278: checking for sys/types.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for sys/stat.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for stdlib.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for string.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for memory.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for strings.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for inttypes.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for stdint.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5278: checking for unistd.h configure:5295: cc -c -fno-common conftest.c >&5 configure:5298: $? = 0 configure:5301: test -s conftest. configure:5304: $? = 1 configure: failed program was: | #line 5283 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end 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:5315: result: no configure:5327: checking for struct timespec configure:5352: cc -c -fno-common conftest.c >&5 configure: In function `main': configure:5388: error: invalid application of `sizeof' to an incomplete type configure:5355: $? = 1 configure: failed program was: | #line 5332 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | if ((struct timespec *) 0) | return 0; | if (sizeof (struct timespec)) | return 0; | ; | return 0; | } configure:5372: result: no configure:5382: checking for struct timeval configure:5407: cc -c -fno-common conftest.c >&5 configure: In function `main': configure:5443: error: invalid application of `sizeof' to an incomplete type configure:5410: $? = 1 configure: failed program was: | #line 5387 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | if ((struct timeval *) 0) | return 0; | if (sizeof (struct timeval)) | return 0; | ; | return 0; | } configure:5427: result: no configure:5681: checking for sdl-config configure:5712: result: /usr/local/bin/sdl-config configure:5720: checking for SDL - version >= 1.1.0 configure:5811: cc -o conftest -pipe -g -Wall -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:5814: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 5744 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | #define FAST_FILE_IO | #define SHAREPATH "/share/games/d2x" | /* 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.0"); | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | printf("%s, bad version string\n", "1.1.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:5841: result: no configure:5880: cc -o conftest -pipe -g -Wall -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:5883: $? = 1 configure: failed program was: | #line 5855 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "d2x" | #define PACKAGE_TARNAME "d2x" | #define PACKAGE_VERSION "0.2.5" | #define PACKAGE_STRING "d2x 0.2.5" | #define PACKAGE_BUGREPORT "descent-source@warpcore.org" | #define PACKAGE "d2x" | #define VERSION "0.2.5" | #define D2XMAJOR 0 | #define D2XMINOR 2 | #define D2XMICRO 5 | #ifdef __cplusplus | #include | #endif | #define HAVE_DECL_NANOSLEEP 0 | #define FAST_FILE_IO | #define SHAREPATH "/share/games/d2x" | /* 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:5916: error: SDL not found. Make sure sdl-config is in your PATH ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-gnu ac_cv_build_alias=i386-unknown-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=no ac_cv_cxx_compiler_gnu=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_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= 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_have_decl_nanosleep=no ac_cv_header_inttypes_h=no ac_cv_header_memory_h=no ac_cv_header_stdc=no 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_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_unistd_h=no ac_cv_host=i386-unknown-gnu ac_cv_host_alias=i386-unknown-gnu ac_cv_lib_cposix_strerror=no ac_cv_objext= ac_cv_path_NASM=/usr/local/bin/nasm ac_cv_path_SDL_CONFIG=/usr/local/bin/sdl-config ac_cv_prog_AWK=gawk ac_cv_prog_CC=cc ac_cv_prog_CPP='cc -E' ac_cv_prog_CXX=c++ ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=no ac_cv_prog_cc_stdc=no ac_cv_prog_cxx_g=no ac_cv_prog_egrep='grep -E' ac_cv_prog_make_gmake_set=yes ac_cv_target=i386-unknown-gnu ac_cv_target_alias=i386-unknown-gnu ac_cv_type_struct_timespec=no ac_cv_type_struct_timeval=no 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/d2x/work/d2x-0.2.5/missing --run aclocal-1.7' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /mnt/gmirror/ports/games/d2x/work/d2x-0.2.5/missing --run tar' AR='ar' AUTOCONF='${SHELL} /mnt/gmirror/ports/games/d2x/work/d2x-0.2.5/missing --run autoconf' AUTOHEADER='${SHELL} /mnt/gmirror/ports/games/d2x/work/d2x-0.2.5/missing --run autoheader' AUTOMAKE='${SHELL} /mnt/gmirror/ports/games/d2x/work/d2x-0.2.5/missing --run automake-1.7' AWK='gawk' CC='cc' CCAS='' CCASFLAGS='' CCDEPMODE='depmode=gcc3' CFLAGS='-pipe -g -Wall -fno-common' CPP='cc -E' CPPFLAGS='' CXX='c++' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-fno-common' CYGPATH_W='echo' D2X_ARCH_SUBDIRS='' D2X_MAIN_SUBDIRS='' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EDITOR_FALSE='' EDITOR_TRUE='#' EGREP='grep -E' EXEEXT='' GGI_LIBS='' 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='' MACDATA_FALSE='' MACDATA_TRUE='#' MACOSX_FALSE='' MACOSX_TRUE='#' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /mnt/gmirror/ports/games/d2x/work/d2x-0.2.5/missing --run makeinfo' MINGW32_FALSE='' MINGW32_TRUE='#' NASM='/usr/local/bin/nasm' NASMFLAGS='' OBJEXT='' OGL_LIBS='' PACKAGE='d2x' PACKAGE_BUGREPORT='descent-source@warpcore.org' PACKAGE_NAME='d2x' PACKAGE_STRING='d2x 0.2.5' PACKAGE_TARNAME='d2x' PACKAGE_VERSION='0.2.5' PATH_SEPARATOR=':' RANLIB='ranlib' SDL_CFLAGS='' SDL_CONFIG='/usr/local/bin/sdl-config' SDL_LIBS='' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' SVGA_LIBS='' TARGETS='' USE_ASM_FALSE='' USE_ASM_TRUE='' USE_GGI_FALSE='' USE_GGI_TRUE='' USE_LINUX_JOY_FALSE='' USE_LINUX_JOY_TRUE='#' USE_NETWORK_FALSE='' USE_NETWORK_TRUE='' USE_OPENGL_FALSE='' USE_OPENGL_TRUE='' USE_SVGALIB_FALSE='' USE_SVGALIB_TRUE='' VERSION='0.2.5' ac_ct_AR='ar' ac_ct_CC='' ac_ct_CXX='' ac_ct_RANLIB='ranlib' ac_ct_STRIP='strip' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' bindir='${exec_prefix}/bin' build='i386-unknown-gnu' build_alias='i386-unknown-gnu' build_cpu='i386' build_os='gnu' build_vendor='unknown' datadir='${prefix}/share' exec_prefix='' host='i386-unknown-gnu' host_alias='i386-unknown-gnu' host_cpu='i386' host_os='gnu' host_vendor='unknown' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/mnt/gmirror/ports/games/d2x/work/d2x-0.2.5/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='' program_transform_name='s,^,i386-unknown-gnu-,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sharepath='/share/games/d2x' sysconfdir='${prefix}/etc' target='i386-unknown-gnu' target_alias='i386-unknown-gnu' target_cpu='i386' target_os='gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define D2XMAJOR 0 #define D2XMICRO 5 #define D2XMINOR 2 #define FAST_FILE_IO #define HAVE_DECL_NANOSLEEP 0 #define PACKAGE "d2x" #define PACKAGE_BUGREPORT "descent-source@warpcore.org" #define PACKAGE_NAME "d2x" #define PACKAGE_STRING "d2x 0.2.5" #define PACKAGE_TARNAME "d2x" #define PACKAGE_VERSION "0.2.5" #define SHAREPATH "/share/games/d2x" #define VERSION "0.2.5" #endif #ifdef __cplusplus #include configure: exit 255