/usr/share/dune/aclocal/dune_griddim.m4 is in libdune-grid-dev 2.3.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 | # define GRIDDIM_CPPFLAGS and add to DUNE_PKG_CPPFLAGS
# This defines GRIDDIM, WORLDDIM, and GRIDTYPE and assigns invalid values
AC_DEFUN([DUNE_GRID_DIMENSION],[
griddim_cppflags="-DGRIDDIM=$``(``GRIDDIM``)`` -DWORLDDIM=$``(``WORLDDIM``)`` -D$``(``GRIDTYPE``)``"
AC_SUBST(GRIDDIM, 0)
AC_SUBST(WORLDDIM, "$``(``GRIDDIM``)``")
AC_SUBST(GRIDTYPE, [NOGRID])
AC_SUBST(GRIDDIM_CPPFLAGS, $griddim_cppflags)
DUNE_ADD_ALL_PKG([GRIDDIM], [$griddim_cppflags])
# AC_MSG_RESULT([yes (GRIDDIM=$GRIDDIM, WORLDDIM=GRIDDIM and GRIDTYPE=$GRIDTYPE)])
])
|