dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
else
+ HAVE_DECL_FREXPL=0
AC_LIBOBJ([frexpl])
fi
+ AC_SUBST([FREXPL_LIBM])
])
dnl Test whether frexpl() works on finite numbers (this fails on AIX 5.1) and
[
AC_TRY_RUN([
#include <math.h>
+extern long double frexpl (long double, int *);
int main()
{
volatile long double x;