Mercurial > vim
diff src/configure.in @ 8289:6ae3fb4fe7c1 v7.4.1437
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 27 20:14:15 2016 +0100
patch 7.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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 Feb 2016 20:15:04 +0100 |
parents | 74b15ed0a259 |
children | 446558924b66 |
line wrap: on
line diff
--- 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 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