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
document the Host Management amok module
[simgrid.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
6659638
..
faf44ff
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
@@
-202,6
+203,10
@@
SG_COMPILE_FLAGS
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
+AC_SUBST([abs_builddir])
+AC_SUBST([abs_srcdir])
+AC_SUBST([abs_top_builddir])
+AC_SUBST([abs_top_srcdir])
#####################
## Check for programs
#####################
## Check for programs
@@
-233,6
+238,12
@@
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
##