summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorfergus.henderson <fergushenderson@users.noreply.github.com>2009-07-24 16:31:07 +0000
committerfergus.henderson <fergushenderson@users.noreply.github.com>2009-07-24 16:31:07 +0000
commit8f268d30d81e54814d8036fbee59d25020682f60 (patch)
treeadc0450607f0fbf3d312fd86358952e861bcf11e /configure.ac
parent8ce4277885cc4a080945942672a4e00b379ab147 (diff)
downloaddistcc-git-8f268d30d81e54814d8036fbee59d25020682f60.tar.gz
Define a GNU-compatible getline() implementation,
in case we don't have getline() available. Reviewed by Craig Silverstein.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fab20b4..44921b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -381,6 +381,7 @@ AC_CHECK_FUNCS([getaddrinfo getnameinfo inet_ntop inet_ntoa])
AC_CHECK_FUNCS([strndup strsep mmap strlcpy])
AC_CHECK_FUNCS([getloadavg])
+AC_CHECK_FUNCS([getline])
AC_CHECK_DECLS([snprintf, vsnprintf, vasprintf, asprintf, strndup])