From: mquinson Date: Wed, 15 Dec 2004 22:51:07 +0000 (+0000) Subject: Fix the ucontext detection: search for the header, not the function in libc X-Git-Tag: v3.3~4704 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/318ecb1e49f9bdd791e8ae7da5203ce017a1222a?ds=sidebyside Fix the ucontext detection: search for the header, not the function in libc git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@646 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/configure.ac b/configure.ac index a55941d6b5..ca6f9249c5 100644 --- a/configure.ac +++ b/configure.ac @@ -45,11 +45,11 @@ GRAS_CHECK_STRUCT_COMPACTION AC_HEADER_STDC AC_HEADER_TIME AC_CHECK_HEADERS([sys/socket.h winsock.h winsock2.h \ - sys/stat.h\ + sys/stat.h \ + ucontext.h \ sys/time.h ]) AC_CHECK_FUNCS([gettimeofday \ getdtablesize \ - swapcontext \ sysconf]) AC_MSG_CHECKING(how to link against winsock)