Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / getline
index 07ab835..72e77ab 100644 (file)
@@ -2,30 +2,29 @@ Description:
 Read a line from a stream.
 
 Files:
-lib/getline.h
 lib/getline.c
-lib/getndelim2.h
-lib/getndelim2.c
 m4/getline.m4
-m4/getndelim2.m4
-m4/ssize_t.m4
 
 Depends-on:
-unlocked-io
+stdio
+extensions
+getdelim        [test $REPLACE_GETLINE = 1]
 
 configure.ac:
-AM_FUNC_GETLINE
+gl_FUNC_GETLINE
+if test $REPLACE_GETLINE = 1; then
+  AC_LIBOBJ([getline])
+  gl_PREREQ_GETLINE
+fi
+gl_STDIO_MODULE_INDICATOR([getline])
 
 Makefile.am:
-lib_SOURCES += getline.h
-EXTRA_DIST += getndelim2.h getndelim2.c
 
 Include:
-"getline.h"
+<stdio.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
-all
-
+Simon Josefsson