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.
arts/artsc/artsc-config.in

51 lines
640 B

#!/bin/sh
usage()
{
echo "usage: $0 [OPTIONS]"
cat << EOH
options:
[--libs]
[--cflags]
[--version]
[--arts-version]
[--arts-prefix]
EOH
exit 1;
}
flags=""
while test $# -gt 0
do
case $1 in
--libs)
flags="$flags `pkg-config artsc --libs`"
;;
--cflags)
flags="$flags `pkg-config artsc --cflags`"
;;
--version)
pkg-config artsc --modversion
;;
--arts-version)
pkg-config artsc --variable=arts_version
;;
--arts-prefix)
pkg-config artsc --variable=prefix
;;
*)
echo "$0: unknown option $1"
echo
usage
;;
esac
shift
done
if test -n "$flags"
then
echo $flags
fi