Kaydet (Commit) 4e910033 authored tarafından Miklos Vajna's avatar Miklos Vajna

configure: add default value for --with-android-ndk

Change-Id: I2ab9d6fe4ac81f4a102a3f4242aa6d41e81fab88
üst 315e72d4
...@@ -294,6 +294,9 @@ AC_ARG_WITH(android-sdk, ...@@ -294,6 +294,9 @@ AC_ARG_WITH(android-sdk,
,) ,)
ANDROID_NDK_HOME= ANDROID_NDK_HOME=
if test -z "$with_android_ndk" -a -e "$SRC_ROOT/external/android-ndk"; then
with_android_ndk="$SRC_ROOT/external/android-ndk"
fi
if test -n "$with_android_ndk"; then if test -n "$with_android_ndk"; then
ANDROID_NDK_HOME=$with_android_ndk ANDROID_NDK_HOME=$with_android_ndk
...@@ -760,7 +763,7 @@ linux-android*) ...@@ -760,7 +763,7 @@ linux-android*)
_os=Android _os=Android
if test -z "$with_android_ndk"; then if test -z "$with_android_ndk"; then
AC_MSG_ERROR([the --with-android-ndk option is mandatory]) AC_MSG_ERROR([the --with-android-ndk option is mandatory, unless it is available at external/android-ndk/.])
fi fi
if test -z "$with_android_ndk_toolchain_version"; then if test -z "$with_android_ndk_toolchain_version"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment