From 7d5d538d355e792616a00d80f6ded0974a4e658b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 14 Aug 2025 08:47:45 +0100 Subject: [PATCH] Remove libxml2 dependency It was added, probably by accident, in commit 733538eeff ("Use pkg-config to detect Augeas and libxml2", 2012), but was not used before and is not needed. Thanks: Eli Schwartz --- Makefile.in | 4 ++-- configure.ac | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4ae5ef5..0427eae 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,11 +26,11 @@ OCAMLDOC = @OCAMLDOC@ INSTALL = @INSTALL@ CC = @CC@ -CFLAGS = @CFLAGS@ @AUGEAS_CFLAGS@ @LIBXML2_CFLAGS@ \ +CFLAGS = @CFLAGS@ @AUGEAS_CFLAGS@ \ -DCAML_NAME_SPACE \ -fPIC -I$(shell ocamlc -where) -Wall -Werror LDFLAGS = @LDFLAGS@ -LIBS = @AUGEAS_LIBS@ @LIBXML2_LIBS@ @LIBS@ +LIBS = @AUGEAS_LIBS@ @LIBS@ OCAMLCFLAGS = -g OCAMLCPACKAGES = diff --git a/configure.ac b/configure.ac index 0aeb9d3..c84d881 100644 --- a/configure.ac +++ b/configure.ac @@ -39,9 +39,6 @@ if test "x$OCAMLFIND" = "x"; then AC_MSG_ERROR([You must have ocaml and findlib installed]) fi -dnl Check for libxml2. -PKG_CHECK_MODULES([LIBXML2], [libxml-2.0]) - dnl Check for Augeas C library. PKG_CHECK_MODULES([AUGEAS], [augeas >= 1.2.0]) -- 1.8.3.1