expl: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 09:36:27 +0000 (11:36 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:20 +0000 (00:06 +0200)
* m4/expl.m4 (gl_FUNC_EXPL): Move AC_LIBOBJ invocation from here...
* modules/expl (configure.ac): ... to here.

ChangeLog
m4/expl.m4
modules/expl

index 2d245aa9203798d1973416f28e879959d4aea44a..c622420a1eb337ec301dd21164ff6666fb7c887b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       expl: Move AC_LIBOBJ invocations to module description.
+       * m4/expl.m4 (gl_FUNC_EXPL): Move AC_LIBOBJ invocation from here...
+       * modules/expl (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        roundl: Move AC_LIBOBJ invocations to module description.
index 01db76c761e4d0255c1b038f269e75b295242d23..8f1a9a97807f8cc2ae085256c10d8343ee6c5cc3 100644 (file)
@@ -1,4 +1,4 @@
-# expl.m4 serial 2
+# expl.m4 serial 3
 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,7 +55,7 @@ AC_DEFUN([gl_FUNC_EXPL],
   else
     HAVE_DECL_EXPL=0
     HAVE_EXPL=0
-    AC_LIBOBJ([expl])
+    dnl Find libraries needed to link lib/expl.c.
     AC_REQUIRE([gl_FUNC_FLOORL])
     EXPL_LIBM="$FLOORL_LIBM"
   fi
index a0ccf884488df449686344e93754f3c0f47b764a..ed377c305e5735eca0dfdb1e1681bece0e9f1e4b 100644 (file)
@@ -13,6 +13,9 @@ floorl          [test $HAVE_EXPL = 0]
 
 configure.ac:
 gl_FUNC_EXPL
+if test $HAVE_EXPL = 0; then
+  AC_LIBOBJ([expl])
+fi
 gl_MATH_MODULE_INDICATOR([expl])
 
 Makefile.am: