This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:577: checking for a BSD compatible install configure:630: checking whether build environment is sane configure:687: checking whether make sets ${MAKE} configure:733: checking for working aclocal-1.4 configure:746: checking for working autoconf configure:759: checking for working automake-1.4 configure:772: checking for working autoheader configure:785: checking for working makeinfo configure:809: checking host system type configure:837: checking for gcc configure:950: checking whether the C compiler (cc -fno-common ) works configure:966: cc -o conftest -fno-common conftest.c 1>&5 configure:992: checking whether the C compiler (cc -fno-common ) is a cross-compiler configure:997: checking whether we are using GNU C configure:1025: checking whether cc accepts -g configure:1066: checking for c++ configure:1098: checking whether the C++ compiler (c++ -fno-common ) works configure:1114: c++ -o conftest -fno-common conftest.C 1>&5 configure:1140: checking whether the C++ compiler (c++ -fno-common ) is a cross-compiler configure:1145: checking whether we are using GNU C++ configure:1173: checking whether c++ accepts -g configure:1208: checking for ranlib configure:1238: checking whether make sets ${MAKE} configure:1266: checking how to run the C preprocessor configure:1346: checking for ANSI C header files configure:1453: checking for sys/time.h configure:1453: checking for unistd.h configure:1491: checking for working const configure:1566: checking whether time.h and sys/time.h may both be included configure:1604: checking for getcwd configure:1604: checking for gettimeofday configure:1604: checking for strdup configure:1660: checking for finite configure:1660: checking for isnan configure:1715: checking for _finite configure:1715: checking for _isnan configure:1771: checking for ieeefp.h configure:1842: checking for Win32 platform configure:1865: checking for Mac OSX platform configure:1897: checking for X configure:2211: checking for dnet_ntoa in -ldnet configure:2252: checking for dnet_ntoa in -ldnet_stub configure:2300: checking for gethostbyname configure:2398: checking for connect configure:2490: checking for remove configure:2582: checking for shmat configure:2683: checking for IceConnectionNumber in -lICE configure:2732: checking for main in -ldl configure:2768: checking for main in -lm configure:2855: checking for sdl-config configure:2890: checking for SDL - version >= 1.0.1 configure:2975: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/lib -lSDL -pthread 1>&5 cc: unrecognized option `-pthread' ld: can't locate file for: -lSDL configure: failed program was: #line 2914 "configure" #include "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.0.1"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.0.1"); 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:3019: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/lib -lSDL -pthread 1>&5 cc: unrecognized option `-pthread' configure: In function `SDL_main': configure:3014: error: number of arguments doesn't match prototype /include/SDL/SDL_main.h:53: error: prototype declaration configure: failed program was: #line 3009 "configure" #include "confdefs.h" #include #include "SDL.h" int main() { return 0; ; return 0; }