~ubuntu-branches/ubuntu/quantal/gecko-mediaplayer/quantal

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-07-18 13:12:46 UTC
  • Revision ID: james.westby@ubuntu.com-20110718131246-vurifh0t8q2i7htl
Tags: 1.0.4-0ubuntu2
* Add patch to not automatically enable gsettings support when glib is
  new enough and gconf is disabled. This needs a schema file installing to
  make everything loading it not crash on startup (which doesn't seem to be
  provided). Works around startup crash affecting every browser and
  Thunderbird (LP: #812053). Note, this is a sledgehammer approach to stop
  everything from crashing. Someone needs to create a schema file if they
  want gsettings support enabled
  - add debian/patches/force-no-gsettings.patch
  - add debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        [Use Gconf to store preferences])],
37
37
        [],
38
38
        [with_gconf=check])
39
 
AS_IF([test "x$with_gconf" != xyes],        
40
 
    [PKG_CHECK_MODULES(GLIB2_26,[glib-2.0 >= 2.26.0],[with_gconf=no with_gsettings=yes with_gio=yes GLIB2_26_DEFINES="-DGLIB2_26_ENABLED" AC_DEFINE([GLIB2_26_ENABLED],[1],[Define to 1 if you have GLIB 2.26 or higher])],AC_MSG_NOTICE([Using GLIB < 2.26 specific features]))
41
 
    ])    
42
39
 
43
40
AC_SUBST(GLIB2_26_DEFINES)
44
41
AC_SUBST(ALSA_CFLAGS)