From: ville.mattila@... Date: 2006-06-30T15:44:21+09:00 Subject: Re: 1.8.5p1 build failure on Solaris 10 --=_alternative 0020DDACC225719D_= Content-Type: text/plain; charset="US-ASCII" "Daniel Berger" wrote on 29.06.2006 22:57:10: > ville.mattila@stonesoft.com wrote: > > -solaris*2.10) ac_cv_func_isinf=yes > > +solaris*2.10) if test -z "$GCC"; then > > + ac_cv_func_isinf=yes > > + fi > > LIBS="-lm $LIBS" > > ;; > > *) LIBS="-lm $LIBS";; > > > > > > Actually, shouldn't we test for the feature instead of the platform? I don't > remember if older versions of Solaris have this. > > So, AC_CHECK_LIB(sunmath, isinf) && AC_CHECK_HEADER(sunmath.h, isinf), with > #ifdef's in the source? > I think this would add more code to source, now we only have to touch to configure.in. - Ville --=_alternative 0020DDACC225719D_=--