Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We need to try linking the code to detect getline, or gcc will think that this is...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 Dec 2009 12:25:28 +0000 (12:25 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 Dec 2009 12:25:28 +0000 (12:25 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6886 48e7efb5-ca39-0410-a469-dd3cf9ba447f

configure.ac

index 96f482d..88bdf2a 100644 (file)
@@ -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)
   
 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 <stdio.h>
     int main(void){
     #define _GNU_SOURCE
     #include <stdio.h>
     int main(void){