From: Alan W. I. <ir...@be...> - 2003-03-24 20:42:46
|
On Mon, 24 Mar 2003, [iso-8859-1] Jo=E3o Cardoso wrote: > > > Hi, > > AC_CHECK_FUNC(isnan, ... > or > AC_CHECK_FUNCS(isnan isinf finite) > > fails to detect isnan,... under OSF, as these functions are in libm and > configure don't add -lm to the compile command. > isnan() and finite() are declared in math.h in this system. > > Is there a fast cure for this? I am no expert, but I figured out how to do something similar for libgd a while ago where I was testing whether libgd supported jpeg or not. Have a look at sysloc.in where AC_TRY_LINK_FUNC is invoked on line 250 and set up in the lines before. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting softwar= e package (plplot.org). __________________________ Linux-powered Science __________________________ |