diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-07 14:07:32 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:42 +1000 |
commit | cbb3c6eece5780977a2d1c9ac39ff609d48c134e (patch) | |
tree | e4d112006d3cababc2b12a7a427dd2fca14a2bbf /lib | |
parent | 62137089a0c9fd4c1081f098e84a30ed040f67c4 (diff) | |
download | samba-cbb3c6eece5780977a2d1c9ac39ff609d48c134e.tar.gz samba-cbb3c6eece5780977a2d1c9ac39ff609d48c134e.tar.bz2 samba-cbb3c6eece5780977a2d1c9ac39ff609d48c134e.zip |
build: check for backtrace
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/wscript | 2 | ||||
-rw-r--r-- | lib/util/wscript_configure | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 405e80136b..368791cf5b 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -72,7 +72,7 @@ def configure(conf): conf.CHECK_HEADERS('sys/uio.h ifaddrs.h direct.h dirent.h') conf.CHECK_HEADERS('windows.h winsock2.h ws2tcpip.h') conf.CHECK_HEADERS('resolv.h libintl.h errno.h') - conf.CHECK_HEADERS('execinfo.h gcrypt.h getopt.h iconv.h') + conf.CHECK_HEADERS('gcrypt.h getopt.h iconv.h') conf.CHECK_HEADERS('sys/inotify.h memory.h nss.h popt.h sasl/sasl.h') conf.CHECK_HEADERS('security/pam_appl.h sys/inotify.h zlib.h asm/unistd.h') diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure new file mode 100644 index 0000000000..c5744c5520 --- /dev/null +++ b/lib/util/wscript_configure @@ -0,0 +1,6 @@ + +conf.CHECK_HEADERS('execinfo.h') + +# backtrace could be in libexecinfo or in libc +conf.CHECK_FUNCS_IN('backtrace', 'execinfo') +conf.CHECK_FUNCS('backtrace') |