Bug 368206 - enable breakpad by default on mac-intel (it currently doesn't build on mac-ppc, but it will in the future), r=luser
authorbenjamin@smedbergs.us
Wed, 25 Apr 2007 09:40:27 -0700
changeset 792 3b5d64d983eefa0a8c203719c96b83a620708338
parent 791 24669f752fd43a932a62d034edbd97df964996c0
child 793 1d90b2d920ec28361de353ece17499b108355707
push idunknown
push userunknown
push dateunknown
reviewersluser
bugs368206
milestone1.9a4pre
Bug 368206 - enable breakpad by default on mac-intel (it currently doesn't build on mac-ppc, but it will in the future), r=luser
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5595,17 +5595,20 @@ if test -n "${MOZ_JAVAXPCOM}"; then
   fi
 fi
 
 dnl ========================================================
 dnl = Airbag crash reporting (on by default on supported platforms)
 dnl ========================================================
 
 if test "$OS_ARCH" = "WINNT" -a -z "$GNU_CC"; then
-   MOZ_AIRBAG=1
+    MOZ_AIRBAG=1
+fi
+if test "$OS_ARCH" = "Darwin" -a "$OS_TEST" = "i386"; then
+    MOZ_AIRBAG=1
 fi
 
 MOZ_ARG_DISABLE_BOOL(airbag,
 [  --disable-airbag          Disable airbag crash reporting],
     MOZ_AIRBAG=,
     MOZ_AIRBAG=1)
 
 if test -n "$MOZ_AIRBAG"; then