Merge 4.0.5 into releases
[rtaudio.git] / rtaudio-config.in
index c689a989e615ecc97ded0df5ea32abd15aab0acf..2422b60416b42cfd0fadc842bdbb5df7d4ec11e9 100644 (file)
@@ -1,16 +1,19 @@
 #! /bin/sh
 if (test "x$#" != "x1") ; then
-  echo "Usage: $0 [--libs | --cxxflags]"
+  echo "Usage: $0 [--libs | --cxxflags | --cppflags]"
   exit;
 fi
 
-LIBRARY="@LIBS@ @frameworks@"
-CFLAGS="@audio_apis@"
+LIBRARY="@LIBS@"
+CXXFLAGS="@CXXFLAGS@"
+CPPFLAGS="@CPPFLAGS@"
 
 if (test "x$1" == "x--libs") ; then
   echo "$LIBRARY"
-elif (test "x$1" == "x--CFLAGS") ; then
-  echo "$CFLAGS"
+elif (test "x$1" == "x--cxxflags") ; then
+  echo "$CXXFLAGS"
+elif (test "x$1" == "x--cppflags") ; then
+  echo "$CPPFLAGS"
 else
   echo "Unknown option: $1"
 fi