Blame SOURCES/0003-build-remove-commented-out-macros-from-configure.ac.patch

028103
From 456dcededa381afcba0d29332517bd941cfed6a6 Mon Sep 17 00:00:00 2001
028103
From: Jeremy Sowden <jeremy@azazel.net>
028103
Date: Sat, 25 Sep 2021 16:10:30 +0100
028103
Subject: [PATCH] build: remove commented-out macros from configure.ac
028103
028103
This code has been commented out since at least 2007.
028103
028103
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
028103
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
028103
(cherry picked from commit 3184d9936329dafbc2a24f546224a44f66d975b5)
028103
(cherry picked from commit 9ec53c524d1201e6a9b2feca796ffbe2e5d1b743)
028103
---
028103
 configure.ac | 25 -------------------------
028103
 1 file changed, 25 deletions(-)
028103
028103
diff --git a/configure.ac b/configure.ac
028103
index cb9659f4feeb4..5388054e64a58 100644
028103
--- a/configure.ac
028103
+++ b/configure.ac
028103
@@ -75,37 +75,12 @@ AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$enable_systemd" = "xyes"])
028103
 
028103
 AC_CHECK_HEADERS([linux/capability.h],, [AC_MSG_ERROR([Cannot find linux/capabibility.h])])
028103
 
028103
-# Checks for libraries.
028103
-# FIXME: Replace `main' with a function in `-lc':
028103
-dnl AC_CHECK_LIB([c], [main])
028103
-# FIXME: Replace `main' with a function in `-ldl':
028103
-
028103
 AC_CHECK_HEADERS(arpa/inet.h)
028103
-dnl check for inet_pton
028103
 AC_CHECK_FUNCS(inet_pton)
028103
 
028103
-# Checks for header files.
028103
-dnl AC_HEADER_STDC
028103
-dnl AC_CHECK_HEADERS([netinet/in.h stdlib.h])
028103
-
028103
-# Checks for typedefs, structures, and compiler characteristics.
028103
-dnl AC_C_CONST
028103
-dnl AC_C_INLINE
028103
-
028103
 # Let nfct use dlopen() on helper libraries without resolving all symbols.
028103
 AX_CHECK_LINK_FLAG([-Wl,-z,lazy], [AC_SUBST([LAZY_LDFLAGS], [-Wl,-z,lazy])])
028103
 
028103
-# Checks for library functions.
028103
-dnl AC_FUNC_MALLOC
028103
-dnl AC_FUNC_VPRINTF
028103
-dnl AC_CHECK_FUNCS([memset])
028103
-
028103
-dnl AC_CONFIG_FILES([Makefile
028103
-dnl                  debug/Makefile
028103
-dnl                  debug/src/Makefile
028103
-dnl                  extensions/Makefile
028103
-dnl                  src/Makefile])
028103
-
028103
 if test ! -z "$libdir"; then
028103
 	MODULE_DIR="\\\"$libdir/conntrack-tools/\\\""
028103
 	CFLAGS="$CFLAGS -DCONNTRACKD_LIB_DIR=$MODULE_DIR"
028103
-- 
028103
2.34.1
028103