]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
042a32c04d5bc37d1da32831fa325af5bd58c388
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From deba0da45ec821209a7ed148a4521d562e6512cd Mon Sep 17 00:00:00 2001
2 From: Carlos Rafael Giani <dv@pseudoterminal.org>
3 Date: Wed, 27 Aug 2014 14:47:25 +0200
4 Subject: [PATCH] gl: do not check for GL/GLU/EGL/GLES2 libs if disabled in
5 configuration
6
7 Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=735522]
8
9 Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10 ---
11 configure.ac | 14 ++++++++++----
12 1 file changed, 10 insertions(+), 4 deletions(-)
13
14 diff --git a/configure.ac b/configure.ac
15 index 1a46afb..e85d4ba 100644
16 --- a/configure.ac
17 +++ b/configure.ac
18 @@ -661,10 +661,16 @@ case $host in
19 fi
20 ;;
21 *)
22 - AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
23 - AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
24 - AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
25 - AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h)
26 + if test "x$NEED_GL" != "xno"; then
27 + AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
28 + AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
29 + fi
30 + if test "x$NEED_GLES2" != "xno"; then
31 + AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
32 + fi
33 + if test "x$NEED_EGL" != "xno"; then
34 + AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h)
35 + fi
36
37 old_LIBS=$LIBS
38 old_CFLAGS=$CFLAGS
39 --
40 1.8.3.2
41