Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / configure.ac
index 7bb0136b79678d8218dbad96e05a7d028c2b3d1d..cb765e1ed916ef37f54a4951e0a28d417ce1191f 100644 (file)
@@ -72,7 +72,7 @@ AC_SUBST(JVM_INCLUDE)
 
 AC_ARG_WITH(android, AS_HELP_STRING([--with-android=PATH],
        [Set android SDK path (default searches in a variety of places)]),
-       [ANDROID_SDK=$withval], [ANDROID_SDK=auto])
+       [ANDROID_SDK=$withval], [ANDROID_SDK=${ANDROID_SDK:-auto}])
 
 echo ANDROID_SDK set to $ANDROID_SDK