From 7f68b5ace68d29f3627ce2e3a1e8966aea5ec778 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 6 May 2011 01:06:05 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ m4/atoll.m4 | 4 +--- modules/atoll | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5438458c0b..6de18dde97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-05 Bruno Haible + + 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 argz: Move AC_LIBOBJ invocations to module description. diff --git a/m4/atoll.m4 b/m4/atoll.m4 index f504542faa..6cb4dd13fa 100644 --- a/m4/atoll.m4 +++ b/m4/atoll.m4 @@ -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 ]) diff --git a/modules/atoll b/modules/atoll index d979a008f2..d1a53644d4 100644 --- a/modules/atoll +++ b/modules/atoll @@ -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: -- 2.30.2