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

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