You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
414 B
28 lines
414 B
#!/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 @VERSION@
|
|
;;
|
|
--cflags)
|
|
echo -I@includedir@/ta-lib @DEFS@
|
|
;;
|
|
--libs)
|
|
echo -L@libdir@ @LIBS@
|
|
;;
|
|
*)
|
|
echo "${usage}" 1>&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|