ruby-changes:25571
From: knu <ko1@a...>
Date: Mon, 12 Nov 2012 19:26:42 +0900 (JST)
Subject: [ruby-changes:25571] knu:r37628 (trunk): Fix build on DragonFly where configure fails to detect isinf()/isnan().
knu 2012-11-12 19:26:28 +0900 (Mon, 12 Nov 2012) New Revision: 37628 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37628 Log: 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. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 37627) +++ configure.in (revision 37628) @@ -1241,6 +1241,9 @@ 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 ], Index: ChangeLog =================================================================== --- ChangeLog (revision 37627) +++ ChangeLog (revision 37628) @@ -1,3 +1,9 @@ +Mon Nov 12 19:14:50 2012 Akinori MUSHA <knu@i...> + + * 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@r...> * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo), -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/