]> granicus.if.org Git - graphviz/commitdiff
Autotools: remove checking for the '_IO_read_end' 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_IO_READ_END`, was
removed in b2f287ca315dd5bf689d9ce2ca71dbfe63fb8a61.

configure.ac
windows/include/config.h

index 202e57d198ddd2d32302a677db29d969312bbb49..03812b4054ad43bf96872eb0f5d2794f31ea390b 100644 (file)
@@ -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 <stdio.h>
-       ]], [[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
index 05baa7c54c99a6b276342c633f7ac4aa981a6db6..083b3ac4f1456af7d4eae67e60d1dc0019849b94 100644 (file)
@@ -51,9 +51,6 @@
 /* Define to 1 if you have the <expat.h> 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