]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
gnu_stpncpy, for AIX.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Jan 2005 11:31:56 +0000 (11:31 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:05 +0000 (12:12 +0200)
gettext-tools/m4/ChangeLog
gettext-tools/m4/stpncpy.m4

index 349d9d14a7fbba5727e010cd7f64f93b7ffb1559..463d30294b0527a37d82840a362158a7efafe27a 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * stpncpy.m4 (gl_FUNC_STPNCPY): Rename the replacement function to
+       gnu_stpncpy. Needed for AIX.
+
 2005-01-08  Bruno Haible  <bruno@clisp.org>
 
        * libgrep.m4: New file.
index aebfe739b9b8df5ed7195c5e4fce52cba6e651f8..74b807cb043c06501f51e0e3fae8b97e64c78a29 100644 (file)
@@ -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