From: Bruno Haible Date: Sat, 21 May 2011 01:06:27 +0000 (+0200) Subject: ldexpl: Respect rules for use of AC_LIBOBJ. X-Git-Tag: v0.1~2527 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a9726590e0b9101d70750a06ca624f27c2e9a769;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 85d665618..c558ca241 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-20 Bruno Haible + 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 + frexpl*: Respect rules for use of AC_LIBOBJ. * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): Move AC_LIBOBJ invocation from here... diff --git a/m4/ldexpl.m4 b/m4/ldexpl.m4 index 37dc23022..2f4cf4b89 100644 --- a/m4/ldexpl.m4 +++ b/m4/ldexpl.m4 @@ -1,4 +1,4 @@ -# 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, @@ -52,7 +52,7 @@ AC_DEFUN([gl_FUNC_LDEXPL], 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]) diff --git a/modules/ldexpl b/modules/ldexpl index 517a40a8d..b6d311734 100644 --- a/modules/ldexpl +++ b/modules/ldexpl @@ -12,6 +12,9 @@ fpucw [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no] 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: