Commit c9f41430 authored by Jens Georg's avatar Jens Georg

Add option to install apport hook

https://bugzilla.gnome.org/show_bug.cgi?id=716547
parent b7291a26
SUBDIRS = misc help po app-icons icons ui
SUBDIRS = misc help po app-icons icons ui apport
EXTRA_DIST = AUTHORS
......
......@@ -165,6 +165,17 @@ AS_IF([test "x$enable_unity_support" = "xyes"],
AC_SUBST([HAVE_UNITY])
AM_CONDITIONAL([HAVE_UNITY],[test "x$HAVE_UNITY" = "xyes"])
dnl ***********************************************************************
dnl Ubuntu apport hook
dnl ***********************************************************************
AC_ARG_ENABLE([apport-hook],
AS_HELP_STRING([--enable-apport-hook],
[Install apport hook]),
[],
[enable_apport_hook=no])
AM_CONDITIONAL([INSTALL_APPORT_HOOK], [test "x$enable_apport_hook" != "xno"])
dnl ***********************************************************************
dnl Publishers
dnl ***********************************************************************
......@@ -275,6 +286,7 @@ AC_CONFIG_FILES([
app-icons/Makefile
icons/Makefile
ui/Makefile
apport/Makefile
],[],
[API_VERSION='$API_VERSION'])
AC_OUTPUT
......
......@@ -99,3 +99,7 @@ subdir('misc')
subdir('thumbnailer')
subdir('settings-migrator')
subdir('app-icons')
if get_option('install-apport-hook')
subdir('apport')
endif
......@@ -4,3 +4,4 @@ option('enable-extra-plugins', type : 'boolean', value : 'true', description: 'E
option('trace', type: 'string', value : '', description: 'Enable various trace options (available: dtors, import, md5, metadata-writer, monitoring, pixbuf-cache, reflow, reflow-items)')
option('measure', type: 'string', value : '', description : 'Enable various timing measurements(available : enhance, import, pipeline, view-filtering, thumbnail-cache)')
option('disable-dupe-detection', type: 'boolean', value : 'false', description: 'Disable duplicate checks')
option('install-apport-hook', type : 'boolean', value : 'true', description: 'Enable Ubuntu apport hook')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment