diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-05-23 10:34:06 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-05-23 10:34:06 +0200 |
commit | 4179e59afafbe4c5eb00b0a82da11db7cc5a1a8c (patch) | |
tree | d08f712df5fe7cd79a42d70f17fd6a12386816f3 /libgfortran/configure.ac | |
parent | f883872b10c06e67e59d3e0f192b804dc5ec3121 (diff) | |
download | gcc-4179e59afafbe4c5eb00b0a82da11db7cc5a1a8c.zip gcc-4179e59afafbe4c5eb00b0a82da11db7cc5a1a8c.tar.gz gcc-4179e59afafbe4c5eb00b0a82da11db7cc5a1a8c.tar.bz2 |
re PR libfortran/53444 (Accommodate non-compliant strerror_r() on VxWorks.)
2012-05-23 Tobias Burnus <burnus@net-b.de>
PR libfortran/53444
* acinclude.m4 (LIBGFOR_CHECK_STRERROR_R): Add configure checks
* for
two- and three-argument versions of strerror_r.
* configure.ac (LIBGFOR_CHECK_STRERROR_R): Use it.
* runtime/error.c (gf_strerror): Handle two-argument version
of strerror_r.
* config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r187796
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 41bef72..fc58a5c 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -265,9 +265,12 @@ AC_CHECK_FUNCS_ONCE(getrusage times mkstemp strtof strtold snprintf \ ftruncate chsize chdir getlogin gethostname kill link symlink sleep ttyname \ alarm access fork execl wait setmode execve pipe dup2 close \ strcasestr getrlimit gettimeofday stat fstat lstat getpwuid vsnprintf dup \ -getcwd localtime_r gmtime_r strerror_r getpwuid_r ttyname_r clock_gettime \ +getcwd localtime_r gmtime_r getpwuid_r ttyname_r clock_gettime \ readlink getgid getpid getppid getuid geteuid umask getegid __secure_getenv) +# Check strerror_r, cannot be above as versions with two and three arguments exist +LIBGFOR_CHECK_STRERROR_R + # Check for C99 (and other IEEE) math functions GCC_CHECK_MATH_FUNC([acosf]) GCC_CHECK_MATH_FUNC([acos]) |