atoll: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Thu, 5 May 2011 23:06:05 +0000 (01:06 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:05:53 +0000 (00:05 +0200)
* m4/atoll.m4 (gl_FUNC_ATOLL): Move AC_LIBOBJ and gl_PREREQ_ATOLL
invocations from here...
* modules/atoll (configure.ac): ... to here.

ChangeLog
m4/atoll.m4
modules/atoll

index 5438458c0bcee6d26275f8652c7f10e654cebd2e..6de18dde9781801cb7cc99a6f6430b19721e6b43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       atoll: Move AC_LIBOBJ invocations to module description.
+       * m4/atoll.m4 (gl_FUNC_ATOLL): Move AC_LIBOBJ and gl_PREREQ_ATOLL
+       invocations from here...
+       * modules/atoll (configure.ac): ... to here.
+
 2011-05-05  Bruno Haible  <bruno@clisp.org>
 
        argz: Move AC_LIBOBJ invocations to module description.
index f504542faab517ae8072ef1babd01c7ee9dc0c39..6cb4dd13fa1427d4fa8a7ecbcd98e2387b4d82a8 100644 (file)
@@ -1,4 +1,4 @@
-# atoll.m4 serial 1
+# atoll.m4 serial 2
 dnl Copyright (C) 2008-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,
@@ -14,8 +14,6 @@ AC_DEFUN([gl_FUNC_ATOLL],
     AC_CHECK_FUNCS([atoll])
     if test $ac_cv_func_atoll = no; then
       HAVE_ATOLL=0
-      AC_LIBOBJ([atoll])
-      gl_PREREQ_ATOLL
     fi
   fi
 ])
index d979a008f205bea178962e310a8e067ec30479f3..d1a53644d4687de4ee9e7a2f7475f3d584274ded 100644 (file)
@@ -11,6 +11,10 @@ strtoll         [test $HAVE_ATOLL = 0]
 
 configure.ac:
 gl_FUNC_ATOLL
+if test $HAVE_ATOLL = 0; then
+  AC_LIBOBJ([atoll])
+  gl_PREREQ_ATOLL
+fi
 gl_STDLIB_MODULE_INDICATOR([atoll])
 
 Makefile.am: