7273
# Check whether --with-gconf was given.
7274
if test "${with_gconf+set}" = set; then :
7275
withval=$with_gconf;
7280
if test "x$with_gconf" != xyes; then :
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2_26" >&5
7284
$as_echo_n "checking for GLIB2_26... " >&6; }
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
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`
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
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`
7321
if test $pkg_failed = yes; then
7322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323
$as_echo "no" >&6; }
7325
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7326
_pkg_short_errors_supported=yes
7328
_pkg_short_errors_supported=no
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`
7333
GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7335
# Put the nasty error message in config.log where it belongs
7336
echo "$GLIB2_26_PKG_ERRORS" >&5
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;}
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
7236
7363
# Check whether --with-xulrunner-sdk was given.
7237
7364
if test "${with_xulrunner_sdk+set}" = set; then :
7238
7365
withval=$with_xulrunner_sdk;
7239
7366
XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
7240
GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/nspr"
7367
GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
7368
GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
7242
7369
# Check whether --enable-new-libxul was given.
7243
7370
if test "${enable_new_libxul+set}" = set; then :
7244
enableval=$enable_new_libxul;
7245
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7253
if test "$GECKO_CFLAGS" = ""; then
7256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7257
$as_echo_n "checking for GECKO... " >&6; }
7259
if test -n "$GECKO_CFLAGS"; then
7260
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7261
elif test -n "$PKG_CONFIG"; then
7262
if test -n "$PKG_CONFIG" && \
7263
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= 2.0\""; } >&5
7264
($PKG_CONFIG --exists --print-errors "mozilla-plugin >= 2.0") 2>&5
7266
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7267
test $ac_status = 0; }; then
7268
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= 2.0" 2>/dev/null`
7269
test "x$?" != "x0" && pkg_failed=yes
7276
if test -n "$GECKO_LIBS"; then
7277
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7278
elif test -n "$PKG_CONFIG"; then
7279
if test -n "$PKG_CONFIG" && \
7280
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= 2.0\""; } >&5
7281
($PKG_CONFIG --exists --print-errors "mozilla-plugin >= 2.0") 2>&5
7283
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7284
test $ac_status = 0; }; then
7285
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= 2.0" 2>/dev/null`
7286
test "x$?" != "x0" && pkg_failed=yes
7296
if test $pkg_failed = yes; then
7297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298
$as_echo "no" >&6; }
7300
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7301
_pkg_short_errors_supported=yes
7303
_pkg_short_errors_supported=no
7305
if test $_pkg_short_errors_supported = yes; then
7306
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1`
7308
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1`
7310
# Put the nasty error message in config.log where it belongs
7311
echo "$GECKO_PKG_ERRORS" >&5
7313
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&5
7314
$as_echo "$as_me: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&2;}
7315
elif test $pkg_failed = untried; then
7316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317
$as_echo "no" >&6; }
7318
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&5
7319
$as_echo "$as_me: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&2;}
7321
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7322
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7324
$as_echo "yes" >&6; }
7326
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7327
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5
7328
$as_echo "$as_me: Using mozilla" >&6;}
7333
if test "$GECKO_CFLAGS" = ""; then
7336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7337
$as_echo_n "checking for GECKO... " >&6; }
7339
if test -n "$GECKO_CFLAGS"; then
7340
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7341
elif test -n "$PKG_CONFIG"; then
7342
if test -n "$PKG_CONFIG" && \
7343
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
7344
($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
7346
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7347
test $ac_status = 0; }; then
7348
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin" 2>/dev/null`
7349
test "x$?" != "x0" && pkg_failed=yes
7356
if test -n "$GECKO_LIBS"; then
7357
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7358
elif test -n "$PKG_CONFIG"; then
7359
if test -n "$PKG_CONFIG" && \
7360
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
7361
($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
7363
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7364
test $ac_status = 0; }; then
7365
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin" 2>/dev/null`
7366
test "x$?" != "x0" && pkg_failed=yes
7376
if test $pkg_failed = yes; then
7377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378
$as_echo "no" >&6; }
7380
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7381
_pkg_short_errors_supported=yes
7383
_pkg_short_errors_supported=no
7385
if test $_pkg_short_errors_supported = yes; then
7386
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin" 2>&1`
7388
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin" 2>&1`
7390
# Put the nasty error message in config.log where it belongs
7391
echo "$GECKO_PKG_ERRORS" >&5
7393
as_fn_error $? "mozilla-plugin not found. Try passing --with-xulrunner-sdk" "$LINENO" 5
7394
elif test $pkg_failed = untried; then
7395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396
$as_echo "no" >&6; }
7397
as_fn_error $? "mozilla-plugin not found. Try passing --with-xulrunner-sdk" "$LINENO" 5
7371
enableval=$enable_new_libxul; usenewlibxul=$enableval
7377
if test "$usenewlibxul" = "yes"; then
7378
GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7380
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7388
if test "$GECKO_CFLAGS" = ""; then
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7392
$as_echo_n "checking for GECKO... " >&6; }
7394
if test -n "$GECKO_CFLAGS"; then
7395
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7396
elif test -n "$PKG_CONFIG"; then
7397
if test -n "$PKG_CONFIG" && \
7398
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2\""; } >&5
7399
($PKG_CONFIG --exists --print-errors "libxul >= 2") 2>&5
7401
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7402
test $ac_status = 0; }; then
7403
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 2" 2>/dev/null`
7410
if test -n "$GECKO_LIBS"; then
7411
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7412
elif test -n "$PKG_CONFIG"; then
7413
if test -n "$PKG_CONFIG" && \
7414
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2\""; } >&5
7415
($PKG_CONFIG --exists --print-errors "libxul >= 2") 2>&5
7417
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7418
test $ac_status = 0; }; then
7419
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 2" 2>/dev/null`
7429
if test $pkg_failed = yes; then
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431
$as_echo "no" >&6; }
7433
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7434
_pkg_short_errors_supported=yes
7436
_pkg_short_errors_supported=no
7438
if test $_pkg_short_errors_supported = yes; then
7439
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2" 2>&1`
7441
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2" 2>&1`
7443
# Put the nasty error message in config.log where it belongs
7444
echo "$GECKO_PKG_ERRORS" >&5
7446
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2 not found, trying another" >&5
7447
$as_echo "$as_me: libxul >= 2 not found, trying another" >&6;}
7448
elif test $pkg_failed = untried; then
7449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450
$as_echo "no" >&6; }
7451
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2 not found, trying another" >&5
7452
$as_echo "$as_me: libxul >= 2 not found, trying another" >&6;}
7454
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7455
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7457
$as_echo "yes" >&6; }
7458
GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7459
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7460
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 2.0 " >&5
7461
$as_echo "$as_me: Using libxul >= 2.0 " >&6;}
7466
if test "$GECKO_CFLAGS" = ""; then
7469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7470
$as_echo_n "checking for GECKO... " >&6; }
7472
if test -n "$GECKO_CFLAGS"; then
7473
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7474
elif test -n "$PKG_CONFIG"; then
7475
if test -n "$PKG_CONFIG" && \
7476
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7477
($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7479
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7480
test $ac_status = 0; }; then
7481
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null`
7488
if test -n "$GECKO_LIBS"; then
7489
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7490
elif test -n "$PKG_CONFIG"; then
7491
if test -n "$PKG_CONFIG" && \
7492
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7493
($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7495
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7496
test $ac_status = 0; }; then
7497
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null`
7507
if test $pkg_failed = yes; then
7508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509
$as_echo "no" >&6; }
7511
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7512
_pkg_short_errors_supported=yes
7514
_pkg_short_errors_supported=no
7516
if test $_pkg_short_errors_supported = yes; then
7517
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 1.9.2" 2>&1`
7519
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1`
7521
# Put the nasty error message in config.log where it belongs
7522
echo "$GECKO_PKG_ERRORS" >&5
7524
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7525
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7526
elif test $pkg_failed = untried; then
7527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528
$as_echo "no" >&6; }
7529
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7530
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7532
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7533
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7535
$as_echo "yes" >&6; }
7537
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5
7539
$as_echo "$as_me: Using libxul >= 1.9.2" >&6;}
7544
if test "$GECKO_CFLAGS" = ""; then
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7548
$as_echo_n "checking for GECKO... " >&6; }
7550
if test -n "$GECKO_CFLAGS"; then
7551
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7552
elif test -n "$PKG_CONFIG"; then
7553
if test -n "$PKG_CONFIG" && \
7554
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7555
($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7557
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7558
test $ac_status = 0; }; then
7559
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null`
7566
if test -n "$GECKO_LIBS"; then
7567
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7568
elif test -n "$PKG_CONFIG"; then
7569
if test -n "$PKG_CONFIG" && \
7570
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7571
($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7573
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7574
test $ac_status = 0; }; then
7575
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null`
7585
if test $pkg_failed = yes; then
7586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587
$as_echo "no" >&6; }
7589
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7590
_pkg_short_errors_supported=yes
7592
_pkg_short_errors_supported=no
7594
if test $_pkg_short_errors_supported = yes; then
7595
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul < 1.9.2" 2>&1`
7597
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1`
7599
# Put the nasty error message in config.log where it belongs
7600
echo "$GECKO_PKG_ERRORS" >&5
7602
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7603
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7604
elif test $pkg_failed = untried; then
7605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606
$as_echo "no" >&6; }
7607
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7608
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7610
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7611
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7613
$as_echo "yes" >&6; }
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5
7615
$as_echo "$as_me: Using libxul < 1.9.2" >&6;}
7620
if test "$GECKO_CFLAGS" = ""; then
7623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7624
$as_echo_n "checking for GECKO... " >&6; }
7626
if test -n "$GECKO_CFLAGS"; then
7627
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7628
elif test -n "$PKG_CONFIG"; then
7629
if test -n "$PKG_CONFIG" && \
7630
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7631
($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7633
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7634
test $ac_status = 0; }; then
7635
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null`
7642
if test -n "$GECKO_LIBS"; then
7643
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7644
elif test -n "$PKG_CONFIG"; then
7645
if test -n "$PKG_CONFIG" && \
7646
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7647
($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7649
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7650
test $ac_status = 0; }; then
7651
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null`
7661
if test $pkg_failed = yes; then
7662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663
$as_echo "no" >&6; }
7665
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7666
_pkg_short_errors_supported=yes
7668
_pkg_short_errors_supported=no
7670
if test $_pkg_short_errors_supported = yes; then
7671
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1`
7673
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1`
7675
# Put the nasty error message in config.log where it belongs
7676
echo "$GECKO_PKG_ERRORS" >&5
7678
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7679
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7680
elif test $pkg_failed = untried; then
7681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682
$as_echo "no" >&6; }
7683
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7684
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7686
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7687
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7689
$as_echo "yes" >&6; }
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5
7691
$as_echo "$as_me: Using libxul-unstable" >&6;}
7696
if test "$GECKO_CFLAGS" = ""; then
7699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7700
$as_echo_n "checking for GECKO... " >&6; }
7702
if test -n "$GECKO_CFLAGS"; then
7703
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7704
elif test -n "$PKG_CONFIG"; then
7705
if test -n "$PKG_CONFIG" && \
7706
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7707
($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7709
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7710
test $ac_status = 0; }; then
7711
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7718
if test -n "$GECKO_LIBS"; then
7719
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7720
elif test -n "$PKG_CONFIG"; then
7721
if test -n "$PKG_CONFIG" && \
7722
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7723
($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7725
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726
test $ac_status = 0; }; then
7727
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7737
if test $pkg_failed = yes; then
7738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739
$as_echo "no" >&6; }
7741
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7742
_pkg_short_errors_supported=yes
7744
_pkg_short_errors_supported=no
7746
if test $_pkg_short_errors_supported = yes; then
7747
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7749
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7751
# Put the nasty error message in config.log where it belongs
7752
echo "$GECKO_PKG_ERRORS" >&5
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7755
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7756
elif test $pkg_failed = untried; then
7757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758
$as_echo "no" >&6; }
7759
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7760
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7399
7762
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7400
7763
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7772
if test "$GECKO_CFLAGS" = ""; then
7775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7776
$as_echo_n "checking for GECKO... " >&6; }
7778
if test -n "$GECKO_CFLAGS"; then
7779
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7780
elif test -n "$PKG_CONFIG"; then
7781
if test -n "$PKG_CONFIG" && \
7782
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7783
($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7785
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7786
test $ac_status = 0; }; then
7787
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
7794
if test -n "$GECKO_LIBS"; then
7795
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7796
elif test -n "$PKG_CONFIG"; then
7797
if test -n "$PKG_CONFIG" && \
7798
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7799
($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7801
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7802
test $ac_status = 0; }; then
7803
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
7813
if test $pkg_failed = yes; then
7814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7815
$as_echo "no" >&6; }
7817
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7818
_pkg_short_errors_supported=yes
7820
_pkg_short_errors_supported=no
7822
if test $_pkg_short_errors_supported = yes; then
7823
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7825
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7827
# Put the nasty error message in config.log where it belongs
7828
echo "$GECKO_PKG_ERRORS" >&5
7830
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7831
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7832
elif test $pkg_failed = untried; then
7833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7834
$as_echo "no" >&6; }
7835
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7836
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7838
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7839
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7841
$as_echo "yes" >&6; }
7842
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5
7843
$as_echo "$as_me: Using firefox" >&6;}
7848
if test "$GECKO_CFLAGS" = ""; then
7851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7852
$as_echo_n "checking for GECKO... " >&6; }
7854
if test -n "$GECKO_CFLAGS"; then
7855
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7856
elif test -n "$PKG_CONFIG"; then
7857
if test -n "$PKG_CONFIG" && \
7858
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7859
($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7861
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7862
test $ac_status = 0; }; then
7863
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7870
if test -n "$GECKO_LIBS"; then
7871
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7872
elif test -n "$PKG_CONFIG"; then
7873
if test -n "$PKG_CONFIG" && \
7874
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7875
($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7878
test $ac_status = 0; }; then
7879
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7889
if test $pkg_failed = yes; then
7890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891
$as_echo "no" >&6; }
7893
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7894
_pkg_short_errors_supported=yes
7896
_pkg_short_errors_supported=no
7898
if test $_pkg_short_errors_supported = yes; then
7899
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7901
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7903
# Put the nasty error message in config.log where it belongs
7904
echo "$GECKO_PKG_ERRORS" >&5
7906
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7907
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7908
elif test $pkg_failed = untried; then
7909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910
$as_echo "no" >&6; }
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7912
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7914
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7915
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7917
$as_echo "yes" >&6; }
7918
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5
7919
$as_echo "$as_me: Using seamonkey" >&6;}
7924
if test "$GECKO_CFLAGS" = ""; then
7927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7928
$as_echo_n "checking for GECKO... " >&6; }
7930
if test -n "$GECKO_CFLAGS"; then
7931
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7932
elif test -n "$PKG_CONFIG"; then
7933
if test -n "$PKG_CONFIG" && \
7934
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7935
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7937
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7938
test $ac_status = 0; }; then
7939
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7946
if test -n "$GECKO_LIBS"; then
7947
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7948
elif test -n "$PKG_CONFIG"; then
7949
if test -n "$PKG_CONFIG" && \
7950
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7951
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7953
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7954
test $ac_status = 0; }; then
7955
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7965
if test $pkg_failed = yes; then
7966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967
$as_echo "no" >&6; }
7969
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7970
_pkg_short_errors_supported=yes
7972
_pkg_short_errors_supported=no
7974
if test $_pkg_short_errors_supported = yes; then
7975
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7977
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7979
# Put the nasty error message in config.log where it belongs
7980
echo "$GECKO_PKG_ERRORS" >&5
7982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7983
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7984
elif test $pkg_failed = untried; then
7985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986
$as_echo "no" >&6; }
7987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7988
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7990
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7991
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7993
$as_echo "yes" >&6; }
7994
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5
7995
$as_echo "$as_me: Using xulrunner" >&6;}
8000
if test "$GECKO_CFLAGS" = ""; then
8003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
8004
$as_echo_n "checking for GECKO... " >&6; }
8006
if test -n "$GECKO_CFLAGS"; then
8007
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
8008
elif test -n "$PKG_CONFIG"; then
8009
if test -n "$PKG_CONFIG" && \
8010
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
8011
($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
8013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8014
test $ac_status = 0; }; then
8015
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null`
8022
if test -n "$GECKO_LIBS"; then
8023
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
8024
elif test -n "$PKG_CONFIG"; then
8025
if test -n "$PKG_CONFIG" && \
8026
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
8027
($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
8029
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8030
test $ac_status = 0; }; then
8031
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null`
8041
if test $pkg_failed = yes; then
8042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043
$as_echo "no" >&6; }
8045
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8046
_pkg_short_errors_supported=yes
8048
_pkg_short_errors_supported=no
8050
if test $_pkg_short_errors_supported = yes; then
8051
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iceape-plugin iceape-xpcom" 2>&1`
8053
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1`
8055
# Put the nasty error message in config.log where it belongs
8056
echo "$GECKO_PKG_ERRORS" >&5
8058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
8059
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
8060
elif test $pkg_failed = untried; then
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062
$as_echo "no" >&6; }
8063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
8064
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
8066
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
8067
GECKO_LIBS=$pkg_cv_GECKO_LIBS
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8069
$as_echo "yes" >&6; }
8070
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5
8071
$as_echo "$as_me: Using iceape" >&6;}
7411
8078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5