Mercurial > hg > octave-lyh > gnulib-hg
changeset 15028:34c3292ae98c
malloc-*: Move AC_LIBOBJ invocations to module description.
* m4/malloc.m4 (gl_REPLACE_MALLOC): Remove macro.
(gl_FUNC_MALLOC_GNU, gl_FUNC_MALLOC_POSIX): Inline it here. Move
AC_LIBOBJ invocations from here...
* modules/malloc-gnu (configure.ac): ... to here.
* modules/malloc-posix (configure.ac): ... and here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 14:10:51 +0200 |
parents | 475b62531f9b |
children | cf9240465bb0 |
files | ChangeLog m4/malloc.m4 modules/malloc-gnu modules/malloc-posix |
diffstat | 4 files changed, 18 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + malloc-*: Move AC_LIBOBJ invocations to module description. + * m4/malloc.m4 (gl_REPLACE_MALLOC): Remove macro. + (gl_FUNC_MALLOC_GNU, gl_FUNC_MALLOC_POSIX): Inline it here. Move + AC_LIBOBJ invocations from here... + * modules/malloc-gnu (configure.ac): ... to here. + * modules/malloc-posix (configure.ac): ... and here. + 2011-05-21 Bruno Haible <bruno@clisp.org> lstat, openat: Respect rules for use of AC_LIBOBJ.
--- a/m4/malloc.m4 +++ b/m4/malloc.m4 @@ -1,4 +1,4 @@ -# malloc.m4 serial 12 +# malloc.m4 serial 13 dnl Copyright (C) 2007, 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, @@ -17,7 +17,7 @@ [Define to 1 if your system has a GNU libc compatible 'malloc' function, and to 0 otherwise.])], [AC_DEFINE([HAVE_MALLOC_GNU], [0]) - gl_REPLACE_MALLOC + REPLACE_MALLOC=1 ]) ]) @@ -33,7 +33,7 @@ AC_DEFINE([HAVE_MALLOC_POSIX], [1], [Define if the 'malloc' function is POSIX compliant.]) else - gl_REPLACE_MALLOC + REPLACE_MALLOC=1 fi ]) @@ -58,9 +58,3 @@ [gl_cv_func_malloc_posix=no]) ]) ]) - -AC_DEFUN([gl_REPLACE_MALLOC], -[ - AC_LIBOBJ([malloc]) - REPLACE_MALLOC=1 -])