strnlen: Fix a C++ test error on MacOS X and Solaris.
[pspp] / m4 / getline.m4
index 7fca58ecf279b7ab238e3b230a5dcc1310d668cf..83005600d65b23657095a15d8b6d246d62f8da0e 100644 (file)
@@ -80,6 +80,9 @@ AC_DEFUN([gl_FUNC_GETLINE],
   fi
 
   if test $am_cv_func_working_getline = no; then
+    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])