danghungithp's picture
Upload 1398 files
bec48e1 verified
raw
history blame contribute delete
443 Bytes
#!/bin/sh
usage="\
Usage: ta-lib-config [--version] [--libs] [--cflags]"
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case $1 in
--version)
echo 0.4.0
;;
--cflags)
echo -I${prefix}/include/ta-lib -DHAVE_CONFIG_H
;;
--libs)
echo -L${exec_prefix}/lib -lpthread -ldl
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done