This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:566: checking for a BSD compatible install configure:619: checking whether build environment is sane configure:676: checking whether make sets ${MAKE} configure:722: checking for working aclocal configure:735: checking for working autoconf configure:748: checking for working automake configure:761: checking for working autoheader configure:774: checking for working makeinfo configure:795: checking host system type configure:816: checking target system type configure:843: checking whether make sets ${MAKE} configure:872: checking for gcc configure:985: checking whether the C compiler (cc -fno-common ) works configure:1001: cc -o conftest -fno-common conftest.c 1>&5 configure:1027: checking whether the C compiler (cc -fno-common ) is a cross-compiler configure:1032: checking whether we are using GNU C configure:1041: cc -E conftest.c configure:1060: checking whether cc accepts -g configure:1103: checking for a BSD compatible install configure:1199: checking for sdl-config configure:1234: checking for SDL - version >= 1.0.8 configure:1319: 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 1258 "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.8"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.0.8"); 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:1363: 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:1358: error: number of arguments doesn't match prototype /include/SDL/SDL_main.h:53: error: prototype declaration configure: failed program was: #line 1353 "configure" #include "confdefs.h" #include #include "SDL.h" int main() { return 0; ; return 0; }