Updates to error handling (GS).
[rtaudio.git] / rtaudio-config.in
1 #! /bin/sh
2 if (test "x$#" != "x1") ; then
3   echo "Usage: $0 [--libs | --cxxflags]"
4   exit;
5 fi
6
7 LIBRARY="@LIBS@ @frameworks@"
8 CFLAGS="@audio_apis@"
9
10 if (test "x$1" == "x--libs") ; then
11   echo "$LIBRARY"
12 elif (test "x$1" == "x--cflags") ; then
13   echo "$CFLAGS"
14 else
15   echo "Unknown option: $1"
16 fi