Bug 859830: deprecate ANDROID_VERSION in favor of android/api-level.h. r=ted
authorVicamo Yang <vyang@mozilla.com>
Thu, 11 Apr 2013 08:37:12 -0400
changeset 4457 59246254cba9048cd1a12e3bdb02d579069b96d7
parent 4456 e2c212c02db7776dc3a1ffe20c7c368e5993f068
child 4458 14d8789ebb236b7d9b3d1e99e487bed9709714ac
push id8
push usertmielczarek@mozilla.com
push dateThu, 11 Apr 2013 17:58:29 +0000
reviewersted
bugs859830
Bug 859830: deprecate ANDROID_VERSION in favor of android/api-level.h. r=ted
configure
configure.in
--- a/configure
+++ b/configure
@@ -1014,20 +1014,16 @@ echo "configure:961: checking for androi
     if test -z "$HOST_LDFLAGS" ; then
         HOST_LDFLAGS=" "
     fi
 
     cat >> confdefs.h <<\EOF
 #define ANDROID 1
 EOF
 
-    cat >> confdefs.h <<EOF
-#define ANDROID_VERSION $android_version
-EOF
-
     ;;
 esac
 fi
 
 dist_prefix='${MOD_DEPTH}/dist'
 dist_bindir='${dist_prefix}/bin'
 dist_includedir='${dist_prefix}/include/nspr'
 dist_libdir='${dist_prefix}/lib'
--- a/configure.in
+++ b/configure.in
@@ -266,17 +266,16 @@ case "$target" in
     if test -z "$HOST_CXXFLAGS" ; then
         HOST_CXXFLAGS=" "
     fi
     if test -z "$HOST_LDFLAGS" ; then
         HOST_LDFLAGS=" "
     fi
 
     AC_DEFINE(ANDROID)
-    AC_DEFINE_UNQUOTED(ANDROID_VERSION, $android_version)
     ;;
 esac
 fi
 
 dnl ========================================================
 dnl =
 dnl = Check options that may affect the compiler
 dnl =