diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-27 20:14:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-27 20:14:15 +0100 |
commit | 136f29a91dbafce424e31a4af133155f997e8f78 (patch) | |
tree | c8f62de847e195719732366ec05df2f21f74f000 /src/configure.in | |
parent | e98991b8cfaf29016d14b8ec437d3dedfc0a5eb7 (diff) | |
download | vim-git-136f29a91dbafce424e31a4af133155f997e8f78.tar.gz |
patch 7.4.1437v7.4.1437
Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
configure. Use a replacement when missing. (Kazunobu Kuriyama)
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in index fbfa37fe6..c809427f9 100644 --- a/src/configure.in +++ b/src/configure.in @@ -3146,6 +3146,7 @@ AC_HEADER_TIME AC_CHECK_TYPE(ino_t, long) AC_CHECK_TYPE(dev_t, unsigned) AC_C_BIGENDIAN(,,,) +AC_C_INLINE AC_MSG_CHECKING(for rlim_t) if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then @@ -3564,7 +3565,7 @@ AC_CHECK_FUNCS(bcmp fchdir fchown fsync getcwd getpseudotty \ setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ sigvec strcasecmp strerror strftime stricmp strncasecmp \ strnicmp strpbrk strtol tgetent towlower towupper iswupper \ - usleep utime utimes) + usleep utime utimes isnan isinf) AC_FUNC_FSEEKO dnl define _LARGE_FILES, _FILE_OFFSET_BITS and _LARGEFILE_SOURCE when |