[vlc-commits] contrib/bootstrap: fixed check for iOS

Felix Paul Kühne git at videolan.org
Tue Mar 27 16:38:46 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Mar 25 11:55:19 2012 +0200| [55f9dac033687cdb730951179dd606bb27c3ab8f] | committer: Felix Paul Kühne

contrib/bootstrap: fixed check for iOS

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

 contrib/bootstrap |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 9266fd6..907b705 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -190,17 +190,15 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL"
 #
 OS="${HOST#*-}" # strip architecture
 case "${OS}" in
-	arm-apple-darwin*)
-		check_ios_sdk
-		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"
-		;;
-	powerpc-apple-darwin*)
-		check_macosx_sdk
-		add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
+	apple-darwin*)
+		if test -z "$BUILDFORIOS"
+		then
+			check_macosx_sdk
+			add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
+		else
+			check_ios_sdk
+			add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
+		fi
 		;;
 	*bsd*)
 		add_make_enabled "HAVE_BSD"



More information about the vlc-commits mailing list