summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-07 04:26:01 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-07 04:35:16 -0500
commit0f3e990615adfd42ae9cfbe13a6259cb6a0368c4 (patch)
treeb661be23c84e9cefb9822eef924987828495041b /old-configure.in
parent347e24fcecf58a6664097a28855078b514fdc38c (diff)
downloadUXP-0f3e990615adfd42ae9cfbe13a6259cb6a0368c4.tar
UXP-0f3e990615adfd42ae9cfbe13a6259cb6a0368c4.tar.gz
UXP-0f3e990615adfd42ae9cfbe13a6259cb6a0368c4.tar.lz
UXP-0f3e990615adfd42ae9cfbe13a6259cb6a0368c4.tar.xz
UXP-0f3e990615adfd42ae9cfbe13a6259cb6a0368c4.zip
Add configure variable verification
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index 5942b0139..76f9d3a4d 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -5760,6 +5760,35 @@ fi
AC_SUBST(MOZILLA_VERSION)
+dnl ========================================================
+dnl Directive 4
+dnl ========================================================
+
+DIRECTIVE4_LIST="MOZ_OFFICIAL_BRANDING=$MOZ_OFFICIAL_BRANDING
+MOZ_BRANDING_DIRECTORY=$MOZ_BRANDING_DIRECTORY
+MC_BASILISK=$MC_BASILISK
+MC_PALEMOON=$MC_PALEMOON
+MOZ_SANDBOX=$MOZ_SANDBOX
+MOZ_WEBRTC=$MOZ_WEBRTC
+MOZ_SYSTEM_LIBEVENT=$MOZ_SYSTEM_LIBEVENT
+MOZ_SYSTEM_NSS=$MOZ_SYSTEM_NSS
+MOZ_SYSTEM_NSPR=$MOZ_SYSTEM_NSPR
+MOZ_SYSTEM_JPEG=$MOZ_SYSTEM_JPEG
+MOZ_SYSTEM_ZLIB=$MOZ_SYSTEM_ZLIB
+MOZ_SYSTEM_BZ2=$MOZ_SYSTEM_BZ2
+MOZ_SYSTEM_PNG=$MOZ_SYSTEM_PNG
+MOZ_SYSTEM_LIBVPX=$MOZ_SYSTEM_LIBVPX
+MOZ_SYSTEM_SQLITE=$MOZ_SYSTEM_SQLITE
+MOZ_SYSTEM_JEMALLOC=$MOZ_SYSTEM_JEMALLOC"
+
+DIRECTIVE4=`$PYTHON $_topsrcdir/build/directive4.py $DIRECTIVE4_LIST`
+
+if test -n "$DIRECTIVE4"; then
+ AC_ERROR([Branding Violation - Please see: http://www.palemoon.org/redist.shtml])
+fi
+
+AC_SUBST(DIRECTIVE4)
+
dnl Spit out some output
dnl ========================================================