2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for inkscape 0.48.0.
3
# Generated by GNU Autoconf 2.67 for inkscape 0.48.1.
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
11
# This configure script is free software; the Free Software Foundation
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
# ----------------------------------------
361
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
363
# script with STATUS, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $1" >&2
371
$as_echo "$as_me: error: $2" >&2
372
372
as_fn_exit $as_status
1276
1281
if test -n "$ac_prev"; then
1277
1282
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1278
as_fn_error "missing argument to $ac_option"
1283
as_fn_error $? "missing argument to $ac_option"
1281
1286
if test -n "$ac_unrecognized_opts"; then
1282
1287
case $enable_option_checking in
1284
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1289
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1285
1290
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1318
1323
if test "x$host_alias" != x; then
1319
1324
if test "x$build_alias" = x; then
1320
1325
cross_compiling=maybe
1321
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1322
If a cross compiler is detected then cross compile mode will be used." >&2
1326
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1327
If a cross compiler is detected then cross compile mode will be used" >&2
1323
1328
elif test "x$build_alias" != "x$host_alias"; then
1324
1329
cross_compiling=yes
1334
1339
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335
1340
ac_ls_di=`ls -di .` &&
1336
1341
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337
as_fn_error "working directory cannot be determined"
1342
as_fn_error $? "working directory cannot be determined"
1338
1343
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339
as_fn_error "pwd does not report name of working directory"
1344
as_fn_error $? "pwd does not report name of working directory"
1342
1347
# Find the source files, if location was not specified.
1376
1381
if test ! -r "$srcdir/$ac_unique_file"; then
1377
1382
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1383
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1380
1385
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1381
1386
ac_abs_confdir=`(
1382
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1387
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1384
1389
# When building in place, set srcdir=.
1385
1390
if test "$ac_abs_confdir" = "$ac_pwd"; then
1419
1424
--help=short display options specific to this package
1420
1425
--help=recursive display the short help of all the included packages
1421
1426
-V, --version display version information and exit
1422
-q, --quiet, --silent do not print \`checking...' messages
1427
-q, --quiet, --silent do not print \`checking ...' messages
1423
1428
--cache-file=FILE cache test results in FILE [disabled]
1424
1429
-C, --config-cache alias for \`--cache-file=config.cache'
1425
1430
-n, --no-create do not create output files
1635
1644
test -n "$ac_init_help" && exit $ac_status
1636
1645
if $ac_init_version; then
1638
inkscape configure 0.48.0
1639
generated by GNU Autoconf 2.65
1647
inkscape configure 0.48.1
1648
generated by GNU Autoconf 2.67
1641
Copyright (C) 2009 Free Software Foundation, Inc.
1650
Copyright (C) 2010 Free Software Foundation, Inc.
1642
1651
This configure script is free software; the Free Software Foundation
1643
1652
gives unlimited permission to copy, distribute and modify it.
1971
1980
ac_fn_cxx_check_header_mongrel ()
1973
1982
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1983
if eval "test \"\${$3+set}\"" = set; then :
1975
1984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976
1985
$as_echo_n "checking for $2... " >&6; }
1977
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1986
if eval "test \"\${$3+set}\"" = set; then :
1978
1987
$as_echo_n "(cached) " >&6
1980
1989
eval ac_res=\$$3
2195
2204
This file contains any messages produced by compilers while
2196
2205
running configure, to aid debugging if configure makes a mistake.
2198
It was created by inkscape $as_me 0.48.0, which was
2199
generated by GNU Autoconf 2.65. Invocation command line was
2207
It was created by inkscape $as_me 0.48.1, which was
2208
generated by GNU Autoconf 2.67. Invocation command line was
2438
2439
ac_site_file1=NONE
2439
2440
ac_site_file2=NONE
2440
2441
if test -n "$CONFIG_SITE"; then
2441
ac_site_file1=$CONFIG_SITE
2442
# We do not want a PATH search for config.site.
2443
case $CONFIG_SITE in #((
2444
-*) ac_site_file1=./$CONFIG_SITE;;
2445
*/*) ac_site_file1=$CONFIG_SITE;;
2446
*) ac_site_file1=./$CONFIG_SITE;;
2442
2448
elif test "x$prefix" != xNONE; then
2443
2449
ac_site_file1=$prefix/share/config.site
2444
2450
ac_site_file2=$prefix/etc/config.site
2453
2459
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2454
2460
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2455
2461
sed 's/^/| /' "$ac_site_file" >&5
2463
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465
as_fn_error $? "failed to load site script $ac_site_file
2466
See \`config.log' for more details" "$LINENO" 5 ; }
2529
2539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2530
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2531
2541
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2532
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2542
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2534
2544
## -------------------- ##
2535
2545
## Main body of script. ##
2547
2557
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2548
for ac_t in install-sh install.sh shtool; do
2549
if test -f "$ac_dir/$ac_t"; then
2551
ac_install_sh="$ac_aux_dir/$ac_t -c"
2558
if test -f "$ac_dir/install-sh"; then
2560
ac_install_sh="$ac_aux_dir/install-sh -c"
2562
elif test -f "$ac_dir/install.sh"; then
2564
ac_install_sh="$ac_aux_dir/install.sh -c"
2566
elif test -f "$ac_dir/shtool"; then
2568
ac_install_sh="$ac_aux_dir/shtool install -c"
2556
2572
if test -z "$ac_aux_dir"; then
2557
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2573
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2560
2576
# These three variables are undocumented and unsupported,
2579
2595
test "x$ac_build_alias" = x &&
2580
2596
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2581
2597
test "x$ac_build_alias" = x &&
2582
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2598
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2583
2599
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2584
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2600
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2587
2603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2588
2604
$as_echo "$ac_cv_build" >&6; }
2589
2605
case $ac_cv_build in
2591
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2607
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2593
2609
build=$ac_cv_build
2594
2610
ac_save_IFS=$IFS; IFS='-'
2746
2762
*[\\\"\#\$\&\'\`$am_lf]*)
2747
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2763
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2749
2765
case $srcdir in
2750
2766
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2751
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2767
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2754
2770
# Do `set' in a subshell so we don't clobber the current shell's
3505
3521
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506
3522
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507
{ as_fn_set_status 77
3508
as_fn_error "C++ compiler cannot create executables
3509
See \`config.log' for more details." "$LINENO" 5; }; }
3523
as_fn_error 77 "C++ compiler cannot create executables
3524
See \`config.log' for more details" "$LINENO" 5 ; }
3511
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3512
3527
$as_echo "yes" >&6; }
3549
3564
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550
3565
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551
as_fn_error "cannot compute suffix of executables: cannot compile and link
3552
See \`config.log' for more details." "$LINENO" 5; }
3566
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3567
See \`config.log' for more details" "$LINENO" 5 ; }
3554
3569
rm -f conftest conftest$ac_cv_exeext
3555
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3607
3622
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608
3623
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609
as_fn_error "cannot run C++ compiled programs.
3624
as_fn_error $? "cannot run C++ compiled programs.
3610
3625
If you meant to cross compile, use \`--host'.
3611
See \`config.log' for more details." "$LINENO" 5; }
3626
See \`config.log' for more details" "$LINENO" 5 ; }
3660
3675
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661
3676
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662
as_fn_error "cannot compute suffix of object files: cannot compile
3663
See \`config.log' for more details." "$LINENO" 5; }
3677
as_fn_error $? "cannot compute suffix of object files: cannot compile
3678
See \`config.log' for more details" "$LINENO" 5 ; }
3665
3680
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4658
4673
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4659
4674
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4660
as_fn_error "no acceptable C compiler found in \$PATH
4661
See \`config.log' for more details." "$LINENO" 5; }
4675
as_fn_error $? "no acceptable C compiler found in \$PATH
4676
See \`config.log' for more details" "$LINENO" 5 ; }
4663
4678
# Provide some information about the compiler.
4664
4679
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5286
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5287
5302
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5288
5303
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5289
as_fn_error "Your intltool is too old. You need intltool 0.22 or later." "$LINENO" 5
5304
as_fn_error $? "Your intltool is too old. You need intltool 0.22 or later." "$LINENO" 5
5292
5307
# Extract the first word of "intltool-update", so it can be a program name with args.
5694
5709
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5695
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5710
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5697
5712
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5698
5713
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5699
5714
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5700
5715
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5701
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5716
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5704
5719
# Extract the first word of "perl", so it can be a program name with args.
5744
5759
if test -z "$INTLTOOL_PERL"; then
5745
as_fn_error "perl not found" "$LINENO" 5
5760
as_fn_error $? "perl not found" "$LINENO" 5
5747
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5748
5763
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5749
5764
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5750
5765
if test $? -ne 0; then
5751
as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
5766
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5753
5768
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5754
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5922
5937
ac_preproc_ok=:
5925
rm -f conftest.err conftest.$ac_ext
5940
rm -f conftest.err conftest.i conftest.$ac_ext
5928
5943
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5929
rm -f conftest.err conftest.$ac_ext
5944
rm -f conftest.i conftest.err conftest.$ac_ext
5930
5945
if $ac_preproc_ok; then :
5933
5948
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5934
5949
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5935
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
5936
See \`config.log' for more details." "$LINENO" 5; }
5950
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5951
See \`config.log' for more details" "$LINENO" 5 ; }
6523
6538
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6524
6539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6525
as_fn_error "no acceptable C compiler found in \$PATH
6526
See \`config.log' for more details." "$LINENO" 5; }
6540
as_fn_error $? "no acceptable C compiler found in \$PATH
6541
See \`config.log' for more details" "$LINENO" 5 ; }
6528
6543
# Provide some information about the compiler.
6529
6544
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8610
8623
if test "$cross_compiling" = yes; then :
8611
8624
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8612
8625
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8613
as_fn_error "cannot run test program while cross compiling
8614
See \`config.log' for more details." "$LINENO" 5; }
8626
as_fn_error $? "cannot run test program while cross compiling
8627
See \`config.log' for more details" "$LINENO" 5 ; }
8616
8629
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617
8630
/* end confdefs.h. */
8958
8975
$as_echo "no" >&6; }
8965
8981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
8966
8982
$as_echo_n "checking for XFT... " >&6; }
8968
if test -n "$PKG_CONFIG"; then
8969
if test -n "$XFT_CFLAGS"; then
8970
pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
8972
if test -n "$PKG_CONFIG" && \
8984
if test -n "$XFT_CFLAGS"; then
8985
pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
8986
elif test -n "$PKG_CONFIG"; then
8987
if test -n "$PKG_CONFIG" && \
8973
8988
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
8974
8989
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
8986
if test -n "$PKG_CONFIG"; then
8987
if test -n "$XFT_LIBS"; then
8988
pkg_cv_XFT_LIBS="$XFT_LIBS"
8990
if test -n "$PKG_CONFIG" && \
9000
if test -n "$XFT_LIBS"; then
9001
pkg_cv_XFT_LIBS="$XFT_LIBS"
9002
elif test -n "$PKG_CONFIG"; then
9003
if test -n "$PKG_CONFIG" && \
8991
9004
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
8992
9005
($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
9012
9026
_pkg_short_errors_supported=no
9014
9028
if test $_pkg_short_errors_supported = yes; then
9015
XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig"`
9029
XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
9017
XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig"`
9031
XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
9019
9033
# Put the nasty error message in config.log where it belongs
9020
9034
echo "$XFT_PKG_ERRORS" >&5
9022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023
$as_echo "no" >&6; }
9025
9037
elif test $pkg_failed = untried; then
9038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039
$as_echo "no" >&6; }
9028
9042
XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
9037
9051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
9038
9052
$as_echo_n "checking for XFT... " >&6; }
9040
if test -n "$PKG_CONFIG"; then
9041
if test -n "$XFT_CFLAGS"; then
9042
pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
9044
if test -n "$PKG_CONFIG" && \
9054
if test -n "$XFT_CFLAGS"; then
9055
pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
9056
elif test -n "$PKG_CONFIG"; then
9057
if test -n "$PKG_CONFIG" && \
9045
9058
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft\""; } >&5
9046
9059
($PKG_CONFIG --exists --print-errors "xft") 2>&5
9058
if test -n "$PKG_CONFIG"; then
9059
if test -n "$XFT_LIBS"; then
9060
pkg_cv_XFT_LIBS="$XFT_LIBS"
9062
if test -n "$PKG_CONFIG" && \
9070
if test -n "$XFT_LIBS"; then
9071
pkg_cv_XFT_LIBS="$XFT_LIBS"
9072
elif test -n "$PKG_CONFIG"; then
9073
if test -n "$PKG_CONFIG" && \
9063
9074
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft\""; } >&5
9064
9075
($PKG_CONFIG --exists --print-errors "xft") 2>&5
9084
9096
_pkg_short_errors_supported=no
9086
9098
if test $_pkg_short_errors_supported = yes; then
9087
XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xft"`
9099
XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xft" 2>&1`
9089
XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft"`
9101
XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft" 2>&1`
9091
9103
# Put the nasty error message in config.log where it belongs
9092
9104
echo "$XFT_PKG_ERRORS" >&5
9094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095
$as_echo "no" >&6; }
9097
9107
elif test $pkg_failed = untried; then
9108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109
$as_echo "no" >&6; }
9100
9112
XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
9149
9161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
9150
9162
$as_echo_n "checking for PANGOFT2... " >&6; }
9152
if test -n "$PKG_CONFIG"; then
9153
if test -n "$PANGOFT2_CFLAGS"; then
9154
pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
9156
if test -n "$PKG_CONFIG" && \
9164
if test -n "$PANGOFT2_CFLAGS"; then
9165
pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
9166
elif test -n "$PKG_CONFIG"; then
9167
if test -n "$PKG_CONFIG" && \
9157
9168
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
9158
9169
($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
9170
if test -n "$PKG_CONFIG"; then
9171
if test -n "$PANGOFT2_LIBS"; then
9172
pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
9174
if test -n "$PKG_CONFIG" && \
9180
if test -n "$PANGOFT2_LIBS"; then
9181
pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
9182
elif test -n "$PKG_CONFIG"; then
9183
if test -n "$PKG_CONFIG" && \
9175
9184
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
9176
9185
($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
9196
9206
_pkg_short_errors_supported=no
9198
9208
if test $_pkg_short_errors_supported = yes; then
9199
PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
9209
PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pangoft2" 2>&1`
9201
PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
9211
PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --print-errors "pangoft2" 2>&1`
9203
9213
# Put the nasty error message in config.log where it belongs
9204
9214
echo "$PANGOFT2_PKG_ERRORS" >&5
9206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9217
elif test $pkg_failed = untried; then
9218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9207
9219
$as_echo "no" >&6; }
9209
elif test $pkg_failed = untried; then
9212
9222
PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
9239
9249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5
9240
9250
$as_echo_n "checking for GNOME_VFS... " >&6; }
9242
if test -n "$PKG_CONFIG"; then
9243
if test -n "$GNOME_VFS_CFLAGS"; then
9244
pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
9246
if test -n "$PKG_CONFIG" && \
9252
if test -n "$GNOME_VFS_CFLAGS"; then
9253
pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
9254
elif test -n "$PKG_CONFIG"; then
9255
if test -n "$PKG_CONFIG" && \
9247
9256
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
9248
9257
($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
9260
if test -n "$PKG_CONFIG"; then
9261
if test -n "$GNOME_VFS_LIBS"; then
9262
pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
9264
if test -n "$PKG_CONFIG" && \
9268
if test -n "$GNOME_VFS_LIBS"; then
9269
pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
9270
elif test -n "$PKG_CONFIG"; then
9271
if test -n "$PKG_CONFIG" && \
9265
9272
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
9266
9273
($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
9286
9294
_pkg_short_errors_supported=no
9288
9296
if test $_pkg_short_errors_supported = yes; then
9289
GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
9297
GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-vfs-2.0 >= 2.0" 2>&1`
9291
GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
9299
GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-vfs-2.0 >= 2.0" 2>&1`
9293
9301
# Put the nasty error message in config.log where it belongs
9294
9302
echo "$GNOME_VFS_PKG_ERRORS" >&5
9296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9305
elif test $pkg_failed = untried; then
9306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297
9307
$as_echo "no" >&6; }
9299
elif test $pkg_failed = untried; then
9302
9310
GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
9308
9316
if test "x$gnome_vfs" != "xyes"; then
9309
9317
if test "x$with_gnome_vfs" = "xyes"; then
9310
as_fn_error "--with-gnome-vfs was specified, but appropriate libgnomevfs development packages could not be found" "$LINENO" 5
9318
as_fn_error $? "--with-gnome-vfs was specified, but appropriate libgnomevfs development packages could not be found" "$LINENO" 5
9312
9320
# gnome-vfs is no, tell us for the log file
9313
9321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnome_vfs" >&5
9745
9753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
9746
9754
$as_echo_n "checking for LCMS... " >&6; }
9748
if test -n "$PKG_CONFIG"; then
9749
if test -n "$LCMS_CFLAGS"; then
9750
pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
9752
if test -n "$PKG_CONFIG" && \
9756
if test -n "$LCMS_CFLAGS"; then
9757
pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
9758
elif test -n "$PKG_CONFIG"; then
9759
if test -n "$PKG_CONFIG" && \
9753
9760
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.13\""; } >&5
9754
9761
($PKG_CONFIG --exists --print-errors "lcms >= 1.13") 2>&5
9766
if test -n "$PKG_CONFIG"; then
9767
if test -n "$LCMS_LIBS"; then
9768
pkg_cv_LCMS_LIBS="$LCMS_LIBS"
9770
if test -n "$PKG_CONFIG" && \
9772
if test -n "$LCMS_LIBS"; then
9773
pkg_cv_LCMS_LIBS="$LCMS_LIBS"
9774
elif test -n "$PKG_CONFIG"; then
9775
if test -n "$PKG_CONFIG" && \
9771
9776
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.13\""; } >&5
9772
9777
($PKG_CONFIG --exists --print-errors "lcms >= 1.13") 2>&5
9792
9798
_pkg_short_errors_supported=no
9794
9800
if test $_pkg_short_errors_supported = yes; then
9795
LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lcms >= 1.13"`
9801
LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lcms >= 1.13" 2>&1`
9797
LCMS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lcms >= 1.13"`
9803
LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors "lcms >= 1.13" 2>&1`
9799
9805
# Put the nasty error message in config.log where it belongs
9800
9806
echo "$LCMS_PKG_ERRORS" >&5
9802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9809
elif test $pkg_failed = untried; then
9810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9803
9811
$as_echo "no" >&6; }
9805
elif test $pkg_failed = untried; then
9808
9814
LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
9814
9820
if test "x$lcms" != "xyes"; then
9815
9821
if test "x$enable_lcms" = "xyes"; then
9816
as_fn_error "--enable-lcms was specified, but appropriate LittleCms development packages could not be found" "$LINENO" 5
9822
as_fn_error $? "--enable-lcms was specified, but appropriate LittleCms development packages could not be found" "$LINENO" 5
9818
9824
# lcms is no, tell us for the log file
9819
9825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcms" >&5
9845
9851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
9846
9852
$as_echo_n "checking for POPPLER... " >&6; }
9848
if test -n "$PKG_CONFIG"; then
9849
if test -n "$POPPLER_CFLAGS"; then
9850
pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
9852
if test -n "$PKG_CONFIG" && \
9854
if test -n "$POPPLER_CFLAGS"; then
9855
pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
9856
elif test -n "$PKG_CONFIG"; then
9857
if test -n "$PKG_CONFIG" && \
9853
9858
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.5.9\""; } >&5
9854
9859
($PKG_CONFIG --exists --print-errors "poppler >= 0.5.9") 2>&5
9866
if test -n "$PKG_CONFIG"; then
9867
if test -n "$POPPLER_LIBS"; then
9868
pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
9870
if test -n "$PKG_CONFIG" && \
9870
if test -n "$POPPLER_LIBS"; then
9871
pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
9872
elif test -n "$PKG_CONFIG"; then
9873
if test -n "$PKG_CONFIG" && \
9871
9874
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.5.9\""; } >&5
9872
9875
($PKG_CONFIG --exists --print-errors "poppler >= 0.5.9") 2>&5
9892
9896
_pkg_short_errors_supported=no
9894
9898
if test $_pkg_short_errors_supported = yes; then
9895
POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler >= 0.5.9"`
9899
POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler >= 0.5.9" 2>&1`
9897
POPPLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler >= 0.5.9"`
9901
POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler >= 0.5.9" 2>&1`
9899
9903
# Put the nasty error message in config.log where it belongs
9900
9904
echo "$POPPLER_PKG_ERRORS" >&5
9902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907
elif test $pkg_failed = untried; then
9908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9903
9909
$as_echo "no" >&6; }
9905
elif test $pkg_failed = untried; then
9908
9912
POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
9918
9922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_GLIB" >&5
9919
9923
$as_echo_n "checking for POPPLER_GLIB... " >&6; }
9921
if test -n "$PKG_CONFIG"; then
9922
if test -n "$POPPLER_GLIB_CFLAGS"; then
9923
pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS"
9925
if test -n "$PKG_CONFIG" && \
9925
if test -n "$POPPLER_GLIB_CFLAGS"; then
9926
pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS"
9927
elif test -n "$PKG_CONFIG"; then
9928
if test -n "$PKG_CONFIG" && \
9926
9929
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.5.9\""; } >&5
9927
9930
($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.5.9") 2>&5
9939
if test -n "$PKG_CONFIG"; then
9940
if test -n "$POPPLER_GLIB_LIBS"; then
9941
pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS"
9943
if test -n "$PKG_CONFIG" && \
9941
if test -n "$POPPLER_GLIB_LIBS"; then
9942
pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS"
9943
elif test -n "$PKG_CONFIG"; then
9944
if test -n "$PKG_CONFIG" && \
9944
9945
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.5.9\""; } >&5
9945
9946
($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.5.9") 2>&5
9965
9967
_pkg_short_errors_supported=no
9967
9969
if test $_pkg_short_errors_supported = yes; then
9968
POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-glib >= 0.5.9"`
9970
POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler-glib >= 0.5.9" 2>&1`
9970
POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-glib >= 0.5.9"`
9972
POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler-glib >= 0.5.9" 2>&1`
9972
9974
# Put the nasty error message in config.log where it belongs
9973
9975
echo "$POPPLER_GLIB_PKG_ERRORS" >&5
9975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9978
elif test $pkg_failed = untried; then
9979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9976
9980
$as_echo "no" >&6; }
9978
elif test $pkg_failed = untried; then
9979
9981
poppler_glib=no
9981
9983
POPPLER_GLIB_CFLAGS=$pkg_cv_POPPLER_GLIB_CFLAGS
9990
9992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_SVG" >&5
9991
9993
$as_echo_n "checking for CAIRO_SVG... " >&6; }
9993
if test -n "$PKG_CONFIG"; then
9994
if test -n "$CAIRO_SVG_CFLAGS"; then
9995
pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
9997
if test -n "$PKG_CONFIG" && \
9995
if test -n "$CAIRO_SVG_CFLAGS"; then
9996
pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
9997
elif test -n "$PKG_CONFIG"; then
9998
if test -n "$PKG_CONFIG" && \
9998
9999
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-svg\""; } >&5
9999
10000
($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
10005
10006
pkg_failed=yes
10011
if test -n "$PKG_CONFIG"; then
10012
if test -n "$CAIRO_SVG_LIBS"; then
10013
pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
10015
if test -n "$PKG_CONFIG" && \
10011
if test -n "$CAIRO_SVG_LIBS"; then
10012
pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
10013
elif test -n "$PKG_CONFIG"; then
10014
if test -n "$PKG_CONFIG" && \
10016
10015
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-svg\""; } >&5
10017
10016
($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
10037
10037
_pkg_short_errors_supported=no
10039
10039
if test $_pkg_short_errors_supported = yes; then
10040
CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-svg"`
10040
CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-svg" 2>&1`
10042
CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-svg"`
10042
CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-svg" 2>&1`
10044
10044
# Put the nasty error message in config.log where it belongs
10045
10045
echo "$CAIRO_SVG_PKG_ERRORS" >&5
10047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10048
elif test $pkg_failed = untried; then
10049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10048
10050
$as_echo "no" >&6; }
10050
elif test $pkg_failed = untried; then
10053
10053
CAIRO_SVG_CFLAGS=$pkg_cv_CAIRO_SVG_CFLAGS
10066
10066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_CAIRO" >&5
10067
10067
$as_echo_n "checking for POPPLER_CAIRO... " >&6; }
10069
if test -n "$PKG_CONFIG"; then
10070
if test -n "$POPPLER_CAIRO_CFLAGS"; then
10071
pkg_cv_POPPLER_CAIRO_CFLAGS="$POPPLER_CAIRO_CFLAGS"
10073
if test -n "$PKG_CONFIG" && \
10069
if test -n "$POPPLER_CAIRO_CFLAGS"; then
10070
pkg_cv_POPPLER_CAIRO_CFLAGS="$POPPLER_CAIRO_CFLAGS"
10071
elif test -n "$PKG_CONFIG"; then
10072
if test -n "$PKG_CONFIG" && \
10074
10073
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-cairo >= 0.5.9\""; } >&5
10075
10074
($PKG_CONFIG --exists --print-errors "poppler-cairo >= 0.5.9") 2>&5
10081
10080
pkg_failed=yes
10087
if test -n "$PKG_CONFIG"; then
10088
if test -n "$POPPLER_CAIRO_LIBS"; then
10089
pkg_cv_POPPLER_CAIRO_LIBS="$POPPLER_CAIRO_LIBS"
10091
if test -n "$PKG_CONFIG" && \
10085
if test -n "$POPPLER_CAIRO_LIBS"; then
10086
pkg_cv_POPPLER_CAIRO_LIBS="$POPPLER_CAIRO_LIBS"
10087
elif test -n "$PKG_CONFIG"; then
10088
if test -n "$PKG_CONFIG" && \
10092
10089
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-cairo >= 0.5.9\""; } >&5
10093
10090
($PKG_CONFIG --exists --print-errors "poppler-cairo >= 0.5.9") 2>&5
10113
10111
_pkg_short_errors_supported=no
10115
10113
if test $_pkg_short_errors_supported = yes; then
10116
POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-cairo >= 0.5.9"`
10114
POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler-cairo >= 0.5.9" 2>&1`
10118
POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-cairo >= 0.5.9"`
10116
POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler-cairo >= 0.5.9" 2>&1`
10120
10118
# Put the nasty error message in config.log where it belongs
10121
10119
echo "$POPPLER_CAIRO_PKG_ERRORS" >&5
10123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122
elif test $pkg_failed = untried; then
10123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124
10124
$as_echo "no" >&6; }
10126
elif test $pkg_failed = untried; then
10127
10125
poppler_cairo=no
10129
10127
POPPLER_CAIRO_CFLAGS=$pkg_cv_POPPLER_CAIRO_CFLAGS
10164
10162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_GFXFONT" >&5
10165
10163
$as_echo_n "checking for POPPLER_GFXFONT... " >&6; }
10167
if test -n "$PKG_CONFIG"; then
10168
if test -n "$POPPLER_GFXFONT_CFLAGS"; then
10169
pkg_cv_POPPLER_GFXFONT_CFLAGS="$POPPLER_GFXFONT_CFLAGS"
10171
if test -n "$PKG_CONFIG" && \
10165
if test -n "$POPPLER_GFXFONT_CFLAGS"; then
10166
pkg_cv_POPPLER_GFXFONT_CFLAGS="$POPPLER_GFXFONT_CFLAGS"
10167
elif test -n "$PKG_CONFIG"; then
10168
if test -n "$PKG_CONFIG" && \
10172
10169
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.8.3\""; } >&5
10173
10170
($PKG_CONFIG --exists --print-errors "poppler >= 0.8.3") 2>&5
10179
10176
pkg_failed=yes
10185
if test -n "$PKG_CONFIG"; then
10186
if test -n "$POPPLER_GFXFONT_LIBS"; then
10187
pkg_cv_POPPLER_GFXFONT_LIBS="$POPPLER_GFXFONT_LIBS"
10189
if test -n "$PKG_CONFIG" && \
10181
if test -n "$POPPLER_GFXFONT_LIBS"; then
10182
pkg_cv_POPPLER_GFXFONT_LIBS="$POPPLER_GFXFONT_LIBS"
10183
elif test -n "$PKG_CONFIG"; then
10184
if test -n "$PKG_CONFIG" && \
10190
10185
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.8.3\""; } >&5
10191
10186
($PKG_CONFIG --exists --print-errors "poppler >= 0.8.3") 2>&5
10211
10207
_pkg_short_errors_supported=no
10213
10209
if test $_pkg_short_errors_supported = yes; then
10214
POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler >= 0.8.3"`
10210
POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler >= 0.8.3" 2>&1`
10216
POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler >= 0.8.3"`
10212
POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler >= 0.8.3" 2>&1`
10218
10214
# Put the nasty error message in config.log where it belongs
10219
10215
echo "$POPPLER_GFXFONT_PKG_ERRORS" >&5
10221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10218
elif test $pkg_failed = untried; then
10219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222
10220
$as_echo "no" >&6; }
10224
elif test $pkg_failed = untried; then
10225
10221
popplernew=no
10227
10223
POPPLER_GFXFONT_CFLAGS=$pkg_cv_POPPLER_GFXFONT_CFLAGS
10239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for new color space API in Poppler" >&5
10240
$as_echo_n "checking for new color space API in Poppler... " >&6; }
10241
10235
ink_svd_CPPFLAGS=$CPPFLAGS
10242
10236
ink_svd_LIBS=$LIBS
10243
10237
CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
10244
10238
LIBS="$LIBS $POPPLER_LIBS"
10240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for new color space API in Poppler" >&5
10241
$as_echo_n "checking for new color space API in Poppler... " >&6; }
10245
10242
popplercolor="no"
10246
10243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247
10244
/* end confdefs.h. */
10260
10257
popplercolor=yes
10262
10259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10260
if test "x$popplercolor" = "xyes"; then
10262
$as_echo "#define POPPLER_NEW_COLOR_SPACE_API 1" >>confdefs.h
10264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10265
$as_echo "yes" >&6; }
10267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268
$as_echo "no" >&6; }
10271
# Poppler's b604a008 commit changes this
10272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Poppler's GfxPatch no longer uses GfxColor" >&5
10273
$as_echo_n "checking whether Poppler's GfxPatch no longer uses GfxColor... " >&6; }
10274
popplergfxcolor="no"
10275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276
/* end confdefs.h. */
10278
#include <GfxState.h>
10281
GfxPatch::ColorValue color = {c: {0}};
10283
patch.color[0][0] = color;
10288
if ac_fn_cxx_try_compile "$LINENO"; then :
10289
popplergfxcolor=yes
10291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10292
if test "x$popplergfxcolor" = "xyes"; then
10294
$as_echo "#define POPPLER_NEW_GFXPATCH 1" >>confdefs.h
10296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10297
$as_echo "yes" >&6; }
10299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10300
$as_echo "no" >&6; }
10263
10303
CPPFLAGS=$ink_svd_CPPFLAGS
10264
10304
LIBS=$ink_svd_LIBS
10266
if test "x$popplercolor" = "xyes"; then
10268
$as_echo "#define POPPLER_NEW_COLOR_SPACE_API 1" >>confdefs.h
10270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10271
$as_echo "yes" >&6; }
10273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10274
$as_echo "no" >&6; }
10292
10321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBWPG" >&5
10293
10322
$as_echo_n "checking for LIBWPG... " >&6; }
10295
if test -n "$PKG_CONFIG"; then
10296
if test -n "$LIBWPG_CFLAGS"; then
10297
pkg_cv_LIBWPG_CFLAGS="$LIBWPG_CFLAGS"
10299
if test -n "$PKG_CONFIG" && \
10324
if test -n "$LIBWPG_CFLAGS"; then
10325
pkg_cv_LIBWPG_CFLAGS="$LIBWPG_CFLAGS"
10326
elif test -n "$PKG_CONFIG"; then
10327
if test -n "$PKG_CONFIG" && \
10300
10328
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwpg-0.1 libwpg-stream-0.1\""; } >&5
10301
10329
($PKG_CONFIG --exists --print-errors "libwpg-0.1 libwpg-stream-0.1") 2>&5
10307
10335
pkg_failed=yes
10313
if test -n "$PKG_CONFIG"; then
10314
if test -n "$LIBWPG_LIBS"; then
10315
pkg_cv_LIBWPG_LIBS="$LIBWPG_LIBS"
10317
if test -n "$PKG_CONFIG" && \
10340
if test -n "$LIBWPG_LIBS"; then
10341
pkg_cv_LIBWPG_LIBS="$LIBWPG_LIBS"
10342
elif test -n "$PKG_CONFIG"; then
10343
if test -n "$PKG_CONFIG" && \
10318
10344
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwpg-0.1 libwpg-stream-0.1\""; } >&5
10319
10345
($PKG_CONFIG --exists --print-errors "libwpg-0.1 libwpg-stream-0.1") 2>&5
10339
10366
_pkg_short_errors_supported=no
10341
10368
if test $_pkg_short_errors_supported = yes; then
10342
LIBWPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libwpg-0.1 libwpg-stream-0.1"`
10369
LIBWPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libwpg-0.1 libwpg-stream-0.1" 2>&1`
10344
LIBWPG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpg-0.1 libwpg-stream-0.1"`
10371
LIBWPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libwpg-0.1 libwpg-stream-0.1" 2>&1`
10346
10373
# Put the nasty error message in config.log where it belongs
10347
10374
echo "$LIBWPG_PKG_ERRORS" >&5
10349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10377
elif test $pkg_failed = untried; then
10378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350
10379
$as_echo "no" >&6; }
10352
elif test $pkg_failed = untried; then
10353
10380
with_libwpg=no
10355
10382
LIBWPG_CFLAGS=$pkg_cv_LIBWPG_CFLAGS
10381
10408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMAGEMAGICK" >&5
10382
10409
$as_echo_n "checking for IMAGEMAGICK... " >&6; }
10384
if test -n "$PKG_CONFIG"; then
10385
if test -n "$IMAGEMAGICK_CFLAGS"; then
10386
pkg_cv_IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
10388
if test -n "$PKG_CONFIG" && \
10411
if test -n "$IMAGEMAGICK_CFLAGS"; then
10412
pkg_cv_IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
10413
elif test -n "$PKG_CONFIG"; then
10414
if test -n "$PKG_CONFIG" && \
10389
10415
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ImageMagick++\""; } >&5
10390
10416
($PKG_CONFIG --exists --print-errors "ImageMagick++") 2>&5
10396
10422
pkg_failed=yes
10402
if test -n "$PKG_CONFIG"; then
10403
if test -n "$IMAGEMAGICK_LIBS"; then
10404
pkg_cv_IMAGEMAGICK_LIBS="$IMAGEMAGICK_LIBS"
10406
if test -n "$PKG_CONFIG" && \
10427
if test -n "$IMAGEMAGICK_LIBS"; then
10428
pkg_cv_IMAGEMAGICK_LIBS="$IMAGEMAGICK_LIBS"
10429
elif test -n "$PKG_CONFIG"; then
10430
if test -n "$PKG_CONFIG" && \
10407
10431
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ImageMagick++\""; } >&5
10408
10432
($PKG_CONFIG --exists --print-errors "ImageMagick++") 2>&5
10428
10453
_pkg_short_errors_supported=no
10430
10455
if test $_pkg_short_errors_supported = yes; then
10431
IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ImageMagick++"`
10456
IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ImageMagick++" 2>&1`
10433
IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ImageMagick++"`
10458
IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --print-errors "ImageMagick++" 2>&1`
10435
10460
# Put the nasty error message in config.log where it belongs
10436
10461
echo "$IMAGEMAGICK_PKG_ERRORS" >&5
10438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10464
elif test $pkg_failed = untried; then
10465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439
10466
$as_echo "no" >&6; }
10441
elif test $pkg_failed = untried; then
10444
10469
IMAGEMAGICK_CFLAGS=$pkg_cv_IMAGEMAGICK_CFLAGS
10470
10495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_USER_FONTS" >&5
10471
10496
$as_echo_n "checking for CAIRO_USER_FONTS... " >&6; }
10473
if test -n "$PKG_CONFIG"; then
10474
if test -n "$CAIRO_USER_FONTS_CFLAGS"; then
10475
pkg_cv_CAIRO_USER_FONTS_CFLAGS="$CAIRO_USER_FONTS_CFLAGS"
10477
if test -n "$PKG_CONFIG" && \
10498
if test -n "$CAIRO_USER_FONTS_CFLAGS"; then
10499
pkg_cv_CAIRO_USER_FONTS_CFLAGS="$CAIRO_USER_FONTS_CFLAGS"
10500
elif test -n "$PKG_CONFIG"; then
10501
if test -n "$PKG_CONFIG" && \
10478
10502
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo > 1.7.6\""; } >&5
10479
10503
($PKG_CONFIG --exists --print-errors "cairo > 1.7.6") 2>&5
10485
10509
pkg_failed=yes
10491
if test -n "$PKG_CONFIG"; then
10492
if test -n "$CAIRO_USER_FONTS_LIBS"; then
10493
pkg_cv_CAIRO_USER_FONTS_LIBS="$CAIRO_USER_FONTS_LIBS"
10495
if test -n "$PKG_CONFIG" && \
10514
if test -n "$CAIRO_USER_FONTS_LIBS"; then
10515
pkg_cv_CAIRO_USER_FONTS_LIBS="$CAIRO_USER_FONTS_LIBS"
10516
elif test -n "$PKG_CONFIG"; then
10517
if test -n "$PKG_CONFIG" && \
10496
10518
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo > 1.7.6\""; } >&5
10497
10519
($PKG_CONFIG --exists --print-errors "cairo > 1.7.6") 2>&5
10517
10540
_pkg_short_errors_supported=no
10519
10542
if test $_pkg_short_errors_supported = yes; then
10520
CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo > 1.7.6"`
10543
CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo > 1.7.6" 2>&1`
10522
CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo > 1.7.6"`
10545
CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo > 1.7.6" 2>&1`
10524
10547
# Put the nasty error message in config.log where it belongs
10525
10548
echo "$CAIRO_USER_FONTS_PKG_ERRORS" >&5
10527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10551
elif test $pkg_failed = untried; then
10552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528
10553
$as_echo "no" >&6; }
10530
elif test $pkg_failed = untried; then
10531
10554
cairouserfonts=no
10533
10556
CAIRO_USER_FONTS_CFLAGS=$pkg_cv_CAIRO_USER_FONTS_CFLAGS
10553
10576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INKSCAPE" >&5
10554
10577
$as_echo_n "checking for INKSCAPE... " >&6; }
10556
if test -n "$PKG_CONFIG"; then
10557
if test -n "$INKSCAPE_CFLAGS"; then
10558
pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
10560
if test -n "$PKG_CONFIG" && \
10579
if test -n "$INKSCAPE_CFLAGS"; then
10580
pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
10581
elif test -n "$PKG_CONFIG"; then
10582
if test -n "$PKG_CONFIG" && \
10561
10583
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= \$min_sigc_version \$ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10562
10584
($PKG_CONFIG --exists --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10568
10590
pkg_failed=yes
10574
if test -n "$PKG_CONFIG"; then
10575
if test -n "$INKSCAPE_LIBS"; then
10576
pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
10578
if test -n "$PKG_CONFIG" && \
10595
if test -n "$INKSCAPE_LIBS"; then
10596
pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
10597
elif test -n "$PKG_CONFIG"; then
10598
if test -n "$PKG_CONFIG" && \
10579
10599
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= \$min_sigc_version \$ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10580
10600
($PKG_CONFIG --exists --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10600
10621
_pkg_short_errors_supported=no
10602
10623
if test $_pkg_short_errors_supported = yes; then
10603
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl"`
10624
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
10605
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl"`
10626
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
10607
10628
# Put the nasty error message in config.log where it belongs
10608
10629
echo "$INKSCAPE_PKG_ERRORS" >&5
10610
as_fn_error "Package requirements (gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
10631
as_fn_error $? "Package requirements (gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
10612
10633
$INKSCAPE_PKG_ERRORS
10617
10638
Alternatively, you may set the environment variables INKSCAPE_CFLAGS
10618
10639
and INKSCAPE_LIBS to avoid the need to call pkg-config.
10619
See the pkg-config man page for more details.
10640
See the pkg-config man page for more details." "$LINENO" 5
10621
10641
elif test $pkg_failed = untried; then
10642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10643
$as_echo "no" >&6; }
10622
10644
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10623
10645
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10624
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
10646
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
10625
10647
is in your PATH or set the PKG_CONFIG environment variable to the full
10626
10648
path to pkg-config.
10630
10652
See the pkg-config man page for more details.
10632
10654
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10633
See \`config.log' for more details." "$LINENO" 5; }
10655
See \`config.log' for more details" "$LINENO" 5 ; }
10635
10657
INKSCAPE_CFLAGS=$pkg_cv_INKSCAPE_CFLAGS
10636
10658
INKSCAPE_LIBS=$pkg_cv_INKSCAPE_LIBS
10637
10659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10638
10660
$as_echo "yes" >&6; }
10642
10664
# Check for Apple Mac OS X Carbon framework
10693
10715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_PDF" >&5
10694
10716
$as_echo_n "checking for CAIRO_PDF... " >&6; }
10696
if test -n "$PKG_CONFIG"; then
10697
if test -n "$CAIRO_PDF_CFLAGS"; then
10698
pkg_cv_CAIRO_PDF_CFLAGS="$CAIRO_PDF_CFLAGS"
10700
if test -n "$PKG_CONFIG" && \
10718
if test -n "$CAIRO_PDF_CFLAGS"; then
10719
pkg_cv_CAIRO_PDF_CFLAGS="$CAIRO_PDF_CFLAGS"
10720
elif test -n "$PKG_CONFIG"; then
10721
if test -n "$PKG_CONFIG" && \
10701
10722
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf\""; } >&5
10702
10723
($PKG_CONFIG --exists --print-errors "cairo-pdf") 2>&5
10708
10729
pkg_failed=yes
10714
if test -n "$PKG_CONFIG"; then
10715
if test -n "$CAIRO_PDF_LIBS"; then
10716
pkg_cv_CAIRO_PDF_LIBS="$CAIRO_PDF_LIBS"
10718
if test -n "$PKG_CONFIG" && \
10734
if test -n "$CAIRO_PDF_LIBS"; then
10735
pkg_cv_CAIRO_PDF_LIBS="$CAIRO_PDF_LIBS"
10736
elif test -n "$PKG_CONFIG"; then
10737
if test -n "$PKG_CONFIG" && \
10719
10738
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf\""; } >&5
10720
10739
($PKG_CONFIG --exists --print-errors "cairo-pdf") 2>&5
10740
10760
_pkg_short_errors_supported=no
10742
10762
if test $_pkg_short_errors_supported = yes; then
10743
CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-pdf"`
10763
CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-pdf" 2>&1`
10745
CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-pdf"`
10765
CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-pdf" 2>&1`
10747
10767
# Put the nasty error message in config.log where it belongs
10748
10768
echo "$CAIRO_PDF_PKG_ERRORS" >&5
10750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10771
elif test $pkg_failed = untried; then
10772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751
10773
$as_echo "no" >&6; }
10753
elif test $pkg_failed = untried; then
10756
10776
CAIRO_PDF_CFLAGS=$pkg_cv_CAIRO_PDF_CFLAGS
11864
11885
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11865
as_fn_error "conditional \"AMDEP\" was never defined.
11866
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11868
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11869
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
11870
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11872
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11873
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
11886
as_fn_error $? "conditional \"AMDEP\" was never defined.
11887
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11889
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11890
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
11891
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11893
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11894
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
11874
11895
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11876
11897
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11877
as_fn_error "conditional \"am__fastdepCC\" was never defined.
11898
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11878
11899
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11880
11901
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
11881
as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
11902
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
11882
11903
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11888
11909
if test -z "${USE_BZR_VERSION_TRUE}" && test -z "${USE_BZR_VERSION_FALSE}"; then
11889
as_fn_error "conditional \"USE_BZR_VERSION\" was never defined.
11910
as_fn_error $? "conditional \"USE_BZR_VERSION\" was never defined.
11890
11911
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11892
11913
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11893
as_fn_error "conditional \"am__fastdepCC\" was never defined.
11914
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11894
11915
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11896
11917
if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
11897
as_fn_error "conditional \"PLATFORM_WIN32\" was never defined.
11918
as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
11898
11919
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11900
11921
if test -z "${PLATFORM_SOLARIS_TRUE}" && test -z "${PLATFORM_SOLARIS_FALSE}"; then
11901
as_fn_error "conditional \"PLATFORM_SOLARIS\" was never defined.
11922
as_fn_error $? "conditional \"PLATFORM_SOLARIS\" was never defined.
11902
11923
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11904
11925
if test -z "${USE_XFT_TRUE}" && test -z "${USE_XFT_FALSE}"; then
11905
as_fn_error "conditional \"USE_XFT\" was never defined.
11926
as_fn_error $? "conditional \"USE_XFT\" was never defined.
11906
11927
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11908
11929
if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
11909
as_fn_error "conditional \"USE_GNOME_VFS\" was never defined.
11930
as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
11910
11931
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11913
11934
if test -z "${INKJAR_TRUE}" && test -z "${INKJAR_FALSE}"; then
11914
as_fn_error "conditional \"INKJAR\" was never defined.
11935
as_fn_error $? "conditional \"INKJAR\" was never defined.
11915
11936
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11917
11938
if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
11918
as_fn_error "conditional \"WITH_PERL\" was never defined.
11939
as_fn_error $? "conditional \"WITH_PERL\" was never defined.
11919
11940
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11921
11942
if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
11922
as_fn_error "conditional \"WITH_PYTHON\" was never defined.
11943
as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
11923
11944
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11925
11946
if test -z "${WITH_LIBWPG_TRUE}" && test -z "${WITH_LIBWPG_FALSE}"; then
11926
as_fn_error "conditional \"WITH_LIBWPG\" was never defined.
11947
as_fn_error $? "conditional \"WITH_LIBWPG\" was never defined.
11927
11948
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11929
11950
if test -z "${USE_IMAGE_MAGICK_TRUE}" && test -z "${USE_IMAGE_MAGICK_FALSE}"; then
11930
as_fn_error "conditional \"USE_IMAGE_MAGICK\" was never defined.
11951
as_fn_error $? "conditional \"USE_IMAGE_MAGICK\" was never defined.
11931
11952
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11933
11954
if test -z "${HAVE_CARBON_TRUE}" && test -z "${HAVE_CARBON_FALSE}"; then
11934
as_fn_error "conditional \"HAVE_CARBON\" was never defined.
11955
as_fn_error $? "conditional \"HAVE_CARBON\" was never defined.
11935
11956
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12081
12102
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12084
# as_fn_error ERROR [LINENO LOG_FD]
12085
# ---------------------------------
12105
# as_fn_error STATUS ERROR [LINENO LOG_FD]
12106
# ----------------------------------------
12086
12107
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12087
12108
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12088
# script with status $?, using 1 if that was 0.
12109
# script with STATUS, using 1 if that was 0.
12089
12110
as_fn_error ()
12091
as_status=$?; test $as_status -eq 0 && as_status=1
12093
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12094
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12112
as_status=$1; test $as_status -eq 0 && as_status=1
12114
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12115
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12096
$as_echo "$as_me: error: $1" >&2
12117
$as_echo "$as_me: error: $2" >&2
12097
12118
as_fn_exit $as_status
12098
12119
} # as_fn_error
12342
12363
# report actual input values of CONFIG_FILES etc. instead of their
12343
12364
# values after options handling.
12345
This file was extended by inkscape $as_me 0.48.0, which was
12346
generated by GNU Autoconf 2.65. Invocation command line was
12366
This file was extended by inkscape $as_me 0.48.1, which was
12367
generated by GNU Autoconf 2.67. Invocation command line was
12348
12369
CONFIG_FILES = $CONFIG_FILES
12349
12370
CONFIG_HEADERS = $CONFIG_HEADERS
12408
12429
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12409
12430
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12410
12431
ac_cs_version="\\
12411
inkscape config.status 0.48.0
12412
configured by $0, generated by GNU Autoconf 2.65,
12432
inkscape config.status 0.48.1
12433
configured by $0, generated by GNU Autoconf 2.67,
12413
12434
with options \\"\$ac_cs_config\\"
12415
Copyright (C) 2009 Free Software Foundation, Inc.
12436
Copyright (C) 2010 Free Software Foundation, Inc.
12416
12437
This config.status script is free software; the Free Software Foundation
12417
12438
gives unlimited permission to copy, distribute and modify it."
12677
12704
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12678
12705
echo "_ACEOF"
12679
12706
} >conf$$subs.sh ||
12680
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12681
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12707
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12708
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12682
12709
ac_delim='%!_!# '
12683
12710
for ac_last_try in false false false false false :; do
12684
12711
. ./conf$$subs.sh ||
12685
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12712
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12687
12714
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12688
12715
if test $ac_delim_n = $ac_delim_num; then
12690
12717
elif $ac_last_try; then
12691
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12718
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12693
12720
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12779
12806
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12780
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
12807
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12783
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12784
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12810
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12811
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12785
12812
# trailing colons and then remove the whole line if VPATH becomes empty
12786
12813
# (actually we leave an empty line to preserve line numbers).
12787
12814
if test "x$srcdir" = x.; then
12788
ac_vpsub='/^[ ]*VPATH[ ]*=/{
12789
s/:*\$(srcdir):*/:/
12790
s/:*\${srcdir}:*/:/
12792
s/^\([^=]*=[ ]*\):*/\1/
12815
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12794
12829
s/^[^=]*=[ ]*$//
13108
13143
$ac_datarootdir_hack
13110
13145
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13111
|| as_fn_error "could not create $ac_file" "$LINENO" 5
13146
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13113
13148
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13114
13149
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13115
13150
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13116
13151
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13117
which seems to be undefined. Please make sure it is defined." >&5
13152
which seems to be undefined. Please make sure it is defined" >&5
13118
13153
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13119
which seems to be undefined. Please make sure it is defined." >&2;}
13154
which seems to be undefined. Please make sure it is defined" >&2;}
13121
13156
rm -f "$tmp/stdin"
13122
13157
case $ac_file in
13123
13158
-) cat "$tmp/out" && rm -f "$tmp/out";;
13124
13159
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13126
|| as_fn_error "could not create $ac_file" "$LINENO" 5
13161
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13134
13169
$as_echo "/* $configure_input */" \
13135
13170
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13136
13171
} >"$tmp/config.h" \
13137
|| as_fn_error "could not create $ac_file" "$LINENO" 5
13172
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13138
13173
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13139
13174
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13140
13175
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13142
13177
rm -f "$ac_file"
13143
13178
mv "$tmp/config.h" "$ac_file" \
13144
|| as_fn_error "could not create $ac_file" "$LINENO" 5
13179
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13147
13182
$as_echo "/* $configure_input */" \
13148
13183
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13149
|| as_fn_error "could not create -" "$LINENO" 5
13184
|| as_fn_error $? "could not create -" "$LINENO" 5
13151
13186
# Compute "$ac_file"'s index in $config_headers.
13152
13187
_am_arg="$ac_file"
13340
13375
exec 5>>config.log
13341
13376
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
13342
13377
# would make configure fail if this is the last instruction.
13343
$ac_cs_success || as_fn_exit $?
13378
$ac_cs_success || as_fn_exit 1
13345
13380
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13346
13381
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5