1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev <timur@com.bat.ru>

This commit is contained in:
Jelmer Vernooij 2007-10-08 10:05:13 +00:00 committed by Gerald (Jerry) Carter
parent 4f664939af
commit 8d4a435601
2 changed files with 6 additions and 3 deletions

View File

@ -32,7 +32,7 @@ OBJ_FILES = xfile.o \
PUBLIC_DEPENDENCIES = \
LIBTALLOC LIBCRYPTO \
SOCKET_WRAPPER EXT_NSL \
CHARSET
CHARSET EXECINFO
[SUBSYSTEM::UNIX_PRIVS]
PRIVATE_PROTO_HEADER = unix_privs.h

View File

@ -1,2 +1,5 @@
AC_CHECK_HEADER(execinfo.h)
AC_CHECK_FUNCS(backtrace)
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)