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 <benjamin.tissoires@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
228fcb5c9d
commit
65520efa7e
10
Makefile.am
10
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue