+2011-05-20 Bruno Haible <bruno@clisp.org>
+
+ isnan*: Separate the AC_LIBOBJ invocations.
+ * m4/isnanf.m4 (gl_PREREQ_ISNANF): Renamed from gl_BUILD_ISNANF. Remove
+ AC_LIBOBJ invocation.
+ (gl_FUNC_ISNANF, gl_FUNC_ISNANF_NO_LIBM): Update. Invoke AC_LIBOBJ
+ here.
+ * m4/isnand.m4 (gl_PREREQ_ISNAND): Renamed from gl_BUILD_ISNAND. Remove
+ AC_LIBOBJ invocation.
+ (gl_FUNC_ISNAND, gl_FUNC_ISNAND_NO_LIBM): Update. Invoke AC_LIBOBJ
+ here.
+ * m4/isnanl.m4 (gl_PREREQ_ISNANL): Renamed from gl_BUILD_ISNANL. Remove
+ AC_LIBOBJ invocation.
+ (gl_FUNC_ISNANL, gl_FUNC_ISNANL_NO_LIBM): Update. Invoke AC_LIBOBJ
+ here.
+ * m4/isnan.m4 (gl_ISNAN): Update. Invoke AC_LIBOBJ here.
+
2011-05-08 Bruno Haible <bruno@clisp.org>
isinf: Move AC_LIBOBJ invocations to module description.
-# isnan.m4 serial 3
+# isnan.m4 serial 4
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,
AC_MSG_RESULT([no])
REPLACE_ISNAN=1
# Make sure the rpl_isnan[fdl] functions get built.
- gl_BUILD_ISNANF
- gl_BUILD_ISNAND
- gl_BUILD_ISNANL
+ AC_LIBOBJ([isnanf])
+ gl_PREREQ_ISNANF
+ AC_LIBOBJ([isnand])
+ gl_PREREQ_ISNAND
+ AC_LIBOBJ([isnanl])
+ gl_PREREQ_ISNANL
ISNAN_LIBM=
fi
AC_SUBST([ISNAN_LIBM])
-# isnand.m4 serial 8
+# isnand.m4 serial 9
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,
else
gl_func_isnand=no
HAVE_ISNAND=0
- gl_BUILD_ISNAND
+ AC_LIBOBJ([isnand])
+ gl_PREREQ_ISNAND
fi
AC_SUBST([ISNAND_LIBM])
])
AC_DEFINE([HAVE_ISNAND_IN_LIBC], [1],
[Define if the isnan(double) function is available in libc.])
else
- gl_BUILD_ISNAND
+ AC_LIBOBJ([isnand])
+ gl_PREREQ_ISNAND
fi
])
-dnl Pull in replacement isnand definition. It does not need -lm.
-AC_DEFUN([gl_BUILD_ISNAND],
+dnl Prerequisites of replacement isnand definition. It does not need -lm.
+AC_DEFUN([gl_PREREQ_ISNAND],
[
- AC_LIBOBJ([isnand])
gl_DOUBLE_EXPONENT_LOCATION
])
-# isnanf.m4 serial 12
+# isnanf.m4 serial 13
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_isnanf != yes; then
HAVE_ISNANF=0
- gl_BUILD_ISNANF
+ AC_LIBOBJ([isnanf])
+ gl_PREREQ_ISNANF
fi
AC_SUBST([ISNANF_LIBM])
])
AC_DEFINE([HAVE_ISNANF_IN_LIBC], [1],
[Define if the isnan(float) function is available in libc.])
else
- gl_BUILD_ISNANF
+ AC_LIBOBJ([isnanf])
+ gl_PREREQ_ISNANF
fi
])
-dnl Pull in replacement isnanf definition. It does not need -lm.
-AC_DEFUN([gl_BUILD_ISNANF],
+dnl Prerequisites of replacement isnanf definition. It does not need -lm.
+AC_DEFUN([gl_PREREQ_ISNANF],
[
- AC_LIBOBJ([isnanf])
gl_FLOAT_EXPONENT_LOCATION
])
-# isnanl.m4 serial 14
+# isnanl.m4 serial 15
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
- gl_BUILD_ISNANL
+ AC_LIBOBJ([isnanl])
+ gl_PREREQ_ISNANL
fi
AC_SUBST([ISNANL_LIBM])
])
AC_DEFINE([HAVE_ISNANL_IN_LIBC], [1],
[Define if the isnan(long double) function is available in libc.])
else
- gl_BUILD_ISNANL
+ AC_LIBOBJ([isnanl])
+ gl_PREREQ_ISNANL
fi
])
-dnl Pull in replacement isnanl definition. It does not need -lm.
-AC_DEFUN([gl_BUILD_ISNANL],
+dnl Prerequisites of replacement isnanl definition. It does not need -lm.
+AC_DEFUN([gl_PREREQ_ISNANL],
[
- AC_LIBOBJ([isnanl])
gl_LONG_DOUBLE_EXPONENT_LOCATION
])