This file is indexed.

/usr/bin/fvwm-config is in fvwm 1:2.6.5.ds-4.1.

This file is owned by root:root, with mode 0o755.

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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
#!/bin/sh

# Querying fvwm installation. Author: Mikhael Goikhman.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

PACKAGE="fvwm"
VERSION="2.6.5"
script=`basename $0`

usage()
{
	cat <<EOF
This script is a part of $PACKAGE-$VERSION package.

Usage: $script [OPTIONS]
Options:
	[-h]	[--help] [-?]
	[-v]	[--version] [-V]
	[-i]	[--info]

	[-P]	[--prefix]
	[-E]	[--exec-prefix]
	[-B]	[--bindir]
	    	[--datarootdir]
	[-D]	[--datadir]
	[-L]	[--libexecdir]
	[-S]	[--sysconfdir]
	[-M]	[--mandir]
	[-O]    [--localedir]

	[-m]	[--fvwm-moduledir]
	[-d]	[--fvwm-datadir]
	[-p]	[--fvwm-perllibdir]
	[-I]	[--default-imagepath]
	[-U]	[--default-userdir]

	[-e]	[--fvwm-exe]     print fvwm executable name (in bindir)
	[-s]	[--supports]     list supported features, one per line
	[--supports-<feature>]   return: 0 (yes), 100 (no), 200 (unknown)
EOF
	exit $1
}

if test $# -eq 0; then
	usage 1 1>&2
fi

prefix="/usr"
exec_prefix="${prefix}"
bindir="${exec_prefix}/bin"
datarootdir="${prefix}/share"
datadir="${datarootdir}"
libexecdir="/usr/lib"
sysconfdir="/etc"
mandir="${prefix}/share/man"
localedir="${datadir}/locale"

fvwm_moduledir="${libexecdir}/fvwm/2.6.5"
fvwm_datadir="${datadir}/fvwm"
fvwm_perllibdir="${datadir}/fvwm/perllib"
fvwm_imagepath="/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
fvwm_userdir='$HOME/.fvwm'
fvwm_exe='fvwm'

VERSIONINFO=""
release_date="2012-04-20"

with_bidi=yes
with_gettext=yes
with_gtk=no
with_gdkimlib=yes
with_gnomelibs=no
with_iconv=yes
with_perllib=yes
with_png=yes
with_readline=yes
with_rplay=yes
with_rsvg=yes
with_shape=yes
with_shm=yes
with_sm=yes
with_stroke=yes
with_xcursor=yes
with_xinerama=yes
with_xft=yes
with_xpm=yes
with_xrender=yes

while test $# -gt 0; do
	case "$1" in
		--help|-help|-h|-\?)
			usage 0 ;;

		--version|-version|-v|-V)
			echo "$VERSION" ;;

		--prefix|-prefix|-P)
			echo "$prefix" ;;

		--exec-prefix|-exec-prefix|-E)
			echo "$exec_prefix" ;;

		--bindir|-bindir|-B)
			echo "$bindir" ;;

		--datarootdir|-datarootdir)
			echo "$datarootdir" ;;

		--datadir|-datadir|-D)
			echo "$datadir" ;;

		--libexecdir|-libexecdir|-L)
			echo "$libexecdir" ;;

		--sysconfdir|-sysconfdir|-S)
			echo "$sysconfdir" ;;

		--mandir|-mandir|-M)
			echo "$mandir" ;;

		--localedir|-localedir|-O)
			echo "$localedir" ;;

		--fvwm-moduledir|-fvwm-moduledir|-m)
			echo "$fvwm_moduledir" ;;

		--fvwm-datadir|-fvwm-datadir|-d)
			echo "$fvwm_datadir" ;;

		--fvwm-perllibdir|-fvwm-perllibdir|--perllibdir|-perllibdir|-p)
			echo "$fvwm_perllibdir" ;;

		--default-imagepath|-default-imagepath|-I)
			echo "$fvwm_imagepath" ;;

		--default-userdir|-default-userdir|-U)
			echo "$fvwm_userdir" ;;

		--fvwm-exe|-fvwm-exe|-e)
			echo "$fvwm_exe" ;;

		--supports|-supports|-s)
			test "$with_bidi"       = "yes" && echo "bidi"
			test "$with_gettext"    = "yes" && echo "gettext"
			test "$with_gtk"        = "yes" && echo "gtk"
			test "$with_gdkimlib"   = "yes" && echo "gdk-imlib"
			test "$with_gnomelibs"  = "yes" && echo "gnome-libs"
			test "$with_iconv"      = "yes" && echo "iconv"
			test "$with_perllib"    = "yes" && echo "perllib"
			test "$with_png"        = "yes" && echo "png"
			test "$with_readline"   = "yes" && echo "readline"
			test "$with_rplay"      = "yes" && echo "rplay"
			test "$with_rsvg"       = "yes" && echo "rsvg"
			test "$with_shape"      = "yes" && echo "shape"
			test "$with_shm"        = "yes" && echo "shm"
			test "$with_sm"         = "yes" && echo "sm"
			test "$with_stroke"     = "yes" && echo "stroke"
			test "$with_xcursor"    = "yes" && echo "xcursor"
			test "$with_xinerama"   = "yes" && echo "xinerama"
			test "$with_xft"        = "yes" && echo "xft"
			test "$with_xpm"        = "yes" && echo "xpm"
			test "$with_xrender"    = "yes" && echo "xrender"
			;;

		--supports-*)
			feature=`echo "$1" | sed 's/^--supports-//'`
			feature=`echo "$feature" | sed 's/[-_]//g'`
			test "$feature" = "gnomewm" && feature="gnomehints"
			with=`eval echo '$'with_"$feature"`
			test "$with" = "yes" && exit 0
			test "$with" = "no"  && exit 100
			exit 200
			;;

		--info|-info|-i)
			echo "Package: $PACKAGE"
			echo "Version: $VERSION$VERSIONINFO"
			echo ""
			echo "Instalation options:"
			echo "	prefix: $prefix"
			echo "	exec-prefix: $exec_prefix"
			echo "	bindir: $bindir"
			echo "	datadir: $datadir"
			echo "	libexecdir: $libexecdir"
			echo "	sysconfdir: $sysconfdir"
			echo "	mandir: $mandir"
			echo "	localedir: $localedir"
			echo ""
			echo "Compiled-in paths:"
			echo "	Module directory: $fvwm_moduledir"
			echo "	Data directory: $fvwm_datadir"
			echo "	Perl lib directory: $fvwm_perllibdir"
			echo "	Default ImagePath: $fvwm_imagepath"
			echo "	Default UserDir: $fvwm_userdir"
			echo ""
			echo "Support for features:"
			echo "	bidi (bi-directionality): $with_bidi"
			echo "	gettext (Native Lang Support): $with_gettext"
			echo "	gtk (required for FvwmGtk): $with_gtk"
			echo "	gdk-imlib (in FvwmGtk): $with_gdkimlib"
			echo "	gnome-libs (in FvwmGtk): $with_gnomelibs"
			echo "	perllib (Perl library installed): $with_perllib"
			echo "	iconv (i18n conversions): $with_iconv"
			echo "	png: $with_png"
			echo "	readline: $with_readline"
			echo "	rplay: $with_rplay"
			echo "	shape (shaped windows): $with_shape"
			echo "	shm (shared memory): $with_shm"
			echo "	sm (session management): $with_sm"
			echo "	stroke (mouse gestures): $with_stroke"
			echo "	rsvg (SVG icons and images): $with_rsvg"
			echo "	xcursor (ARGB/animated cursors): $with_xcursor"
			echo "	xinerama (multi-head): $with_xinerama"
			echo "	xft (FreeType anti-alias font): $with_xft"
			echo "	xpm: $with_xpm"
			echo "	xrender (XFree86 Xrender extention): $with_xrender"
			;;

		--is-final|-is-final)
			test "$is_final" = yes && echo yes
			test "$is_final" != yes && echo no
			;;
		*)
			echo >&2 "$script: unknown argument '$1'."
			echo >&2 "Run '$script --help' to get the usage."
			exit 1
			;;

	esac
	shift
done

exit 0