summaryrefslogtreecommitdiff
path: root/rtaudio-config.in
blob: f950f4ef64e980a694873e8387effe196d2dbb51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
if (test "x$#" != "x1") ; then
  echo "Usage: $0 [--libs | --cxxflags]"
  exit;
fi

LIBRARY="@LIBS@ @frameworks@"
CFLAGS="@audio_apis@"

if (test "x$1" == "x--libs") ; then
  echo "$LIBRARY"
elif (test "x$1" == "x--cflags") ; then
  echo "$CFLAGS"
else
  echo "Unknown option: $1"
fi