diff options
Diffstat (limited to 'Build/source/libs/gd/libgd-2.1.0/config')
-rw-r--r-- | Build/source/libs/gd/libgd-2.1.0/config/Makefile.am | 7 | ||||
-rw-r--r-- | Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in | 96 | ||||
-rw-r--r-- | Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in | 11 |
3 files changed, 114 insertions, 0 deletions
diff --git a/Build/source/libs/gd/libgd-2.1.0/config/Makefile.am b/Build/source/libs/gd/libgd-2.1.0/config/Makefile.am new file mode 100644 index 00000000000..7ec5849fb68 --- /dev/null +++ b/Build/source/libs/gd/libgd-2.1.0/config/Makefile.am @@ -0,0 +1,7 @@ +## Process this file with automake to produce Makefile.in -*-Makefile-*- +EXTRA_DIST = gdlib-config.in gdlib.pc.in + +bin_SCRIPTS = gdlib-config + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = gdlib.pc diff --git a/Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in b/Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in new file mode 100644 index 00000000000..70af36b5359 --- /dev/null +++ b/Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in @@ -0,0 +1,96 @@ +#!/bin/sh +# +# Return information about the local GD library installation +# +# Modeled after pdflib-config + +# installation directories +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +bindir=@bindir@ + +usage() +{ + cat <<EOF +Print information on GD library's version, configuration, and use. +Usage: gdlib-config [options] +Options: + --libdir # directory where GD library is installed + --includedir # directory where GD library headers are installed + --version # complete GD library version string + --majorversion # GD library major version number + --minorversion # GD library minor version number + --revision # GD library revision version number + --ldflags # options required for linking against GD library + --libs # libs required for linking against GD library + --cflags # options required for compiling GD library apps + --includes # same as --cflags + --features # lists features compiled into gd, separated by spaces. + # Currently (as of @VERSION@) the optional features + # are GD_PNG, GD_JPEG, GD_XPM, GD_FREETYPE, and + # GD_FONTCONFIG. When these features are reported by + # --features, it is safe to include calls to the + # related functions in your code. + --all # print a summary of all GD library configure options +EOF + exit $1 +} + +if test $# -eq 0; then + usage 1 1>&2 +fi + +while test $# -gt 0; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --libdir) + echo $libdir + ;; + --includedir) + echo $includedir + ;; + --version) + echo @VERSION@ + ;; + --majorversion) + echo @GDLIB_MAJOR@ + ;; + --minorversion) + echo @GDLIB_MINOR@ + ;; + --revision) + echo @GDLIB_REVISION@ + ;; + --ldflags) + echo @LDFLAGS@ + ;; + --libs) + echo -lgd @LIBS@ @LIBICONV@ + ;; + --cflags|--includes) + echo -I@includedir@ + ;; + --features) + echo @FEATURES@ + ;; + --all) + echo "GD library @VERSION@" + echo "includedir: $includedir" + echo "cflags: -I@includedir@" + echo "ldflags: @LDFLAGS@" + echo "libs: @LIBS@ @LIBICONV@" + echo "libdir: $libdir" + echo "features: @FEATURES@" + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done diff --git a/Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in b/Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in new file mode 100644 index 00000000000..b980a606902 --- /dev/null +++ b/Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: gd +Description: GD graphics library +Version: @VERSION@ +Cflags: -I${includedir} +Libs.private: @LIBS@ @LIBICONV@ +Libs: -L${libdir} -lgd |