bug 385241 - disable libxul for debug builds. r=bsmedberg
authorted.mielczarek@gmail.com
Thu, 05 Jul 2007 11:04:47 -0700
changeset 3158 f29f887e723a4048b20f8bde02498b5c451c7995
parent 3157 33fc9531f4c0968901e7c90707bf039fcde305c6
child 3159 5b91617b81c0f1428c29d9129815f4d48fea7710
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg
bugs385241
milestone1.9a7pre
bug 385241 - disable libxul for debug builds. r=bsmedberg
configure.in
--- a/configure.in
+++ b/configure.in
@@ -6717,16 +6717,21 @@ dnl =
 dnl ========================================================
 MOZ_ARG_HEADER(Static build options)
 
 MOZ_ARG_ENABLE_BOOL(static,
 [  --enable-static         Enable building of internal static libs],
     BUILD_STATIC_LIBS=1,
     BUILD_STATIC_LIBS=)
 
+dnl Disable libxul in debug builds.
+if test -n "$MOZ_DEBUG"; then
+   MOZ_ENABLE_LIBXUL=
+fi
+
 MOZ_ARG_ENABLE_BOOL(libxul,
 [  --enable-libxul         Enable building of libxul],
     MOZ_ENABLE_LIBXUL=1,
     MOZ_ENABLE_LIBXUL=)
 
 if test -n "$MOZ_ENABLE_LIBXUL" -a -n "$BUILD_STATIC_LIBS"; then
 	AC_MSG_ERROR([--enable-libxul is not compatible with --enable-static])
 fi