|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/bin/ |
Upload File : |
#!/bin/sh
includedir=`pkg-config --variable includedir libart-2.0`
libdir=`pkg-config --variable libdir libart-2.0`
prefix=`pkg-config --variable prefix libart-2.0`
exec_prefix=`pkg-config --variable exec_prefix libart-2.0`
exec_prefix_set=no
usage="\
Usage: libart-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--prefix=*)
prefix=$optarg
if test $exec_prefix_set = no ; then
exec_prefix=$optarg
fi
;;
--prefix)
echo $prefix
;;
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
;;
--exec-prefix)
echo $exec_prefix
;;
--version)
pkg-config --modversion libart-2.0
;;
--cflags)
echo -I$includedir/libart-2.0
;;
--libs)
echo -L$libdir -lart_lgpl_2 -lm
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done