/usr/bin/GraphicsMagick++-config is in libgraphicsmagick++1-dev 1.3.30+hg15796-1~deb9u2.
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 | #!/bin/sh
#
# Configure options script for re-calling compilation
# options required to use the Magick++ library.
#
# Concept derived from gtk-config in the Gtk package except that Autoconf-style
# configuration information is presented instead so that it may be used more
# effictively in configure scripts.
#
usage='Usage: GraphicsMagick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]
For example, "example.cpp" may be compiled to produce "example" as follows:
"c++ -o example example.cpp `GraphicsMagick++-config --cppflags --cxxflags --ldflags --libs`"'
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case $1 in
--prefix)
echo /usr
;;
--exec-prefix)
echo /usr
;;
--version)
echo 1.4
;;
--cppflags)
echo '-I/usr/include/GraphicsMagick'
;;
--cxxflags)
echo '-g -O2 -fdebug-prefix-map=/build/graphicsmagick-1.3.30+hg15796=. -fstack-protector-strong -Wformat -Werror=format-security -pthread'
;;
--ldflags)
echo '-L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/lib/x86_64-linux-gnu'
;;
--libs)
echo '-lGraphicsMagick++ -lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread'
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done
|