<html><head></head><body>I was trying to find a C-Dialect flag for this. But your suggestion for using <a href="http://configure.ac">configure.ac</a> is good. I'll try to get it working soon.<br>
--<br>
Dr. Kshitij Kulshreshtha<br>
<br>
Sent via Mobile Phone.<br><br><div class="gmail_quote">Brad Bell <bradbell@seanet.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: monospace">The suggestion below worked on my system.<br />I would think that you could use the autoconf macro AC_COMPILE_IFELSE to <br />test for this ?<br /><br /><br />On 04/01/2012 09:11 AM, Kshitij Kulshreshtha wrote:<br />> Hi,<br />><br />> This one happens when math.h declares the fmin/fmax functions without<br />> defining the _ISOC99_SOURCE macro. I've failed to find a consistent way<br />> for checking if math.h declares these two functions or not in various<br />> different environments.<br />><br />> You can comment out the lines 71 through 74 in ADOL-C/src/adouble.h and<br />> lines 44 through 60 in ADOL-C src/adouble.cpp<br />><br />><br />><br />... snip ...<br /></pre></blockquote></div></body></html>