diff options
Diffstat (limited to 'lib/util/fault.m4')
-rw-r--r-- | lib/util/fault.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/fault.m4 b/lib/util/fault.m4 new file mode 100644 index 0000000000..b24e63641c --- /dev/null +++ b/lib/util/fault.m4 @@ -0,0 +1,5 @@ +AC_CHECK_HEADERS(execinfo.h) +AC_SEARCH_LIBS_EXT(backtrace, [execinfo], EXECINFO_LIBS) +AC_CHECK_FUNC_EXT(backtrace, $EXECINFO_LIBS) +SMB_EXT_LIB(EXECINFO,[${EXECINFO_LIBS}]) +SMB_ENABLE(EXECINFO) |