This file is indexed.

/usr/share/dune/aclocal/dune_all.m4 is in libdune-common-dev 2.4.1-1.

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
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
## -*- autoconf -*-

# this meta-check calls everything needed for Dune to work and all
# possible components. Applications should use this so that
# Dune-updates enable new features automagically

# the entries are more or less copied from an "autoscan"-run in the
# dune-directory
AC_DEFUN([DUNE_CHECK_ALL],[
  # doxygen and latex take a lot of time...
  AC_REQUIRE([DUNE_DOCUMENTATION])

  # check the compilers (before using libtool !!!)
  AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  AC_REQUIRE([AC_PROG_CC])
  AC_REQUIRE([AC_PROG_CPP])
  AC_REQUIRE([AC_PROG_CXX])
  AC_REQUIRE([AC_PROG_CXXCPP])
  AC_REQUIRE([DUNE_SYNC_FC_F77])
  AC_LANG_PUSH([Fortran])
  AC_REQUIRE([__AC_FC_NAME_MANGLING])
  AC_LANG_POP([Fortran])
  AC_REQUIRE([AC_PROG_F77])
  AC_REQUIRE([AC_PROG_FC])
  # don't build shared libs per default, this is way better for debugging...
  AC_REQUIRE([AC_DISABLE_SHARED])
  # we need libtool
dnl do not use LT_INIT since we want to be compatible with libtool 1.5
  AC_REQUIRE([AC_PROG_LIBTOOL])

  dnl check dependencies of this module
  dnl this test is autogenerated for each module
  AC_REQUIRE([DUNE_CHECK_MOD_DEPENDENCIES])

  # convenience-variables if every found package should be used
  AC_SUBST([ALL_PKG_LIBS], "$ALL_PKG_LIBS $LIBS")
  AC_SUBST([ALL_PKG_LDFLAGS], "$LDFLAGS $ALL_PKG_LDFLAGS")
  AC_SUBST([ALL_PKG_CPPFLAGS], "$CPPFLAGS $ALL_PKG_CPPFLAGS")
  
  # convenience variables for all basic dune packages without extras
  AC_SUBST([DUNE_CPPFLAGS])
  AC_SUBST([DUNE_LDFLAGS])
  AC_SUBST([DUNE_LIBS])

  AC_SUBST([ACLOCAL_AMFLAGS], "$ACLOCAL_AMFLAGS")

  AC_SUBST([abs_srcdir])
  AC_SUBST([abs_top_srcdir])
  AC_SUBST([abs_builddir])
  AC_SUBST([abs_top_builddir])
  AC_SUBST(am_dir, $DUNE_COMMON_ROOT/am)
])

AC_DEFUN([DUNE_ADD_SUMMARY_ENTRY],[
  indentlen=24
  txt="$1"
  while test `echo "$txt" | tr -d '\n' | wc -c` -lt $indentlen; do txt="$txt."; done
  txt="$txt: $2"
  [DUNE_SUMMARY="$DUNE_SUMMARY echo '$txt';"]
  fulltxt="$txt"
  AS_IF([ test "x$3" != "x" ],[ fulltxt="$fulltxt  ($3)" ])
  [DUNE_FULLSUMMARY="$DUNE_FULLSUMMARY echo '$fulltxt';"]
])

AC_DEFUN([DUNE_ADD_SUMMARY_MOD_ENTRY],[
  indentlen=24
  txt=$1
  while test `echo $txt | tr -d '\n' | wc -c` -lt $indentlen; do txt=$txt.; done
  txt="$txt: $2"
  [DUNE_MODULES_SUMMARY="$DUNE_MODULES_SUMMARY echo '$txt';"]
  fulltxt="$txt"
  AS_IF([ test "x$3" != "x" ],[ fulltxt="$fulltxt  ($3)" ])
  [DUNE_MODULES_FULLSUMMARY="$DUNE_MODULES_FULLSUMMARY echo '$fulltxt';"]
])

AC_DEFUN([DUNE_SUMMARY_ALL],[
  # show search results
  AC_REQUIRE([DUNE_OFFICIAL_TARBALLS])

  echo
  echo "Found the following Dune-components: "
  echo
  echo "----------------------------------------"
  echo  
  [(eval $DUNE_MODULES_SUMMARY) | sort]
  [(eval $DUNE_SUMMARY) | sort]
  echo
  echo "----------------------------------------"
  echo
  
  AS_IF([test "x$enable_officialtarballs" = "xyes"],[
    echo Dune official tarball mode!
    echo
    echo "----------------------------------------"
    echo
  ])

  echo "See ./configure --help and config.log for reasons why a component wasn't found"
  echo

  {
    echo
    echo "------------------------------------------------------------------------------"
    echo "-                                  SUMMARY                                   -"
    echo "------------------------------------------------------------------------------"
    echo  
    [(eval $DUNE_MODULES_FULLSUMMARY) | sort]
    echo
    [(eval $DUNE_FULLSUMMARY) | sort]
    echo
    echo "------------------------------------------------------------------------------"
    echo
  } >&AS_MESSAGE_LOG_FD
])

AC_DEFUN([DUNE_OFFICIAL_TARBALLS],[
  AC_ARG_ENABLE(officialtarballs,
    AS_HELP_STRING([--enable-officialtarballs],[enforce configuration necessary for official tarballs]))
])