HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //usr/local/apps/GraphicsMagick/bin/GraphicsMagick-config
#!/bin/sh
#
# Configure options script for re-calling GraphicsMagick compilation
# options required to use the GraphicsMagick 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
# effectively in configure scripts.
#
usage='Usage: GraphicsMagick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]

 For example, "example.c" may be compiled to produce "example" as follows:

  "gcc -o example example.c `GraphicsMagick-config --cppflags --cflags --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/local/apps/GraphicsMagick
      ;;
    --exec-prefix)
      echo /usr/local/apps/GraphicsMagick
      ;;
    --version)
      echo 1.3.38
      ;;
    --cflags)
      echo '-fopenmp -g -O2 -Wall -pthread'
      ;;
    --cppflags)
      echo '-I/usr/local/apps/GraphicsMagick/include/GraphicsMagick'
      ;;
    --ldflags)
      echo '-L/usr/local/apps/GraphicsMagick/lib -L/usr/local/apps/lib -L/usr/local/apps/lib'
      ;;
    --libs)
      echo '-lGraphicsMagick -lwebp -lwebpmux -lfreetype -ljpeg -lpng16 -lbz2 -lxml2 -lz -lm -lpthread -lgomp'
      ;;
    *)
      echo "${usage}" 1>&2
      exit 1
      ;;
  esac
  shift
done