* m4/ldexpl.m4 (gl_FUNC_LDEXPL): Move AC_LIBOBJ invocation from here...
* modules/ldexpl (configure.ac): ... to here.
+2011-05-20 Bruno Haible <bruno@clisp.org>
+
+ ldexpl: Respect rules for use of AC_LIBOBJ.
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Move AC_LIBOBJ invocation from here...
+ * modules/ldexpl (configure.ac): ... to here.
+
2011-05-20 Bruno Haible <bruno@clisp.org>
frexpl*: Respect rules for use of AC_LIBOBJ.
-# ldexpl.m4 serial 10
+# ldexpl.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,
fi
fi
if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then
- AC_LIBOBJ([ldexpl])
+ dnl Find libraries needed to link lib/ldexpl.c.
LDEXPL_LIBM="$ISNANL_LIBM"
fi
AC_SUBST([LDEXPL_LIBM])
configure.ac:
gl_FUNC_LDEXPL
+if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then
+ AC_LIBOBJ([ldexpl])
+fi
gl_MATH_MODULE_INDICATOR([ldexpl])
Makefile.am: