From: Bruno Haible Date: Sun, 8 May 2011 22:28:38 +0000 (+0200) Subject: imaxabs: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe96fd21f6c58af122cce5fd17c0920bea50f13;p=pspp 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 efeb4c4934..5a92ad9f19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/m4/imaxabs.m4 b/m4/imaxabs.m4 index 2450353822..58e5ac8534 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 8da390f736..58a229efc6 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: