diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2017-10-18 12:00:00 -0300 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2017-10-18 17:33:01 -0300 |
| commit | 3b1331c16ed513ec92f41d13692bcbe1792c3d1a (patch) | |
| tree | d842f7faa2d245a120721b9d352e26b752d45eb9 /configure.ac | |
| parent | 0645e8f4669293e388da44aeeb3f4c05f3d087b8 (diff) | |
Fix compilation of ASIO and WASAPI backends in MingW/Ubuntu.
Warnings/errors "unused function" are from the unicode conversion
functions on Windows, and "unused but set variable" is from ASIO
source code; we disable these warnings on Windows builds.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 893a71a..991cbec 100644 --- a/configure.ac +++ b/configure.ac @@ -226,6 +226,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 +239,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" ], [ |
