diff options
author | Olaf Hering <olaf@aepfle.de> | 2015-07-08 21:06:24 +0200 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2015-07-08 21:23:40 +0200 |
commit | b550ec6b2613dcd029b1e890adc779a8b6a17824 (patch) | |
tree | cc098ff33d181880744d7d029c595a3707ab4b74 /configure.ac | |
parent | e67b8e7717c64ff09c1a8ca3adefc39a88bfbef4 (diff) |
configure.ac: update verification of shairplay
With commit 6f6a8e261b14a90e476519b165b5925641a5a5d9 a newer shairplay
is required. Catch old versions provided by the OS and disable shairplay
support in case its too old.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4457e643c6..525d6965dc 100644 --- a/configure.ac +++ b/configure.ac @@ -1593,9 +1593,10 @@ if test "x$use_airtunes" != "xno"; then if test "x$USE_AIRTUNES" != "x0"; then XB_FIND_SONAME([SHAIRPLAY], [shairplay], [USE_AIRTUNES]) - AC_CHECK_MEMBERS([struct raop_callbacks_s.cls],,, + AC_CHECK_MEMBERS([struct raop_callbacks_s.audio_remote_control_id], + AC_DEFINE([HAVE_LIBSHAIRPLAY],[1],["Define to 1 if you have libshairplay."]), + USE_AIRTUNES=0, [[#include <shairplay/raop.h>]]) - AC_DEFINE([HAVE_LIBSHAIRPLAY],[1],["Define to 1 if you have libshairplay."]) fi if test "x$USE_AIRTUNES" == "x0"; then |