/usr/bin/cgicc-config is in libcgicc5-dev 3.2.9-3.
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 | #! /bin/sh
##
## $Id: cgicc-config.in,v 1.9 2007/07/02 18:48:19 sebdiaz Exp $
##
## Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
## 2007 Sébastien DIAZ <sebastien.diaz@gmail.com>
## Part of the GNU cgicc library, http://www.cgicc.org
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
##
prefix="/usr"
exec_prefix="${prefix}"
includedir="${prefix}/include"
libdir="${exec_prefix}/lib"
cxxflags="-Wall -W -pedantic -g -O2"
## Usage info
usage()
{
cat <<EOF
Usage: cgicc-config [OPTIONS]
Options:
--prefix Display architecture-independent installation dir
--exec-prefix Display architecture-dependent installation dir
--includedir Display header file installation dir
--libdir Display object-code installation dir
--cxxflags Display C++ compiler flags
--host Display host information
--version Display version information
--help Display this message
EOF
exit $1
}
## If no arguments, print usage info
if test $# -eq 0; then
usage 1 1>&2
fi
## Parse command line
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
## Architecture-independent dir
--prefix) echo "$prefix" && exit 0 ;;
## Architecture-dependent dir
--exec-prefix) echo "$exec_prefix" && exit 0 ;;
## Object code dir
--libdir) echo "$libdir" && exit 0 ;;
## Header file dir
--includedir) echo "$includedir" && exit 0 ;;
## C++ compiler flags
--cxxflags) echo "$cxxflags" && exit 0 ;;
## Host information
--host) echo "x86_64-pc-linux-gnu" && exit 0 ;;
## Version information
--version) echo "3.2.9" && exit 0 ;;
## Everything else
*) usage 1 1>&2 ;;
esac
shift
done
|