A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compile pas avec les warnings, sinon
[simgrid.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
b7d6631
..
d164ed9
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-92,6
+92,11
@@
AM_CONDITIONAL(HAVE_SG,test x$HAVE_SimGrid = xyes)
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"])
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
dnl ####[ maint mode ]#######################################################
AM_MAINTAINER_MODE