[vlc-commits] contrib: detect iOS correctly

Philippe Coent git at videolan.org
Tue Mar 20 16:30:01 CET 2012


vlc | branch: master | Philippe Coent <philippe.coent at gmail.com> | Tue Mar 20 16:29:18 2012 +0100| [72332b7500967f7d9c61a8d581f3aaed6a2d3b8a] | committer: Felix Paul Kühne

contrib: detect iOS correctly

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72332b7500967f7d9c61a8d581f3aaed6a2d3b8a
---

 contrib/bootstrap |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 32db642..bf44162 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -172,12 +172,16 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL"
 #
 OS="${HOST#*-}" # strip architecture
 case "${OS}" in
-	apple-darwin*)
+	arm-apple-darwin*)
+		add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
+		;;
+	*86*-apple-darwin*)
 		check_macosx_sdk
 		add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
 		;;
-	*darwin*)
-		add_make_enabled "HAVE_DARWIN_OS" "HAVE_BSD"
+	powerpc-apple-darwin*)
+		check_macosx_sdk
+		add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
 		;;
 	*bsd*)
 		add_make_enabled "HAVE_BSD"



More information about the vlc-commits mailing list