[PATCH spice-gtk 4/4] build-sys: remove xrandr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not needed anymore (probably since gnome-rr was removed in 30986505b)

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
 configure.ac    | 5 -----
 src/Makefile.am | 3 ---
 2 files changed, 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5790a37..2e23c90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,11 +207,6 @@ AM_CONDITIONAL([WITH_DISPLAY_WINDOWS], [test "x$have_win32" = "xyes"])
 
 if [test "x$have_x11" = "xyes" ]
 then
-  PKG_CHECK_MODULES(XRANDR, x11 xrandr, [have_xrandr=yes], [have_xrandr=no])
-  AC_SUBST(XRANDR_CFLAGS)
-  AC_SUBST(XRANDR_LIBS)
-  AS_IF([test "x$have_xrandr" = "xyes"], [AC_DEFINE([HAVE_RANDR], 1, [Have xrandr?])])
-
   AC_CHECK_HEADERS([X11/XKBlib.h])
 fi
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 0c40c48..310fbbe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -122,7 +122,6 @@ SPICE_GTK_LIBADD_COMMON =		\
 	libspice-client-glib-2.0.la	\
 	$(GTK_LIBS)			\
 	$(CAIRO_LIBS)			\
-	$(XRANDR_LIBS)			\
 	$(LIBM)				\
 	$(NULL)
 
@@ -392,7 +391,6 @@ spicy_SOURCES =					\
 spicy_LDADD =						\
 	libspice-client-gtk-$(SPICE_GTK_API_VERSION).la	\
 	libspice-client-glib-2.0.la			\
-	$(XRANDR_LIBS)					\
 	$(GTHREAD_LIBS)					\
 	$(GTK_LIBS)					\
 	$(LIBM)						\
@@ -400,7 +398,6 @@ spicy_LDADD =						\
 
 spicy_CPPFLAGS =			\
 	$(AM_CPPFLAGS)			\
-	$(XRANDR_CFLAGS)		\
 	$(GTHREAD_CFLAGS)		\
 	-DSPICE_DISABLE_DEPRECATED	\
 	$(NULL)
-- 
2.5.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]