summaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-01-22 00:42:17 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2011-01-22 00:42:17 +0200
commit723553bdc16695ecc686a2ffdff6d15bd600b676 (patch)
tree5760ecd6dfee3b5a3fbd1f7c8131d34047951c44 /libgfortran/configure.ac
parent62f9aedcd0a97001f290a1c13fa66efd207a23cc (diff)
downloadgcc-723553bdc16695ecc686a2ffdff6d15bd600b676.tar.gz
PR 46267 strerror thread safety
From-SVN: r169110
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index 7b28f127433..4f137e43253 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -249,7 +249,7 @@ AC_CHECK_FUNCS(chdir strerror getlogin gethostname kill link symlink perror)
AC_CHECK_FUNCS(sleep time ttyname signal alarm ctime clock access fork execl)
AC_CHECK_FUNCS(wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit)
AC_CHECK_FUNCS(gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd)
-AC_CHECK_FUNCS(localtime_r gmtime_r)
+AC_CHECK_FUNCS(localtime_r gmtime_r strerror_r)
# Check for glibc backtrace functions
AC_CHECK_FUNCS(backtrace backtrace_symbols)