/usr/bin/autoopts-config is in autogen 1:5.12-0.1ubuntu1.
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 | #! /bin/bash
## ---------------------------------------------------------------------
## autoopts-config.in -- Describe AutoOpts configuration
##
## Autoopts Copyright (c) 1992-2011 by Bruce Korb
##
## DO NOT EDIT THIS FILE (autoopts-config.in)
##
## It has been AutoGen-ed June 26, 2011 at 07:39:46 AM by AutoGen 5.11.10pre11
## From the definitions aoconf.def
## and the template file aoconf.tpl
##
prefix="/usr"
datarootdir="${prefix}/share"
datadir="${datarootdir}"
package="autogen"
includedir="${prefix}/include"
exec_prefix="${prefix}"
bindir="${exec_prefix}/bin"
libdir="${exec_prefix}/lib"
ldopts="-Wl,-R"
exeext=""
version="35:0:10"
dotver="35.0.10"
pkgdatadir="${datadir}/${package}"
autogen="${bindir}/autogen${exeext}"
ldflags="-L${libdir} -lopts"
libs="${ldflags}"
libsrc="${pkgdatadir}/libopts-${dotver}.tar.gz"
static_libs="${libdir}/libopts.a"
cflags="-I${includedir}"
case "${libdir}" in
/lib | /lib64 | /usr/lib | /usr/lib64 )
ldopts=''
ldflags=-lopts
;;
* )
test -n "${ldopts}" && \
ldflags="${ldopts}${libdir} ${ldflags}"
;;
esac
libs=${ldflags}
test "${includedir}" = "/usr/include" && cflags=""
optlist="\
autogen bindir cflags datadir datarootdir dotver
everything exec_prefix exeext includedir ldflags ldopts
libdir libs libsrc package pkgdatadir prefix
static_libs version"
usage()
{
test $# -gt 0 && {
exec 1>&2
echo autoopts-config error: "$*"
}
echo Usage: autoopts-config \<\<OPTION\>\> [ ... ]
echo Options may be one or more of:
for o in $optlist
do echo " ${o}"
done | sed 's,_,-,g'
echo 'NB: "everything" will print out the list of all names and values.'
exit $#
}
test $# -gt 0 || usage "No value specified"
# Figure out what's wanted
#
val=''
for o in "$@" ; do
o=`echo ${o} | sed 's,^-*,,;s/-/_/g'`
case "$o" in
help | h | \? ) usage ;;
*[!a-zA-Z0-9_]* ) usage "Invalid name: ${o}" ;;
prefix ) val="${val} ${prefix}" ;;
datarootdir ) val="${val} ${datarootdir}" ;;
datadir ) val="${val} ${datadir}" ;;
package ) val="${val} ${package}" ;;
includedir ) val="${val} ${includedir}" ;;
exec_prefix ) val="${val} ${exec_prefix}" ;;
bindir ) val="${val} ${bindir}" ;;
libdir ) val="${val} ${libdir}" ;;
ldopts ) val="${val} ${ldopts}" ;;
exeext ) val="${val} ${exeext}" ;;
version ) val="${val} ${version}" ;;
dotver ) val="${val} ${dotver}" ;;
pkgdatadir ) val="${val} ${pkgdatadir}" ;;
autogen ) val="${val} ${autogen}" ;;
ldflags ) val="${val} ${ldflags}" ;;
libs ) val="${val} ${libs}" ;;
libsrc ) val="${val} ${libsrc}" ;;
static_libs ) val="${val} ${static_libs}" ;;
cflags ) val="${val} ${cflags}" ;;
everything )
for o in ${optlist}
do test ${o} = everything && continue
eval v=\"\${${o}}\"
test -z "${v}" && echo ${o} || \
printf "%-12s $v\n" ${o}
done
exit 0
;;
* ) usage "Unknown value name: ${o}" ;;
esac
done
echo "${val}"
## end of autoopts-config.in
|