diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-12 10:26:28 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-12 10:26:28 +0000 |
commit | e34f5087756654f6c8368c1825861ab7e1b64585 (patch) | |
tree | 2053aa2903c14ff0ca2cc1b06353d3e01e2a4940 | |
parent | afdfbde4e73135985a3762adc437c6e317b0904e (diff) | |
download | ruby-e34f5087756654f6c8368c1825861ab7e1b64585.tar.gz |
Fix build on DragonFly where configure fails to detect isinf()/isnan().
* configure.in (isinf, isnan): isinf() and isnan() are macros on
DragonFly which cannot be found by AC_REPLACE_FUNCS(). This
workaround enforces the fact that they exist on DragonFly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Mon Nov 12 19:14:50 2012 Akinori MUSHA <knu@iDaemons.org> + + * configure.in (isinf, isnan): isinf() and isnan() are macros on + DragonFly which cannot be found by AC_REPLACE_FUNCS(). This + workaround enforces the fact that they exist on DragonFly. + Mon Nov 12 15:59:38 2012 Shugo Maeda <shugo@ruby-lang.org> * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo), diff --git a/configure.in b/configure.in index 252525dce9..9c0a246628 100644 --- a/configure.in +++ b/configure.in @@ -1241,6 +1241,9 @@ main() ac_cv_func_close=no ], [dragonfly*], [ LIBS="-lm $LIBS" + # isinf() and isnan() are macros on DragonFly. + ac_cv_func_isinf=yes + ac_cv_func_isnan=yes ], [bow], [ ac_cv_func_setitimer=no ], |