diff options
author | Krister Walfridsson <cato@df.lth.se> | 2007-07-15 23:13:05 +0200 |
---|---|---|
committer | Krister Walfridsson <kristerw@gcc.gnu.org> | 2007-07-15 21:13:05 +0000 |
commit | 91f6762edfb311fc80e8c6953f02095dcbbfe888 (patch) | |
tree | 4c910b3e0c78f4cb073f597ecddbeaf9b8d5b551 /libjava/configure.ac | |
parent | 945e62ddd5b70ef9dc2f5def07171dbde555f337 (diff) | |
download | gcc-91f6762edfb311fc80e8c6953f02095dcbbfe888.zip gcc-91f6762edfb311fc80e8c6953f02095dcbbfe888.tar.gz gcc-91f6762edfb311fc80e8c6953f02095dcbbfe888.tar.bz2 |
natGCInfo.cc: Use HAVE_STRERROR_R.
2007-07-14 Krister Walfridsson <cato@df.lth.se>
* gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
* configure.ac: Remove check for strerror, add check for strerror_r.
* configure: Regenerate.
* include/config.h.in: Regenerate.
From-SVN: r126660
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r-- | libjava/configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac index 1c571dc..9a9d1fd 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -985,7 +985,6 @@ if test "x${with_newlib}" = "xyes"; then # we'll have. AC_DEFINE(HAVE_MEMMOVE, 1, [Define if you have memmove.]) AC_DEFINE(HAVE_MEMCPY, 1, [Define if you have memcpy.]) - AC_DEFINE(HAVE_STRERROR, 1, [Define if you have strerror.]) AC_DEFINE(HAVE_TIME, 1, [Define if you have time.]) AC_DEFINE(HAVE_GMTIME_R, 1, [Define if you have the 'gmtime_r' function]) AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define if you have the 'localtime_r' function.]) @@ -997,7 +996,7 @@ if test "x${with_newlib}" = "xyes"; then AC_DEFINE(NO_GETUID, 1, [Define if getuid() and friends are missing.]) PLATFORMNET=NoNet else - AC_CHECK_FUNCS([strerror select fstat open fsync sleep opendir \ + AC_CHECK_FUNCS([strerror_r select fstat open fsync sleep opendir \ localtime_r readdir_r getpwuid_r getcwd \ access stat lstat mkdir rename rmdir unlink utime chmod readlink \ nl_langinfo setlocale \ |