This file is indexed.

/usr/lib/dunegridam2cmake.lib is in libdune-grid-dev 2.5.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
# -*-sh-*-

##########################################
###
### Function for converting configure options
### to CMake options for dune-grid
###
##########################################

# CMake Packages are case sensitive
# This is a list of packages whose names converted
# to lower case are used for configures
# --with-<package> or without-<package> options
#

dune_grid_options_am2cmake(){
    CMAKE_PACKAGES="AmiraMesh Alberta Psurface UG"
    default_am2cmake_options $CMAKE_PACKAGES

    # Check for --enable-experimental-grid-extensions
    echo $PARAMS | grep \\-\\-enable-experimental-grid-extensions > /dev/null
    if test "$?" -eq 0 ; then
        CMAKE_PARAMS="$CMAKE_PARAMS -DENABLE_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE"
    fi

    # Check for --enable-extra-utils
    echo $PARAMS | grep \\-\\-enable-extra-utils > /dev/null
    if test "$?" -eq 0 ; then
        CMAKE_PARAMS="$CMAKE_PARAMS -DENABLE_GRID_EXTRA_UTILS:BOOL=TRUE"
    fi
}