hack: add --enable-nightly-build switch for defining NIGHTLY_BUILD

This commit is contained in:
2019-01-23 10:53:53 +08:00
parent 7a0d53f8ab
commit 038d035c34
2 changed files with 24 additions and 0 deletions
+12
View File
@@ -1256,6 +1256,18 @@ dnl ========================================================
MOZ_ANDROID_STLPORT
dnl ========================================================
dnl = Nightly build
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(nightly-build,
[ --enable-nightly-build Enable Nightly build (default=no)],
NIGHTLY_BUILD=1,
NIGHTLY_BUILD= )
if test -n "$NIGHTLY_BUILD"; then
AC_DEFINE(NIGHTLY_BUILD)
fi
AC_SUBST(NIGHTLY_BUILD)
dnl ========================================================
dnl Suppress Clang Argument Warnings
dnl ========================================================
+12
View File
@@ -1034,6 +1034,18 @@ dnl ========================================================
MOZ_ANDROID_STLPORT
dnl ========================================================
dnl = Nightly build
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(nightly-build,
[ --enable-nightly-build Enable Nightly build (default=no)],
NIGHTLY_BUILD=1,
NIGHTLY_BUILD= )
if test -n "$NIGHTLY_BUILD"; then
AC_DEFINE(NIGHTLY_BUILD)
fi
AC_SUBST(NIGHTLY_BUILD)
dnl ========================================================
dnl Suppress Clang Argument Warnings
dnl ========================================================