summaryrefslogtreecommitdiff
path: root/modules/fopen-gnu
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fopen-gnu')
-rw-r--r--modules/fopen-gnu9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/fopen-gnu b/modules/fopen-gnu
index 9252c749b3..86635a140b 100644
--- a/modules/fopen-gnu
+++ b/modules/fopen-gnu
@@ -6,11 +6,16 @@ lib/fopen.c
Depends-on:
fopen
-open [test $REPLACE_FOPEN = 1]
+open [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
+fcntl-h [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
+stdbool [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
+unistd [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
+close [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
+fstat [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
configure.ac:
gl_FUNC_FOPEN_GNU
-if test $REPLACE_FOPEN = 1; then
+if test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1; then
AC_LIBOBJ([fopen])
gl_PREREQ_FOPEN
fi