Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let's keep cool and polite with the users of prehistoric platforms
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 15 Dec 2004 20:33:08 +0000 (20:33 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 15 Dec 2004 20:33:08 +0000 (20:33 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@642 48e7efb5-ca39-0410-a469-dd3cf9ba447f

configure.ac

index 01812cd..a55941d 100644 (file)
@@ -49,9 +49,9 @@ AC_CHECK_HEADERS([sys/socket.h winsock.h winsock2.h \
                  sys/time.h ])
 AC_CHECK_FUNCS([gettimeofday \
                 getdtablesize \
+               swapcontext \
                 sysconf])
 
-
 AC_MSG_CHECKING(how to link against winsock)
 save_LIBS="$LIBS"
 case $host_os in
@@ -95,11 +95,6 @@ dnl A C_CHECK_LIB(pthread, pthread_mutex_lock, LIBS="$LIBS -lpthread")
 AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])
 AC_CHECK_LIB(socket, connect,    [LIBS="$LIBS -lsocket"])
 
-AC_CHECK_LIB(c,swapcontext,
-  [AC_DEFINE([USE_CONTEXT],1,[Define if GNU contexts available and you wish to use them])],
-  [AC_MSG_ERROR([[Cannot find context in your libc, go away !]])])
-
-       
 dnl ####[ maint mode ]#######################################################
 AM_MAINTAINER_MODE
 if test x$USE_MAINTAINER_MODE = xyes