From a9d8fd4cdf46bc3d4ca97f7fa493f5326dd387a3 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 7 Sep 2022 17:27:49 -0700 Subject: [PATCH] Autotools: remove checking for the '_cnt' member of 'FILE' The last use of the result variable of this check, `HAVE_FILE_CNT`, was removed in b2f287ca315dd5bf689d9ce2ca71dbfe63fb8a61. --- configure.ac | 11 ----------- windows/include/config.h | 3 --- 2 files changed, 14 deletions(-) diff --git a/configure.ac b/configure.ac index fe48b50bc..b52917829 100644 --- a/configure.ac +++ b/configure.ac @@ -2425,17 +2425,6 @@ else fi AM_CONDITIONAL(WITH_IPSEPCOLA, [test "x$use_ipsepcola" = "xYes"]) -# ----------------------------------- -AC_MSG_CHECKING(if FILE struct contains _cnt) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - ]], [[FILE *f; - int i; - i=f->_cnt; - ]])],[AC_MSG_RESULT(yes) - AC_DEFINE_UNQUOTED(HAVE_FILE_CNT,1,Define if FILE structure provides _cnt) - ],[AC_MSG_RESULT(no) - ]) - # ----------------------------------- AC_MSG_CHECKING(if FILE struct contains _r) diff --git a/windows/include/config.h b/windows/include/config.h index 98c1bc14e..676dc723f 100644 --- a/windows/include/config.h +++ b/windows/include/config.h @@ -51,9 +51,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_EXPAT_H 1 -/* Define if FILE structure provides _cnt */ -#define HAVE_FILE_CNT 0 - /* Define if FILE structure provides _IO_read_end */ /* #undef HAVE_FILE_IO_READ_END */ -- 2.50.1