diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-09-29 17:09:20 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-09-29 17:11:24 -0400 |
commit | 469c1a1b2ef323030531b0ca05e6f9337c0bbbe6 (patch) | |
tree | 5bfe6da7e1bc6ba6675174e661884e4bc731a6c7 /configure.ac | |
parent | 83b019a3a45ff764d746588eb2839baa32257ed3 (diff) | |
download | systemtap-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.ac | 2 |
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++) |