summaryrefslogtreecommitdiffstats
path: root/gl/m4/fopen.m4
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-08-23 15:13:04 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-08-23 15:13:04 (GMT)
commitbbdcf5a704517d35a76ba8b666075da9ffe39ac4 (patch)
treea36bec4f7c2802dfe5efc5cb2dfc902fec2a23b8 /gl/m4/fopen.m4
parentfa1ac7ecb247faf58fe65740c0d40e0585f684c9 (diff)
downloadmonitoring-plugins-bbdcf5a.tar.gz
Sync with the latest Gnulib code (fa1ac7ec)
Diffstat (limited to 'gl/m4/fopen.m4')
-rw-r--r--gl/m4/fopen.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/gl/m4/fopen.m4 b/gl/m4/fopen.m4
index 4ed7dce..50767f8 100644
--- a/gl/m4/fopen.m4
+++ b/gl/m4/fopen.m4
@@ -1,5 +1,5 @@
1# fopen.m4 serial 12 1# fopen.m4 serial 13
2dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. 2dnl Copyright (C) 2007-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -136,11 +136,12 @@ int main ()
136 ]) 136 ])
137 rm -f conftest.x 137 rm -f conftest.x
138 ]) 138 ])
139 REPLACE_FOPEN_FOR_FOPEN_GNU="$REPLACE_FOPEN"
139 case "$gl_cv_func_fopen_mode_x" in 140 case "$gl_cv_func_fopen_mode_x" in
140 *no) REPLACE_FOPEN=1 ;; 141 *no) REPLACE_FOPEN_FOR_FOPEN_GNU=1 ;;
141 esac 142 esac
142 case "$gl_cv_func_fopen_mode_e" in 143 case "$gl_cv_func_fopen_mode_e" in
143 *no) REPLACE_FOPEN=1 ;; 144 *no) REPLACE_FOPEN_FOR_FOPEN_GNU=1 ;;
144 esac 145 esac
145]) 146])
146 147