On Mar 30, 2012, at 2:39 PM, Paolo Bonzini wrote: > Il 30/03/2012 12:22, Tristan Gingold ha scritto: >> >> On Mar 27, 2012, at 10:38 AM, Janne Blomqvist wrote: >> >>> On Tue, Mar 27, 2012 at 11:01, Tristan Gingold <ging...@adacore.com> wrote: >>>> Hi, >>>> >>>> this patch fixes this issue. Is it OK ? >>> >>> Ok. >>> >>>> Maybe we should include the AC_DEFINE action within GCC_CHECK_MATH_FUNC. >>>> Will try to do that. >>> >>> That looks like a cleaner solution, yes, and less chance for typos to sneak >>> in. >> >> Hi, >> >> here is the 'cleaner solution': now GCC_CHECK_MATH_FUNC automatically define >> the HAVE_xxx variable. >> >> The description is now: Define to 1 if you have the `xxx' function. As a >> consequence, libgfortran/config.h.in was regenerated (with differences like: >> >> -/* acos is available */ >> +/* Define to 1 if you have the `acos' function. */ >> #undef HAVE_ACOS >> >> ) >> >> Tested by rebuild libgfortran for ia64-hp-openvms and visual inspection of >> differences. >> >> I have CC: Paolo as he approved the first version of math.m4. >> >> Ok for trunk ? > > Yes.
Thanks, committed. Tristan.