+2011-05-20 Bruno Haible <bruno@clisp.org>
+
+ frexp, frexp-nolibm: Move AC_LIBOBJ invocations to module description.
+ * m4/frexp.m4 (gl_FUNC_FREXP, gl_FUNC_FREXP_NO_LIBM): Move AC_LIBOBJ
+ invocation from here...
+ * modules/frexp (configure.ac): ... to here.
+ * modules/frexp-nolibm (configure.ac): ... and here.
+
2011-05-20 Bruno Haible <bruno@clisp.org>
isnan: Respect rules for use of AC_LIBOBJ.
-# frexp.m4 serial 10
+# frexp.m4 serial 11
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,
if test $gl_func_frexp = yes; then
AC_DEFINE([HAVE_FREXP], [1],
[Define if the frexp() function is available and works.])
- else
- AC_LIBOBJ([frexp])
fi
AC_SUBST([FREXP_LIBM])
])
if test $gl_func_frexp_no_libm = yes; then
AC_DEFINE([HAVE_FREXP_IN_LIBC], [1],
[Define if the frexp() function is available in libc.])
- else
- AC_LIBOBJ([frexp])
fi
])
configure.ac:
gl_FUNC_FREXP
+if test $gl_func_frexp != yes; then
+ AC_LIBOBJ([frexp])
+fi
gl_MATH_MODULE_INDICATOR([frexp])
Makefile.am:
configure.ac:
gl_FUNC_FREXP_NO_LIBM
+if test $gl_func_frexp_no_libm != yes; then
+ AC_LIBOBJ([frexp])
+fi
gl_MATH_MODULE_INDICATOR([frexp])
Makefile.am: