Fix typo in previous.
[rtaudio-cdist.git] / rtaudio-config.in
1 #! /bin/sh
2 if (test "x$#" != "x1") ; then
3   echo "Usage: $0 [--libs | --cxxflags | --cppflags]"
4   exit;
5 fi
6
7 LIBRARY="@LIBS@"
8 CXXFLAGS="@CXXFLAGS@"
9 CPPFLAGS="@CPPFLAGS@"
10
11 if (test "x$1" = "x--libs") ; then
12   echo "$LIBRARY -lrtaudio"
13 elif (test "x$1" = "x--cxxflags") ; then
14   echo "$CXXFLAGS"
15 elif (test "x$1" = "x--cppflags") ; then
16   echo "$CPPFLAGS"
17 else
18   echo "Unknown option: $1"
19 fi