Mercurial > hg > octave-nkf > gnulib-hg
changeset 14926:9d2461ce0af7
atexit: Move AC_LIBOBJ invocations to module description.
* m4/atexit.m4 (gl_FUNC_ATEXIT): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_ATEXIT invocations from
here...
* modules/atexit (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 12:33:31 +0200 |
parents | 359460c86723 |
children | 5d583a346d69 |
files | ChangeLog m4/atexit.m4 modules/atexit |
diffstat | 3 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + atexit: Move AC_LIBOBJ invocations to module description. + * m4/atexit.m4 (gl_FUNC_ATEXIT): Call AC_CHECK_FUNCS instead of + AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_ATEXIT invocations from + here... + * modules/atexit (configure.ac): ... to here. + 2011-05-05 Bruno Haible <bruno@clisp.org> atoll: Move AC_LIBOBJ invocations to module description.
--- a/m4/atexit.m4 +++ b/m4/atexit.m4 @@ -1,4 +1,4 @@ -# atexit.m4 serial 3 +# atexit.m4 serial 4 dnl Copyright (C) 2002, 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, @@ -6,10 +6,7 @@ AC_DEFUN([gl_FUNC_ATEXIT], [ - AC_REPLACE_FUNCS([atexit]) - if test $ac_cv_func_atexit = no; then - gl_PREREQ_ATEXIT - fi + AC_CHECK_FUNCS([atexit]) ]) # Prerequisites of lib/atexit.c.