]> granicus.if.org Git - graphviz/commitdiff
Autotools: remove checking for the '_next' member of 'FILE'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Sep 2022 00:27:49 +0000 (17:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Nov 2022 15:00:59 +0000 (07:00 -0800)
The last use of the result variable of this check, `HAVE_FILE_NEXT`, was removed
in b2f287ca315dd5bf689d9ce2ca71dbfe63fb8a61.

configure.ac
windows/include/config.h

index 623e0f824220d95eac9e5e4d3d146665fe4cc8f0..202e57d198ddd2d32302a677db29d969312bbb49 100644 (file)
@@ -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 <stdio.h>
-       ]], [[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 <stdio.h>
        ]], [[FILE *f;
index cd3344680164625278a02cfeceb3cbd7be160870..05baa7c54c99a6b276342c633f7ac4aa981a6db6 100644 (file)
@@ -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