diff options
author | Bruno Haible <bruno@clisp.org> | 2020-10-11 15:24:52 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-10-11 15:24:52 +0200 |
commit | 075ded5020ef1dddd60a4e5c6d4a369fecefceb2 (patch) | |
tree | 4cdb2599db503e18bd17ee8a698a54a56966936c /m4/freading.m4 | |
parent | fd76df5d12d6710fc94a78b91cc554b64f077c70 (diff) | |
download | gnulib-075ded5020ef1dddd60a4e5c6d4a369fecefceb2.tar.gz |
stdioext: Avoid compilation errors on UnixWare 7.
Reported by Tim Rice <tim@multitalents.net> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-09/msg00127.html>.
* lib/fbufmode.c: Don't include <stdio_ext.h> if it does not exist.
* lib/fpurge.c: Likewise.
* lib/freadable.h: Likewise.
* lib/freading.h: Likewise.
* lib/fwritable.h: Likewise.
* lib/fwriting.h: Likewise.
* m4/fbufmode.m4 (gl_FUNC_FBUFMODE): Test whether <stdio_ext.h> exists.
* m4/fpurge.m4 (gl_FUNC_FPURGE): Likewise.
* m4/freadable.m4 (gl_FUNC_FREADABLE): Likewise.
* m4/freading.m4 (gl_FUNC_FREADING): Likewise.
* m4/fwritable.m4 (gl_FUNC_FWRITABLE): Likewise.
* m4/fwriting.m4 (gl_FUNC_FWRITING): Likewise.
Diffstat (limited to 'm4/freading.m4')
-rw-r--r-- | m4/freading.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/freading.m4 b/m4/freading.m4 index 440c241e47..6eb25abfa2 100644 --- a/m4/freading.m4 +++ b/m4/freading.m4 @@ -1,4 +1,4 @@ -# freading.m4 serial 1 +# freading.m4 serial 2 dnl Copyright (C) 2007, 2009-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,5 +6,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FREADING], [ + AC_CHECK_HEADERS_ONCE([stdio_ext.h]) AC_CHECK_FUNCS_ONCE([__freading]) ]) |