summaryrefslogtreecommitdiff
path: root/m4/fclose.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fclose.m4')
-rw-r--r--m4/fclose.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/fclose.m4 b/m4/fclose.m4
index dc021dd9f3..74b7df0a77 100644
--- a/m4/fclose.m4
+++ b/m4/fclose.m4
@@ -31,6 +31,10 @@ AC_DEFUN([gl_FUNC_FCLOSE],
*) REPLACE_FCLOSE=1 ;;
esac
fi
+
+ if test $REPLACE_FCLOSE = 1; then
+ REPLACE_FOPEN=1
+ fi
])
dnl Determine whether fclose works on input streams.