/usr/bin/ctpp2-config is in ctpp2-utils 2.8.3-9ubuntu1.
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 | #!/bin/sh
#
# CTPP2 Configurator
#
PREFIX=/usr
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall --param large-function-growth=5000 --param inline-unit-growth=600 -finline-limit=2000 -Wno-long-long -Wno-inline -finline-functions -D_FORTIFY_SOURCE=2"
MAKE=/usr/bin/make
CC=/usr/bin/cc
CXX=/usr/bin/g++
INCLUDE="/usr/include /usr/include/ctpp2"
INCLUDE2="-I/usr/include -I -I/usr/include/ctpp2"
LIBS="/usr/lib"
VERSION="2.8.3"
if test "x$1" = "x"; then
echo "Usage:"
echo " ctpp2-config [--flags] [--cc] [--cxx] [--make] [--libs] [--includes] [--version]"
echo " ... [see below for complete flag list]"
echo ""
echo " --version displays the ctpp2 version number"
echo " --flags displays C++ compiler flags"
echo " --cc displays executable name of C compiler"
echo " --cxx displays executable name of C++ compiler"
echo " --make displays executable name of make"
echo " --libs displays list of libraries"
echo " --includes displays list of include dirs"
echo " --includes2 displays list of include dirs with '-I' prefixes"
echo ""
else
while test "x$done" = "x" -a "x$1" != "x"; do
case $1 in
--version*)
echo ${VERSION}
;;
--flags*)
echo ${CXXFLAGS}
;;
--cc*)
echo ${CC}
;;
--cxx*)
echo ${CXX}
;;
--make*)
echo ${MAKE}
;;
--libs*)
echo ${LIBS}
;;
--includes2*)
echo ${INCLUDE2}
;;
--includes*)
echo ${INCLUDE}
;;
esac
shift
done
fi
|