xf86-video-intel: configure.ac Makefile.am tools/Makefile.am

Chris Wilson ickle at kemper.freedesktop.org
Sat Aug 31 08:20:44 PDT 2013


 Makefile.am       |    6 +++++-
 configure.ac      |    8 ++++++++
 tools/Makefile.am |    6 +++---
 3 files changed, 16 insertions(+), 4 deletions(-)

New commits:
commit ead32f4a1498c2f7b7c74856e97f9e602ed7a274
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 31 16:13:14 2013 +0100

    configure; Remember to disable building the tools
    
    If we find that the headers for the tools are not available on the
    system, simply disable building them as they are not essential features
    of the driver.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/Makefile.am b/Makefile.am
index 6bb4854..71c7698 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,11 @@
 
 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
 
-SUBDIRS = man xvmc src tools
+SUBDIRS = man xvmc src
+
+if BUILD_TOOLS
+SUBDIRS += tools
+endif
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
diff --git a/configure.ac b/configure.ac
index d0d1a5e..d005052 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,6 +167,7 @@ PKG_CHECK_MODULES(X11, [x11 xrender xext pixman-1], [x11=yes], [x11=no])
 AM_CONDITIONAL(HAVE_X11, test x$x11 = xyes)
 
 PKG_CHECK_MODULES(TOOL, [xrandr xdamage xfixes xcursor xtst xext x11], [tools=yes], [tools=no])
+AM_CONDITIONAL(BUILD_TOOLS, test x$tools = xyes)
 
 AH_TOP([#include "xorg-server.h"])
 
@@ -607,12 +608,19 @@ if test "x$dri_msg" = x; then
 	dri_msg=" none"
 fi
 
+if test "x$tools" = xyes; then
+	tools_msg=" intel-virtual-output"
+else
+	tools_msg=" none"
+fi
+
 echo ""
 echo "AC_PACKAGE_STRING will be compiled with:"
 echo "  Acceleration backends:$accel_msg"
 echo "  Additional debugging support?$debug_msg"
 echo "  Support for Direct Rendering Infrastructure:$dri_msg"
 echo "  Support for Xv motion compensation (XvMC and libXvMC):$xvmc_msg"
+echo "  Build additional tools and utilities?$tools_msg"
 if test -n "$xp_msg"; then
 echo "  Experimental support:$xp_msg"
 fi
diff --git a/tools/Makefile.am b/tools/Makefile.am
index ff9f067..de7e9b4 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -24,7 +24,10 @@ AM_CFLAGS = \
 	@NOWARNFLAGS@ \
 	$(NULL)
 
+drivermandir = $(DRIVER_MAN_DIR)
+
 bin_PROGRAMS = intel-virtual-output
+driverman_DATA = intel-virtual-output.$(DRIVER_MAN_SUFFIX)
 
 intel_virtual_output_SOURCES = \
 	virtual.c \
@@ -32,9 +35,6 @@ intel_virtual_output_SOURCES = \
 
 intel_virtual_output_LDADD = @TOOL_LIBS@
 
-drivermandir = $(DRIVER_MAN_DIR)
-driverman_DATA = intel-virtual-output.$(DRIVER_MAN_SUFFIX)
-
 EXTRA_DIST = intel-virtual-output.man
 CLEANFILES = $(driverman_DATA)
 


More information about the xorg-commit mailing list