~ubuntu-branches/ubuntu/oneiric/inkscape/oneiric-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Valavanis
  • Date: 2011-02-01 12:53:34 UTC
  • Revision ID: james.westby@ubuntu.com-20110201125334-xezweqxp3tvekidu
Tags: 0.48.1-0ubuntu1
* New upstream version (LP: #710619).  Fixes several Ubuntu bugs:
  - Node editing causes segmentation fault (LP: #544599)
  - Cursor position markers are not cleared from rulers (LP: #627134)
  - Crashes when opening document properties (LP: #658055)
  - Export to XCF error with default template (LP: #485032)
  - Editing a connector in a transformed group returns it to original
    position (LP: #533897)
  - Ungrouping objects changes position of arrow lines (LP: #552289)
  - Will not save XCF file (LP: #642417)
  - XCF export fails when exporting from unsaved document (LP: #650890)
* Drop all patches: Applied upstream
* debian/rules: Disable chmod on debian/patches/* in clean rule (no patches used)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
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.
4
4
#
5
5
#
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,
8
 
# Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
316
316
      test -d "$as_dir" && break
317
317
    done
318
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
319
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
320
 
321
321
 
322
322
} # as_fn_mkdir_p
356
356
fi # as_fn_arith
357
357
 
358
358
 
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.
364
364
as_fn_error ()
365
365
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
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
 
367
  if test "$4"; then
 
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
370
370
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
371
  $as_echo "$as_me: error: $2" >&2
372
372
  as_fn_exit $as_status
373
373
} # as_fn_error
374
374
 
530
530
exec 6>&1
531
531
 
532
532
# Name of the host.
533
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
533
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534
534
# so uname gets run too.
535
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
536
 
549
549
# Identity of this package.
550
550
PACKAGE_NAME='inkscape'
551
551
PACKAGE_TARNAME='inkscape'
552
 
PACKAGE_VERSION='0.48.0'
553
 
PACKAGE_STRING='inkscape 0.48.0'
 
552
PACKAGE_VERSION='0.48.1'
 
553
PACKAGE_STRING='inkscape 0.48.1'
554
554
PACKAGE_BUGREPORT=''
555
555
PACKAGE_URL=''
556
556
 
649
649
USE_XFT_TRUE
650
650
XFT_LIBS
651
651
XFT_CFLAGS
 
652
PKG_CONFIG_LIBDIR
 
653
PKG_CONFIG_PATH
652
654
PLATFORM_SOLARIS_FALSE
653
655
PLATFORM_SOLARIS_TRUE
654
656
WIN32_CFLAGS
836
838
CCASFLAGS
837
839
CXXCPP
838
840
PKG_CONFIG
 
841
PKG_CONFIG_PATH
 
842
PKG_CONFIG_LIBDIR
839
843
XFT_CFLAGS
840
844
XFT_LIBS
841
845
PANGOFT2_CFLAGS
926
930
  fi
927
931
 
928
932
  case $ac_option in
929
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
930
 
  *)    ac_optarg=yes ;;
 
933
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
934
  *=)   ac_optarg= ;;
 
935
  *)    ac_optarg=yes ;;
931
936
  esac
932
937
 
933
938
  # Accept the important Cygnus configure options, so we can diagnose typos.
972
977
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
973
978
    # Reject names that are not valid shell variable names.
974
979
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975
 
      as_fn_error "invalid feature name: $ac_useropt"
 
980
      as_fn_error $? "invalid feature name: $ac_useropt"
976
981
    ac_useropt_orig=$ac_useropt
977
982
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978
983
    case $ac_user_opts in
998
1003
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
999
1004
    # Reject names that are not valid shell variable names.
1000
1005
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1006
      as_fn_error $? "invalid feature name: $ac_useropt"
1002
1007
    ac_useropt_orig=$ac_useropt
1003
1008
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004
1009
    case $ac_user_opts in
1202
1207
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1203
1208
    # Reject names that are not valid shell variable names.
1204
1209
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1205
 
      as_fn_error "invalid package name: $ac_useropt"
 
1210
      as_fn_error $? "invalid package name: $ac_useropt"
1206
1211
    ac_useropt_orig=$ac_useropt
1207
1212
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208
1213
    case $ac_user_opts in
1218
1223
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1219
1224
    # Reject names that are not valid shell variable names.
1220
1225
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221
 
      as_fn_error "invalid package name: $ac_useropt"
 
1226
      as_fn_error $? "invalid package name: $ac_useropt"
1222
1227
    ac_useropt_orig=$ac_useropt
1223
1228
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224
1229
    case $ac_user_opts in
1248
1253
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1249
1254
    x_libraries=$ac_optarg ;;
1250
1255
 
1251
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1252
 
Try \`$0 --help' for more information."
 
1256
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1257
Try \`$0 --help' for more information"
1253
1258
    ;;
1254
1259
 
1255
1260
  *=*)
1257
1262
    # Reject names that are not valid shell variable names.
1258
1263
    case $ac_envvar in #(
1259
1264
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1260
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1265
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1261
1266
    esac
1262
1267
    eval $ac_envvar=\$ac_optarg
1263
1268
    export $ac_envvar ;;
1275
1280
 
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"
1279
1284
fi
1280
1285
 
1281
1286
if test -n "$ac_unrecognized_opts"; then
1282
1287
  case $enable_option_checking in
1283
1288
    no) ;;
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 ;;
1286
1291
  esac
1287
1292
fi
1304
1309
    [\\/$]* | ?:[\\/]* )  continue;;
1305
1310
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1306
1311
  esac
1307
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1312
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1308
1313
done
1309
1314
 
1310
1315
# There might be people who depend on the old broken behavior: `$host'
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
1325
1330
  fi
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"
1340
1345
 
1341
1346
 
1342
1347
# Find the source files, if location was not specified.
1375
1380
fi
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"
1379
1384
fi
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"
1383
1388
        pwd)`
1384
1389
# When building in place, set srcdir=.
1385
1390
if test "$ac_abs_confdir" = "$ac_pwd"; then
1405
1410
  # Omit some internal or obsolete options to make the list less imposing.
1406
1411
  # This message is too long to be a string in the A/UX 3.1 sh.
1407
1412
  cat <<_ACEOF
1408
 
\`configure' configures inkscape 0.48.0 to adapt to many kinds of systems.
 
1413
\`configure' configures inkscape 0.48.1 to adapt to many kinds of systems.
1409
1414
 
1410
1415
Usage: $0 [OPTION]... [VAR=VALUE]...
1411
1416
 
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
1475
1480
 
1476
1481
if test -n "$ac_init_help"; then
1477
1482
  case $ac_init_help in
1478
 
     short | recursive ) echo "Configuration of inkscape 0.48.0:";;
 
1483
     short | recursive ) echo "Configuration of inkscape 0.48.1:";;
1479
1484
   esac
1480
1485
  cat <<\_ACEOF
1481
1486
 
1517
1522
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1518
1523
  CXXCPP      C++ preprocessor
1519
1524
  PKG_CONFIG  path to pkg-config utility
 
1525
  PKG_CONFIG_PATH
 
1526
              directories to add to pkg-config's search path
 
1527
  PKG_CONFIG_LIBDIR
 
1528
              path overriding pkg-config's built-in search path
1520
1529
  XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1521
1530
  XFT_LIBS    linker flags for XFT, overriding pkg-config
1522
1531
  PANGOFT2_CFLAGS
1635
1644
test -n "$ac_init_help" && exit $ac_status
1636
1645
if $ac_init_version; then
1637
1646
  cat <<\_ACEOF
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
1640
1649
 
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.
1644
1653
_ACEOF
1779
1788
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780
1789
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781
1790
$as_echo_n "checking for $2... " >&6; }
1782
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1791
if eval "test \"\${$3+set}\"" = set; then :
1783
1792
  $as_echo_n "(cached) " >&6
1784
1793
else
1785
1794
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859
1868
    mv -f conftest.er1 conftest.err
1860
1869
  fi
1861
1870
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862
 
  test $ac_status = 0; } >/dev/null && {
 
1871
  test $ac_status = 0; } > conftest.i && {
1863
1872
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1864
1873
         test ! -s conftest.err
1865
1874
       }; then :
1971
1980
ac_fn_cxx_check_header_mongrel ()
1972
1981
{
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
1979
1988
fi
1980
1989
eval ac_res=\$$3
2010
2019
else
2011
2020
  ac_header_preproc=no
2012
2021
fi
2013
 
rm -f conftest.err conftest.$ac_ext
 
2022
rm -f conftest.err conftest.i conftest.$ac_ext
2014
2023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2015
2024
$as_echo "$ac_header_preproc" >&6; }
2016
2025
 
2037
2046
esac
2038
2047
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039
2048
$as_echo_n "checking for $2... " >&6; }
2040
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2049
if eval "test \"\${$3+set}\"" = set; then :
2041
2050
  $as_echo_n "(cached) " >&6
2042
2051
else
2043
2052
  eval "$3=\$ac_header_compiler"
2059
2068
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060
2069
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061
2070
$as_echo_n "checking for $2... " >&6; }
2062
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2071
if eval "test \"\${$3+set}\"" = set; then :
2063
2072
  $as_echo_n "(cached) " >&6
2064
2073
else
2065
2074
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090
2099
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091
2100
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2092
2101
$as_echo_n "checking for $2.$3... " >&6; }
2093
 
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2102
if eval "test \"\${$4+set}\"" = set; then :
2094
2103
  $as_echo_n "(cached) " >&6
2095
2104
else
2096
2105
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147
2156
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148
2157
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149
2158
$as_echo_n "checking for $2... " >&6; }
2150
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2159
if eval "test \"\${$3+set}\"" = set; then :
2151
2160
  $as_echo_n "(cached) " >&6
2152
2161
else
2153
2162
  eval "$3=no"
2195
2204
This file contains any messages produced by compilers while
2196
2205
running configure, to aid debugging if configure makes a mistake.
2197
2206
 
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
2200
2209
 
2201
2210
  $ $0 $@
2202
2211
 
2306
2315
  {
2307
2316
    echo
2308
2317
 
2309
 
    cat <<\_ASBOX
2310
 
## ---------------- ##
 
2318
    $as_echo "## ---------------- ##
2311
2319
## Cache variables. ##
2312
 
## ---------------- ##
2313
 
_ASBOX
 
2320
## ---------------- ##"
2314
2321
    echo
2315
2322
    # The following way of writing the cache mishandles newlines in values,
2316
2323
(
2344
2351
)
2345
2352
    echo
2346
2353
 
2347
 
    cat <<\_ASBOX
2348
 
## ----------------- ##
 
2354
    $as_echo "## ----------------- ##
2349
2355
## Output variables. ##
2350
 
## ----------------- ##
2351
 
_ASBOX
 
2356
## ----------------- ##"
2352
2357
    echo
2353
2358
    for ac_var in $ac_subst_vars
2354
2359
    do
2361
2366
    echo
2362
2367
 
2363
2368
    if test -n "$ac_subst_files"; then
2364
 
      cat <<\_ASBOX
2365
 
## ------------------- ##
 
2369
      $as_echo "## ------------------- ##
2366
2370
## File substitutions. ##
2367
 
## ------------------- ##
2368
 
_ASBOX
 
2371
## ------------------- ##"
2369
2372
      echo
2370
2373
      for ac_var in $ac_subst_files
2371
2374
      do
2379
2382
    fi
2380
2383
 
2381
2384
    if test -s confdefs.h; then
2382
 
      cat <<\_ASBOX
2383
 
## ----------- ##
 
2385
      $as_echo "## ----------- ##
2384
2386
## confdefs.h. ##
2385
 
## ----------- ##
2386
 
_ASBOX
 
2387
## ----------- ##"
2387
2388
      echo
2388
2389
      cat confdefs.h
2389
2390
      echo
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;;
 
2447
  esac
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
2456
 
    . "$ac_site_file"
 
2462
    . "$ac_site_file" \
 
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 ; }
2457
2467
  fi
2458
2468
done
2459
2469
 
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
2533
2543
fi
2534
2544
## -------------------- ##
2535
2545
## Main body of script. ##
2545
2555
 
2546
2556
ac_aux_dir=
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
2550
 
      ac_aux_dir=$ac_dir
2551
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2552
 
      break 2
2553
 
    fi
2554
 
  done
 
2558
  if test -f "$ac_dir/install-sh"; then
 
2559
    ac_aux_dir=$ac_dir
 
2560
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2561
    break
 
2562
  elif test -f "$ac_dir/install.sh"; then
 
2563
    ac_aux_dir=$ac_dir
 
2564
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2565
    break
 
2566
  elif test -f "$ac_dir/shtool"; then
 
2567
    ac_aux_dir=$ac_dir
 
2568
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2569
    break
 
2570
  fi
2555
2571
done
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
2558
2574
fi
2559
2575
 
2560
2576
# These three variables are undocumented and unsupported,
2568
2584
 
2569
2585
# Make sure we can run config.sub.
2570
2586
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2571
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2587
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2572
2588
 
2573
2589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2574
2590
$as_echo_n "checking build system type... " >&6; }
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
2585
2601
 
2586
2602
fi
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
2590
2606
*-*-*) ;;
2591
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2607
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2592
2608
esac
2593
2609
build=$ac_cv_build
2594
2610
ac_save_IFS=$IFS; IFS='-'
2613
2629
  ac_cv_host=$ac_cv_build
2614
2630
else
2615
2631
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2616
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2632
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2617
2633
fi
2618
2634
 
2619
2635
fi
2621
2637
$as_echo "$ac_cv_host" >&6; }
2622
2638
case $ac_cv_host in
2623
2639
*-*-*) ;;
2624
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2640
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2625
2641
esac
2626
2642
host=$ac_cv_host
2627
2643
ac_save_IFS=$IFS; IFS='-'
2744
2760
'
2745
2761
case `pwd` in
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 ;;
2748
2764
esac
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 ;;
2752
2768
esac
2753
2769
 
2754
2770
# Do `set' in a subshell so we don't clobber the current shell's
2770
2786
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2771
2787
      # broken ls alias from the environment.  This has actually
2772
2788
      # happened.  Such a system could not be considered "sane".
2773
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2789
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2774
2790
alias in your environment" "$LINENO" 5
2775
2791
   fi
2776
2792
 
2780
2796
   # Ok.
2781
2797
   :
2782
2798
else
2783
 
   as_fn_error "newly created file is older than distributed files!
 
2799
   as_fn_error $? "newly created file is older than distributed files!
2784
2800
Check your system clock" "$LINENO" 5
2785
2801
fi
2786
2802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3018
3034
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3019
3035
set x ${MAKE-make}
3020
3036
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3021
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3037
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3022
3038
  $as_echo_n "(cached) " >&6
3023
3039
else
3024
3040
  cat >conftest.make <<\_ACEOF
3026
3042
all:
3027
3043
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3028
3044
_ACEOF
3029
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3045
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3030
3046
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3031
3047
  *@@@%%%=?*=@@@%%%*)
3032
3048
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3060
3076
  am__isrc=' -I$(srcdir)'
3061
3077
  # test to see if srcdir already configured
3062
3078
  if test -f $srcdir/config.status; then
3063
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3079
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3064
3080
  fi
3065
3081
fi
3066
3082
 
3076
3092
 
3077
3093
# Define the identity of the package.
3078
3094
 PACKAGE='inkscape'
3079
 
 VERSION='0.48.0'
 
3095
 VERSION='0.48.1'
3080
3096
 
3081
3097
 
3082
3098
cat >>confdefs.h <<_ACEOF
3504
3520
 
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 ; }
3510
3525
else
3511
3526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3512
3527
$as_echo "yes" >&6; }
3548
3563
else
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 ; }
3553
3568
fi
3554
3569
rm -f conftest conftest$ac_cv_exeext
3555
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3606
3621
    else
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 ; }
3612
3627
    fi
3613
3628
  fi
3614
3629
fi
3659
3674
 
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 ; }
3664
3679
fi
3665
3680
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3666
3681
fi
4657
4672
 
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 ; }
4662
4677
 
4663
4678
# Provide some information about the compiler.
4664
4679
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5269
5284
 
5270
5285
case "$am__api_version" in
5271
5286
    1.01234)
5272
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
5287
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5273
5288
    ;;
5274
5289
    *)
5275
5290
    ;;
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
5290
5305
fi
5291
5306
 
5292
5307
# Extract the first word of "intltool-update", so it can be a program name with args.
5410
5425
 
5411
5426
 
5412
5427
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5413
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
5428
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5414
5429
fi
5415
5430
 
5416
5431
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5692
5707
 
5693
5708
 
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
5696
5711
fi
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
5702
5717
fi
5703
5718
 
5704
5719
# Extract the first word of "perl", so it can be a program name with args.
5742
5757
 
5743
5758
 
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
5746
5761
fi
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
5752
5767
else
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
5761
5776
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5762
5777
$as_echo "ok" >&6; }
5763
5778
   else
5764
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
5779
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5765
5780
   fi
5766
5781
fi
5767
5782
 
5847
5862
  # Broken: fails on valid input.
5848
5863
continue
5849
5864
fi
5850
 
rm -f conftest.err conftest.$ac_ext
 
5865
rm -f conftest.err conftest.i conftest.$ac_ext
5851
5866
 
5852
5867
  # OK, works on sane cases.  Now check whether nonexistent headers
5853
5868
  # can be detected and how.
5863
5878
ac_preproc_ok=:
5864
5879
break
5865
5880
fi
5866
 
rm -f conftest.err conftest.$ac_ext
 
5881
rm -f conftest.err conftest.i conftest.$ac_ext
5867
5882
 
5868
5883
done
5869
5884
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5870
 
rm -f conftest.err conftest.$ac_ext
 
5885
rm -f conftest.i conftest.err conftest.$ac_ext
5871
5886
if $ac_preproc_ok; then :
5872
5887
  break
5873
5888
fi
5906
5921
  # Broken: fails on valid input.
5907
5922
continue
5908
5923
fi
5909
 
rm -f conftest.err conftest.$ac_ext
 
5924
rm -f conftest.err conftest.i conftest.$ac_ext
5910
5925
 
5911
5926
  # OK, works on sane cases.  Now check whether nonexistent headers
5912
5927
  # can be detected and how.
5922
5937
ac_preproc_ok=:
5923
5938
break
5924
5939
fi
5925
 
rm -f conftest.err conftest.$ac_ext
 
5940
rm -f conftest.err conftest.i conftest.$ac_ext
5926
5941
 
5927
5942
done
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 :
5931
5946
 
5932
5947
else
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 ; }
5937
5952
fi
5938
5953
 
5939
5954
ac_ext=cpp
5994
6009
  done
5995
6010
IFS=$as_save_IFS
5996
6011
  if test -z "$ac_cv_path_GREP"; then
5997
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6012
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5998
6013
  fi
5999
6014
else
6000
6015
  ac_cv_path_GREP=$GREP
6060
6075
  done
6061
6076
IFS=$as_save_IFS
6062
6077
  if test -z "$ac_cv_path_EGREP"; then
6063
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6078
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6064
6079
  fi
6065
6080
else
6066
6081
  ac_cv_path_EGREP=$EGREP
6522
6537
 
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 ; }
6527
6542
 
6528
6543
# Provide some information about the compiler.
6529
6544
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6898
6913
fi
6899
6914
set dummy $CC; ac_cc=`$as_echo "$2" |
6900
6915
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6901
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
6916
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
6902
6917
  $as_echo_n "(cached) " >&6
6903
6918
else
6904
6919
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7163
7178
        cc_vers_all=`expr $cc_vers_major '*' 1000000 + $cc_vers_minor '*' 1000 + $cc_vers_patch`
7164
7179
 
7165
7180
        if test $cc_vers_major -lt 3; then
7166
 
                as_fn_error "gcc >= 3.0 is needed to compile inkscape" "$LINENO" 5
 
7181
                as_fn_error $? "gcc >= 3.0 is needed to compile inkscape" "$LINENO" 5
7167
7182
        fi
7168
7183
fi
7169
7184
 
7204
7219
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7205
7220
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7206
7221
"
7207
 
eval as_val=\$$as_ac_Header
7208
 
   if test "x$as_val" = x""yes; then :
 
7222
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7209
7223
  cat >>confdefs.h <<_ACEOF
7210
7224
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7211
7225
_ACEOF
8018
8032
 
8019
8033
 
8020
8034
if test "x$PKG_CONFIG" = "xno"; then
8021
 
        as_fn_error "You have to install pkg-config to compile inkscape." "$LINENO" 5
 
8035
        as_fn_error $? "You have to install pkg-config to compile inkscape." "$LINENO" 5
8022
8036
fi
8023
8037
 
8024
8038
# Extract the first word of "msgfmt", so it can be a program name with args.
8225
8239
fi
8226
8240
 
8227
8241
if test "x$png_ok" != "xyes"; then
8228
 
        as_fn_error "libpng >= 1.2 is needed to compile inkscape" "$LINENO" 5
 
8242
        as_fn_error $? "libpng >= 1.2 is needed to compile inkscape" "$LINENO" 5
8229
8243
fi
8230
8244
 
8231
8245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
8406
8420
do :
8407
8421
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8408
8422
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8409
 
eval as_val=\$$as_ac_Header
8410
 
   if test "x$as_val" = x""yes; then :
 
8423
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8411
8424
  cat >>confdefs.h <<_ACEOF
8412
8425
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8413
8426
_ACEOF
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 ; }
8615
8628
else
8616
8629
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617
8630
/* end confdefs.h.  */
8644
8657
$as_echo "$gc_ok" >&6; }
8645
8658
fi
8646
8659
if test "x$gc_ok" != "xyes"; then
8647
 
        as_fn_error "libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc" "$LINENO" 5
 
8660
        as_fn_error $? "libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc" "$LINENO" 5
8648
8661
fi
8649
8662
 
8650
8663
for ac_header in sys/filio.h
8779
8792
 
8780
8793
 
8781
8794
if test "x$FREETYPE_CONFIG" = "xno"; then
8782
 
        as_fn_error "Cannot find freetype-config" "$LINENO" 5
 
8795
        as_fn_error $? "Cannot find freetype-config" "$LINENO" 5
8783
8796
fi
8784
8797
FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
8785
8798
FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
8846
8859
if test "x$with_xft" != "xno" ; then
8847
8860
 
8848
8861
 
 
8862
 
 
8863
 
 
8864
 
 
8865
 
8849
8866
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8850
8867
        if test -n "$ac_tool_prefix"; then
8851
8868
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8958
8975
$as_echo "no" >&6; }
8959
8976
                PKG_CONFIG=""
8960
8977
        fi
8961
 
 
8962
8978
fi
8963
8979
 
8964
8980
pkg_failed=no
8965
8981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
8966
8982
$as_echo_n "checking for XFT... " >&6; }
8967
8983
 
8968
 
if test -n "$PKG_CONFIG"; then
8969
 
    if test -n "$XFT_CFLAGS"; then
8970
 
        pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
8971
 
    else
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
8975
8990
  ac_status=$?
8979
8994
else
8980
8995
  pkg_failed=yes
8981
8996
fi
8982
 
    fi
8983
 
else
8984
 
        pkg_failed=untried
 
8997
 else
 
8998
    pkg_failed=untried
8985
8999
fi
8986
 
if test -n "$PKG_CONFIG"; then
8987
 
    if test -n "$XFT_LIBS"; then
8988
 
        pkg_cv_XFT_LIBS="$XFT_LIBS"
8989
 
    else
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
8993
9006
  ac_status=$?
8997
9010
else
8998
9011
  pkg_failed=yes
8999
9012
fi
9000
 
    fi
9001
 
else
9002
 
        pkg_failed=untried
 
9013
 else
 
9014
    pkg_failed=untried
9003
9015
fi
9004
9016
 
9005
9017
 
9006
9018
 
9007
9019
if test $pkg_failed = yes; then
 
9020
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9021
$as_echo "no" >&6; }
9008
9022
 
9009
9023
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9010
9024
        _pkg_short_errors_supported=yes
9012
9026
        _pkg_short_errors_supported=no
9013
9027
fi
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`
9016
9030
        else
9017
 
                XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig"`
 
9031
                XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
9018
9032
        fi
9019
9033
        # Put the nasty error message in config.log where it belongs
9020
9034
        echo "$XFT_PKG_ERRORS" >&5
9021
9035
 
9022
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023
 
$as_echo "no" >&6; }
9024
 
                xft_ok=no
 
9036
        xft_ok=no
9025
9037
elif test $pkg_failed = untried; then
 
9038
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9039
$as_echo "no" >&6; }
9026
9040
        xft_ok=no
9027
9041
else
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; }
9039
9053
 
9040
 
if test -n "$PKG_CONFIG"; then
9041
 
    if test -n "$XFT_CFLAGS"; then
9042
 
        pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
9043
 
    else
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
9047
9060
  ac_status=$?
9051
9064
else
9052
9065
  pkg_failed=yes
9053
9066
fi
9054
 
    fi
9055
 
else
9056
 
        pkg_failed=untried
 
9067
 else
 
9068
    pkg_failed=untried
9057
9069
fi
9058
 
if test -n "$PKG_CONFIG"; then
9059
 
    if test -n "$XFT_LIBS"; then
9060
 
        pkg_cv_XFT_LIBS="$XFT_LIBS"
9061
 
    else
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
9065
9076
  ac_status=$?
9069
9080
else
9070
9081
  pkg_failed=yes
9071
9082
fi
9072
 
    fi
9073
 
else
9074
 
        pkg_failed=untried
 
9083
 else
 
9084
    pkg_failed=untried
9075
9085
fi
9076
9086
 
9077
9087
 
9078
9088
 
9079
9089
if test $pkg_failed = yes; then
 
9090
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9091
$as_echo "no" >&6; }
9080
9092
 
9081
9093
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9082
9094
        _pkg_short_errors_supported=yes
9084
9096
        _pkg_short_errors_supported=no
9085
9097
fi
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`
9088
9100
        else
9089
 
                XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft"`
 
9101
                XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft" 2>&1`
9090
9102
        fi
9091
9103
        # Put the nasty error message in config.log where it belongs
9092
9104
        echo "$XFT_PKG_ERRORS" >&5
9093
9105
 
9094
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095
 
$as_echo "no" >&6; }
9096
 
                xft_ok=no
 
9106
        xft_ok=no
9097
9107
elif test $pkg_failed = untried; then
 
9108
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9109
$as_echo "no" >&6; }
9098
9110
        xft_ok=no
9099
9111
else
9100
9112
        XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
9114
9126
 
9115
9127
                        if test "x$xft_ok" != "xyes"; then
9116
9128
                                                                if test "x$with_xft" = "xyes"; then
9117
 
                                                                                as_fn_error "--with-xft was specified, but appropriate development packages could not be found" "$LINENO" 5
 
9129
                                                                                as_fn_error $? "--with-xft was specified, but appropriate development packages could not be found" "$LINENO" 5
9118
9130
                                fi
9119
9131
                        else
9120
9132
                                                                XFT_LIBS="-L/usr/X11R6/lib -lXft "
9149
9161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
9150
9162
$as_echo_n "checking for PANGOFT2... " >&6; }
9151
9163
 
9152
 
if test -n "$PKG_CONFIG"; then
9153
 
    if test -n "$PANGOFT2_CFLAGS"; then
9154
 
        pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
9155
 
    else
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
9159
9170
  ac_status=$?
9163
9174
else
9164
9175
  pkg_failed=yes
9165
9176
fi
9166
 
    fi
9167
 
else
9168
 
        pkg_failed=untried
 
9177
 else
 
9178
    pkg_failed=untried
9169
9179
fi
9170
 
if test -n "$PKG_CONFIG"; then
9171
 
    if test -n "$PANGOFT2_LIBS"; then
9172
 
        pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
9173
 
    else
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
9177
9186
  ac_status=$?
9181
9190
else
9182
9191
  pkg_failed=yes
9183
9192
fi
9184
 
    fi
9185
 
else
9186
 
        pkg_failed=untried
 
9193
 else
 
9194
    pkg_failed=untried
9187
9195
fi
9188
9196
 
9189
9197
 
9190
9198
 
9191
9199
if test $pkg_failed = yes; then
 
9200
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9201
$as_echo "no" >&6; }
9192
9202
 
9193
9203
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9194
9204
        _pkg_short_errors_supported=yes
9196
9206
        _pkg_short_errors_supported=no
9197
9207
fi
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`
9200
9210
        else
9201
 
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
 
9211
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --print-errors "pangoft2" 2>&1`
9202
9212
        fi
9203
9213
        # Put the nasty error message in config.log where it belongs
9204
9214
        echo "$PANGOFT2_PKG_ERRORS" >&5
9205
9215
 
9206
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9216
        pango_ok=no
 
9217
elif test $pkg_failed = untried; then
 
9218
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9207
9219
$as_echo "no" >&6; }
9208
 
                pango_ok=no
9209
 
elif test $pkg_failed = untried; then
9210
9220
        pango_ok=no
9211
9221
else
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; }
9241
9251
 
9242
 
if test -n "$PKG_CONFIG"; then
9243
 
    if test -n "$GNOME_VFS_CFLAGS"; then
9244
 
        pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
9245
 
    else
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
9249
9258
  ac_status=$?
9253
9262
else
9254
9263
  pkg_failed=yes
9255
9264
fi
9256
 
    fi
9257
 
else
9258
 
        pkg_failed=untried
 
9265
 else
 
9266
    pkg_failed=untried
9259
9267
fi
9260
 
if test -n "$PKG_CONFIG"; then
9261
 
    if test -n "$GNOME_VFS_LIBS"; then
9262
 
        pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
9263
 
    else
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
9267
9274
  ac_status=$?
9271
9278
else
9272
9279
  pkg_failed=yes
9273
9280
fi
9274
 
    fi
9275
 
else
9276
 
        pkg_failed=untried
 
9281
 else
 
9282
    pkg_failed=untried
9277
9283
fi
9278
9284
 
9279
9285
 
9280
9286
 
9281
9287
if test $pkg_failed = yes; then
 
9288
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9289
$as_echo "no" >&6; }
9282
9290
 
9283
9291
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9284
9292
        _pkg_short_errors_supported=yes
9286
9294
        _pkg_short_errors_supported=no
9287
9295
fi
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`
9290
9298
        else
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`
9292
9300
        fi
9293
9301
        # Put the nasty error message in config.log where it belongs
9294
9302
        echo "$GNOME_VFS_PKG_ERRORS" >&5
9295
9303
 
9296
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9304
        gnome_vfs=no
 
9305
elif test $pkg_failed = untried; then
 
9306
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297
9307
$as_echo "no" >&6; }
9298
 
                gnome_vfs=no
9299
 
elif test $pkg_failed = untried; then
9300
9308
        gnome_vfs=no
9301
9309
else
9302
9310
        GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
9307
9315
fi
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
9311
9319
                else
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
9567
9575
 
9568
9576
     ;; #(
9569
9577
   *)
9570
 
     as_fn_error "unknown endianness
9571
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 
9578
     as_fn_error $? "unknown endianness
 
9579
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
9572
9580
 esac
9573
9581
 
9574
9582
        for ac_header in zlib.h
9745
9753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
9746
9754
$as_echo_n "checking for LCMS... " >&6; }
9747
9755
 
9748
 
if test -n "$PKG_CONFIG"; then
9749
 
    if test -n "$LCMS_CFLAGS"; then
9750
 
        pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
9751
 
    else
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
9755
9762
  ac_status=$?
9759
9766
else
9760
9767
  pkg_failed=yes
9761
9768
fi
9762
 
    fi
9763
 
else
9764
 
        pkg_failed=untried
 
9769
 else
 
9770
    pkg_failed=untried
9765
9771
fi
9766
 
if test -n "$PKG_CONFIG"; then
9767
 
    if test -n "$LCMS_LIBS"; then
9768
 
        pkg_cv_LCMS_LIBS="$LCMS_LIBS"
9769
 
    else
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
9773
9778
  ac_status=$?
9777
9782
else
9778
9783
  pkg_failed=yes
9779
9784
fi
9780
 
    fi
9781
 
else
9782
 
        pkg_failed=untried
 
9785
 else
 
9786
    pkg_failed=untried
9783
9787
fi
9784
9788
 
9785
9789
 
9786
9790
 
9787
9791
if test $pkg_failed = yes; then
 
9792
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9793
$as_echo "no" >&6; }
9788
9794
 
9789
9795
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9790
9796
        _pkg_short_errors_supported=yes
9792
9798
        _pkg_short_errors_supported=no
9793
9799
fi
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`
9796
9802
        else
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`
9798
9804
        fi
9799
9805
        # Put the nasty error message in config.log where it belongs
9800
9806
        echo "$LCMS_PKG_ERRORS" >&5
9801
9807
 
9802
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9808
        lcms=no
 
9809
elif test $pkg_failed = untried; then
 
9810
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9803
9811
$as_echo "no" >&6; }
9804
 
                lcms=no
9805
 
elif test $pkg_failed = untried; then
9806
9812
        lcms=no
9807
9813
else
9808
9814
        LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
9813
9819
fi
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
9817
9823
                else
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; }
9847
9853
 
9848
 
if test -n "$PKG_CONFIG"; then
9849
 
    if test -n "$POPPLER_CFLAGS"; then
9850
 
        pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
9851
 
    else
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
9855
9860
  ac_status=$?
9859
9864
else
9860
9865
  pkg_failed=yes
9861
9866
fi
9862
 
    fi
9863
 
else
9864
 
        pkg_failed=untried
 
9867
 else
 
9868
    pkg_failed=untried
9865
9869
fi
9866
 
if test -n "$PKG_CONFIG"; then
9867
 
    if test -n "$POPPLER_LIBS"; then
9868
 
        pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
9869
 
    else
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
9873
9876
  ac_status=$?
9877
9880
else
9878
9881
  pkg_failed=yes
9879
9882
fi
9880
 
    fi
9881
 
else
9882
 
        pkg_failed=untried
 
9883
 else
 
9884
    pkg_failed=untried
9883
9885
fi
9884
9886
 
9885
9887
 
9886
9888
 
9887
9889
if test $pkg_failed = yes; then
 
9890
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9891
$as_echo "no" >&6; }
9888
9892
 
9889
9893
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9890
9894
        _pkg_short_errors_supported=yes
9892
9896
        _pkg_short_errors_supported=no
9893
9897
fi
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`
9896
9900
        else
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`
9898
9902
        fi
9899
9903
        # Put the nasty error message in config.log where it belongs
9900
9904
        echo "$POPPLER_PKG_ERRORS" >&5
9901
9905
 
9902
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9906
        poppler=no
 
9907
elif test $pkg_failed = untried; then
 
9908
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9903
9909
$as_echo "no" >&6; }
9904
 
                poppler=no
9905
 
elif test $pkg_failed = untried; then
9906
9910
        poppler=no
9907
9911
else
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; }
9920
9924
 
9921
 
if test -n "$PKG_CONFIG"; then
9922
 
    if test -n "$POPPLER_GLIB_CFLAGS"; then
9923
 
        pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS"
9924
 
    else
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
9928
9931
  ac_status=$?
9932
9935
else
9933
9936
  pkg_failed=yes
9934
9937
fi
9935
 
    fi
9936
 
else
9937
 
        pkg_failed=untried
 
9938
 else
 
9939
    pkg_failed=untried
9938
9940
fi
9939
 
if test -n "$PKG_CONFIG"; then
9940
 
    if test -n "$POPPLER_GLIB_LIBS"; then
9941
 
        pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS"
9942
 
    else
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
9946
9947
  ac_status=$?
9950
9951
else
9951
9952
  pkg_failed=yes
9952
9953
fi
9953
 
    fi
9954
 
else
9955
 
        pkg_failed=untried
 
9954
 else
 
9955
    pkg_failed=untried
9956
9956
fi
9957
9957
 
9958
9958
 
9959
9959
 
9960
9960
if test $pkg_failed = yes; then
 
9961
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9962
$as_echo "no" >&6; }
9961
9963
 
9962
9964
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9963
9965
        _pkg_short_errors_supported=yes
9965
9967
        _pkg_short_errors_supported=no
9966
9968
fi
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`
9969
9971
        else
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`
9971
9973
        fi
9972
9974
        # Put the nasty error message in config.log where it belongs
9973
9975
        echo "$POPPLER_GLIB_PKG_ERRORS" >&5
9974
9976
 
9975
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9977
        poppler_glib=no
 
9978
elif test $pkg_failed = untried; then
 
9979
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9976
9980
$as_echo "no" >&6; }
9977
 
                poppler_glib=no
9978
 
elif test $pkg_failed = untried; then
9979
9981
        poppler_glib=no
9980
9982
else
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; }
9992
9994
 
9993
 
if test -n "$PKG_CONFIG"; then
9994
 
    if test -n "$CAIRO_SVG_CFLAGS"; then
9995
 
        pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
9996
 
    else
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
10000
10001
  ac_status=$?
10004
10005
else
10005
10006
  pkg_failed=yes
10006
10007
fi
10007
 
    fi
10008
 
else
10009
 
        pkg_failed=untried
 
10008
 else
 
10009
    pkg_failed=untried
10010
10010
fi
10011
 
if test -n "$PKG_CONFIG"; then
10012
 
    if test -n "$CAIRO_SVG_LIBS"; then
10013
 
        pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
10014
 
    else
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
10018
10017
  ac_status=$?
10022
10021
else
10023
10022
  pkg_failed=yes
10024
10023
fi
10025
 
    fi
10026
 
else
10027
 
        pkg_failed=untried
 
10024
 else
 
10025
    pkg_failed=untried
10028
10026
fi
10029
10027
 
10030
10028
 
10031
10029
 
10032
10030
if test $pkg_failed = yes; then
 
10031
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10032
$as_echo "no" >&6; }
10033
10033
 
10034
10034
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10035
10035
        _pkg_short_errors_supported=yes
10037
10037
        _pkg_short_errors_supported=no
10038
10038
fi
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`
10041
10041
        else
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`
10043
10043
        fi
10044
10044
        # Put the nasty error message in config.log where it belongs
10045
10045
        echo "$CAIRO_SVG_PKG_ERRORS" >&5
10046
10046
 
10047
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10047
        cairo_svg=no
 
10048
elif test $pkg_failed = untried; then
 
10049
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10048
10050
$as_echo "no" >&6; }
10049
 
                cairo_svg=no
10050
 
elif test $pkg_failed = untried; then
10051
10051
        cairo_svg=no
10052
10052
else
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; }
10068
10068
 
10069
 
if test -n "$PKG_CONFIG"; then
10070
 
    if test -n "$POPPLER_CAIRO_CFLAGS"; then
10071
 
        pkg_cv_POPPLER_CAIRO_CFLAGS="$POPPLER_CAIRO_CFLAGS"
10072
 
    else
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
10076
10075
  ac_status=$?
10080
10079
else
10081
10080
  pkg_failed=yes
10082
10081
fi
10083
 
    fi
10084
 
else
10085
 
        pkg_failed=untried
 
10082
 else
 
10083
    pkg_failed=untried
10086
10084
fi
10087
 
if test -n "$PKG_CONFIG"; then
10088
 
    if test -n "$POPPLER_CAIRO_LIBS"; then
10089
 
        pkg_cv_POPPLER_CAIRO_LIBS="$POPPLER_CAIRO_LIBS"
10090
 
    else
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
10094
10091
  ac_status=$?
10098
10095
else
10099
10096
  pkg_failed=yes
10100
10097
fi
10101
 
    fi
10102
 
else
10103
 
        pkg_failed=untried
 
10098
 else
 
10099
    pkg_failed=untried
10104
10100
fi
10105
10101
 
10106
10102
 
10107
10103
 
10108
10104
if test $pkg_failed = yes; then
 
10105
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10106
$as_echo "no" >&6; }
10109
10107
 
10110
10108
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10111
10109
        _pkg_short_errors_supported=yes
10113
10111
        _pkg_short_errors_supported=no
10114
10112
fi
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`
10117
10115
        else
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`
10119
10117
        fi
10120
10118
        # Put the nasty error message in config.log where it belongs
10121
10119
        echo "$POPPLER_CAIRO_PKG_ERRORS" >&5
10122
10120
 
10123
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10121
        poppler_cairo=no
 
10122
elif test $pkg_failed = untried; then
 
10123
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124
10124
$as_echo "no" >&6; }
10125
 
                poppler_cairo=no
10126
 
elif test $pkg_failed = untried; then
10127
10125
        poppler_cairo=no
10128
10126
else
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; }
10166
10164
 
10167
 
if test -n "$PKG_CONFIG"; then
10168
 
    if test -n "$POPPLER_GFXFONT_CFLAGS"; then
10169
 
        pkg_cv_POPPLER_GFXFONT_CFLAGS="$POPPLER_GFXFONT_CFLAGS"
10170
 
    else
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
10174
10171
  ac_status=$?
10178
10175
else
10179
10176
  pkg_failed=yes
10180
10177
fi
10181
 
    fi
10182
 
else
10183
 
        pkg_failed=untried
 
10178
 else
 
10179
    pkg_failed=untried
10184
10180
fi
10185
 
if test -n "$PKG_CONFIG"; then
10186
 
    if test -n "$POPPLER_GFXFONT_LIBS"; then
10187
 
        pkg_cv_POPPLER_GFXFONT_LIBS="$POPPLER_GFXFONT_LIBS"
10188
 
    else
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
10192
10187
  ac_status=$?
10196
10191
else
10197
10192
  pkg_failed=yes
10198
10193
fi
10199
 
    fi
10200
 
else
10201
 
        pkg_failed=untried
 
10194
 else
 
10195
    pkg_failed=untried
10202
10196
fi
10203
10197
 
10204
10198
 
10205
10199
 
10206
10200
if test $pkg_failed = yes; then
 
10201
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10202
$as_echo "no" >&6; }
10207
10203
 
10208
10204
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10209
10205
        _pkg_short_errors_supported=yes
10211
10207
        _pkg_short_errors_supported=no
10212
10208
fi
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`
10215
10211
        else
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`
10217
10213
        fi
10218
10214
        # Put the nasty error message in config.log where it belongs
10219
10215
        echo "$POPPLER_GFXFONT_PKG_ERRORS" >&5
10220
10216
 
10221
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10217
        popplernew=no
 
10218
elif test $pkg_failed = untried; then
 
10219
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222
10220
$as_echo "no" >&6; }
10223
 
                popplernew=no
10224
 
elif test $pkg_failed = untried; then
10225
10221
        popplernew=no
10226
10222
else
10227
10223
        POPPLER_GFXFONT_CFLAGS=$pkg_cv_POPPLER_GFXFONT_CFLAGS
10236
10232
 
10237
10233
fi
10238
10234
 
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"
 
10239
 
 
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
10261
10258
fi
10262
10259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10260
if test "x$popplercolor" = "xyes"; then
 
10261
 
 
10262
$as_echo "#define POPPLER_NEW_COLOR_SPACE_API 1" >>confdefs.h
 
10263
 
 
10264
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10265
$as_echo "yes" >&6; }
 
10266
else
 
10267
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10268
$as_echo "no" >&6; }
 
10269
fi
 
10270
 
 
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.  */
 
10277
 
 
10278
#include <GfxState.h>
 
10279
 
 
10280
int main() {
 
10281
  GfxPatch::ColorValue color = {c: {0}};
 
10282
  GfxPatch patch;
 
10283
  patch.color[0][0] = color;
 
10284
  return 0;
 
10285
}
 
10286
 
 
10287
_ACEOF
 
10288
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10289
  popplergfxcolor=yes
 
10290
fi
 
10291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10292
if test "x$popplergfxcolor" = "xyes"; then
 
10293
 
 
10294
$as_echo "#define POPPLER_NEW_GFXPATCH 1" >>confdefs.h
 
10295
 
 
10296
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10297
$as_echo "yes" >&6; }
 
10298
else
 
10299
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10300
$as_echo "no" >&6; }
 
10301
fi
 
10302
 
10263
10303
CPPFLAGS=$ink_svd_CPPFLAGS
10264
10304
LIBS=$ink_svd_LIBS
10265
10305
 
10266
 
if test "x$popplercolor" = "xyes"; then
10267
 
 
10268
 
$as_echo "#define POPPLER_NEW_COLOR_SPACE_API 1" >>confdefs.h
10269
 
 
10270
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10271
 
$as_echo "yes" >&6; }
10272
 
else
10273
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10274
 
$as_echo "no" >&6; }
10275
 
fi
10276
 
 
10277
10306
 
10278
10307
 
10279
10308
 
10292
10321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBWPG" >&5
10293
10322
$as_echo_n "checking for LIBWPG... " >&6; }
10294
10323
 
10295
 
if test -n "$PKG_CONFIG"; then
10296
 
    if test -n "$LIBWPG_CFLAGS"; then
10297
 
        pkg_cv_LIBWPG_CFLAGS="$LIBWPG_CFLAGS"
10298
 
    else
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
10302
10330
  ac_status=$?
10306
10334
else
10307
10335
  pkg_failed=yes
10308
10336
fi
10309
 
    fi
10310
 
else
10311
 
        pkg_failed=untried
 
10337
 else
 
10338
    pkg_failed=untried
10312
10339
fi
10313
 
if test -n "$PKG_CONFIG"; then
10314
 
    if test -n "$LIBWPG_LIBS"; then
10315
 
        pkg_cv_LIBWPG_LIBS="$LIBWPG_LIBS"
10316
 
    else
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
10320
10346
  ac_status=$?
10324
10350
else
10325
10351
  pkg_failed=yes
10326
10352
fi
10327
 
    fi
10328
 
else
10329
 
        pkg_failed=untried
 
10353
 else
 
10354
    pkg_failed=untried
10330
10355
fi
10331
10356
 
10332
10357
 
10333
10358
 
10334
10359
if test $pkg_failed = yes; then
 
10360
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10361
$as_echo "no" >&6; }
10335
10362
 
10336
10363
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10337
10364
        _pkg_short_errors_supported=yes
10339
10366
        _pkg_short_errors_supported=no
10340
10367
fi
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`
10343
10370
        else
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`
10345
10372
        fi
10346
10373
        # Put the nasty error message in config.log where it belongs
10347
10374
        echo "$LIBWPG_PKG_ERRORS" >&5
10348
10375
 
10349
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10376
        with_libwpg=no
 
10377
elif test $pkg_failed = untried; then
 
10378
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350
10379
$as_echo "no" >&6; }
10351
 
                with_libwpg=no
10352
 
elif test $pkg_failed = untried; then
10353
10380
        with_libwpg=no
10354
10381
else
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; }
10383
10410
 
10384
 
if test -n "$PKG_CONFIG"; then
10385
 
    if test -n "$IMAGEMAGICK_CFLAGS"; then
10386
 
        pkg_cv_IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
10387
 
    else
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
10391
10417
  ac_status=$?
10395
10421
else
10396
10422
  pkg_failed=yes
10397
10423
fi
10398
 
    fi
10399
 
else
10400
 
        pkg_failed=untried
 
10424
 else
 
10425
    pkg_failed=untried
10401
10426
fi
10402
 
if test -n "$PKG_CONFIG"; then
10403
 
    if test -n "$IMAGEMAGICK_LIBS"; then
10404
 
        pkg_cv_IMAGEMAGICK_LIBS="$IMAGEMAGICK_LIBS"
10405
 
    else
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
10409
10433
  ac_status=$?
10413
10437
else
10414
10438
  pkg_failed=yes
10415
10439
fi
10416
 
    fi
10417
 
else
10418
 
        pkg_failed=untried
 
10440
 else
 
10441
    pkg_failed=untried
10419
10442
fi
10420
10443
 
10421
10444
 
10422
10445
 
10423
10446
if test $pkg_failed = yes; then
 
10447
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10448
$as_echo "no" >&6; }
10424
10449
 
10425
10450
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10426
10451
        _pkg_short_errors_supported=yes
10428
10453
        _pkg_short_errors_supported=no
10429
10454
fi
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`
10432
10457
        else
10433
 
                IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ImageMagick++"`
 
10458
                IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --print-errors "ImageMagick++" 2>&1`
10434
10459
        fi
10435
10460
        # Put the nasty error message in config.log where it belongs
10436
10461
        echo "$IMAGEMAGICK_PKG_ERRORS" >&5
10437
10462
 
10438
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10463
        magick_ok=no
 
10464
elif test $pkg_failed = untried; then
 
10465
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439
10466
$as_echo "no" >&6; }
10440
 
                magick_ok=no
10441
 
elif test $pkg_failed = untried; then
10442
10467
        magick_ok=no
10443
10468
else
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; }
10472
10497
 
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"
10476
 
    else
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
10480
10504
  ac_status=$?
10484
10508
else
10485
10509
  pkg_failed=yes
10486
10510
fi
10487
 
    fi
10488
 
else
10489
 
        pkg_failed=untried
 
10511
 else
 
10512
    pkg_failed=untried
10490
10513
fi
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"
10494
 
    else
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
10498
10520
  ac_status=$?
10502
10524
else
10503
10525
  pkg_failed=yes
10504
10526
fi
10505
 
    fi
10506
 
else
10507
 
        pkg_failed=untried
 
10527
 else
 
10528
    pkg_failed=untried
10508
10529
fi
10509
10530
 
10510
10531
 
10511
10532
 
10512
10533
if test $pkg_failed = yes; then
 
10534
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10535
$as_echo "no" >&6; }
10513
10536
 
10514
10537
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10515
10538
        _pkg_short_errors_supported=yes
10517
10540
        _pkg_short_errors_supported=no
10518
10541
fi
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`
10521
10544
        else
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`
10523
10546
        fi
10524
10547
        # Put the nasty error message in config.log where it belongs
10525
10548
        echo "$CAIRO_USER_FONTS_PKG_ERRORS" >&5
10526
10549
 
10527
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10550
        cairouserfonts=no
 
10551
elif test $pkg_failed = untried; then
 
10552
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528
10553
$as_echo "no" >&6; }
10529
 
                cairouserfonts=no
10530
 
elif test $pkg_failed = untried; then
10531
10554
        cairouserfonts=no
10532
10555
else
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; }
10555
10578
 
10556
 
if test -n "$PKG_CONFIG"; then
10557
 
    if test -n "$INKSCAPE_CFLAGS"; then
10558
 
        pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
10559
 
    else
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
10563
10585
  ac_status=$?
10567
10589
else
10568
10590
  pkg_failed=yes
10569
10591
fi
10570
 
    fi
10571
 
else
10572
 
        pkg_failed=untried
 
10592
 else
 
10593
    pkg_failed=untried
10573
10594
fi
10574
 
if test -n "$PKG_CONFIG"; then
10575
 
    if test -n "$INKSCAPE_LIBS"; then
10576
 
        pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
10577
 
    else
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
10581
10601
  ac_status=$?
10585
10605
else
10586
10606
  pkg_failed=yes
10587
10607
fi
10588
 
    fi
10589
 
else
10590
 
        pkg_failed=untried
 
10608
 else
 
10609
    pkg_failed=untried
10591
10610
fi
10592
10611
 
10593
10612
 
10594
10613
 
10595
10614
if test $pkg_failed = yes; then
 
10615
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10616
$as_echo "no" >&6; }
10596
10617
 
10597
10618
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10598
10619
        _pkg_short_errors_supported=yes
10600
10621
        _pkg_short_errors_supported=no
10601
10622
fi
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`
10604
10625
        else
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`
10606
10627
        fi
10607
10628
        # Put the nasty error message in config.log where it belongs
10608
10629
        echo "$INKSCAPE_PKG_ERRORS" >&5
10609
10630
 
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:
10611
10632
 
10612
10633
$INKSCAPE_PKG_ERRORS
10613
10634
 
10616
10637
 
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.
10620
 
" "$LINENO" 5
 
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.
10627
10649
 
10630
10652
See the pkg-config man page for more details.
10631
10653
 
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 ; }
10634
10656
else
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; }
10639
 
        :
 
10661
 
10640
10662
fi
10641
10663
 
10642
10664
# Check for Apple Mac OS X Carbon framework
10682
10704
_ACEOF
10683
10705
 
10684
10706
else
10685
 
  as_fn_error "You need the boost package (e.g. libboost-dev)" "$LINENO" 5
 
10707
  as_fn_error $? "You need the boost package (e.g. libboost-dev)" "$LINENO" 5
10686
10708
fi
10687
10709
 
10688
10710
done
10693
10715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_PDF" >&5
10694
10716
$as_echo_n "checking for CAIRO_PDF... " >&6; }
10695
10717
 
10696
 
if test -n "$PKG_CONFIG"; then
10697
 
    if test -n "$CAIRO_PDF_CFLAGS"; then
10698
 
        pkg_cv_CAIRO_PDF_CFLAGS="$CAIRO_PDF_CFLAGS"
10699
 
    else
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
10703
10724
  ac_status=$?
10707
10728
else
10708
10729
  pkg_failed=yes
10709
10730
fi
10710
 
    fi
10711
 
else
10712
 
        pkg_failed=untried
 
10731
 else
 
10732
    pkg_failed=untried
10713
10733
fi
10714
 
if test -n "$PKG_CONFIG"; then
10715
 
    if test -n "$CAIRO_PDF_LIBS"; then
10716
 
        pkg_cv_CAIRO_PDF_LIBS="$CAIRO_PDF_LIBS"
10717
 
    else
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
10721
10740
  ac_status=$?
10725
10744
else
10726
10745
  pkg_failed=yes
10727
10746
fi
10728
 
    fi
10729
 
else
10730
 
        pkg_failed=untried
 
10747
 else
 
10748
    pkg_failed=untried
10731
10749
fi
10732
10750
 
10733
10751
 
10734
10752
 
10735
10753
if test $pkg_failed = yes; then
 
10754
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10755
$as_echo "no" >&6; }
10736
10756
 
10737
10757
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10738
10758
        _pkg_short_errors_supported=yes
10740
10760
        _pkg_short_errors_supported=no
10741
10761
fi
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`
10744
10764
        else
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`
10746
10766
        fi
10747
10767
        # Put the nasty error message in config.log where it belongs
10748
10768
        echo "$CAIRO_PDF_PKG_ERRORS" >&5
10749
10769
 
10750
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10770
        cairo_pdf=no
 
10771
elif test $pkg_failed = untried; then
 
10772
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751
10773
$as_echo "no" >&6; }
10752
 
                cairo_pdf=no
10753
 
elif test $pkg_failed = untried; then
10754
10774
        cairo_pdf=no
10755
10775
else
10756
10776
        CAIRO_PDF_CFLAGS=$pkg_cv_CAIRO_PDF_CFLAGS
10765
10785
 
10766
10786
fi
10767
10787
 
10768
 
INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2"
 
10788
INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2 -ldl"
10769
10789
if test "x$openmp_ok" = "xyes"; then
10770
10790
        INKSCAPE_LIBS="$INKSCAPE_LIBS -lgomp"
10771
10791
fi
10774
10794
if test "x$ac_cv_header_popt_h" = x""yes; then :
10775
10795
  INKSCAPE_LIBS="$INKSCAPE_LIBS -lpopt"
10776
10796
else
10777
 
  as_fn_error "libpopt is required" "$LINENO" 5
 
10797
  as_fn_error $? "libpopt is required" "$LINENO" 5
10778
10798
fi
10779
10799
 
10780
10800
 
10898
10918
       else
10899
10919
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10900
10920
$as_echo "no" >&6; }
10901
 
               as_fn_error "/proc/self/maps is not available. Binary relocation cannot be enabled." "$LINENO" 5
 
10921
               as_fn_error $? "/proc/self/maps is not available. Binary relocation cannot be enabled." "$LINENO" 5
10902
10922
               enable_binreloc="no"
10903
10923
       fi
10904
10924
 
11839
11859
 
11840
11860
ac_libobjs=
11841
11861
ac_ltlibobjs=
 
11862
U=
11842
11863
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11843
11864
  # 1. Remove the extension, and $U if already installed.
11844
11865
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11862
11883
fi
11863
11884
 
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
11867
 
fi
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
11871
 
fi
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
 
11888
fi
 
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
 
11892
fi
 
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
11875
11896
fi
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
11879
11900
fi
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
11883
11904
fi
11884
11905
 
11886
11907
 
11887
11908
 
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
11891
11912
fi
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
11895
11916
fi
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
11899
11920
fi
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
11903
11924
fi
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
11907
11928
fi
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
11911
11932
fi
11912
11933
 
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
11916
11937
fi
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
11920
11941
fi
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
11924
11945
fi
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
11928
11949
fi
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
11932
11953
fi
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
11936
11957
fi
11937
11958
 
12081
12102
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12082
12103
 
12083
12104
 
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 ()
12090
12111
{
12091
 
  as_status=$?; test $as_status -eq 0 && as_status=1
12092
 
  if test "$3"; then
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
 
12113
  if test "$4"; then
 
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
12095
12116
  fi
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
12099
12120
 
12289
12310
      test -d "$as_dir" && break
12290
12311
    done
12291
12312
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12292
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
12313
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12293
12314
 
12294
12315
 
12295
12316
} # as_fn_mkdir_p
12342
12363
# report actual input values of CONFIG_FILES etc. instead of their
12343
12364
# values after options handling.
12344
12365
ac_log="
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
12347
12368
 
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\\"
12414
12435
 
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."
12418
12439
 
12430
12451
while test $# != 0
12431
12452
do
12432
12453
  case $1 in
12433
 
  --*=*)
 
12454
  --*=?*)
12434
12455
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12435
12456
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12436
12457
    ac_shift=:
12437
12458
    ;;
 
12459
  --*=)
 
12460
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12461
    ac_optarg=
 
12462
    ac_shift=:
 
12463
    ;;
12438
12464
  *)
12439
12465
    ac_option=$1
12440
12466
    ac_optarg=$2
12456
12482
    $ac_shift
12457
12483
    case $ac_optarg in
12458
12484
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12485
    '') as_fn_error $? "missing file argument" ;;
12459
12486
    esac
12460
12487
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12461
12488
    ac_need_defaults=false;;
12468
12495
    ac_need_defaults=false;;
12469
12496
  --he | --h)
12470
12497
    # Conflict between --help and --header
12471
 
    as_fn_error "ambiguous option: \`$1'
 
12498
    as_fn_error $? "ambiguous option: \`$1'
12472
12499
Try \`$0 --help' for more information.";;
12473
12500
  --help | --hel | -h )
12474
12501
    $as_echo "$ac_cs_usage"; exit ;;
12477
12504
    ac_cs_silent=: ;;
12478
12505
 
12479
12506
  # This is an error.
12480
 
  -*) as_fn_error "unrecognized option: \`$1'
 
12507
  -*) as_fn_error $? "unrecognized option: \`$1'
12481
12508
Try \`$0 --help' for more information." ;;
12482
12509
 
12483
12510
  *) as_fn_append ac_config_targets " $1"
12608
12635
    "inkview.1") CONFIG_FILES="$CONFIG_FILES inkview.1" ;;
12609
12636
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
12610
12637
 
12611
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
12638
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12612
12639
  esac
12613
12640
done
12614
12641
 
12646
12673
{
12647
12674
  tmp=./conf$$-$RANDOM
12648
12675
  (umask 077 && mkdir "$tmp")
12649
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
12676
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12650
12677
 
12651
12678
# Set up the scripts for CONFIG_FILES section.
12652
12679
# No need to generate them if there are no CONFIG_FILES.
12663
12690
fi
12664
12691
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12665
12692
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12666
 
  ac_cs_awk_cr='\r'
 
12693
  ac_cs_awk_cr='\\r'
12667
12694
else
12668
12695
  ac_cs_awk_cr=$ac_cr
12669
12696
fi
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
12686
12713
 
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
12689
12716
    break
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
12692
12719
  else
12693
12720
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12694
12721
  fi
12777
12804
else
12778
12805
  cat
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
12781
12808
_ACEOF
12782
12809
 
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}:*/:/
12791
 
s/:*@srcdir@:*/:/
12792
 
s/^\([^=]*=[     ]*\):*/\1/
 
12815
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
12816
h
 
12817
s///
 
12818
s/^/:/
 
12819
s/[      ]*$/:/
 
12820
s/:\$(srcdir):/:/g
 
12821
s/:\${srcdir}:/:/g
 
12822
s/:@srcdir@:/:/g
 
12823
s/^:*//
12793
12824
s/:*$//
 
12825
x
 
12826
s/\(=[   ]*\).*/\1/
 
12827
G
 
12828
s/\n//
12794
12829
s/^[^=]*=[       ]*$//
12795
12830
}'
12796
12831
fi
12818
12853
  if test -z "$ac_t"; then
12819
12854
    break
12820
12855
  elif $ac_last_try; then
12821
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
12856
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12822
12857
  else
12823
12858
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12824
12859
  fi
12903
12938
_ACAWK
12904
12939
_ACEOF
12905
12940
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12906
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
12941
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12907
12942
fi # test -n "$CONFIG_HEADERS"
12908
12943
 
12909
12944
 
12916
12951
  esac
12917
12952
  case $ac_mode$ac_tag in
12918
12953
  :[FHL]*:*);;
12919
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
12954
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12920
12955
  :[FH]-) ac_tag=-:-;;
12921
12956
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12922
12957
  esac
12944
12979
           [\\/$]*) false;;
12945
12980
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12946
12981
           esac ||
12947
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
12982
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12948
12983
      esac
12949
12984
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12950
12985
      as_fn_append ac_file_inputs " '$ac_f'"
12971
13006
 
12972
13007
    case $ac_tag in
12973
13008
    *:-:* | *:-) cat >"$tmp/stdin" \
12974
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
13009
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
12975
13010
    esac
12976
13011
    ;;
12977
13012
  esac
13108
13143
$ac_datarootdir_hack
13109
13144
"
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
13112
13147
 
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;}
13120
13155
 
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";;
13125
13160
  esac \
13126
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
13161
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13127
13162
 ;;
13128
13163
  :H)
13129
13164
  #
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;}
13141
13176
    else
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
13145
13180
    fi
13146
13181
  else
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
13150
13185
  fi
13151
13186
# Compute "$ac_file"'s index in $config_headers.
13152
13187
_am_arg="$ac_file"
13291
13326
      esac ;;
13292
13327
    "po/stamp-it":C)
13293
13328
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
13294
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
13329
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
13295
13330
    fi
13296
13331
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
13297
13332
    >"po/stamp-it.tmp"
13319
13354
ac_clean_files=$ac_clean_files_save
13320
13355
 
13321
13356
test $ac_write_fail = 0 ||
13322
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
13357
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13323
13358
 
13324
13359
 
13325
13360
# configure is writing to config.log, and then calls config.status.
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
13344
13379
fi
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