X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstrdup.m4;h=6e64bc80fc3d1d6c7045b44c3f0ee2a454408e13;hb=ea9f84c5f1468ca1204077db881ef9f7d25205b6;hp=08087063d82dd84d931a8007c6b257aa983d85cf;hpb=53b8fa05726a7fb30010e42ce02e44a35f0d7489;p=gnulib.git diff --git a/m4/strdup.m4 b/m4/strdup.m4 index 08087063d..6e64bc80f 100644 --- a/m4/strdup.m4 +++ b/m4/strdup.m4 @@ -1,5 +1,5 @@ -# strdup.m4 serial 1 -dnl Copyright (C) 2002 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,9 +14,7 @@ AC_DEFUN([gl_FUNC_STRDUP], fi ]) -# Prerequisites of lib/strdup.c. +# Prerequisites of lib/strdup.h and lib/strdup.c. AC_DEFUN([gl_PREREQ_STRDUP], [ - AC_REQUIRE([AC_HEADER_STDC]) - : + AC_CHECK_DECLS(strdup) ]) -