aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2011-05-31 08:46:44 -0400
committerS. Davilla <davilla@4pi.com>2011-05-31 08:46:58 -0400
commitf0947fd7a64319d51b1c3b3858c9851b48545760 (patch)
tree0d4893ae19e7ad9b181dcabf17888a040588fcb7 /tools
parentb4dd5415f956fee6e82898261c507349e7d94734 (diff)
[ios] fixed darwin depends, check for sdks 10.* (osx) or 4.* (ios)
Diffstat (limited to 'tools')
-rw-r--r--tools/darwin/depends/configure.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/darwin/depends/configure.in b/tools/darwin/depends/configure.in
index 4aece74dde..9dc0957791 100644
--- a/tools/darwin/depends/configure.in
+++ b/tools/darwin/depends/configure.in
@@ -32,9 +32,11 @@ case $use_darwin in
if test "$use_arch" = "armv7"; then
AC_MSG_ERROR(error in configure of --with-arch=$use_arch)
fi
- if test "$use_sdk" != "10.4"; then
+ case $use_sdk in
+ 10.*);;
+ *)
AC_MSG_ERROR(error in configure of --with-sdk=$use_sdk)
- fi
+ esac
CONFIG_SITE=" [config.site:config.site_osx.in]"
MK_CONFIG_SITE=" [config.site.mk:config.site_osx.mk.in]"
;;
@@ -50,9 +52,11 @@ case $use_darwin in
if test "$use_arch" != "armv7"; then
AC_MSG_ERROR(error in configure of --with-arch=$use_arch)
fi
- if test "$use_sdk" != "4.2"; then
+ case $use_sdk in
+ 4.*);;
+ *)
AC_MSG_ERROR(error in configure of --with-sdk=$use_sdk)
- fi
+ esac
CONFIG_SITE=" [config.site:config.site_ios.in]"
MK_CONFIG_SITE=" [config.site.mk:config.site_ios.mk.in]"
;;