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

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2011-07-17 22:24:37 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110717222437-f0skmzay316o4rve
Tags: 1.0.4-0ubuntu1
* New upstream release.
* debian/patches:
 - 90_svn420_fix_null.patch: Remove, merged upstream.
 - 91_svn421_disable_npp_initialize.patch: Remove, merged upstream.
 - dont_use_libxul.patch: Remove, fixed upstream.
 - autotools.patch: Remove, not needed now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
603
603
am__EXEEXT_TRUE
604
604
LTLIBOBJS
605
605
LIBOBJS
 
606
CURL_DEFINES
 
607
CURL_LIBS
 
608
CURL_CFLAGS
606
609
plugindir
607
610
GIO_DEFINES
608
611
GIO_LIBS
609
612
GIO_CFLAGS
 
613
USE_GCONF
610
614
GCONF_DEFINES
611
615
GCONF_SCHEMA_FILE_DIR
612
616
GCONF_SCHEMA_CONFIG_SOURCE
620
624
NSPR_CFLAGS
621
625
GECKO_LIBS
622
626
GECKO_CFLAGS
 
627
PULSE_CFLAGS
 
628
ALSA_CFLAGS
 
629
GLIB2_26_DEFINES
 
630
GLIB2_26_LIBS
 
631
GLIB2_26_CFLAGS
623
632
GLIB_LIBS
624
633
GLIB_CFLAGS
625
634
PKG_CONFIG_LIBDIR
668
677
LDFLAGS
669
678
CFLAGS
670
679
CC
 
680
AM_BACKSLASH
 
681
AM_DEFAULT_VERBOSITY
671
682
MAINT
672
683
MAINTAINER_MODE_FALSE
673
684
MAINTAINER_MODE_TRUE
736
747
ac_user_opts='
737
748
enable_option_checking
738
749
enable_maintainer_mode
 
750
enable_silent_rules
739
751
enable_dependency_tracking
 
752
with_gconf
740
753
with_xulrunner_sdk
741
754
enable_new_libxul
742
 
with_gconf
743
755
with_gconf_source
744
756
with_gconf_schema_file_dir
745
757
enable_schemas_install
746
758
with_gio
747
759
with_plugin_dir
748
760
enable_caching
 
761
with_libcurl
749
762
'
750
763
      ac_precious_vars='build_alias
751
764
host_alias
764
777
PKG_CONFIG_LIBDIR
765
778
GLIB_CFLAGS
766
779
GLIB_LIBS
 
780
GLIB2_26_CFLAGS
 
781
GLIB2_26_LIBS
767
782
GECKO_CFLAGS
768
783
GECKO_LIBS
769
784
NSPR_CFLAGS
773
788
GCONF_CFLAGS
774
789
GCONF_LIBS
775
790
GIO_CFLAGS
776
 
GIO_LIBS'
 
791
GIO_LIBS
 
792
CURL_CFLAGS
 
793
CURL_LIBS'
777
794
 
778
795
 
779
796
# Initialize some variables set by options.
1390
1407
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1391
1408
  --enable-maintainer-mode  enable make rules and dependencies not useful
1392
1409
                          (and sometimes confusing) to the casual installer
 
1410
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1411
  --disable-silent-rules         verbose build output (undo: `make V=0')
1393
1412
  --disable-dependency-tracking  speeds up one-time build
1394
1413
  --enable-dependency-tracking   do not reject slow dependency extractors
1395
1414
  --enable-new-libxul     libxul/xulrunner-sdk is 1.9.2 or higher
1400
1419
Optional Packages:
1401
1420
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1402
1421
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1422
  --with-gconf            Use Gconf to store preferences
1403
1423
  --with-xulrunner-sdk=path_to_sdk
1404
1424
                          Path to xulrunner SDK for build
1405
1425
                          --with-xulrunner-sdk=/path/to/sdk
1406
 
  --with-gconf            Use Gconf to store preferences
1407
1426
  --with-gconf-source=sourceaddress
1408
1427
                          Config database for installing schema files.
1409
1428
  --with-gconf-schema-file-dir=dir
1410
1429
                          Directory for installing schema files.
1411
1430
  --with-gio              Use GIO for file I/O
1412
1431
  --with-plugin-dir=dir   Directory where plugins are stored
 
1432
  --with-libcurl          Add support for libcurl
1413
1433
 
1414
1434
Some influential environment variables:
1415
1435
  CC          C compiler command
1429
1449
              path overriding pkg-config's built-in search path
1430
1450
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1431
1451
  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
1432
1456
  GECKO_CFLAGS
1433
1457
              C compiler flags for GECKO, overriding pkg-config
1434
1458
  GECKO_LIBS  linker flags for GECKO, overriding pkg-config
1441
1465
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
1442
1466
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1443
1467
  GIO_LIBS    linker flags for GIO, overriding pkg-config
 
1468
  CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
 
1469
  CURL_LIBS   linker flags for CURL, overriding pkg-config
1444
1470
 
1445
1471
Use these variables to override the choices made by `configure' or to help
1446
1472
it to find libraries and programs with nonstandard names/locations.
2726
2752
 
2727
2753
# Define the identity of the package.
2728
2754
 PACKAGE=gecko-mediaplayer
2729
 
 VERSION=1.0.0
 
2755
 VERSION=1.0.4
2730
2756
 
2731
2757
 
2732
2758
cat >>confdefs.h <<_ACEOF
2791
2817
  MAINT=$MAINTAINER_MODE_TRUE
2792
2818
 
2793
2819
 
 
2820
# Check whether --enable-silent-rules was given.
 
2821
if test "${enable_silent_rules+set}" = set; then :
 
2822
  enableval=$enable_silent_rules;
 
2823
fi
 
2824
 
 
2825
case $enable_silent_rules in
 
2826
yes) AM_DEFAULT_VERBOSITY=0;;
 
2827
no)  AM_DEFAULT_VERBOSITY=1;;
 
2828
*)   AM_DEFAULT_VERBOSITY=0;;
 
2829
esac
 
2830
AM_BACKSLASH='\'
 
2831
 
2794
2832
 
2795
2833
DEPDIR="${am__leading_dot}deps"
2796
2834
 
6295
6333
_ACEOF
6296
6334
 
6297
6335
 
6298
 
ALL_LINGUAS="cs de es fr ja it nl pl pt_BR tr"
 
6336
ALL_LINGUAS="cs de es fr ja it nl pl pt pt_BR tr"
6299
6337
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6300
6338
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6301
6339
                  inttypes.h stdint.h unistd.h
7024
7062
 
7025
7063
 
7026
7064
 
7027
 
 
7028
7065
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7029
7066
        if test -n "$ac_tool_prefix"; then
7030
7067
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7147
7184
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
7148
7185
 elif test -n "$PKG_CONFIG"; then
7149
7186
    if test -n "$PKG_CONFIG" && \
7150
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
7151
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
 
7187
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
 
7188
  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7152
7189
  ac_status=$?
7153
7190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7154
7191
  test $ac_status = 0; }; then
7155
 
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 " 2>/dev/null`
7156
 
                      test "x$?" != "x0" && pkg_failed=yes
 
7192
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
7157
7193
else
7158
7194
  pkg_failed=yes
7159
7195
fi
7164
7200
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
7165
7201
 elif test -n "$PKG_CONFIG"; then
7166
7202
    if test -n "$PKG_CONFIG" && \
7167
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
7168
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
 
7203
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
 
7204
  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7169
7205
  ac_status=$?
7170
7206
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171
7207
  test $ac_status = 0; }; then
7172
 
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 " 2>/dev/null`
7173
 
                      test "x$?" != "x0" && pkg_failed=yes
 
7208
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
7174
7209
else
7175
7210
  pkg_failed=yes
7176
7211
fi
7190
7225
        _pkg_short_errors_supported=no
7191
7226
fi
7192
7227
        if test $_pkg_short_errors_supported = yes; then
7193
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 " 2>&1`
 
7228
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
7194
7229
        else
7195
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 " 2>&1`
 
7230
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
7196
7231
        fi
7197
7232
        # Put the nasty error message in config.log where it belongs
7198
7233
        echo "$GLIB_PKG_ERRORS" >&5
7199
7234
 
7200
 
        as_fn_error $? "Package requirements (glib-2.0 ) were not met:
 
7235
        as_fn_error $? "Package requirements (glib-2.0) were not met:
7201
7236
 
7202
7237
$GLIB_PKG_ERRORS
7203
7238
 
7207
7242
Alternatively, you may set the environment variables GLIB_CFLAGS
7208
7243
and GLIB_LIBS to avoid the need to call pkg-config.
7209
7244
See the pkg-config man page for more details." "$LINENO" 5
 
7245
 
7210
7246
elif test $pkg_failed = untried; then
7211
7247
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212
7248
$as_echo "no" >&6; }
7222
7258
 
7223
7259
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7224
7260
See \`config.log' for more details" "$LINENO" 5; }
 
7261
 
7225
7262
else
7226
7263
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7227
7264
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
7233
7270
 
7234
7271
 
7235
7272
 
 
7273
# Check whether --with-gconf was given.
 
7274
if test "${with_gconf+set}" = set; then :
 
7275
  withval=$with_gconf;
 
7276
else
 
7277
  with_gconf=check
 
7278
fi
 
7279
 
 
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
 
 
7357
 
 
7358
 
 
7359
 
 
7360
 
 
7361
 
 
7362
 
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"
7241
 
 
 
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
7246
 
 
7247
 
fi
7248
 
 
7249
 
 
7250
 
fi
7251
 
 
7252
 
 
7253
 
if test "$GECKO_CFLAGS" = ""; then
7254
 
 
7255
 
pkg_failed=no
7256
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7257
 
$as_echo_n "checking for GECKO... " >&6; }
7258
 
 
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
7265
 
  ac_status=$?
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
7270
 
else
7271
 
  pkg_failed=yes
7272
 
fi
7273
 
 else
7274
 
    pkg_failed=untried
7275
 
fi
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
7282
 
  ac_status=$?
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
7287
 
else
7288
 
  pkg_failed=yes
7289
 
fi
7290
 
 else
7291
 
    pkg_failed=untried
7292
 
fi
7293
 
 
7294
 
 
7295
 
 
7296
 
if test $pkg_failed = yes; then
7297
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298
 
$as_echo "no" >&6; }
7299
 
 
7300
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7301
 
        _pkg_short_errors_supported=yes
7302
 
else
7303
 
        _pkg_short_errors_supported=no
7304
 
fi
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`
7307
 
        else
7308
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1`
7309
 
        fi
7310
 
        # Put the nasty error message in config.log where it belongs
7311
 
        echo "$GECKO_PKG_ERRORS" >&5
7312
 
 
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;}
7320
 
else
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; }
7325
 
 
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;}
7329
 
 
7330
 
fi
7331
 
fi
7332
 
 
7333
 
if test "$GECKO_CFLAGS" = ""; then
7334
 
 
7335
 
pkg_failed=no
7336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7337
 
$as_echo_n "checking for GECKO... " >&6; }
7338
 
 
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
7345
 
  ac_status=$?
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
7350
 
else
7351
 
  pkg_failed=yes
7352
 
fi
7353
 
 else
7354
 
    pkg_failed=untried
7355
 
fi
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
7362
 
  ac_status=$?
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
7367
 
else
7368
 
  pkg_failed=yes
7369
 
fi
7370
 
 else
7371
 
    pkg_failed=untried
7372
 
fi
7373
 
 
7374
 
 
7375
 
 
7376
 
if test $pkg_failed = yes; then
7377
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378
 
$as_echo "no" >&6; }
7379
 
 
7380
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7381
 
        _pkg_short_errors_supported=yes
7382
 
else
7383
 
        _pkg_short_errors_supported=no
7384
 
fi
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`
7387
 
        else
7388
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin" 2>&1`
7389
 
        fi
7390
 
        # Put the nasty error message in config.log where it belongs
7391
 
        echo "$GECKO_PKG_ERRORS" >&5
7392
 
 
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
 
7372
else
 
7373
  usenewlibxul=no
 
7374
fi
 
7375
 
 
7376
 
 
7377
        if test "$usenewlibxul" = "yes"; then
 
7378
                GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
 
7379
 
 
7380
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
 
7381
 
 
7382
        fi
 
7383
 
 
7384
 
 
7385
fi
 
7386
 
 
7387
 
 
7388
if test "$GECKO_CFLAGS" = ""; then
 
7389
 
 
7390
pkg_failed=no
 
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7392
$as_echo_n "checking for GECKO... " >&6; }
 
7393
 
 
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
 
7400
  ac_status=$?
 
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`
 
7404
else
 
7405
  pkg_failed=yes
 
7406
fi
 
7407
 else
 
7408
    pkg_failed=untried
 
7409
fi
 
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
 
7416
  ac_status=$?
 
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`
 
7420
else
 
7421
  pkg_failed=yes
 
7422
fi
 
7423
 else
 
7424
    pkg_failed=untried
 
7425
fi
 
7426
 
 
7427
 
 
7428
 
 
7429
if test $pkg_failed = yes; then
 
7430
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7431
$as_echo "no" >&6; }
 
7432
 
 
7433
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7434
        _pkg_short_errors_supported=yes
 
7435
else
 
7436
        _pkg_short_errors_supported=no
 
7437
fi
 
7438
        if test $_pkg_short_errors_supported = yes; then
 
7439
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2" 2>&1`
 
7440
        else
 
7441
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2" 2>&1`
 
7442
        fi
 
7443
        # Put the nasty error message in config.log where it belongs
 
7444
        echo "$GECKO_PKG_ERRORS" >&5
 
7445
 
 
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;}
 
7453
else
 
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;}
 
7462
 
 
7463
fi
 
7464
fi
 
7465
 
 
7466
if test "$GECKO_CFLAGS" = ""; then
 
7467
 
 
7468
pkg_failed=no
 
7469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7470
$as_echo_n "checking for GECKO... " >&6; }
 
7471
 
 
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
 
7478
  ac_status=$?
 
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`
 
7482
else
 
7483
  pkg_failed=yes
 
7484
fi
 
7485
 else
 
7486
    pkg_failed=untried
 
7487
fi
 
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
 
7494
  ac_status=$?
 
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`
 
7498
else
 
7499
  pkg_failed=yes
 
7500
fi
 
7501
 else
 
7502
    pkg_failed=untried
 
7503
fi
 
7504
 
 
7505
 
 
7506
 
 
7507
if test $pkg_failed = yes; then
 
7508
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7509
$as_echo "no" >&6; }
 
7510
 
 
7511
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7512
        _pkg_short_errors_supported=yes
 
7513
else
 
7514
        _pkg_short_errors_supported=no
 
7515
fi
 
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`
 
7518
        else
 
7519
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1`
 
7520
        fi
 
7521
        # Put the nasty error message in config.log where it belongs
 
7522
        echo "$GECKO_PKG_ERRORS" >&5
 
7523
 
 
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;}
 
7531
else
 
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; }
 
7536
 
 
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;}
 
7540
 
 
7541
fi
 
7542
fi
 
7543
 
 
7544
if test "$GECKO_CFLAGS" = ""; then
 
7545
 
 
7546
pkg_failed=no
 
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7548
$as_echo_n "checking for GECKO... " >&6; }
 
7549
 
 
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
 
7556
  ac_status=$?
 
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`
 
7560
else
 
7561
  pkg_failed=yes
 
7562
fi
 
7563
 else
 
7564
    pkg_failed=untried
 
7565
fi
 
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
 
7572
  ac_status=$?
 
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`
 
7576
else
 
7577
  pkg_failed=yes
 
7578
fi
 
7579
 else
 
7580
    pkg_failed=untried
 
7581
fi
 
7582
 
 
7583
 
 
7584
 
 
7585
if test $pkg_failed = yes; then
 
7586
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7587
$as_echo "no" >&6; }
 
7588
 
 
7589
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7590
        _pkg_short_errors_supported=yes
 
7591
else
 
7592
        _pkg_short_errors_supported=no
 
7593
fi
 
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`
 
7596
        else
 
7597
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1`
 
7598
        fi
 
7599
        # Put the nasty error message in config.log where it belongs
 
7600
        echo "$GECKO_PKG_ERRORS" >&5
 
7601
 
 
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;}
 
7609
else
 
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;}
 
7616
 
 
7617
fi
 
7618
fi
 
7619
 
 
7620
if test "$GECKO_CFLAGS" = ""; then
 
7621
 
 
7622
pkg_failed=no
 
7623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7624
$as_echo_n "checking for GECKO... " >&6; }
 
7625
 
 
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
 
7632
  ac_status=$?
 
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`
 
7636
else
 
7637
  pkg_failed=yes
 
7638
fi
 
7639
 else
 
7640
    pkg_failed=untried
 
7641
fi
 
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
 
7648
  ac_status=$?
 
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`
 
7652
else
 
7653
  pkg_failed=yes
 
7654
fi
 
7655
 else
 
7656
    pkg_failed=untried
 
7657
fi
 
7658
 
 
7659
 
 
7660
 
 
7661
if test $pkg_failed = yes; then
 
7662
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7663
$as_echo "no" >&6; }
 
7664
 
 
7665
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7666
        _pkg_short_errors_supported=yes
 
7667
else
 
7668
        _pkg_short_errors_supported=no
 
7669
fi
 
7670
        if test $_pkg_short_errors_supported = yes; then
 
7671
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1`
 
7672
        else
 
7673
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1`
 
7674
        fi
 
7675
        # Put the nasty error message in config.log where it belongs
 
7676
        echo "$GECKO_PKG_ERRORS" >&5
 
7677
 
 
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;}
 
7685
else
 
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;}
 
7692
 
 
7693
fi
 
7694
fi
 
7695
 
 
7696
if test "$GECKO_CFLAGS" = ""; then
 
7697
 
 
7698
pkg_failed=no
 
7699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7700
$as_echo_n "checking for GECKO... " >&6; }
 
7701
 
 
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
 
7708
  ac_status=$?
 
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`
 
7712
else
 
7713
  pkg_failed=yes
 
7714
fi
 
7715
 else
 
7716
    pkg_failed=untried
 
7717
fi
 
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
 
7724
  ac_status=$?
 
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`
 
7728
else
 
7729
  pkg_failed=yes
 
7730
fi
 
7731
 else
 
7732
    pkg_failed=untried
 
7733
fi
 
7734
 
 
7735
 
 
7736
 
 
7737
if test $pkg_failed = yes; then
 
7738
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7739
$as_echo "no" >&6; }
 
7740
 
 
7741
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7742
        _pkg_short_errors_supported=yes
 
7743
else
 
7744
        _pkg_short_errors_supported=no
 
7745
fi
 
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`
 
7748
        else
 
7749
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
 
7750
        fi
 
7751
        # Put the nasty error message in config.log where it belongs
 
7752
        echo "$GECKO_PKG_ERRORS" >&5
 
7753
 
 
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;}
7398
7761
else
7399
7762
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7400
7763
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7406
7769
fi
7407
7770
fi
7408
7771
 
 
7772
if test "$GECKO_CFLAGS" = ""; then
 
7773
 
 
7774
pkg_failed=no
 
7775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7776
$as_echo_n "checking for GECKO... " >&6; }
 
7777
 
 
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
 
7784
  ac_status=$?
 
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`
 
7788
else
 
7789
  pkg_failed=yes
 
7790
fi
 
7791
 else
 
7792
    pkg_failed=untried
 
7793
fi
 
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
 
7800
  ac_status=$?
 
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`
 
7804
else
 
7805
  pkg_failed=yes
 
7806
fi
 
7807
 else
 
7808
    pkg_failed=untried
 
7809
fi
 
7810
 
 
7811
 
 
7812
 
 
7813
if test $pkg_failed = yes; then
 
7814
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7815
$as_echo "no" >&6; }
 
7816
 
 
7817
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7818
        _pkg_short_errors_supported=yes
 
7819
else
 
7820
        _pkg_short_errors_supported=no
 
7821
fi
 
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`
 
7824
        else
 
7825
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
 
7826
        fi
 
7827
        # Put the nasty error message in config.log where it belongs
 
7828
        echo "$GECKO_PKG_ERRORS" >&5
 
7829
 
 
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;}
 
7837
else
 
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;}
 
7844
 
 
7845
fi
 
7846
fi
 
7847
 
 
7848
if test "$GECKO_CFLAGS" = ""; then
 
7849
 
 
7850
pkg_failed=no
 
7851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7852
$as_echo_n "checking for GECKO... " >&6; }
 
7853
 
 
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
 
7860
  ac_status=$?
 
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`
 
7864
else
 
7865
  pkg_failed=yes
 
7866
fi
 
7867
 else
 
7868
    pkg_failed=untried
 
7869
fi
 
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
 
7876
  ac_status=$?
 
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`
 
7880
else
 
7881
  pkg_failed=yes
 
7882
fi
 
7883
 else
 
7884
    pkg_failed=untried
 
7885
fi
 
7886
 
 
7887
 
 
7888
 
 
7889
if test $pkg_failed = yes; then
 
7890
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7891
$as_echo "no" >&6; }
 
7892
 
 
7893
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7894
        _pkg_short_errors_supported=yes
 
7895
else
 
7896
        _pkg_short_errors_supported=no
 
7897
fi
 
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`
 
7900
        else
 
7901
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
 
7902
        fi
 
7903
        # Put the nasty error message in config.log where it belongs
 
7904
        echo "$GECKO_PKG_ERRORS" >&5
 
7905
 
 
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;}
 
7913
else
 
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;}
 
7920
 
 
7921
fi
 
7922
fi
 
7923
 
 
7924
if test "$GECKO_CFLAGS" = ""; then
 
7925
 
 
7926
pkg_failed=no
 
7927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7928
$as_echo_n "checking for GECKO... " >&6; }
 
7929
 
 
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
 
7936
  ac_status=$?
 
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`
 
7940
else
 
7941
  pkg_failed=yes
 
7942
fi
 
7943
 else
 
7944
    pkg_failed=untried
 
7945
fi
 
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
 
7952
  ac_status=$?
 
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`
 
7956
else
 
7957
  pkg_failed=yes
 
7958
fi
 
7959
 else
 
7960
    pkg_failed=untried
 
7961
fi
 
7962
 
 
7963
 
 
7964
 
 
7965
if test $pkg_failed = yes; then
 
7966
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7967
$as_echo "no" >&6; }
 
7968
 
 
7969
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7970
        _pkg_short_errors_supported=yes
 
7971
else
 
7972
        _pkg_short_errors_supported=no
 
7973
fi
 
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`
 
7976
        else
 
7977
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
 
7978
        fi
 
7979
        # Put the nasty error message in config.log where it belongs
 
7980
        echo "$GECKO_PKG_ERRORS" >&5
 
7981
 
 
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;}
 
7989
else
 
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;}
 
7996
 
 
7997
fi
 
7998
fi
 
7999
 
 
8000
if test "$GECKO_CFLAGS" = ""; then
 
8001
 
 
8002
pkg_failed=no
 
8003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
8004
$as_echo_n "checking for GECKO... " >&6; }
 
8005
 
 
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
 
8012
  ac_status=$?
 
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`
 
8016
else
 
8017
  pkg_failed=yes
 
8018
fi
 
8019
 else
 
8020
    pkg_failed=untried
 
8021
fi
 
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
 
8028
  ac_status=$?
 
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`
 
8032
else
 
8033
  pkg_failed=yes
 
8034
fi
 
8035
 else
 
8036
    pkg_failed=untried
 
8037
fi
 
8038
 
 
8039
 
 
8040
 
 
8041
if test $pkg_failed = yes; then
 
8042
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8043
$as_echo "no" >&6; }
 
8044
 
 
8045
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8046
        _pkg_short_errors_supported=yes
 
8047
else
 
8048
        _pkg_short_errors_supported=no
 
8049
fi
 
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`
 
8052
        else
 
8053
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1`
 
8054
        fi
 
8055
        # Put the nasty error message in config.log where it belongs
 
8056
        echo "$GECKO_PKG_ERRORS" >&5
 
8057
 
 
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;}
 
8065
else
 
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;}
 
8072
 
 
8073
fi
 
8074
fi
 
8075
 
7409
8076
 
7410
8077
pkg_failed=no
7411
8078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
7421
8088
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7422
8089
  test $ac_status = 0; }; then
7423
8090
  pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null`
7424
 
                      test "x$?" != "x0" && pkg_failed=yes
7425
8091
else
7426
8092
  pkg_failed=yes
7427
8093
fi
7438
8104
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7439
8105
  test $ac_status = 0; }; then
7440
8106
  pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null`
7441
 
                      test "x$?" != "x0" && pkg_failed=yes
7442
8107
else
7443
8108
  pkg_failed=yes
7444
8109
fi
7458
8123
        _pkg_short_errors_supported=no
7459
8124
fi
7460
8125
        if test $_pkg_short_errors_supported = yes; then
7461
 
                NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nspr" 2>&1`
 
8126
                NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr" 2>&1`
7462
8127
        else
7463
 
                NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nspr" 2>&1`
 
8128
                NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr" 2>&1`
7464
8129
        fi
7465
8130
        # Put the nasty error message in config.log where it belongs
7466
8131
        echo "$NSPR_PKG_ERRORS" >&5
7502
8167
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7503
8168
  test $ac_status = 0; }; then
7504
8169
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
7505
 
                      test "x$?" != "x0" && pkg_failed=yes
7506
8170
else
7507
8171
  pkg_failed=yes
7508
8172
fi
7519
8183
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7520
8184
  test $ac_status = 0; }; then
7521
8185
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
7522
 
                      test "x$?" != "x0" && pkg_failed=yes
7523
8186
else
7524
8187
  pkg_failed=yes
7525
8188
fi
7539
8202
        _pkg_short_errors_supported=no
7540
8203
fi
7541
8204
        if test $_pkg_short_errors_supported = yes; then
7542
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
 
8205
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
7543
8206
        else
7544
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
 
8207
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
7545
8208
        fi
7546
8209
        # Put the nasty error message in config.log where it belongs
7547
8210
        echo "$DBUS_PKG_ERRORS" >&5
7556
8219
Alternatively, you may set the environment variables DBUS_CFLAGS
7557
8220
and DBUS_LIBS to avoid the need to call pkg-config.
7558
8221
See the pkg-config man page for more details." "$LINENO" 5
 
8222
 
7559
8223
elif test $pkg_failed = untried; then
7560
8224
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561
8225
$as_echo "no" >&6; }
7571
8235
 
7572
8236
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7573
8237
See \`config.log' for more details" "$LINENO" 5; }
 
8238
 
7574
8239
else
7575
8240
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
7576
8241
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
7581
8246
 
7582
8247
 
7583
8248
 
 
8249
USE_GCONF=0
7584
8250
 
7585
8251
# Check whether --with-gconf was given.
7586
8252
if test "${with_gconf+set}" = set; then :
7612
8278
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7613
8279
  test $ac_status = 0; }; then
7614
8280
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
7615
 
                      test "x$?" != "x0" && pkg_failed=yes
7616
8281
else
7617
8282
  pkg_failed=yes
7618
8283
fi
7629
8294
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7630
8295
  test $ac_status = 0; }; then
7631
8296
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
7632
 
                      test "x$?" != "x0" && pkg_failed=yes
7633
8297
else
7634
8298
  pkg_failed=yes
7635
8299
fi
7649
8313
        _pkg_short_errors_supported=no
7650
8314
fi
7651
8315
        if test $_pkg_short_errors_supported = yes; then
7652
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
 
8316
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
7653
8317
        else
7654
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
 
8318
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
7655
8319
        fi
7656
8320
        # Put the nasty error message in config.log where it belongs
7657
8321
        echo "$GCONF_PKG_ERRORS" >&5
7731
8395
  GCONF_SCHEMAS_INSTALL_FALSE=
7732
8396
fi
7733
8397
 
7734
 
 
 
8398
 USE_GCONF=1
7735
8399
 GCONF_DEFINES="-DHAVE_GCONF"
7736
8400
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
7737
8401
 
7743
8407
fi
7744
8408
 
7745
8409
 
 
8410
 
7746
8411
# Check whether --with-gio was given.
7747
8412
if test "${with_gio+set}" = set; then :
7748
8413
  withval=$with_gio;
7766
8431
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7767
8432
  test $ac_status = 0; }; then
7768
8433
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
7769
 
                      test "x$?" != "x0" && pkg_failed=yes
7770
8434
else
7771
8435
  pkg_failed=yes
7772
8436
fi
7783
8447
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7784
8448
  test $ac_status = 0; }; then
7785
8449
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
7786
 
                      test "x$?" != "x0" && pkg_failed=yes
7787
8450
else
7788
8451
  pkg_failed=yes
7789
8452
fi
7803
8466
        _pkg_short_errors_supported=no
7804
8467
fi
7805
8468
        if test $_pkg_short_errors_supported = yes; then
7806
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
 
8469
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
7807
8470
        else
7808
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
 
8471
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
7809
8472
        fi
7810
8473
        # Put the nasty error message in config.log where it belongs
7811
8474
        echo "$GIO_PKG_ERRORS" >&5
7855
8518
fi
7856
8519
 
7857
8520
 
 
8521
# Check whether --with-libcurl was given.
 
8522
if test "${with_libcurl+set}" = set; then :
 
8523
  withval=$with_libcurl;
 
8524
else
 
8525
  with_libcurl=check
 
8526
fi
 
8527
 
 
8528
if test "x$with_libcurl" != xno; then :
 
8529
 
 
8530
pkg_failed=no
 
8531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
 
8532
$as_echo_n "checking for CURL... " >&6; }
 
8533
 
 
8534
if test -n "$CURL_CFLAGS"; then
 
8535
    pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
 
8536
 elif test -n "$PKG_CONFIG"; then
 
8537
    if test -n "$PKG_CONFIG" && \
 
8538
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
 
8539
  ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
 
8540
  ac_status=$?
 
8541
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8542
  test $ac_status = 0; }; then
 
8543
  pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
 
8544
else
 
8545
  pkg_failed=yes
 
8546
fi
 
8547
 else
 
8548
    pkg_failed=untried
 
8549
fi
 
8550
if test -n "$CURL_LIBS"; then
 
8551
    pkg_cv_CURL_LIBS="$CURL_LIBS"
 
8552
 elif test -n "$PKG_CONFIG"; then
 
8553
    if test -n "$PKG_CONFIG" && \
 
8554
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
 
8555
  ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
 
8556
  ac_status=$?
 
8557
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8558
  test $ac_status = 0; }; then
 
8559
  pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
 
8560
else
 
8561
  pkg_failed=yes
 
8562
fi
 
8563
 else
 
8564
    pkg_failed=untried
 
8565
fi
 
8566
 
 
8567
 
 
8568
 
 
8569
if test $pkg_failed = yes; then
 
8570
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8571
$as_echo "no" >&6; }
 
8572
 
 
8573
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8574
        _pkg_short_errors_supported=yes
 
8575
else
 
8576
        _pkg_short_errors_supported=no
 
8577
fi
 
8578
        if test $_pkg_short_errors_supported = yes; then
 
8579
                CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
 
8580
        else
 
8581
                CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
 
8582
        fi
 
8583
        # Put the nasty error message in config.log where it belongs
 
8584
        echo "$CURL_PKG_ERRORS" >&5
 
8585
 
 
8586
        { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling without curl support. May disable apple.com sites" >&5
 
8587
$as_echo "$as_me: Compiling without curl support. May disable apple.com sites" >&6;}
 
8588
elif test $pkg_failed = untried; then
 
8589
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8590
$as_echo "no" >&6; }
 
8591
        { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling without curl support. May disable apple.com sites" >&5
 
8592
$as_echo "$as_me: Compiling without curl support. May disable apple.com sites" >&6;}
 
8593
else
 
8594
        CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
 
8595
        CURL_LIBS=$pkg_cv_CURL_LIBS
 
8596
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
8597
$as_echo "yes" >&6; }
 
8598
        CURL_DEFINES="-DHAVE_CURL"
 
8599
$as_echo "#define CURL_ENABLED 1" >>confdefs.h
 
8600
 
 
8601
fi
 
8602
 
 
8603
 
 
8604
 
 
8605
 
 
8606
fi
 
8607
 
7858
8608
 
7859
8609
ac_config_files="$ac_config_files Makefile gecko-mediaplayer.spec src/Makefile src/libgmlib/Makefile po/Makefile.in"
7860
8610