From: Bruno Haible Date: Sat, 21 May 2011 01:06:27 +0000 (+0200) Subject: ldexpl: Respect rules for use of AC_LIBOBJ. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9726590e0b9101d70750a06ca624f27c2e9a769;p=pspp 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 85d6656183..c558ca241d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/ldexpl.m4 b/m4/ldexpl.m4 index 37dc230228..2f4cf4b89b 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 517a40a8dd..b6d3117343 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: