2
# log4shib-config library configuration script
3
# generated by ac_config_libconfig_in.m4
5
template_version="1.0.0"
9
# usage instructions if no options given
10
if test "$#" -eq 0; then
12
Usage: log4shib-config [OPTIONS]
29
--prefix=*) prefix=`echo $i | sed -e "s/--prefix=//"` ;;
30
--exec-prefix=*) exec_prefix=`echo $i | sed -e "s/--exec-prefix=//"` ;;
31
--eprefix=*) exec_prefix=`echo $i | sed -e "s/--eprefix=//"` ;;
32
--prefix) echo_prefix="yes" ;;
33
--exec-prefix) echo_exec_prefix="yes" ;;
34
--eprefix) echo_eprefix="yes" ;;
35
--package) echo_package="yes" ;;
36
--version) echo_version="yes" ;;
37
--cflags) echo_cflags="yes" ;;
38
--libs) echo_libs="yes" ;;
39
--bindir) echo_bindir="yes" ;;
40
--sbindir) echo_sbindir="yes" ;;
41
--libexecdir) echo_libexecdir="yes" ;;
42
--datadir) echo_datadir="yes" ;;
43
--sysconfdir) echo_sysconfdir="yes" ;;
44
--sharedstatedir) echo_sharedstatedir="yes" ;;
45
--localstatedir) echo_localstatedir="yes" ;;
46
--libdir) echo_libdir="yes" ;;
47
--infodir) echo_infodir="yes" ;;
48
--mandir) echo_mandir="yes" ;;
49
--target) echo_target="yes" ;;
50
--host) echo_host="yes" ;;
51
--build) echo_build="yes" ;;
52
--pkgdatadir) echo_pkgdatadir="yes" ;;
53
--pkglibdir) echo_pkglibdir="yes" ;;
54
--pkgincludedir) echo_pkgincludedir="yes" ;;
55
--template-version) echo_template_version="yes" ;;
56
--help) echo_help="yes" ;;
57
//*|/*//*|./*//*) echo_extra="yes" ;;
58
*) eval "echo Unknown option: $i" ; exit 1 ;;
62
# defaults from configure; set only if not set previously
63
if test -z "$prefix" ; then
66
if test -z "$exec_prefix" ; then
67
exec_prefix="@exec_prefix@"
69
if test -z "$bindir" ; then
72
if test -z "$sbindir" ; then
75
if test -z "$libexecdir" ; then
76
libexecdir="@libexecdir@"
78
if test -z "$datadir" ; then
81
if test -z "$sysconfdir" ; then
82
sysconfdir="@sysconfdir@"
84
if test -z "$sharedstatedir" ; then
85
sharedstatedir="@sharedstatedir@"
87
if test -z "$localstatedir" ; then
88
localstatedir="@localstatedir@"
90
if test -z "$libdir" ; then
93
if test -z "$infodir" ; then
96
if test -z "$mandir" ; then
99
if test -z "$includedir" ; then
100
includedir="@includedir@"
102
if test -z "$target" ; then
105
if test -z "$host" ; then
108
if test -z "$build" ; then
113
if test x$echo_module != xyes ; then
114
echo_module_log4shib="yes"
116
if test x$echo_module_log4shib = xyes ; then
117
cflags="$cflags @log4shib_cflags@"
118
libs="$libs @log4shib_libs@"
119
version="$version @LOG4SHIB_VERSION@"
121
if test x$echo_prefix = xyes ; then
124
if test x$echo_exec_prefix = xyes ; then
127
if test x$echo_eprefix = xyes ; then
130
if test x$echo_package = xyes ; then
133
if test x$echo_version = xyes ; then
136
if test x$echo_cflags = xyes ; then
137
i=`eval echo "$includedir"`
139
if test "_$i" != "_/usr/include" ; then
144
if test x$echo_libs = xyes ; then
145
o="$o -L$libdir $libs"
147
if test x$echo_bindir = xyes ; then
150
if test x$echo_sbindir = xyes ; then
153
if test x$echo_libexecdir = xyes ; then
156
if test x$echo_datadir = xyes ; then
159
if test x$echo_sysconfdir = xyes ; then
162
if test x$echo_sharedstatedir = xyes ; then
165
if test x$echo_localstatedir = xyes ; then
168
if test x$echo_libdir = xyes ; then
171
if test x$echo_infodir = xyes ; then
174
if test x$echo_mandir = xyes ; then
177
if test x$echo_target = xyes ; then
180
if test x$echo_host = xyes ; then
183
if test x$echo_build = xyes ; then
186
if test x$echo_pkgdatadir = xyes ; then
187
o=" ${datadir}/${package}"
189
if test x$echo_pkglibdir = xyes ; then
190
o=" ${libdir}/${package}"
192
if test x$echo_pkgincludedir = xyes ; then
193
o=" ${includedir}/${package}"
195
if test x$echo_template_version = xyes ; then
196
o="$o $template_version"
198
if test x$echo_help = xyes ; then
201
if test x$echo_extra = xyes ; then
202
v=`echo $i | sed -e s://:\$:g`
210
if test -n "$o" ; then
215
if test ! -z "$h" ; then
217
All available options:
218
--prefix=DIR and change \$prefix and \$exec-prefix
219
--exec-prefix=DIR (affects all other options)
220
--prefix \$prefix $prefix
222
--eprefix \$exec_prefix $exec_prefix
223
--version \$version $version
224
--cflags -I\$includedir unless it is /usr/include
225
--libs -L\$libdir \$LIBS $libs
226
--package \$package $package
227
--bindir \$bindir $bindir
228
--sbindir \$sbindir $sbindir
229
--libexecdir \$libexecdir $libexecdir
230
--datadir \$datadir $datadir
231
--sysconfdir \$sysconfdir $sysconfdir
232
--sharedstatedir \$sharedstatedir$sharedstatedir
233
--localstatedir \$localstatedir $localstatedir
234
--libdir \$libdir $libdir
235
--infodir \$infodir $infodir
236
--mandir \$mandir $mandir
237
--target \$target $target
239
--build \$build $build
240
--pkgdatadir \$datadir/\$package ${datadir}/${package}
241
--pkglibdir \$libdir/\$package ${libdir}/${package}
242
--pkgincludedir \$includedir/\$package ${includedir}/${package}
243
--template-version \$template_version $template_version