ios: unconditionally check if we are building for iOS
authorThiago Santos <thiago.sousa.santos@collabora.com>
Mon, 15 Apr 2013 21:40:09 +0000 (18:40 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 16 Apr 2013 18:58:12 +0000 (15:58 -0300)
Instead of only checking if applemedia is going to be built

configure.ac

index 8f88f09..033e0d2 100644 (file)
@@ -853,10 +853,8 @@ case "$host" in
     HAVE_APPLE_MEDIA="no"
     ;;
 esac
-HAVE_IOS="no"
-if test "x$HAVE_APPLE_MEDIA" = "xyes"; then
-  AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-])
-fi
+
+AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-])
 
 AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes")
 if test "x$HAVE_IOS" = "xyes"; then