~ubuntu-branches/ubuntu/utopic/inkscape/utopic-proposed

« back to all changes in this revision

Viewing changes to configure

Tags: upstream-0.48.0
ImportĀ upstreamĀ versionĀ 0.48.0

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.67 for inkscape 0.48.1.
 
3
# Generated by GNU Autoconf 2.65 for inkscape 0.48.0.
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, 2010 Free Software
8
 
# Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# 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 STATUS ERROR [LINENO LOG_FD]
360
 
# ----------------------------------------
 
359
# as_fn_error ERROR [LINENO LOG_FD]
 
360
# ---------------------------------
361
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with STATUS, using 1 if that was 0.
 
363
# script with status $?, using 1 if that was 0.
364
364
as_fn_error ()
365
365
{
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
 
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
370
370
  fi
371
 
  $as_echo "$as_me: error: $2" >&2
 
371
  $as_echo "$as_me: error: $1" >&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, old GNU/Linux) returns a bogus exit status,
 
533
# hostname on some systems (SVR3.2, 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.1'
553
 
PACKAGE_STRING='inkscape 0.48.1'
 
552
PACKAGE_VERSION='0.48.0'
 
553
PACKAGE_STRING='inkscape 0.48.0'
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
654
652
PLATFORM_SOLARIS_FALSE
655
653
PLATFORM_SOLARIS_TRUE
656
654
WIN32_CFLAGS
838
836
CCASFLAGS
839
837
CXXCPP
840
838
PKG_CONFIG
841
 
PKG_CONFIG_PATH
842
 
PKG_CONFIG_LIBDIR
843
839
XFT_CFLAGS
844
840
XFT_LIBS
845
841
PANGOFT2_CFLAGS
930
926
  fi
931
927
 
932
928
  case $ac_option in
933
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
934
 
  *=)   ac_optarg= ;;
935
 
  *)    ac_optarg=yes ;;
 
929
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
930
  *)    ac_optarg=yes ;;
936
931
  esac
937
932
 
938
933
  # Accept the important Cygnus configure options, so we can diagnose typos.
977
972
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
978
973
    # Reject names that are not valid shell variable names.
979
974
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
975
      as_fn_error "invalid feature name: $ac_useropt"
981
976
    ac_useropt_orig=$ac_useropt
982
977
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983
978
    case $ac_user_opts in
1003
998
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1004
999
    # Reject names that are not valid shell variable names.
1005
1000
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1001
      as_fn_error "invalid feature name: $ac_useropt"
1007
1002
    ac_useropt_orig=$ac_useropt
1008
1003
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009
1004
    case $ac_user_opts in
1207
1202
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1208
1203
    # Reject names that are not valid shell variable names.
1209
1204
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1205
      as_fn_error "invalid package name: $ac_useropt"
1211
1206
    ac_useropt_orig=$ac_useropt
1212
1207
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213
1208
    case $ac_user_opts in
1223
1218
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224
1219
    # Reject names that are not valid shell variable names.
1225
1220
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1226
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1221
      as_fn_error "invalid package name: $ac_useropt"
1227
1222
    ac_useropt_orig=$ac_useropt
1228
1223
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229
1224
    case $ac_user_opts in
1253
1248
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254
1249
    x_libraries=$ac_optarg ;;
1255
1250
 
1256
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1257
 
Try \`$0 --help' for more information"
 
1251
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1252
Try \`$0 --help' for more information."
1258
1253
    ;;
1259
1254
 
1260
1255
  *=*)
1262
1257
    # Reject names that are not valid shell variable names.
1263
1258
    case $ac_envvar in #(
1264
1259
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1265
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1260
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1266
1261
    esac
1267
1262
    eval $ac_envvar=\$ac_optarg
1268
1263
    export $ac_envvar ;;
1280
1275
 
1281
1276
if test -n "$ac_prev"; then
1282
1277
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283
 
  as_fn_error $? "missing argument to $ac_option"
 
1278
  as_fn_error "missing argument to $ac_option"
1284
1279
fi
1285
1280
 
1286
1281
if test -n "$ac_unrecognized_opts"; then
1287
1282
  case $enable_option_checking in
1288
1283
    no) ;;
1289
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1284
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1290
1285
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1291
1286
  esac
1292
1287
fi
1309
1304
    [\\/$]* | ?:[\\/]* )  continue;;
1310
1305
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1311
1306
  esac
1312
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1307
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1313
1308
done
1314
1309
 
1315
1310
# There might be people who depend on the old broken behavior: `$host'
1323
1318
if test "x$host_alias" != x; then
1324
1319
  if test "x$build_alias" = x; then
1325
1320
    cross_compiling=maybe
1326
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1327
 
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1321
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1322
    If a cross compiler is detected then cross compile mode will be used." >&2
1328
1323
  elif test "x$build_alias" != "x$host_alias"; then
1329
1324
    cross_compiling=yes
1330
1325
  fi
1339
1334
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1340
1335
ac_ls_di=`ls -di .` &&
1341
1336
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1342
 
  as_fn_error $? "working directory cannot be determined"
 
1337
  as_fn_error "working directory cannot be determined"
1343
1338
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1344
 
  as_fn_error $? "pwd does not report name of working directory"
 
1339
  as_fn_error "pwd does not report name of working directory"
1345
1340
 
1346
1341
 
1347
1342
# Find the source files, if location was not specified.
1380
1375
fi
1381
1376
if test ! -r "$srcdir/$ac_unique_file"; then
1382
1377
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1383
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1378
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1384
1379
fi
1385
1380
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1386
1381
ac_abs_confdir=`(
1387
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1382
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1388
1383
        pwd)`
1389
1384
# When building in place, set srcdir=.
1390
1385
if test "$ac_abs_confdir" = "$ac_pwd"; then
1410
1405
  # Omit some internal or obsolete options to make the list less imposing.
1411
1406
  # This message is too long to be a string in the A/UX 3.1 sh.
1412
1407
  cat <<_ACEOF
1413
 
\`configure' configures inkscape 0.48.1 to adapt to many kinds of systems.
 
1408
\`configure' configures inkscape 0.48.0 to adapt to many kinds of systems.
1414
1409
 
1415
1410
Usage: $0 [OPTION]... [VAR=VALUE]...
1416
1411
 
1424
1419
      --help=short        display options specific to this package
1425
1420
      --help=recursive    display the short help of all the included packages
1426
1421
  -V, --version           display version information and exit
1427
 
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1422
  -q, --quiet, --silent   do not print \`checking...' messages
1428
1423
      --cache-file=FILE   cache test results in FILE [disabled]
1429
1424
  -C, --config-cache      alias for \`--cache-file=config.cache'
1430
1425
  -n, --no-create         do not create output files
1480
1475
 
1481
1476
if test -n "$ac_init_help"; then
1482
1477
  case $ac_init_help in
1483
 
     short | recursive ) echo "Configuration of inkscape 0.48.1:";;
 
1478
     short | recursive ) echo "Configuration of inkscape 0.48.0:";;
1484
1479
   esac
1485
1480
  cat <<\_ACEOF
1486
1481
 
1522
1517
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1523
1518
  CXXCPP      C++ preprocessor
1524
1519
  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
1529
1520
  XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1530
1521
  XFT_LIBS    linker flags for XFT, overriding pkg-config
1531
1522
  PANGOFT2_CFLAGS
1644
1635
test -n "$ac_init_help" && exit $ac_status
1645
1636
if $ac_init_version; then
1646
1637
  cat <<\_ACEOF
1647
 
inkscape configure 0.48.1
1648
 
generated by GNU Autoconf 2.67
 
1638
inkscape configure 0.48.0
 
1639
generated by GNU Autoconf 2.65
1649
1640
 
1650
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1641
Copyright (C) 2009 Free Software Foundation, Inc.
1651
1642
This configure script is free software; the Free Software Foundation
1652
1643
gives unlimited permission to copy, distribute and modify it.
1653
1644
_ACEOF
1788
1779
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789
1780
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790
1781
$as_echo_n "checking for $2... " >&6; }
1791
 
if eval "test \"\${$3+set}\"" = set; then :
 
1782
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1792
1783
  $as_echo_n "(cached) " >&6
1793
1784
else
1794
1785
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868
1859
    mv -f conftest.er1 conftest.err
1869
1860
  fi
1870
1861
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871
 
  test $ac_status = 0; } > conftest.i && {
 
1862
  test $ac_status = 0; } >/dev/null && {
1872
1863
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1873
1864
         test ! -s conftest.err
1874
1865
       }; then :
1980
1971
ac_fn_cxx_check_header_mongrel ()
1981
1972
{
1982
1973
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1974
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984
1975
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985
1976
$as_echo_n "checking for $2... " >&6; }
1986
 
if eval "test \"\${$3+set}\"" = set; then :
 
1977
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987
1978
  $as_echo_n "(cached) " >&6
1988
1979
fi
1989
1980
eval ac_res=\$$3
2019
2010
else
2020
2011
  ac_header_preproc=no
2021
2012
fi
2022
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
2013
rm -f conftest.err conftest.$ac_ext
2023
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024
2015
$as_echo "$ac_header_preproc" >&6; }
2025
2016
 
2046
2037
esac
2047
2038
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048
2039
$as_echo_n "checking for $2... " >&6; }
2049
 
if eval "test \"\${$3+set}\"" = set; then :
 
2040
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050
2041
  $as_echo_n "(cached) " >&6
2051
2042
else
2052
2043
  eval "$3=\$ac_header_compiler"
2068
2059
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069
2060
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070
2061
$as_echo_n "checking for $2... " >&6; }
2071
 
if eval "test \"\${$3+set}\"" = set; then :
 
2062
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2072
2063
  $as_echo_n "(cached) " >&6
2073
2064
else
2074
2065
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099
2090
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100
2091
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2101
2092
$as_echo_n "checking for $2.$3... " >&6; }
2102
 
if eval "test \"\${$4+set}\"" = set; then :
 
2093
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2103
2094
  $as_echo_n "(cached) " >&6
2104
2095
else
2105
2096
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156
2147
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157
2148
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158
2149
$as_echo_n "checking for $2... " >&6; }
2159
 
if eval "test \"\${$3+set}\"" = set; then :
 
2150
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2160
2151
  $as_echo_n "(cached) " >&6
2161
2152
else
2162
2153
  eval "$3=no"
2204
2195
This file contains any messages produced by compilers while
2205
2196
running configure, to aid debugging if configure makes a mistake.
2206
2197
 
2207
 
It was created by inkscape $as_me 0.48.1, which was
2208
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2198
It was created by inkscape $as_me 0.48.0, which was
 
2199
generated by GNU Autoconf 2.65.  Invocation command line was
2209
2200
 
2210
2201
  $ $0 $@
2211
2202
 
2315
2306
  {
2316
2307
    echo
2317
2308
 
2318
 
    $as_echo "## ---------------- ##
 
2309
    cat <<\_ASBOX
 
2310
## ---------------- ##
2319
2311
## Cache variables. ##
2320
 
## ---------------- ##"
 
2312
## ---------------- ##
 
2313
_ASBOX
2321
2314
    echo
2322
2315
    # The following way of writing the cache mishandles newlines in values,
2323
2316
(
2351
2344
)
2352
2345
    echo
2353
2346
 
2354
 
    $as_echo "## ----------------- ##
 
2347
    cat <<\_ASBOX
 
2348
## ----------------- ##
2355
2349
## Output variables. ##
2356
 
## ----------------- ##"
 
2350
## ----------------- ##
 
2351
_ASBOX
2357
2352
    echo
2358
2353
    for ac_var in $ac_subst_vars
2359
2354
    do
2366
2361
    echo
2367
2362
 
2368
2363
    if test -n "$ac_subst_files"; then
2369
 
      $as_echo "## ------------------- ##
 
2364
      cat <<\_ASBOX
 
2365
## ------------------- ##
2370
2366
## File substitutions. ##
2371
 
## ------------------- ##"
 
2367
## ------------------- ##
 
2368
_ASBOX
2372
2369
      echo
2373
2370
      for ac_var in $ac_subst_files
2374
2371
      do
2382
2379
    fi
2383
2380
 
2384
2381
    if test -s confdefs.h; then
2385
 
      $as_echo "## ----------- ##
 
2382
      cat <<\_ASBOX
 
2383
## ----------- ##
2386
2384
## confdefs.h. ##
2387
 
## ----------- ##"
 
2385
## ----------- ##
 
2386
_ASBOX
2388
2387
      echo
2389
2388
      cat confdefs.h
2390
2389
      echo
2439
2438
ac_site_file1=NONE
2440
2439
ac_site_file2=NONE
2441
2440
if test -n "$CONFIG_SITE"; then
2442
 
  # We do not want a PATH search for config.site.
2443
 
  case $CONFIG_SITE in #((
2444
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2445
 
    */*) ac_site_file1=$CONFIG_SITE;;
2446
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2447
 
  esac
 
2441
  ac_site_file1=$CONFIG_SITE
2448
2442
elif test "x$prefix" != xNONE; then
2449
2443
  ac_site_file1=$prefix/share/config.site
2450
2444
  ac_site_file2=$prefix/etc/config.site
2459
2453
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2460
2454
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2461
2455
    sed 's/^/| /' "$ac_site_file" >&5
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 ; }
 
2456
    . "$ac_site_file"
2467
2457
  fi
2468
2458
done
2469
2459
 
2539
2529
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540
2530
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2541
2531
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2542
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2532
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2543
2533
fi
2544
2534
## -------------------- ##
2545
2535
## Main body of script. ##
2555
2545
 
2556
2546
ac_aux_dir=
2557
2547
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
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
 
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
2571
2555
done
2572
2556
if test -z "$ac_aux_dir"; then
2573
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2557
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2574
2558
fi
2575
2559
 
2576
2560
# These three variables are undocumented and unsupported,
2584
2568
 
2585
2569
# Make sure we can run config.sub.
2586
2570
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2587
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2571
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2588
2572
 
2589
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2590
2574
$as_echo_n "checking build system type... " >&6; }
2595
2579
test "x$ac_build_alias" = x &&
2596
2580
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2597
2581
test "x$ac_build_alias" = x &&
2598
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2582
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2599
2583
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2600
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2584
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2601
2585
 
2602
2586
fi
2603
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2604
2588
$as_echo "$ac_cv_build" >&6; }
2605
2589
case $ac_cv_build in
2606
2590
*-*-*) ;;
2607
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2591
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2608
2592
esac
2609
2593
build=$ac_cv_build
2610
2594
ac_save_IFS=$IFS; IFS='-'
2629
2613
  ac_cv_host=$ac_cv_build
2630
2614
else
2631
2615
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2632
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2616
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2633
2617
fi
2634
2618
 
2635
2619
fi
2637
2621
$as_echo "$ac_cv_host" >&6; }
2638
2622
case $ac_cv_host in
2639
2623
*-*-*) ;;
2640
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2624
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2641
2625
esac
2642
2626
host=$ac_cv_host
2643
2627
ac_save_IFS=$IFS; IFS='-'
2760
2744
'
2761
2745
case `pwd` in
2762
2746
  *[\\\"\#\$\&\'\`$am_lf]*)
2763
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2747
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2764
2748
esac
2765
2749
case $srcdir in
2766
2750
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2767
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2751
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2768
2752
esac
2769
2753
 
2770
2754
# Do `set' in a subshell so we don't clobber the current shell's
2786
2770
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2787
2771
      # broken ls alias from the environment.  This has actually
2788
2772
      # happened.  Such a system could not be considered "sane".
2789
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2773
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2790
2774
alias in your environment" "$LINENO" 5
2791
2775
   fi
2792
2776
 
2796
2780
   # Ok.
2797
2781
   :
2798
2782
else
2799
 
   as_fn_error $? "newly created file is older than distributed files!
 
2783
   as_fn_error "newly created file is older than distributed files!
2800
2784
Check your system clock" "$LINENO" 5
2801
2785
fi
2802
2786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3034
3018
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3035
3019
set x ${MAKE-make}
3036
3020
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3037
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3021
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3038
3022
  $as_echo_n "(cached) " >&6
3039
3023
else
3040
3024
  cat >conftest.make <<\_ACEOF
3042
3026
all:
3043
3027
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3044
3028
_ACEOF
3045
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3029
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3046
3030
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3047
3031
  *@@@%%%=?*=@@@%%%*)
3048
3032
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3076
3060
  am__isrc=' -I$(srcdir)'
3077
3061
  # test to see if srcdir already configured
3078
3062
  if test -f $srcdir/config.status; then
3079
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3063
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3080
3064
  fi
3081
3065
fi
3082
3066
 
3092
3076
 
3093
3077
# Define the identity of the package.
3094
3078
 PACKAGE='inkscape'
3095
 
 VERSION='0.48.1'
 
3079
 VERSION='0.48.0'
3096
3080
 
3097
3081
 
3098
3082
cat >>confdefs.h <<_ACEOF
3520
3504
 
3521
3505
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3522
3506
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523
 
as_fn_error 77 "C++ compiler cannot create executables
3524
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3507
{ as_fn_set_status 77
 
3508
as_fn_error "C++ compiler cannot create executables
 
3509
See \`config.log' for more details." "$LINENO" 5; }; }
3525
3510
else
3526
3511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3527
3512
$as_echo "yes" >&6; }
3563
3548
else
3564
3549
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565
3550
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3567
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3551
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3552
See \`config.log' for more details." "$LINENO" 5; }
3568
3553
fi
3569
3554
rm -f conftest conftest$ac_cv_exeext
3570
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3621
3606
    else
3622
3607
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3623
3608
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3624
 
as_fn_error $? "cannot run C++ compiled programs.
 
3609
as_fn_error "cannot run C++ compiled programs.
3625
3610
If you meant to cross compile, use \`--host'.
3626
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3611
See \`config.log' for more details." "$LINENO" 5; }
3627
3612
    fi
3628
3613
  fi
3629
3614
fi
3674
3659
 
3675
3660
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676
3661
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3677
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3678
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3662
as_fn_error "cannot compute suffix of object files: cannot compile
 
3663
See \`config.log' for more details." "$LINENO" 5; }
3679
3664
fi
3680
3665
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3681
3666
fi
4672
4657
 
4673
4658
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4674
4659
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4675
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4676
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4660
as_fn_error "no acceptable C compiler found in \$PATH
 
4661
See \`config.log' for more details." "$LINENO" 5; }
4677
4662
 
4678
4663
# Provide some information about the compiler.
4679
4664
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5284
5269
 
5285
5270
case "$am__api_version" in
5286
5271
    1.01234)
5287
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
5272
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5288
5273
    ;;
5289
5274
    *)
5290
5275
    ;;
5301
5286
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5302
5287
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5303
5288
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5304
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.22 or later." "$LINENO" 5
 
5289
        as_fn_error "Your intltool is too old.  You need intltool 0.22 or later." "$LINENO" 5
5305
5290
fi
5306
5291
 
5307
5292
# Extract the first word of "intltool-update", so it can be a program name with args.
5425
5410
 
5426
5411
 
5427
5412
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5428
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
5413
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5429
5414
fi
5430
5415
 
5431
5416
  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 $< $@'
5707
5692
 
5708
5693
 
5709
5694
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5710
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
5695
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5711
5696
fi
5712
5697
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5713
5698
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5714
5699
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5715
5700
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5716
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
5701
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5717
5702
fi
5718
5703
 
5719
5704
# Extract the first word of "perl", so it can be a program name with args.
5757
5742
 
5758
5743
 
5759
5744
if test -z "$INTLTOOL_PERL"; then
5760
 
   as_fn_error $? "perl not found" "$LINENO" 5
 
5745
   as_fn_error "perl not found" "$LINENO" 5
5761
5746
fi
5762
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5763
5748
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5764
5749
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5765
5750
if test $? -ne 0; then
5766
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
5751
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
5767
5752
else
5768
5753
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5769
5754
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5776
5761
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5777
5762
$as_echo "ok" >&6; }
5778
5763
   else
5779
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
5764
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
5780
5765
   fi
5781
5766
fi
5782
5767
 
5862
5847
  # Broken: fails on valid input.
5863
5848
continue
5864
5849
fi
5865
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5850
rm -f conftest.err conftest.$ac_ext
5866
5851
 
5867
5852
  # OK, works on sane cases.  Now check whether nonexistent headers
5868
5853
  # can be detected and how.
5878
5863
ac_preproc_ok=:
5879
5864
break
5880
5865
fi
5881
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5866
rm -f conftest.err conftest.$ac_ext
5882
5867
 
5883
5868
done
5884
5869
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5885
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
5870
rm -f conftest.err conftest.$ac_ext
5886
5871
if $ac_preproc_ok; then :
5887
5872
  break
5888
5873
fi
5921
5906
  # Broken: fails on valid input.
5922
5907
continue
5923
5908
fi
5924
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5909
rm -f conftest.err conftest.$ac_ext
5925
5910
 
5926
5911
  # OK, works on sane cases.  Now check whether nonexistent headers
5927
5912
  # can be detected and how.
5937
5922
ac_preproc_ok=:
5938
5923
break
5939
5924
fi
5940
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5925
rm -f conftest.err conftest.$ac_ext
5941
5926
 
5942
5927
done
5943
5928
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5944
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
5929
rm -f conftest.err conftest.$ac_ext
5945
5930
if $ac_preproc_ok; then :
5946
5931
 
5947
5932
else
5948
5933
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5949
5934
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5950
 
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5951
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5935
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
 
5936
See \`config.log' for more details." "$LINENO" 5; }
5952
5937
fi
5953
5938
 
5954
5939
ac_ext=cpp
6009
5994
  done
6010
5995
IFS=$as_save_IFS
6011
5996
  if test -z "$ac_cv_path_GREP"; then
6012
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5997
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6013
5998
  fi
6014
5999
else
6015
6000
  ac_cv_path_GREP=$GREP
6075
6060
  done
6076
6061
IFS=$as_save_IFS
6077
6062
  if test -z "$ac_cv_path_EGREP"; then
6078
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6063
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6079
6064
  fi
6080
6065
else
6081
6066
  ac_cv_path_EGREP=$EGREP
6537
6522
 
6538
6523
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6539
6524
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6540
 
as_fn_error $? "no acceptable C compiler found in \$PATH
6541
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6525
as_fn_error "no acceptable C compiler found in \$PATH
 
6526
See \`config.log' for more details." "$LINENO" 5; }
6542
6527
 
6543
6528
# Provide some information about the compiler.
6544
6529
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6913
6898
fi
6914
6899
set dummy $CC; ac_cc=`$as_echo "$2" |
6915
6900
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6916
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
6901
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6917
6902
  $as_echo_n "(cached) " >&6
6918
6903
else
6919
6904
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178
7163
        cc_vers_all=`expr $cc_vers_major '*' 1000000 + $cc_vers_minor '*' 1000 + $cc_vers_patch`
7179
7164
 
7180
7165
        if test $cc_vers_major -lt 3; then
7181
 
                as_fn_error $? "gcc >= 3.0 is needed to compile inkscape" "$LINENO" 5
 
7166
                as_fn_error "gcc >= 3.0 is needed to compile inkscape" "$LINENO" 5
7182
7167
        fi
7183
7168
fi
7184
7169
 
7219
7204
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220
7205
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7221
7206
"
7222
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7207
eval as_val=\$$as_ac_Header
 
7208
   if test "x$as_val" = x""yes; then :
7223
7209
  cat >>confdefs.h <<_ACEOF
7224
7210
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7225
7211
_ACEOF
8032
8018
 
8033
8019
 
8034
8020
if test "x$PKG_CONFIG" = "xno"; then
8035
 
        as_fn_error $? "You have to install pkg-config to compile inkscape." "$LINENO" 5
 
8021
        as_fn_error "You have to install pkg-config to compile inkscape." "$LINENO" 5
8036
8022
fi
8037
8023
 
8038
8024
# Extract the first word of "msgfmt", so it can be a program name with args.
8239
8225
fi
8240
8226
 
8241
8227
if test "x$png_ok" != "xyes"; then
8242
 
        as_fn_error $? "libpng >= 1.2 is needed to compile inkscape" "$LINENO" 5
 
8228
        as_fn_error "libpng >= 1.2 is needed to compile inkscape" "$LINENO" 5
8243
8229
fi
8244
8230
 
8245
8231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
8420
8406
do :
8421
8407
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8422
8408
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8423
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
8409
eval as_val=\$$as_ac_Header
 
8410
   if test "x$as_val" = x""yes; then :
8424
8411
  cat >>confdefs.h <<_ACEOF
8425
8412
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8426
8413
_ACEOF
8623
8610
        if test "$cross_compiling" = yes; then :
8624
8611
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8625
8612
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8626
 
as_fn_error $? "cannot run test program while cross compiling
8627
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
8613
as_fn_error "cannot run test program while cross compiling
 
8614
See \`config.log' for more details." "$LINENO" 5; }
8628
8615
else
8629
8616
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630
8617
/* end confdefs.h.  */
8657
8644
$as_echo "$gc_ok" >&6; }
8658
8645
fi
8659
8646
if test "x$gc_ok" != "xyes"; then
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
 
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
8661
8648
fi
8662
8649
 
8663
8650
for ac_header in sys/filio.h
8792
8779
 
8793
8780
 
8794
8781
if test "x$FREETYPE_CONFIG" = "xno"; then
8795
 
        as_fn_error $? "Cannot find freetype-config" "$LINENO" 5
 
8782
        as_fn_error "Cannot find freetype-config" "$LINENO" 5
8796
8783
fi
8797
8784
FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
8798
8785
FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
8859
8846
if test "x$with_xft" != "xno" ; then
8860
8847
 
8861
8848
 
8862
 
 
8863
 
 
8864
 
 
8865
 
 
8866
8849
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8867
8850
        if test -n "$ac_tool_prefix"; then
8868
8851
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8975
8958
$as_echo "no" >&6; }
8976
8959
                PKG_CONFIG=""
8977
8960
        fi
 
8961
 
8978
8962
fi
8979
8963
 
8980
8964
pkg_failed=no
8981
8965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
8982
8966
$as_echo_n "checking for XFT... " >&6; }
8983
8967
 
8984
 
if test -n "$XFT_CFLAGS"; then
8985
 
    pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
8986
 
 elif test -n "$PKG_CONFIG"; then
8987
 
    if test -n "$PKG_CONFIG" && \
 
8968
if test -n "$PKG_CONFIG"; then
 
8969
    if test -n "$XFT_CFLAGS"; then
 
8970
        pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
 
8971
    else
 
8972
        if test -n "$PKG_CONFIG" && \
8988
8973
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
8989
8974
  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
8990
8975
  ac_status=$?
8994
8979
else
8995
8980
  pkg_failed=yes
8996
8981
fi
8997
 
 else
8998
 
    pkg_failed=untried
 
8982
    fi
 
8983
else
 
8984
        pkg_failed=untried
8999
8985
fi
9000
 
if test -n "$XFT_LIBS"; then
9001
 
    pkg_cv_XFT_LIBS="$XFT_LIBS"
9002
 
 elif test -n "$PKG_CONFIG"; then
9003
 
    if test -n "$PKG_CONFIG" && \
 
8986
if test -n "$PKG_CONFIG"; then
 
8987
    if test -n "$XFT_LIBS"; then
 
8988
        pkg_cv_XFT_LIBS="$XFT_LIBS"
 
8989
    else
 
8990
        if test -n "$PKG_CONFIG" && \
9004
8991
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
9005
8992
  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
9006
8993
  ac_status=$?
9010
8997
else
9011
8998
  pkg_failed=yes
9012
8999
fi
9013
 
 else
9014
 
    pkg_failed=untried
 
9000
    fi
 
9001
else
 
9002
        pkg_failed=untried
9015
9003
fi
9016
9004
 
9017
9005
 
9018
9006
 
9019
9007
if test $pkg_failed = yes; then
9020
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9021
 
$as_echo "no" >&6; }
9022
9008
 
9023
9009
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9024
9010
        _pkg_short_errors_supported=yes
9026
9012
        _pkg_short_errors_supported=no
9027
9013
fi
9028
9014
        if test $_pkg_short_errors_supported = yes; then
9029
 
                XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
 
9015
                XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig"`
9030
9016
        else
9031
 
                XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
 
9017
                XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig"`
9032
9018
        fi
9033
9019
        # Put the nasty error message in config.log where it belongs
9034
9020
        echo "$XFT_PKG_ERRORS" >&5
9035
9021
 
9036
 
        xft_ok=no
 
9022
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9023
$as_echo "no" >&6; }
 
9024
                xft_ok=no
9037
9025
elif test $pkg_failed = untried; then
9038
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039
 
$as_echo "no" >&6; }
9040
9026
        xft_ok=no
9041
9027
else
9042
9028
        XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
9051
9037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
9052
9038
$as_echo_n "checking for XFT... " >&6; }
9053
9039
 
9054
 
if test -n "$XFT_CFLAGS"; then
9055
 
    pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
9056
 
 elif test -n "$PKG_CONFIG"; then
9057
 
    if test -n "$PKG_CONFIG" && \
 
9040
if test -n "$PKG_CONFIG"; then
 
9041
    if test -n "$XFT_CFLAGS"; then
 
9042
        pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
 
9043
    else
 
9044
        if test -n "$PKG_CONFIG" && \
9058
9045
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft\""; } >&5
9059
9046
  ($PKG_CONFIG --exists --print-errors "xft") 2>&5
9060
9047
  ac_status=$?
9064
9051
else
9065
9052
  pkg_failed=yes
9066
9053
fi
9067
 
 else
9068
 
    pkg_failed=untried
 
9054
    fi
 
9055
else
 
9056
        pkg_failed=untried
9069
9057
fi
9070
 
if test -n "$XFT_LIBS"; then
9071
 
    pkg_cv_XFT_LIBS="$XFT_LIBS"
9072
 
 elif test -n "$PKG_CONFIG"; then
9073
 
    if test -n "$PKG_CONFIG" && \
 
9058
if test -n "$PKG_CONFIG"; then
 
9059
    if test -n "$XFT_LIBS"; then
 
9060
        pkg_cv_XFT_LIBS="$XFT_LIBS"
 
9061
    else
 
9062
        if test -n "$PKG_CONFIG" && \
9074
9063
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft\""; } >&5
9075
9064
  ($PKG_CONFIG --exists --print-errors "xft") 2>&5
9076
9065
  ac_status=$?
9080
9069
else
9081
9070
  pkg_failed=yes
9082
9071
fi
9083
 
 else
9084
 
    pkg_failed=untried
 
9072
    fi
 
9073
else
 
9074
        pkg_failed=untried
9085
9075
fi
9086
9076
 
9087
9077
 
9088
9078
 
9089
9079
if test $pkg_failed = yes; then
9090
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091
 
$as_echo "no" >&6; }
9092
9080
 
9093
9081
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9094
9082
        _pkg_short_errors_supported=yes
9096
9084
        _pkg_short_errors_supported=no
9097
9085
fi
9098
9086
        if test $_pkg_short_errors_supported = yes; then
9099
 
                XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xft" 2>&1`
 
9087
                XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xft"`
9100
9088
        else
9101
 
                XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft" 2>&1`
 
9089
                XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft"`
9102
9090
        fi
9103
9091
        # Put the nasty error message in config.log where it belongs
9104
9092
        echo "$XFT_PKG_ERRORS" >&5
9105
9093
 
9106
 
        xft_ok=no
 
9094
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9095
$as_echo "no" >&6; }
 
9096
                xft_ok=no
9107
9097
elif test $pkg_failed = untried; then
9108
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109
 
$as_echo "no" >&6; }
9110
9098
        xft_ok=no
9111
9099
else
9112
9100
        XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
9126
9114
 
9127
9115
                        if test "x$xft_ok" != "xyes"; then
9128
9116
                                                                if test "x$with_xft" = "xyes"; then
9129
 
                                                                                as_fn_error $? "--with-xft was specified, but appropriate development packages could not be found" "$LINENO" 5
 
9117
                                                                                as_fn_error "--with-xft was specified, but appropriate development packages could not be found" "$LINENO" 5
9130
9118
                                fi
9131
9119
                        else
9132
9120
                                                                XFT_LIBS="-L/usr/X11R6/lib -lXft "
9161
9149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
9162
9150
$as_echo_n "checking for PANGOFT2... " >&6; }
9163
9151
 
9164
 
if test -n "$PANGOFT2_CFLAGS"; then
9165
 
    pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
9166
 
 elif test -n "$PKG_CONFIG"; then
9167
 
    if test -n "$PKG_CONFIG" && \
 
9152
if test -n "$PKG_CONFIG"; then
 
9153
    if test -n "$PANGOFT2_CFLAGS"; then
 
9154
        pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
 
9155
    else
 
9156
        if test -n "$PKG_CONFIG" && \
9168
9157
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
9169
9158
  ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
9170
9159
  ac_status=$?
9174
9163
else
9175
9164
  pkg_failed=yes
9176
9165
fi
9177
 
 else
9178
 
    pkg_failed=untried
 
9166
    fi
 
9167
else
 
9168
        pkg_failed=untried
9179
9169
fi
9180
 
if test -n "$PANGOFT2_LIBS"; then
9181
 
    pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
9182
 
 elif test -n "$PKG_CONFIG"; then
9183
 
    if test -n "$PKG_CONFIG" && \
 
9170
if test -n "$PKG_CONFIG"; then
 
9171
    if test -n "$PANGOFT2_LIBS"; then
 
9172
        pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
 
9173
    else
 
9174
        if test -n "$PKG_CONFIG" && \
9184
9175
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
9185
9176
  ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
9186
9177
  ac_status=$?
9190
9181
else
9191
9182
  pkg_failed=yes
9192
9183
fi
9193
 
 else
9194
 
    pkg_failed=untried
 
9184
    fi
 
9185
else
 
9186
        pkg_failed=untried
9195
9187
fi
9196
9188
 
9197
9189
 
9198
9190
 
9199
9191
if test $pkg_failed = yes; then
9200
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9201
 
$as_echo "no" >&6; }
9202
9192
 
9203
9193
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9204
9194
        _pkg_short_errors_supported=yes
9206
9196
        _pkg_short_errors_supported=no
9207
9197
fi
9208
9198
        if test $_pkg_short_errors_supported = yes; then
9209
 
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pangoft2" 2>&1`
 
9199
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
9210
9200
        else
9211
 
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --print-errors "pangoft2" 2>&1`
 
9201
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
9212
9202
        fi
9213
9203
        # Put the nasty error message in config.log where it belongs
9214
9204
        echo "$PANGOFT2_PKG_ERRORS" >&5
9215
9205
 
9216
 
        pango_ok=no
 
9206
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9207
$as_echo "no" >&6; }
 
9208
                pango_ok=no
9217
9209
elif test $pkg_failed = untried; then
9218
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219
 
$as_echo "no" >&6; }
9220
9210
        pango_ok=no
9221
9211
else
9222
9212
        PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
9249
9239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5
9250
9240
$as_echo_n "checking for GNOME_VFS... " >&6; }
9251
9241
 
9252
 
if test -n "$GNOME_VFS_CFLAGS"; then
9253
 
    pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
9254
 
 elif test -n "$PKG_CONFIG"; then
9255
 
    if test -n "$PKG_CONFIG" && \
 
9242
if test -n "$PKG_CONFIG"; then
 
9243
    if test -n "$GNOME_VFS_CFLAGS"; then
 
9244
        pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
 
9245
    else
 
9246
        if test -n "$PKG_CONFIG" && \
9256
9247
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
9257
9248
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
9258
9249
  ac_status=$?
9262
9253
else
9263
9254
  pkg_failed=yes
9264
9255
fi
9265
 
 else
9266
 
    pkg_failed=untried
 
9256
    fi
 
9257
else
 
9258
        pkg_failed=untried
9267
9259
fi
9268
 
if test -n "$GNOME_VFS_LIBS"; then
9269
 
    pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
9270
 
 elif test -n "$PKG_CONFIG"; then
9271
 
    if test -n "$PKG_CONFIG" && \
 
9260
if test -n "$PKG_CONFIG"; then
 
9261
    if test -n "$GNOME_VFS_LIBS"; then
 
9262
        pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
 
9263
    else
 
9264
        if test -n "$PKG_CONFIG" && \
9272
9265
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
9273
9266
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
9274
9267
  ac_status=$?
9278
9271
else
9279
9272
  pkg_failed=yes
9280
9273
fi
9281
 
 else
9282
 
    pkg_failed=untried
 
9274
    fi
 
9275
else
 
9276
        pkg_failed=untried
9283
9277
fi
9284
9278
 
9285
9279
 
9286
9280
 
9287
9281
if test $pkg_failed = yes; then
9288
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9289
 
$as_echo "no" >&6; }
9290
9282
 
9291
9283
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9292
9284
        _pkg_short_errors_supported=yes
9294
9286
        _pkg_short_errors_supported=no
9295
9287
fi
9296
9288
        if test $_pkg_short_errors_supported = yes; then
9297
 
                GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-vfs-2.0 >= 2.0" 2>&1`
 
9289
                GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
9298
9290
        else
9299
 
                GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-vfs-2.0 >= 2.0" 2>&1`
 
9291
                GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
9300
9292
        fi
9301
9293
        # Put the nasty error message in config.log where it belongs
9302
9294
        echo "$GNOME_VFS_PKG_ERRORS" >&5
9303
9295
 
9304
 
        gnome_vfs=no
 
9296
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9297
$as_echo "no" >&6; }
 
9298
                gnome_vfs=no
9305
9299
elif test $pkg_failed = untried; then
9306
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307
 
$as_echo "no" >&6; }
9308
9300
        gnome_vfs=no
9309
9301
else
9310
9302
        GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
9315
9307
fi
9316
9308
        if test "x$gnome_vfs" != "xyes"; then
9317
9309
                                if test "x$with_gnome_vfs" = "xyes"; then
9318
 
                                                as_fn_error $? "--with-gnome-vfs was specified, but appropriate libgnomevfs development packages could not be found" "$LINENO" 5
 
9310
                                                as_fn_error "--with-gnome-vfs was specified, but appropriate libgnomevfs development packages could not be found" "$LINENO" 5
9319
9311
                else
9320
9312
                        # gnome-vfs is no, tell us for the log file
9321
9313
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnome_vfs" >&5
9575
9567
 
9576
9568
     ;; #(
9577
9569
   *)
9578
 
     as_fn_error $? "unknown endianness
9579
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
9570
     as_fn_error "unknown endianness
 
9571
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
9580
9572
 esac
9581
9573
 
9582
9574
        for ac_header in zlib.h
9753
9745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
9754
9746
$as_echo_n "checking for LCMS... " >&6; }
9755
9747
 
9756
 
if test -n "$LCMS_CFLAGS"; then
9757
 
    pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
9758
 
 elif test -n "$PKG_CONFIG"; then
9759
 
    if test -n "$PKG_CONFIG" && \
 
9748
if test -n "$PKG_CONFIG"; then
 
9749
    if test -n "$LCMS_CFLAGS"; then
 
9750
        pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
 
9751
    else
 
9752
        if test -n "$PKG_CONFIG" && \
9760
9753
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.13\""; } >&5
9761
9754
  ($PKG_CONFIG --exists --print-errors "lcms >= 1.13") 2>&5
9762
9755
  ac_status=$?
9766
9759
else
9767
9760
  pkg_failed=yes
9768
9761
fi
9769
 
 else
9770
 
    pkg_failed=untried
 
9762
    fi
 
9763
else
 
9764
        pkg_failed=untried
9771
9765
fi
9772
 
if test -n "$LCMS_LIBS"; then
9773
 
    pkg_cv_LCMS_LIBS="$LCMS_LIBS"
9774
 
 elif test -n "$PKG_CONFIG"; then
9775
 
    if test -n "$PKG_CONFIG" && \
 
9766
if test -n "$PKG_CONFIG"; then
 
9767
    if test -n "$LCMS_LIBS"; then
 
9768
        pkg_cv_LCMS_LIBS="$LCMS_LIBS"
 
9769
    else
 
9770
        if test -n "$PKG_CONFIG" && \
9776
9771
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.13\""; } >&5
9777
9772
  ($PKG_CONFIG --exists --print-errors "lcms >= 1.13") 2>&5
9778
9773
  ac_status=$?
9782
9777
else
9783
9778
  pkg_failed=yes
9784
9779
fi
9785
 
 else
9786
 
    pkg_failed=untried
 
9780
    fi
 
9781
else
 
9782
        pkg_failed=untried
9787
9783
fi
9788
9784
 
9789
9785
 
9790
9786
 
9791
9787
if test $pkg_failed = yes; then
9792
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9793
 
$as_echo "no" >&6; }
9794
9788
 
9795
9789
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9796
9790
        _pkg_short_errors_supported=yes
9798
9792
        _pkg_short_errors_supported=no
9799
9793
fi
9800
9794
        if test $_pkg_short_errors_supported = yes; then
9801
 
                LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lcms >= 1.13" 2>&1`
 
9795
                LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lcms >= 1.13"`
9802
9796
        else
9803
 
                LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors "lcms >= 1.13" 2>&1`
 
9797
                LCMS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lcms >= 1.13"`
9804
9798
        fi
9805
9799
        # Put the nasty error message in config.log where it belongs
9806
9800
        echo "$LCMS_PKG_ERRORS" >&5
9807
9801
 
9808
 
        lcms=no
 
9802
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9803
$as_echo "no" >&6; }
 
9804
                lcms=no
9809
9805
elif test $pkg_failed = untried; then
9810
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9811
 
$as_echo "no" >&6; }
9812
9806
        lcms=no
9813
9807
else
9814
9808
        LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
9819
9813
fi
9820
9814
        if test "x$lcms" != "xyes"; then
9821
9815
                                if test "x$enable_lcms" = "xyes"; then
9822
 
                                                as_fn_error $? "--enable-lcms was specified, but appropriate LittleCms development packages could not be found" "$LINENO" 5
 
9816
                                                as_fn_error "--enable-lcms was specified, but appropriate LittleCms development packages could not be found" "$LINENO" 5
9823
9817
                else
9824
9818
                        # lcms is no, tell us for the log file
9825
9819
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcms" >&5
9851
9845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
9852
9846
$as_echo_n "checking for POPPLER... " >&6; }
9853
9847
 
9854
 
if test -n "$POPPLER_CFLAGS"; then
9855
 
    pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
9856
 
 elif test -n "$PKG_CONFIG"; then
9857
 
    if test -n "$PKG_CONFIG" && \
 
9848
if test -n "$PKG_CONFIG"; then
 
9849
    if test -n "$POPPLER_CFLAGS"; then
 
9850
        pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
 
9851
    else
 
9852
        if test -n "$PKG_CONFIG" && \
9858
9853
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.5.9\""; } >&5
9859
9854
  ($PKG_CONFIG --exists --print-errors "poppler >= 0.5.9") 2>&5
9860
9855
  ac_status=$?
9864
9859
else
9865
9860
  pkg_failed=yes
9866
9861
fi
9867
 
 else
9868
 
    pkg_failed=untried
 
9862
    fi
 
9863
else
 
9864
        pkg_failed=untried
9869
9865
fi
9870
 
if test -n "$POPPLER_LIBS"; then
9871
 
    pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
9872
 
 elif test -n "$PKG_CONFIG"; then
9873
 
    if test -n "$PKG_CONFIG" && \
 
9866
if test -n "$PKG_CONFIG"; then
 
9867
    if test -n "$POPPLER_LIBS"; then
 
9868
        pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
 
9869
    else
 
9870
        if test -n "$PKG_CONFIG" && \
9874
9871
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.5.9\""; } >&5
9875
9872
  ($PKG_CONFIG --exists --print-errors "poppler >= 0.5.9") 2>&5
9876
9873
  ac_status=$?
9880
9877
else
9881
9878
  pkg_failed=yes
9882
9879
fi
9883
 
 else
9884
 
    pkg_failed=untried
 
9880
    fi
 
9881
else
 
9882
        pkg_failed=untried
9885
9883
fi
9886
9884
 
9887
9885
 
9888
9886
 
9889
9887
if test $pkg_failed = yes; then
9890
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9891
 
$as_echo "no" >&6; }
9892
9888
 
9893
9889
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9894
9890
        _pkg_short_errors_supported=yes
9896
9892
        _pkg_short_errors_supported=no
9897
9893
fi
9898
9894
        if test $_pkg_short_errors_supported = yes; then
9899
 
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler >= 0.5.9" 2>&1`
 
9895
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler >= 0.5.9"`
9900
9896
        else
9901
 
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler >= 0.5.9" 2>&1`
 
9897
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler >= 0.5.9"`
9902
9898
        fi
9903
9899
        # Put the nasty error message in config.log where it belongs
9904
9900
        echo "$POPPLER_PKG_ERRORS" >&5
9905
9901
 
9906
 
        poppler=no
 
9902
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9903
$as_echo "no" >&6; }
 
9904
                poppler=no
9907
9905
elif test $pkg_failed = untried; then
9908
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9909
 
$as_echo "no" >&6; }
9910
9906
        poppler=no
9911
9907
else
9912
9908
        POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
9922
9918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_GLIB" >&5
9923
9919
$as_echo_n "checking for POPPLER_GLIB... " >&6; }
9924
9920
 
9925
 
if test -n "$POPPLER_GLIB_CFLAGS"; then
9926
 
    pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS"
9927
 
 elif test -n "$PKG_CONFIG"; then
9928
 
    if test -n "$PKG_CONFIG" && \
 
9921
if test -n "$PKG_CONFIG"; then
 
9922
    if test -n "$POPPLER_GLIB_CFLAGS"; then
 
9923
        pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS"
 
9924
    else
 
9925
        if test -n "$PKG_CONFIG" && \
9929
9926
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.5.9\""; } >&5
9930
9927
  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.5.9") 2>&5
9931
9928
  ac_status=$?
9935
9932
else
9936
9933
  pkg_failed=yes
9937
9934
fi
9938
 
 else
9939
 
    pkg_failed=untried
 
9935
    fi
 
9936
else
 
9937
        pkg_failed=untried
9940
9938
fi
9941
 
if test -n "$POPPLER_GLIB_LIBS"; then
9942
 
    pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS"
9943
 
 elif test -n "$PKG_CONFIG"; then
9944
 
    if test -n "$PKG_CONFIG" && \
 
9939
if test -n "$PKG_CONFIG"; then
 
9940
    if test -n "$POPPLER_GLIB_LIBS"; then
 
9941
        pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS"
 
9942
    else
 
9943
        if test -n "$PKG_CONFIG" && \
9945
9944
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.5.9\""; } >&5
9946
9945
  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.5.9") 2>&5
9947
9946
  ac_status=$?
9951
9950
else
9952
9951
  pkg_failed=yes
9953
9952
fi
9954
 
 else
9955
 
    pkg_failed=untried
 
9953
    fi
 
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; }
9963
9961
 
9964
9962
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9965
9963
        _pkg_short_errors_supported=yes
9967
9965
        _pkg_short_errors_supported=no
9968
9966
fi
9969
9967
        if test $_pkg_short_errors_supported = yes; then
9970
 
                POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler-glib >= 0.5.9" 2>&1`
 
9968
                POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-glib >= 0.5.9"`
9971
9969
        else
9972
 
                POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler-glib >= 0.5.9" 2>&1`
 
9970
                POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-glib >= 0.5.9"`
9973
9971
        fi
9974
9972
        # Put the nasty error message in config.log where it belongs
9975
9973
        echo "$POPPLER_GLIB_PKG_ERRORS" >&5
9976
9974
 
9977
 
        poppler_glib=no
 
9975
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9976
$as_echo "no" >&6; }
 
9977
                poppler_glib=no
9978
9978
elif test $pkg_failed = untried; then
9979
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980
 
$as_echo "no" >&6; }
9981
9979
        poppler_glib=no
9982
9980
else
9983
9981
        POPPLER_GLIB_CFLAGS=$pkg_cv_POPPLER_GLIB_CFLAGS
9992
9990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_SVG" >&5
9993
9991
$as_echo_n "checking for CAIRO_SVG... " >&6; }
9994
9992
 
9995
 
if test -n "$CAIRO_SVG_CFLAGS"; then
9996
 
    pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
9997
 
 elif test -n "$PKG_CONFIG"; then
9998
 
    if test -n "$PKG_CONFIG" && \
 
9993
if test -n "$PKG_CONFIG"; then
 
9994
    if test -n "$CAIRO_SVG_CFLAGS"; then
 
9995
        pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
 
9996
    else
 
9997
        if test -n "$PKG_CONFIG" && \
9999
9998
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-svg\""; } >&5
10000
9999
  ($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
10001
10000
  ac_status=$?
10005
10004
else
10006
10005
  pkg_failed=yes
10007
10006
fi
10008
 
 else
10009
 
    pkg_failed=untried
 
10007
    fi
 
10008
else
 
10009
        pkg_failed=untried
10010
10010
fi
10011
 
if test -n "$CAIRO_SVG_LIBS"; then
10012
 
    pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
10013
 
 elif test -n "$PKG_CONFIG"; then
10014
 
    if test -n "$PKG_CONFIG" && \
 
10011
if test -n "$PKG_CONFIG"; then
 
10012
    if test -n "$CAIRO_SVG_LIBS"; then
 
10013
        pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
 
10014
    else
 
10015
        if test -n "$PKG_CONFIG" && \
10015
10016
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-svg\""; } >&5
10016
10017
  ($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
10017
10018
  ac_status=$?
10021
10022
else
10022
10023
  pkg_failed=yes
10023
10024
fi
10024
 
 else
10025
 
    pkg_failed=untried
 
10025
    fi
 
10026
else
 
10027
        pkg_failed=untried
10026
10028
fi
10027
10029
 
10028
10030
 
10029
10031
 
10030
10032
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 --print-errors "cairo-svg" 2>&1`
 
10040
                CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-svg"`
10041
10041
        else
10042
 
                CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-svg" 2>&1`
 
10042
                CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-svg"`
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
 
        cairo_svg=no
 
10047
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10048
$as_echo "no" >&6; }
 
10049
                cairo_svg=no
10048
10050
elif test $pkg_failed = untried; then
10049
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10050
 
$as_echo "no" >&6; }
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 "$POPPLER_CAIRO_CFLAGS"; then
10070
 
    pkg_cv_POPPLER_CAIRO_CFLAGS="$POPPLER_CAIRO_CFLAGS"
10071
 
 elif test -n "$PKG_CONFIG"; then
10072
 
    if test -n "$PKG_CONFIG" && \
 
10069
if test -n "$PKG_CONFIG"; then
 
10070
    if test -n "$POPPLER_CAIRO_CFLAGS"; then
 
10071
        pkg_cv_POPPLER_CAIRO_CFLAGS="$POPPLER_CAIRO_CFLAGS"
 
10072
    else
 
10073
        if test -n "$PKG_CONFIG" && \
10073
10074
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-cairo >= 0.5.9\""; } >&5
10074
10075
  ($PKG_CONFIG --exists --print-errors "poppler-cairo >= 0.5.9") 2>&5
10075
10076
  ac_status=$?
10079
10080
else
10080
10081
  pkg_failed=yes
10081
10082
fi
10082
 
 else
10083
 
    pkg_failed=untried
 
10083
    fi
 
10084
else
 
10085
        pkg_failed=untried
10084
10086
fi
10085
 
if test -n "$POPPLER_CAIRO_LIBS"; then
10086
 
    pkg_cv_POPPLER_CAIRO_LIBS="$POPPLER_CAIRO_LIBS"
10087
 
 elif test -n "$PKG_CONFIG"; then
10088
 
    if test -n "$PKG_CONFIG" && \
 
10087
if test -n "$PKG_CONFIG"; then
 
10088
    if test -n "$POPPLER_CAIRO_LIBS"; then
 
10089
        pkg_cv_POPPLER_CAIRO_LIBS="$POPPLER_CAIRO_LIBS"
 
10090
    else
 
10091
        if test -n "$PKG_CONFIG" && \
10089
10092
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-cairo >= 0.5.9\""; } >&5
10090
10093
  ($PKG_CONFIG --exists --print-errors "poppler-cairo >= 0.5.9") 2>&5
10091
10094
  ac_status=$?
10095
10098
else
10096
10099
  pkg_failed=yes
10097
10100
fi
10098
 
 else
10099
 
    pkg_failed=untried
 
10101
    fi
 
10102
else
 
10103
        pkg_failed=untried
10100
10104
fi
10101
10105
 
10102
10106
 
10103
10107
 
10104
10108
if test $pkg_failed = yes; then
10105
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10106
 
$as_echo "no" >&6; }
10107
10109
 
10108
10110
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10109
10111
        _pkg_short_errors_supported=yes
10111
10113
        _pkg_short_errors_supported=no
10112
10114
fi
10113
10115
        if test $_pkg_short_errors_supported = yes; then
10114
 
                POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler-cairo >= 0.5.9" 2>&1`
 
10116
                POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-cairo >= 0.5.9"`
10115
10117
        else
10116
 
                POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler-cairo >= 0.5.9" 2>&1`
 
10118
                POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-cairo >= 0.5.9"`
10117
10119
        fi
10118
10120
        # Put the nasty error message in config.log where it belongs
10119
10121
        echo "$POPPLER_CAIRO_PKG_ERRORS" >&5
10120
10122
 
10121
 
        poppler_cairo=no
 
10123
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10124
$as_echo "no" >&6; }
 
10125
                poppler_cairo=no
10122
10126
elif test $pkg_failed = untried; then
10123
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124
 
$as_echo "no" >&6; }
10125
10127
        poppler_cairo=no
10126
10128
else
10127
10129
        POPPLER_CAIRO_CFLAGS=$pkg_cv_POPPLER_CAIRO_CFLAGS
10162
10164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_GFXFONT" >&5
10163
10165
$as_echo_n "checking for POPPLER_GFXFONT... " >&6; }
10164
10166
 
10165
 
if test -n "$POPPLER_GFXFONT_CFLAGS"; then
10166
 
    pkg_cv_POPPLER_GFXFONT_CFLAGS="$POPPLER_GFXFONT_CFLAGS"
10167
 
 elif test -n "$PKG_CONFIG"; then
10168
 
    if test -n "$PKG_CONFIG" && \
 
10167
if test -n "$PKG_CONFIG"; then
 
10168
    if test -n "$POPPLER_GFXFONT_CFLAGS"; then
 
10169
        pkg_cv_POPPLER_GFXFONT_CFLAGS="$POPPLER_GFXFONT_CFLAGS"
 
10170
    else
 
10171
        if test -n "$PKG_CONFIG" && \
10169
10172
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.8.3\""; } >&5
10170
10173
  ($PKG_CONFIG --exists --print-errors "poppler >= 0.8.3") 2>&5
10171
10174
  ac_status=$?
10175
10178
else
10176
10179
  pkg_failed=yes
10177
10180
fi
10178
 
 else
10179
 
    pkg_failed=untried
 
10181
    fi
 
10182
else
 
10183
        pkg_failed=untried
10180
10184
fi
10181
 
if test -n "$POPPLER_GFXFONT_LIBS"; then
10182
 
    pkg_cv_POPPLER_GFXFONT_LIBS="$POPPLER_GFXFONT_LIBS"
10183
 
 elif test -n "$PKG_CONFIG"; then
10184
 
    if test -n "$PKG_CONFIG" && \
 
10185
if test -n "$PKG_CONFIG"; then
 
10186
    if test -n "$POPPLER_GFXFONT_LIBS"; then
 
10187
        pkg_cv_POPPLER_GFXFONT_LIBS="$POPPLER_GFXFONT_LIBS"
 
10188
    else
 
10189
        if test -n "$PKG_CONFIG" && \
10185
10190
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.8.3\""; } >&5
10186
10191
  ($PKG_CONFIG --exists --print-errors "poppler >= 0.8.3") 2>&5
10187
10192
  ac_status=$?
10191
10196
else
10192
10197
  pkg_failed=yes
10193
10198
fi
10194
 
 else
10195
 
    pkg_failed=untried
 
10199
    fi
 
10200
else
 
10201
        pkg_failed=untried
10196
10202
fi
10197
10203
 
10198
10204
 
10199
10205
 
10200
10206
if test $pkg_failed = yes; then
10201
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202
 
$as_echo "no" >&6; }
10203
10207
 
10204
10208
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10205
10209
        _pkg_short_errors_supported=yes
10207
10211
        _pkg_short_errors_supported=no
10208
10212
fi
10209
10213
        if test $_pkg_short_errors_supported = yes; then
10210
 
                POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "poppler >= 0.8.3" 2>&1`
 
10214
                POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler >= 0.8.3"`
10211
10215
        else
10212
 
                POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "poppler >= 0.8.3" 2>&1`
 
10216
                POPPLER_GFXFONT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler >= 0.8.3"`
10213
10217
        fi
10214
10218
        # Put the nasty error message in config.log where it belongs
10215
10219
        echo "$POPPLER_GFXFONT_PKG_ERRORS" >&5
10216
10220
 
10217
 
        popplernew=no
 
10221
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10222
$as_echo "no" >&6; }
 
10223
                popplernew=no
10218
10224
elif test $pkg_failed = untried; then
10219
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220
 
$as_echo "no" >&6; }
10221
10225
        popplernew=no
10222
10226
else
10223
10227
        POPPLER_GFXFONT_CFLAGS=$pkg_cv_POPPLER_GFXFONT_CFLAGS
10232
10236
 
10233
10237
fi
10234
10238
 
 
10239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for new color space API in Poppler" >&5
 
10240
$as_echo_n "checking for new color space API in Poppler... " >&6; }
10235
10241
ink_svd_CPPFLAGS=$CPPFLAGS
10236
10242
ink_svd_LIBS=$LIBS
10237
10243
CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
10238
10244
LIBS="$LIBS $POPPLER_LIBS"
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; }
10242
10245
popplercolor="no"
10243
10246
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244
10247
/* end confdefs.h.  */
10257
10260
  popplercolor=yes
10258
10261
fi
10259
10262
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10263
CPPFLAGS=$ink_svd_CPPFLAGS
 
10264
LIBS=$ink_svd_LIBS
 
10265
 
10260
10266
if test "x$popplercolor" = "xyes"; then
10261
10267
 
10262
10268
$as_echo "#define POPPLER_NEW_COLOR_SPACE_API 1" >>confdefs.h
10268
10274
$as_echo "no" >&6; }
10269
10275
fi
10270
10276
 
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
 
 
10303
 
CPPFLAGS=$ink_svd_CPPFLAGS
10304
 
LIBS=$ink_svd_LIBS
10305
 
 
10306
10277
 
10307
10278
 
10308
10279
 
10321
10292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBWPG" >&5
10322
10293
$as_echo_n "checking for LIBWPG... " >&6; }
10323
10294
 
10324
 
if test -n "$LIBWPG_CFLAGS"; then
10325
 
    pkg_cv_LIBWPG_CFLAGS="$LIBWPG_CFLAGS"
10326
 
 elif test -n "$PKG_CONFIG"; then
10327
 
    if test -n "$PKG_CONFIG" && \
 
10295
if test -n "$PKG_CONFIG"; then
 
10296
    if test -n "$LIBWPG_CFLAGS"; then
 
10297
        pkg_cv_LIBWPG_CFLAGS="$LIBWPG_CFLAGS"
 
10298
    else
 
10299
        if test -n "$PKG_CONFIG" && \
10328
10300
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwpg-0.1 libwpg-stream-0.1\""; } >&5
10329
10301
  ($PKG_CONFIG --exists --print-errors "libwpg-0.1 libwpg-stream-0.1") 2>&5
10330
10302
  ac_status=$?
10334
10306
else
10335
10307
  pkg_failed=yes
10336
10308
fi
10337
 
 else
10338
 
    pkg_failed=untried
 
10309
    fi
 
10310
else
 
10311
        pkg_failed=untried
10339
10312
fi
10340
 
if test -n "$LIBWPG_LIBS"; then
10341
 
    pkg_cv_LIBWPG_LIBS="$LIBWPG_LIBS"
10342
 
 elif test -n "$PKG_CONFIG"; then
10343
 
    if test -n "$PKG_CONFIG" && \
 
10313
if test -n "$PKG_CONFIG"; then
 
10314
    if test -n "$LIBWPG_LIBS"; then
 
10315
        pkg_cv_LIBWPG_LIBS="$LIBWPG_LIBS"
 
10316
    else
 
10317
        if test -n "$PKG_CONFIG" && \
10344
10318
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwpg-0.1 libwpg-stream-0.1\""; } >&5
10345
10319
  ($PKG_CONFIG --exists --print-errors "libwpg-0.1 libwpg-stream-0.1") 2>&5
10346
10320
  ac_status=$?
10350
10324
else
10351
10325
  pkg_failed=yes
10352
10326
fi
10353
 
 else
10354
 
    pkg_failed=untried
 
10327
    fi
 
10328
else
 
10329
        pkg_failed=untried
10355
10330
fi
10356
10331
 
10357
10332
 
10358
10333
 
10359
10334
if test $pkg_failed = yes; then
10360
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10361
 
$as_echo "no" >&6; }
10362
10335
 
10363
10336
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10364
10337
        _pkg_short_errors_supported=yes
10366
10339
        _pkg_short_errors_supported=no
10367
10340
fi
10368
10341
        if test $_pkg_short_errors_supported = yes; then
10369
 
                LIBWPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libwpg-0.1 libwpg-stream-0.1" 2>&1`
 
10342
                LIBWPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libwpg-0.1 libwpg-stream-0.1"`
10370
10343
        else
10371
 
                LIBWPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libwpg-0.1 libwpg-stream-0.1" 2>&1`
 
10344
                LIBWPG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpg-0.1 libwpg-stream-0.1"`
10372
10345
        fi
10373
10346
        # Put the nasty error message in config.log where it belongs
10374
10347
        echo "$LIBWPG_PKG_ERRORS" >&5
10375
10348
 
10376
 
        with_libwpg=no
 
10349
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10350
$as_echo "no" >&6; }
 
10351
                with_libwpg=no
10377
10352
elif test $pkg_failed = untried; then
10378
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10379
 
$as_echo "no" >&6; }
10380
10353
        with_libwpg=no
10381
10354
else
10382
10355
        LIBWPG_CFLAGS=$pkg_cv_LIBWPG_CFLAGS
10408
10381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMAGEMAGICK" >&5
10409
10382
$as_echo_n "checking for IMAGEMAGICK... " >&6; }
10410
10383
 
10411
 
if test -n "$IMAGEMAGICK_CFLAGS"; then
10412
 
    pkg_cv_IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
10413
 
 elif test -n "$PKG_CONFIG"; then
10414
 
    if test -n "$PKG_CONFIG" && \
 
10384
if test -n "$PKG_CONFIG"; then
 
10385
    if test -n "$IMAGEMAGICK_CFLAGS"; then
 
10386
        pkg_cv_IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
 
10387
    else
 
10388
        if test -n "$PKG_CONFIG" && \
10415
10389
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ImageMagick++\""; } >&5
10416
10390
  ($PKG_CONFIG --exists --print-errors "ImageMagick++") 2>&5
10417
10391
  ac_status=$?
10421
10395
else
10422
10396
  pkg_failed=yes
10423
10397
fi
10424
 
 else
10425
 
    pkg_failed=untried
 
10398
    fi
 
10399
else
 
10400
        pkg_failed=untried
10426
10401
fi
10427
 
if test -n "$IMAGEMAGICK_LIBS"; then
10428
 
    pkg_cv_IMAGEMAGICK_LIBS="$IMAGEMAGICK_LIBS"
10429
 
 elif test -n "$PKG_CONFIG"; then
10430
 
    if test -n "$PKG_CONFIG" && \
 
10402
if test -n "$PKG_CONFIG"; then
 
10403
    if test -n "$IMAGEMAGICK_LIBS"; then
 
10404
        pkg_cv_IMAGEMAGICK_LIBS="$IMAGEMAGICK_LIBS"
 
10405
    else
 
10406
        if test -n "$PKG_CONFIG" && \
10431
10407
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ImageMagick++\""; } >&5
10432
10408
  ($PKG_CONFIG --exists --print-errors "ImageMagick++") 2>&5
10433
10409
  ac_status=$?
10437
10413
else
10438
10414
  pkg_failed=yes
10439
10415
fi
10440
 
 else
10441
 
    pkg_failed=untried
 
10416
    fi
 
10417
else
 
10418
        pkg_failed=untried
10442
10419
fi
10443
10420
 
10444
10421
 
10445
10422
 
10446
10423
if test $pkg_failed = yes; then
10447
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10448
 
$as_echo "no" >&6; }
10449
10424
 
10450
10425
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10451
10426
        _pkg_short_errors_supported=yes
10453
10428
        _pkg_short_errors_supported=no
10454
10429
fi
10455
10430
        if test $_pkg_short_errors_supported = yes; then
10456
 
                IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ImageMagick++" 2>&1`
 
10431
                IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ImageMagick++"`
10457
10432
        else
10458
 
                IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --print-errors "ImageMagick++" 2>&1`
 
10433
                IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ImageMagick++"`
10459
10434
        fi
10460
10435
        # Put the nasty error message in config.log where it belongs
10461
10436
        echo "$IMAGEMAGICK_PKG_ERRORS" >&5
10462
10437
 
10463
 
        magick_ok=no
 
10438
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10439
$as_echo "no" >&6; }
 
10440
                magick_ok=no
10464
10441
elif test $pkg_failed = untried; then
10465
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466
 
$as_echo "no" >&6; }
10467
10442
        magick_ok=no
10468
10443
else
10469
10444
        IMAGEMAGICK_CFLAGS=$pkg_cv_IMAGEMAGICK_CFLAGS
10495
10470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_USER_FONTS" >&5
10496
10471
$as_echo_n "checking for CAIRO_USER_FONTS... " >&6; }
10497
10472
 
10498
 
if test -n "$CAIRO_USER_FONTS_CFLAGS"; then
10499
 
    pkg_cv_CAIRO_USER_FONTS_CFLAGS="$CAIRO_USER_FONTS_CFLAGS"
10500
 
 elif test -n "$PKG_CONFIG"; then
10501
 
    if test -n "$PKG_CONFIG" && \
 
10473
if test -n "$PKG_CONFIG"; then
 
10474
    if test -n "$CAIRO_USER_FONTS_CFLAGS"; then
 
10475
        pkg_cv_CAIRO_USER_FONTS_CFLAGS="$CAIRO_USER_FONTS_CFLAGS"
 
10476
    else
 
10477
        if test -n "$PKG_CONFIG" && \
10502
10478
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo > 1.7.6\""; } >&5
10503
10479
  ($PKG_CONFIG --exists --print-errors "cairo > 1.7.6") 2>&5
10504
10480
  ac_status=$?
10508
10484
else
10509
10485
  pkg_failed=yes
10510
10486
fi
10511
 
 else
10512
 
    pkg_failed=untried
 
10487
    fi
 
10488
else
 
10489
        pkg_failed=untried
10513
10490
fi
10514
 
if test -n "$CAIRO_USER_FONTS_LIBS"; then
10515
 
    pkg_cv_CAIRO_USER_FONTS_LIBS="$CAIRO_USER_FONTS_LIBS"
10516
 
 elif test -n "$PKG_CONFIG"; then
10517
 
    if test -n "$PKG_CONFIG" && \
 
10491
if test -n "$PKG_CONFIG"; then
 
10492
    if test -n "$CAIRO_USER_FONTS_LIBS"; then
 
10493
        pkg_cv_CAIRO_USER_FONTS_LIBS="$CAIRO_USER_FONTS_LIBS"
 
10494
    else
 
10495
        if test -n "$PKG_CONFIG" && \
10518
10496
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo > 1.7.6\""; } >&5
10519
10497
  ($PKG_CONFIG --exists --print-errors "cairo > 1.7.6") 2>&5
10520
10498
  ac_status=$?
10524
10502
else
10525
10503
  pkg_failed=yes
10526
10504
fi
10527
 
 else
10528
 
    pkg_failed=untried
 
10505
    fi
 
10506
else
 
10507
        pkg_failed=untried
10529
10508
fi
10530
10509
 
10531
10510
 
10532
10511
 
10533
10512
if test $pkg_failed = yes; then
10534
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10535
 
$as_echo "no" >&6; }
10536
10513
 
10537
10514
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10538
10515
        _pkg_short_errors_supported=yes
10540
10517
        _pkg_short_errors_supported=no
10541
10518
fi
10542
10519
        if test $_pkg_short_errors_supported = yes; then
10543
 
                CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo > 1.7.6" 2>&1`
 
10520
                CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo > 1.7.6"`
10544
10521
        else
10545
 
                CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo > 1.7.6" 2>&1`
 
10522
                CAIRO_USER_FONTS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo > 1.7.6"`
10546
10523
        fi
10547
10524
        # Put the nasty error message in config.log where it belongs
10548
10525
        echo "$CAIRO_USER_FONTS_PKG_ERRORS" >&5
10549
10526
 
10550
 
        cairouserfonts=no
 
10527
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10528
$as_echo "no" >&6; }
 
10529
                cairouserfonts=no
10551
10530
elif test $pkg_failed = untried; then
10552
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10553
 
$as_echo "no" >&6; }
10554
10531
        cairouserfonts=no
10555
10532
else
10556
10533
        CAIRO_USER_FONTS_CFLAGS=$pkg_cv_CAIRO_USER_FONTS_CFLAGS
10576
10553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INKSCAPE" >&5
10577
10554
$as_echo_n "checking for INKSCAPE... " >&6; }
10578
10555
 
10579
 
if test -n "$INKSCAPE_CFLAGS"; then
10580
 
    pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
10581
 
 elif test -n "$PKG_CONFIG"; then
10582
 
    if test -n "$PKG_CONFIG" && \
 
10556
if test -n "$PKG_CONFIG"; then
 
10557
    if test -n "$INKSCAPE_CFLAGS"; then
 
10558
        pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
 
10559
    else
 
10560
        if test -n "$PKG_CONFIG" && \
10583
10561
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= \$min_sigc_version  \$ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10584
10562
  ($PKG_CONFIG --exists --print-errors "gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10585
10563
  ac_status=$?
10589
10567
else
10590
10568
  pkg_failed=yes
10591
10569
fi
10592
 
 else
10593
 
    pkg_failed=untried
 
10570
    fi
 
10571
else
 
10572
        pkg_failed=untried
10594
10573
fi
10595
 
if test -n "$INKSCAPE_LIBS"; then
10596
 
    pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
10597
 
 elif test -n "$PKG_CONFIG"; then
10598
 
    if test -n "$PKG_CONFIG" && \
 
10574
if test -n "$PKG_CONFIG"; then
 
10575
    if test -n "$INKSCAPE_LIBS"; then
 
10576
        pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
 
10577
    else
 
10578
        if test -n "$PKG_CONFIG" && \
10599
10579
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= \$min_sigc_version  \$ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10600
10580
  ($PKG_CONFIG --exists --print-errors "gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10601
10581
  ac_status=$?
10605
10585
else
10606
10586
  pkg_failed=yes
10607
10587
fi
10608
 
 else
10609
 
    pkg_failed=untried
 
10588
    fi
 
10589
else
 
10590
        pkg_failed=untried
10610
10591
fi
10611
10592
 
10612
10593
 
10613
10594
 
10614
10595
if test $pkg_failed = yes; then
10615
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10616
 
$as_echo "no" >&6; }
10617
10596
 
10618
10597
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10619
10598
        _pkg_short_errors_supported=yes
10621
10600
        _pkg_short_errors_supported=no
10622
10601
fi
10623
10602
        if test $_pkg_short_errors_supported = yes; then
10624
 
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
 
10603
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl"`
10625
10604
        else
10626
 
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
 
10605
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl"`
10627
10606
        fi
10628
10607
        # Put the nasty error message in config.log where it belongs
10629
10608
        echo "$INKSCAPE_PKG_ERRORS" >&5
10630
10609
 
10631
 
        as_fn_error $? "Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
 
10610
        as_fn_error "Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
10632
10611
 
10633
10612
$INKSCAPE_PKG_ERRORS
10634
10613
 
10637
10616
 
10638
10617
Alternatively, you may set the environment variables INKSCAPE_CFLAGS
10639
10618
and INKSCAPE_LIBS to avoid the need to call pkg-config.
10640
 
See the pkg-config man page for more details." "$LINENO" 5
 
10619
See the pkg-config man page for more details.
 
10620
" "$LINENO" 5
10641
10621
elif test $pkg_failed = untried; then
10642
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10643
 
$as_echo "no" >&6; }
10644
10622
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10645
10623
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10646
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
10624
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
10647
10625
is in your PATH or set the PKG_CONFIG environment variable to the full
10648
10626
path to pkg-config.
10649
10627
 
10652
10630
See the pkg-config man page for more details.
10653
10631
 
10654
10632
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10655
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
10633
See \`config.log' for more details." "$LINENO" 5; }
10656
10634
else
10657
10635
        INKSCAPE_CFLAGS=$pkg_cv_INKSCAPE_CFLAGS
10658
10636
        INKSCAPE_LIBS=$pkg_cv_INKSCAPE_LIBS
10659
10637
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10660
10638
$as_echo "yes" >&6; }
10661
 
 
 
10639
        :
10662
10640
fi
10663
10641
 
10664
10642
# Check for Apple Mac OS X Carbon framework
10704
10682
_ACEOF
10705
10683
 
10706
10684
else
10707
 
  as_fn_error $? "You need the boost package (e.g. libboost-dev)" "$LINENO" 5
 
10685
  as_fn_error "You need the boost package (e.g. libboost-dev)" "$LINENO" 5
10708
10686
fi
10709
10687
 
10710
10688
done
10715
10693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_PDF" >&5
10716
10694
$as_echo_n "checking for CAIRO_PDF... " >&6; }
10717
10695
 
10718
 
if test -n "$CAIRO_PDF_CFLAGS"; then
10719
 
    pkg_cv_CAIRO_PDF_CFLAGS="$CAIRO_PDF_CFLAGS"
10720
 
 elif test -n "$PKG_CONFIG"; then
10721
 
    if test -n "$PKG_CONFIG" && \
 
10696
if test -n "$PKG_CONFIG"; then
 
10697
    if test -n "$CAIRO_PDF_CFLAGS"; then
 
10698
        pkg_cv_CAIRO_PDF_CFLAGS="$CAIRO_PDF_CFLAGS"
 
10699
    else
 
10700
        if test -n "$PKG_CONFIG" && \
10722
10701
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf\""; } >&5
10723
10702
  ($PKG_CONFIG --exists --print-errors "cairo-pdf") 2>&5
10724
10703
  ac_status=$?
10728
10707
else
10729
10708
  pkg_failed=yes
10730
10709
fi
10731
 
 else
10732
 
    pkg_failed=untried
 
10710
    fi
 
10711
else
 
10712
        pkg_failed=untried
10733
10713
fi
10734
 
if test -n "$CAIRO_PDF_LIBS"; then
10735
 
    pkg_cv_CAIRO_PDF_LIBS="$CAIRO_PDF_LIBS"
10736
 
 elif test -n "$PKG_CONFIG"; then
10737
 
    if test -n "$PKG_CONFIG" && \
 
10714
if test -n "$PKG_CONFIG"; then
 
10715
    if test -n "$CAIRO_PDF_LIBS"; then
 
10716
        pkg_cv_CAIRO_PDF_LIBS="$CAIRO_PDF_LIBS"
 
10717
    else
 
10718
        if test -n "$PKG_CONFIG" && \
10738
10719
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf\""; } >&5
10739
10720
  ($PKG_CONFIG --exists --print-errors "cairo-pdf") 2>&5
10740
10721
  ac_status=$?
10744
10725
else
10745
10726
  pkg_failed=yes
10746
10727
fi
10747
 
 else
10748
 
    pkg_failed=untried
 
10728
    fi
 
10729
else
 
10730
        pkg_failed=untried
10749
10731
fi
10750
10732
 
10751
10733
 
10752
10734
 
10753
10735
if test $pkg_failed = yes; then
10754
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10755
 
$as_echo "no" >&6; }
10756
10736
 
10757
10737
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10758
10738
        _pkg_short_errors_supported=yes
10760
10740
        _pkg_short_errors_supported=no
10761
10741
fi
10762
10742
        if test $_pkg_short_errors_supported = yes; then
10763
 
                CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-pdf" 2>&1`
 
10743
                CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-pdf"`
10764
10744
        else
10765
 
                CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-pdf" 2>&1`
 
10745
                CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-pdf"`
10766
10746
        fi
10767
10747
        # Put the nasty error message in config.log where it belongs
10768
10748
        echo "$CAIRO_PDF_PKG_ERRORS" >&5
10769
10749
 
10770
 
        cairo_pdf=no
 
10750
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10751
$as_echo "no" >&6; }
 
10752
                cairo_pdf=no
10771
10753
elif test $pkg_failed = untried; then
10772
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10773
 
$as_echo "no" >&6; }
10774
10754
        cairo_pdf=no
10775
10755
else
10776
10756
        CAIRO_PDF_CFLAGS=$pkg_cv_CAIRO_PDF_CFLAGS
10785
10765
 
10786
10766
fi
10787
10767
 
10788
 
INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2 -ldl"
 
10768
INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2"
10789
10769
if test "x$openmp_ok" = "xyes"; then
10790
10770
        INKSCAPE_LIBS="$INKSCAPE_LIBS -lgomp"
10791
10771
fi
10794
10774
if test "x$ac_cv_header_popt_h" = x""yes; then :
10795
10775
  INKSCAPE_LIBS="$INKSCAPE_LIBS -lpopt"
10796
10776
else
10797
 
  as_fn_error $? "libpopt is required" "$LINENO" 5
 
10777
  as_fn_error "libpopt is required" "$LINENO" 5
10798
10778
fi
10799
10779
 
10800
10780
 
10918
10898
       else
10919
10899
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920
10900
$as_echo "no" >&6; }
10921
 
               as_fn_error $? "/proc/self/maps is not available. Binary relocation cannot be enabled." "$LINENO" 5
 
10901
               as_fn_error "/proc/self/maps is not available. Binary relocation cannot be enabled." "$LINENO" 5
10922
10902
               enable_binreloc="no"
10923
10903
       fi
10924
10904
 
11859
11839
 
11860
11840
ac_libobjs=
11861
11841
ac_ltlibobjs=
11862
 
U=
11863
11842
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11864
11843
  # 1. Remove the extension, and $U if already installed.
11865
11844
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11883
11862
fi
11884
11863
 
11885
11864
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11886
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
11887
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
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.
 
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.
11895
11874
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11896
11875
fi
11897
11876
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11898
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
11877
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
11899
11878
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11900
11879
fi
11901
11880
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
11902
 
  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
 
11881
  as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
11903
11882
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11904
11883
fi
11905
11884
 
11907
11886
 
11908
11887
 
11909
11888
if test -z "${USE_BZR_VERSION_TRUE}" && test -z "${USE_BZR_VERSION_FALSE}"; then
11910
 
  as_fn_error $? "conditional \"USE_BZR_VERSION\" was never defined.
 
11889
  as_fn_error "conditional \"USE_BZR_VERSION\" was never defined.
11911
11890
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11912
11891
fi
11913
11892
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11914
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
11893
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
11915
11894
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11916
11895
fi
11917
11896
if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
11918
 
  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
 
11897
  as_fn_error "conditional \"PLATFORM_WIN32\" was never defined.
11919
11898
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11920
11899
fi
11921
11900
if test -z "${PLATFORM_SOLARIS_TRUE}" && test -z "${PLATFORM_SOLARIS_FALSE}"; then
11922
 
  as_fn_error $? "conditional \"PLATFORM_SOLARIS\" was never defined.
 
11901
  as_fn_error "conditional \"PLATFORM_SOLARIS\" was never defined.
11923
11902
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11924
11903
fi
11925
11904
if test -z "${USE_XFT_TRUE}" && test -z "${USE_XFT_FALSE}"; then
11926
 
  as_fn_error $? "conditional \"USE_XFT\" was never defined.
 
11905
  as_fn_error "conditional \"USE_XFT\" was never defined.
11927
11906
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11928
11907
fi
11929
11908
if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
11930
 
  as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
 
11909
  as_fn_error "conditional \"USE_GNOME_VFS\" was never defined.
11931
11910
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11932
11911
fi
11933
11912
 
11934
11913
if test -z "${INKJAR_TRUE}" && test -z "${INKJAR_FALSE}"; then
11935
 
  as_fn_error $? "conditional \"INKJAR\" was never defined.
 
11914
  as_fn_error "conditional \"INKJAR\" was never defined.
11936
11915
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11937
11916
fi
11938
11917
if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
11939
 
  as_fn_error $? "conditional \"WITH_PERL\" was never defined.
 
11918
  as_fn_error "conditional \"WITH_PERL\" was never defined.
11940
11919
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11941
11920
fi
11942
11921
if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
11943
 
  as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
 
11922
  as_fn_error "conditional \"WITH_PYTHON\" was never defined.
11944
11923
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11945
11924
fi
11946
11925
if test -z "${WITH_LIBWPG_TRUE}" && test -z "${WITH_LIBWPG_FALSE}"; then
11947
 
  as_fn_error $? "conditional \"WITH_LIBWPG\" was never defined.
 
11926
  as_fn_error "conditional \"WITH_LIBWPG\" was never defined.
11948
11927
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11949
11928
fi
11950
11929
if test -z "${USE_IMAGE_MAGICK_TRUE}" && test -z "${USE_IMAGE_MAGICK_FALSE}"; then
11951
 
  as_fn_error $? "conditional \"USE_IMAGE_MAGICK\" was never defined.
 
11930
  as_fn_error "conditional \"USE_IMAGE_MAGICK\" was never defined.
11952
11931
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11953
11932
fi
11954
11933
if test -z "${HAVE_CARBON_TRUE}" && test -z "${HAVE_CARBON_FALSE}"; then
11955
 
  as_fn_error $? "conditional \"HAVE_CARBON\" was never defined.
 
11934
  as_fn_error "conditional \"HAVE_CARBON\" was never defined.
11956
11935
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11957
11936
fi
11958
11937
 
12102
12081
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12103
12082
 
12104
12083
 
12105
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
12106
 
# ----------------------------------------
 
12084
# as_fn_error ERROR [LINENO LOG_FD]
 
12085
# ---------------------------------
12107
12086
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12108
12087
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12109
 
# script with STATUS, using 1 if that was 0.
 
12088
# script with status $?, using 1 if that was 0.
12110
12089
as_fn_error ()
12111
12090
{
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
 
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
12116
12095
  fi
12117
 
  $as_echo "$as_me: error: $2" >&2
 
12096
  $as_echo "$as_me: error: $1" >&2
12118
12097
  as_fn_exit $as_status
12119
12098
} # as_fn_error
12120
12099
 
12310
12289
      test -d "$as_dir" && break
12311
12290
    done
12312
12291
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12313
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
12292
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12314
12293
 
12315
12294
 
12316
12295
} # as_fn_mkdir_p
12363
12342
# report actual input values of CONFIG_FILES etc. instead of their
12364
12343
# values after options handling.
12365
12344
ac_log="
12366
 
This file was extended by inkscape $as_me 0.48.1, which was
12367
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
12345
This file was extended by inkscape $as_me 0.48.0, which was
 
12346
generated by GNU Autoconf 2.65.  Invocation command line was
12368
12347
 
12369
12348
  CONFIG_FILES    = $CONFIG_FILES
12370
12349
  CONFIG_HEADERS  = $CONFIG_HEADERS
12429
12408
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12430
12409
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12431
12410
ac_cs_version="\\
12432
 
inkscape config.status 0.48.1
12433
 
configured by $0, generated by GNU Autoconf 2.67,
 
12411
inkscape config.status 0.48.0
 
12412
configured by $0, generated by GNU Autoconf 2.65,
12434
12413
  with options \\"\$ac_cs_config\\"
12435
12414
 
12436
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
12415
Copyright (C) 2009 Free Software Foundation, Inc.
12437
12416
This config.status script is free software; the Free Software Foundation
12438
12417
gives unlimited permission to copy, distribute and modify it."
12439
12418
 
12451
12430
while test $# != 0
12452
12431
do
12453
12432
  case $1 in
12454
 
  --*=?*)
 
12433
  --*=*)
12455
12434
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12456
12435
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12457
12436
    ac_shift=:
12458
12437
    ;;
12459
 
  --*=)
12460
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12461
 
    ac_optarg=
12462
 
    ac_shift=:
12463
 
    ;;
12464
12438
  *)
12465
12439
    ac_option=$1
12466
12440
    ac_optarg=$2
12482
12456
    $ac_shift
12483
12457
    case $ac_optarg in
12484
12458
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12485
 
    '') as_fn_error $? "missing file argument" ;;
12486
12459
    esac
12487
12460
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12488
12461
    ac_need_defaults=false;;
12495
12468
    ac_need_defaults=false;;
12496
12469
  --he | --h)
12497
12470
    # Conflict between --help and --header
12498
 
    as_fn_error $? "ambiguous option: \`$1'
 
12471
    as_fn_error "ambiguous option: \`$1'
12499
12472
Try \`$0 --help' for more information.";;
12500
12473
  --help | --hel | -h )
12501
12474
    $as_echo "$ac_cs_usage"; exit ;;
12504
12477
    ac_cs_silent=: ;;
12505
12478
 
12506
12479
  # This is an error.
12507
 
  -*) as_fn_error $? "unrecognized option: \`$1'
 
12480
  -*) as_fn_error "unrecognized option: \`$1'
12508
12481
Try \`$0 --help' for more information." ;;
12509
12482
 
12510
12483
  *) as_fn_append ac_config_targets " $1"
12635
12608
    "inkview.1") CONFIG_FILES="$CONFIG_FILES inkview.1" ;;
12636
12609
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
12637
12610
 
12638
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
12611
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12639
12612
  esac
12640
12613
done
12641
12614
 
12673
12646
{
12674
12647
  tmp=./conf$$-$RANDOM
12675
12648
  (umask 077 && mkdir "$tmp")
12676
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
12649
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12677
12650
 
12678
12651
# Set up the scripts for CONFIG_FILES section.
12679
12652
# No need to generate them if there are no CONFIG_FILES.
12690
12663
fi
12691
12664
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12692
12665
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12693
 
  ac_cs_awk_cr='\\r'
 
12666
  ac_cs_awk_cr='\r'
12694
12667
else
12695
12668
  ac_cs_awk_cr=$ac_cr
12696
12669
fi
12704
12677
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12705
12678
  echo "_ACEOF"
12706
12679
} >conf$$subs.sh ||
12707
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12708
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
12680
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12681
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12709
12682
ac_delim='%!_!# '
12710
12683
for ac_last_try in false false false false false :; do
12711
12684
  . ./conf$$subs.sh ||
12712
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
12685
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12713
12686
 
12714
12687
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12715
12688
  if test $ac_delim_n = $ac_delim_num; then
12716
12689
    break
12717
12690
  elif $ac_last_try; then
12718
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
12691
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12719
12692
  else
12720
12693
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12721
12694
  fi
12804
12777
else
12805
12778
  cat
12806
12779
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12807
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
12780
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
12808
12781
_ACEOF
12809
12782
 
12810
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12811
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
12783
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
12784
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12812
12785
# trailing colons and then remove the whole line if VPATH becomes empty
12813
12786
# (actually we leave an empty line to preserve line numbers).
12814
12787
if test "x$srcdir" = x.; then
12815
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
12816
 
h
12817
 
s///
12818
 
s/^/:/
12819
 
s/[      ]*$/:/
12820
 
s/:\$(srcdir):/:/g
12821
 
s/:\${srcdir}:/:/g
12822
 
s/:@srcdir@:/:/g
12823
 
s/^:*//
 
12788
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
12789
s/:*\$(srcdir):*/:/
 
12790
s/:*\${srcdir}:*/:/
 
12791
s/:*@srcdir@:*/:/
 
12792
s/^\([^=]*=[     ]*\):*/\1/
12824
12793
s/:*$//
12825
 
x
12826
 
s/\(=[   ]*\).*/\1/
12827
 
G
12828
 
s/\n//
12829
12794
s/^[^=]*=[       ]*$//
12830
12795
}'
12831
12796
fi
12853
12818
  if test -z "$ac_t"; then
12854
12819
    break
12855
12820
  elif $ac_last_try; then
12856
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
12821
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12857
12822
  else
12858
12823
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12859
12824
  fi
12938
12903
_ACAWK
12939
12904
_ACEOF
12940
12905
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12941
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
12906
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
12942
12907
fi # test -n "$CONFIG_HEADERS"
12943
12908
 
12944
12909
 
12951
12916
  esac
12952
12917
  case $ac_mode$ac_tag in
12953
12918
  :[FHL]*:*);;
12954
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
12919
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12955
12920
  :[FH]-) ac_tag=-:-;;
12956
12921
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12957
12922
  esac
12979
12944
           [\\/$]*) false;;
12980
12945
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12981
12946
           esac ||
12982
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
12947
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12983
12948
      esac
12984
12949
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12985
12950
      as_fn_append ac_file_inputs " '$ac_f'"
13006
12971
 
13007
12972
    case $ac_tag in
13008
12973
    *:-:* | *:-) cat >"$tmp/stdin" \
13009
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
12974
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13010
12975
    esac
13011
12976
    ;;
13012
12977
  esac
13143
13108
$ac_datarootdir_hack
13144
13109
"
13145
13110
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13146
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13111
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13147
13112
 
13148
13113
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13149
13114
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13150
13115
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13151
13116
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13152
 
which seems to be undefined.  Please make sure it is defined" >&5
 
13117
which seems to be undefined.  Please make sure it is defined." >&5
13153
13118
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13154
 
which seems to be undefined.  Please make sure it is defined" >&2;}
 
13119
which seems to be undefined.  Please make sure it is defined." >&2;}
13155
13120
 
13156
13121
  rm -f "$tmp/stdin"
13157
13122
  case $ac_file in
13158
13123
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13159
13124
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13160
13125
  esac \
13161
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13126
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13162
13127
 ;;
13163
13128
  :H)
13164
13129
  #
13169
13134
      $as_echo "/* $configure_input  */" \
13170
13135
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13171
13136
    } >"$tmp/config.h" \
13172
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13137
      || as_fn_error "could not create $ac_file" "$LINENO" 5
13173
13138
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13174
13139
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13175
13140
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13176
13141
    else
13177
13142
      rm -f "$ac_file"
13178
13143
      mv "$tmp/config.h" "$ac_file" \
13179
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13144
        || as_fn_error "could not create $ac_file" "$LINENO" 5
13180
13145
    fi
13181
13146
  else
13182
13147
    $as_echo "/* $configure_input  */" \
13183
13148
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13184
 
      || as_fn_error $? "could not create -" "$LINENO" 5
 
13149
      || as_fn_error "could not create -" "$LINENO" 5
13185
13150
  fi
13186
13151
# Compute "$ac_file"'s index in $config_headers.
13187
13152
_am_arg="$ac_file"
13326
13291
      esac ;;
13327
13292
    "po/stamp-it":C)
13328
13293
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
13329
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
13294
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
13330
13295
    fi
13331
13296
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
13332
13297
    >"po/stamp-it.tmp"
13354
13319
ac_clean_files=$ac_clean_files_save
13355
13320
 
13356
13321
test $ac_write_fail = 0 ||
13357
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
13322
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13358
13323
 
13359
13324
 
13360
13325
# configure is writing to config.log, and then calls config.status.
13375
13340
  exec 5>>config.log
13376
13341
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13377
13342
  # would make configure fail if this is the last instruction.
13378
 
  $ac_cs_success || as_fn_exit 1
 
13343
  $ac_cs_success || as_fn_exit $?
13379
13344
fi
13380
13345
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13381
13346
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5