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 2c008a9..562872a 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 0b5bc04..2eca1c6 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 0f9258c..ef43af1 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 df807ed..32f18fe 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "printf.h"
 #include "sink.h"
+#include "vacopy.h"
 
 enum flags {
   f_thousands = 1,