summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-29 17:09:20 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-29 17:11:24 -0400
commit469c1a1b2ef323030531b0ca05e6f9337c0bbbe6 (patch)
tree5bfe6da7e1bc6ba6675174e661884e4bc731a6c7 /configure.ac
parent83b019a3a45ff764d746588eb2839baa32257ed3 (diff)
downloadsystemtap-steved-469c1a1b2ef323030531b0ca05e6f9337c0bbbe6.tar.gz
systemtap-steved-469c1a1b2ef323030531b0ca05e6f9337c0bbbe6.tar.xz
systemtap-steved-469c1a1b2ef323030531b0ca05e6f9337c0bbbe6.zip
build fix: use boost shared_ptr if libstdc++ to old to have <tr1/memory>
* configure.ac: Look for tr1/memory and boost/shared_ptr.hpp * setupdwfl.h (shared_ptr): Define conditionally based on above. * systemtap.spec (with_boost): New parameter, default-off.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c40875f6..dfbc9c68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -547,6 +547,8 @@ AC_SUBST([PROCFLAGS])
# Use tr1/unordered_map if available
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS([tr1/unordered_map])
+AC_CHECK_HEADERS([tr1/memory])
+AC_CHECK_HEADERS([boost/shared_ptr.hpp])
AC_LANG_POP(C++)