From fa2f092709a6a2d91213cb3410fc5b5109d84646 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 30 Jul 2018 17:15:35 +0200 Subject: build: use standard PKG_CHECK_MODULES for libxml2 availability In case the development parts of libxml2 are not installed, it was required to re-run ./autogen.sh to cleanup the cached values for the check. This is not nice towards users. By using the standard PKG_CHECK_MODULES for libxml-2.0 the results of the check are not cached and will be probed again when running ./configure. Change-Id: I3c4586e5555a521be5d4fb61bdb873ae0317311a Fixes: bz#1599219 Reported-by: Sachidananda Urs Signed-off-by: Niels de Vos --- cli/src/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cli/src') diff --git a/cli/src/Makefile.am b/cli/src/Makefile.am index c6323e591de..6be070f6ff7 100644 --- a/cli/src/Makefile.am +++ b/cli/src/Makefile.am @@ -21,10 +21,9 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \ -DDATADIR=\"$(localstatedir)\" \ -DCONFDIR=\"$(sysconfdir)/glusterfs\" \ -DGSYNCD_PREFIX=\"$(GLUSTERFS_LIBEXECDIR)\"\ - -DSYNCDAEMON_COMPILE=$(SYNCDAEMON_COMPILE) -DSBIN_DIR=\"$(sbindir)\"\ - $(XML_CPPFLAGS) + -DSYNCDAEMON_COMPILE=$(SYNCDAEMON_COMPILE) -DSBIN_DIR=\"$(sbindir)\" -AM_CFLAGS = -Wall $(GF_CFLAGS) +AM_CFLAGS = -Wall $(GF_CFLAGS) $(XML_CFLAGS) CLEANFILES = -- cgit