This file is indexed.

/usr/bin/log4cpp-config is in liblog4cpp5-dev 1.0-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
# log4cpp-config library configuration script
# generated by ac_config_libconfig_in.m4
 
template_version="1.0.0"
 
package="log4cpp"
 
# usage instructions if no options given
if test "$#" -eq 0; then
   cat <<EOF
Usage: log4cpp-config [OPTIONS]
Options:
        [--prefix[=DIR]]
        [--exec-prefix[=DIR]]
        [--package]
        [--version]
        [--cflags]
        [--libs]
        [--help]
EOF
fi
 
# parse options
o=""
h=""
for i ; do
  case $i in
    --prefix=*) prefix=`echo $i | sed -e "s/--prefix=//"` ;;
    --exec-prefix=*) exec_prefix=`echo $i | sed -e "s/--exec-prefix=//"` ;;
    --eprefix=*) exec_prefix=`echo $i | sed -e "s/--eprefix=//"` ;;
    --prefix) echo_prefix="yes" ;;
    --exec-prefix) echo_exec_prefix="yes" ;;
    --eprefix) echo_eprefix="yes" ;;
    --package) echo_package="yes" ;;
    --version) echo_version="yes" ;;
    --cflags) echo_cflags="yes" ;;
    --libs) echo_libs="yes" ;;
    --bindir) echo_bindir="yes" ;;
    --sbindir) echo_sbindir="yes" ;;
    --libexecdir) echo_libexecdir="yes" ;;
    --datadir) echo_datadir="yes" ;;
    --sysconfdir) echo_sysconfdir="yes" ;;
    --sharedstatedir) echo_sharedstatedir="yes" ;;
    --localstatedir) echo_localstatedir="yes" ;;
    --libdir) echo_libdir="yes" ;;
    --infodir) echo_infodir="yes" ;;
    --mandir) echo_mandir="yes" ;;
    --target) echo_target="yes" ;;
    --host) echo_host="yes" ;;
    --build) echo_build="yes" ;;
    --pkgdatadir) echo_pkgdatadir="yes" ;;
    --pkglibdir) echo_pkglibdir="yes" ;;
    --pkgincludedir) echo_pkgincludedir="yes" ;;
    --template-version) echo_template_version="yes" ;;
    --help) echo_help="yes" ;;
    //*|/*//*|./*//*)        echo_extra="yes" ;;
    *) eval "echo Unknown option: $i" ; exit 1 ;;
  esac
done
 
# defaults from configure; set only if not set previously
if test -z "$prefix" ; then
  prefix="/usr"
fi
if test -z "$exec_prefix" ; then
  exec_prefix="${prefix}"
fi
if test -z "$bindir" ; then
  bindir="${exec_prefix}/bin"
fi
if test -z "$sbindir" ; then
  sbindir="${exec_prefix}/sbin"
fi
if test -z "$libexecdir" ; then
  libexecdir="${prefix}/lib/log4cpp"
fi
if test -z "$datadir" ; then
  datadir="${prefix}/share"
fi
if test -z "$sysconfdir" ; then
  sysconfdir="/etc"
fi
if test -z "$sharedstatedir" ; then
  sharedstatedir="${prefix}/com"
fi
if test -z "$localstatedir" ; then
  localstatedir="/var"
fi
if test -z "$libdir" ; then
  libdir="${exec_prefix}/lib"
fi
if test -z "$infodir" ; then
  infodir="${prefix}/share/info"
fi
if test -z "$mandir" ; then
  mandir="${prefix}/share/man"
fi
if test -z "$includedir" ; then
  includedir="${prefix}/include"
fi
if test -z "$target" ; then
  target=""
fi
if test -z "$host" ; then
  host="x86_64-pc-linux-gnu"
fi
if test -z "$build" ; then
  build="x86_64-pc-linux-gnu"
fi
 
# generate output
if test x$echo_module != xyes ; then
  echo_module_log4cpp="yes"
fi
if test x$echo_module_log4cpp = xyes ; then
  cflags="$cflags -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DNDEBUG"
  libs="$libs -llog4cpp  -lnsl "
  version="$version 1.0"
fi
if test x$echo_prefix = xyes ; then
  o=" $prefix"
fi
if test x$echo_exec_prefix = xyes ; then
  o="$o $exec_prefix"
fi
if test x$echo_eprefix = xyes ; then
  o="$o $exec_prefix"
fi
if test x$echo_package = xyes ; then
  o=" $package"
fi
if test x$echo_version = xyes ; then
  o=" $version"
fi
if test x$echo_cflags = xyes ; then
  i=`eval echo "$includedir"`
  i=`eval echo "$i"`
  if test "_$i" != "_/usr/include" ; then
    o="$o -I$includedir"
  fi
  o="$o $cflags"
fi
if test x$echo_libs = xyes ; then
  o="$o -L$libdir $libs"
fi
if test x$echo_bindir = xyes ; then
  o=" $bindir"
fi
if test x$echo_sbindir = xyes ; then
  o=" $sbindir"
fi
if test x$echo_libexecdir = xyes ; then
  o=" $libexecdir"
fi
if test x$echo_datadir = xyes ; then
  o=" $datadir"
fi
if test x$echo_sysconfdir = xyes ; then
  o=" $sysconfdir"
fi
if test x$echo_sharedstatedir = xyes ; then
  o=" $sharedstatedir"
fi
if test x$echo_localstatedir = xyes ; then
  o=" $localstatedir"
fi
if test x$echo_libdir = xyes ; then
  o=" $libdir"
fi
if test x$echo_infodir = xyes ; then
  o=" $infodir"
fi
if test x$echo_mandir = xyes ; then
  o=" $mandir"
fi
if test x$echo_target = xyes ; then
  o=" $target"
fi
if test x$echo_host = xyes ; then
  o=" $host"
fi
if test x$echo_build = xyes ; then
  o=" $build"
fi
if test x$echo_pkgdatadir = xyes ; then
  o=" ${datadir}/${package}"
fi
if test x$echo_pkglibdir = xyes ; then
  o=" ${libdir}/${package}"
fi
if test x$echo_pkgincludedir = xyes ; then
  o=" ${includedir}/${package}"
fi
if test x$echo_template_version = xyes ; then
  o="$o $template_version"
fi
if test x$echo_help = xyes ; then
  h="1"
fi
if test x$echo_extra = xyes ; then
  v=`echo $i | sed -e s://:\$:g`
  v=`eval "echo $v"`
  o="$o $v"
fi
 
# output data
o=`eval "echo $o"`
o=`eval "echo $o"`
if test -n "$o" ; then 
  eval "echo $o"
fi
 
# help text
if test ! -z "$h" ; then 
  cat <<EOF
All available options:
  --prefix=DIR and   change \$prefix and \$exec-prefix
  --exec-prefix=DIR  (affects all other options)
  --prefix           \$prefix        $prefix
  --exec_prefix  or... 
  --eprefix          \$exec_prefix   $exec_prefix
  --version          \$version       $version
  --cflags           -I\$includedir  unless it is /usr/include
  --libs             -L\$libdir \$LIBS $libs
  --package          \$package       $package
  --bindir           \$bindir        $bindir
  --sbindir          \$sbindir       $sbindir
  --libexecdir       \$libexecdir    $libexecdir
  --datadir          \$datadir       $datadir
  --sysconfdir       \$sysconfdir    $sysconfdir
  --sharedstatedir   \$sharedstatedir$sharedstatedir
  --localstatedir    \$localstatedir $localstatedir
  --libdir           \$libdir        $libdir
  --infodir          \$infodir       $infodir
  --mandir           \$mandir        $mandir
  --target           \$target        $target
  --host             \$host          $host
  --build            \$build         $build
  --pkgdatadir       \$datadir/\$package    ${datadir}/${package}
  --pkglibdir        \$libdir/\$package     ${libdir}/${package}
  --pkgincludedir    \$includedir/\$package ${includedir}/${package}
  --template-version \$template_version     $template_version
  --help
EOF
fi