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

configure.ac
windows/include/config.h

index b529178298d184ec70238e9b55756372db903af6..623e0f824220d95eac9e5e4d3d146665fe4cc8f0 100644 (file)
@@ -2427,18 +2427,6 @@ AM_CONDITIONAL(WITH_IPSEPCOLA, [test "x$use_ipsepcola" = "xYes"])
 
 # -----------------------------------
 
-AC_MSG_CHECKING(if FILE struct contains _r)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
-       ]], [[FILE *f;
-       int i;
-       i=f->_r;
-       ]])],[AC_MSG_RESULT(yes)
-       AC_DEFINE_UNQUOTED(HAVE_FILE_R,1,Define if FILE structure provides _r)
-       ],[AC_MSG_RESULT(no)
-       ])
-
-# -----------------------------------
-
 AC_MSG_CHECKING(if FILE struct contains _next)
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
        ]], [[FILE *f;
index 676dc723fd636f6a0bd01259463c118ef28c444f..cd3344680164625278a02cfeceb3cbd7be160870 100644 (file)
@@ -57,9 +57,6 @@
 /* Define if FILE structure provides _next */
 /* #undef HAVE_FILE_NEXT */
 
-/* Define if FILE structure provides _r */
-/* #undef HAVE_FILE_R */
-
 /* Define if you have the fontconfig library */
 #define HAVE_FONTCONFIG 1