From: Richard Kettlewell Date: Tue, 9 Oct 2007 21:46:04 +0000 (+0100) Subject: further empeg support X-Git-Tag: debian-1_5_99dev8~127 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/e3426f7b4c12323e5e3ffa3e6b927f714fc369a5 further empeg support --- diff --git a/acinclude.m4 b/acinclude.m4 index 2c008a9..562872a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -95,7 +95,7 @@ AC_DEFUN([RJK_REQUIRE_PCRE_UTF8],[ ])], [rjk_cv_pcre_utf8=yes], [rjk_cv_pcre_utf8=no], - [AC_MSG_ERROR([cross-compiling, cannot check libpcre behaviour])]) + [AC_MSG_WARN([cross-compiling, cannot check libpcre behaviour])]) LIBS="$save_LIBS" ]) if test $rjk_cv_pcre_utf8 = no; then diff --git a/clients/playrtp.c b/clients/playrtp.c index 0b5bc04..2eca1c6 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -65,6 +65,7 @@ #include #include #include +#include #include "log.h" #include "mem.h" @@ -81,6 +82,11 @@ #define readahead linux_headers_are_borked +/** @brief Obsolete synonym */ +#ifndef IPV6_JOIN_GROUP +# define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP +#endif + /** @brief RTP socket */ static int rtpfd; diff --git a/configure.ac b/configure.ac index 0f9258c..ef43af1 100644 --- a/configure.ac +++ b/configure.ac @@ -44,24 +44,25 @@ fi AC_MSG_CHECKING([for a known target platform]) case "$host" in *empeg* ) + AC_MSG_RESULT([empeg car stereo]) AC_DEFINE([EMPEG_HOST],[1],[define if host is an empeg car stereo]) # work around broken toolchain AC_CHECK_LIB([gpg-error], [gpg_strerror]) + AC_CHECK_LIB([pthread], [pthread_create]) want_server=no - AC_MSG_RESULT([empeg car stereo]) ;; *linux* | *Linux* ) - want_server=yes AC_MSG_RESULT([Linux]) + want_server=yes ;; *-apple-darwin* ) + AC_MSG_RESULT([Mac OS X]) want_server=no COREAUDIO="-framework CoreAudio" - AC_MSG_RESULT([Mac OS X]) ;; * ) - want_server=no AC_MSG_RESULT([unknown, winging it]) + want_server=no ;; esac AC_SUBST([COREAUDIO]) diff --git a/lib/printf.c b/lib/printf.c index df807ed..32f18fe 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -33,6 +33,7 @@ #include "printf.h" #include "sink.h" +#include "vacopy.h" enum flags { f_thousands = 1,