/usr/bin/fb_config is in firebird-dev 3.0.2.32703.ds4-11ubuntu2.
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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | #! /bin/sh
#
# The contents of this file are subject to the Initial
# Developer's Public License Version 1.0 (the "License");
# you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
# http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_idpl.
#
# Software distributed under the License is distributed AS IS,
# WITHOUT WARRANTY OF ANY KIND, either express or implied.
# See the License for the specific language governing rights
# and limitations under the License.
#
# The Original Code was created by Mark O'Donohue
# for the Firebird Open Source RDBMS project.
#
# Copyright (c) Mark O'Donohue <mark.odonohue@ludwig.edu.au>
# and all contributors signed below.
#
# All Rights Reserved.
# Contributor(s): ______________________________________.
#
# stored configuration values
fb_install_prefix=/usr/lib/x86_64-linux-gnu/firebird/3.0
fb_bindir=${fb_install_prefix}/bin
fb_libdir=${fb_install_prefix}/lib
fb_incdir=${fb_install_prefix}/include
fb_udfdir=/usr/lib/x86_64-linux-gnu/firebird/3.0/UDF
fb_sbindir=/usr/sbin
fb_confdir=/usr/lib/x86_64-linux-gnu/firebird/3.0
fb_docdir=/usr/share/doc/firebird3.0-common-doc
fb_sampledir=/usr/share/doc/firebird3.0-common-doc/examples
fb_sampledbdir=/usr/share/doc/firebird3.0-common-doc/examples/empbuild
fb_helpdir=/var/lib/firebird/3.0/system
fb_intldir=/usr/lib/x86_64-linux-gnu/firebird/3.0/intl
fb_miscdir=/usr/lib/x86_64-linux-gnu/firebird/3.0/misc
fb_securedbdir=/var/lib/firebird/3.0/system
fb_msgdir=/usr/lib/x86_64-linux-gnu/firebird/3.0
fb_logdir=/var/log/firebird
fb_glockdir=/run/firebird3.0
fb_pluginsdir=/usr/lib/x86_64-linux-gnu/firebird/3.0/plugins
fb_cflags="-I$fb_incdir"
fb_libs="-L$fb_libdir -lfbclient"
BuildVersion=3.0.2.32703
PackageVersion=0
CpuType=amd64
Version="$BuildVersion-$PackageVersion.$CpuType"
fb_version=$Version
usage() {
cat <<EOF
Usage $0 [Options]
Where Options are:
--cflags
--libs
--embedlibs
--bindir
--udfdir
--sbindir
--confdir
--docdir
--sampledir
--sampledbdir
--helpdir
--intldir
--miscdir
--securedbdir
--msgdir
--logdir
--glockdir
--pluginsdir
--version
EOF
}
if test "$#" -eq 0 ; then
usage
exit 1
fi
while test $# -gt 0
do
case "$1" in
--cflags) echo $fb_cflags ;;
--libs) echo $fb_libs ;;
--embedlibs) echo $fb_libs ;;
--bindir) echo $fb_bindir ;;
--udfdir) echo $fb_udfdir ;;
--sbindir) echo $fb_sbindir ;;
--confdir) echo $fb_confdir ;;
--docdir) echo $fb_docdir ;;
--sampledir) echo $fb_sampledir ;;
--helpdir) echo $fb_helpdir ;;
--intldir) echo $fb_intldir ;;
--miscdir) echo $fb_miscdir ;;
--securedbdir) echo $fb_securedbdir ;;
--msgdir) echo $fb_msgdir ;;
--logdir) echo $fb_logdir ;;
--glockdir) echo $fb_glockdir ;;
--pluginsdir) echo $fb_pluginsdir ;;
--sampledbdir) echo $fb_sampledbdir ;;
--version) echo $fb_version ;;
--help) usage ;;
*) usage ;
esac
shift
done
|