projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8330f7a
)
gl/build: fix configure when --enable-cocoa is passed on OS X
author
Matthew Waters
<matthew@centricular.com>
Fri, 8 Jul 2016 09:03:06 +0000
(19:03 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Mon, 11 Jul 2016 01:29:07 +0000
(11:29 +1000)
https://bugzilla.gnome.org/show_bug.cgi?id=768553
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
573d3bd
..
4ca9aaa
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-789,6
+789,17
@@
case $host in
CFLAGS=$old_CFLAGS
PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 9.0, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no)
+
+ # OS X and iOS always have GL available
+ case $host in
+ *-darwin*)
+ if test "x$HAVE_IOS" = "xyes"; then
+ HAVE_GLES2=yes
+ else
+ HAVE_GL=yes
+ fi
+ ;;
+ esac
;;
esac