Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
PATCH: configure.in has iOS options
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed May 14, 2013
1 parent 0323397 commit 1c0b44d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/src/configure.in
Expand Up @@ -161,6 +161,11 @@ MOZ_ARG_WITH_STRING(gonk-toolchain-prefix,
prefix to gonk toolchain commands],
gonk_toolchain_prefix=$withval)

MOZ_ARG_WITH_STRING(ios-target,
[ --with-ios-target=SDK
what target sdk to use, defaults to iPhoneSimulator],
ios_target=$withval)

if test -n "$gonkdir" ; then
kernel_name=`uname -s | tr "[[:upper:]]" "[[:lower:]]"`

Expand Down Expand Up @@ -212,6 +217,8 @@ if test -n "$gonkdir" ; then
AC_DEFINE(ANDROID)
AC_DEFINE(GONK)
CROSS_COMPILE=1
elif test -n "$ios_target" ; then
MOZ_IOS_SDK
else
MOZ_ANDROID_NDK
fi
Expand Down

0 comments on commit 1c0b44d

Please sign in to comment.