[vlc-devel] [PATCH] configure: fix compilation for tvOS

Felix Paul Kühne fkuehne at videolan.org
Wed Jan 22 15:02:42 CET 2020


From: Felix Paul Kühne <felix at feepk.net>

Both daemon and fork are declared for tvOS but are not available for use, so we need to explicitly ignore them.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 99dc7a3d00..97e61f716f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,6 +195,8 @@ case "${host_os}" in
              [HAVE_TVOS="1"
              HAVE_IOS="0"
              HAVE_OSX="0"
+             ac_cv_func_daemon=no
+             ac_cv_func_fork=no
              ],)
 
     dnl
-- 
2.21.1 (Apple Git-122.3)



More information about the vlc-devel mailing list