12345678910111213141516171819202122232425262728 |
- #!/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
|