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

configure.ac
windows/include/config.h

index fe48b50bc3b3db3d547903b5abb001ab11586f0f..b529178298d184ec70238e9b55756372db903af6 100644 (file)
@@ -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 <stdio.h>
-       ]], [[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)
index 98c1bc14e5b2466ea9feede9bfa48823ce1a3c20..676dc723fd636f6a0bd01259463c118ef28c444f 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 _cnt */
-#define HAVE_FILE_CNT 0
-
 /* Define if FILE structure provides _IO_read_end */
 /* #undef HAVE_FILE_IO_READ_END */