15
13
dnl We can't just do AC_REPLACE_FUNCS(getline) because some systems
16
14
dnl have a function by that name in -linet that doesn't have anything
17
15
dnl to do with the function we need.
21
21
AC_REQUIRE([AC_GNU_SOURCE])
25
27
dnl Found it in some library. Verify that it works.
27
29
am_cv_func_working_getline=no)
29
31
AC_CACHE_CHECK([for working getline function], am_cv_func_working_getline,
30
32
[echo fooN |tr -d '\012'|tr N '\012' > conftest.data