Commit Graph

6 Commits

Author SHA1 Message Date
Ozkan Sezer
ebfc98377b ac_check_define.m4: remove stray AC_DEFINE outside of the macro definition
cf.: bug #5234 -- generated configure script does not change.
2020-09-16 22:20:02 +03:00
Ozkan Sezer
3544bd9e78 ac_check_define.m4: AC_REQUIRE([AC_PROG_CPP]) -- fixes bug #5234. 2020-09-16 08:00:20 +03:00
Sam Lantinga
40e3c015f1 Added missing PKG_CONFIG macros 2019-03-16 17:39:15 -07:00
Ozkan Sezer
5a34f1e3ee acinclude: rename ax_gcc_x86_cpuid.m4.htm to ax_gcc_x86_cpuid.m4 2018-09-15 09:24:04 +03:00
Sam Lantinga
37d991d7d6 Fixed bug 3481 - Configure fails to detect dynamic library support on powerpc64le
Sam

I've discovered that when building on powerpc64le (and probably powerpc64) SDL's configure script fails to detect dynamic library support, causing it to build a static library. This causes link failures due to undefined symbols later when packages link with -lSDL.

This seems to be because the included autotools package is too old to detect powerpc64le. This change corrects the problem for me but newer versions of autotools should handle it without a patch
2016-11-06 20:26:48 -08:00
Philipp Wiesemann
0e45984fa0 Fixed crash if initialization of EGL failed but was tried again later.
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00