/usr/bin/estconfig is in libestraier-dev 1.4.13-14ubuntu2.
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 | #! /bin/sh
#================================================================
# estconfig
# Help configuration for Hyper Estraier
#================================================================
# set variables
LANG=C ; export LANG
LC_ALL=C ; export LC_ALL
progname="estconfig"
package="hyperestraier"
version="1.4.13"
prefix="/usr"
exec_prefix="${prefix}"
headdir="${prefix}/include/estraier"
libdir="${exec_prefix}/lib"
bindir="${exec_prefix}/bin"
libexecdir="${prefix}/lib/estraier"
datadir="${prefix}/share/${package}"
cflags="-I${headdir} -I/usr/include/qdbm"
ldflags="-L${libdir} -L/usr/lib"
libs="-lestraier -lresolv -lnsl -lpthread -lqdbm -lz -lm -lc "
# function to show usage
usage(){
printf 'configuration helper for Hyper Estraier\n'
printf '\n'
printf 'usage:\n'
printf ' %s --version\n' "$progname"
printf ' %s --prefix\n' "$progname"
printf ' %s --execprefix\n' "$progname"
printf ' %s --headdir\n' "$progname"
printf ' %s --libdir\n' "$progname"
printf ' %s --bindir\n' "$progname"
printf ' %s --libexecdir\n' "$progname"
printf ' %s --datadir\n' "$progname"
printf ' %s --cflags\n' "$progname"
printf ' %s --ldflags\n' "$progname"
printf ' %s --libs\n' "$progname"
printf '\n'
exit 1
}
# show information
case "$1" in
--version)
printf '%s\n' "${version}"
;;
--prefix)
printf '%s\n' "${prefix}"
;;
--execprefix)
printf '%s\n' "${exec_prefix}"
;;
--headdir)
printf '%s\n' "${headdir}"
;;
--libdir)
printf '%s\n' "${libdir}"
;;
--bindir)
printf '%s\n' "${bindir}"
;;
--libexecdir)
printf '%s\n' "${libexecdir}"
;;
--datadir)
printf '%s\n' "${datadir}"
;;
--cflags)
printf '%s\n' "${cflags}"
;;
--ldflags)
printf '%s\n' "${ldflags}"
;;
--libs)
printf '%s\n' "${libs}"
;;
*)
usage
;;
esac
# exit normally
exit 0
# END OF FILE
|