From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: Autotools: remove checking for the '_IO_read_end' member of 'FILE' X-Git-Tag: 7.0.3~6^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72b3f3040dbaa0cb6687f28d4f18900384a61489;p=graphviz Autotools: remove checking for the '_IO_read_end' member of 'FILE' The last use of the result variable of this check, `HAVE_FILE_IO_READ_END`, was removed in b2f287ca315dd5bf689d9ce2ca71dbfe63fb8a61. --- diff --git a/configure.ac b/configure.ac index 202e57d19..03812b405 100644 --- a/configure.ac +++ b/configure.ac @@ -2425,18 +2425,6 @@ else fi AM_CONDITIONAL(WITH_IPSEPCOLA, [test "x$use_ipsepcola" = "xYes"]) -# ----------------------------------- - -AC_MSG_CHECKING(if FILE struct contains _IO_read_end) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - ]], [[FILE *f; - int i; - i=f->_IO_read_end; - ]])],[AC_MSG_RESULT(yes) - AC_DEFINE_UNQUOTED(HAVE_FILE_IO_READ_END,1,Define if FILE structure provides _IO_read_end) - ],[AC_MSG_RESULT(no) - ]) - # ----------------------------------------------------------------------- # This is a historical artifact ... there are no other choices these days diff --git a/windows/include/config.h b/windows/include/config.h index 05baa7c54..083b3ac4f 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 _IO_read_end */ -/* #undef HAVE_FILE_IO_READ_END */ - /* Define if you have the fontconfig library */ #define HAVE_FONTCONFIG 1