#PEAR_Config 0.9 a:12:{s:7:"php_dir";s:67:"//pear/php";s:8:"data_dir";s:68:"//pear/data";s:7:"www_dir";s:67:"//pear/www";s:7:"cfg_dir";s:67:"//pear/cfg";s:7:"ext_dir";s:67:"//pear/ext";s:7:"doc_dir";s:68:"//pear/docs";s:8:"test_dir";s:69:"//pear/tests";s:9:"cache_dir";s:69:"//pear/cache";s:12:"download_dir";s:72:"//pear/download";s:8:"temp_dir";s:68:"//pear/temp";s:7:"bin_dir";s:63:"//pear";s:7:"man_dir";s:67:"//pear/man";}
|
Server IP : 99.192.176.69 / Your IP : 216.73.217.59 Web Server : Apache System : Linux platinumpuzzy2.eosdns.net 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64 User : bbwcamhouse ( 1000) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0555) : /../../bin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
#!/bin/sh
#
# Return information about the local GD library installation
#
# Modeled after pdflib-config
# installation directories
prefix=/usr
exec_prefix=/usr
libdir=`pkg-config gdlib --variable=libdir`
includedir=/usr/include
bindir=/usr/bin
ldflags=`pkg-config gdlib --variable=ldflags`
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 optional features compiled into gd, separated
# by spaces. Currently (as of 2.0.26) the optional
# features are GD_PNG, GD_JPEG, GD_XPM, and
# GD_FREETYPE. 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 2.0.34
;;
--majorversion)
echo 2
;;
--minorversion)
echo 0
;;
--revision)
echo 34
;;
--ldflags)
echo $ldflags
;;
--libs)
echo -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm
;;
--cflags|--includes)
echo -I/usr/include
;;
--features)
echo GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
;;
--all)
echo "GD library 2.0.34"
echo "includedir: $includedir"
echo "cflags: -I/usr/include"
echo "ldflags: $ldflags"
echo "libs: -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm "
echo "libdir: $libdir"
echo "features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON"
;;
*)
usage 1 1>&2
;;
esac
shift
done