summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-24 04:27:18 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-24 04:28:16 +0200
commit1e4e503a5399990064d9d91c392a7bec7502b01d (patch)
tree254fbf7175f0c59951b0af0c6a118591a5f7ee7f /configure.ac
parentd586e3bf04d486aa28709ff98926e2817629d59f (diff)
add build system part for upload crashreport symbols
Change-Id: Ib8dc0267034716740ba6d7f60cf635adc4bd1561
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6dea282490a9..091abb4c8141 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2023,6 +2023,12 @@ AC_ARG_WITH(ant-home,
of the entire distribution.]),
,)
+AC_ARG_WITH(symbol-config,
+ AS_HELP_STRING([--with-symbol-config],
+ [Configuration for the crashreport symbol upload]),
+ [],
+ [$with_symbol_config=no])
+
AC_ARG_WITH(export-validation,
AS_HELP_STRING([--with-export-validation],
[If you want the exported files to be validated. Right now limited to OOXML and ODF files.
@@ -9135,6 +9141,17 @@ else
AC_DEFINE(ENABLE_BREAKPAD)
AC_DEFINE(HAVE_FEATURE_BREAKPAD, 1)
BUILD_TYPE="$BUILD_TYPE BREAKPAD"
+
+ AC_MSG_CHECKING([for crashreport config])
+ if test "$with_symbol_config" = "no"; then
+ BREAKPAD_SYMBOL_CONFIG="invalid"
+ AC_MSG_RESULT([no])
+ else
+ BREAKPAD_SYMBOL_CONFIG="$with_symbol_config"
+ AC_DEFINE(BREAKPAD_SYMBOL_CONFIG)
+ AC_MSG_RESULT([yes])
+ fi
+ AC_SUBST(BREAKPAD_SYMBOL_CONFIG)
fi
AC_SUBST(ENABLE_BREAKPAD)