Skip to content
Snippets Groups Projects
Commit 7ea2e352 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2
Browse files

fix portaudio compilation on gnu/linux

Change-Id: I6befc194929f0b4b601371d7ef4a0880108a2ce4
Tuleap: #1000
parent bd2d9d27
No related branches found
No related tags found
No related merge requests found
...@@ -331,15 +331,13 @@ dnl check for libportaudio ...@@ -331,15 +331,13 @@ dnl check for libportaudio
AS_IF([test "${SYS}" = "mingw32"],[ AS_IF([test "${SYS}" = "mingw32"],[
AC_ARG_WITH([portaudio], [AS_HELP_STRING([--without-portaudio], AC_ARG_WITH([portaudio], [AS_HELP_STRING([--without-portaudio],
[disable support for portaudio])], [], [with_portaudio=yes]) [disable support for portaudio])], [], [with_portaudio=yes])
])
AS_IF([test "x$with_portaudio" = "xyes"], AS_IF([test "x$with_portaudio" = "xyes"],
[PKG_CHECK_MODULES(PORTAUDIO, [portaudio-2.0], [PKG_CHECK_MODULES(PORTAUDIO, [portaudio-2.0],
[AC_DEFINE([HAVE_PORTAUDIO], 1, [Define if you have portaudio])], [AC_DEFINE([HAVE_PORTAUDIO], 1, [Define if you have portaudio])],
[AC_MSG_WARN([Missing libportaudio development files]) [AC_MSG_ERROR([Missing libportaudio development files])])
AC_DEFINE([HAVE_PORTAUDIO], 0, [Define if you have portaudio])
])
])
]) ])
AM_CONDITIONAL(BUILD_PORTAUDIO, test "x$with_portaudio" = "xyes") AM_CONDITIONAL(BUILD_PORTAUDIO, test "x$with_portaudio" = "xyes")
AM_CONDITIONAL(HAVE_PORTAUDIO, test "x$with_portaudio" = "xyes") AM_CONDITIONAL(HAVE_PORTAUDIO, test "x$with_portaudio" = "xyes")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment