summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
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 ========================================================