view modules/isnanl @ 14996:369a2b1bfba1

isnan: Respect rules for use of AC_LIBOBJ. * m4/isnan.m4 (gl_ISNAN): Don't do the AC_LIBOBJ and gl_PREREQ_ISNAN* invocations here. * modules/isnanf (configure.ac): Require gl_ISNAN if it exists. Test REPLACE_ISNAN. * modules/isnand (configure.ac): Likewise. * modules/isnanl (configure.ac): Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 02:21:30 +0200
parents 4e1b0338ea60
children
line wrap: on
line source

Description:
isnanl() function: test for NaN.

Files:
lib/isnanl.c
lib/isnan.c
lib/float+.h
m4/exponentl.m4
m4/isnanl.m4

Depends-on:
math
float
fpieee
memcmp

configure.ac:
gl_FUNC_ISNANL
m4_ifdef([gl_ISNAN], [
  AC_REQUIRE([gl_ISNAN])
])
if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
  AC_LIBOBJ([isnanl])
  gl_PREREQ_ISNANL
fi
gl_MATH_MODULE_INDICATOR([isnanl])

Makefile.am:

Include:
<math.h>

Link:
$(ISNANL_LIBM)

License:
LGPL

Maintainer:
Bruno Haible