From 53c2b27720e3c1f53283edc32e9132fb60e79537 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 9 May 2011 00:30:19 +0200 Subject: [PATCH] imaxdiv: Move AC_LIBOBJ invocations to module description. * m4/imaxdiv.m4 (gl_FUNC_IMAXDIV): Move AC_LIBOBJ and gl_PREREQ_IMAXDIV invocations from here... * modules/imaxdiv (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/imaxdiv.m4 | 4 +--- modules/imaxdiv | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a92ad9f1..7d9b83827 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-08 Bruno Haible + imaxdiv: Move AC_LIBOBJ invocations to module description. + * m4/imaxdiv.m4 (gl_FUNC_IMAXDIV): Move AC_LIBOBJ and gl_PREREQ_IMAXDIV + invocations from here... + * modules/imaxdiv (configure.ac): ... to here. + +2011-05-08 Bruno Haible + imaxabs: Move AC_LIBOBJ invocations to module description. * m4/imaxabs.m4 (gl_FUNC_IMAXABS): Move AC_LIBOBJ and gl_PREREQ_IMAXABS invocations from here... diff --git a/m4/imaxdiv.m4 b/m4/imaxdiv.m4 index 4939912c5..57ceaa82d 100644 --- a/m4/imaxdiv.m4 +++ b/m4/imaxdiv.m4 @@ -1,4 +1,4 @@ -# imaxdiv.m4 serial 2 +# imaxdiv.m4 serial 3 dnl Copyright (C) 2006, 2009-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, @@ -10,8 +10,6 @@ AC_DEFUN([gl_FUNC_IMAXDIV], AC_CHECK_DECLS_ONCE([imaxdiv]) if test "$ac_cv_have_decl_imaxdiv" != yes; then HAVE_DECL_IMAXDIV=0 - AC_LIBOBJ([imaxdiv]) - gl_PREREQ_IMAXDIV fi ]) diff --git a/modules/imaxdiv b/modules/imaxdiv index 7589024c0..2ad32eb63 100644 --- a/modules/imaxdiv +++ b/modules/imaxdiv @@ -10,6 +10,10 @@ inttypes-incomplete configure.ac: gl_FUNC_IMAXDIV +if test $HAVE_DECL_IMAXDIV = 0; then + AC_LIBOBJ([imaxdiv]) + gl_PREREQ_IMAXDIV +fi gl_INTTYPES_MODULE_INDICATOR([imaxdiv]) Makefile.am: -- 2.11.0