[clutter/wip/stereo: 1/2] build: Don't explicitly check for libGL
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/stereo: 1/2] build: Don't explicitly check for libGL
- Date: Wed, 7 Dec 2011 00:02:23 +0000 (UTC)
commit 4761c8229d02a180f416068ccdf910d3713084c6
Author: Robert Bragg <robert linux intel com>
Date: Thu Aug 4 16:48:35 2011 +0100
build: Don't explicitly check for libGL
Since libGL is abstracted by Cogl Clutter no longer needs to be
explicitly checking for the gl pkg-config flags and directly lining with
libGL.
configure.ac | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 46398df..07f6d80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,20 +265,6 @@ AS_IF([test "x$enable_x11" = "xyes"],
SUPPORT_GLX=1
SUPPORT_COGL=1
- # Mesa 7.3 added a GL pkg-config file, finally, but if a pkg-config
- # file isn't found just add -lGL and hope for the best.
- PKG_CHECK_EXISTS([gl],
- [BACKEND_PC_FILES="$BACKEND_PC_FILES gl"],
- [FLAVOUR_LIBS="$FLAVOUR_LIBS -lGL"])
-
- # We might fall back to DRM for sync-to-vblank on GLX
- PKG_CHECK_EXISTS([libdrm],
- [
- AC_DEFINE([HAVE_DRM], [1], [Have libdrm support])
- BACKEND_PC_FILES="$BACKEND_PC_FILES libdrm"
- ],
- [])
-
# we use fontconfig API and pango-fc when the fontconfig
# configuration changes
PKG_CHECK_EXISTS([pangoft2],
@@ -300,7 +286,6 @@ AS_IF([test "x$enable_gdk" = "xyes"],
SUPPORT_COGL=1
BACKEND_PC_FILES="$BACKEND_PC_FILES gdk-3.0"
- PKG_CHECK_EXISTS([gl], [BACKEND_PC_FILES="$BACKEND_PC_FILES gl"], [])
])
AS_IF([test "x$enable_wayland" = "xyes"],
@@ -312,8 +297,6 @@ AS_IF([test "x$enable_wayland" = "xyes"],
SUPPORT_WAYLAND=1
SUPPORT_EVDEV=1
- PKG_CHECK_EXISTS([gl], [BACKEND_PC_FILES="$BACKEND_PC_FILES gl"], [])
- PKG_CHECK_EXISTS([egl], [BACKEND_PC_FILES="$BACKEND_PC_FILES egl"], [])
PKG_CHECK_EXISTS([wayland-client xkbcommon],
[BACKEND_PC_FILES="$BACKEND_PC_FILES wayland-client xkbcommon"],
[])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]