* configure.ac: Check for readv function also.

* fileread.cc (readv): Define if not HAVE_READV.
	* fileread.h (File_read:: max_readv_entries): Set to 1 if readv
	does not exist.
	* config.in: Regenerate.
	* configure: Regenerate.
This commit is contained in:
Ian Lance Taylor
2009-10-09 23:20:44 +00:00
parent c0a6286595
commit d9a893b837
6 changed files with 30 additions and 2 deletions

2
gold/configure vendored
View File

@@ -6701,7 +6701,7 @@ fi
done
for ac_func in mallinfo posix_fallocate
for ac_func in mallinfo posix_fallocate readv
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"