~ubuntu-branches/ubuntu/precise/gecko-mediaplayer/precise

« back to all changes in this revision

Viewing changes to configure

  • 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:
627
627
PULSE_CFLAGS
628
628
ALSA_CFLAGS
629
629
GLIB2_26_DEFINES
630
 
GLIB2_26_LIBS
631
 
GLIB2_26_CFLAGS
632
630
GLIB_LIBS
633
631
GLIB_CFLAGS
634
632
PKG_CONFIG_LIBDIR
777
775
PKG_CONFIG_LIBDIR
778
776
GLIB_CFLAGS
779
777
GLIB_LIBS
780
 
GLIB2_26_CFLAGS
781
 
GLIB2_26_LIBS
782
778
GECKO_CFLAGS
783
779
GECKO_LIBS
784
780
NSPR_CFLAGS
1449
1445
              path overriding pkg-config's built-in search path
1450
1446
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1451
1447
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1452
 
  GLIB2_26_CFLAGS
1453
 
              C compiler flags for GLIB2_26, overriding pkg-config
1454
 
  GLIB2_26_LIBS
1455
 
              linker flags for GLIB2_26, overriding pkg-config
1456
1448
  GECKO_CFLAGS
1457
1449
              C compiler flags for GECKO, overriding pkg-config
1458
1450
  GECKO_LIBS  linker flags for GECKO, overriding pkg-config
7277
7269
  with_gconf=check
7278
7270
fi
7279
7271
 
7280
 
if test "x$with_gconf" != xyes; then :
7281
 
 
7282
 
pkg_failed=no
7283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2_26" >&5
7284
 
$as_echo_n "checking for GLIB2_26... " >&6; }
7285
 
 
7286
 
if test -n "$GLIB2_26_CFLAGS"; then
7287
 
    pkg_cv_GLIB2_26_CFLAGS="$GLIB2_26_CFLAGS"
7288
 
 elif test -n "$PKG_CONFIG"; then
7289
 
    if test -n "$PKG_CONFIG" && \
7290
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
7291
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
7292
 
  ac_status=$?
7293
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
 
  test $ac_status = 0; }; then
7295
 
  pkg_cv_GLIB2_26_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.0" 2>/dev/null`
7296
 
else
7297
 
  pkg_failed=yes
7298
 
fi
7299
 
 else
7300
 
    pkg_failed=untried
7301
 
fi
7302
 
if test -n "$GLIB2_26_LIBS"; then
7303
 
    pkg_cv_GLIB2_26_LIBS="$GLIB2_26_LIBS"
7304
 
 elif test -n "$PKG_CONFIG"; then
7305
 
    if test -n "$PKG_CONFIG" && \
7306
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
7307
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
7308
 
  ac_status=$?
7309
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7310
 
  test $ac_status = 0; }; then
7311
 
  pkg_cv_GLIB2_26_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.0" 2>/dev/null`
7312
 
else
7313
 
  pkg_failed=yes
7314
 
fi
7315
 
 else
7316
 
    pkg_failed=untried
7317
 
fi
7318
 
 
7319
 
 
7320
 
 
7321
 
if test $pkg_failed = yes; then
7322
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323
 
$as_echo "no" >&6; }
7324
 
 
7325
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7326
 
        _pkg_short_errors_supported=yes
7327
 
else
7328
 
        _pkg_short_errors_supported=no
7329
 
fi
7330
 
        if test $_pkg_short_errors_supported = yes; then
7331
 
                GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7332
 
        else
7333
 
                GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7334
 
        fi
7335
 
        # Put the nasty error message in config.log where it belongs
7336
 
        echo "$GLIB2_26_PKG_ERRORS" >&5
7337
 
 
7338
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: Using GLIB < 2.26 specific features" >&5
7339
 
$as_echo "$as_me: Using GLIB < 2.26 specific features" >&6;}
7340
 
elif test $pkg_failed = untried; then
7341
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342
 
$as_echo "no" >&6; }
7343
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: Using GLIB < 2.26 specific features" >&5
7344
 
$as_echo "$as_me: Using GLIB < 2.26 specific features" >&6;}
7345
 
else
7346
 
        GLIB2_26_CFLAGS=$pkg_cv_GLIB2_26_CFLAGS
7347
 
        GLIB2_26_LIBS=$pkg_cv_GLIB2_26_LIBS
7348
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7349
 
$as_echo "yes" >&6; }
7350
 
        with_gconf=no with_gsettings=yes with_gio=yes GLIB2_26_DEFINES="-DGLIB2_26_ENABLED"
7351
 
$as_echo "#define GLIB2_26_ENABLED 1" >>confdefs.h
7352
 
 
7353
 
fi
7354
 
 
7355
 
fi
7356
7272
 
7357
7273
 
7358
7274