/usr/bin/io_lib-config is in libstaden-read-dev 1.14.9-4.
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 | #!/bin/sh
#
# This program prints up a few io_lib configuration parameters. It is
# designed to be used in other build environments so that programs
# using io_lib can automatically generate the appropriate CFLAGS and LDFLAGS.
usage() {
cat << _EOF_
Usage: io_lib-config [option]
where 'option' is any one of:
--cflags C and preprocessor flags (eg -I/foo/include)
--libs Link-line parameters, eg -L/foo/lib -lstaden-read
--version List io_lib version number
_EOF_
exit $1
}
[ $# -eq 0 ] && usage 1
prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
case "$1" in
--cflags)
echo "-I${prefix}/include"
;;
--libs)
echo "-L${prefix}/lib/x86_64-linux-gnu -lstaden-read -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -lm -lpthread -lcurl -lz"
;;
--version)
echo 1.14.9
;;
--help)
usage 0
;;
*)
echo "Unknown option '$1'" 1>&2
exit 1
esac
|