Fix typo in previous commit.
[rtaudio-cdist.git] / configure.ac
index 893a71a4c2d0cd1ad952039a27a39099abd7c8b0..286b7d93fdabbea5aac8111dcb2d419580b0d7ed 100644 (file)
@@ -153,6 +153,7 @@ AS_IF([test "x$with_jack" = "xyes"], [
   AC_MSG_RESULT([using JACK])
   AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR([JACK support requires the jack library!]))
   api="$api -D__UNIX_JACK__"
+  req="$req jack"
 ])
 
 
@@ -226,6 +227,7 @@ AS_CASE([$host],
     AC_MSG_RESULT([using ASIO])
     api="$api -D__WINDOWS_ASIO__"
     use_asio=yes
+    CPPFLAGS="-I$srcdir/include $CPPFLAGS"
   ])
   # Look for DirectSound flag
   AS_IF([test "x$with_ds" = "xyes" ], [
@@ -238,6 +240,7 @@ AS_CASE([$host],
     AC_MSG_RESULT([using WASAPI])
     api="$api -D__WINDOWS_WASAPI__"
     LIBS="-lwinmm -luuid -lksuser $LIBS"
+    CPPFLAGS="-I$srcdir/include $CPPFLAGS"
   ])
   # If no audio api flags specified, use DS
   AS_IF([test "x$api" = "x" ], [