]> git.sesse.net Git - vlc/commitdiff
contrib: detect iOS correctly
authorPhilippe Coent <philippe.coent@gmail.com>
Tue, 20 Mar 2012 15:29:18 +0000 (16:29 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Tue, 20 Mar 2012 15:29:59 +0000 (16:29 +0100)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
contrib/bootstrap

index 32db64292d0588c56223cfa05651dbbb6fad40df..bf4416244d26e7a3bb8bc5d09e3432088861aece 100755 (executable)
@@ -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"