Commit 7ea2e352 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2

fix portaudio compilation on gnu/linux

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