This file is indexed.

/usr/share/tcltk/critcl-app3.1.8/tea/aclocal.m4 is in critcl 3.1.9-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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
#
# Include the TEA standard macro set
#

builtin(include,tclconfig/tcl.m4)

#
# Add here whatever m4 macros you want to define for your package
#

#------------------------------------------------------------------------
# CRITCL_TEA_PUBLIC_PACKAGE_HEADERS --
#
#	Locate the installed public FOO header files
#
# Arguments:
#	Name of the package to search headers for.
#
# Requires:
#	CYGPATH must be set
#
# Results:
#
#	Adds a --with-[$1]-include switch to configure.
#	Result is cached.
#
#	Substs the following vars:
#		CRITCL_API_$1_INCLUDE
#------------------------------------------------------------------------

AC_DEFUN([CRITCL_TEA_PUBLIC_PACKAGE_HEADERS],[
    # CRITCL_TEA_PUBLIC_PACKAGE_HEADERS: $1
    AC_MSG_CHECKING([for $1 public headers])
    AC_ARG_WITH([$1-include], [  --with-$1-include       directory containing the public $1 header files], [with_$1_include=${withval}])
    AC_CACHE_VAL(ac_cv_c_$1_header, [
	# Use the value from --with-$1-include, if it was given

	if test x"[$]{with_$1_include}" != x ; then
	    if test -f "[$]{with_$1_include}/$1Decls.h" ; then
		ac_cv_c_$1_header=[$]{with_$1_include}
	    else
		AC_MSG_ERROR([[$]{with_$1_include} directory does not contain $1Decls.h])
	    fi
	else
	    list=""
	    if test "`uname -s`" = "Darwin"; then
		# If $1 was built as a framework, attempt to use
		# the framework's Headers directory
		case [$]{$1_DEFS} in
		    *$1_FRAMEWORK*)
			list="`ls -d [$]{$1_BIN_DIR}/Headers 2>/dev/null`"
			;;
		esac
	    fi

	    # Check order: pkg --prefix location, Tcl's --prefix location,
	    # relative to directory of $1Config.sh.

	    eval "temp_includedir=[$]{includedir}"
	    list="[$]list \
		`ls -d [$]{temp_includedir}        2>/dev/null` \
		`ls -d [$]{$1_PREFIX}/include     2>/dev/null` \
		`ls -d [$]{$1_BIN_DIR}/../include 2>/dev/null` \
		`ls -d ${TCL_PREFIX}/include     2>/dev/null` \
		`ls -d ${TCL_BIN_DIR}/../include 2>/dev/null`"

	    if test "[$]{TEA_PLATFORM}" != "windows" -o "[$]GCC" = "yes"; then
		list="[$]list /usr/local/include /usr/include"
		if test x"[$]{$1_INCLUDE_SPEC}" != x ; then
		    d=`echo "[$]{$1_INCLUDE_SPEC}" | sed -e 's/^-I//'`
		    list="[$]list `ls -d ${d} 2>/dev/null`"
		fi
	    fi
	    for i in [$]list ; do
		if test -f "[$]i/$1/$1Decls.h" ; then
		    ac_cv_c_$1_header=[$]i
		    break
		fi
	    done
	fi
    ])

    # Print a message based on how we determined the include path
    if test x"[$]{ac_cv_c_$1_header}" = x ; then
	AC_MSG_ERROR([$1Decls.h not found.  Please specify its location with --with-$1-include])
    else
	AC_MSG_RESULT([[$]{ac_cv_c_$1_header}])
    fi

    # Convert to a native path and substitute into the transfer variable.
    # NOTE: Anything going into actual TEA would have to use A TEA_xx
    # transfer variable, instead of critcl.
    INCLUDE_DIR_NATIVE=`[$]{CYGPATH} [$]{ac_cv_c_$1_header}`
    CRITCL_API_$1_INCLUDE="\"[$]{INCLUDE_DIR_NATIVE}\""
    AC_SUBST([CRITCL_API_$1_INCLUDE])
])

#------------------------------------------------------------------------
# CRITCL_TEA_WITH_CONFIG --
#
#	Declare a --with-FOO option, with default and legal values.
#
# Arguments:
#	Name of the option.
#	List of legal values.
#	Default value.
#	Option description.
#
# Requires:
# Results:
#	Adds a --with-[$1] switch to configure.
#
#	Substs the following vars:
#		CRITCL_UCONFIG_$1
#------------------------------------------------------------------------

AC_DEFUN([CRITCL_TEA_WITH_CONFIG],[
    # CRITCL_TEA_WITH_CONFIG: $1
    AC_ARG_WITH([$1],
	AC_HELP_STRING([--with-$1],
		       [$4]),
	[with_uc_$1=${withval}])

    # Use default if user did not specify anything.
    if test x"[$]{with_uc_$1}" = x ; then
	with_uc_$1="$3"
    fi

    AC_MSG_CHECKING([Validating $1])
    tcl_ok=no
    for x in $2
    do
        if test "[$]x" = "[$]with_uc_$1" ; then
	    tcl_ok=yes
	    break
	fi
    done
    if test "[$]tcl_ok" = "no" ; then
	AC_MSG_ERROR([Illegal value [$]with_uc_$1, expected one of: $2])
    else
	AC_MSG_RESULT([[$]with_uc_$1])
    fi

    CRITCL_UCONFIG_$1="-with-$1 \"[$]with_uc_$1\""
    AC_SUBST([CRITCL_UCONFIG_$1])
])

#------------------------------------------------------------------------
# CRITCL_TEA_BOOL_CONFIG --
#
#	Declare a --disable/enable-FOO option, with default.
#
# Arguments:
#	Name of the option.
#	Default value.
#	Option description.
#
# Requires:
# Results:
#	Adds a --enable-[$1] switch to configure.
#
#	Substs the following vars:
#		CRITCL_UCONFIG_$1
#------------------------------------------------------------------------

AC_DEFUN([CRITCL_TEA_BOOL_CONFIG],[
    # CRITCL_TEA_BOOL_CONFIG: $1
    AC_ARG_ENABLE([$1],
	AC_HELP_STRING([--enable-$1],[$3]),
	[bool_uc_$1=${enableval}]
	[bool_uc_$1="$2"])

    if test "bool_uc_$1" = "yes" ; then
    	CRITCL_UCONFIG_$1="-enable $1"
    else
    	CRITCL_UCONFIG_$1="-disable $1"
    fi

    AC_SUBST([CRITCL_UCONFIG_$1])
])