<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&#39;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 &lt;bradbell@seanet.com&gt; 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 />&gt; Hi,<br />&gt;<br />&gt; This one happens when math.h declares the fmin/fmax functions without<br />&gt; defining the _ISOC99_SOURCE macro. I've failed to find a consistent way<br />&gt; for checking if math.h declares these two functions or not in various<br />&gt; different environments.<br />&gt;<br />&gt; You can comment out the lines 71 through 74 in ADOL-C/src/adouble.h and<br />&gt; lines 44 through 60 in ADOL-C src/adouble.cpp<br />&gt;<br />&gt;<br />&gt;<br />... snip ...<br /></pre></blockquote></div></body></html>