From: Bruno Haible Date: Sat, 21 May 2011 09:47:40 +0000 (+0200) Subject: tanl: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb94237b5ceab2a78e021d8680f9ba76a85928e;p=pspp tanl: Move AC_LIBOBJ invocations to module description. * m4/tanl.m4 (gl_FUNC_TANL): Move AC_LIBOBJ invocations from here... * modules/tanl (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index f8fc42c0cd..6f2017c08f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + tanl: Move AC_LIBOBJ invocations to module description. + * m4/tanl.m4 (gl_FUNC_TANL): Move AC_LIBOBJ invocations from here... + * modules/tanl (configure.ac): ... to here. + 2011-05-21 Bruno Haible cosl: Move AC_LIBOBJ invocations to module description. diff --git a/m4/tanl.m4 b/m4/tanl.m4 index e9603c1528..5f3f73eb7c 100644 --- a/m4/tanl.m4 +++ b/m4/tanl.m4 @@ -1,4 +1,4 @@ -# tanl.m4 serial 3 +# tanl.m4 serial 4 dnl Copyright (C) 2010-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, @@ -55,8 +55,7 @@ AC_DEFUN([gl_FUNC_TANL], else HAVE_DECL_TANL=0 HAVE_TANL=0 - AC_LIBOBJ([tanl]) - AC_LIBOBJ([trigl]) + dnl Find libraries needed to link lib/tanl.c, lib/trigl.c. AC_REQUIRE([gl_FUNC_ISNANL]) AC_REQUIRE([gl_FUNC_FLOOR]) AC_REQUIRE([gl_FUNC_FLOORL]) diff --git a/modules/tanl b/modules/tanl index 7840dc18b9..ce1f20d73a 100644 --- a/modules/tanl +++ b/modules/tanl @@ -17,6 +17,10 @@ floorl [test $HAVE_TANL = 0] configure.ac: gl_FUNC_TANL +if test $HAVE_TANL = 0; then + AC_LIBOBJ([tanl]) + AC_LIBOBJ([trigl]) +fi gl_MATH_MODULE_INDICATOR([tanl]) Makefile.am: