X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fstdio.m4;h=a2b40b56477a4ad74519350f28b3fc1b808b4be5;hb=7fa8158cfcdd526f247d063202dc57c7f76901d8;hp=2f079c117eefd78055f43e06c77c03f304c9f55d;hpb=b1720af16e5d7765e2effcd16e23f351c2f82e54;p=m6w6%2Fext-psi diff --git a/m4/stdio.m4 b/m4/stdio.m4 index 2f079c1..a2b40b5 100644 --- a/m4/stdio.m4 +++ b/m4/stdio.m4 @@ -1,5 +1,5 @@ PSI_CHECK_STDIO() { - AC_CHECK_HEADER(stdio.h) + PSI_CONFIG_POSIX(stdio, stdio.h) PSI_STRUCT(FILE) PSI_STRUCT(fpos_t) @@ -19,6 +19,10 @@ PSI_CHECK_STDIO() { PSI_CONST(L_ctermid, int) PSI_CONST(L_tmpnam, int) + PSI_MACRO(FILE *stderr) + PSI_MACRO(FILE *stdout) + PSI_MACRO(FILE *stdin) + PSI_DECL(void clearerr, [(FILE *stream)]) PSI_DECL(char *ctermid, [(char *s)]) PSI_DECL(int fclose, [(FILE *stream)])