/usr/bin/synfig-config is in libsynfig-dev 1.0.2-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 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 | #!/bin/sh
prefix=/usr
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libexecdir=${prefix}/lib/x86_64-linux-gnu
datadir=${prefix}/share
sysconfdir=/etc/synfig
sharedstatedir=${prefix}/com
localstatedir=/var
libdir=${prefix}/lib/x86_64-linux-gnu
infodir=${prefix}/share/info
mandir=${prefix}/share/man
includedir=${prefix}/include
LIBS="-lz -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 -lgiomm-2.4 -lgio-2.0 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lcairo -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lmlt++ -lmlt -lpthread -lsigc-2.0"
VERSION=1.0.2
PACKAGE=synfig
CFLAGS=""
usage()
{
cat <<EOF
Usage: synfig-config [OPTION]...
Generic options
--version print installed version of synfig.
--help display this help and exit.
Compilation support options
--cflags print pre-processor and compiler flags
--libs print library linking information
Install directories
--prefix --exec-prefix --bindir --libexecdir --datadir
--sysconfdir --sharedstatedir --localstatedir --libdir --infodir
--mandir --includedir
EOF
exit 1
}
if test $# -eq 0; then
usage 1
fi
case $1 in
--version)
echo $PACKAGE $VERSION
exit 0
;;
--exec-prefix)
echo $exec_prefix
exit 0
;;
--prefix)
echo $prefix
exit 0
;;
--help)
usage 0
;;
--cflags)
echo $CFLAGS
exit 0
;;
--cxxflags)
echo $CFLAGS
exit 0
;;
--libs)
echo $LIBS
exit 0
;;
esac
echo Unknown option "$1"
exit 4
|