Don't set am_cv_func_working_getline before the
authorJim Meyering <jim@meyering.net>
Sat, 7 Feb 1998 09:50:58 +0000 (09:50 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 7 Feb 1998 09:50:58 +0000 (09:50 +0000)
cache-check for the same variable -- that defeated the purpose of
the test; the test program was never run.  This was a problem only
on systems with losing getline functions -- HP-UX 10.20 is one.
Reported by Bjorn Helgaas.

m4/getline.m4

index b5e20ef..2fd393f 100644 (file)
@@ -7,7 +7,6 @@ dnl to do with the function we need.
 AC_DEFUN(AM_FUNC_GETLINE,
 [dnl
   am_getline_needs_run_time_check=no
-  am_cv_func_working_getline=yes
   AC_CHECK_FUNC(getline,
                dnl Found it in some library.  Verify that it works.
                am_getline_needs_run_time_check=yes,