Patch #102469: Check for glibc's getline() extension
diff --git a/config.h.in b/config.h.in
index 17a1624..6b503fe 100644
--- a/config.h.in
+++ b/config.h.in
@@ -341,6 +341,9 @@
 /* Define if you have the gethostbyname function.  */
 #undef HAVE_GETHOSTBYNAME
 
+/* Define if you have the getline function.  */
+#undef HAVE_GETLINE
+
 /* Define if you have the getlogin function.  */
 #undef HAVE_GETLOGIN
 
diff --git a/configure b/configure
index 1942b32..a68176e 100755
--- a/configure
+++ b/configure
@@ -3962,7 +3962,7 @@
 # checks for library functions
 for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
  flock fork fsync fdatasync fpathconf ftime ftruncate \
- getgroups getlogin getpeername getpid getpwent getwd \
+ getgroups getline getlogin getpeername getpid getpwent getwd \
  kill link lstat mkfifo mktime mremap \
  nice pathconf pause plock poll pthread_init \
  putenv readlink \
diff --git a/configure.in b/configure.in
index a6f488d..bf21e51 100644
--- a/configure.in
+++ b/configure.in
@@ -956,7 +956,7 @@
 # checks for library functions
 AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r execv \
  flock fork fsync fdatasync fpathconf ftime ftruncate \
- getgroups getlogin getpeername getpid getpwent getwd \
+ getgroups getline getlogin getpeername getpid getpwent getwd \
  kill link lstat mkfifo mktime mremap \
  nice pathconf pause plock poll pthread_init \
  putenv readlink \