Add prelim backtrace support detection in build
This commit is contained in:
parent
55aa5bbcfe
commit
bc59b72fa9
@ -27,7 +27,6 @@ UTIL_INCLUDE = \
|
|||||||
version.hpp
|
version.hpp
|
||||||
|
|
||||||
UTIL_FILES = \
|
UTIL_FILES = \
|
||||||
backtrace.cpp \
|
|
||||||
debug.cpp \
|
debug.cpp \
|
||||||
except.cpp \
|
except.cpp \
|
||||||
float.cpp \
|
float.cpp \
|
||||||
@ -44,6 +43,12 @@ UTIL_FILES = \
|
|||||||
vector.cpp \
|
vector.cpp \
|
||||||
version.cpp
|
version.cpp
|
||||||
|
|
||||||
|
|
||||||
|
if HAVE_EXECINFO
|
||||||
|
UTIL_FILES += backtrace_execinfo.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
CLEANFILES = json.cpp version.cpp ip.cpp
|
CLEANFILES = json.cpp version.cpp ip.cpp
|
||||||
EXTRA_DIST = json.cpp.rl version.cpp.rl ip.cpp.rl
|
EXTRA_DIST = json.cpp.rl version.cpp.rl ip.cpp.rl
|
||||||
|
|
||||||
|
@ -67,9 +67,13 @@ AC_C_INLINE
|
|||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
##
|
##
|
||||||
## stdlib features
|
## platform features
|
||||||
AC_FUNC_MMAP
|
AC_FUNC_MMAP
|
||||||
|
|
||||||
|
AC_CHECK_HEADER([execinfo.h], [break], [AC_MSG_ERROR([Missing backtrace support])])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([HAVE_EXECINFO], [test x$ac_cv_header_execinfo_h = "xyes"])
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## Documentation
|
## Documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user