From: Bruno Haible Date: Sun, 8 May 2011 22:48:43 +0000 (+0200) Subject: isinf: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3ff90a39110bde148b63b18b997c317eee9751;p=pspp isinf: Move AC_LIBOBJ invocations to module description. * m4/isinf.m4 (gl_ISINF): Move AC_LIBOBJ invocation from here... * modules/isinf (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index aafebd5e85..1fd5e5da93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-08 Bruno Haible + + isinf: Move AC_LIBOBJ invocations to module description. + * m4/isinf.m4 (gl_ISINF): Move AC_LIBOBJ invocation from here... + * modules/isinf (configure.ac): ... to here. + 2011-05-08 Bruno Haible isfinite: Move AC_LIBOBJ invocations to module description. diff --git a/m4/isinf.m4 b/m4/isinf.m4 index ab3cf9e6fd..f6056e6103 100644 --- a/m4/isinf.m4 +++ b/m4/isinf.m4 @@ -1,4 +1,4 @@ -# isinf.m4 serial 3 +# isinf.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, @@ -24,7 +24,7 @@ AC_DEFUN([gl_ISINF], if test "$ac_cv_have_decl_isinf" != yes || test "$ISINF_LIBM" = missing; then REPLACE_ISINF=1 - AC_LIBOBJ([isinf]) + dnl No libraries are needed to link lib/isinf.c. ISINF_LIBM= fi AC_SUBST([ISINF_LIBM]) diff --git a/modules/isinf b/modules/isinf index 1a8399fe7b..e7f0bf966e 100644 --- a/modules/isinf +++ b/modules/isinf @@ -13,6 +13,9 @@ float [test $REPLACE_ISINF = 1] configure.ac: gl_ISINF +if test $REPLACE_ISINF = 1; then + AC_LIBOBJ([isinf]) +fi gl_MATH_MODULE_INDICATOR([isinf]) Makefile.am: