summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2017-09-26 12:06:50 +0300
committerJustOff <Off.Just.Off@gmail.com>2017-09-26 12:06:50 +0300
commit9e16210d6db7feffba5ad890d6742202feeade54 (patch)
tree47782941883a7d154953cb733ade1caacc059409 /configure.in
parente4471c5ce436a7cb1319827b2c6c807fe7074b1c (diff)
downloadpalemoon-gre-9e16210d6db7feffba5ad890d6742202feeade54.tar.gz
Centralize UAO version control
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ee9803091..2c674c557 100644
--- a/configure.in
+++ b/configure.in
@@ -1888,6 +1888,14 @@ AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZILLA_VERSION")
AC_DEFINE_UNQUOTED(MOZILLA_VERSION_U,$MOZILLA_VERSION)
AC_DEFINE_UNQUOTED(MOZILLA_UAVERSION,"$MOZILLA_UAVERSION")
AC_SUBST(MOZILLA_SYMBOLVERSION)
+AC_SUBST(MOZILLA_UAVERSION)
+
+dnl ========================================================
+dnl Get Firefox compatibility version we claim in our UA
+dnl ========================================================
+MOZILLA_COMPATVERSION=`tail -n 1 "$_topsrcdir"/config/compatversion.txt 2>/dev/null || tail -1 "$_topsrcdir"/config/compatversion.txt`
+AC_DEFINE_UNQUOTED(MOZILLA_COMPATVERSION,"$MOZILLA_COMPATVERSION")
+AC_SUBST(MOZILLA_COMPATVERSION)
MOZ_DOING_LTO(lto_is_enabled)