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