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

57 lines
736 B

#!/bin/sh
usage()
{
echo "usage: $0 [OPTIONS]"
cat << EOH
options:
[--libs]
[--cflags]
[--version]
[--arts-version]
[--arts-prefix]
EOH
exit 1;
}
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
libdl=@LIBDL@
flags=""
while test $# -gt 0
do
case $1 in
--libs)
flags="$flags -L$libdir $libdl -lartsc @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@"
;;
--cflags)
flags="$flags -I$includedir/artsc @GLIB_CFLAGS@"
;;
--version)
echo 0.9.5
;;
--arts-version)
echo @ARTS_VERSION@
;;
--arts-prefix)
echo $prefix
;;
*)
echo "$0: unknown option $1"
echo
usage
;;
esac
shift
done
if test -n "$flags"
then
echo $flags
fi