X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstpcpy.m4;h=d32d93a873471458bdd19a5ef43af47e10e9a690;hb=89d7698a351cd36d0e7baa44ee4bea3cf56cf459;hp=bef09ed06047131a63e65294d8c8682d014d68c8;hpb=3740c324b0f14e757b73cc22d88d30c4235d1bcb;p=gnulib.git diff --git a/m4/stpcpy.m4 b/m4/stpcpy.m4 index bef09ed06..d32d93a87 100644 --- a/m4/stpcpy.m4 +++ b/m4/stpcpy.m4 @@ -1,5 +1,5 @@ -# stpcpy.m4 serial 5 -dnl Copyright (C) 2002, 2007 Free Software Foundation, Inc. +# stpcpy.m4 serial 7 +dnl Copyright (C) 2002, 2007, 2009, 2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -9,11 +9,11 @@ AC_DEFUN([gl_FUNC_STPCPY], dnl Persuade glibc to declare stpcpy(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) - dnl The stpcpy() declaration in lib/string_.h uses 'restrict'. + dnl The stpcpy() declaration in lib/string.in.h uses 'restrict'. AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) - AC_REPLACE_FUNCS(stpcpy) + AC_REPLACE_FUNCS([stpcpy]) if test $ac_cv_func_stpcpy = no; then HAVE_STPCPY=0 gl_PREREQ_STPCPY