We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4243

Summary: Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES"
Product: SDL Reporter: Sergey Zhuravlevich <zhurxx>
Component: buildAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz, zhurxx
Version: 2.0.8   
Hardware: x86_64   
OS: Linux   
Attachments: Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES"
alternative EGL_FLAGS patch

Description Sergey Zhuravlevich 2018-08-31 20:49:12 UTC
Created attachment 3291 [details]
Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES"

Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES" section of configure.in. On some configurations the compiler check might fail without include paths from these CFLAGS.
Comment 1 Ozkan Sezer 2018-09-06 15:33:10 UTC
Created attachment 3298 [details]
alternative EGL_FLAGS patch

PKG_CONFIG stuff is still handled without use of pkg.m4 in SDL configury
so I cooked the attached alternative quick patch: does it work correctly
for you?