This file is indexed.

/usr/share/aclocal/sc_lint.m4 is in libp4est-dev 1.1-4.

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
dnl
dnl Copyright 2005-2006 Sun Microsystems, Inc.  All rights reserved.
dnl
dnl Permission is hereby granted, free of charge, to any person obtaining a
dnl copy of this software and associated documentation files (the
dnl "Software"), to deal in the Software without restriction, including
dnl without limitation the rights to use, copy, modify, merge, publish,
dnl distribute, and/or sell copies of the Software, and to permit persons
dnl to whom the Software is furnished to do so, provided that the above
dnl copyright notice(s) and this permission notice appear in all copies of
dnl the Software and that both the above copyright notice(s) and this
dnl permission notice appear in supporting documentation.
dnl
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
dnl OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
dnl HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
dnl INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
dnl FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
dnl NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
dnl WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Except as contained in this notice, the name of a copyright holder
dnl shall not be used in advertising or otherwise to promote the sale, use
dnl or other dealings in this Software without prior written authorization
dnl of the copyright holder.
dnl
dnl Renamed by Carsten Burstedde <carsten@ices.utexas.edu>

# SC_PROG_LINT()
# ----------------
# Minimum version: 1.1.0
#
# Sets up flags for source checkers such as lint and sparse if --with-lint
# is specified.   (Use --with-lint=sparse for sparse.)
# Sets $LINT to name of source checker passed with --with-lint (default: splint)
# Sets $LINT_FLAGS to flags to pass to source checker
# Sets LINT automake conditional if enabled (default: disabled)
#
# Note that MPI_INCLUDE_PATH should be defined before this function is called.
#
AC_DEFUN([SC_PROG_LINT],[

# Allow checking code with lint, sparse, etc.
AC_ARG_WITH([lint], [AS_HELP_STRING([--with-lint],
            [use static source code checker (default: splint)])],
            [use_lint=$withval], [use_lint=yes])
if test "$use_lint" = yes ; then
  use_lint="splint"
fi
if test "$use_lint" != no ; then
  AC_PATH_PROG([LINT], [$use_lint], [no])
  if test "$LINT" = no ; then
    AC_MSG_WARN([Static source code checker $use_lint not found])
    use_lint="no"
  fi
fi

if test "$use_lint" != no ; then

if test "$LINT_FLAGS" = "" ; then
    case $LINT in
      lint|*/lint)
        case $host_os in
          solaris*)
            LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
            ;;
        esac
        ;;
      splint|*/splint)
        LINT_FLAGS="-weak -fixedformalarray -badflag -preproc -unixlib"
        ;;
    esac
fi

case $LINT in
  splint|*/splint)
    LINT_FLAGS="$LINT_FLAGS -DSC_SPLINT \
                -systemdirs /usr/include:$MPI_INCLUDE_PATH"
    ;;
esac

fi

AC_SUBST(LINT)
AC_SUBST(LINT_FLAGS)
AM_CONDITIONAL(LINT, [test "$use_lint" != no])

])