/usr/bin/c-icap-libicapapi-config is in libicapapi-dev 1:0.4.4-1.
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 | #!/bin/sh
prefix=/usr
PKGLIBDIR=/usr/lib/x86_64-linux-gnu/c_icap/
LIBDIR=/usr/lib/x86_64-linux-gnu/
CONFIGDIR=/etc/c-icap/
DATADIR=/usr/share/c_icap/
#LOGDIR=
SOCKDIR=/var/run/c-icap
INCDIR=/usr/include
INCDIR2=/usr/include/c_icap
VERSION=0.4.4
CFLAGS="-D_REENTRANT -g -O2 -fdebug-prefix-map=/build/c-icap-0.4.4=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall -D_FILE_OFFSET_BITS=64"
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" -I"$INCDIR2;
;;
'--libs')
echo $LIBS;
;;
'--version')
echo $VERSION;
;;
*)
usage
esac;
|