chiark / gitweb /
further empeg support
authorRichard Kettlewell <rjk@greenend.org.uk>
Tue, 9 Oct 2007 21:46:04 +0000 (22:46 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Tue, 9 Oct 2007 21:46:04 +0000 (22:46 +0100)
acinclude.m4
clients/playrtp.c
configure.ac
lib/printf.c

index 2c008a91f97bd0acfd0bbbf4a9b8d35abd95da42..562872ad96a8c6e6ea0c03279f5e59a3df252fa6 100644 (file)
@@ -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
index 0b5bc047135bbd4c9b498e64626c30631dc7d094..2eca1c6a7c4c6ecfd69b079d98a657e0ebdad04f 100644 (file)
@@ -65,6 +65,7 @@
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
+#include <netinet/in.h>
 
 #include "log.h"
 #include "mem.h"
 
 #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;
 
index 0f9258ccd6a02c94885bea4699ce839989128322..ef43af14990db89f57b7d7bb46ac3e888c81e25b 100644 (file)
@@ -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])
index df807edd6593c45f5a04f1b69baf0d974df44934..32f18fe570e65b4f2032b3258621fd3d786419bd 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "printf.h"
 #include "sink.h"
+#include "vacopy.h"
 
 enum flags {
   f_thousands = 1,