diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/_Exit.m4 | 4 | ||||
-rw-r--r-- | modules/_Exit | 4 |
3 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2011-05-06 Bruno Haible <bruno@clisp.org> + + _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 <bruno@clisp.org> 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: |