From: Bruno Haible Date: Sat, 21 May 2011 00:49:55 +0000 (+0200) Subject: frexp, frexp-nolibm: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54027f28c18b962ba4ac013e34207c6577fb445f;p=pspp 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. --- diff --git a/ChangeLog b/ChangeLog index 56de524e7a..306d6098c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-20 Bruno Haible + + 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 isnan: Respect rules for use of AC_LIBOBJ. diff --git a/m4/frexp.m4 b/m4/frexp.m4 index 2e0fb3b471..0021ed2b92 100644 --- a/m4/frexp.m4 +++ b/m4/frexp.m4 @@ -1,4 +1,4 @@ -# 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, @@ -44,8 +44,6 @@ AC_DEFUN([gl_FUNC_FREXP], 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]) ]) @@ -68,8 +66,6 @@ AC_DEFUN([gl_FUNC_FREXP_NO_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 ]) diff --git a/modules/frexp b/modules/frexp index 3ada9b2f29..2e896995e7 100644 --- a/modules/frexp +++ b/modules/frexp @@ -11,6 +11,9 @@ isnand-nolibm [test $gl_func_frexp != yes] configure.ac: gl_FUNC_FREXP +if test $gl_func_frexp != yes; then + AC_LIBOBJ([frexp]) +fi gl_MATH_MODULE_INDICATOR([frexp]) Makefile.am: diff --git a/modules/frexp-nolibm b/modules/frexp-nolibm index 34eb958a99..6791fe1c49 100644 --- a/modules/frexp-nolibm +++ b/modules/frexp-nolibm @@ -11,6 +11,9 @@ isnand-nolibm [test $gl_func_frexp_no_libm != yes] 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: