This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:565: checking for a BSD compatible install configure:618: checking whether build environment is sane configure:675: checking whether make sets ${MAKE} configure:721: checking for working aclocal configure:734: checking for working autoconf configure:747: checking for working automake configure:760: checking for working autoheader configure:773: checking for working makeinfo configure:803: checking host system type configure:836: checking for a BSD compatible install configure:891: checking for gcc configure:1004: checking whether the C compiler (cc -fno-common -L/usr/local/lib) works configure:1020: cc -o conftest -fno-common -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:1046: checking whether the C compiler (cc -fno-common -L/usr/local/lib) is a cross-compiler configure:1051: checking whether we are using GNU C configure:1060: cc -E conftest.c configure:1079: checking whether cc accepts -g configure:1153: checking for sdl-config configure:1188: checking for SDL - version >= 1.1.5 configure:1279: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -L/usr/local/lib conftest.c -L/lib -lSDL -pthread 1>&5 cc: unrecognized option `-pthread' ld: can't locate file for: -lSDL configure: failed program was: #line 1212 "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.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:1326: cc -o conftest -fno-common -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -L/usr/local/lib conftest.c -L/lib -lSDL -pthread 1>&5 cc: unrecognized option `-pthread' configure: In function `SDL_main': configure:1321: error: number of arguments doesn't match prototype /include/SDL/SDL_main.h:53: error: prototype declaration configure: failed program was: #line 1316 "configure" #include "confdefs.h" #include #include "SDL.h" int main() { return 0; ; return 0; }