From: Arnaud Rebillout <arnaudr@kali.org>
Date: Thu, 19 Dec 2024 16:51:58 +0700
Subject: Build without bundled neon

---
 Makefile.in  | 2 +-
 autogen.sh   | 2 +-
 configure.ac | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 88fb42c..284cdd4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,7 +37,7 @@ LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@ @NEON_LIBS@ @LIBICONV@
 
 TARGET = $(PACKAGE)
-SUBDIRS = neon/src
+SUBDIRS =
 OBJECTS = src/cadaver.o src/common.o src/commands.o src/ls.o	\
 	 src/cmdline.o src/options.o src/utils.o src/edit.o \
 	src/version.o src/search.o 
diff --git a/autogen.sh b/autogen.sh
index da9ce8c..aeef205 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -ex
 rm -rf config.cache autom4te*.cache aclocal.m4
-${ACLOCAL:-aclocal} -I m4 -I neon/macros
+${ACLOCAL:-aclocal} -I m4
 ${AUTOHEADER:-autoheader}
 ${AUTOCONF:-autoconf}
 ${LIBTOOLIZE:-libtoolize} --copy --force >/dev/null
diff --git a/configure.ac b/configure.ac
index c321b47..bdb5851 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_INIT([cadaver],[0.26],,,[https://github.com/notroj/cadaver])
 
 AC_CONFIG_SRCDIR(src/cadaver.c)
 AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_MACRO_DIRS([m4 neon/macros])
+AC_CONFIG_MACRO_DIRS([m4])
 
 AC_USE_SYSTEM_EXTENSIONS
 
@@ -108,7 +108,7 @@ NEON_WARNINGS
 # Pick up config.h etc; and before any other paths.
 CPPFLAGS="-I\$(top_builddir) -I\$(top_srcdir)/lib $CPPFLAGS"
 
-AC_CONFIG_FILES([Makefile po/Makefile.in neon/src/Makefile])
+AC_CONFIG_FILES([Makefile po/Makefile.in])
 
 AC_OUTPUT
 
