~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/shared_ptr.m4

  • Committer: Monty Taylor
  • Date: 2009-03-09 21:32:58 UTC
  • mto: (923.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 928.
  • Revision ID: mordred@inaugust.com-20090309213258-5ojcva1ih6016z6v
Fixes for c++0x and shared_ptr support for Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
      do
23
23
        AC_COMPILE_IFELSE(
24
24
          [AC_LANG_PROGRAM([[
25
 
#if defined(HAVE_MEMORY) || defined(HAVE_TR1_MEMORY)
26
 
# if defined(HAVE_MEMORY)
27
 
#  include <memory>
28
 
# endif
29
 
# if defined(HAVE_TR1_MEMORY)
30
 
#  include <tr1/memory>
31
 
# endif
32
 
#else
33
 
# if defined(HAVE_BOOST_SHARED_PTR_HPP)
34
 
#  include <boost/shared_ptr.hpp>
35
 
# endif
 
25
#if defined(HAVE_MEMORY)
 
26
# include <memory>
 
27
#endif
 
28
#if defined(HAVE_TR1_MEMORY)
 
29
# include <tr1/memory>
 
30
#endif
 
31
#if defined(HAVE_BOOST_SHARED_PTR_HPP)
 
32
# include <boost/shared_ptr.hpp>
36
33
#endif
37
34
#include <string>
38
35