2010-01-31 Bruno Haible <bruno@clisp.org>
+ * m4/getline.m4 (gl_FUNC_GETLINE): Add comment about REPLACE_GETLINE.
+
+2010-01-31 Bruno Haible <bruno@clisp.org>
+
Work around getdelim() bug on FreeBSD 8.0.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Test whether getdelim supports an
initially NULL line. Set REPLACE_GETDELIM if getdelim exists but does
2010-01-31 Bruno Haible <bruno@clisp.org>
- Avoid redundant symbol replacement.
- * m4/getline.m4 (gl_FUNC_GETLINE): Set REPLACE_GETLINE only when the
- function was found.
-
-2010-01-31 Bruno Haible <bruno@clisp.org>
-
Work around getline() bug on FreeBSD 8.0.
* m4/getline.m4 (gl_FUNC_GETLINE): Also test result for a NULL buffer
and a non-zero size.
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