Displaying 2 results from an estimated 2 matches for "found_glamor_header".
2014 Jun 21
1
[PATCH 1/2] glamor: fix build without glamor.h
...onfigure.ac
+++ b/configure.ac
@@ -128,7 +128,13 @@ XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
AC_MSG_CHECKING([whether to include GLAMOR support])
-if pkg-config --exists "xorg-server >= 1.15.99.901"
+
+AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
+[[
+ #include <glamor.h>
+]],[[]]),[found_glamor_header=yes],[found_glamor_header=no])
+
+if test "$found_glamor_header" = "yes" && pkg-config --exists "xorg-server >= 1.15.99.901"
then
AC_DEFINE(HAVE_GLAMOR, 1, [Build support for glamor acceleration])
AC_MSG_RESULT([yes])
--
2.0.0
2014 Oct 23
0
[PATCH] Make building of glamor optional
..., 21 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index ccf320a..56b08ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,17 +140,29 @@ if test "x$have_list_h" = xyes; then
#include "list.h"])
fi
-AC_CHECK_HEADERS([glamor.h],[found_glamor_header=yes],[found_glamor_header=no],
- [#include "xorg-server.h"])
-AC_MSG_CHECKING([whether to include GLAMOR support])
-if test "x$found_glamor_header" = xyes && pkg-config --exists "xorg-server >= 1.15.99.901"
-then
- AC_DEFINE(HAVE_GLAMOR, 1, [Build support...