mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07: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:
parent
4f664939af
commit
8d4a435601
@ -32,7 +32,7 @@ OBJ_FILES = xfile.o \
|
|||||||
PUBLIC_DEPENDENCIES = \
|
PUBLIC_DEPENDENCIES = \
|
||||||
LIBTALLOC LIBCRYPTO \
|
LIBTALLOC LIBCRYPTO \
|
||||||
SOCKET_WRAPPER EXT_NSL \
|
SOCKET_WRAPPER EXT_NSL \
|
||||||
CHARSET
|
CHARSET EXECINFO
|
||||||
|
|
||||||
[SUBSYSTEM::UNIX_PRIVS]
|
[SUBSYSTEM::UNIX_PRIVS]
|
||||||
PRIVATE_PROTO_HEADER = unix_privs.h
|
PRIVATE_PROTO_HEADER = unix_privs.h
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
AC_CHECK_HEADER(execinfo.h)
|
AC_CHECK_HEADERS(execinfo.h)
|
||||||
AC_CHECK_FUNCS(backtrace)
|
AC_SEARCH_LIBS_EXT(backtrace, [execinfo], EXECINFO_LIBS)
|
||||||
|
AC_CHECK_FUNC_EXT(backtrace, $EXECINFO_LIBS)
|
||||||
|
SMB_EXT_LIB(EXECINFO,[${EXECINFO_LIBS}])
|
||||||
|
SMB_ENABLE(EXECINFO)
|
||||||
|
Loading…
Reference in New Issue
Block a user