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
Also display the pid on backtraces
[simgrid.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
9ceaa7f
..
0776358
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-40,7
+40,8
@@
AC_CHECK_HEADERS([sys/socket.h \
AC_CHECK_FUNCS([gettimeofday usleep \
getdtablesize \
sysconf\
AC_CHECK_FUNCS([gettimeofday usleep \
getdtablesize \
sysconf\
- readv])
+ readv\
+ popen])
# check for a working snprintf (or use xbt/snprintf.c, which comes from http://www.ijs.si/software/snprintf/)
AC_FUNC_SNPRINTF
# check for a working snprintf (or use xbt/snprintf.c, which comes from http://www.ijs.si/software/snprintf/)
AC_FUNC_SNPRINTF
@@
-233,12
+234,18
@@
then
fi
fi
fi
fi
+# Can we extract really usable backtraces? (also need the popen function)
+AC_PATH_PROG(ADDR2LINE, addr2line)
+if test x$ADDR2LINE != x ; then
+ AC_DEFINE_UNQUOTED(ADDR2LINE,"$ADDR2LINE",[Path to the addr2line tool])
+fi
+
###################
## Makes the output
##
###################
## Makes the output
##
-#
examples/pastry/Makefile examples/pastry/test_sg
+#
# examples/gras/chord/Makefile examples/gras/chord/test_sg examples/gras/chord/test_rl
# src/amok/Makefile
# examples/gras/chord/Makefile examples/gras/chord/test_sg examples/gras/chord/test_rl
# src/amok/Makefile
@@
-252,6
+259,7
@@
AC_CONFIG_FILES([
examples/msg/Makefile examples/msg/run_msg_test
examples/gras/Makefile
examples/gras/ping/Makefile examples/gras/ping/test_sg examples/gras/ping/test_rl
examples/msg/Makefile examples/msg/run_msg_test
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
examples/gras/timer/Makefile examples/gras/timer/test_sg examples/gras/timer/test_rl
examples/gras/chrono/Makefile examples/gras/chrono/test_sg examples/gras/chrono/test_rl
examples/gras/tokenS/Makefile examples/gras/tokenS/test_sg examples/gras/tokenS/test_rl
examples/gras/timer/Makefile examples/gras/timer/test_sg examples/gras/timer/test_rl
examples/gras/chrono/Makefile examples/gras/chrono/test_sg examples/gras/chrono/test_rl
examples/gras/tokenS/Makefile examples/gras/tokenS/test_sg examples/gras/tokenS/test_rl
@@
-259,9
+267,11
@@
AC_CONFIG_FILES([
examples/gras/p2p/Makefile
examples/gras/p2p/chord/Makefile examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl
examples/gras/p2p/Makefile
examples/gras/p2p/chord/Makefile examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl
+ examples/gras/p2p/can/Makefile examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl
examples/amok/Makefile
examples/amok/bandwidth/Makefile examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl
examples/amok/Makefile
examples/amok/bandwidth/Makefile examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl
+ examples/amok/saturate/Makefile examples/amok/saturate/test_sg examples/amok/saturate/test_rl
doc/Makefile
doc/Doxyfile
tools/graspe-slave tools/Makefile
doc/Makefile
doc/Doxyfile
tools/graspe-slave tools/Makefile
@@
-276,13
+286,16
@@
AC_CONFIG_FILES([
tools/graspe-slave tools/graspe-master \
\
examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
tools/graspe-slave tools/graspe-master \
\
examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
+ examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
\
examples/gras/ping/test_sg examples/gras/ping/test_rl \
\
examples/gras/ping/test_sg examples/gras/ping/test_rl \
+ examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
examples/gras/timer/test_sg examples/gras/timer/test_rl \
examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
examples/gras/tokenS/test_sg examples/gras/tokenS/test_rl \
examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
examples/gras/timer/test_sg examples/gras/timer/test_rl \
examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
examples/gras/tokenS/test_sg examples/gras/tokenS/test_rl \
examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
+ examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
examples/msg/run_msg_test \
; do \
test -e $file && chmod +x $file; \
examples/msg/run_msg_test \
; do \
test -e $file && chmod +x $file; \