From f027d4c352e944191a07b6426b1df851e9638404 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 11 Dec 2009 12:25:28 +0000 Subject: [PATCH] We need to try linking the code to detect getline, or gcc will think that this is a yet undefined external symbol git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6886 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 96f482d3a2..88bdf2a778 100644 --- a/configure.ac +++ b/configure.ac @@ -70,7 +70,7 @@ AC_CHECK_FUNCS([gettimeofday usleep \ dnl GNU systems before POSIX2008 need the _GNU_SOURCE definition to find getline (and simgrid does pass this) AC_MSG_CHECKING(a usable getline) -AC_COMPILE_IFELSE([ +AC_LINK_IFELSE([ #define _GNU_SOURCE #include int main(void){ -- 2.20.1