* m4/isnanl.m4 (gl_FUNC_ISNANL, gl_FUNC_ISNANL_NO_LIBM): Move AC_LIBOBJ
invocation from here...
* modules/isnanl (configure.ac): ... to here.
* modules/isnanl-nolibm (configure.ac): ... and here.
+2011-05-20 Bruno Haible <bruno@clisp.org>
+
+ isnanl*: Respect rules for use of AC_LIBOBJ.
+ * m4/isnanl.m4 (gl_FUNC_ISNANL, gl_FUNC_ISNANL_NO_LIBM): Move AC_LIBOBJ
+ invocation from here...
+ * modules/isnanl (configure.ac): ... to here.
+ * modules/isnanl-nolibm (configure.ac): ... and here.
+
2011-05-20 Bruno Haible <bruno@clisp.org>
isnand*: Move AC_LIBOBJ invocations to module description.
-# isnanl.m4 serial 15
+# isnanl.m4 serial 16
dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
if test $gl_func_isnanl != yes; then
HAVE_ISNANL=0
- AC_LIBOBJ([isnanl])
- gl_PREREQ_ISNANL
fi
AC_SUBST([ISNANL_LIBM])
])
if test $gl_func_isnanl_no_libm = yes; then
AC_DEFINE([HAVE_ISNANL_IN_LIBC], [1],
[Define if the isnan(long double) function is available in libc.])
- else
- AC_LIBOBJ([isnanl])
- gl_PREREQ_ISNANL
fi
])
configure.ac:
gl_FUNC_ISNANL
+if test $HAVE_ISNANL = 0; then
+ AC_LIBOBJ([isnanl])
+ gl_PREREQ_ISNANL
+fi
gl_MATH_MODULE_INDICATOR([isnanl])
Makefile.am:
configure.ac:
gl_FUNC_ISNANL_NO_LIBM
+if test $gl_func_isnanl_no_libm != yes; then
+ AC_LIBOBJ([isnanl])
+ gl_PREREQ_ISNANL
+fi
Makefile.am: