summaryrefslogtreecommitdiff
path: root/lib/util/wscript_configure
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 14:07:32 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:42 +1000
commitcbb3c6eece5780977a2d1c9ac39ff609d48c134e (patch)
treee4d112006d3cababc2b12a7a427dd2fca14a2bbf /lib/util/wscript_configure
parent62137089a0c9fd4c1081f098e84a30ed040f67c4 (diff)
downloadsamba-cbb3c6eece5780977a2d1c9ac39ff609d48c134e.tar.gz
samba-cbb3c6eece5780977a2d1c9ac39ff609d48c134e.tar.bz2
samba-cbb3c6eece5780977a2d1c9ac39ff609d48c134e.zip
build: check for backtrace
Diffstat (limited to 'lib/util/wscript_configure')
-rw-r--r--lib/util/wscript_configure6
1 files changed, 6 insertions, 0 deletions
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')