1.1 --- a/configure.ac Mon Nov 17 11:36:20 2014 +0000
1.2 +++ b/configure.ac Mon Nov 02 19:04:58 2015 +0000
1.3 @@ -1,7 +1,7 @@
1.4 # -*- Autoconf -*-
1.5 # Process this file with autoconf to produce a configure script.
1.6
1.7 -AC_INIT([plover],[0.5],[ali@juiblex.co.uk])
1.8 +AC_INIT([plover],[0.5.1],[ali@juiblex.co.uk])
1.9 AC_PREREQ(2.59)
1.10 AC_CONFIG_AUX_DIR([config])
1.11 AC_CONFIG_SRCDIR([plover/plover.h])
1.12 @@ -70,9 +70,9 @@
1.13 # increment CURRENT and set AGE and REVISION to 0.
1.14 # - If the interface is the same as the previous version, increment REVISION.
1.15 #
1.16 -lt_current=3
1.17 +lt_current=4
1.18 lt_revision=0
1.19 -lt_age=0
1.20 +lt_age=1
1.21 LIBPLOVER_LT_VERSION_INFO="$lt_current:$lt_revision:$lt_age"
1.22 AC_SUBST(LIBPLOVER_LT_VERSION_INFO)
1.23
1.24 @@ -88,6 +88,7 @@
1.25 # Checks for programs.
1.26 ##################################################
1.27 AC_PROG_CC
1.28 +AC_PROG_CXX
1.29 AC_LIBTOOL_WIN32_DLL
1.30 AC_PROG_LIBTOOL
1.31 PKG_PROG_PKG_CONFIG
1.32 @@ -163,6 +164,22 @@
1.33 fi
1.34 AC_SUBST([FETCH_LIBS])
1.35 LIBS="$save_LIBS"
1.36 +AC_ARG_WITH([breakpad],
1.37 + [AS_HELP_STRING([--with-breakpad],
1.38 + [produce minidumps on crash @<:@default=check@:>@])],
1.39 + [],[with_breakpad=check])
1.40 +if test "$with_breakpad" != no; then
1.41 + PKG_CHECK_MODULES([BREAKPAD],[breakpad-client],
1.42 + [have_breakpad="yes";REQUIREMENTS="$REQUIREMENTS x11"],[have_breakpad="no"])
1.43 + if test "$have_breakpad" = yes; then
1.44 + AC_DEFINE([HAVE_BREAKPAD],[1],[Define if breakpad is available.])
1.45 + elif test "$with_breakpad" = yes; then
1.46 + AC_MSG_ERROR([$BREAKPAD_PKG_ERRORS])
1.47 + fi
1.48 +else
1.49 + have_breakpad="no"
1.50 +fi
1.51 +AM_CONDITIONAL([HAVE_BREAKPAD],[test $have_breakpad = yes])
1.52
1.53 ##################################################
1.54 # Checks for library functions.