diff options
author | Tom Lane | 2020-02-21 18:47:40 +0000 |
---|---|---|
committer | Tom Lane | 2020-02-21 19:30:47 +0000 |
commit | f88a058200a40032e88a8bfc1aea453c22d2dcb0 (patch) | |
tree | 3e08c0ededeb5e7daa84d30c67e079ac782f63bc /configure | |
parent | 1200d71a09177b7e64167df440d0c9bd16111ebe (diff) |
Assume that we have rint().
Windows has this since _MSC_VER >= 1200, and so do all other live
platforms according to the buildfarm, so remove the configure probe
and src/port/ substitution.
This is part of a series of commits to get rid of no-longer-relevant
configure checks and dead src/port/ code. I'm committing them separately
to make it easier to back out individual changes if they prove less
portable than I expect.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configure b/configure index 8d38e792aad..d746255f25d 100755 --- a/configure +++ b/configure @@ -15628,19 +15628,6 @@ esac fi -ac_fn_c_check_func "$LINENO" "rint" "ac_cv_func_rint" -if test "x$ac_cv_func_rint" = xyes; then : - $as_echo "#define HAVE_RINT 1" >>confdefs.h - -else - case " $LIBOBJS " in - *" rint.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS rint.$ac_objext" - ;; -esac - -fi - ac_fn_c_check_func "$LINENO" "srandom" "ac_cv_func_srandom" if test "x$ac_cv_func_srandom" = xyes; then : $as_echo "#define HAVE_SRANDOM 1" >>confdefs.h |