Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
#
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"