[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/gl/m4
From: |
gsasl-commit |
Subject: |
CVS gsasl/gl/m4 |
Date: |
Sun, 19 Dec 2004 17:34:31 +0100 |
Update of /home/cvs/gsasl/gl/m4
In directory dopio:/tmp/cvs-serv1690/gl/m4
Modified Files:
getline.m4 strdup.m4
Log Message:
Update.
--- /home/cvs/gsasl/gl/m4/getline.m4 2004/08/07 21:59:41 1.3
+++ /home/cvs/gsasl/gl/m4/getline.m4 2004/12/19 16:34:31 1.4
@@ -1,6 +1,6 @@
# getline.m4 serial 10
-dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
+dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
dnl Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
@@ -67,6 +67,19 @@
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/gsasl/gl/m4/strdup.m4 2004/08/07 15:03:01 1.8
+++ /home/cvs/gsasl/gl/m4/strdup.m4 2004/12/19 16:34:31 1.9
@@ -10,6 +10,10 @@
[
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
])