syslog-ng: Bump version to 3.7.3
[buildroot-gz.git] / package / libepoxy / 0002-add-an-option-to-disable-glx-support.patch
bloba81547de1caf2c4b43424d7136a53a4930c72a2f
1 From a9efde0fb2678cd26bdf26d256732d97ded0c595 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3 Date: Wed, 6 May 2015 11:05:48 +0200
4 Subject: [PATCH 2/4] add an option to disable glx support
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 this option would help us in yocto to get deterministic build results
11 Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12 Fetched from pull #81 on github for libepoxy:
13 https://github.com/anholt/libepoxy/pull/81/commits
14 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
15 ---
16 configure.ac | 9 ++++++++-
17 1 file changed, 8 insertions(+), 1 deletion(-)
19 diff --git a/configure.ac b/configure.ac
20 index 225ab73..d3d947c 100644
21 --- a/configure.ac
22 +++ b/configure.ac
23 @@ -58,7 +58,14 @@ AC_CHECK_HEADER([KHR/khrplatform.h],
24 # uintptr_t to a void *") by default. Kill that.
25 XORG_TESTSET_CFLAG(CWARNFLAGS, [-Wno-int-conversion])
27 -PKG_CHECK_MODULES(X11, [x11], [x11=yes], [x11=no])
28 +AC_ARG_ENABLE([glx],
29 + [AS_HELP_STRING([--disable-glx],
30 + [disable if you don't want x11/glx support])],
31 + [],
32 + [enable_glx=yes]
33 + )
35 +PKG_CHECK_MODULES(X11, [x11], [x11=$enable_glx], [x11=no])
37 AM_CONDITIONAL(HAVE_X11, test x$x11 = xyes)