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 - Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES"
Summary: Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES"
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.8
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-31 20:49 UTC by Sergey Zhuravlevich
Modified: 2018-09-06 15:33 UTC (History)
2 users (show)

See Also:


Attachments
Append EGL CFLAGS before AC_TRY_COMPILE in "Find OpenGL ES" (1.65 KB, patch)
2018-08-31 20:49 UTC, Sergey Zhuravlevich
Details | Diff
alternative EGL_FLAGS patch (4.53 KB, patch)
2018-09-06 15:33 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?