Mercurial > hg > octave-lojdl > gnulib-hg
changeset 4961:d2eab0a08b37
Improved strdup, from Simon Josefsson.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 25 Feb 2004 19:39:07 +0000 |
parents | d96732d6b479 |
children | 6bec4bfbd56e |
files | m4/ChangeLog m4/strdup.m4 |
diffstat | 2 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2004-01-18 Simon Josefsson <jas@extundo.com> + + * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared. + 2004-02-18 Bruno Haible <bruno@clisp.org> * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
--- a/m4/strdup.m4 +++ b/m4/strdup.m4 @@ -1,5 +1,5 @@ -# strdup.m4 serial 2 -dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# strdup.m4 serial 3 +dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program @@ -14,8 +14,7 @@ fi ]) -# Prerequisites of lib/strdup.c. +# Prerequisites of lib/strdup.h and lib/strdup.c. AC_DEFUN([gl_PREREQ_STRDUP], [ - : + AC_CHECK_DECLS(strdup) ]) -