1605
1639
you have headers in a nonstandard directory <include dir>
1606
1640
CPP C preprocessor
1607
1641
CXXCPP C++ preprocessor
1642
PKG_CONFIG path to pkg-config utility
1643
XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
1644
XCB_LIBS linker flags for XCB, overriding pkg-config
1608
1645
XMKMF Path to xmkmf, Makefile generator for X Window System
1609
PKG_CONFIG path to pkg-config utility
1610
1646
JS_CFLAGS C compiler flags for JS, overriding pkg-config
1611
1647
JS_LIBS linker flags for JS, overriding pkg-config
1612
1648
NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
1613
1649
NSPR_LIBS linker flags for NSPR, overriding pkg-config
1650
GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1651
GTK2_LIBS linker flags for GTK2, overriding pkg-config
1615
1653
C compiler flags for GLIB2, overriding pkg-config
1616
1654
GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1617
GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1618
GTK2_LIBS linker flags for GTK2, overriding pkg-config
1619
1655
GTHREAD2_CFLAGS
1620
1656
C compiler flags for GTHREAD2, overriding pkg-config
1622
1658
linker flags for GTHREAD2, overriding pkg-config
1660
C compiler flags for PANGO, overriding pkg-config
1661
PANGO_LIBS linker flags for PANGO, overriding pkg-config
1662
HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
1663
HAL_LIBS linker flags for HAL, overriding pkg-config
1623
1664
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1624
1665
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1625
1666
VENDOR_PKG_VERSION
1626
1667
vendor build identifier string (default is the upstream version
1627
number, suffixed with "release" or "CVS snapshot")
1668
number, suffixed with "release" or identifying a snapshot type)
1629
1670
Use these variables to override the choices made by `configure' or to help
1630
1671
it to find libraries and programs with nonstandard names/locations.
2243
2286
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2246
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2247
# We used to keeping the `.' as first argument, in order to
2248
# allow $(mkdir_p) to be used without argument. As in
2249
# $(mkdir_p) $(somedir)
2250
# where $(somedir) is conditionally defined. However this is wrong
2252
# 1. if the package is installed by a user who cannot write `.'
2253
# make install will fail,
2254
# 2. the above comment should most certainly read
2255
# $(mkdir_p) $(DESTDIR)$(somedir)
2256
# so it does not work when $(somedir) is undefined and
2257
# $(DESTDIR) is not.
2258
# To support the latter case, we have to write
2259
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2260
# so the `.' trick is pointless.
2261
mkdir_p='mkdir -p --'
2289
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2290
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2291
if test -z "$MKDIR_P"; then
2292
if test "${ac_cv_path_mkdir+set}" = set; then
2293
echo $ECHO_N "(cached) $ECHO_C" >&6
2263
# On NextStep and OpenStep, the `mkdir' command does not
2264
# recognize any option. It will interpret all options as
2265
# directories to create, and then abort because `.' already
2267
for d in ./-p ./--version;
2269
test -d $d && rmdir $d
2271
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2272
if test -f "$ac_aux_dir/mkinstalldirs"; then
2273
mkdir_p='$(mkinstalldirs)'
2295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2299
test -z "$as_dir" && as_dir=.
2300
for ac_prog in mkdir gmkdir; do
2301
for ac_exec_ext in '' $ac_executable_extensions; do
2302
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2303
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2304
'mkdir (GNU coreutils) '* | \
2305
'mkdir (coreutils) '* | \
2306
'mkdir (fileutils) '4.1*)
2307
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2317
if test "${ac_cv_path_mkdir+set}" = set; then
2318
MKDIR_P="$ac_cv_path_mkdir -p"
2275
mkdir_p='$(install_sh) -d'
2320
# As a last resort, use the slow shell script. Don't cache a
2321
# value for MKDIR_P within a source directory, because that will
2322
# break other packages using the cache if that directory is
2323
# removed, or if the value is a relative name.
2324
test -d ./--version && rmdir ./--version
2325
MKDIR_P="$ac_install_sh -d"
2328
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2329
echo "${ECHO_T}$MKDIR_P" >&6; }
2333
[\\/$]* | ?:[\\/]*) ;;
2334
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2279
2337
for ac_prog in gawk mawk nawk awk
7313
rhapsody* | darwin*)
7314
if test -n "$ac_tool_prefix"; then
7315
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7316
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7317
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7319
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7320
echo $ECHO_N "(cached) $ECHO_C" >&6
7322
if test -n "$DSYMUTIL"; then
7323
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329
test -z "$as_dir" && as_dir=.
7330
for ac_exec_ext in '' $ac_executable_extensions; do
7331
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7332
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7333
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7342
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7343
if test -n "$DSYMUTIL"; then
7344
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7345
echo "${ECHO_T}$DSYMUTIL" >&6; }
7347
{ echo "$as_me:$LINENO: result: no" >&5
7348
echo "${ECHO_T}no" >&6; }
7353
if test -z "$ac_cv_prog_DSYMUTIL"; then
7354
ac_ct_DSYMUTIL=$DSYMUTIL
7355
# Extract the first word of "dsymutil", so it can be a program name with args.
7356
set dummy dsymutil; ac_word=$2
7357
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7359
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7360
echo $ECHO_N "(cached) $ECHO_C" >&6
7362
if test -n "$ac_ct_DSYMUTIL"; then
7363
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369
test -z "$as_dir" && as_dir=.
7370
for ac_exec_ext in '' $ac_executable_extensions; do
7371
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7373
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7382
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7383
if test -n "$ac_ct_DSYMUTIL"; then
7384
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7385
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7387
{ echo "$as_me:$LINENO: result: no" >&5
7388
echo "${ECHO_T}no" >&6; }
7391
if test "x$ac_ct_DSYMUTIL" = x; then
7394
case $cross_compiling:$ac_tool_warned in
7396
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7397
whose name does not start with the host triplet. If you think this
7398
configuration is useful to you, please write to autoconf@gnu.org." >&5
7399
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7400
whose name does not start with the host triplet. If you think this
7401
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7402
ac_tool_warned=yes ;;
7404
DSYMUTIL=$ac_ct_DSYMUTIL
7407
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7410
if test -n "$ac_tool_prefix"; then
7411
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7412
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7413
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7415
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7416
echo $ECHO_N "(cached) $ECHO_C" >&6
7418
if test -n "$NMEDIT"; then
7419
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425
test -z "$as_dir" && as_dir=.
7426
for ac_exec_ext in '' $ac_executable_extensions; do
7427
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7429
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7438
NMEDIT=$ac_cv_prog_NMEDIT
7439
if test -n "$NMEDIT"; then
7440
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7441
echo "${ECHO_T}$NMEDIT" >&6; }
7443
{ echo "$as_me:$LINENO: result: no" >&5
7444
echo "${ECHO_T}no" >&6; }
7449
if test -z "$ac_cv_prog_NMEDIT"; then
7450
ac_ct_NMEDIT=$NMEDIT
7451
# Extract the first word of "nmedit", so it can be a program name with args.
7452
set dummy nmedit; ac_word=$2
7453
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7454
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7455
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7456
echo $ECHO_N "(cached) $ECHO_C" >&6
7458
if test -n "$ac_ct_NMEDIT"; then
7459
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465
test -z "$as_dir" && as_dir=.
7466
for ac_exec_ext in '' $ac_executable_extensions; do
7467
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7468
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7469
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7478
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7479
if test -n "$ac_ct_NMEDIT"; then
7480
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7481
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7483
{ echo "$as_me:$LINENO: result: no" >&5
7484
echo "${ECHO_T}no" >&6; }
7487
if test "x$ac_ct_NMEDIT" = x; then
7490
case $cross_compiling:$ac_tool_warned in
7492
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7493
whose name does not start with the host triplet. If you think this
7494
configuration is useful to you, please write to autoconf@gnu.org." >&5
7495
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7496
whose name does not start with the host triplet. If you think this
7497
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7498
ac_tool_warned=yes ;;
7500
NMEDIT=$ac_ct_NMEDIT
7503
NMEDIT="$ac_cv_prog_NMEDIT"
7507
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7508
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7509
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7510
echo $ECHO_N "(cached) $ECHO_C" >&6
7512
lt_cv_apple_cc_single_mod=no
7513
if test -z "${LT_MULTI_MODULE}"; then
7514
# By default we will add the -single_module flag. You can override
7515
# by either setting the environment variable LT_MULTI_MODULE
7516
# non-empty at configure time, or by adding -multi_module to the
7518
echo "int foo(void){return 1;}" > conftest.c
7519
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7520
-dynamiclib ${wl}-single_module conftest.c
7521
if test -f libconftest.dylib; then
7522
lt_cv_apple_cc_single_mod=yes
7523
rm -rf libconftest.dylib*
7528
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7529
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7530
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7531
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7532
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7533
echo $ECHO_N "(cached) $ECHO_C" >&6
7535
lt_cv_ld_exported_symbols_list=no
7536
save_LDFLAGS=$LDFLAGS
7537
echo "_main" > conftest.sym
7538
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7539
cat >conftest.$ac_ext <<_ACEOF
7542
cat confdefs.h >>conftest.$ac_ext
7543
cat >>conftest.$ac_ext <<_ACEOF
7544
/* end confdefs.h. */
7554
rm -f conftest.$ac_objext conftest$ac_exeext
7555
if { (ac_try="$ac_link"
7557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7558
*) ac_try_echo=$ac_try;;
7560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7561
(eval "$ac_link") 2>conftest.er1
7563
grep -v '^ *+' conftest.er1 >conftest.err
7565
cat conftest.err >&5
7566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567
(exit $ac_status); } && {
7568
test -z "$ac_c_werror_flag" ||
7569
test ! -s conftest.err
7570
} && test -s conftest$ac_exeext &&
7571
$as_test_x conftest$ac_exeext; then
7572
lt_cv_ld_exported_symbols_list=yes
7574
echo "$as_me: failed program was:" >&5
7575
sed 's/^/| /' conftest.$ac_ext >&5
7577
lt_cv_ld_exported_symbols_list=no
7580
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7581
conftest$ac_exeext conftest.$ac_ext
7582
LDFLAGS="$save_LDFLAGS"
7585
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7586
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7588
rhapsody* | darwin1.[0123])
7589
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7591
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7593
# if running on 10.5 or later, the deployment target defaults
7594
# to the OS version, if on x86, and 10.4, the deployment
7595
# target defaults to 10.4. Don't you love it?
7596
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7597
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7598
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7600
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7602
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7606
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7607
_lt_dar_single_mod='$single_module'
7609
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7610
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7612
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7614
if test "$DSYMUTIL" != ":"; then
7615
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7213
7623
enable_dlopen=yes
7214
7624
enable_win32_dll=no
8312
8768
link_all_deplibs=yes
8313
8769
if test "$GCC" = yes ; then
8314
8770
output_verbose_link_cmd='echo'
8315
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8316
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8317
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8318
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8319
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8771
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8772
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8773
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8774
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8321
8776
case $cc_basename in
8323
8778
output_verbose_link_cmd='echo'
8324
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8779
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8325
8780
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8326
8781
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8327
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8782
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8328
8783
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8764
9222
version_type=none
8765
9223
dynamic_linker="$host_os ld.so"
8766
9224
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8767
9226
if test "$GCC" = yes; then
8768
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8769
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9228
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9229
*) lt_awk_arg="/^libraries:/" ;;
9231
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9232
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8770
9233
# if the path contains ";" then we assume it to be the separator
8771
9234
# otherwise default to the standard path separator (i.e. ":") - it is
8772
9235
# assumed that no part of a normal pathname contains ";" but that should
8773
9236
# okay in the real world where ";" in dirpaths is itself problematic.
8774
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9237
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8776
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9239
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9241
# Ok, now we have the path, separated by spaces, we can step through it
9242
# and add multilib dir if necessary.
9243
lt_tmp_lt_search_path_spec=
9244
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9245
for lt_sys_path in $lt_search_path_spec; do
9246
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9247
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9249
test -d "$lt_sys_path" && \
9250
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9253
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9254
BEGIN {RS=" "; FS="/|\n";} {
9257
for (lt_i = NF; lt_i > 0; lt_i--) {
9258
if ($lt_i != "" && $lt_i != ".") {
9259
if ($lt_i == "..") {
9262
if (lt_count == 0) {
9263
lt_foo="/" $lt_i lt_foo;
9270
if (lt_foo != "") { lt_freq[lt_foo]++; }
9271
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9273
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8779
9275
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11301
11834
darwin* | rhapsody*)
11303
rhapsody* | darwin1.[012])
11304
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11307
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11308
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11310
case ${MACOSX_DEPLOYMENT_TARGET} in
11312
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11315
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11321
11835
archive_cmds_need_lc_CXX=no
11322
11836
hardcode_direct_CXX=no
11323
11837
hardcode_automatic_CXX=yes
11324
11838
hardcode_shlibpath_var_CXX=unsupported
11325
11839
whole_archive_flag_spec_CXX=''
11326
11840
link_all_deplibs_CXX=yes
11328
if test "$GXX" = yes ; then
11329
lt_int_apple_cc_single_mod=no
11841
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11842
if test "$GXX" = yes ; then
11330
11843
output_verbose_link_cmd='echo'
11331
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11332
lt_int_apple_cc_single_mod=yes
11844
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11845
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11846
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11847
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11848
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11849
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11850
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11334
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11335
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11337
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11339
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11340
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11341
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11342
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11344
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11346
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11348
11853
case $cc_basename in
11350
11855
output_verbose_link_cmd='echo'
11351
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11856
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11352
11857
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11353
11858
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11354
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11859
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11355
11860
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14794
15432
link_all_deplibs_F77=yes
14795
15433
if test "$GCC" = yes ; then
14796
15434
output_verbose_link_cmd='echo'
14797
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14798
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14799
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14800
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14801
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15435
archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15436
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15437
archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15438
module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14803
15440
case $cc_basename in
14805
15442
output_verbose_link_cmd='echo'
14806
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15443
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14807
15444
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14808
15445
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14809
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15446
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14810
15447
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17373
18066
link_all_deplibs_GCJ=yes
17374
18067
if test "$GCC" = yes ; then
17375
18068
output_verbose_link_cmd='echo'
17376
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17377
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17378
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17379
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17380
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18069
archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18070
module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18071
archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18072
module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17382
18074
case $cc_basename in
17384
18076
output_verbose_link_cmd='echo'
17385
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18077
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17386
18078
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17387
18079
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17388
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18080
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17389
18081
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
23096
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23097
if test -n "$ac_tool_prefix"; then
23098
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23099
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23100
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23102
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23103
echo $ECHO_N "(cached) $ECHO_C" >&6
23105
case $PKG_CONFIG in
23107
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23111
for as_dir in $PATH
23114
test -z "$as_dir" && as_dir=.
23115
for ac_exec_ext in '' $ac_executable_extensions; do
23116
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23117
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23118
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23128
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23129
if test -n "$PKG_CONFIG"; then
23130
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23131
echo "${ECHO_T}$PKG_CONFIG" >&6; }
23133
{ echo "$as_me:$LINENO: result: no" >&5
23134
echo "${ECHO_T}no" >&6; }
23139
if test -z "$ac_cv_path_PKG_CONFIG"; then
23140
ac_pt_PKG_CONFIG=$PKG_CONFIG
23141
# Extract the first word of "pkg-config", so it can be a program name with args.
23142
set dummy pkg-config; ac_word=$2
23143
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23144
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23145
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23146
echo $ECHO_N "(cached) $ECHO_C" >&6
23148
case $ac_pt_PKG_CONFIG in
23150
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23153
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23154
for as_dir in $PATH
23157
test -z "$as_dir" && as_dir=.
23158
for ac_exec_ext in '' $ac_executable_extensions; do
23159
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23160
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23161
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23171
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23172
if test -n "$ac_pt_PKG_CONFIG"; then
23173
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23174
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
23176
{ echo "$as_me:$LINENO: result: no" >&5
23177
echo "${ECHO_T}no" >&6; }
23180
if test "x$ac_pt_PKG_CONFIG" = x; then
23183
case $cross_compiling:$ac_tool_warned in
23185
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23186
whose name does not start with the host triplet. If you think this
23187
configuration is useful to you, please write to autoconf@gnu.org." >&5
23188
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23189
whose name does not start with the host triplet. If you think this
23190
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23191
ac_tool_warned=yes ;;
23193
PKG_CONFIG=$ac_pt_PKG_CONFIG
23196
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23200
if test -n "$PKG_CONFIG"; then
23201
_pkg_min_version=0.9.0
23202
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23203
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
23204
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23205
{ echo "$as_me:$LINENO: result: yes" >&5
23206
echo "${ECHO_T}yes" >&6; }
23208
{ echo "$as_me:$LINENO: result: no" >&5
23209
echo "${ECHO_T}no" >&6; }
22275
23214
{ echo "$as_me:$LINENO: checking for X" >&5
22276
23215
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
22511
23450
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
22514
if test "$no_x" = yes; then
23454
# Check whether --with-xcb was given.
23455
if test "${with_xcb+set}" = set; then
23456
withval=$with_xcb; if test "$withval" = no; then with_xcb=no; elif test "$withval" != soft; then with_xcb=yes; fi
23461
if test x"$with_xcb" != xno; then
23464
{ echo "$as_me:$LINENO: checking for XCB" >&5
23465
echo $ECHO_N "checking for XCB... $ECHO_C" >&6; }
23467
if test -n "$PKG_CONFIG"; then
23468
if test -n "$XCB_CFLAGS"; then
23469
pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
23471
if test -n "$PKG_CONFIG" && \
23472
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.0\"") >&5
23473
($PKG_CONFIG --exists --print-errors "xcb >= 1.0") 2>&5
23475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476
(exit $ac_status); }; then
23477
pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.0" 2>/dev/null`
23485
if test -n "$PKG_CONFIG"; then
23486
if test -n "$XCB_LIBS"; then
23487
pkg_cv_XCB_LIBS="$XCB_LIBS"
23489
if test -n "$PKG_CONFIG" && \
23490
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.0\"") >&5
23491
($PKG_CONFIG --exists --print-errors "xcb >= 1.0") 2>&5
23493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494
(exit $ac_status); }; then
23495
pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb >= 1.0" 2>/dev/null`
23506
if test $pkg_failed = yes; then
23508
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23509
_pkg_short_errors_supported=yes
23511
_pkg_short_errors_supported=no
23513
if test $_pkg_short_errors_supported = yes; then
23514
XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb >= 1.0"`
23516
XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb >= 1.0"`
23518
# Put the nasty error message in config.log where it belongs
23519
echo "$XCB_PKG_ERRORS" >&5
23521
{ echo "$as_me:$LINENO: result: no" >&5
23522
echo "${ECHO_T}no" >&6; }
23524
elif test $pkg_failed = untried; then
23527
XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
23528
XCB_LIBS=$pkg_cv_XCB_LIBS
23529
{ echo "$as_me:$LINENO: result: yes" >&5
23530
echo "${ECHO_T}yes" >&6; }
23533
test x"$with_xcb" = xsoft || with_xcb=yes
23534
case "$have_xcb,$with_xcb" in
23536
{ { echo "$as_me:$LINENO: error: XCB support requested but XCB not found" >&5
23537
echo "$as_me: error: XCB support requested but XCB not found" >&2;}
23538
{ (exit 1); exit 1; }; }
23544
if test x"$with_xcb" != xno; then
23546
cat >>confdefs.h <<\_ACEOF
23550
# Check whether --enable-x11-vo was given.
23551
if test "${enable_x11_vo+set}" = set; then
23552
enableval=$enable_x11_vo; if test "$withval" = no; then enable_x11_vo=no; else enable_x11_vo=yes; fi
23557
if test x"$enable_x11_vo" != xno; then
23559
cat >>confdefs.h <<\_ACEOF
23560
#define ENABLE_X11_VO 1
23566
if test x"$with_xcb" = xno || test x"$enable_x11_vo" = xyes; then
23567
if test "$no_x" = yes; then
22515
23568
# Not all programs may use this symbol, but it does not hurt to define it.
22517
23570
cat >>confdefs.h <<\_ACEOF
23593
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23594
if test -n "$ac_tool_prefix"; then
23595
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23596
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23597
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23598
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23599
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23600
echo $ECHO_N "(cached) $ECHO_C" >&6
23602
case $PKG_CONFIG in
23604
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23607
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23608
for as_dir in $PATH
23611
test -z "$as_dir" && as_dir=.
23612
for ac_exec_ext in '' $ac_executable_extensions; do
23613
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23614
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23615
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23625
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23626
if test -n "$PKG_CONFIG"; then
23627
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23628
echo "${ECHO_T}$PKG_CONFIG" >&6; }
23630
{ echo "$as_me:$LINENO: result: no" >&5
23631
echo "${ECHO_T}no" >&6; }
23636
if test -z "$ac_cv_path_PKG_CONFIG"; then
23637
ac_pt_PKG_CONFIG=$PKG_CONFIG
23638
# Extract the first word of "pkg-config", so it can be a program name with args.
23639
set dummy pkg-config; ac_word=$2
23640
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23641
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23642
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23643
echo $ECHO_N "(cached) $ECHO_C" >&6
23645
case $ac_pt_PKG_CONFIG in
23647
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23650
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23651
for as_dir in $PATH
23654
test -z "$as_dir" && as_dir=.
23655
for ac_exec_ext in '' $ac_executable_extensions; do
23656
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23657
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23658
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23668
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23669
if test -n "$ac_pt_PKG_CONFIG"; then
23670
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23671
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
23673
{ echo "$as_me:$LINENO: result: no" >&5
23674
echo "${ECHO_T}no" >&6; }
23677
if test "x$ac_pt_PKG_CONFIG" = x; then
23680
case $cross_compiling:$ac_tool_warned in
23682
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23683
whose name does not start with the host triplet. If you think this
23684
configuration is useful to you, please write to autoconf@gnu.org." >&5
23685
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23686
whose name does not start with the host triplet. If you think this
23687
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23688
ac_tool_warned=yes ;;
23690
PKG_CONFIG=$ac_pt_PKG_CONFIG
23693
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23697
if test -n "$PKG_CONFIG"; then
23698
_pkg_min_version=0.9.0
23699
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23700
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
23701
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23702
{ echo "$as_me:$LINENO: result: yes" >&5
23703
echo "${ECHO_T}yes" >&6; }
23705
{ echo "$as_me:$LINENO: result: no" >&5
23706
echo "${ECHO_T}no" >&6; }
24643
if test x"$with_xcb" != xno; then
24655
{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
24656
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
24657
if test "${ac_cv_lib_socket_socket+set}" = set; then
24658
echo $ECHO_N "(cached) $ECHO_C" >&6
24660
ac_check_lib_save_LIBS=$LIBS
24661
LIBS="-lsocket $LIBS"
24662
cat >conftest.$ac_ext <<_ACEOF
24665
cat confdefs.h >>conftest.$ac_ext
24666
cat >>conftest.$ac_ext <<_ACEOF
24667
/* end confdefs.h. */
24669
/* Override any GCC internal prototype to avoid an error.
24670
Use char because int might match the return type of a GCC
24671
builtin and then its argument prototype would still apply. */
24684
rm -f conftest.$ac_objext conftest$ac_exeext
24685
if { (ac_try="$ac_link"
24686
case "(($ac_try" in
24687
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24688
*) ac_try_echo=$ac_try;;
24690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24691
(eval "$ac_link") 2>conftest.er1
24693
grep -v '^ *+' conftest.er1 >conftest.err
24695
cat conftest.err >&5
24696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697
(exit $ac_status); } && {
24698
test -z "$ac_c_werror_flag" ||
24699
test ! -s conftest.err
24700
} && test -s conftest$ac_exeext &&
24701
$as_test_x conftest$ac_exeext; then
24702
ac_cv_lib_socket_socket=yes
24704
echo "$as_me: failed program was:" >&5
24705
sed 's/^/| /' conftest.$ac_ext >&5
24707
ac_cv_lib_socket_socket=no
24710
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24711
conftest$ac_exeext conftest.$ac_ext
24712
LIBS=$ac_check_lib_save_LIBS
24714
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
24715
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
24716
if test $ac_cv_lib_socket_socket = yes; then
24717
NET_LIBS="-lsocket $NET_LIBS"
24720
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24721
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
24722
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24723
echo $ECHO_N "(cached) $ECHO_C" >&6
24725
ac_check_lib_save_LIBS=$LIBS
24727
cat >conftest.$ac_ext <<_ACEOF
24730
cat confdefs.h >>conftest.$ac_ext
24731
cat >>conftest.$ac_ext <<_ACEOF
24732
/* end confdefs.h. */
24734
/* Override any GCC internal prototype to avoid an error.
24735
Use char because int might match the return type of a GCC
24736
builtin and then its argument prototype would still apply. */
24740
char gethostbyname ();
24744
return gethostbyname ();
24749
rm -f conftest.$ac_objext conftest$ac_exeext
24750
if { (ac_try="$ac_link"
24751
case "(($ac_try" in
24752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24753
*) ac_try_echo=$ac_try;;
24755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24756
(eval "$ac_link") 2>conftest.er1
24758
grep -v '^ *+' conftest.er1 >conftest.err
24760
cat conftest.err >&5
24761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762
(exit $ac_status); } && {
24763
test -z "$ac_c_werror_flag" ||
24764
test ! -s conftest.err
24765
} && test -s conftest$ac_exeext &&
24766
$as_test_x conftest$ac_exeext; then
24767
ac_cv_lib_nsl_gethostbyname=yes
24769
echo "$as_me: failed program was:" >&5
24770
sed 's/^/| /' conftest.$ac_ext >&5
24772
ac_cv_lib_nsl_gethostbyname=no
24775
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24776
conftest$ac_exeext conftest.$ac_ext
24777
LIBS=$ac_check_lib_save_LIBS
24779
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24780
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
24781
if test $ac_cv_lib_nsl_gethostbyname = yes; then
24782
NET_LIBS="-lnsl $NET_LIBS"
23712
24789
# Check whether --with-spidermonkey was given.
23713
24790
if test "${with_spidermonkey+set}" = set; then
23829
# Try libsmjs/libjs
23831
if test "$enable_libjs" != "no"; then
23832
if test x"$JS_CFLAGS" = x; then
23834
# Note: this could be confused with NGS JS
23835
{ echo "$as_me:$LINENO: trying libjs via pkgconfig" >&5
23836
echo "$as_me: trying libjs via pkgconfig" >&6;}
23839
{ echo "$as_me:$LINENO: checking for JS" >&5
23840
echo $ECHO_N "checking for JS... $ECHO_C" >&6; }
23842
if test -n "$PKG_CONFIG"; then
23843
if test -n "$JS_CFLAGS"; then
23844
pkg_cv_JS_CFLAGS="$JS_CFLAGS"
23846
if test -n "$PKG_CONFIG" && \
23847
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libjs\"") >&5
23848
($PKG_CONFIG --exists --print-errors "libjs") 2>&5
23850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851
(exit $ac_status); }; then
23852
pkg_cv_JS_CFLAGS=`$PKG_CONFIG --cflags "libjs" 2>/dev/null`
23860
if test -n "$PKG_CONFIG"; then
23861
if test -n "$JS_LIBS"; then
23862
pkg_cv_JS_LIBS="$JS_LIBS"
23864
if test -n "$PKG_CONFIG" && \
23865
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libjs\"") >&5
23866
($PKG_CONFIG --exists --print-errors "libjs") 2>&5
23868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869
(exit $ac_status); }; then
23870
pkg_cv_JS_LIBS=`$PKG_CONFIG --libs "libjs" 2>/dev/null`
23881
if test $pkg_failed = yes; then
23883
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23884
_pkg_short_errors_supported=yes
23886
_pkg_short_errors_supported=no
23888
if test $_pkg_short_errors_supported = yes; then
23889
JS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libjs"`
23891
JS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libjs"`
23893
# Put the nasty error message in config.log where it belongs
23894
echo "$JS_PKG_ERRORS" >&5
23896
{ echo "$as_me:$LINENO: result: no" >&5
23897
echo "${ECHO_T}no" >&6; }
23898
{ echo "$as_me:$LINENO: result: no" >&5
23899
echo "${ECHO_T}no" >&6; }
23900
elif test $pkg_failed = untried; then
23901
{ echo "$as_me:$LINENO: result: no" >&5
23902
echo "${ECHO_T}no" >&6; }
23904
JS_CFLAGS=$pkg_cv_JS_CFLAGS
23905
JS_LIBS=$pkg_cv_JS_LIBS
23906
{ echo "$as_me:$LINENO: result: yes" >&5
23907
echo "${ECHO_T}yes" >&6; }
23912
if test x"$JS_CFLAGS" = x; then
23913
{ echo "$as_me:$LINENO: trying smjs" >&5
23914
echo "$as_me: trying smjs" >&6;}
23915
{ echo "$as_me:$LINENO: checking for smjs/jsapi.h" >&5
23916
echo $ECHO_N "checking for smjs/jsapi.h... $ECHO_C" >&6; }
23917
if test "${ac_cv_header_smjs_jsapi_h+set}" = set; then
23918
echo $ECHO_N "(cached) $ECHO_C" >&6
23920
cat >conftest.$ac_ext <<_ACEOF
23923
cat confdefs.h >>conftest.$ac_ext
23924
cat >>conftest.$ac_ext <<_ACEOF
23925
/* end confdefs.h. */
23928
#include <smjs/jsapi.h>
23930
rm -f conftest.$ac_objext
23931
if { (ac_try="$ac_compile"
23932
case "(($ac_try" in
23933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23934
*) ac_try_echo=$ac_try;;
23936
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23937
(eval "$ac_compile") 2>conftest.er1
23939
grep -v '^ *+' conftest.er1 >conftest.err
23941
cat conftest.err >&5
23942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943
(exit $ac_status); } && {
23944
test -z "$ac_c_werror_flag" ||
23945
test ! -s conftest.err
23946
} && test -s conftest.$ac_objext; then
23947
ac_cv_header_smjs_jsapi_h=yes
23949
echo "$as_me: failed program was:" >&5
23950
sed 's/^/| /' conftest.$ac_ext >&5
23952
ac_cv_header_smjs_jsapi_h=no
23955
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23957
{ echo "$as_me:$LINENO: result: $ac_cv_header_smjs_jsapi_h" >&5
23958
echo "${ECHO_T}$ac_cv_header_smjs_jsapi_h" >&6; }
23959
if test $ac_cv_header_smjs_jsapi_h = yes; then
23960
JS_CFLAGS="-I`if test -f /usr/include/"smjs/jsapi.h"; then
23961
echo /usr/include/"smjs/"
23963
echo /usr/local/include/"smjs/"
23966
JS_LIBS="`case "$JS_CFLAGS" in
23967
/usr/local/include/*)
23968
echo -L/usr/local/lib -l"smjs"
23975
if test "" = ""; then
23982
unset JS_CFLAGS JS_LIBS
23988
if test x"$JS_CFLAGS" = x; then
23989
{ echo "$as_me:$LINENO: trying js, includes in /usr/include/js" >&5
23990
echo "$as_me: trying js, includes in /usr/include/js" >&6;}
23991
{ echo "$as_me:$LINENO: checking for js/jsapi.h" >&5
23992
echo $ECHO_N "checking for js/jsapi.h... $ECHO_C" >&6; }
23993
if test "${ac_cv_header_js_jsapi_h+set}" = set; then
23994
echo $ECHO_N "(cached) $ECHO_C" >&6
23996
cat >conftest.$ac_ext <<_ACEOF
23999
cat confdefs.h >>conftest.$ac_ext
24000
cat >>conftest.$ac_ext <<_ACEOF
24001
/* end confdefs.h. */
24004
#include <js/jsapi.h>
24006
rm -f conftest.$ac_objext
24007
if { (ac_try="$ac_compile"
24008
case "(($ac_try" in
24009
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010
*) ac_try_echo=$ac_try;;
24012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013
(eval "$ac_compile") 2>conftest.er1
24015
grep -v '^ *+' conftest.er1 >conftest.err
24017
cat conftest.err >&5
24018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019
(exit $ac_status); } && {
24020
test -z "$ac_c_werror_flag" ||
24021
test ! -s conftest.err
24022
} && test -s conftest.$ac_objext; then
24023
ac_cv_header_js_jsapi_h=yes
24025
echo "$as_me: failed program was:" >&5
24026
sed 's/^/| /' conftest.$ac_ext >&5
24028
ac_cv_header_js_jsapi_h=no
24031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033
{ echo "$as_me:$LINENO: result: $ac_cv_header_js_jsapi_h" >&5
24034
echo "${ECHO_T}$ac_cv_header_js_jsapi_h" >&6; }
24035
if test $ac_cv_header_js_jsapi_h = yes; then
24036
JS_CFLAGS="-I`if test -f /usr/include/"js/jsapi.h"; then
24037
echo /usr/include/"js/"
24039
echo /usr/local/include/"js/"
24042
JS_LIBS="`case "$JS_CFLAGS" in
24043
/usr/local/include/*)
24044
echo -L/usr/local/lib -l"js"
24051
if test "" = ""; then
24058
unset JS_CFLAGS JS_LIBS
24064
if test x"$JS_CFLAGS" = x; then
24065
{ echo "$as_me:$LINENO: trying js, includes in /usr/include/js-1.5" >&5
24066
echo "$as_me: trying js, includes in /usr/include/js-1.5" >&6;}
24067
{ echo "$as_me:$LINENO: checking for js-1.5/jsapi.h" >&5
24068
echo $ECHO_N "checking for js-1.5/jsapi.h... $ECHO_C" >&6; }
24069
if test "${ac_cv_header_js_1_5_jsapi_h+set}" = set; then
24070
echo $ECHO_N "(cached) $ECHO_C" >&6
24072
cat >conftest.$ac_ext <<_ACEOF
24075
cat confdefs.h >>conftest.$ac_ext
24076
cat >>conftest.$ac_ext <<_ACEOF
24077
/* end confdefs.h. */
24080
#include <js-1.5/jsapi.h>
24082
rm -f conftest.$ac_objext
24083
if { (ac_try="$ac_compile"
24084
case "(($ac_try" in
24085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24086
*) ac_try_echo=$ac_try;;
24088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24089
(eval "$ac_compile") 2>conftest.er1
24091
grep -v '^ *+' conftest.er1 >conftest.err
24093
cat conftest.err >&5
24094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095
(exit $ac_status); } && {
24096
test -z "$ac_c_werror_flag" ||
24097
test ! -s conftest.err
24098
} && test -s conftest.$ac_objext; then
24099
ac_cv_header_js_1_5_jsapi_h=yes
24101
echo "$as_me: failed program was:" >&5
24102
sed 's/^/| /' conftest.$ac_ext >&5
24104
ac_cv_header_js_1_5_jsapi_h=no
24107
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24109
{ echo "$as_me:$LINENO: result: $ac_cv_header_js_1_5_jsapi_h" >&5
24110
echo "${ECHO_T}$ac_cv_header_js_1_5_jsapi_h" >&6; }
24111
if test $ac_cv_header_js_1_5_jsapi_h = yes; then
24112
JS_CFLAGS="-I`if test -f /usr/include/"js-1.5/jsapi.h"; then
24113
echo /usr/include/"js-1.5/"
24115
echo /usr/local/include/"js-1.5/"
24118
JS_LIBS="`case "$JS_CFLAGS" in
24119
/usr/local/include/*)
24120
echo -L/usr/local/lib -l"js"
24127
if test "" = ""; then
24134
unset JS_CFLAGS JS_LIBS
24140
if test x"$JS_CFLAGS" = x; then
24141
{ echo "$as_me:$LINENO: trying js, includes in /usr/include" >&5
24142
echo "$as_me: trying js, includes in /usr/include" >&6;}
24143
{ echo "$as_me:$LINENO: checking for jsapi.h" >&5
24144
echo $ECHO_N "checking for jsapi.h... $ECHO_C" >&6; }
24145
if test "${ac_cv_header_jsapi_h+set}" = set; then
24146
echo $ECHO_N "(cached) $ECHO_C" >&6
24148
cat >conftest.$ac_ext <<_ACEOF
24151
cat confdefs.h >>conftest.$ac_ext
24152
cat >>conftest.$ac_ext <<_ACEOF
24153
/* end confdefs.h. */
24158
rm -f conftest.$ac_objext
24159
if { (ac_try="$ac_compile"
24160
case "(($ac_try" in
24161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24162
*) ac_try_echo=$ac_try;;
24164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24165
(eval "$ac_compile") 2>conftest.er1
24167
grep -v '^ *+' conftest.er1 >conftest.err
24169
cat conftest.err >&5
24170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171
(exit $ac_status); } && {
24172
test -z "$ac_c_werror_flag" ||
24173
test ! -s conftest.err
24174
} && test -s conftest.$ac_objext; then
24175
ac_cv_header_jsapi_h=yes
24177
echo "$as_me: failed program was:" >&5
24178
sed 's/^/| /' conftest.$ac_ext >&5
24180
ac_cv_header_jsapi_h=no
24183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185
{ echo "$as_me:$LINENO: result: $ac_cv_header_jsapi_h" >&5
24186
echo "${ECHO_T}$ac_cv_header_jsapi_h" >&6; }
24187
if test $ac_cv_header_jsapi_h = yes; then
24188
JS_CFLAGS="-I`if test -f /usr/include/"jsapi.h"; then
24189
echo /usr/include/""
24191
echo /usr/local/include/""
24194
JS_LIBS="`case "$JS_CFLAGS" in
24195
/usr/local/include/*)
24196
echo -L/usr/local/lib -l"js"
24203
if test "" = ""; then
24210
unset JS_CFLAGS JS_LIBS
24218
24896
# Try Mozilla
24220
24898
if test x"$JS_CFLAGS" = x && test "$enable_mozjs" != "no"; then
25043
25734
# So? What about this header?
25044
25735
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25046
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
25047
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25048
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the compiler's result" >&5
25049
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the compiler's result" >&2;}
25737
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
25738
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25739
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: proceeding with the compiler's result" >&5
25740
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: proceeding with the compiler's result" >&2;}
25050
25741
ac_header_preproc=yes
25053
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: present but cannot be compiled" >&5
25054
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: present but cannot be compiled" >&2;}
25055
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: check for missing prerequisite headers?" >&5
25056
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: check for missing prerequisite headers?" >&2;}
25057
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: see the Autoconf documentation" >&5
25058
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: see the Autoconf documentation" >&2;}
25059
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: section \"Present But Cannot Be Compiled\"" >&5
25060
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: section \"Present But Cannot Be Compiled\"" >&2;}
25061
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the preprocessor's result" >&5
25062
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the preprocessor's result" >&2;}
25063
{ echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: in the future, the compiler will take precedence" >&5
25064
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: in the future, the compiler will take precedence" >&2;}
25744
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: present but cannot be compiled" >&5
25745
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: present but cannot be compiled" >&2;}
25746
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: check for missing prerequisite headers?" >&5
25747
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: check for missing prerequisite headers?" >&2;}
25748
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: see the Autoconf documentation" >&5
25749
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: see the Autoconf documentation" >&2;}
25750
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: section \"Present But Cannot Be Compiled\"" >&5
25751
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: section \"Present But Cannot Be Compiled\"" >&2;}
25752
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: proceeding with the preprocessor's result" >&5
25753
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: proceeding with the preprocessor's result" >&2;}
25754
{ echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: in the future, the compiler will take precedence" >&5
25755
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: in the future, the compiler will take precedence" >&2;}
25068
{ echo "$as_me:$LINENO: checking for $(expr substr $nspr 2 99)prtypes.h" >&5
25069
echo $ECHO_N "checking for $(expr substr $nspr 2 99)prtypes.h... $ECHO_C" >&6; }
25759
{ echo "$as_me:$LINENO: checking for ${nspr_dir}prtypes.h" >&5
25760
echo $ECHO_N "checking for ${nspr_dir}prtypes.h... $ECHO_C" >&6; }
25070
25761
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25071
25762
echo $ECHO_N "(cached) $ECHO_C" >&6
25191
25880
pkg_failed=no
25881
{ echo "$as_me:$LINENO: checking for GTK2" >&5
25882
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
25884
if test -n "$PKG_CONFIG"; then
25885
if test -n "$GTK2_CFLAGS"; then
25886
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
25888
if test -n "$PKG_CONFIG" && \
25889
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5
25890
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5
25892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893
(exit $ac_status); }; then
25894
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8.0" 2>/dev/null`
25902
if test -n "$PKG_CONFIG"; then
25903
if test -n "$GTK2_LIBS"; then
25904
pkg_cv_GTK2_LIBS="$GTK2_LIBS"
25906
if test -n "$PKG_CONFIG" && \
25907
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5
25908
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5
25910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911
(exit $ac_status); }; then
25912
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8.0" 2>/dev/null`
25923
if test $pkg_failed = yes; then
25925
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25926
_pkg_short_errors_supported=yes
25928
_pkg_short_errors_supported=no
25930
if test $_pkg_short_errors_supported = yes; then
25931
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8.0"`
25933
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8.0"`
25935
# Put the nasty error message in config.log where it belongs
25936
echo "$GTK2_PKG_ERRORS" >&5
25938
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.8.0) were not met:
25942
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25943
installed software in a non-standard prefix.
25945
Alternatively, you may set the environment variables GTK2_CFLAGS
25946
and GTK2_LIBS to avoid the need to call pkg-config.
25947
See the pkg-config man page for more details.
25949
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.8.0) were not met:
25953
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25954
installed software in a non-standard prefix.
25956
Alternatively, you may set the environment variables GTK2_CFLAGS
25957
and GTK2_LIBS to avoid the need to call pkg-config.
25958
See the pkg-config man page for more details.
25960
{ (exit 1); exit 1; }; }
25961
elif test $pkg_failed = untried; then
25962
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
25963
is in your PATH or set the PKG_CONFIG environment variable to the full
25964
path to pkg-config.
25966
Alternatively, you may set the environment variables GTK2_CFLAGS
25967
and GTK2_LIBS to avoid the need to call pkg-config.
25968
See the pkg-config man page for more details.
25970
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25971
See \`config.log' for more details." >&5
25972
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
25973
is in your PATH or set the PKG_CONFIG environment variable to the full
25974
path to pkg-config.
25976
Alternatively, you may set the environment variables GTK2_CFLAGS
25977
and GTK2_LIBS to avoid the need to call pkg-config.
25978
See the pkg-config man page for more details.
25980
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25981
See \`config.log' for more details." >&2;}
25982
{ (exit 1); exit 1; }; }
25984
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
25985
GTK2_LIBS=$pkg_cv_GTK2_LIBS
25986
{ echo "$as_me:$LINENO: result: yes" >&5
25987
echo "${ECHO_T}yes" >&6; }
25192
25992
{ echo "$as_me:$LINENO: checking for GLIB2" >&5
25193
25993
echo $ECHO_N "checking for GLIB2... $ECHO_C" >&6; }
25298
26098
echo "${ECHO_T}yes" >&6; }
25301
{ echo "$as_me:$LINENO: result: found version $(pkg-config --modversion glib-2.0)" >&5
25302
echo "${ECHO_T} found version $(pkg-config --modversion glib-2.0)" >&6; }
25306
{ echo "$as_me:$LINENO: checking for GTK2" >&5
25307
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
25309
if test -n "$PKG_CONFIG"; then
25310
if test -n "$GTK2_CFLAGS"; then
25311
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
25313
if test -n "$PKG_CONFIG" && \
25314
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
25315
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
25317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318
(exit $ac_status); }; then
25319
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0" 2>/dev/null`
25327
if test -n "$PKG_CONFIG"; then
25328
if test -n "$GTK2_LIBS"; then
25329
pkg_cv_GTK2_LIBS="$GTK2_LIBS"
25331
if test -n "$PKG_CONFIG" && \
25332
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
25333
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
25335
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336
(exit $ac_status); }; then
25337
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0" 2>/dev/null`
25348
if test $pkg_failed = yes; then
25350
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25351
_pkg_short_errors_supported=yes
25353
_pkg_short_errors_supported=no
25355
if test $_pkg_short_errors_supported = yes; then
25356
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
25358
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
25360
# Put the nasty error message in config.log where it belongs
25361
echo "$GTK2_PKG_ERRORS" >&5
25363
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
25367
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25368
installed software in a non-standard prefix.
25370
Alternatively, you may set the environment variables GTK2_CFLAGS
25371
and GTK2_LIBS to avoid the need to call pkg-config.
25372
See the pkg-config man page for more details.
25374
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
25378
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25379
installed software in a non-standard prefix.
25381
Alternatively, you may set the environment variables GTK2_CFLAGS
25382
and GTK2_LIBS to avoid the need to call pkg-config.
25383
See the pkg-config man page for more details.
25385
{ (exit 1); exit 1; }; }
25386
elif test $pkg_failed = untried; then
25387
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
25388
is in your PATH or set the PKG_CONFIG environment variable to the full
25389
path to pkg-config.
25391
Alternatively, you may set the environment variables GTK2_CFLAGS
25392
and GTK2_LIBS to avoid the need to call pkg-config.
25393
See the pkg-config man page for more details.
25395
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
25396
See \`config.log' for more details." >&5
25397
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
25398
is in your PATH or set the PKG_CONFIG environment variable to the full
25399
path to pkg-config.
25401
Alternatively, you may set the environment variables GTK2_CFLAGS
25402
and GTK2_LIBS to avoid the need to call pkg-config.
25403
See the pkg-config man page for more details.
25405
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
25406
See \`config.log' for more details." >&2;}
25407
{ (exit 1); exit 1; }; }
25409
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
25410
GTK2_LIBS=$pkg_cv_GTK2_LIBS
25411
{ echo "$as_me:$LINENO: result: yes" >&5
25412
echo "${ECHO_T}yes" >&6; }
25415
{ echo "$as_me:$LINENO: result: found version $(pkg-config --modversion gtk+-2.0)" >&5
25416
echo "${ECHO_T} found version $(pkg-config --modversion gtk+-2.0)" >&6; }
25419
26102
pkg_failed=no
25420
26103
{ echo "$as_me:$LINENO: checking for GTHREAD2" >&5
25526
26209
echo "${ECHO_T}yes" >&6; }
25529
{ echo "$as_me:$LINENO: result: found version $(pkg-config --modversion gthread-2.0)" >&5
25530
echo "${ECHO_T} found version $(pkg-config --modversion gthread-2.0)" >&6; }
25532
if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.12.0\"") >&5
25533
($PKG_CONFIG --exists --print-errors "pango >= 1.12.0") 2>&5
25535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536
(exit $ac_status); }; then
25539
{ echo "$as_me:$LINENO: WARNING: you have libpango older than 1.12.0 - text containing invalid UTF-8 may not be displayed" >&5
25540
echo "$as_me: WARNING: you have libpango older than 1.12.0 - text containing invalid UTF-8 may not be displayed" >&2;}
26214
{ echo "$as_me:$LINENO: checking for PANGO" >&5
26215
echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; }
26217
if test -n "$PKG_CONFIG"; then
26218
if test -n "$PANGO_CFLAGS"; then
26219
pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
26221
if test -n "$PKG_CONFIG" && \
26222
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.12.0\"") >&5
26223
($PKG_CONFIG --exists --print-errors "pango >= 1.12.0") 2>&5
26225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226
(exit $ac_status); }; then
26227
pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.12.0" 2>/dev/null`
26235
if test -n "$PKG_CONFIG"; then
26236
if test -n "$PANGO_LIBS"; then
26237
pkg_cv_PANGO_LIBS="$PANGO_LIBS"
26239
if test -n "$PKG_CONFIG" && \
26240
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.12.0\"") >&5
26241
($PKG_CONFIG --exists --print-errors "pango >= 1.12.0") 2>&5
26243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244
(exit $ac_status); }; then
26245
pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.12.0" 2>/dev/null`
26256
if test $pkg_failed = yes; then
26258
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26259
_pkg_short_errors_supported=yes
26261
_pkg_short_errors_supported=no
26263
if test $_pkg_short_errors_supported = yes; then
26264
PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.12.0"`
26266
PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.12.0"`
26268
# Put the nasty error message in config.log where it belongs
26269
echo "$PANGO_PKG_ERRORS" >&5
26271
{ { echo "$as_me:$LINENO: error: Package requirements (pango >= 1.12.0) were not met:
26275
Consider adjusting the PKG_CONFIG_PATH environment variable if you
26276
installed software in a non-standard prefix.
26278
Alternatively, you may set the environment variables PANGO_CFLAGS
26279
and PANGO_LIBS to avoid the need to call pkg-config.
26280
See the pkg-config man page for more details.
26282
echo "$as_me: error: Package requirements (pango >= 1.12.0) were not met:
26286
Consider adjusting the PKG_CONFIG_PATH environment variable if you
26287
installed software in a non-standard prefix.
26289
Alternatively, you may set the environment variables PANGO_CFLAGS
26290
and PANGO_LIBS to avoid the need to call pkg-config.
26291
See the pkg-config man page for more details.
26293
{ (exit 1); exit 1; }; }
26294
elif test $pkg_failed = untried; then
26295
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
26296
is in your PATH or set the PKG_CONFIG environment variable to the full
26297
path to pkg-config.
26299
Alternatively, you may set the environment variables PANGO_CFLAGS
26300
and PANGO_LIBS to avoid the need to call pkg-config.
26301
See the pkg-config man page for more details.
26303
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26304
See \`config.log' for more details." >&5
26305
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
26306
is in your PATH or set the PKG_CONFIG environment variable to the full
26307
path to pkg-config.
26309
Alternatively, you may set the environment variables PANGO_CFLAGS
26310
and PANGO_LIBS to avoid the need to call pkg-config.
26311
See the pkg-config man page for more details.
26313
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26314
See \`config.log' for more details." >&2;}
26315
{ (exit 1); exit 1; }; }
26317
PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
26318
PANGO_LIBS=$pkg_cv_PANGO_LIBS
26319
{ echo "$as_me:$LINENO: result: yes" >&5
26320
echo "${ECHO_T}yes" >&6; }
25542
26323
saved_CFLAGS="$CFLAGS"
25543
26324
saved_LIBS="$LIBS"
25614
26395
CFLAGS="$saved_CFLAGS"
25615
26396
LIBS="$saved_LIBS"
26400
# Check whether --with-hal was given.
26401
if test "${with_hal+set}" = set; then
26402
withval=$with_hal; requested=Y
26407
if test "x$with_hal" != 'xno'; then
26409
if test "x$requested" = "xY"; then
26412
{ echo "$as_me:$LINENO: checking for HAL" >&5
26413
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
26415
if test -n "$PKG_CONFIG"; then
26416
if test -n "$HAL_CFLAGS"; then
26417
pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
26419
if test -n "$PKG_CONFIG" && \
26420
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
26421
($PKG_CONFIG --exists --print-errors "hal") 2>&5
26423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424
(exit $ac_status); }; then
26425
pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
26433
if test -n "$PKG_CONFIG"; then
26434
if test -n "$HAL_LIBS"; then
26435
pkg_cv_HAL_LIBS="$HAL_LIBS"
26437
if test -n "$PKG_CONFIG" && \
26438
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
26439
($PKG_CONFIG --exists --print-errors "hal") 2>&5
26441
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442
(exit $ac_status); }; then
26443
pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
26454
if test $pkg_failed = yes; then
26456
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26457
_pkg_short_errors_supported=yes
26459
_pkg_short_errors_supported=no
26461
if test $_pkg_short_errors_supported = yes; then
26462
HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"`
26464
HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"`
26466
# Put the nasty error message in config.log where it belongs
26467
echo "$HAL_PKG_ERRORS" >&5
26469
{ { echo "$as_me:$LINENO: error: Package requirements (hal) were not met:
26473
Consider adjusting the PKG_CONFIG_PATH environment variable if you
26474
installed software in a non-standard prefix.
26476
Alternatively, you may set the environment variables HAL_CFLAGS
26477
and HAL_LIBS to avoid the need to call pkg-config.
26478
See the pkg-config man page for more details.
26480
echo "$as_me: error: Package requirements (hal) were not met:
26484
Consider adjusting the PKG_CONFIG_PATH environment variable if you
26485
installed software in a non-standard prefix.
26487
Alternatively, you may set the environment variables HAL_CFLAGS
26488
and HAL_LIBS to avoid the need to call pkg-config.
26489
See the pkg-config man page for more details.
26491
{ (exit 1); exit 1; }; }
26492
elif test $pkg_failed = untried; then
26493
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
26494
is in your PATH or set the PKG_CONFIG environment variable to the full
26495
path to pkg-config.
26497
Alternatively, you may set the environment variables HAL_CFLAGS
26498
and HAL_LIBS to avoid the need to call pkg-config.
26499
See the pkg-config man page for more details.
26501
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26502
See \`config.log' for more details." >&5
26503
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
26504
is in your PATH or set the PKG_CONFIG environment variable to the full
26505
path to pkg-config.
26507
Alternatively, you may set the environment variables HAL_CFLAGS
26508
and HAL_LIBS to avoid the need to call pkg-config.
26509
See the pkg-config man page for more details.
26511
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26512
See \`config.log' for more details." >&2;}
26513
{ (exit 1); exit 1; }; }
26515
HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
26516
HAL_LIBS=$pkg_cv_HAL_LIBS
26517
{ echo "$as_me:$LINENO: result: yes" >&5
26518
echo "${ECHO_T}yes" >&6; }
26524
{ echo "$as_me:$LINENO: checking for HAL" >&5
26525
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
26527
if test -n "$PKG_CONFIG"; then
26528
if test -n "$HAL_CFLAGS"; then
26529
pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
26531
if test -n "$PKG_CONFIG" && \
26532
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
26533
($PKG_CONFIG --exists --print-errors "hal") 2>&5
26535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536
(exit $ac_status); }; then
26537
pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
26545
if test -n "$PKG_CONFIG"; then
26546
if test -n "$HAL_LIBS"; then
26547
pkg_cv_HAL_LIBS="$HAL_LIBS"
26549
if test -n "$PKG_CONFIG" && \
26550
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
26551
($PKG_CONFIG --exists --print-errors "hal") 2>&5
26553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554
(exit $ac_status); }; then
26555
pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
26566
if test $pkg_failed = yes; then
26568
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26569
_pkg_short_errors_supported=yes
26571
_pkg_short_errors_supported=no
26573
if test $_pkg_short_errors_supported = yes; then
26574
HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"`
26576
HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"`
26578
# Put the nasty error message in config.log where it belongs
26579
echo "$HAL_PKG_ERRORS" >&5
26581
{ echo "$as_me:$LINENO: result: no" >&5
26582
echo "${ECHO_T}no" >&6; }
26583
with_hal=no; { echo "$as_me:$LINENO: result: no" >&5
26584
echo "${ECHO_T}no" >&6; }
26585
elif test $pkg_failed = untried; then
26586
with_hal=no; { echo "$as_me:$LINENO: result: no" >&5
26587
echo "${ECHO_T}no" >&6; }
26589
HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
26590
HAL_LIBS=$pkg_cv_HAL_LIBS
26591
{ echo "$as_me:$LINENO: result: yes" >&5
26592
echo "${ECHO_T}yes" >&6; }
26597
if test "$with_hal" = yes; then
26599
cat >>confdefs.h <<\_ACEOF
26603
{ echo "$as_me:$LINENO: checking how to acquire device info via HAL" >&5
26604
echo $ECHO_N "checking how to acquire device info via HAL... $ECHO_C" >&6; }
26605
HAL_DEVICE_FILE_PROPERTY=''
26606
HAL_DEVICE_FILE_PREFIX=''
26607
case "$build_os" in
26609
HAL_DEVICE_FILE_PROPERTY=linux.device_file
26612
HAL_DEVICE_FILE_PROPERTY=solaris.devfs_path
26613
HAL_DEVICE_FILE_PREFIX=/devices/
26616
{ echo "$as_me:$LINENO: result: \"$HAL_DEVICE_FILE_PROPERTY\", prefix \"$HAL_DEVICE_FILE_PREFIX\"" >&5
26617
echo "${ECHO_T}\"$HAL_DEVICE_FILE_PROPERTY\", prefix \"$HAL_DEVICE_FILE_PREFIX\"" >&6; }
26618
if test "$HAL_DEVICE_FILE_PROPERTY" = ''; then
26619
{ echo "$as_me:$LINENO: WARNING: I don't know how to get HAL path info for $build_os." >&5
26620
echo "$as_me: WARNING: I don't know how to get HAL path info for $build_os." >&2;}
26621
{ echo "$as_me:$LINENO: WARNING: You won't see some info when viewing/selecting default devices." >&5
26622
echo "$as_me: WARNING: You won't see some info when viewing/selecting default devices." >&2;}
26625
cat >>confdefs.h <<_ACEOF
26626
#define HAL_DEVICE_FILE_PROPERTY "$HAL_DEVICE_FILE_PROPERTY"
26629
if test "$HAL_DEVICE_FILE_PREFIX" != ''; then
26631
cat >>confdefs.h <<_ACEOF
26632
#define HAL_DEVICE_FILE_PREFIX "$HAL_DEVICE_FILE_PREFIX"
25617
26640
# Extract the first word of "gnome-screensaver-command", so it can be a program name with args.
25618
26641
set dummy gnome-screensaver-command; ac_word=$2
25619
26642
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29072
# Extract the first word of "rsvg", so it can be a program name with args.
29073
set dummy rsvg; ac_word=$2
29074
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29075
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29076
if test "${ac_cv_path_RSVG+set}" = set; then
29077
echo $ECHO_N "(cached) $ECHO_C" >&6
29081
ac_cv_path_RSVG="$RSVG" # Let the user override the test with a path.
29084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29085
for as_dir in $PATH
29088
test -z "$as_dir" && as_dir=.
29089
for ac_exec_ext in '' $ac_executable_extensions; do
29090
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29091
ac_cv_path_RSVG="$as_dir/$ac_word$ac_exec_ext"
29092
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29102
RSVG=$ac_cv_path_RSVG
29103
if test -n "$RSVG"; then
29104
{ echo "$as_me:$LINENO: result: $RSVG" >&5
29105
echo "${ECHO_T}$RSVG" >&6; }
29107
{ echo "$as_me:$LINENO: result: no" >&5
29108
echo "${ECHO_T}no" >&6; }
29112
if test "x$RSVG" != x; then
29113
# Extract the first word of "optipng", so it can be a program name with args.
29114
set dummy optipng; ac_word=$2
29115
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29116
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29117
if test "${ac_cv_path_OPTIPNG+set}" = set; then
29118
echo $ECHO_N "(cached) $ECHO_C" >&6
29122
ac_cv_path_OPTIPNG="$OPTIPNG" # Let the user override the test with a path.
29125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29126
for as_dir in $PATH
29129
test -z "$as_dir" && as_dir=.
29130
for ac_exec_ext in '' $ac_executable_extensions; do
29131
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29132
ac_cv_path_OPTIPNG="$as_dir/$ac_word$ac_exec_ext"
29133
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29143
OPTIPNG=$ac_cv_path_OPTIPNG
29144
if test -n "$OPTIPNG"; then
29145
{ echo "$as_me:$LINENO: result: $OPTIPNG" >&5
29146
echo "${ECHO_T}$OPTIPNG" >&6; }
29148
{ echo "$as_me:$LINENO: result: no" >&5
29149
echo "${ECHO_T}no" >&6; }
29154
if test "x$RSVG" != x; then
29162
if test "x$OPTIPNG" != x; then
29164
OPTIMISE_PNG_FALSE='#'
29166
OPTIMISE_PNG_TRUE='#'
29167
OPTIMISE_PNG_FALSE=
28011
29172
GXINE_PLUGINDIR="$libdir/gxine"
28012
29173
eval GXINE_PLUGINPATH=`eval echo "$GXINE_PLUGINDIR"`
28914
30103
host_cpu!$host_cpu$ac_delim
28915
30104
host_vendor!$host_vendor$ac_delim
28916
30105
host_os!$host_os$ac_delim
28917
30107
LN_S!$LN_S$ac_delim
28918
30108
ECHO!$ECHO$ac_delim
28919
30109
AR!$AR$ac_delim
28920
30110
RANLIB!$RANLIB$ac_delim
30111
DSYMUTIL!$DSYMUTIL$ac_delim
30112
NMEDIT!$NMEDIT$ac_delim
28921
30113
CXXCPP!$CXXCPP$ac_delim
30116
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30118
elif $ac_last_try; then
30119
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30120
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30121
{ (exit 1); exit 1; }; }
30123
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30127
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30128
if test -n "$ac_eof"; then
30129
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30130
ac_eof=`expr $ac_eof + 1`
30133
cat >>$CONFIG_STATUS <<_ACEOF
30134
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
30135
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30138
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30139
s/^/s,@/; s/!/@,|#_!!_#|/
30142
s/'"$ac_delim"'$/,g/; t
30144
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30145
' >>$CONFIG_STATUS <conf$$subs.sed
30146
rm -f conf$$subs.sed
30147
cat >>$CONFIG_STATUS <<_ACEOF
30153
for ac_last_try in false false false false false :; do
30154
cat >conf$$subs.sed <<_ACEOF
28922
30155
LIBTOOL!$LIBTOOL$ac_delim
28923
30156
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
28924
30157
GNU99!$GNU99$ac_delim
28925
30158
USE_NLS!$USE_NLS$ac_delim
28928
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28930
elif $ac_last_try; then
28931
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28932
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28933
{ (exit 1); exit 1; }; }
28935
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28939
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28940
if test -n "$ac_eof"; then
28941
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28942
ac_eof=`expr $ac_eof + 1`
28945
cat >>$CONFIG_STATUS <<_ACEOF
28946
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
28947
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28950
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28951
s/^/s,@/; s/!/@,|#_!!_#|/
28954
s/'"$ac_delim"'$/,g/; t
28956
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28957
' >>$CONFIG_STATUS <conf$$subs.sed
28958
rm -f conf$$subs.sed
28959
cat >>$CONFIG_STATUS <<_ACEOF
28965
for ac_last_try in false false false false false :; do
28966
cat >conf$$subs.sed <<_ACEOF
28967
30159
MSGFMT!$MSGFMT$ac_delim
28968
30160
GMSGFMT!$GMSGFMT$ac_delim
28969
30161
MSGFMT_015!$MSGFMT_015$ac_delim