From 5a390fd2f6061da606368c490fd2fb90841b97be Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 31 Jan 2010 17:57:07 +0100 Subject: [PATCH] Undo last commit. Add comment instead. --- ChangeLog | 10 ++++------ m4/getline.m4 | 7 ++++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4fbc2a65b3..f94e401a92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-01-31 Bruno Haible + + * m4/getline.m4 (gl_FUNC_GETLINE): Add comment about REPLACE_GETLINE. + 2010-01-31 Bruno Haible Work around getdelim() bug on FreeBSD 8.0. @@ -12,12 +16,6 @@ a non-zero size. * doc/posix-functions/getdelim.texi: Mention the FreeBSD bug. -2010-01-31 Bruno Haible - - Avoid redundant symbol replacement. - * m4/getline.m4 (gl_FUNC_GETLINE): Set REPLACE_GETLINE only when the - function was found. - 2010-01-31 Bruno Haible Work around getline() bug on FreeBSD 8.0. diff --git a/m4/getline.m4 b/m4/getline.m4 index 996ca21655..83005600d6 100644 --- a/m4/getline.m4 +++ b/m4/getline.m4 @@ -80,9 +80,10 @@ AC_DEFUN([gl_FUNC_GETLINE], fi if test $am_cv_func_working_getline = no; then - if test $gl_getline_needs_run_time_check = yes; then - REPLACE_GETLINE=1 - fi + dnl Set REPLACE_GETLINE always: Even if we have not found the broken + dnl getline function among $LIBS, it may exist in libinet and the + dnl executable may be linked with -linet. + REPLACE_GETLINE=1 AC_LIBOBJ([getline]) gl_PREREQ_GETLINE -- 2.30.2