diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-09-28 07:00:27 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-09-28 07:00:27 +0000 |
commit | 3b681e9dccc5cbbddecbcc1a0c41c51f7fbef57d (patch) | |
tree | 206ad049b411ef90070a3486a0832ecc5adf0c79 /gcc/configure.in | |
parent | c0636171dba6e1d76e6ab328182797d370f0ec91 (diff) | |
download | gcc-3b681e9dccc5cbbddecbcc1a0c41c51f7fbef57d.tar.gz |
cpplex.c (cpp_output_token): Use a putc loop for SPELL_OPERATOR, and fwrite for SPELL_IDENT.
* cpplex.c (cpp_output_token): Use a putc loop for
SPELL_OPERATOR, and fwrite for SPELL_IDENT.
* configure.in: Detect fwrite_unlocked and fprintf_unlocked.
* configure, config.in: Regenerate.
* system.h: Replace fwrite and fprintf with their unlocked
variants if available.
From-SVN: r45855
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index 956bf0bac33..6e120878fb5 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -578,7 +578,8 @@ dnl gcc_AC_C_ENUM_BF_UNSIGNED AC_CHECK_FUNCS(strtoul bsearch popen times clock \ strchr strrchr kill getrlimit setrlimit atoll atoq \ sysconf isascii gettimeofday strsignal putc_unlocked fputc_unlocked \ - fputs_unlocked getrusage nl_langinfo lstat) + fputs_unlocked fwrite_unlocked fprintf_unlocked getrusage nl_langinfo \ + lstat) AC_CHECK_TYPE(ssize_t, int) @@ -623,7 +624,8 @@ AM_ICONV saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include" gcc_AC_CHECK_DECLS(getenv atol sbrk abort atof getcwd getwd \ - strsignal putc_unlocked fputs_unlocked strstr environ errno \ + strsignal putc_unlocked fputs_unlocked fwrite_unlocked \ + fprintf_unlocked strstr environ errno \ malloc realloc calloc free basename getopt clock, , ,[ #include "ansidecl.h" #include "system.h"]) |