From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: Autotools: remove checking for the '_next' member of 'FILE' X-Git-Tag: 7.0.3~6^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=187c2507b9c9a3d498ee40d5f2f8d8270b82d541;p=graphviz Autotools: remove checking for the '_next' member of 'FILE' The last use of the result variable of this check, `HAVE_FILE_NEXT`, was removed in b2f287ca315dd5bf689d9ce2ca71dbfe63fb8a61. --- diff --git a/configure.ac b/configure.ac index 623e0f824..202e57d19 100644 --- a/configure.ac +++ b/configure.ac @@ -2427,18 +2427,6 @@ AM_CONDITIONAL(WITH_IPSEPCOLA, [test "x$use_ipsepcola" = "xYes"]) # ----------------------------------- -AC_MSG_CHECKING(if FILE struct contains _next) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - ]], [[FILE *f; - int i; - i=f->_next; - ]])],[AC_MSG_RESULT(yes) - AC_DEFINE_UNQUOTED(HAVE_FILE_NEXT,1,Define if FILE structure provides _next) - ],[AC_MSG_RESULT(no) - ]) - -# ----------------------------------- - AC_MSG_CHECKING(if FILE struct contains _IO_read_end) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[FILE *f; diff --git a/windows/include/config.h b/windows/include/config.h index cd3344680..05baa7c54 100644 --- a/windows/include/config.h +++ b/windows/include/config.h @@ -54,9 +54,6 @@ /* Define if FILE structure provides _IO_read_end */ /* #undef HAVE_FILE_IO_READ_END */ -/* Define if FILE structure provides _next */ -/* #undef HAVE_FILE_NEXT */ - /* Define if you have the fontconfig library */ #define HAVE_FONTCONFIG 1