From: Bruno Haible Date: Fri, 6 May 2011 10:58:23 +0000 (+0200) Subject: _Exit: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58168301a07a9d3d4046f1dfa1b785747e174420;p=pspp _Exit: Move AC_LIBOBJ invocations to module description. * m4/_Exit.m4 (gl_FUNC__EXIT): Move AC_LIBOBJ and gl_PREREQ__EXIT invocations from here... * modules/_Exit (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index af32cd358b..efd0b791f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-06 Bruno Haible + + _Exit: Move AC_LIBOBJ invocations to module description. + * m4/_Exit.m4 (gl_FUNC__EXIT): Move AC_LIBOBJ and gl_PREREQ__EXIT + invocations from here... + * modules/_Exit (configure.ac): ... to here. + 2011-05-21 Bruno Haible euidaccess: Respect rules for use of AC_LIBOBJ. diff --git a/m4/_Exit.m4 b/m4/_Exit.m4 index 329b8cdd73..dec5c6d64e 100644 --- a/m4/_Exit.m4 +++ b/m4/_Exit.m4 @@ -1,4 +1,4 @@ -# _Exit.m4 serial 1 +# _Exit.m4 serial 2 dnl Copyright (C) 2010-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__EXIT], AC_CHECK_FUNCS([_Exit]) if test $ac_cv_func__Exit = no; then HAVE__EXIT=0 - AC_LIBOBJ([_Exit]) - gl_PREREQ__EXIT fi ]) diff --git a/modules/_Exit b/modules/_Exit index 2b5cc084b2..179a02b100 100644 --- a/modules/_Exit +++ b/modules/_Exit @@ -10,6 +10,10 @@ stdlib configure.ac: gl_FUNC__EXIT +if test $HAVE__EXIT = 0; then + AC_LIBOBJ([_Exit]) + gl_PREREQ__EXIT +fi gl_STDLIB_MODULE_INDICATOR([_Exit]) Makefile.am: