This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use C99 isfinite macro instead of finite when availab


 > 2004-09-27  Tobias Schlueter <tobias.schlueter@phyisk.uni-muenchen.de>
 > 
 > 	PR libfortran/15960
 > 	* configure.ac: Add autoconf test for isfinite.
 > 	* config.h.in: Add HAVE_ISFINITE.
 > 	* io/write.c (write_float): Use isfinite if present.
 > +AC_CHECK_LIB([m],[isfinite],[AC_DEFINE([HAVE_ISFINITE],[1],[libm
 > includes isfinite])])

But isn't `isfinite' often (always?) a macro?  I thought
AC_CHECK_FUNCS won't find things if they're only a macro and not in
some library as a real function.

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]