windows.h winsock.h winsock2.h \
sys/time.h \
errno.h unistd.h \
- execinfo.h])
+ execinfo.h\
+ signal.h ])
AC_CHECK_FUNCS([gettimeofday usleep \
getdtablesize \
sysconf\
readv\
- popen])
+ popen\
+ signal])
# check for a working snprintf (or use xbt/snprintf.c, which comes from http://www.ijs.si/software/snprintf/)
AC_FUNC_SNPRINTF
dnl #
AC_MSG_CHECKING(what kind of backend should we use)
+
+AC_ARG_WITH(pthread, [ --with-pthread Use pthread instead of ucontext.],with_context=pthread)
+
AC_ARG_WITH(context,
[ --with-context=[ucontext/pthread] Use either (System V) swapcontext or pthread [[default=auto]].],,
with_context=auto)
src/ucontext_stack.h
examples/Makefile
examples/msg/Makefile examples/msg/run_msg_test
+ examples/simdag/Makefile
examples/gras/Makefile
examples/gras/ping/Makefile examples/gras/ping/test_sg examples/gras/ping/test_rl
examples/gras/rpc/Makefile examples/gras/rpc/test_sg examples/gras/rpc/test_rl