From: Bruno Haible Date: Mon, 17 Jan 2005 11:31:56 +0000 (+0000) Subject: gnu_stpncpy, for AIX. X-Git-Tag: v0.14.2~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c5d3edd11511304d70774b1b584c30ddf1cc00;p=thirdparty%2Fgettext.git gnu_stpncpy, for AIX. --- diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index 349d9d14a..463d30294 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/m4/ChangeLog @@ -1,3 +1,8 @@ +2005-01-14 Bruno Haible + + * stpncpy.m4 (gl_FUNC_STPNCPY): Rename the replacement function to + gnu_stpncpy. Needed for AIX. + 2005-01-08 Bruno Haible * libgrep.m4: New file. diff --git a/gettext-tools/m4/stpncpy.m4 b/gettext-tools/m4/stpncpy.m4 index aebfe739b..74b807cb0 100644 --- a/gettext-tools/m4/stpncpy.m4 +++ b/gettext-tools/m4/stpncpy.m4 @@ -1,5 +1,5 @@ -# stpncpy.m4 serial 1 -dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. +# stpncpy.m4 serial 2 +dnl Copyright (C) 2002-2003, 2005 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 @@ -51,6 +51,8 @@ int main () { AC_DEFINE(HAVE_STPNCPY, 1, [Define if you have the stpncpy() function and it works.]) else + AC_DEFINE([stpncpy], [gnu_stpncpy], + [Define to a replacement function name for stpncpy().]) AC_LIBOBJ([stpncpy]) gl_PREREQ_STPNCPY fi