Bustage fix for bug 305782 (update toolkit/toolkit-makefiles.sh with SYSTEM_BZ2).
authorreed@reedloden.com
Sat, 08 Mar 2008 03:16:54 -0800
changeset 12787 50aeb00ad125c5e4cd2fb2559434ed0dbcf79ab3
parent 12786 2128399e44abbb872ebcaeac653129cac397366c
child 12788 3d3924dbed92cf02ffa07c4a9e036bbf6e524a9d
push idunknown
push userunknown
push dateunknown
bugs305782
milestone1.9b5pre
Bustage fix for bug 305782 (update toolkit/toolkit-makefiles.sh with SYSTEM_BZ2).
toolkit/toolkit-makefiles.sh
--- a/toolkit/toolkit-makefiles.sh
+++ b/toolkit/toolkit-makefiles.sh
@@ -743,25 +743,21 @@ MAKEFILES_accessible="
   accessible/src/base/Makefile
   accessible/src/html/Makefile
   accessible/src/xul/Makefile
   accessible/src/msaa/Makefile
   accessible/src/atk/Makefile
   accessible/src/mac/Makefile
   accessible/build/Makefile
 "
+
 MAKEFILES_zlib="
   modules/zlib/standalone/Makefile
 "
 
-MAKEFILES_libbz2="
-  modules/libbz2/Makefile
-  modules/libbz2/src/Makefile
-"
-
 MAKEFILES_libmar="
   modules/libmar/Makefile
   modules/libmar/src/Makefile
   modules/libmar/tool/Makefile
 "
 
 add_makefiles "
   $MAKEFILES_db
@@ -800,17 +796,16 @@ add_makefiles "
   $MAKEFILES_xpcom_tests
   $MAKEFILES_xpinstall
   $MAKEFILES_xpfe
   $MAKEFILES_embedding
   $MAKEFILES_xulapp
   $MAKEFILES_libpr0n
   $MAKEFILES_accessible
   $MAKEFILES_zlib
-  $MAKEFILES_libbz2
   $MAKEFILES_libmar
 "
 
 #
 # Conditional makefiles
 #
 
 if [ "$MOZ_COMPOSER" ]; then
@@ -974,16 +969,23 @@ fi
 
 if [ ! "$SYSTEM_ZLIB" ]; then
   add_makefiles "
     modules/zlib/Makefile
     modules/zlib/src/Makefile
   "
 fi
 
+if [ ! "$SYSTEM_BZ2" ]; then
+  add_makefiles "
+    modules/libbz2/Makefile
+    modules/libbz2/src/Makefile
+  "
+fi
+
 if test -n "$MOZ_UPDATE_PACKAGING"; then
   add_makefiles "
     tools/update-packaging/Makefile
     other-licenses/bsdiff/Makefile
   "
 fi
 
 if [ ! "$SYSTEM_PNG" ]; then