From 65520efa7ed1792a58615caf7da6d424e8662f17 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Wed, 13 Mar 2013 16:57:33 +0100 Subject: [PATCH] Drop evtest-capture references in autotools evtest-capture has been dropped, but the references are still there in Makefile.am and configure.ac. In a system having libxml, the make command returns without being able to compile evtest-capture.o Signed-off-by: Benjamin Tissoires Signed-off-by: Peter Hutterer --- Makefile.am | 10 ---------- configure.ac | 9 --------- 2 files changed, 19 deletions(-) diff --git a/Makefile.am b/Makefile.am index c78d17d..7299c27 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,16 +2,6 @@ bin_PROGRAMS = evtest man_pages_src = evtest.txt -if HAVE_LIBXML -bin_PROGRAMS += evtest-capture -AM_CFLAGS = $(XML_CFLAGS) - -evtest_capture_LDADD = $(XML_LIBS) -man_pages_src += evtest-capture.txt -evtest_capturedir = $(datadir)/evtest -dist_evtest_capture_DATA = evtest-create-device.xsl -endif - EXTRA_DIST = INSTALL # man page generation. diff --git a/configure.ac b/configure.ac index e973733..36a1901 100644 --- a/configure.ac +++ b/configure.ac @@ -7,15 +7,6 @@ AC_PROG_CC AC_PROG_INSTALL PKG_PROG_PKG_CONFIG -AC_ARG_ENABLE([xml], [AS_HELP_STRING([--disable-xml], [Disable support for xml (evtest-capture)])]) -AS_IF([test "x$enable_xml" != "xno"], [ - PKG_CHECK_MODULES(XML, libxml-2.0, [HAVE_LIBXML=yes], [HAVE_LIBXML=no]) - AS_IF([test "x$enable_xml$HAVE_LIBXML" = "xyesno"], [ - AC_MSG_ERROR([libxml headers not available. Cannot build evtest-capture.]) - ]) -]) -AM_CONDITIONAL(HAVE_LIBXML, [test "x$HAVE_LIBXML" = "xyes"]) - AC_PATH_PROG(XSLTPROC, [xsltproc]) AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"]) if test "x$XSLTPROC" = "x"; then