From: mquinson Date: Wed, 15 Dec 2004 20:33:08 +0000 (+0000) Subject: Let's keep cool and polite with the users of prehistoric platforms X-Git-Tag: v3.3~4708 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bc2b3dda779aba87dafc283529de7dbb54ae9a4d Let's keep cool and polite with the users of prehistoric platforms git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@642 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/configure.ac b/configure.ac index 01812cd372..a55941d6b5 100644 --- a/configure.ac +++ b/configure.ac @@ -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