[vlc-devel] [PATCH V2 2/8] configure: add HAVE_FREEBSD detection

Thomas Guillem thomas at gllm.fr
Tue Jan 22 11:13:19 CET 2019


---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 1b63a74736..a594054b66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -320,6 +320,7 @@ AM_CONDITIONAL([HAVE_LINUX],   [test "${SYS}" = "linux"])
 AM_CONDITIONAL([HAVE_OS2],     [test "${SYS}" = "os2"])
 
 AM_CONDITIONAL([HAVE_DARWIN],  [test "${SYS}" = "darwin"])
+AM_CONDITIONAL([HAVE_FREEBSD], [test "${SYS}" = "freebsd" -o "${SYS}" = "darwin"])
 AM_CONDITIONAL([HAVE_IOS],     [test "${HAVE_IOS}" = "1"])
 AM_CONDITIONAL([HAVE_OSX],     [test "${HAVE_OSX}" = "1"])
 AM_CONDITIONAL([HAVE_TVOS],    [test "${HAVE_TVOS}" = "1"])
-- 
2.20.1



More information about the vlc-devel mailing list