From: Bruno Haible Date: Sun, 8 May 2011 22:28:38 +0000 (+0200) Subject: imaxabs: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2541 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=0fe96fd21f6c58af122cce5fd17c0920bea50f13;p=gnulib.git imaxabs: Move AC_LIBOBJ invocations to module description. * m4/imaxabs.m4 (gl_FUNC_IMAXABS): Move AC_LIBOBJ and gl_PREREQ_IMAXABS invocations from here... * modules/imaxabs (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index efeb4c493..5a92ad9f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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... + * modules/imaxabs (configure.ac): ... to here. + +2011-05-08 Bruno Haible + getaddrinfo: Move AC_LIBOBJ invocations to module description. * m4/getaddrinfo.m4 (gl_GETADDRINFO): Set HAVE_GETADDRINFO, Move AC_LIBOBJ invocations from here... diff --git a/m4/imaxabs.m4 b/m4/imaxabs.m4 index 245035382..58e5ac853 100644 --- a/m4/imaxabs.m4 +++ b/m4/imaxabs.m4 @@ -1,4 +1,4 @@ -# imaxabs.m4 serial 2 +# imaxabs.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_IMAXABS], AC_CHECK_DECLS_ONCE([imaxabs]) if test "$ac_cv_have_decl_imaxabs" != yes; then HAVE_DECL_IMAXABS=0 - AC_LIBOBJ([imaxabs]) - gl_PREREQ_IMAXABS fi ]) diff --git a/modules/imaxabs b/modules/imaxabs index 8da390f73..58a229efc 100644 --- a/modules/imaxabs +++ b/modules/imaxabs @@ -10,6 +10,10 @@ inttypes-incomplete configure.ac: gl_FUNC_IMAXABS +if test $HAVE_DECL_IMAXABS = 0; then + AC_LIBOBJ([imaxabs]) + gl_PREREQ_IMAXABS +fi gl_INTTYPES_MODULE_INDICATOR([imaxabs]) Makefile.am: