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