bug-buddy r2723 - trunk
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: bug-buddy r2723 - trunk
- Date: Wed, 24 Sep 2008 16:34:03 +0000 (UTC)
Author: cosimoc
Date: Wed Sep 24 16:34:03 2008
New Revision: 2723
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2723&view=rev
Log:
2008-09-24 Cosimo Cecchi <cosimoc gnome org>
* configure.in:
Make google-breakpad support optional (but enabled by default for
the platforms that support it).
Thanks to Sjoerd Simons (#479507).
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Sep 24 16:34:03 2008
@@ -83,30 +83,39 @@
AC_CHECK_HEADERS([libelf.h],[],[AC_MSG_ERROR([libelf.h not found.])])
AC_CHECK_HEADERS([gelf.h],[],[AC_MSG_ERROR([gelf.h not found.])])
-AC_CONFIG_SUBDIRS(google-breakpad)
-GOOGLE_BREAKPAD_SUPPORTED_OS="no"
-case $target_os in
- solaris*)
- solaris=yes
- GOOGLE_BREAKPAD_SUPPORTED_OS="yes"
- ;;
- linux*)
- linux=yes
- GOOGLE_BREAKPAD_SUPPORTED_OS="yes"
- ;;
-esac
-
-GOOGLE_BREAKPAD_SUPPORTED_ARCH="no"
-case $target_cpu in
- *86)
- GOOGLE_BREAKPAD_SUPPORTED_ARCH="yes" ;;
-esac
-
-if test x$GOOGLE_BREAKPAD_SUPPORTED_OS = xyes ; then
- if test x$GOOGLE_BREAKPAD_SUPPORTED_ARCH = xyes ; then
- echo "OS and CPU supported: enabling google-breakpad"
- AC_DEFINE(ENABLE_GOOGLE_BREAKPAD, 1, [define if google-break is enabled])
- use_google_breakpad=yes
+AC_ARG_ENABLE([google-breakpad],
+ [AC_HELP_STRING([--enable-google-breakpad],
+ [Enable support for retrieving minidumps with Google \
+ Breakpad [default=yes]])],
+ enable_google_breakpad="$enableval", enable_google_breakpad=yes)
+
+if test "x$enable_google_breakpad" = "xyes"; then
+ AC_CONFIG_SUBDIRS(google-breakpad)
+
+ GOOGLE_BREAKPAD_SUPPORTED_OS="no"
+ case $target_os in
+ solaris*)
+ solaris=yes
+ GOOGLE_BREAKPAD_SUPPORTED_OS="yes"
+ ;;
+ linux*)
+ linux=yes
+ GOOGLE_BREAKPAD_SUPPORTED_OS="yes"
+ ;;
+ esac
+
+ GOOGLE_BREAKPAD_SUPPORTED_ARCH="no"
+ case $target_cpu in
+ *86)
+ GOOGLE_BREAKPAD_SUPPORTED_ARCH="yes" ;;
+ esac
+
+ if test x$GOOGLE_BREAKPAD_SUPPORTED_OS = xyes ; then
+ if test x$GOOGLE_BREAKPAD_SUPPORTED_ARCH = xyes ; then
+ echo "OS and CPU supported: enabling google-breakpad"
+ AC_DEFINE(ENABLE_GOOGLE_BREAKPAD, 1, [define if google-break is enabled])
+ use_google_breakpad=yes
+ fi
fi
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]