/usr/bin/c-icap-libicapapi-config is in libicapapi-dev 1:0.1.6-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 | #!/bin/sh
prefix=/usr
PKGLIBDIR=/usr/lib/c_icap/
LIBDIR=/usr/lib/
CONFIGDIR=/etc/c-icap/
DATADIR=/usr/share/c_icap/
#LOGDIR=
SOCKDIR=/var/run/c-icap
INCDIR=/usr/include/c_icap
VERSION=0.1.6
CFLAGS="-D_REENTRANT -g -O2 -Wall"
LIBS="-L"$LIBDIR" -licapapi"
LDFLAGS=""
usage()
{
cat <<EOTXT
Usage: c-icap-libicapapi-config [OPTIONS]
Where OPTION one of the following:
--cflags print preprocessor and compiler flags
--libs print linker flags
--version print the c-icap library version
EOTXT
}
case $1 in
'--cflags')
echo $CFLAGS" -I"$INCDIR;
;;
'--libs')
echo $LIBS;
;;
'--version')
echo $VERSION;
;;
*)
usage
esac;
|