This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:563: checking for a BSD compatible install configure:616: checking whether build environment is sane configure:673: checking whether make sets ${MAKE} configure:720: checking for working aclocal configure:733: checking for working autoconf configure:746: checking for working automake configure:759: checking for working autoheader configure:772: checking for working makeinfo configure:793: checking host system type configure:814: checking target system type configure:838: checking for c++ configure:870: checking whether the C++ compiler (c++ -fno-common ) works configure:886: c++ -o conftest -fno-common conftest.C 1>&5 configure:912: checking whether the C++ compiler (c++ -fno-common ) is a cross-compiler configure:917: checking whether we are using GNU C++ configure:926: c++ -E conftest.C configure:945: checking whether c++ accepts -g configure:979: checking for working const configure:1033: cc -c -fno-common conftest.c 1>&5 configure:1097: checking for sdl-config configure:1132: checking for SDL - version >= 1.0.7 configure:1217: 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 1156 "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.7"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.0.7"); 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:1261: 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:1256: error: number of arguments doesn't match prototype /include/SDL/SDL_main.h:53: error: prototype declaration configure: failed program was: #line 1251 "configure" #include "confdefs.h" #include #include "SDL.h" int main() { return 0; ; return 0; }