Applied patches for Debian Linux for ticket 166.

This commit is contained in:
philburk 2011-03-02 17:03:23 +00:00
commit c8dcb76f19
3 changed files with 13 additions and 4 deletions

View file

@ -165,6 +165,7 @@ AC_SUBST(DLL_LIBS)
AC_SUBST(CXXFLAGS)
AC_SUBST(NASM)
AC_SUBST(NASMOPT)
AC_SUBST(INCLUDES)
dnl -g is optional on darwin
if ( echo "${host_os}" | grep ^darwin >> /dev/null ) &&
@ -188,6 +189,8 @@ add_objects()
done
}
INCLUDES=portaudio.h
case "${host_os}" in
darwin* )
dnl Mac OS X configuration
@ -317,6 +320,7 @@ case "${host_os}" in
DLL_LIBS="$DLL_LIBS -lasound"
LIBS="$LIBS -lasound"
OTHER_OBJS="$OTHER_OBJS src/hostapi/alsa/pa_linux_alsa.o"
INCLUDES="$INCLUDES pa_linux_alsa.h"
AC_DEFINE(PA_USE_ALSA)
fi
@ -324,6 +328,7 @@ case "${host_os}" in
DLL_LIBS="$DLL_LIBS $JACK_LIBS"
CFLAGS="$CFLAGS $JACK_CFLAGS"
OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o src/common/pa_ringbuffer.o"
INCLUDES="$INCLUDES pa_jack.h"
AC_DEFINE(PA_USE_JACK)
fi
@ -332,7 +337,8 @@ case "${host_os}" in
if [[ "$have_libossaudio" = "yes" ]] ; then
DLL_LIBS="$DLL_LIBS -lossaudio"
LIBS="$LIBS -lossaudio"
fi
fi
INCLUDES="$INCLUDES pa_unix_oss.h"
AC_DEFINE(PA_USE_OSS)
fi