gsasl-commit
[Top][All Lists]
Advanced

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

CVS gsasl/lib/gl/m4


From: gsasl-commit
Subject: CVS gsasl/lib/gl/m4
Date: Sat, 01 Jan 2005 17:04:52 +0100

Update of /home/cvs/gsasl/lib/gl/m4
In directory dopio:/tmp/cvs-serv19981/gl/m4

Modified Files:
        gnulib.m4 strdup.m4 
Added Files:
        lgetdelim.m4 lgetline.m4 
Log Message:
Update.

--- /home/cvs/gsasl/lib/gl/m4/gnulib.m4 2004/12/19 03:33:07     1.14
+++ /home/cvs/gsasl/lib/gl/m4/gnulib.m4 2005/01/01 16:04:52     1.15
@@ -7,11 +7,12 @@
 #
 # Generated by gnulib-tool.
 #
-# Invoked as: gnulib-tool --import
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgl --source-base=gl 
--m4-base=gl/m4 --libtool --lgpl alloca-opt base64 gettext restrict stdbool 
strdup vasnprintf vasprintf xsize
+# Invoked as: gnulib-tool --import --automatic-prototypes
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgl --source-base=gl 
--m4-base=gl/m4 --libtool --lgpl alloca-opt base64 gettext lgetdelim lgetline 
restrict size_max stdbool strdup vasnprintf vasprintf xsize
 
 AC_DEFUN([gl_EARLY],
 [
+  AC_GNU_SOURCE
 ])
 
 AC_DEFUN([gl_INIT],
@@ -19,9 +20,15 @@
   gl_FUNC_ALLOCA
   gl_FUNC_BASE64
   dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
+  lgl_FUNC_GETDELIM
+  lgl_AUTOPROTO_GETDELIM
+  lgl_FUNC_GETLINE
+  lgl_AUTOPROTO_GETLINE
   gl_C_RESTRICT
+  gl_SIZE_MAX
   AM_STDBOOL_H
   gl_FUNC_STRDUP
+  gl_AUTOPROTO_STRDUP
   gl_FUNC_VASNPRINTF
   gl_FUNC_VASPRINTF
   gl_XSIZE
--- /home/cvs/gsasl/lib/gl/m4/strdup.m4 2004/12/19 03:33:08     1.5
+++ /home/cvs/gsasl/lib/gl/m4/strdup.m4 2005/01/01 16:04:52     1.6
@@ -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])
+])

--- /home/cvs/gsasl/lib/gl/m4/lgetdelim.m4      2005/01/01 16:04:52     NONE
+++ /home/cvs/gsasl/lib/gl/m4/lgetdelim.m4      2005/01/01 16:04:52     1.1
# lgetdelim.m4 serial 1
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
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.

AC_DEFUN([lgl_FUNC_GETDELIM],
[
  dnl Persuade glibc <stdio.h> to declare getdelim.
  AC_REQUIRE([AC_GNU_SOURCE])
  AC_REPLACE_FUNCS(getdelim)
  lgl_PREREQ_GETDELIM
])

# Prerequisites of lib/getdelim.c.
AC_DEFUN([lgl_PREREQ_GETDELIM], [:])

AC_DEFUN([lgl_AUTOPROTO_GETDELIM],
[
  AC_CHECK_DECLS_ONCE(getdelim)
  AH_BOTTOM([/* Prototype for getdelim. */
#include <stddef.h>
#include <stdio.h>
#include <sys/types.h>
#if !HAVE_DECL_GETDELIM
extern ssize_t getdelim (char **_lineptr, size_t *_linesize, int _delimiter,
                          FILE *_stream);
#endif])
])
--- /home/cvs/gsasl/lib/gl/m4/lgetline.m4       2005/01/01 16:04:52     NONE
+++ /home/cvs/gsasl/lib/gl/m4/lgetline.m4       2005/01/01 16:04:52     1.1
# lgetline.m4 serial 1
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
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.

AC_DEFUN([lgl_FUNC_GETLINE],
[
  dnl Persuade glibc <stdio.h> to declare getline.
  AC_REQUIRE([AC_GNU_SOURCE])
  AC_REPLACE_FUNCS(getline)
  lgl_PREREQ_GETLINE
])

# Prerequisites of lib/getline.c.
AC_DEFUN([lgl_PREREQ_GETLINE], [:])

AC_DEFUN([lgl_AUTOPROTO_GETLINE],
[
  AC_CHECK_DECLS_ONCE(getline)
  AH_BOTTOM([/* Prototype for getline. */
#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])
])




reply via email to

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