This file is indexed.

/usr/share/dune/aclocal/make_shared.m4 is in libdune-common-dev 2.2.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
AC_DEFUN([MAKE_SHARED],[
  AC_REQUIRE([SHARED_PTR])
  AS_IF([test "$SHARED_PTR_NAMESPACE" = "boost"],[
    AC_CHECK_HEADER([boost/make_shared.hpp],
      [AC_DEFINE([HAVE_BOOST_MAKE_SHARED_HPP], [1],
      [Define to 1 if you have <boost/make_shared.hpp>.])
    ])
  ])
  AC_CACHE_CHECK([whether SHARED_PTR_NAMESPACE ($SHARED_PTR_NAMESPACE) provides make_shared], 
    dune_cv_make_shared, [
    AC_LANG_PUSH([C++])
    AC_COMPILE_IFELSE(
      [AC_LANG_PROGRAM([[
#if defined(HAVE_MEMORY)
# include <memory>
#endif
#if defined(HAVE_TR1_MEMORY)
# include <tr1/memory>
#endif
#if defined(HAVE_BOOST_SHARED_PTR_HPP) && defined(HAVE_BOOST_MAKE_SHARED_HPP)
# include <boost/shared_ptr.hpp>
# include <boost/make_shared.hpp>
#endif
#include <string>
            ]],[[
$SHARED_PTR_NAMESPACE::make_shared<int>(3);
            ]])],
      dune_cv_make_shared=yes,
      dune_cv_make_shared=no)
    AC_LANG_POP
  ])
  AS_IF([test "$dune_cv_make_shared" = "yes"],[
    AC_DEFINE([HAVE_MAKE_SHARED], [1],
                        [Define to 1 if SHARED_PTR_NAMESPACE::make_shared is usable.])])
])