shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS shishi/gl/m4


From: shishi-commit
Subject: CVS shishi/gl/m4
Date: Sun, 02 Jan 2005 01:18:39 +0100

Update of /home/cvs/shishi/gl/m4
In directory dopio:/tmp/cvs-serv26482/gl/m4

Modified Files:
        getline.m4 gnulib.m4 strdup.m4 
Log Message:
Update.

--- /home/cvs/shishi/gl/m4/getline.m4   2004/12/18 16:21:15     1.3
+++ /home/cvs/shishi/gl/m4/getline.m4   2005/01/02 00:18:38     1.4
@@ -1,6 +1,6 @@
 # getline.m4 serial 10
 
-dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
+dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
 dnl Foundation, Inc.
 
 dnl This file is free software, distributed under the terms of the GNU
@@ -67,19 +67,6 @@
     gl_PREREQ_GETLINE
     gl_PREREQ_GETNDELIM2
   fi
-
-  AC_CHECK_DECLS_ONCE(getline getdelim)
-  AH_BOTTOM([/* Prototype for getline and getdelim. */
-#include <stddef.h>
-#include <stdio.h>
-#include <sys/types.h>
-#if !HAVE_DECL_GETLINE
-extern ssize_t getline (char **_lineptr, size_t *_linesize, FILE *_stream);
-#endif
-#if !HAVE_DECL_GETDELIM
-extern ssize_t getdelim (char **_lineptr, size_t *_linesize, int _delimiter,
-                         FILE *_stream);
-#endif])
 ])
 
 # Prerequisites of lib/getline.c.
--- /home/cvs/shishi/gl/m4/gnulib.m4    2004/12/18 16:21:15     1.18
+++ /home/cvs/shishi/gl/m4/gnulib.m4    2005/01/02 00:18:38     1.19
@@ -7,8 +7,8 @@
 #
 # Generated by gnulib-tool.
 #
-# Invoked as: gnulib-tool --import
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl 
--m4-base=gl/m4 --libtool  alloca-opt allocsa base64 error extensions 
getaddrinfo getdate getdomainname gethostname getline getopt getpass getsubopt 
gettext gettime gettimeofday mktime progname readlink realloc restrict setenv 
stdbool strcase strchrnul strdup strndup strnlen strtok_r timegm time_r 
timespec vasnprintf vasprintf xalloc xgetdomainname xgethostname xreadlink 
xsize xstrndup xvasprintf
+# Invoked as: gnulib-tool --import --automatic-prototypes
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl 
--m4-base=gl/m4 --libtool  alloca-opt allocsa base64 error extensions 
getaddrinfo getdate getdomainname gethostname getline getopt getpass getsubopt 
gettext gettime gettimeofday mktime progname readlink realloc restrict setenv 
size_max stdbool strcase strchrnul strdup strndup strnlen strtok_r timegm 
time_r timespec vasnprintf vasprintf xalloc xgetdomainname xgethostname 
xreadlink xsize xstrndup xvasprintf
 
 AC_DEFUN([gl_EARLY],
 [
@@ -39,10 +39,12 @@
   AC_FUNC_REALLOC
   gl_C_RESTRICT
   gt_FUNC_SETENV
+  gl_SIZE_MAX
   AM_STDBOOL_H
   gl_STRCASE
   gl_FUNC_STRCHRNUL
   gl_FUNC_STRDUP
+  gl_AUTOPROTO_STRDUP
   gl_FUNC_STRNDUP
   gl_FUNC_STRNLEN
   gl_FUNC_STRTOK_R
--- /home/cvs/shishi/gl/m4/strdup.m4    2004/12/18 16:21:15     1.6
+++ /home/cvs/shishi/gl/m4/strdup.m4    2005/01/02 00:18:38     1.7
@@ -1,5 +1,5 @@
-# strdup.m4 serial 4
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# strdup.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2004, 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
@@ -10,12 +10,16 @@
 [
   AC_REPLACE_FUNCS(strdup)
   AC_CHECK_DECLS_ONCE(strdup)
-  AH_BOTTOM([/* Prototype for strdup. */
-#if !HAVE_DECL_STRDUP
-extern char *strdup (const char *s);
-#endif])
   gl_PREREQ_STRDUP
 ])
 
 # Prerequisites of lib/strdup.c.
 AC_DEFUN([gl_PREREQ_STRDUP], [:])
+
+AC_DEFUN([gl_AUTOPROTO_STRDUP],
+[
+  AH_BOTTOM([/* Prototype for strdup. */
+#if !HAVE_DECL_STRDUP
+extern char *strdup (const char *s);
+#endif])
+])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]