~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya, Josselin Mouette, Rodrigo Moya
  • Date: 2011-05-19 12:12:42 UTC
  • mfrom: (1.1.65 upstream) (1.3.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110519121242-967hbn2nh2hunp4y
Tags: 3.0.0-4ubuntu1
[ Josselin Mouette ]
* bug-presubj: please document where to report rendering bugs.
* evince.mime: dropped. We have desktop files to handle MIME 
  associations, no need to maintain an alternate system by hand.
  Closes: #619564, #627027, #551734, #581441.

[ Rodrigo Moya ]
* Rebase from Debian and GNOME3 PPA (thanks to Rico Tzschichholz).
  Remaining Ubuntu changes:
* debian/apparmor-profile:
* debian/apparmor-profile.abstraction:
* debian/evince.apport:
* debian/evince-common.dirs:
* debian/evince-common.postinst:
* debian/evince-common.postrm:
  - Add apparmor profile
* debian/control:
  - Build-Depend on debhelper (>= 7.4.20ubuntu5), gnome-common,
    hardening-includes and liblaunchpad-integration-3.0-dev
  - Standards-Version is 3.9.1
  - Depend on apparmor
* debian/rules:
  - Include hardening.make
  - Add rule to install apparmor files
* debian/watch:
  - Watch unstable series
* debian/patches/01_lpi.patch:
  - Launchpad integration patch
* debian/patches/04_gold.patch:
  - Link against libz
* debian/patches/05_library-path.patch:
  - Fix library path for g-ir-scanner

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for Evince 2.32.0.
 
3
# Generated by GNU Autoconf 2.67 for Evince 3.0.0.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=evince>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
320
320
      test -d "$as_dir" && break
321
321
    done
322
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
323
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
324
 
325
325
 
326
326
} # as_fn_mkdir_p
360
360
fi # as_fn_arith
361
361
 
362
362
 
363
 
# as_fn_error ERROR [LINENO LOG_FD]
364
 
# ---------------------------------
 
363
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
364
# ----------------------------------------
365
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
 
# script with status $?, using 1 if that was 0.
 
367
# script with STATUS, using 1 if that was 0.
368
368
as_fn_error ()
369
369
{
370
 
  as_status=$?; test $as_status -eq 0 && as_status=1
371
 
  if test "$3"; then
372
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  as_status=$1; test $as_status -eq 0 && as_status=1
 
371
  if test "$4"; then
 
372
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
374
  fi
375
 
  $as_echo "$as_me: error: $1" >&2
 
375
  $as_echo "$as_me: error: $2" >&2
376
376
  as_fn_exit $as_status
377
377
} # as_fn_error
378
378
 
683
683
exec 6>&1
684
684
 
685
685
# Name of the host.
686
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
686
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687
687
# so uname gets run too.
688
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
689
 
702
702
# Identity of this package.
703
703
PACKAGE_NAME='Evince'
704
704
PACKAGE_TARNAME='evince'
705
 
PACKAGE_VERSION='2.32.0'
706
 
PACKAGE_STRING='Evince 2.32.0'
 
705
PACKAGE_VERSION='3.0.0'
 
706
PACKAGE_STRING='Evince 3.0.0'
707
707
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=evince'
708
708
PACKAGE_URL=''
709
709
 
786
786
OMF_DIR
787
787
HELP_DIR
788
788
EVINCE_MIME_TYPES
789
 
ENABLE_IMPRESS_FALSE
790
 
ENABLE_IMPRESS_TRUE
 
789
ENABLE_XPS_FALSE
 
790
ENABLE_XPS_TRUE
 
791
GXPS_LIBS
 
792
GXPS_CFLAGS
791
793
ENABLE_COMICS_FALSE
792
794
ENABLE_COMICS_TRUE
793
 
ENABLE_PIXBUF_FALSE
794
 
ENABLE_PIXBUF_TRUE
795
795
WITH_TYPE1_FONTS_FALSE
796
796
WITH_TYPE1_FONTS_TRUE
797
797
ENABLE_DVI_FALSE
842
842
SHELL_CFLAGS
843
843
ENABLE_TESTS_FALSE
844
844
ENABLE_TESTS_TRUE
845
 
GCONFTOOL
846
 
GCONF_SCHEMAS_INSTALL_FALSE
847
 
GCONF_SCHEMAS_INSTALL_TRUE
848
 
GCONF_SCHEMA_FILE_DIR
849
 
GCONF_SCHEMA_CONFIG_SOURCE
850
 
GCONF_LIBS
851
 
GCONF_CFLAGS
852
 
WITH_GCONF_FALSE
853
 
WITH_GCONF_TRUE
 
845
DESKTOP_SCHEMAS_LIBS
 
846
DESKTOP_SCHEMAS_CFLAGS
854
847
ENABLE_DBUS_FALSE
855
848
ENABLE_DBUS_TRUE
856
849
EV_DAEMON_LIBS
882
875
LIBVIEW_CFLAGS
883
876
LIBDOCUMENT_LIBS
884
877
LIBDOCUMENT_CFLAGS
885
 
GTK_API_VERSION
886
878
GTK_REQUIRED
887
879
GLIB_REQUIRED
888
880
PLATFORM_WIN32_FALSE
893
885
GSETTINGS_RULES
894
886
GLIB_COMPILE_SCHEMAS
895
887
gsettingsschemadir
 
888
PKG_CONFIG_LIBDIR
 
889
PKG_CONFIG_PATH
896
890
PKG_CONFIG
897
891
GSETTINGS_DISABLE_SCHEMAS_COMPILE
898
892
EV_INTLTOOL_EVINCE_BACKEND_RULE
1079
1073
enable_nls
1080
1074
enable_schemas_compile
1081
1075
with_platform
1082
 
with_gtk
1083
1076
with_smclient
1084
1077
with_gtk_unix_print
1085
1078
with_keyring
1086
1079
enable_dbus
1087
 
with_gconf
1088
 
with_gconf_source
1089
 
with_gconf_schema_file_dir
1090
 
enable_schemas_install
1091
1080
enable_debug
1092
1081
enable_tests
1093
1082
enable_nautilus
1100
1089
enable_djvu
1101
1090
enable_dvi
1102
1091
enable_t1lib
1103
 
enable_pixbuf
1104
1092
enable_comics
1105
 
enable_impress
 
1093
enable_xps
1106
1094
with_help_dir
1107
1095
with_omf_dir
1108
1096
with_help_formats
1127
1115
CCC
1128
1116
CXXCPP
1129
1117
PKG_CONFIG
 
1118
PKG_CONFIG_PATH
 
1119
PKG_CONFIG_LIBDIR
1130
1120
LIBDOCUMENT_CFLAGS
1131
1121
LIBDOCUMENT_LIBS
1132
1122
LIBVIEW_CFLAGS
1145
1135
KEYRING_LIBS
1146
1136
EV_DAEMON_CFLAGS
1147
1137
EV_DAEMON_LIBS
1148
 
GCONF_CFLAGS
1149
 
GCONF_LIBS
 
1138
DESKTOP_SCHEMAS_CFLAGS
 
1139
DESKTOP_SCHEMAS_LIBS
1150
1140
NAUTILUS_CFLAGS
1151
1141
NAUTILUS_LIBS
1152
1142
PREVIEWER_CFLAGS
1162
1152
SPECTRE_CFLAGS
1163
1153
SPECTRE_LIBS
1164
1154
DJVU_CFLAGS
1165
 
DJVU_LIBS'
 
1155
DJVU_LIBS
 
1156
GXPS_CFLAGS
 
1157
GXPS_LIBS'
1166
1158
 
1167
1159
 
1168
1160
# Initialize some variables set by options.
1225
1217
  fi
1226
1218
 
1227
1219
  case $ac_option in
1228
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1229
 
  *)    ac_optarg=yes ;;
 
1220
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1221
  *=)   ac_optarg= ;;
 
1222
  *)    ac_optarg=yes ;;
1230
1223
  esac
1231
1224
 
1232
1225
  # Accept the important Cygnus configure options, so we can diagnose typos.
1271
1264
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1272
1265
    # Reject names that are not valid shell variable names.
1273
1266
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1267
      as_fn_error $? "invalid feature name: $ac_useropt"
1275
1268
    ac_useropt_orig=$ac_useropt
1276
1269
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277
1270
    case $ac_user_opts in
1297
1290
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1298
1291
    # Reject names that are not valid shell variable names.
1299
1292
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1293
      as_fn_error $? "invalid feature name: $ac_useropt"
1301
1294
    ac_useropt_orig=$ac_useropt
1302
1295
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303
1296
    case $ac_user_opts in
1501
1494
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1502
1495
    # Reject names that are not valid shell variable names.
1503
1496
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1504
 
      as_fn_error "invalid package name: $ac_useropt"
 
1497
      as_fn_error $? "invalid package name: $ac_useropt"
1505
1498
    ac_useropt_orig=$ac_useropt
1506
1499
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1507
1500
    case $ac_user_opts in
1517
1510
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1518
1511
    # Reject names that are not valid shell variable names.
1519
1512
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1520
 
      as_fn_error "invalid package name: $ac_useropt"
 
1513
      as_fn_error $? "invalid package name: $ac_useropt"
1521
1514
    ac_useropt_orig=$ac_useropt
1522
1515
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1523
1516
    case $ac_user_opts in
1547
1540
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1548
1541
    x_libraries=$ac_optarg ;;
1549
1542
 
1550
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1551
 
Try \`$0 --help' for more information."
 
1543
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1544
Try \`$0 --help' for more information"
1552
1545
    ;;
1553
1546
 
1554
1547
  *=*)
1556
1549
    # Reject names that are not valid shell variable names.
1557
1550
    case $ac_envvar in #(
1558
1551
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1559
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1552
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1560
1553
    esac
1561
1554
    eval $ac_envvar=\$ac_optarg
1562
1555
    export $ac_envvar ;;
1574
1567
 
1575
1568
if test -n "$ac_prev"; then
1576
1569
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1577
 
  as_fn_error "missing argument to $ac_option"
 
1570
  as_fn_error $? "missing argument to $ac_option"
1578
1571
fi
1579
1572
 
1580
1573
if test -n "$ac_unrecognized_opts"; then
1581
1574
  case $enable_option_checking in
1582
1575
    no) ;;
1583
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1576
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1584
1577
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1585
1578
  esac
1586
1579
fi
1603
1596
    [\\/$]* | ?:[\\/]* )  continue;;
1604
1597
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1605
1598
  esac
1606
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1599
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1607
1600
done
1608
1601
 
1609
1602
# There might be people who depend on the old broken behavior: `$host'
1617
1610
if test "x$host_alias" != x; then
1618
1611
  if test "x$build_alias" = x; then
1619
1612
    cross_compiling=maybe
1620
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1621
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1613
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1614
    If a cross compiler is detected then cross compile mode will be used" >&2
1622
1615
  elif test "x$build_alias" != "x$host_alias"; then
1623
1616
    cross_compiling=yes
1624
1617
  fi
1633
1626
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1634
1627
ac_ls_di=`ls -di .` &&
1635
1628
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1636
 
  as_fn_error "working directory cannot be determined"
 
1629
  as_fn_error $? "working directory cannot be determined"
1637
1630
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1638
 
  as_fn_error "pwd does not report name of working directory"
 
1631
  as_fn_error $? "pwd does not report name of working directory"
1639
1632
 
1640
1633
 
1641
1634
# Find the source files, if location was not specified.
1674
1667
fi
1675
1668
if test ! -r "$srcdir/$ac_unique_file"; then
1676
1669
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1677
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1670
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1678
1671
fi
1679
1672
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1680
1673
ac_abs_confdir=`(
1681
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1674
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1682
1675
        pwd)`
1683
1676
# When building in place, set srcdir=.
1684
1677
if test "$ac_abs_confdir" = "$ac_pwd"; then
1704
1697
  # Omit some internal or obsolete options to make the list less imposing.
1705
1698
  # This message is too long to be a string in the A/UX 3.1 sh.
1706
1699
  cat <<_ACEOF
1707
 
\`configure' configures Evince 2.32.0 to adapt to many kinds of systems.
 
1700
\`configure' configures Evince 3.0.0 to adapt to many kinds of systems.
1708
1701
 
1709
1702
Usage: $0 [OPTION]... [VAR=VALUE]...
1710
1703
 
1718
1711
      --help=short        display options specific to this package
1719
1712
      --help=recursive    display the short help of all the included packages
1720
1713
  -V, --version           display version information and exit
1721
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1714
  -q, --quiet, --silent   do not print \`checking ...' messages
1722
1715
      --cache-file=FILE   cache test results in FILE [disabled]
1723
1716
  -C, --config-cache      alias for \`--cache-file=config.cache'
1724
1717
  -n, --no-create         do not create output files
1774
1767
 
1775
1768
if test -n "$ac_init_help"; then
1776
1769
  case $ac_init_help in
1777
 
     short | recursive ) echo "Configuration of Evince 2.32.0:";;
 
1770
     short | recursive ) echo "Configuration of Evince 3.0.0:";;
1778
1771
   esac
1779
1772
  cat <<\_ACEOF
1780
1773
 
1804
1797
  --disable-schemas-compile
1805
1798
                          Disable regeneration of gschemas.compiled on install
1806
1799
  --disable-dbus          Disable support for dbus
1807
 
  --disable-schemas-install
1808
 
                          Disable the schemas installation
1809
1800
  --enable-debug          Turn on evince debug mode
1810
1801
  --enable-tests          Enable the tests
1811
1802
  --disable-nautilus      Disable build of nautilus extensions
1818
1809
  --disable-djvu          Disable the support of djvu viewer
1819
1810
  --disable-dvi           Disable the support of dvi viewer
1820
1811
  --enable-t1lib          Compile with support of t1lib for type1 fonts in dvi
1821
 
  --enable-pixbuf         Compile with support of pixbuf
1822
1812
  --enable-comics         Compile with support for comic book archives
1823
 
  --enable-impress        Compile with support for impress presentations
 
1813
  --enable-xps            Compile with support for XPS documents.
1824
1814
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1825
1815
  --disable-help          Disable offline help files
1826
1816
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1835
1825
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1836
1826
  --with-platform=gnome|win32|hildon
1837
1827
                          Setting platform (default: gnome)
1838
 
  --with-gtk=2.0|3.0      which gtk+ version to compile against (default: 2.0)
1839
1828
  --with-smclient-backend=no|xsmp|win32|quartz
1840
1829
                          Setting smclient backend (default:auto)
1841
1830
  --without-gtk-unix-print
1842
1831
                          Disable the use of gtk-unix-print
1843
1832
  --without-keyring       Disable the use of gnome-keyring
1844
 
  --without-gconf         Disable the use of gconf
1845
 
  --with-gconf-source=sourceaddress
1846
 
                          Config database for installing schema files.
1847
 
  --with-gconf-schema-file-dir=dir
1848
 
                          Directory for installing schema files.
1849
1833
  --with-help-dir=DIR     path to help docs
1850
1834
  --with-omf-dir=DIR      path to OMF files
1851
1835
  --with-help-formats=FORMATS
1865
1849
  CXXFLAGS    C++ compiler flags
1866
1850
  CXXCPP      C++ preprocessor
1867
1851
  PKG_CONFIG  path to pkg-config utility
 
1852
  PKG_CONFIG_PATH
 
1853
              directories to add to pkg-config's search path
 
1854
  PKG_CONFIG_LIBDIR
 
1855
              path overriding pkg-config's built-in search path
1868
1856
  LIBDOCUMENT_CFLAGS
1869
1857
              C compiler flags for LIBDOCUMENT, overriding pkg-config
1870
1858
  LIBDOCUMENT_LIBS
1901
1889
              C compiler flags for EV_DAEMON, overriding pkg-config
1902
1890
  EV_DAEMON_LIBS
1903
1891
              linker flags for EV_DAEMON, overriding pkg-config
1904
 
  GCONF_CFLAGS
1905
 
              C compiler flags for GCONF, overriding pkg-config
1906
 
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
 
1892
  DESKTOP_SCHEMAS_CFLAGS
 
1893
              C compiler flags for DESKTOP_SCHEMAS, overriding pkg-config
 
1894
  DESKTOP_SCHEMAS_LIBS
 
1895
              linker flags for DESKTOP_SCHEMAS, overriding pkg-config
1907
1896
  NAUTILUS_CFLAGS
1908
1897
              C compiler flags for NAUTILUS, overriding pkg-config
1909
1898
  NAUTILUS_LIBS
1935
1924
              linker flags for SPECTRE, overriding pkg-config
1936
1925
  DJVU_CFLAGS C compiler flags for DJVU, overriding pkg-config
1937
1926
  DJVU_LIBS   linker flags for DJVU, overriding pkg-config
 
1927
  GXPS_CFLAGS C compiler flags for GXPS, overriding pkg-config
 
1928
  GXPS_LIBS   linker flags for GXPS, overriding pkg-config
1938
1929
 
1939
1930
Use these variables to override the choices made by `configure' or to help
1940
1931
it to find libraries and programs with nonstandard names/locations.
2002
1993
test -n "$ac_init_help" && exit $ac_status
2003
1994
if $ac_init_version; then
2004
1995
  cat <<\_ACEOF
2005
 
Evince configure 2.32.0
2006
 
generated by GNU Autoconf 2.65
 
1996
Evince configure 3.0.0
 
1997
generated by GNU Autoconf 2.67
2007
1998
 
2008
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1999
Copyright (C) 2010 Free Software Foundation, Inc.
2009
2000
This configure script is free software; the Free Software Foundation
2010
2001
gives unlimited permission to copy, distribute and modify it.
2011
2002
_ACEOF
2109
2100
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110
2101
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111
2102
$as_echo_n "checking for $2... " >&6; }
2112
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2103
if eval "test \"\${$3+set}\"" = set; then :
2113
2104
  $as_echo_n "(cached) " >&6
2114
2105
else
2115
2106
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152
2143
    mv -f conftest.er1 conftest.err
2153
2144
  fi
2154
2145
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155
 
  test $ac_status = 0; } >/dev/null && {
 
2146
  test $ac_status = 0; } > conftest.i && {
2156
2147
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2157
2148
         test ! -s conftest.err
2158
2149
       }; then :
2218
2209
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219
2210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2220
2211
$as_echo_n "checking for $2... " >&6; }
2221
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2212
if eval "test \"\${$3+set}\"" = set; then :
2222
2213
  $as_echo_n "(cached) " >&6
2223
2214
else
2224
2215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336
2327
    mv -f conftest.er1 conftest.err
2337
2328
  fi
2338
2329
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339
 
  test $ac_status = 0; } >/dev/null && {
 
2330
  test $ac_status = 0; } > conftest.i && {
2340
2331
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2341
2332
         test ! -s conftest.err
2342
2333
       }; then :
2406
2397
ac_fn_c_check_header_mongrel ()
2407
2398
{
2408
2399
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2409
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2400
  if eval "test \"\${$3+set}\"" = set; then :
2410
2401
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2411
2402
$as_echo_n "checking for $2... " >&6; }
2412
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2403
if eval "test \"\${$3+set}\"" = set; then :
2413
2404
  $as_echo_n "(cached) " >&6
2414
2405
fi
2415
2406
eval ac_res=\$$3
2445
2436
else
2446
2437
  ac_header_preproc=no
2447
2438
fi
2448
 
rm -f conftest.err conftest.$ac_ext
 
2439
rm -f conftest.err conftest.i conftest.$ac_ext
2449
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2450
2441
$as_echo "$ac_header_preproc" >&6; }
2451
2442
 
2468
2459
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2469
2460
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2470
2461
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2471
 
( cat <<\_ASBOX
2472
 
## --------------------------------------------------------------------- ##
 
2462
( $as_echo "## --------------------------------------------------------------------- ##
2473
2463
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=evince ##
2474
 
## --------------------------------------------------------------------- ##
2475
 
_ASBOX
 
2464
## --------------------------------------------------------------------- ##"
2476
2465
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2477
2466
    ;;
2478
2467
esac
2479
2468
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2480
2469
$as_echo_n "checking for $2... " >&6; }
2481
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2470
if eval "test \"\${$3+set}\"" = set; then :
2482
2471
  $as_echo_n "(cached) " >&6
2483
2472
else
2484
2473
  eval "$3=\$ac_header_compiler"
2491
2480
 
2492
2481
} # ac_fn_c_check_header_mongrel
2493
2482
 
2494
 
# ac_fn_c_check_decl LINENO SYMBOL VAR
2495
 
# ------------------------------------
2496
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2483
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
2484
# ---------------------------------------------
 
2485
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
2486
# accordingly.
2497
2487
ac_fn_c_check_decl ()
2498
2488
{
2499
2489
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2500
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2501
 
$as_echo_n "checking whether $2 is declared... " >&6; }
2502
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2490
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
2491
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
2492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
2493
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
2494
if eval "test \"\${$3+set}\"" = set; then :
2503
2495
  $as_echo_n "(cached) " >&6
2504
2496
else
2505
2497
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2508
2500
int
2509
2501
main ()
2510
2502
{
2511
 
#ifndef $2
2512
 
  (void) $2;
 
2503
#ifndef $as_decl_name
 
2504
#ifdef __cplusplus
 
2505
  (void) $as_decl_use;
 
2506
#else
 
2507
  (void) $as_decl_name;
 
2508
#endif
2513
2509
#endif
2514
2510
 
2515
2511
  ;
2539
2535
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540
2536
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2541
2537
$as_echo_n "checking for $2... " >&6; }
2542
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2538
if eval "test \"\${$3+set}\"" = set; then :
2543
2539
  $as_echo_n "(cached) " >&6
2544
2540
else
2545
2541
  eval "$3=no"
2765
2761
This file contains any messages produced by compilers while
2766
2762
running configure, to aid debugging if configure makes a mistake.
2767
2763
 
2768
 
It was created by Evince $as_me 2.32.0, which was
2769
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2764
It was created by Evince $as_me 3.0.0, which was
 
2765
generated by GNU Autoconf 2.67.  Invocation command line was
2770
2766
 
2771
2767
  $ $0 $@
2772
2768
 
2876
2872
  {
2877
2873
    echo
2878
2874
 
2879
 
    cat <<\_ASBOX
2880
 
## ---------------- ##
 
2875
    $as_echo "## ---------------- ##
2881
2876
## Cache variables. ##
2882
 
## ---------------- ##
2883
 
_ASBOX
 
2877
## ---------------- ##"
2884
2878
    echo
2885
2879
    # The following way of writing the cache mishandles newlines in values,
2886
2880
(
2914
2908
)
2915
2909
    echo
2916
2910
 
2917
 
    cat <<\_ASBOX
2918
 
## ----------------- ##
 
2911
    $as_echo "## ----------------- ##
2919
2912
## Output variables. ##
2920
 
## ----------------- ##
2921
 
_ASBOX
 
2913
## ----------------- ##"
2922
2914
    echo
2923
2915
    for ac_var in $ac_subst_vars
2924
2916
    do
2931
2923
    echo
2932
2924
 
2933
2925
    if test -n "$ac_subst_files"; then
2934
 
      cat <<\_ASBOX
2935
 
## ------------------- ##
 
2926
      $as_echo "## ------------------- ##
2936
2927
## File substitutions. ##
2937
 
## ------------------- ##
2938
 
_ASBOX
 
2928
## ------------------- ##"
2939
2929
      echo
2940
2930
      for ac_var in $ac_subst_files
2941
2931
      do
2949
2939
    fi
2950
2940
 
2951
2941
    if test -s confdefs.h; then
2952
 
      cat <<\_ASBOX
2953
 
## ----------- ##
 
2942
      $as_echo "## ----------- ##
2954
2943
## confdefs.h. ##
2955
 
## ----------- ##
2956
 
_ASBOX
 
2944
## ----------- ##"
2957
2945
      echo
2958
2946
      cat confdefs.h
2959
2947
      echo
3008
2996
ac_site_file1=NONE
3009
2997
ac_site_file2=NONE
3010
2998
if test -n "$CONFIG_SITE"; then
3011
 
  ac_site_file1=$CONFIG_SITE
 
2999
  # We do not want a PATH search for config.site.
 
3000
  case $CONFIG_SITE in #((
 
3001
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
3002
    */*) ac_site_file1=$CONFIG_SITE;;
 
3003
    *)   ac_site_file1=./$CONFIG_SITE;;
 
3004
  esac
3012
3005
elif test "x$prefix" != xNONE; then
3013
3006
  ac_site_file1=$prefix/share/config.site
3014
3007
  ac_site_file2=$prefix/etc/config.site
3023
3016
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3024
3017
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3025
3018
    sed 's/^/| /' "$ac_site_file" >&5
3026
 
    . "$ac_site_file"
 
3019
    . "$ac_site_file" \
 
3020
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3021
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3022
as_fn_error $? "failed to load site script $ac_site_file
 
3023
See \`config.log' for more details" "$LINENO" 5 ; }
3027
3024
  fi
3028
3025
done
3029
3026
 
3099
3096
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100
3097
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101
3098
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
3099
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3103
3100
fi
3104
3101
## -------------------- ##
3105
3102
## Main body of script. ##
3116
3113
 
3117
3114
ac_aux_dir=
3118
3115
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3119
 
  for ac_t in install-sh install.sh shtool; do
3120
 
    if test -f "$ac_dir/$ac_t"; then
3121
 
      ac_aux_dir=$ac_dir
3122
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
3123
 
      break 2
3124
 
    fi
3125
 
  done
 
3116
  if test -f "$ac_dir/install-sh"; then
 
3117
    ac_aux_dir=$ac_dir
 
3118
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
3119
    break
 
3120
  elif test -f "$ac_dir/install.sh"; then
 
3121
    ac_aux_dir=$ac_dir
 
3122
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
3123
    break
 
3124
  elif test -f "$ac_dir/shtool"; then
 
3125
    ac_aux_dir=$ac_dir
 
3126
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
3127
    break
 
3128
  fi
3126
3129
done
3127
3130
if test -z "$ac_aux_dir"; then
3128
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
3131
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3129
3132
fi
3130
3133
 
3131
3134
# These three variables are undocumented and unsupported,
3241
3244
'
3242
3245
case `pwd` in
3243
3246
  *[\\\"\#\$\&\'\`$am_lf]*)
3244
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
3247
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3245
3248
esac
3246
3249
case $srcdir in
3247
3250
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3248
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
3251
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3249
3252
esac
3250
3253
 
3251
3254
# Do `set' in a subshell so we don't clobber the current shell's
3267
3270
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3268
3271
      # broken ls alias from the environment.  This has actually
3269
3272
      # happened.  Such a system could not be considered "sane".
3270
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
3273
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3271
3274
alias in your environment" "$LINENO" 5
3272
3275
   fi
3273
3276
 
3277
3280
   # Ok.
3278
3281
   :
3279
3282
else
3280
 
   as_fn_error "newly created file is older than distributed files!
 
3283
   as_fn_error $? "newly created file is older than distributed files!
3281
3284
Check your system clock" "$LINENO" 5
3282
3285
fi
3283
3286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3515
3518
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3516
3519
set x ${MAKE-make}
3517
3520
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3518
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3521
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3519
3522
  $as_echo_n "(cached) " >&6
3520
3523
else
3521
3524
  cat >conftest.make <<\_ACEOF
3523
3526
all:
3524
3527
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3525
3528
_ACEOF
3526
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3529
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3527
3530
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3528
3531
  *@@@%%%=?*=@@@%%%*)
3529
3532
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3557
3560
  am__isrc=' -I$(srcdir)'
3558
3561
  # test to see if srcdir already configured
3559
3562
  if test -f $srcdir/config.status; then
3560
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3563
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3561
3564
  fi
3562
3565
fi
3563
3566
 
3573
3576
 
3574
3577
# Define the identity of the package.
3575
3578
 PACKAGE='evince'
3576
 
 VERSION='2.32.0'
 
3579
 VERSION='3.0.0'
3577
3580
 
3578
3581
 
3579
3582
cat >>confdefs.h <<_ACEOF
3666
3669
 
3667
3670
 
3668
3671
 
3669
 
macro_version='2.2.6'
3670
 
macro_revision='1.3012'
 
3672
macro_version='2.2.6b'
 
3673
macro_revision='1.3017'
3671
3674
 
3672
3675
 
3673
3676
 
3685
3688
 
3686
3689
# Make sure we can run config.sub.
3687
3690
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3688
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
3691
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3689
3692
 
3690
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3691
3694
$as_echo_n "checking build system type... " >&6; }
3696
3699
test "x$ac_build_alias" = x &&
3697
3700
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3698
3701
test "x$ac_build_alias" = x &&
3699
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
3702
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3700
3703
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3701
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
3704
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3702
3705
 
3703
3706
fi
3704
3707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3705
3708
$as_echo "$ac_cv_build" >&6; }
3706
3709
case $ac_cv_build in
3707
3710
*-*-*) ;;
3708
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
3711
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3709
3712
esac
3710
3713
build=$ac_cv_build
3711
3714
ac_save_IFS=$IFS; IFS='-'
3730
3733
  ac_cv_host=$ac_cv_build
3731
3734
else
3732
3735
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3733
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3736
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3734
3737
fi
3735
3738
 
3736
3739
fi
3738
3741
$as_echo "$ac_cv_host" >&6; }
3739
3742
case $ac_cv_host in
3740
3743
*-*-*) ;;
3741
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
3744
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3742
3745
esac
3743
3746
host=$ac_cv_host
3744
3747
ac_save_IFS=$IFS; IFS='-'
4116
4119
 
4117
4120
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118
4121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119
 
as_fn_error "no acceptable C compiler found in \$PATH
4120
 
See \`config.log' for more details." "$LINENO" 5; }
 
4122
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4123
See \`config.log' for more details" "$LINENO" 5 ; }
4121
4124
 
4122
4125
# Provide some information about the compiler.
4123
4126
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4231
4234
 
4232
4235
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4233
4236
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4234
 
{ as_fn_set_status 77
4235
 
as_fn_error "C compiler cannot create executables
4236
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
4237
as_fn_error 77 "C compiler cannot create executables
 
4238
See \`config.log' for more details" "$LINENO" 5 ; }
4237
4239
else
4238
4240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4239
4241
$as_echo "yes" >&6; }
4275
4277
else
4276
4278
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4277
4279
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4278
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
4279
 
See \`config.log' for more details." "$LINENO" 5; }
 
4280
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
4281
See \`config.log' for more details" "$LINENO" 5 ; }
4280
4282
fi
4281
4283
rm -f conftest conftest$ac_cv_exeext
4282
4284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4333
4335
    else
4334
4336
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4335
4337
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4336
 
as_fn_error "cannot run C compiled programs.
 
4338
as_fn_error $? "cannot run C compiled programs.
4337
4339
If you meant to cross compile, use \`--host'.
4338
 
See \`config.log' for more details." "$LINENO" 5; }
 
4340
See \`config.log' for more details" "$LINENO" 5 ; }
4339
4341
    fi
4340
4342
  fi
4341
4343
fi
4386
4388
 
4387
4389
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4388
4390
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4389
 
as_fn_error "cannot compute suffix of object files: cannot compile
4390
 
See \`config.log' for more details." "$LINENO" 5; }
 
4391
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
4392
See \`config.log' for more details" "$LINENO" 5 ; }
4391
4393
fi
4392
4394
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4393
4395
fi
4791
4793
  done
4792
4794
IFS=$as_save_IFS
4793
4795
  if test -z "$ac_cv_path_SED"; then
4794
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4796
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4795
4797
  fi
4796
4798
else
4797
4799
  ac_cv_path_SED=$SED
4867
4869
  done
4868
4870
IFS=$as_save_IFS
4869
4871
  if test -z "$ac_cv_path_GREP"; then
4870
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4872
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871
4873
  fi
4872
4874
else
4873
4875
  ac_cv_path_GREP=$GREP
4933
4935
  done
4934
4936
IFS=$as_save_IFS
4935
4937
  if test -z "$ac_cv_path_EGREP"; then
4936
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4938
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4937
4939
  fi
4938
4940
else
4939
4941
  ac_cv_path_EGREP=$EGREP
5000
5002
  done
5001
5003
IFS=$as_save_IFS
5002
5004
  if test -z "$ac_cv_path_FGREP"; then
5003
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5005
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5004
5006
  fi
5005
5007
else
5006
5008
  ac_cv_path_FGREP=$FGREP
5116
5118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117
5119
$as_echo "no" >&6; }
5118
5120
fi
5119
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5121
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5120
5122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5121
5123
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5122
5124
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5318
5320
else
5319
5321
  lt_cv_nm_interface="BSD nm"
5320
5322
  echo "int some_variable = 0;" > conftest.$ac_ext
5321
 
  (eval echo "\"\$as_me:5321: $ac_compile\"" >&5)
 
5323
  (eval echo "\"\$as_me:5323: $ac_compile\"" >&5)
5322
5324
  (eval "$ac_compile" 2>conftest.err)
5323
5325
  cat conftest.err >&5
5324
 
  (eval echo "\"\$as_me:5324: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5326
  (eval echo "\"\$as_me:5326: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5325
5327
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5326
5328
  cat conftest.err >&5
5327
 
  (eval echo "\"\$as_me:5327: output\"" >&5)
 
5329
  (eval echo "\"\$as_me:5329: output\"" >&5)
5328
5330
  cat conftest.out >&5
5329
5331
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5330
5332
    lt_cv_nm_interface="MS dumpbin"
5790
5792
  ;;
5791
5793
 
5792
5794
# This must be Linux ELF.
5793
 
linux* | k*bsd*-gnu)
 
5795
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5794
5796
  lt_cv_deplibs_check_method=pass_all
5795
5797
  ;;
5796
5798
 
5797
 
netbsd*)
 
5799
netbsd* | netbsdelf*-gnu)
5798
5800
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5799
5801
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5800
5802
  else
6530
6532
  ;;
6531
6533
*-*-irix6*)
6532
6534
  # Find out which ABI we are using.
6533
 
  echo '#line 6533 "configure"' > conftest.$ac_ext
 
6535
  echo '#line 6535 "configure"' > conftest.$ac_ext
6534
6536
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6535
6537
  (eval $ac_compile) 2>&5
6536
6538
  ac_status=$?
7319
7321
  # Broken: fails on valid input.
7320
7322
continue
7321
7323
fi
7322
 
rm -f conftest.err conftest.$ac_ext
 
7324
rm -f conftest.err conftest.i conftest.$ac_ext
7323
7325
 
7324
7326
  # OK, works on sane cases.  Now check whether nonexistent headers
7325
7327
  # can be detected and how.
7335
7337
ac_preproc_ok=:
7336
7338
break
7337
7339
fi
7338
 
rm -f conftest.err conftest.$ac_ext
 
7340
rm -f conftest.err conftest.i conftest.$ac_ext
7339
7341
 
7340
7342
done
7341
7343
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7342
 
rm -f conftest.err conftest.$ac_ext
 
7344
rm -f conftest.i conftest.err conftest.$ac_ext
7343
7345
if $ac_preproc_ok; then :
7344
7346
  break
7345
7347
fi
7378
7380
  # Broken: fails on valid input.
7379
7381
continue
7380
7382
fi
7381
 
rm -f conftest.err conftest.$ac_ext
 
7383
rm -f conftest.err conftest.i conftest.$ac_ext
7382
7384
 
7383
7385
  # OK, works on sane cases.  Now check whether nonexistent headers
7384
7386
  # can be detected and how.
7394
7396
ac_preproc_ok=:
7395
7397
break
7396
7398
fi
7397
 
rm -f conftest.err conftest.$ac_ext
 
7399
rm -f conftest.err conftest.i conftest.$ac_ext
7398
7400
 
7399
7401
done
7400
7402
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7401
 
rm -f conftest.err conftest.$ac_ext
 
7403
rm -f conftest.i conftest.err conftest.$ac_ext
7402
7404
if $ac_preproc_ok; then :
7403
7405
 
7404
7406
else
7405
7407
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7406
7408
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7407
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7408
 
See \`config.log' for more details." "$LINENO" 5; }
 
7409
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7410
See \`config.log' for more details" "$LINENO" 5 ; }
7409
7411
fi
7410
7412
 
7411
7413
ac_ext=c
7534
7536
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7535
7537
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7536
7538
"
7537
 
eval as_val=\$$as_ac_Header
7538
 
   if test "x$as_val" = x""yes; then :
 
7539
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7539
7540
  cat >>confdefs.h <<_ACEOF
7540
7541
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7541
7542
_ACEOF
8060
8061
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8061
8062
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8062
8063
   -e 's:$: $lt_compiler_flag:'`
8063
 
   (eval echo "\"\$as_me:8063: $lt_compile\"" >&5)
 
8064
   (eval echo "\"\$as_me:8064: $lt_compile\"" >&5)
8064
8065
   (eval "$lt_compile" 2>conftest.err)
8065
8066
   ac_status=$?
8066
8067
   cat conftest.err >&5
8067
 
   echo "$as_me:8067: \$? = $ac_status" >&5
 
8068
   echo "$as_me:8068: \$? = $ac_status" >&5
8068
8069
   if (exit $ac_status) && test -s "$ac_outfile"; then
8069
8070
     # The compiler can only warn and ignore the option if not recognized
8070
8071
     # So say no if there are warnings other than the usual output.
8229
8230
      lt_prog_compiler_static='-non_shared'
8230
8231
      ;;
8231
8232
 
8232
 
    linux* | k*bsd*-gnu)
 
8233
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8233
8234
      case $cc_basename in
8234
8235
      # old Intel for x86_64 which still supported -KPIC.
8235
8236
      ecc*)
8399
8400
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8400
8401
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8401
8402
   -e 's:$: $lt_compiler_flag:'`
8402
 
   (eval echo "\"\$as_me:8402: $lt_compile\"" >&5)
 
8403
   (eval echo "\"\$as_me:8403: $lt_compile\"" >&5)
8403
8404
   (eval "$lt_compile" 2>conftest.err)
8404
8405
   ac_status=$?
8405
8406
   cat conftest.err >&5
8406
 
   echo "$as_me:8406: \$? = $ac_status" >&5
 
8407
   echo "$as_me:8407: \$? = $ac_status" >&5
8407
8408
   if (exit $ac_status) && test -s "$ac_outfile"; then
8408
8409
     # The compiler can only warn and ignore the option if not recognized
8409
8410
     # So say no if there are warnings other than the usual output.
8504
8505
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8505
8506
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8506
8507
   -e 's:$: $lt_compiler_flag:'`
8507
 
   (eval echo "\"\$as_me:8507: $lt_compile\"" >&5)
 
8508
   (eval echo "\"\$as_me:8508: $lt_compile\"" >&5)
8508
8509
   (eval "$lt_compile" 2>out/conftest.err)
8509
8510
   ac_status=$?
8510
8511
   cat out/conftest.err >&5
8511
 
   echo "$as_me:8511: \$? = $ac_status" >&5
 
8512
   echo "$as_me:8512: \$? = $ac_status" >&5
8512
8513
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8513
8514
   then
8514
8515
     # The compiler can only warn and ignore the option if not recognized
8559
8560
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8560
8561
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8561
8562
   -e 's:$: $lt_compiler_flag:'`
8562
 
   (eval echo "\"\$as_me:8562: $lt_compile\"" >&5)
 
8563
   (eval echo "\"\$as_me:8563: $lt_compile\"" >&5)
8563
8564
   (eval "$lt_compile" 2>out/conftest.err)
8564
8565
   ac_status=$?
8565
8566
   cat out/conftest.err >&5
8566
 
   echo "$as_me:8566: \$? = $ac_status" >&5
 
8567
   echo "$as_me:8567: \$? = $ac_status" >&5
8567
8568
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8568
8569
   then
8569
8570
     # The compiler can only warn and ignore the option if not recognized
8678
8679
  openbsd*)
8679
8680
    with_gnu_ld=no
8680
8681
    ;;
 
8682
  linux* | k*bsd*-gnu)
 
8683
    link_all_deplibs=no
 
8684
    ;;
8681
8685
  esac
8682
8686
 
8683
8687
  ld_shlibs=yes
8699
8703
    fi
8700
8704
    supports_anon_versioning=no
8701
8705
    case `$LD -v 2>&1` in
 
8706
      *GNU\ gold*) supports_anon_versioning=yes ;;
8702
8707
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8703
8708
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8704
8709
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8790
8795
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8791
8796
      ;;
8792
8797
 
8793
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8798
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8794
8799
      tmp_diet=no
8795
8800
      if test "$host_os" = linux-dietlibc; then
8796
8801
        case $cc_basename in
8860
8865
      fi
8861
8866
      ;;
8862
8867
 
8863
 
    netbsd*)
 
8868
    netbsd* | netbsdelf*-gnu)
8864
8869
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8865
8870
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8866
8871
        wlarc=
9035
9040
        if test "$aix_use_runtimelinking" = yes; then
9036
9041
          shared_flag="$shared_flag "'${wl}-G'
9037
9042
        fi
 
9043
        link_all_deplibs=no
9038
9044
      else
9039
9045
        # not using gcc
9040
9046
        if test "$host_cpu" = ia64; then
9361
9367
      link_all_deplibs=yes
9362
9368
      ;;
9363
9369
 
9364
 
    netbsd*)
 
9370
    netbsd* | netbsdelf*-gnu)
9365
9371
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9366
9372
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9367
9373
      else
10251
10257
  ;;
10252
10258
 
10253
10259
# This must be Linux ELF.
10254
 
linux* | k*bsd*-gnu)
 
10260
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10255
10261
  version_type=linux
10256
10262
  need_lib_prefix=no
10257
10263
  need_version=no
10306
10312
  dynamic_linker='GNU/Linux ld.so'
10307
10313
  ;;
10308
10314
 
 
10315
netbsdelf*-gnu)
 
10316
  version_type=linux
 
10317
  need_lib_prefix=no
 
10318
  need_version=no
 
10319
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10320
  soname_spec='${libname}${release}${shared_ext}$major'
 
10321
  shlibpath_var=LD_LIBRARY_PATH
 
10322
  shlibpath_overrides_runpath=no
 
10323
  hardcode_into_libs=yes
 
10324
  dynamic_linker='NetBSD ld.elf_so'
 
10325
  ;;
 
10326
 
10309
10327
netbsd*)
10310
10328
  version_type=sunos
10311
10329
  need_lib_prefix=no
10926
10944
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10927
10945
  lt_status=$lt_dlunknown
10928
10946
  cat > conftest.$ac_ext <<_LT_EOF
10929
 
#line 10929 "configure"
 
10947
#line 10947 "configure"
10930
10948
#include "confdefs.h"
10931
10949
 
10932
10950
#if HAVE_DLFCN_H
11022
11040
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11023
11041
  lt_status=$lt_dlunknown
11024
11042
  cat > conftest.$ac_ext <<_LT_EOF
11025
 
#line 11025 "configure"
 
11043
#line 11043 "configure"
11026
11044
#include "confdefs.h"
11027
11045
 
11028
11046
#if HAVE_DLFCN_H
11250
11268
 
11251
11269
 
11252
11270
 
11253
 
 
11254
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11255
 
$as_echo_n "checking for strerror in -lcposix... " >&6; }
11256
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
 
11271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
11272
$as_echo_n "checking for library containing strerror... " >&6; }
 
11273
if test "${ac_cv_search_strerror+set}" = set; then :
11257
11274
  $as_echo_n "(cached) " >&6
11258
11275
else
11259
 
  ac_check_lib_save_LIBS=$LIBS
11260
 
LIBS="-lcposix  $LIBS"
 
11276
  ac_func_search_save_LIBS=$LIBS
11261
11277
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262
11278
/* end confdefs.h.  */
11263
11279
 
11276
11292
  return 0;
11277
11293
}
11278
11294
_ACEOF
11279
 
if ac_fn_c_try_link "$LINENO"; then :
11280
 
  ac_cv_lib_cposix_strerror=yes
11281
 
else
11282
 
  ac_cv_lib_cposix_strerror=no
 
11295
for ac_lib in '' cposix; do
 
11296
  if test -z "$ac_lib"; then
 
11297
    ac_res="none required"
 
11298
  else
 
11299
    ac_res=-l$ac_lib
 
11300
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
11301
  fi
 
11302
  if ac_fn_c_try_link "$LINENO"; then :
 
11303
  ac_cv_search_strerror=$ac_res
11283
11304
fi
11284
11305
rm -f core conftest.err conftest.$ac_objext \
11285
 
    conftest$ac_exeext conftest.$ac_ext
11286
 
LIBS=$ac_check_lib_save_LIBS
11287
 
fi
11288
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11289
 
$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11290
 
if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
11291
 
  LIBS="$LIBS -lcposix"
11292
 
fi
11293
 
 
11294
 
 
 
11306
    conftest$ac_exeext
 
11307
  if test "${ac_cv_search_strerror+set}" = set; then :
 
11308
  break
 
11309
fi
 
11310
done
 
11311
if test "${ac_cv_search_strerror+set}" = set; then :
 
11312
 
 
11313
else
 
11314
  ac_cv_search_strerror=no
 
11315
fi
 
11316
rm conftest.$ac_ext
 
11317
LIBS=$ac_func_search_save_LIBS
 
11318
fi
 
11319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
11320
$as_echo "$ac_cv_search_strerror" >&6; }
 
11321
ac_res=$ac_cv_search_strerror
 
11322
if test "$ac_res" != no; then :
 
11323
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
11324
 
 
11325
fi
11295
11326
 
11296
11327
ac_ext=c
11297
11328
ac_cpp='$CPP $CPPFLAGS'
11593
11624
 
11594
11625
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11595
11626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11596
 
as_fn_error "no acceptable C compiler found in \$PATH
11597
 
See \`config.log' for more details." "$LINENO" 5; }
 
11627
as_fn_error $? "no acceptable C compiler found in \$PATH
 
11628
See \`config.log' for more details" "$LINENO" 5 ; }
11598
11629
 
11599
11630
# Provide some information about the compiler.
11600
11631
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12260
12291
 
12261
12292
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12262
12293
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12263
 
as_fn_error "no acceptable C compiler found in \$PATH
12264
 
See \`config.log' for more details." "$LINENO" 5; }
 
12294
as_fn_error $? "no acceptable C compiler found in \$PATH
 
12295
See \`config.log' for more details" "$LINENO" 5 ; }
12265
12296
 
12266
12297
# Provide some information about the compiler.
12267
12298
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12639
12670
fi
12640
12671
set dummy $CC; ac_cc=`$as_echo "$2" |
12641
12672
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12642
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
12673
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
12643
12674
  $as_echo_n "(cached) " >&6
12644
12675
else
12645
12676
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566
13597
  # Broken: fails on valid input.
13567
13598
continue
13568
13599
fi
13569
 
rm -f conftest.err conftest.$ac_ext
 
13600
rm -f conftest.err conftest.i conftest.$ac_ext
13570
13601
 
13571
13602
  # OK, works on sane cases.  Now check whether nonexistent headers
13572
13603
  # can be detected and how.
13582
13613
ac_preproc_ok=:
13583
13614
break
13584
13615
fi
13585
 
rm -f conftest.err conftest.$ac_ext
 
13616
rm -f conftest.err conftest.i conftest.$ac_ext
13586
13617
 
13587
13618
done
13588
13619
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13589
 
rm -f conftest.err conftest.$ac_ext
 
13620
rm -f conftest.i conftest.err conftest.$ac_ext
13590
13621
if $ac_preproc_ok; then :
13591
13622
  break
13592
13623
fi
13625
13656
  # Broken: fails on valid input.
13626
13657
continue
13627
13658
fi
13628
 
rm -f conftest.err conftest.$ac_ext
 
13659
rm -f conftest.err conftest.i conftest.$ac_ext
13629
13660
 
13630
13661
  # OK, works on sane cases.  Now check whether nonexistent headers
13631
13662
  # can be detected and how.
13641
13672
ac_preproc_ok=:
13642
13673
break
13643
13674
fi
13644
 
rm -f conftest.err conftest.$ac_ext
 
13675
rm -f conftest.err conftest.i conftest.$ac_ext
13645
13676
 
13646
13677
done
13647
13678
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13648
 
rm -f conftest.err conftest.$ac_ext
 
13679
rm -f conftest.i conftest.err conftest.$ac_ext
13649
13680
if $ac_preproc_ok; then :
13650
13681
 
13651
13682
else
13874
13905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875
13906
$as_echo "no" >&6; }
13876
13907
fi
13877
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
13908
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13878
13909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13879
13910
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13880
13911
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14399
14430
        inherit_rpath_CXX=yes
14400
14431
        ;;
14401
14432
 
14402
 
      linux* | k*bsd*-gnu)
 
14433
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14403
14434
        case $cc_basename in
14404
14435
          KCC*)
14405
14436
            # Kuck and Associates, Inc. (KAI) C++ Compiler
15227
15258
            ;;
15228
15259
        esac
15229
15260
        ;;
15230
 
      linux* | k*bsd*-gnu)
 
15261
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
15231
15262
        case $cc_basename in
15232
15263
          KCC*)
15233
15264
            # KAI C++ Compiler
15291
15322
            ;;
15292
15323
        esac
15293
15324
        ;;
15294
 
      netbsd*)
 
15325
      netbsd* | netbsdelf*-gnu)
15295
15326
        ;;
15296
15327
      *qnx* | *nto*)
15297
15328
        # QNX uses GNU C++, but need to define -shared option too, otherwise
15415
15446
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15416
15447
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15417
15448
   -e 's:$: $lt_compiler_flag:'`
15418
 
   (eval echo "\"\$as_me:15418: $lt_compile\"" >&5)
 
15449
   (eval echo "\"\$as_me:15449: $lt_compile\"" >&5)
15419
15450
   (eval "$lt_compile" 2>conftest.err)
15420
15451
   ac_status=$?
15421
15452
   cat conftest.err >&5
15422
 
   echo "$as_me:15422: \$? = $ac_status" >&5
 
15453
   echo "$as_me:15453: \$? = $ac_status" >&5
15423
15454
   if (exit $ac_status) && test -s "$ac_outfile"; then
15424
15455
     # The compiler can only warn and ignore the option if not recognized
15425
15456
     # So say no if there are warnings other than the usual output.
15514
15545
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15515
15546
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15516
15547
   -e 's:$: $lt_compiler_flag:'`
15517
 
   (eval echo "\"\$as_me:15517: $lt_compile\"" >&5)
 
15548
   (eval echo "\"\$as_me:15548: $lt_compile\"" >&5)
15518
15549
   (eval "$lt_compile" 2>out/conftest.err)
15519
15550
   ac_status=$?
15520
15551
   cat out/conftest.err >&5
15521
 
   echo "$as_me:15521: \$? = $ac_status" >&5
 
15552
   echo "$as_me:15552: \$? = $ac_status" >&5
15522
15553
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15523
15554
   then
15524
15555
     # The compiler can only warn and ignore the option if not recognized
15566
15597
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15567
15598
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15568
15599
   -e 's:$: $lt_compiler_flag:'`
15569
 
   (eval echo "\"\$as_me:15569: $lt_compile\"" >&5)
 
15600
   (eval echo "\"\$as_me:15600: $lt_compile\"" >&5)
15570
15601
   (eval "$lt_compile" 2>out/conftest.err)
15571
15602
   ac_status=$?
15572
15603
   cat out/conftest.err >&5
15573
 
   echo "$as_me:15573: \$? = $ac_status" >&5
 
15604
   echo "$as_me:15604: \$? = $ac_status" >&5
15574
15605
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15575
15606
   then
15576
15607
     # The compiler can only warn and ignore the option if not recognized
15642
15673
  cygwin* | mingw* | cegcc*)
15643
15674
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15644
15675
  ;;
 
15676
  linux* | k*bsd*-gnu)
 
15677
    link_all_deplibs_CXX=no
 
15678
  ;;
15645
15679
  *)
15646
15680
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15647
15681
  ;;
16141
16175
  ;;
16142
16176
 
16143
16177
# This must be Linux ELF.
16144
 
linux* | k*bsd*-gnu)
 
16178
linux* | k*bsd*-gnu | kopensolaris*-gnu)
16145
16179
  version_type=linux
16146
16180
  need_lib_prefix=no
16147
16181
  need_version=no
16196
16230
  dynamic_linker='GNU/Linux ld.so'
16197
16231
  ;;
16198
16232
 
 
16233
netbsdelf*-gnu)
 
16234
  version_type=linux
 
16235
  need_lib_prefix=no
 
16236
  need_version=no
 
16237
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16238
  soname_spec='${libname}${release}${shared_ext}$major'
 
16239
  shlibpath_var=LD_LIBRARY_PATH
 
16240
  shlibpath_overrides_runpath=no
 
16241
  hardcode_into_libs=yes
 
16242
  dynamic_linker='NetBSD ld.elf_so'
 
16243
  ;;
 
16244
 
16199
16245
netbsd*)
16200
16246
  version_type=sunos
16201
16247
  need_lib_prefix=no
16669
16715
  done
16670
16716
IFS=$as_save_IFS
16671
16717
  if test -z "$ac_cv_path_SED"; then
16672
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
16718
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
16673
16719
  fi
16674
16720
else
16675
16721
  ac_cv_path_SED=$SED
16843
16889
        fi
16844
16890
        ;;
16845
16891
    *)
16846
 
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
 
16892
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
16847
16893
        ;;
16848
16894
    esac
16849
16895
    CFLAGS="$realsave_CFLAGS"
16965
17011
 
16966
17012
case "$am__api_version" in
16967
17013
    1.01234)
16968
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
17014
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
16969
17015
    ;;
16970
17016
    *)
16971
17017
    ;;
16982
17028
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
16983
17029
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
16984
17030
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
16985
 
        as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
17031
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
16986
17032
fi
16987
17033
 
16988
17034
# Extract the first word of "intltool-update", so it can be a program name with args.
17106
17152
 
17107
17153
 
17108
17154
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
17109
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
17155
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
17110
17156
fi
17111
17157
 
17112
17158
  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 $< $@'
17388
17434
 
17389
17435
 
17390
17436
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
17391
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
17437
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
17392
17438
fi
17393
17439
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
17394
17440
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
17395
17441
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
17396
17442
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
17397
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
17443
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
17398
17444
fi
17399
17445
 
17400
17446
# Extract the first word of "perl", so it can be a program name with args.
17438
17484
 
17439
17485
 
17440
17486
if test -z "$INTLTOOL_PERL"; then
17441
 
   as_fn_error "perl not found" "$LINENO" 5
 
17487
   as_fn_error $? "perl not found" "$LINENO" 5
17442
17488
fi
17443
17489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
17444
17490
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
17445
17491
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
17446
17492
if test $? -ne 0; then
17447
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
17493
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
17448
17494
else
17449
17495
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
17450
17496
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
17457
17503
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17458
17504
$as_echo "ok" >&6; }
17459
17505
   else
17460
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
17506
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
17461
17507
   fi
17462
17508
fi
17463
17509
 
18228
18274
  enableval=$enable_schemas_compile; case ${enableval} in
18229
18275
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
18230
18276
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
18231
 
                  *) as_fn_error "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
18277
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5  ;;
18232
18278
                 esac
18233
18279
fi
18234
18280
 
18235
18281
 
18236
18282
 
18237
18283
 
 
18284
 
 
18285
 
 
18286
 
 
18287
 
18238
18288
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18239
18289
        if test -n "$ac_tool_prefix"; then
18240
18290
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18347
18397
$as_echo "no" >&6; }
18348
18398
                PKG_CONFIG=""
18349
18399
        fi
18350
 
 
18351
18400
fi
18352
18401
  gsettingsschemadir=${datadir}/glib-2.0/schemas
18353
18402
 
18397
18446
  fi
18398
18447
 
18399
18448
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
18400
 
    as_fn_error "glib-compile-schemas not found." "$LINENO" 5
 
18449
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
18401
18450
  else
18402
18451
    :
18403
18452
  fi
18410
18459
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
18411
18460
 
18412
18461
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
18413
 
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
18462
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
18414
18463
 
18415
18464
all-am: $(gsettings_SCHEMAS:.xml=.valid)
18416
18465
uninstall-am: uninstall-gsettings-schemas
18418
18467
 
18419
18468
.SECONDARY: $(gsettings_SCHEMAS)
18420
18469
 
18421
 
gsettings__base_list = \
18422
 
  sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
18423
 
  sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
18424
 
 
18425
 
install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
18470
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
18426
18471
        @$(NORMAL_INSTALL)
18427
 
        test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
18428
 
        @list='\''$(gsettings__enum_file) $(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
18429
 
        for p in $$list; do \
18430
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
18431
 
          echo "$$d$$p"; \
18432
 
        done | $(gsettings__base_list) | \
18433
 
        while read files; do \
18434
 
          echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
18435
 
          $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
18436
 
        done
18437
 
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
18472
        if test -n "$^"; then \
 
18473
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
18474
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
18475
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
18476
        fi
18438
18477
 
18439
18478
uninstall-gsettings-schemas:
18440
18479
        @$(NORMAL_UNINSTALL)
18450
18489
 
18451
18490
ifdef gsettings_ENUM_NAMESPACE
18452
18491
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
18453
 
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $(gsettings_ENUM_FILES) > $@.tmp && mv $@.tmp $@
 
18492
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
18454
18493
endif
18455
18494
'
18456
18495
 
18469
18508
if test "${with_platform+set}" = set; then :
18470
18509
  withval=$with_platform; case "$withval" in
18471
18510
    gnome|win32|hildon) ;;
18472
 
    *) as_fn_error "invalid argument \"$withval\" for --with-platform" "$LINENO" 5 ;;
 
18511
    *) as_fn_error $? "invalid argument \"$withval\" for --with-platform" "$LINENO" 5  ;;
18473
18512
   esac
18474
18513
else
18475
18514
  case "$host" in
18606
18645
fi
18607
18646
 
18608
18647
 
18609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile against" >&5
18610
 
$as_echo_n "checking which gtk+ version to compile against... " >&6; }
18611
 
 
18612
 
# Check whether --with-gtk was given.
18613
 
if test "${with_gtk+set}" = set; then :
18614
 
  withval=$with_gtk; case "$with_gtk" in
18615
 
     2.0|3.0) ;;
18616
 
     *) as_fn_error "invalid gtk version specified" "$LINENO" 5 ;;
18617
 
   esac
18618
 
else
18619
 
  with_gtk=2.0
18620
 
fi
18621
 
 
18622
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
18623
 
$as_echo "$with_gtk" >&6; }
18624
 
 
18625
 
CAIRO_REQUIRED=1.9.10
 
18648
CAIRO_REQUIRED=1.10.0
18626
18649
GLIB_REQUIRED=2.25.11
18627
18650
KEYRING_REQUIRED=2.22.0
18628
 
 
18629
 
case "$with_gtk" in
18630
 
  2.0) GTK_API_VERSION=2.0
18631
 
       GAIL_API_VERSION=
18632
 
       GTK_REQUIRED=2.21.5
18633
 
       ;;
18634
 
  3.0) GTK_API_VERSION=3.0
18635
 
       GAIL_API_VERSION=-3.0
18636
 
       GTK_REQUIRED=2.90.5
18637
 
       ;;
18638
 
esac
18639
 
 
 
18651
GTK_REQUIRED=3.0.2
 
18652
NAUTILUS_REQUIRED=2.91.4
18640
18653
 
18641
18654
 
18642
18655
 
18662
18675
    pkg_cv_LIBDOCUMENT_CFLAGS="$LIBDOCUMENT_CFLAGS"
18663
18676
 elif test -n "$PKG_CONFIG"; then
18664
18677
    if test -n "$PKG_CONFIG" && \
18665
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
18666
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
18678
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
18679
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED") 2>&5
18667
18680
  ac_status=$?
18668
18681
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18669
18682
  test $ac_status = 0; }; then
18670
 
  pkg_cv_LIBDOCUMENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
18683
  pkg_cv_LIBDOCUMENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
18671
18684
else
18672
18685
  pkg_failed=yes
18673
18686
fi
18678
18691
    pkg_cv_LIBDOCUMENT_LIBS="$LIBDOCUMENT_LIBS"
18679
18692
 elif test -n "$PKG_CONFIG"; then
18680
18693
    if test -n "$PKG_CONFIG" && \
18681
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
18682
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
18694
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
18695
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED") 2>&5
18683
18696
  ac_status=$?
18684
18697
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18685
18698
  test $ac_status = 0; }; then
18686
 
  pkg_cv_LIBDOCUMENT_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
18699
  pkg_cv_LIBDOCUMENT_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
18687
18700
else
18688
18701
  pkg_failed=yes
18689
18702
fi
18694
18707
 
18695
18708
 
18696
18709
if test $pkg_failed = yes; then
 
18710
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18711
$as_echo "no" >&6; }
18697
18712
 
18698
18713
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18699
18714
        _pkg_short_errors_supported=yes
18701
18716
        _pkg_short_errors_supported=no
18702
18717
fi
18703
18718
        if test $_pkg_short_errors_supported = yes; then
18704
 
                LIBDOCUMENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
18719
                LIBDOCUMENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>&1`
18705
18720
        else
18706
 
                LIBDOCUMENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
18721
                LIBDOCUMENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED" 2>&1`
18707
18722
        fi
18708
18723
        # Put the nasty error message in config.log where it belongs
18709
18724
        echo "$LIBDOCUMENT_PKG_ERRORS" >&5
18710
18725
 
18711
 
        as_fn_error "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED) were not met:
 
18726
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED) were not met:
18712
18727
 
18713
18728
$LIBDOCUMENT_PKG_ERRORS
18714
18729
 
18717
18732
 
18718
18733
Alternatively, you may set the environment variables LIBDOCUMENT_CFLAGS
18719
18734
and LIBDOCUMENT_LIBS to avoid the need to call pkg-config.
18720
 
See the pkg-config man page for more details.
18721
 
" "$LINENO" 5
 
18735
See the pkg-config man page for more details." "$LINENO" 5
18722
18736
elif test $pkg_failed = untried; then
 
18737
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18738
$as_echo "no" >&6; }
18723
18739
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18724
18740
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18725
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
18741
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18726
18742
is in your PATH or set the PKG_CONFIG environment variable to the full
18727
18743
path to pkg-config.
18728
18744
 
18731
18747
See the pkg-config man page for more details.
18732
18748
 
18733
18749
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18734
 
See \`config.log' for more details." "$LINENO" 5; }
 
18750
See \`config.log' for more details" "$LINENO" 5 ; }
18735
18751
else
18736
18752
        LIBDOCUMENT_CFLAGS=$pkg_cv_LIBDOCUMENT_CFLAGS
18737
18753
        LIBDOCUMENT_LIBS=$pkg_cv_LIBDOCUMENT_LIBS
18738
18754
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18739
18755
$as_echo "yes" >&6; }
18740
 
        :
 
18756
 
18741
18757
fi
18742
18758
 
18743
18759
pkg_failed=no
18748
18764
    pkg_cv_LIBVIEW_CFLAGS="$LIBVIEW_CFLAGS"
18749
18765
 elif test -n "$PKG_CONFIG"; then
18750
18766
    if test -n "$PKG_CONFIG" && \
18751
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gail\$GAIL_API_VERSION >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
18752
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
18767
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gail-3.0 >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
18768
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
18753
18769
  ac_status=$?
18754
18770
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18755
18771
  test $ac_status = 0; }; then
18756
 
  pkg_cv_LIBVIEW_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
18772
  pkg_cv_LIBVIEW_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
18757
18773
else
18758
18774
  pkg_failed=yes
18759
18775
fi
18764
18780
    pkg_cv_LIBVIEW_LIBS="$LIBVIEW_LIBS"
18765
18781
 elif test -n "$PKG_CONFIG"; then
18766
18782
    if test -n "$PKG_CONFIG" && \
18767
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gail\$GAIL_API_VERSION >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
18768
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
18783
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gail-3.0 >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
18784
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
18769
18785
  ac_status=$?
18770
18786
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18771
18787
  test $ac_status = 0; }; then
18772
 
  pkg_cv_LIBVIEW_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
18788
  pkg_cv_LIBVIEW_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
18773
18789
else
18774
18790
  pkg_failed=yes
18775
18791
fi
18780
18796
 
18781
18797
 
18782
18798
if test $pkg_failed = yes; then
 
18799
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18800
$as_echo "no" >&6; }
18783
18801
 
18784
18802
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18785
18803
        _pkg_short_errors_supported=yes
18787
18805
        _pkg_short_errors_supported=no
18788
18806
fi
18789
18807
        if test $_pkg_short_errors_supported = yes; then
18790
 
                LIBVIEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
18808
                LIBVIEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
18791
18809
        else
18792
 
                LIBVIEW_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
18810
                LIBVIEW_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
18793
18811
        fi
18794
18812
        # Put the nasty error message in config.log where it belongs
18795
18813
        echo "$LIBVIEW_PKG_ERRORS" >&5
18796
18814
 
18797
 
        as_fn_error "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) were not met:
 
18815
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) were not met:
18798
18816
 
18799
18817
$LIBVIEW_PKG_ERRORS
18800
18818
 
18803
18821
 
18804
18822
Alternatively, you may set the environment variables LIBVIEW_CFLAGS
18805
18823
and LIBVIEW_LIBS to avoid the need to call pkg-config.
18806
 
See the pkg-config man page for more details.
18807
 
" "$LINENO" 5
 
18824
See the pkg-config man page for more details." "$LINENO" 5
18808
18825
elif test $pkg_failed = untried; then
 
18826
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18827
$as_echo "no" >&6; }
18809
18828
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18810
18829
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18811
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
18830
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18812
18831
is in your PATH or set the PKG_CONFIG environment variable to the full
18813
18832
path to pkg-config.
18814
18833
 
18817
18836
See the pkg-config man page for more details.
18818
18837
 
18819
18838
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18820
 
See \`config.log' for more details." "$LINENO" 5; }
 
18839
See \`config.log' for more details" "$LINENO" 5 ; }
18821
18840
else
18822
18841
        LIBVIEW_CFLAGS=$pkg_cv_LIBVIEW_CFLAGS
18823
18842
        LIBVIEW_LIBS=$pkg_cv_LIBVIEW_LIBS
18824
18843
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18825
18844
$as_echo "yes" >&6; }
18826
 
        :
 
18845
 
18827
18846
fi
18828
18847
 
18829
18848
pkg_failed=no
18834
18853
    pkg_cv_BACKEND_CFLAGS="$BACKEND_CFLAGS"
18835
18854
 elif test -n "$PKG_CONFIG"; then
18836
18855
    if test -n "$PKG_CONFIG" && \
18837
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
18838
 
  ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
 
18856
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
 
18857
  ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED") 2>&5
18839
18858
  ac_status=$?
18840
18859
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18841
18860
  test $ac_status = 0; }; then
18842
 
  pkg_cv_BACKEND_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
 
18861
  pkg_cv_BACKEND_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
18843
18862
else
18844
18863
  pkg_failed=yes
18845
18864
fi
18850
18869
    pkg_cv_BACKEND_LIBS="$BACKEND_LIBS"
18851
18870
 elif test -n "$PKG_CONFIG"; then
18852
18871
    if test -n "$PKG_CONFIG" && \
18853
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
18854
 
  ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
 
18872
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
 
18873
  ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED") 2>&5
18855
18874
  ac_status=$?
18856
18875
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18857
18876
  test $ac_status = 0; }; then
18858
 
  pkg_cv_BACKEND_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
 
18877
  pkg_cv_BACKEND_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
18859
18878
else
18860
18879
  pkg_failed=yes
18861
18880
fi
18866
18885
 
18867
18886
 
18868
18887
if test $pkg_failed = yes; then
 
18888
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18889
$as_echo "no" >&6; }
18869
18890
 
18870
18891
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18871
18892
        _pkg_short_errors_supported=yes
18873
18894
        _pkg_short_errors_supported=no
18874
18895
fi
18875
18896
        if test $_pkg_short_errors_supported = yes; then
18876
 
                BACKEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
 
18897
                BACKEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
18877
18898
        else
18878
 
                BACKEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
 
18899
                BACKEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
18879
18900
        fi
18880
18901
        # Put the nasty error message in config.log where it belongs
18881
18902
        echo "$BACKEND_PKG_ERRORS" >&5
18882
18903
 
18883
 
        as_fn_error "Package requirements (cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
 
18904
        as_fn_error $? "Package requirements (cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED) were not met:
18884
18905
 
18885
18906
$BACKEND_PKG_ERRORS
18886
18907
 
18889
18910
 
18890
18911
Alternatively, you may set the environment variables BACKEND_CFLAGS
18891
18912
and BACKEND_LIBS to avoid the need to call pkg-config.
18892
 
See the pkg-config man page for more details.
18893
 
" "$LINENO" 5
 
18913
See the pkg-config man page for more details." "$LINENO" 5
18894
18914
elif test $pkg_failed = untried; then
 
18915
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18916
$as_echo "no" >&6; }
18895
18917
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18896
18918
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18897
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
18919
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18898
18920
is in your PATH or set the PKG_CONFIG environment variable to the full
18899
18921
path to pkg-config.
18900
18922
 
18903
18925
See the pkg-config man page for more details.
18904
18926
 
18905
18927
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18906
 
See \`config.log' for more details." "$LINENO" 5; }
 
18928
See \`config.log' for more details" "$LINENO" 5 ; }
18907
18929
else
18908
18930
        BACKEND_CFLAGS=$pkg_cv_BACKEND_CFLAGS
18909
18931
        BACKEND_LIBS=$pkg_cv_BACKEND_LIBS
18910
18932
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18911
18933
$as_echo "yes" >&6; }
18912
 
        :
 
18934
 
18913
18935
fi
18914
18936
 
18915
18937
pkg_failed=no
18920
18942
    pkg_cv_FRONTEND_CORE_CFLAGS="$FRONTEND_CORE_CFLAGS"
18921
18943
 elif test -n "$PKG_CONFIG"; then
18922
18944
    if test -n "$PKG_CONFIG" && \
18923
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
18924
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
18945
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
18946
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
18925
18947
  ac_status=$?
18926
18948
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18927
18949
  test $ac_status = 0; }; then
18928
 
  pkg_cv_FRONTEND_CORE_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
18950
  pkg_cv_FRONTEND_CORE_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
18929
18951
else
18930
18952
  pkg_failed=yes
18931
18953
fi
18936
18958
    pkg_cv_FRONTEND_CORE_LIBS="$FRONTEND_CORE_LIBS"
18937
18959
 elif test -n "$PKG_CONFIG"; then
18938
18960
    if test -n "$PKG_CONFIG" && \
18939
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
18940
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
18961
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
18962
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
18941
18963
  ac_status=$?
18942
18964
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18943
18965
  test $ac_status = 0; }; then
18944
 
  pkg_cv_FRONTEND_CORE_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
18966
  pkg_cv_FRONTEND_CORE_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
18945
18967
else
18946
18968
  pkg_failed=yes
18947
18969
fi
18952
18974
 
18953
18975
 
18954
18976
if test $pkg_failed = yes; then
 
18977
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18978
$as_echo "no" >&6; }
18955
18979
 
18956
18980
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18957
18981
        _pkg_short_errors_supported=yes
18959
18983
        _pkg_short_errors_supported=no
18960
18984
fi
18961
18985
        if test $_pkg_short_errors_supported = yes; then
18962
 
                FRONTEND_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
18986
                FRONTEND_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
18963
18987
        else
18964
 
                FRONTEND_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
18988
                FRONTEND_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
18965
18989
        fi
18966
18990
        # Put the nasty error message in config.log where it belongs
18967
18991
        echo "$FRONTEND_CORE_PKG_ERRORS" >&5
18968
18992
 
18969
 
        as_fn_error "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) were not met:
 
18993
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) were not met:
18970
18994
 
18971
18995
$FRONTEND_CORE_PKG_ERRORS
18972
18996
 
18975
18999
 
18976
19000
Alternatively, you may set the environment variables FRONTEND_CORE_CFLAGS
18977
19001
and FRONTEND_CORE_LIBS to avoid the need to call pkg-config.
18978
 
See the pkg-config man page for more details.
18979
 
" "$LINENO" 5
 
19002
See the pkg-config man page for more details." "$LINENO" 5
18980
19003
elif test $pkg_failed = untried; then
 
19004
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19005
$as_echo "no" >&6; }
18981
19006
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18982
19007
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18983
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
19008
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18984
19009
is in your PATH or set the PKG_CONFIG environment variable to the full
18985
19010
path to pkg-config.
18986
19011
 
18989
19014
See the pkg-config man page for more details.
18990
19015
 
18991
19016
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18992
 
See \`config.log' for more details." "$LINENO" 5; }
 
19017
See \`config.log' for more details" "$LINENO" 5 ; }
18993
19018
else
18994
19019
        FRONTEND_CORE_CFLAGS=$pkg_cv_FRONTEND_CORE_CFLAGS
18995
19020
        FRONTEND_CORE_LIBS=$pkg_cv_FRONTEND_CORE_LIBS
18996
19021
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18997
19022
$as_echo "yes" >&6; }
18998
 
        :
 
19023
 
18999
19024
fi
19000
19025
 
19001
19026
SHELL_PLATFORM_PKGS=
19034
19059
    pkg_cv_SHELL_CORE_CFLAGS="$SHELL_CORE_CFLAGS"
19035
19060
 elif test -n "$PKG_CONFIG"; then
19036
19061
    if test -n "$PKG_CONFIG" && \
19037
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gthread-2.0 \$SHELL_PLATFORM_PKGS\""; } >&5
19038
 
  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS") 2>&5
 
19062
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gthread-2.0 \$SHELL_PLATFORM_PKGS\""; } >&5
 
19063
  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS") 2>&5
19039
19064
  ac_status=$?
19040
19065
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19041
19066
  test $ac_status = 0; }; then
19042
 
  pkg_cv_SHELL_CORE_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>/dev/null`
 
19067
  pkg_cv_SHELL_CORE_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>/dev/null`
19043
19068
else
19044
19069
  pkg_failed=yes
19045
19070
fi
19050
19075
    pkg_cv_SHELL_CORE_LIBS="$SHELL_CORE_LIBS"
19051
19076
 elif test -n "$PKG_CONFIG"; then
19052
19077
    if test -n "$PKG_CONFIG" && \
19053
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gthread-2.0 \$SHELL_PLATFORM_PKGS\""; } >&5
19054
 
  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS") 2>&5
 
19078
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gthread-2.0 \$SHELL_PLATFORM_PKGS\""; } >&5
 
19079
  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS") 2>&5
19055
19080
  ac_status=$?
19056
19081
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19057
19082
  test $ac_status = 0; }; then
19058
 
  pkg_cv_SHELL_CORE_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>/dev/null`
 
19083
  pkg_cv_SHELL_CORE_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>/dev/null`
19059
19084
else
19060
19085
  pkg_failed=yes
19061
19086
fi
19066
19091
 
19067
19092
 
19068
19093
if test $pkg_failed = yes; then
 
19094
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19095
$as_echo "no" >&6; }
19069
19096
 
19070
19097
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19071
19098
        _pkg_short_errors_supported=yes
19073
19100
        _pkg_short_errors_supported=no
19074
19101
fi
19075
19102
        if test $_pkg_short_errors_supported = yes; then
19076
 
                SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>&1`
 
19103
                SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>&1`
19077
19104
        else
19078
 
                SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>&1`
 
19105
                SHELL_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS" 2>&1`
19079
19106
        fi
19080
19107
        # Put the nasty error message in config.log where it belongs
19081
19108
        echo "$SHELL_CORE_PKG_ERRORS" >&5
19082
19109
 
19083
 
        as_fn_error "Package requirements (libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS) were not met:
 
19110
        as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS) were not met:
19084
19111
 
19085
19112
$SHELL_CORE_PKG_ERRORS
19086
19113
 
19089
19116
 
19090
19117
Alternatively, you may set the environment variables SHELL_CORE_CFLAGS
19091
19118
and SHELL_CORE_LIBS to avoid the need to call pkg-config.
19092
 
See the pkg-config man page for more details.
19093
 
" "$LINENO" 5
 
19119
See the pkg-config man page for more details." "$LINENO" 5
19094
19120
elif test $pkg_failed = untried; then
 
19121
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19122
$as_echo "no" >&6; }
19095
19123
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19096
19124
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19097
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
19125
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19098
19126
is in your PATH or set the PKG_CONFIG environment variable to the full
19099
19127
path to pkg-config.
19100
19128
 
19103
19131
See the pkg-config man page for more details.
19104
19132
 
19105
19133
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19106
 
See \`config.log' for more details." "$LINENO" 5; }
 
19134
See \`config.log' for more details" "$LINENO" 5 ; }
19107
19135
else
19108
19136
        SHELL_CORE_CFLAGS=$pkg_cv_SHELL_CORE_CFLAGS
19109
19137
        SHELL_CORE_LIBS=$pkg_cv_SHELL_CORE_LIBS
19110
19138
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19111
19139
$as_echo "yes" >&6; }
19112
 
        :
 
19140
 
19113
19141
fi
19114
19142
 
19115
19143
# *********
19116
19144
# SM client
19117
19145
# *********
19118
19146
 
19119
 
GDK_TARGET="$($PKG_CONFIG --variable target gdk-$GTK_API_VERSION)"
 
19147
GDK_TARGET="$($PKG_CONFIG --variable target gdk-3.0)"
19120
19148
 
19121
19149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which smclient backend to use" >&5
19122
19150
$as_echo_n "checking which smclient backend to use... " >&6; }
19145
19173
 
19146
19174
 
19147
19175
  case "$with_smclient" in
19148
 
    xsmp) SMCLIENT_PKGS="sm >= 1.0.0" ;;
 
19176
    xsmp) SMCLIENT_PKGS="sm >= 1.0.0 ice" ;;
19149
19177
    *) SMCLIENT_PKGS="" ;;
19150
19178
  esac
19151
19179
 
19158
19186
    pkg_cv_SMCLIENT_CFLAGS="$SMCLIENT_CFLAGS"
19159
19187
 elif test -n "$PKG_CONFIG"; then
19160
19188
    if test -n "$PKG_CONFIG" && \
19161
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION gthread-2.0 \$SMCLIENT_PKGS\""; } >&5
19162
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS") 2>&5
 
19189
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 gthread-2.0 \$SMCLIENT_PKGS\""; } >&5
 
19190
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS") 2>&5
19163
19191
  ac_status=$?
19164
19192
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19165
19193
  test $ac_status = 0; }; then
19166
 
  pkg_cv_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS" 2>/dev/null`
 
19194
  pkg_cv_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS" 2>/dev/null`
19167
19195
else
19168
19196
  pkg_failed=yes
19169
19197
fi
19174
19202
    pkg_cv_SMCLIENT_LIBS="$SMCLIENT_LIBS"
19175
19203
 elif test -n "$PKG_CONFIG"; then
19176
19204
    if test -n "$PKG_CONFIG" && \
19177
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION gthread-2.0 \$SMCLIENT_PKGS\""; } >&5
19178
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS") 2>&5
 
19205
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 gthread-2.0 \$SMCLIENT_PKGS\""; } >&5
 
19206
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS") 2>&5
19179
19207
  ac_status=$?
19180
19208
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19181
19209
  test $ac_status = 0; }; then
19182
 
  pkg_cv_SMCLIENT_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS" 2>/dev/null`
 
19210
  pkg_cv_SMCLIENT_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS" 2>/dev/null`
19183
19211
else
19184
19212
  pkg_failed=yes
19185
19213
fi
19190
19218
 
19191
19219
 
19192
19220
if test $pkg_failed = yes; then
 
19221
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19222
$as_echo "no" >&6; }
19193
19223
 
19194
19224
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19195
19225
        _pkg_short_errors_supported=yes
19197
19227
        _pkg_short_errors_supported=no
19198
19228
fi
19199
19229
        if test $_pkg_short_errors_supported = yes; then
19200
 
                SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS" 2>&1`
 
19230
                SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS" 2>&1`
19201
19231
        else
19202
 
                SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS" 2>&1`
 
19232
                SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS" 2>&1`
19203
19233
        fi
19204
19234
        # Put the nasty error message in config.log where it belongs
19205
19235
        echo "$SMCLIENT_PKG_ERRORS" >&5
19206
19236
 
19207
 
        as_fn_error "Package requirements (gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS) were not met:
 
19237
        as_fn_error $? "Package requirements (gtk+-3.0 gthread-2.0 $SMCLIENT_PKGS) were not met:
19208
19238
 
19209
19239
$SMCLIENT_PKG_ERRORS
19210
19240
 
19213
19243
 
19214
19244
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
19215
19245
and SMCLIENT_LIBS to avoid the need to call pkg-config.
19216
 
See the pkg-config man page for more details.
19217
 
" "$LINENO" 5
 
19246
See the pkg-config man page for more details." "$LINENO" 5
19218
19247
elif test $pkg_failed = untried; then
 
19248
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19249
$as_echo "no" >&6; }
19219
19250
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19220
19251
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19221
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
19252
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19222
19253
is in your PATH or set the PKG_CONFIG environment variable to the full
19223
19254
path to pkg-config.
19224
19255
 
19227
19258
See the pkg-config man page for more details.
19228
19259
 
19229
19260
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19230
 
See \`config.log' for more details." "$LINENO" 5; }
 
19261
See \`config.log' for more details" "$LINENO" 5 ; }
19231
19262
else
19232
19263
        SMCLIENT_CFLAGS=$pkg_cv_SMCLIENT_CFLAGS
19233
19264
        SMCLIENT_LIBS=$pkg_cv_SMCLIENT_LIBS
19234
19265
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19235
19266
$as_echo "yes" >&6; }
19236
 
        :
 
19267
 
19237
19268
fi
19238
19269
 
19239
19270
 
19323
19354
    pkg_cv_GTKUNIXPRINT_CFLAGS="$GTKUNIXPRINT_CFLAGS"
19324
19355
 elif test -n "$PKG_CONFIG"; then
19325
19356
    if test -n "$PKG_CONFIG" && \
19326
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
19327
 
  ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
 
19357
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-3.0 >= \$GTK_REQUIRED\""; } >&5
 
19358
  ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-3.0 >= $GTK_REQUIRED") 2>&5
19328
19359
  ac_status=$?
19329
19360
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19330
19361
  test $ac_status = 0; }; then
19331
 
  pkg_cv_GTKUNIXPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
 
19362
  pkg_cv_GTKUNIXPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-3.0 >= $GTK_REQUIRED" 2>/dev/null`
19332
19363
else
19333
19364
  pkg_failed=yes
19334
19365
fi
19339
19370
    pkg_cv_GTKUNIXPRINT_LIBS="$GTKUNIXPRINT_LIBS"
19340
19371
 elif test -n "$PKG_CONFIG"; then
19341
19372
    if test -n "$PKG_CONFIG" && \
19342
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
19343
 
  ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
 
19373
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-3.0 >= \$GTK_REQUIRED\""; } >&5
 
19374
  ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-3.0 >= $GTK_REQUIRED") 2>&5
19344
19375
  ac_status=$?
19345
19376
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19346
19377
  test $ac_status = 0; }; then
19347
 
  pkg_cv_GTKUNIXPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
 
19378
  pkg_cv_GTKUNIXPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-3.0 >= $GTK_REQUIRED" 2>/dev/null`
19348
19379
else
19349
19380
  pkg_failed=yes
19350
19381
fi
19355
19386
 
19356
19387
 
19357
19388
if test $pkg_failed = yes; then
 
19389
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19390
$as_echo "no" >&6; }
19358
19391
 
19359
19392
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19360
19393
        _pkg_short_errors_supported=yes
19362
19395
        _pkg_short_errors_supported=no
19363
19396
fi
19364
19397
        if test $_pkg_short_errors_supported = yes; then
19365
 
                GTKUNIXPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
 
19398
                GTKUNIXPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-unix-print-3.0 >= $GTK_REQUIRED" 2>&1`
19366
19399
        else
19367
 
                GTKUNIXPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
 
19400
                GTKUNIXPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-unix-print-3.0 >= $GTK_REQUIRED" 2>&1`
19368
19401
        fi
19369
19402
        # Put the nasty error message in config.log where it belongs
19370
19403
        echo "$GTKUNIXPRINT_PKG_ERRORS" >&5
19371
19404
 
19372
 
        as_fn_error "Package requirements (gtk+-unix-print-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
 
19405
        as_fn_error $? "Package requirements (gtk+-unix-print-3.0 >= $GTK_REQUIRED) were not met:
19373
19406
 
19374
19407
$GTKUNIXPRINT_PKG_ERRORS
19375
19408
 
19378
19411
 
19379
19412
Alternatively, you may set the environment variables GTKUNIXPRINT_CFLAGS
19380
19413
and GTKUNIXPRINT_LIBS to avoid the need to call pkg-config.
19381
 
See the pkg-config man page for more details.
19382
 
" "$LINENO" 5
 
19414
See the pkg-config man page for more details." "$LINENO" 5
19383
19415
elif test $pkg_failed = untried; then
 
19416
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19417
$as_echo "no" >&6; }
19384
19418
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19385
19419
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19386
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
19420
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19387
19421
is in your PATH or set the PKG_CONFIG environment variable to the full
19388
19422
path to pkg-config.
19389
19423
 
19392
19426
See the pkg-config man page for more details.
19393
19427
 
19394
19428
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19395
 
See \`config.log' for more details." "$LINENO" 5; }
 
19429
See \`config.log' for more details" "$LINENO" 5 ; }
19396
19430
else
19397
19431
        GTKUNIXPRINT_CFLAGS=$pkg_cv_GTKUNIXPRINT_CFLAGS
19398
19432
        GTKUNIXPRINT_LIBS=$pkg_cv_GTKUNIXPRINT_LIBS
19399
19433
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19400
19434
$as_echo "yes" >&6; }
19401
 
        :
 
19435
 
19402
19436
fi
19403
19437
 
19404
19438
$as_echo "#define GTKUNIXPRINT_ENABLED 1" >>confdefs.h
19472
19506
 
19473
19507
 
19474
19508
if test $pkg_failed = yes; then
 
19509
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19510
$as_echo "no" >&6; }
19475
19511
 
19476
19512
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19477
19513
        _pkg_short_errors_supported=yes
19486
19522
        # Put the nasty error message in config.log where it belongs
19487
19523
        echo "$KEYRING_PKG_ERRORS" >&5
19488
19524
 
19489
 
        as_fn_error "Package requirements (gnome-keyring-1 >= $KEYRING_REQUIRED) were not met:
 
19525
        as_fn_error $? "Package requirements (gnome-keyring-1 >= $KEYRING_REQUIRED) were not met:
19490
19526
 
19491
19527
$KEYRING_PKG_ERRORS
19492
19528
 
19495
19531
 
19496
19532
Alternatively, you may set the environment variables KEYRING_CFLAGS
19497
19533
and KEYRING_LIBS to avoid the need to call pkg-config.
19498
 
See the pkg-config man page for more details.
19499
 
" "$LINENO" 5
 
19534
See the pkg-config man page for more details." "$LINENO" 5
19500
19535
elif test $pkg_failed = untried; then
 
19536
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19537
$as_echo "no" >&6; }
19501
19538
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19502
19539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19503
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
19540
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19504
19541
is in your PATH or set the PKG_CONFIG environment variable to the full
19505
19542
path to pkg-config.
19506
19543
 
19509
19546
See the pkg-config man page for more details.
19510
19547
 
19511
19548
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19512
 
See \`config.log' for more details." "$LINENO" 5; }
 
19549
See \`config.log' for more details" "$LINENO" 5 ; }
19513
19550
else
19514
19551
        KEYRING_CFLAGS=$pkg_cv_KEYRING_CFLAGS
19515
19552
        KEYRING_LIBS=$pkg_cv_KEYRING_LIBS
19516
19553
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19517
19554
$as_echo "yes" >&6; }
19518
 
        :
 
19555
 
19519
19556
fi
19520
19557
 
19521
19558
$as_echo "#define WITH_KEYRING 1" >>confdefs.h
19583
19620
 
19584
19621
 
19585
19622
if test $pkg_failed = yes; then
 
19623
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19624
$as_echo "no" >&6; }
19586
19625
 
19587
19626
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19588
19627
        _pkg_short_errors_supported=yes
19597
19636
        # Put the nasty error message in config.log where it belongs
19598
19637
        echo "$EV_DAEMON_PKG_ERRORS" >&5
19599
19638
 
19600
 
        as_fn_error "Package requirements (gio-2.0 >= $GLIB_REQUIRED) were not met:
 
19639
        as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQUIRED) were not met:
19601
19640
 
19602
19641
$EV_DAEMON_PKG_ERRORS
19603
19642
 
19606
19645
 
19607
19646
Alternatively, you may set the environment variables EV_DAEMON_CFLAGS
19608
19647
and EV_DAEMON_LIBS to avoid the need to call pkg-config.
19609
 
See the pkg-config man page for more details.
19610
 
" "$LINENO" 5
 
19648
See the pkg-config man page for more details." "$LINENO" 5
19611
19649
elif test $pkg_failed = untried; then
 
19650
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19651
$as_echo "no" >&6; }
19612
19652
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19613
19653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19614
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
19654
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19615
19655
is in your PATH or set the PKG_CONFIG environment variable to the full
19616
19656
path to pkg-config.
19617
19657
 
19620
19660
See the pkg-config man page for more details.
19621
19661
 
19622
19662
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19623
 
See \`config.log' for more details." "$LINENO" 5; }
 
19663
See \`config.log' for more details" "$LINENO" 5 ; }
19624
19664
else
19625
19665
        EV_DAEMON_CFLAGS=$pkg_cv_EV_DAEMON_CFLAGS
19626
19666
        EV_DAEMON_LIBS=$pkg_cv_EV_DAEMON_LIBS
19627
19667
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19628
19668
$as_echo "yes" >&6; }
19629
 
        :
 
19669
 
19630
19670
fi
19631
19671
fi
19632
19672
 
19640
19680
 
19641
19681
 
19642
19682
 
19643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GConf support is requested" >&5
19644
 
$as_echo_n "checking whether GConf support is requested... " >&6; }
19645
 
 
19646
 
# Check whether --with-gconf was given.
19647
 
if test "${with_gconf+set}" = set; then :
19648
 
  withval=$with_gconf;
19649
 
else
19650
 
  case "$os_win32" in
19651
 
     yes) with_gconf=no ;;
19652
 
     *) with_gconf=yes ;;
19653
 
   esac
19654
 
fi
19655
 
 
19656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gconf" >&5
19657
 
$as_echo "$with_gconf" >&6; }
19658
 
 
19659
 
 if test "$with_gconf" = "yes"; then
19660
 
  WITH_GCONF_TRUE=
19661
 
  WITH_GCONF_FALSE='#'
19662
 
else
19663
 
  WITH_GCONF_TRUE='#'
19664
 
  WITH_GCONF_FALSE=
19665
 
fi
19666
 
 
19667
 
 
19668
 
if test "$with_gconf" = "yes"; then
19669
 
 
19670
19683
pkg_failed=no
19671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
19672
 
$as_echo_n "checking for GCONF... " >&6; }
 
19684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DESKTOP_SCHEMAS" >&5
 
19685
$as_echo_n "checking for DESKTOP_SCHEMAS... " >&6; }
19673
19686
 
19674
 
if test -n "$GCONF_CFLAGS"; then
19675
 
    pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
 
19687
if test -n "$DESKTOP_SCHEMAS_CFLAGS"; then
 
19688
    pkg_cv_DESKTOP_SCHEMAS_CFLAGS="$DESKTOP_SCHEMAS_CFLAGS"
19676
19689
 elif test -n "$PKG_CONFIG"; then
19677
19690
    if test -n "$PKG_CONFIG" && \
19678
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
19679
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
 
19691
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsettings-desktop-schemas\""; } >&5
 
19692
  ($PKG_CONFIG --exists --print-errors "gsettings-desktop-schemas") 2>&5
19680
19693
  ac_status=$?
19681
19694
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19682
19695
  test $ac_status = 0; }; then
19683
 
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
 
19696
  pkg_cv_DESKTOP_SCHEMAS_CFLAGS=`$PKG_CONFIG --cflags "gsettings-desktop-schemas" 2>/dev/null`
19684
19697
else
19685
19698
  pkg_failed=yes
19686
19699
fi
19687
19700
 else
19688
19701
    pkg_failed=untried
19689
19702
fi
19690
 
if test -n "$GCONF_LIBS"; then
19691
 
    pkg_cv_GCONF_LIBS="$GCONF_LIBS"
 
19703
if test -n "$DESKTOP_SCHEMAS_LIBS"; then
 
19704
    pkg_cv_DESKTOP_SCHEMAS_LIBS="$DESKTOP_SCHEMAS_LIBS"
19692
19705
 elif test -n "$PKG_CONFIG"; then
19693
19706
    if test -n "$PKG_CONFIG" && \
19694
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
19695
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
 
19707
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsettings-desktop-schemas\""; } >&5
 
19708
  ($PKG_CONFIG --exists --print-errors "gsettings-desktop-schemas") 2>&5
19696
19709
  ac_status=$?
19697
19710
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19698
19711
  test $ac_status = 0; }; then
19699
 
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
 
19712
  pkg_cv_DESKTOP_SCHEMAS_LIBS=`$PKG_CONFIG --libs "gsettings-desktop-schemas" 2>/dev/null`
19700
19713
else
19701
19714
  pkg_failed=yes
19702
19715
fi
19707
19720
 
19708
19721
 
19709
19722
if test $pkg_failed = yes; then
 
19723
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19724
$as_echo "no" >&6; }
19710
19725
 
19711
19726
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19712
19727
        _pkg_short_errors_supported=yes
19714
19729
        _pkg_short_errors_supported=no
19715
19730
fi
19716
19731
        if test $_pkg_short_errors_supported = yes; then
19717
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
 
19732
                DESKTOP_SCHEMAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gsettings-desktop-schemas" 2>&1`
19718
19733
        else
19719
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
 
19734
                DESKTOP_SCHEMAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gsettings-desktop-schemas" 2>&1`
19720
19735
        fi
19721
19736
        # Put the nasty error message in config.log where it belongs
19722
 
        echo "$GCONF_PKG_ERRORS" >&5
19723
 
 
19724
 
        as_fn_error "Package requirements (gconf-2.0) were not met:
19725
 
 
19726
 
$GCONF_PKG_ERRORS
19727
 
 
19728
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19729
 
installed software in a non-standard prefix.
19730
 
 
19731
 
Alternatively, you may set the environment variables GCONF_CFLAGS
19732
 
and GCONF_LIBS to avoid the need to call pkg-config.
19733
 
See the pkg-config man page for more details.
19734
 
" "$LINENO" 5
 
19737
        echo "$DESKTOP_SCHEMAS_PKG_ERRORS" >&5
 
19738
 
 
19739
        has_desktop_schemas=no
19735
19740
elif test $pkg_failed = untried; then
19736
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19737
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19738
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
19739
 
is in your PATH or set the PKG_CONFIG environment variable to the full
19740
 
path to pkg-config.
19741
 
 
19742
 
Alternatively, you may set the environment variables GCONF_CFLAGS
19743
 
and GCONF_LIBS to avoid the need to call pkg-config.
19744
 
See the pkg-config man page for more details.
19745
 
 
19746
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19747
 
See \`config.log' for more details." "$LINENO" 5; }
 
19741
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19742
$as_echo "no" >&6; }
 
19743
        has_desktop_schemas=no
19748
19744
else
19749
 
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
19750
 
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
 
19745
        DESKTOP_SCHEMAS_CFLAGS=$pkg_cv_DESKTOP_SCHEMAS_CFLAGS
 
19746
        DESKTOP_SCHEMAS_LIBS=$pkg_cv_DESKTOP_SCHEMAS_LIBS
19751
19747
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19752
19748
$as_echo "yes" >&6; }
19753
 
        :
19754
 
fi
19755
 
 
19756
 
$as_echo "#define WITH_GCONF 1" >>confdefs.h
19757
 
 
19758
 
 
19759
 
 
19760
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
19761
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
19762
 
  else
19763
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
19764
 
  fi
19765
 
 
19766
 
 
19767
 
# Check whether --with-gconf-source was given.
19768
 
if test "${with_gconf_source+set}" = set; then :
19769
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
19770
 
fi
19771
 
 
19772
 
 
19773
 
 
19774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
19775
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
19776
 
 
19777
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
19778
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
19779
 
  fi
19780
 
 
19781
 
 
19782
 
# Check whether --with-gconf-schema-file-dir was given.
19783
 
if test "${with_gconf_schema_file_dir+set}" = set; then :
19784
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
19785
 
fi
19786
 
 
19787
 
 
19788
 
 
19789
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
19790
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
19791
 
 
19792
 
  # Check whether --enable-schemas-install was given.
19793
 
if test "${enable_schemas_install+set}" = set; then :
19794
 
  enableval=$enable_schemas_install; case ${enableval} in
19795
 
       yes|no) ;;
19796
 
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
19797
 
      esac
19798
 
fi
19799
 
 
19800
 
   if test "$enable_schemas_install" != no; then
19801
 
  GCONF_SCHEMAS_INSTALL_TRUE=
19802
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
19803
 
else
19804
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
19805
 
  GCONF_SCHEMAS_INSTALL_FALSE=
19806
 
fi
19807
 
 
19808
 
 
19809
 
 
19810
 
   # Extract the first word of "gconftool-2", so it can be a program name with args.
19811
 
set dummy gconftool-2; ac_word=$2
19812
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19813
 
$as_echo_n "checking for $ac_word... " >&6; }
19814
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
19815
 
  $as_echo_n "(cached) " >&6
19816
 
else
19817
 
  case $GCONFTOOL in
19818
 
  [\\/]* | ?:[\\/]*)
19819
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
19820
 
  ;;
19821
 
  *)
19822
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19823
 
for as_dir in $PATH
19824
 
do
19825
 
  IFS=$as_save_IFS
19826
 
  test -z "$as_dir" && as_dir=.
19827
 
    for ac_exec_ext in '' $ac_executable_extensions; do
19828
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19829
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
19830
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19831
 
    break 2
19832
 
  fi
19833
 
done
19834
 
  done
19835
 
IFS=$as_save_IFS
19836
 
 
19837
 
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="false"
19838
 
  ;;
19839
 
esac
19840
 
fi
19841
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
19842
 
if test -n "$GCONFTOOL"; then
19843
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
19844
 
$as_echo "$GCONFTOOL" >&6; }
19845
 
else
19846
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19847
 
$as_echo "no" >&6; }
19848
 
fi
19849
 
 
19850
 
 
19851
 
   if test "$GCONFTOOL" = "false"; then
19852
 
      as_fn_error "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
19853
 
   fi
19854
 
else
19855
 
    if false; then
19856
 
  GCONF_SCHEMAS_INSTALL_TRUE=
19857
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
19858
 
else
19859
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
19860
 
  GCONF_SCHEMAS_INSTALL_FALSE=
19861
 
fi
 
19749
        has_desktop_schemas=yes
 
19750
fi
 
19751
if test x$has_desktop_schemas = xyes; then
 
19752
 
 
19753
$as_echo "#define HAVE_DESKTOP_SCHEMAS 1" >>confdefs.h
19862
19754
 
19863
19755
fi
19864
19756
 
19907
19799
 
19908
19800
 
19909
19801
 
19910
 
SHELL_CFLAGS="$SHELL_CORE_CFLAGS $KEYRING_CFLAGS $GCONF_CFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE $DEBUG_FLAGS"
19911
 
SHELL_LIBS="$SHELL_CORE_LIBS $KEYRING_LIBS $GCONF_LIBS -lz -lm"
 
19802
SHELL_CFLAGS="$SHELL_CORE_CFLAGS $KEYRING_CFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE $DEBUG_FLAGS"
 
19803
SHELL_LIBS="$SHELL_CORE_LIBS $KEYRING_LIBS -lz -lm"
19912
19804
 
19913
19805
 
19914
19806
 
19943
19835
    pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS"
19944
19836
 elif test -n "$PKG_CONFIG"; then
19945
19837
    if test -n "$PKG_CONFIG" && \
19946
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$GTK_API_VERSION \$MM gthread-2.0 libnautilus-extension\""; } >&5
19947
 
  ($PKG_CONFIG --exists --print-errors "gtk+-x11-$GTK_API_VERSION $MM gthread-2.0 libnautilus-extension") 2>&5
 
19838
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 \$MM gthread-2.0 libnautilus-extension >= \$NAUTILUS_REQUIRED\""; } >&5
 
19839
  ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED") 2>&5
19948
19840
  ac_status=$?
19949
19841
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19950
19842
  test $ac_status = 0; }; then
19951
 
  pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$GTK_API_VERSION $MM gthread-2.0 libnautilus-extension" 2>/dev/null`
 
19843
  pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED" 2>/dev/null`
19952
19844
else
19953
19845
  pkg_failed=yes
19954
19846
fi
19959
19851
    pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS"
19960
19852
 elif test -n "$PKG_CONFIG"; then
19961
19853
    if test -n "$PKG_CONFIG" && \
19962
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$GTK_API_VERSION \$MM gthread-2.0 libnautilus-extension\""; } >&5
19963
 
  ($PKG_CONFIG --exists --print-errors "gtk+-x11-$GTK_API_VERSION $MM gthread-2.0 libnautilus-extension") 2>&5
 
19854
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 \$MM gthread-2.0 libnautilus-extension >= \$NAUTILUS_REQUIRED\""; } >&5
 
19855
  ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED") 2>&5
19964
19856
  ac_status=$?
19965
19857
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19966
19858
  test $ac_status = 0; }; then
19967
 
  pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$GTK_API_VERSION $MM gthread-2.0 libnautilus-extension" 2>/dev/null`
 
19859
  pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED" 2>/dev/null`
19968
19860
else
19969
19861
  pkg_failed=yes
19970
19862
fi
19975
19867
 
19976
19868
 
19977
19869
if test $pkg_failed = yes; then
 
19870
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19871
$as_echo "no" >&6; }
19978
19872
 
19979
19873
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19980
19874
        _pkg_short_errors_supported=yes
19982
19876
        _pkg_short_errors_supported=no
19983
19877
fi
19984
19878
        if test $_pkg_short_errors_supported = yes; then
19985
 
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-x11-$GTK_API_VERSION $MM gthread-2.0 libnautilus-extension" 2>&1`
 
19879
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED" 2>&1`
19986
19880
        else
19987
 
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-x11-$GTK_API_VERSION $MM gthread-2.0 libnautilus-extension" 2>&1`
 
19881
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED" 2>&1`
19988
19882
        fi
19989
19883
        # Put the nasty error message in config.log where it belongs
19990
19884
        echo "$NAUTILUS_PKG_ERRORS" >&5
19991
19885
 
19992
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19886
        as_fn_error $? "libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions" "$LINENO" 5
 
19887
elif test $pkg_failed = untried; then
 
19888
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19993
19889
$as_echo "no" >&6; }
19994
 
                as_fn_error "libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions" "$LINENO" 5
19995
 
elif test $pkg_failed = untried; then
19996
 
        as_fn_error "libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions" "$LINENO" 5
 
19890
        as_fn_error $? "libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions" "$LINENO" 5
19997
19891
else
19998
19892
        NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
19999
19893
        NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
20000
19894
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20001
19895
$as_echo "yes" >&6; }
20002
 
        :
 
19896
 
20003
19897
fi
20004
19898
  NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension`
20005
19899
  nautilusextensiondir=$NAUTILUS_EXTENSION_DIR
20068
19962
    pkg_cv_PREVIEWER_CFLAGS="$PREVIEWER_CFLAGS"
20069
19963
 elif test -n "$PKG_CONFIG"; then
20070
19964
    if test -n "$PKG_CONFIG" && \
20071
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
20072
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
19965
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
19966
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
20073
19967
  ac_status=$?
20074
19968
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20075
19969
  test $ac_status = 0; }; then
20076
 
  pkg_cv_PREVIEWER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
19970
  pkg_cv_PREVIEWER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
20077
19971
else
20078
19972
  pkg_failed=yes
20079
19973
fi
20084
19978
    pkg_cv_PREVIEWER_LIBS="$PREVIEWER_LIBS"
20085
19979
 elif test -n "$PKG_CONFIG"; then
20086
19980
    if test -n "$PKG_CONFIG" && \
20087
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
20088
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
 
19981
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED gthread-2.0 gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
 
19982
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED") 2>&5
20089
19983
  ac_status=$?
20090
19984
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20091
19985
  test $ac_status = 0; }; then
20092
 
  pkg_cv_PREVIEWER_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
 
19986
  pkg_cv_PREVIEWER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
20093
19987
else
20094
19988
  pkg_failed=yes
20095
19989
fi
20100
19994
 
20101
19995
 
20102
19996
if test $pkg_failed = yes; then
 
19997
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19998
$as_echo "no" >&6; }
20103
19999
 
20104
20000
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20105
20001
        _pkg_short_errors_supported=yes
20107
20003
        _pkg_short_errors_supported=no
20108
20004
fi
20109
20005
        if test $_pkg_short_errors_supported = yes; then
20110
 
                PREVIEWER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
20006
                PREVIEWER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
20111
20007
        else
20112
 
                PREVIEWER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
 
20008
                PREVIEWER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED" 2>&1`
20113
20009
        fi
20114
20010
        # Put the nasty error message in config.log where it belongs
20115
20011
        echo "$PREVIEWER_PKG_ERRORS" >&5
20116
20012
 
20117
 
        as_fn_error "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) were not met:
 
20013
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) were not met:
20118
20014
 
20119
20015
$PREVIEWER_PKG_ERRORS
20120
20016
 
20123
20019
 
20124
20020
Alternatively, you may set the environment variables PREVIEWER_CFLAGS
20125
20021
and PREVIEWER_LIBS to avoid the need to call pkg-config.
20126
 
See the pkg-config man page for more details.
20127
 
" "$LINENO" 5
 
20022
See the pkg-config man page for more details." "$LINENO" 5
20128
20023
elif test $pkg_failed = untried; then
 
20024
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20025
$as_echo "no" >&6; }
20129
20026
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20130
20027
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20131
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
20028
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20132
20029
is in your PATH or set the PKG_CONFIG environment variable to the full
20133
20030
path to pkg-config.
20134
20031
 
20137
20034
See the pkg-config man page for more details.
20138
20035
 
20139
20036
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20140
 
See \`config.log' for more details." "$LINENO" 5; }
 
20037
See \`config.log' for more details" "$LINENO" 5 ; }
20141
20038
else
20142
20039
        PREVIEWER_CFLAGS=$pkg_cv_PREVIEWER_CFLAGS
20143
20040
        PREVIEWER_LIBS=$pkg_cv_PREVIEWER_LIBS
20144
20041
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20145
20042
$as_echo "yes" >&6; }
20146
 
        :
 
20043
 
20147
20044
fi
20148
20045
fi
20149
20046
 
20225
20122
 
20226
20123
 
20227
20124
if test $pkg_failed = yes; then
 
20125
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20126
$as_echo "no" >&6; }
20228
20127
 
20229
20128
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20230
20129
        _pkg_short_errors_supported=yes
20239
20138
        # Put the nasty error message in config.log where it belongs
20240
20139
        echo "$GOBJECT_INTROSPECTION_PKG_ERRORS" >&5
20241
20140
 
20242
 
        as_fn_error "Package requirements (gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED) were not met:
 
20141
        as_fn_error $? "Package requirements (gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED) were not met:
20243
20142
 
20244
20143
$GOBJECT_INTROSPECTION_PKG_ERRORS
20245
20144
 
20248
20147
 
20249
20148
Alternatively, you may set the environment variables GOBJECT_INTROSPECTION_CFLAGS
20250
20149
and GOBJECT_INTROSPECTION_LIBS to avoid the need to call pkg-config.
20251
 
See the pkg-config man page for more details.
20252
 
" "$LINENO" 5
 
20150
See the pkg-config man page for more details." "$LINENO" 5
20253
20151
elif test $pkg_failed = untried; then
 
20152
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20153
$as_echo "no" >&6; }
20254
20154
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20255
20155
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20256
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
20156
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20257
20157
is in your PATH or set the PKG_CONFIG environment variable to the full
20258
20158
path to pkg-config.
20259
20159
 
20262
20162
See the pkg-config man page for more details.
20263
20163
 
20264
20164
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20265
 
See \`config.log' for more details." "$LINENO" 5; }
 
20165
See \`config.log' for more details" "$LINENO" 5 ; }
20266
20166
else
20267
20167
        GOBJECT_INTROSPECTION_CFLAGS=$pkg_cv_GOBJECT_INTROSPECTION_CFLAGS
20268
20168
        GOBJECT_INTROSPECTION_LIBS=$pkg_cv_GOBJECT_INTROSPECTION_LIBS
20269
20169
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20270
20170
$as_echo "yes" >&6; }
20271
 
        :
 
20171
 
20272
20172
fi
20273
20173
 
20274
20174
  G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
20327
20227
 
20328
20228
 
20329
20229
if test "x$enable_pdf" = "xyes"; then
20330
 
    POPPLER_REQUIRED=0.14.0
 
20230
    POPPLER_REQUIRED=0.16.0
20331
20231
 
20332
20232
pkg_failed=no
20333
20233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
20369
20269
 
20370
20270
 
20371
20271
if test $pkg_failed = yes; then
 
20272
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20273
$as_echo "no" >&6; }
20372
20274
 
20373
20275
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20374
20276
        _pkg_short_errors_supported=yes
20383
20285
        # Put the nasty error message in config.log where it belongs
20384
20286
        echo "$POPPLER_PKG_ERRORS" >&5
20385
20287
 
20386
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20288
        enable_pdf=no
 
20289
elif test $pkg_failed = untried; then
 
20290
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20387
20291
$as_echo "no" >&6; }
20388
 
                enable_pdf=no
20389
 
elif test $pkg_failed = untried; then
20390
20292
        enable_pdf=no
20391
20293
else
20392
20294
        POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
20397
20299
fi
20398
20300
 
20399
20301
    if test "x$enable_pdf" = "xyes"; then
20400
 
            evince_save_LIBS=$LIBS
20401
 
            LIBS="$LIBS $POPPLER_LIBS"
20402
 
            for ac_func in poppler_page_get_text_layout
20403
 
do :
20404
 
  ac_fn_c_check_func "$LINENO" "poppler_page_get_text_layout" "ac_cv_func_poppler_page_get_text_layout"
20405
 
if test "x$ac_cv_func_poppler_page_get_text_layout" = x""yes; then :
20406
 
  cat >>confdefs.h <<_ACEOF
20407
 
#define HAVE_POPPLER_PAGE_GET_TEXT_LAYOUT 1
20408
 
_ACEOF
20409
 
 
20410
 
fi
20411
 
done
20412
 
 
20413
 
            for ac_func in poppler_page_get_selected_text
20414
 
do :
20415
 
  ac_fn_c_check_func "$LINENO" "poppler_page_get_selected_text" "ac_cv_func_poppler_page_get_selected_text"
20416
 
if test "x$ac_cv_func_poppler_page_get_selected_text" = x""yes; then :
20417
 
  cat >>confdefs.h <<_ACEOF
20418
 
#define HAVE_POPPLER_PAGE_GET_SELECTED_TEXT 1
20419
 
_ACEOF
20420
 
 
20421
 
fi
20422
 
done
20423
 
 
20424
 
            for ac_func in poppler_page_add_annot
20425
 
do :
20426
 
  ac_fn_c_check_func "$LINENO" "poppler_page_add_annot" "ac_cv_func_poppler_page_add_annot"
20427
 
if test "x$ac_cv_func_poppler_page_add_annot" = x""yes; then :
20428
 
  cat >>confdefs.h <<_ACEOF
20429
 
#define HAVE_POPPLER_PAGE_ADD_ANNOT 1
20430
 
_ACEOF
20431
 
 
20432
 
fi
20433
 
done
20434
 
 
20435
 
            LIBS=$evince_save_LIBS
20436
20302
 
20437
20303
pkg_failed=no
20438
20304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_PDF" >&5
20474
20340
 
20475
20341
 
20476
20342
if test $pkg_failed = yes; then
 
20343
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20344
$as_echo "no" >&6; }
20477
20345
 
20478
20346
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20479
20347
        _pkg_short_errors_supported=yes
20488
20356
        # Put the nasty error message in config.log where it belongs
20489
20357
        echo "$CAIRO_PDF_PKG_ERRORS" >&5
20490
20358
 
20491
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20359
        enable_cairo_pdf=no
 
20360
elif test $pkg_failed = untried; then
 
20361
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20492
20362
$as_echo "no" >&6; }
20493
 
                enable_cairo_pdf=no
20494
 
elif test $pkg_failed = untried; then
20495
20363
        enable_cairo_pdf=no
20496
20364
else
20497
20365
        CAIRO_PDF_CFLAGS=$pkg_cv_CAIRO_PDF_CFLAGS
20547
20415
 
20548
20416
 
20549
20417
if test $pkg_failed = yes; then
 
20418
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20419
$as_echo "no" >&6; }
20550
20420
 
20551
20421
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20552
20422
        _pkg_short_errors_supported=yes
20561
20431
        # Put the nasty error message in config.log where it belongs
20562
20432
        echo "$CAIRO_PS_PKG_ERRORS" >&5
20563
20433
 
20564
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20434
        enable_cairo_ps=no
 
20435
elif test $pkg_failed = untried; then
 
20436
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20565
20437
$as_echo "no" >&6; }
20566
 
                enable_cairo_ps=no
20567
 
elif test $pkg_failed = untried; then
20568
20438
        enable_cairo_ps=no
20569
20439
else
20570
20440
        CAIRO_PS_CFLAGS=$pkg_cv_CAIRO_PS_CFLAGS
20579
20449
 
20580
20450
            fi
20581
20451
    else
20582
 
            as_fn_error "\"PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or newer not found\"" "$LINENO" 5
 
20452
            as_fn_error $? "\"PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or newer not found\"" "$LINENO" 5
20583
20453
    fi
20584
20454
fi
20585
20455
 
20634
20504
 
20635
20505
 
20636
20506
if test $pkg_failed = yes; then
 
20507
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20508
$as_echo "no" >&6; }
20637
20509
 
20638
20510
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20639
20511
        _pkg_short_errors_supported=yes
20648
20520
        # Put the nasty error message in config.log where it belongs
20649
20521
        echo "$SPECTRE_PKG_ERRORS" >&5
20650
20522
 
20651
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20523
        have_spectre=no
 
20524
elif test $pkg_failed = untried; then
 
20525
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20652
20526
$as_echo "no" >&6; }
20653
 
                have_spectre=no
20654
 
elif test $pkg_failed = untried; then
20655
20527
        have_spectre=no
20656
20528
else
20657
20529
        SPECTRE_CFLAGS=$pkg_cv_SPECTRE_CFLAGS
20882
20754
 
20883
20755
 
20884
20756
if test $pkg_failed = yes; then
 
20757
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20758
$as_echo "no" >&6; }
20885
20759
 
20886
20760
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20887
20761
        _pkg_short_errors_supported=yes
20896
20770
        # Put the nasty error message in config.log where it belongs
20897
20771
        echo "$DJVU_PKG_ERRORS" >&5
20898
20772
 
20899
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20773
        enable_djvu=no
 
20774
elif test $pkg_failed = untried; then
 
20775
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20900
20776
$as_echo "no" >&6; }
20901
 
                enable_djvu=no
20902
 
elif test $pkg_failed = untried; then
20903
20777
        enable_djvu=no
20904
20778
else
20905
20779
        DJVU_CFLAGS=$pkg_cv_DJVU_CFLAGS
21103
20977
  if test "$ac_cv_type_long" = yes; then
21104
20978
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21105
20979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21106
 
{ as_fn_set_status 77
21107
 
as_fn_error "cannot compute sizeof (long)
21108
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
20980
as_fn_error 77 "cannot compute sizeof (long)
 
20981
See \`config.log' for more details" "$LINENO" 5 ; }
21109
20982
   else
21110
20983
     ac_cv_sizeof_long=0
21111
20984
   fi
21137
21010
  if test "$ac_cv_type_int" = yes; then
21138
21011
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21139
21012
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21140
 
{ as_fn_set_status 77
21141
 
as_fn_error "cannot compute sizeof (int)
21142
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
21013
as_fn_error 77 "cannot compute sizeof (int)
 
21014
See \`config.log' for more details" "$LINENO" 5 ; }
21143
21015
   else
21144
21016
     ac_cv_sizeof_int=0
21145
21017
   fi
21171
21043
  if test "$ac_cv_type_short" = yes; then
21172
21044
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21173
21045
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21174
 
{ as_fn_set_status 77
21175
 
as_fn_error "cannot compute sizeof (short)
21176
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
21046
as_fn_error 77 "cannot compute sizeof (short)
 
21047
See \`config.log' for more details" "$LINENO" 5 ; }
21177
21048
   else
21178
21049
     ac_cv_sizeof_short=0
21179
21050
   fi
21205
21076
  if test "$ac_cv_type_void_p" = yes; then
21206
21077
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21207
21078
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21208
 
{ as_fn_set_status 77
21209
 
as_fn_error "cannot compute sizeof (void *)
21210
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
21079
as_fn_error 77 "cannot compute sizeof (void *)
 
21080
See \`config.log' for more details" "$LINENO" 5 ; }
21211
21081
   else
21212
21082
     ac_cv_sizeof_void_p=0
21213
21083
   fi
21350
21220
 
21351
21221
 
21352
21222
 
21353
 
# Check whether --enable-pixbuf was given.
21354
 
if test "${enable_pixbuf+set}" = set; then :
21355
 
  enableval=$enable_pixbuf; enable_pixbuf=$enableval
21356
 
else
21357
 
  enable_pixbuf=no
21358
 
fi
21359
 
 
21360
 
 
21361
 
if test "x$enable_pixbuf" = "xyes"; then
21362
 
 
21363
 
$as_echo "#define ENABLE_PIXBUF 1" >>confdefs.h
21364
 
 
21365
 
fi
21366
 
 
21367
 
 if test x$enable_pixbuf = xyes; then
21368
 
  ENABLE_PIXBUF_TRUE=
21369
 
  ENABLE_PIXBUF_FALSE='#'
21370
 
else
21371
 
  ENABLE_PIXBUF_TRUE='#'
21372
 
  ENABLE_PIXBUF_FALSE=
21373
 
fi
21374
 
 
21375
 
 
21376
 
 
21377
 
 
21378
21223
# Check whether --enable-comics was given.
21379
21224
if test "${enable_comics+set}" = set; then :
21380
21225
  enableval=$enable_comics; enable_comics=$enableval
21399
21244
 
21400
21245
 
21401
21246
 
21402
 
# Check whether --enable-impress was given.
21403
 
if test "${enable_impress+set}" = set; then :
21404
 
  enableval=$enable_impress; enable_impress=$enableval
21405
 
else
21406
 
  enable_impress=no
21407
 
fi
21408
 
 
21409
 
 
21410
 
if test "x$enable_impress" = "xyes"; then
21411
 
 
21412
 
$as_echo "#define ENABLE_IMPRESS 1" >>confdefs.h
21413
 
 
21414
 
fi
21415
 
 if test x$enable_impress = xyes; then
21416
 
  ENABLE_IMPRESS_TRUE=
21417
 
  ENABLE_IMPRESS_FALSE='#'
21418
 
else
21419
 
  ENABLE_IMPRESS_TRUE='#'
21420
 
  ENABLE_IMPRESS_FALSE=
 
21247
# Check whether --enable-xps was given.
 
21248
if test "${enable_xps+set}" = set; then :
 
21249
  enableval=$enable_xps; enable_xps=$enableval
 
21250
else
 
21251
  enable_xps=yes
 
21252
fi
 
21253
 
 
21254
 
 
21255
if test "x$enable_xps" = "xyes"; then
 
21256
   GXPS_REQUIRED=0.0.1
 
21257
 
 
21258
pkg_failed=no
 
21259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GXPS" >&5
 
21260
$as_echo_n "checking for GXPS... " >&6; }
 
21261
 
 
21262
if test -n "$GXPS_CFLAGS"; then
 
21263
    pkg_cv_GXPS_CFLAGS="$GXPS_CFLAGS"
 
21264
 elif test -n "$PKG_CONFIG"; then
 
21265
    if test -n "$PKG_CONFIG" && \
 
21266
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgxps >= \$GXPS_REQUIRED\""; } >&5
 
21267
  ($PKG_CONFIG --exists --print-errors "libgxps >= $GXPS_REQUIRED") 2>&5
 
21268
  ac_status=$?
 
21269
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21270
  test $ac_status = 0; }; then
 
21271
  pkg_cv_GXPS_CFLAGS=`$PKG_CONFIG --cflags "libgxps >= $GXPS_REQUIRED" 2>/dev/null`
 
21272
else
 
21273
  pkg_failed=yes
 
21274
fi
 
21275
 else
 
21276
    pkg_failed=untried
 
21277
fi
 
21278
if test -n "$GXPS_LIBS"; then
 
21279
    pkg_cv_GXPS_LIBS="$GXPS_LIBS"
 
21280
 elif test -n "$PKG_CONFIG"; then
 
21281
    if test -n "$PKG_CONFIG" && \
 
21282
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgxps >= \$GXPS_REQUIRED\""; } >&5
 
21283
  ($PKG_CONFIG --exists --print-errors "libgxps >= $GXPS_REQUIRED") 2>&5
 
21284
  ac_status=$?
 
21285
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21286
  test $ac_status = 0; }; then
 
21287
  pkg_cv_GXPS_LIBS=`$PKG_CONFIG --libs "libgxps >= $GXPS_REQUIRED" 2>/dev/null`
 
21288
else
 
21289
  pkg_failed=yes
 
21290
fi
 
21291
 else
 
21292
    pkg_failed=untried
 
21293
fi
 
21294
 
 
21295
 
 
21296
 
 
21297
if test $pkg_failed = yes; then
 
21298
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21299
$as_echo "no" >&6; }
 
21300
 
 
21301
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21302
        _pkg_short_errors_supported=yes
 
21303
else
 
21304
        _pkg_short_errors_supported=no
 
21305
fi
 
21306
        if test $_pkg_short_errors_supported = yes; then
 
21307
                GXPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgxps >= $GXPS_REQUIRED" 2>&1`
 
21308
        else
 
21309
                GXPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgxps >= $GXPS_REQUIRED" 2>&1`
 
21310
        fi
 
21311
        # Put the nasty error message in config.log where it belongs
 
21312
        echo "$GXPS_PKG_ERRORS" >&5
 
21313
 
 
21314
        enable_xps=no
 
21315
elif test $pkg_failed = untried; then
 
21316
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21317
$as_echo "no" >&6; }
 
21318
        enable_xps=no
 
21319
else
 
21320
        GXPS_CFLAGS=$pkg_cv_GXPS_CFLAGS
 
21321
        GXPS_LIBS=$pkg_cv_GXPS_LIBS
 
21322
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21323
$as_echo "yes" >&6; }
 
21324
        enable_xps=yes
 
21325
fi
 
21326
 
 
21327
   if test "x$enable_xps" = "xyes"; then
 
21328
 
 
21329
$as_echo "#define ENABLE_XPS 1" >>confdefs.h
 
21330
 
 
21331
   else
 
21332
      enable_xps="no"
 
21333
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"XPS support is disabled since libgxps (version >= $GXPS_REQUIRED) is needed" >&5
 
21334
$as_echo "$as_me: WARNING: \"XPS support is disabled since libgxps (version >= $GXPS_REQUIRED) is needed" >&2;}
 
21335
   fi
 
21336
fi
 
21337
 
 
21338
 if test x$enable_xps = xyes; then
 
21339
  ENABLE_XPS_TRUE=
 
21340
  ENABLE_XPS_FALSE='#'
 
21341
else
 
21342
  ENABLE_XPS_TRUE='#'
 
21343
  ENABLE_XPS_FALSE=
21421
21344
fi
21422
21345
 
21423
21346
 
21424
21347
 
21425
21348
 
21426
21349
if test "x$enable_pdf" = "xyes" ; then
21427
 
        EVINCE_MIME_TYPES="application/pdf;application/x-bzpdf;application/x-gzpdf;"
 
21350
        EVINCE_MIME_TYPES="application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;"
21428
21351
fi
21429
21352
if test "x$enable_ps" = "xyes" ; then
21430
21353
        EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;"
21441
21364
if test "x$enable_comics" = "xyes"; then
21442
21365
        EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;"
21443
21366
fi
21444
 
if test "x$enable_pixbuf" = "xyes"; then
21445
 
        EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}image/*;"
21446
 
fi
21447
 
if test "x$enable_impress" = "xyes"; then
21448
 
        EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation;"
 
21367
if test "x$enable_xps" = "xyes"; then
 
21368
        EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/oxps;application/vnd.ms-xpsdocument;"
21449
21369
fi
21450
21370
 
21451
21371
 
21566
21486
fi
21567
21487
 
21568
21488
if test "x$enable_help" = "xyes" && test "x$gnome_doc_utils" == "xno"; then
21569
 
    as_fn_error "gnome-doc-utils not found; use --disable-help to disable help files
 
21489
    as_fn_error $? "gnome-doc-utils not found; use --disable-help to disable help files
21570
21490
    " "$LINENO" 5
21571
21491
fi
21572
21492
 
21746
21666
  test $ac_status = 0; }; then
21747
21667
  :
21748
21668
else
21749
 
  as_fn_error "You need to have gtk-doc >= 1.13 installed to build $PACKAGE_NAME" "$LINENO" 5
 
21669
  as_fn_error $? "You need to have gtk-doc >= 1.13 installed to build $PACKAGE_NAME" "$LINENO" 5
21750
21670
fi
21751
21671
  fi
21752
21672
 
21819
21739
 
21820
21740
GLIB_PREFIX=$($PKG_CONFIG --variable=prefix glib-2.0)
21821
21741
 
21822
 
GTK_PREFIX=$($PKG_CONFIG --variable=prefix gtk+-$GTK_API_VERSION)
 
21742
GTK_PREFIX=$($PKG_CONFIG --variable=prefix gtk+-3.0)
21823
21743
 
21824
21744
 
21825
21745
# ******************
21835
21755
# Versioning
21836
21756
# **********
21837
21757
 
21838
 
EV_MAJOR_VERSION=2
 
21758
EV_MAJOR_VERSION=3
21839
21759
 
21840
 
EV_MINOR_VERSION=32
 
21760
EV_MINOR_VERSION=0
21841
21761
 
21842
21762
EV_MICRO_VERSION=0
21843
21763
 
21844
21764
 
21845
 
EV_API_VERSION=2.32
 
21765
EV_API_VERSION=3.0
21846
21766
 
21847
 
EV_API_VERSION_U=2_32
 
21767
EV_API_VERSION_U=3_0
21848
21768
 
21849
21769
EV_BINARY_VERSION=3
21850
21770
 
21861
21781
# *****************************************************************************
21862
21782
# *****************************************************************************
21863
21783
 
21864
 
ac_config_files="$ac_config_files backend/Makefile backend/comics/Makefile backend/djvu/Makefile backend/dvi/Makefile backend/dvi/mdvi-lib/Makefile backend/impress/Makefile backend/pdf/Makefile backend/pixbuf/Makefile backend/ps/Makefile backend/tiff/Makefile cut-n-paste/Makefile cut-n-paste/gimpcellrenderertoggle/Makefile cut-n-paste/smclient/Makefile cut-n-paste/toolbar-editor/Makefile cut-n-paste/zoom-control/Makefile cut-n-paste/totem-screensaver/Makefile cut-n-paste/synctex/Makefile data/evince.desktop.in data/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/16x16/apps/Makefile data/icons/16x16/actions/Makefile data/icons/16x16/mimetypes/Makefile data/icons/22x22/Makefile data/icons/22x22/apps/Makefile data/icons/22x22/actions/Makefile data/icons/22x22/mimetypes/Makefile data/icons/24x24/Makefile data/icons/24x24/apps/Makefile data/icons/24x24/actions/Makefile data/icons/24x24/mimetypes/Makefile data/icons/32x32/Makefile data/icons/32x32/actions/Makefile data/icons/32x32/mimetypes/Makefile data/icons/48x48/Makefile data/icons/48x48/apps/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/Makefile data/icons/scalable/apps/Makefile data/icons/scalable/actions/Makefile data/icons/scalable/mimetypes/Makefile help/Makefile help/reference/Makefile help/reference/libdocument/Makefile help/reference/libdocument/version.xml help/reference/libview/Makefile help/reference/libview/version.xml help/reference/shell/Makefile help/reference/shell/version.xml libdocument/Makefile libdocument/ev-version.h libmisc/Makefile libview/Makefile Makefile po/Makefile.in previewer/Makefile properties/Makefile shell/Makefile test/Makefile thumbnailer/Makefile"
21865
 
 
21866
 
 
21867
 
ac_config_files="$ac_config_files evince-document-2.32.pc:evince-document.pc.in"
21868
 
 
21869
 
ac_config_files="$ac_config_files evince-view-2.32.pc:evince-view.pc.in"
 
21784
ac_config_files="$ac_config_files backend/Makefile backend/comics/Makefile backend/djvu/Makefile backend/dvi/Makefile backend/dvi/mdvi-lib/Makefile backend/pdf/Makefile backend/ps/Makefile backend/tiff/Makefile backend/xps/Makefile cut-n-paste/Makefile cut-n-paste/gimpcellrenderertoggle/Makefile cut-n-paste/smclient/Makefile cut-n-paste/toolbar-editor/Makefile cut-n-paste/zoom-control/Makefile cut-n-paste/totem-screensaver/Makefile cut-n-paste/synctex/Makefile data/evince.desktop.in data/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/16x16/apps/Makefile data/icons/16x16/actions/Makefile data/icons/16x16/mimetypes/Makefile data/icons/22x22/Makefile data/icons/22x22/apps/Makefile data/icons/22x22/actions/Makefile data/icons/22x22/mimetypes/Makefile data/icons/24x24/Makefile data/icons/24x24/apps/Makefile data/icons/24x24/actions/Makefile data/icons/24x24/mimetypes/Makefile data/icons/32x32/Makefile data/icons/32x32/actions/Makefile data/icons/32x32/mimetypes/Makefile data/icons/48x48/Makefile data/icons/48x48/apps/Makefile data/icons/48x48/actions/Makefile data/icons/256x256/Makefile data/icons/256x256/apps/Makefile data/icons/scalable/Makefile data/icons/scalable/actions/Makefile data/icons/scalable/mimetypes/Makefile help/Makefile help/reference/Makefile help/reference/libdocument/Makefile help/reference/libdocument/version.xml help/reference/libview/Makefile help/reference/libview/version.xml help/reference/shell/Makefile help/reference/shell/version.xml libdocument/Makefile libdocument/ev-version.h libmisc/Makefile libview/Makefile Makefile po/Makefile.in previewer/Makefile properties/Makefile shell/Makefile test/Makefile thumbnailer/Makefile"
 
21785
 
 
21786
 
 
21787
ac_config_files="$ac_config_files evince-document-3.0.pc:evince-document.pc.in"
 
21788
 
 
21789
ac_config_files="$ac_config_files evince-view-3.0.pc:evince-view.pc.in"
21870
21790
 
21871
21791
 
21872
21792
cat >confcache <<\_ACEOF
21952
21872
 
21953
21873
ac_libobjs=
21954
21874
ac_ltlibobjs=
 
21875
U=
21955
21876
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21956
21877
  # 1. Remove the extension, and $U if already installed.
21957
21878
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21975
21896
fi
21976
21897
 
21977
21898
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21978
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
21899
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
21979
21900
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21980
21901
fi
21981
21902
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21982
 
  as_fn_error "conditional \"AMDEP\" was never defined.
21983
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21984
 
fi
21985
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21986
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
21987
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21988
 
fi
21989
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21990
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
21991
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21992
 
fi
21993
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21994
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
21995
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21996
 
fi
21997
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21998
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
21999
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22000
 
fi
22001
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22002
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
21903
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
21904
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21905
fi
 
21906
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21907
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
21908
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21909
fi
 
21910
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21911
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
21912
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21913
fi
 
21914
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21915
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
21916
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21917
fi
 
21918
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
21919
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
21920
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21921
fi
 
21922
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
21923
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
22003
21924
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22004
21925
fi
22005
21926
 
22007
21928
 
22008
21929
 
22009
21930
if test -z "${PLATFORM_HILDON_TRUE}" && test -z "${PLATFORM_HILDON_FALSE}"; then
22010
 
  as_fn_error "conditional \"PLATFORM_HILDON\" was never defined.
 
21931
  as_fn_error $? "conditional \"PLATFORM_HILDON\" was never defined.
22011
21932
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22012
21933
fi
22013
21934
if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
22014
 
  as_fn_error "conditional \"PLATFORM_WIN32\" was never defined.
 
21935
  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
22015
21936
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22016
21937
fi
22017
21938
if test -z "${WITH_SMCLIENT_TRUE}" && test -z "${WITH_SMCLIENT_FALSE}"; then
22018
 
  as_fn_error "conditional \"WITH_SMCLIENT\" was never defined.
 
21939
  as_fn_error $? "conditional \"WITH_SMCLIENT\" was never defined.
22019
21940
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22020
21941
fi
22021
21942
if test -z "${WITH_SMCLIENT_XSMP_TRUE}" && test -z "${WITH_SMCLIENT_XSMP_FALSE}"; then
22022
 
  as_fn_error "conditional \"WITH_SMCLIENT_XSMP\" was never defined.
 
21943
  as_fn_error $? "conditional \"WITH_SMCLIENT_XSMP\" was never defined.
22023
21944
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22024
21945
fi
22025
21946
if test -z "${WITH_SMCLIENT_WIN32_TRUE}" && test -z "${WITH_SMCLIENT_WIN32_FALSE}"; then
22026
 
  as_fn_error "conditional \"WITH_SMCLIENT_WIN32\" was never defined.
 
21947
  as_fn_error $? "conditional \"WITH_SMCLIENT_WIN32\" was never defined.
22027
21948
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22028
21949
fi
22029
21950
if test -z "${WITH_SMCLIENT_QUARTZ_TRUE}" && test -z "${WITH_SMCLIENT_QUARTZ_FALSE}"; then
22030
 
  as_fn_error "conditional \"WITH_SMCLIENT_QUARTZ\" was never defined.
 
21951
  as_fn_error $? "conditional \"WITH_SMCLIENT_QUARTZ\" was never defined.
22031
21952
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22032
21953
fi
22033
21954
if test -z "${WITH_KEYRING_TRUE}" && test -z "${WITH_KEYRING_FALSE}"; then
22034
 
  as_fn_error "conditional \"WITH_KEYRING\" was never defined.
 
21955
  as_fn_error $? "conditional \"WITH_KEYRING\" was never defined.
22035
21956
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22036
21957
fi
22037
21958
if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
22038
 
  as_fn_error "conditional \"ENABLE_DBUS\" was never defined.
22039
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22040
 
fi
22041
 
if test -z "${WITH_GCONF_TRUE}" && test -z "${WITH_GCONF_FALSE}"; then
22042
 
  as_fn_error "conditional \"WITH_GCONF\" was never defined.
22043
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22044
 
fi
22045
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
22046
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
22047
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22048
 
fi
22049
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
22050
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
21959
  as_fn_error $? "conditional \"ENABLE_DBUS\" was never defined.
22051
21960
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22052
21961
fi
22053
21962
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
22054
 
  as_fn_error "conditional \"ENABLE_TESTS\" was never defined.
 
21963
  as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
22055
21964
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22056
21965
fi
22057
21966
if test -z "${ENABLE_NAUTILUS_TRUE}" && test -z "${ENABLE_NAUTILUS_FALSE}"; then
22058
 
  as_fn_error "conditional \"ENABLE_NAUTILUS\" was never defined.
 
21967
  as_fn_error $? "conditional \"ENABLE_NAUTILUS\" was never defined.
22059
21968
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22060
21969
fi
22061
21970
if test -z "${ENABLE_THUMBNAILER_TRUE}" && test -z "${ENABLE_THUMBNAILER_FALSE}"; then
22062
 
  as_fn_error "conditional \"ENABLE_THUMBNAILER\" was never defined.
 
21971
  as_fn_error $? "conditional \"ENABLE_THUMBNAILER\" was never defined.
22063
21972
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22064
21973
fi
22065
21974
if test -z "${ENABLE_PREVIEWER_TRUE}" && test -z "${ENABLE_PREVIEWER_FALSE}"; then
22066
 
  as_fn_error "conditional \"ENABLE_PREVIEWER\" was never defined.
 
21975
  as_fn_error $? "conditional \"ENABLE_PREVIEWER\" was never defined.
22067
21976
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22068
21977
fi
22069
21978
if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
22070
 
  as_fn_error "conditional \"ENABLE_INTROSPECTION\" was never defined.
 
21979
  as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
22071
21980
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22072
21981
fi
22073
21982
if test -z "${ENABLE_PDF_TRUE}" && test -z "${ENABLE_PDF_FALSE}"; then
22074
 
  as_fn_error "conditional \"ENABLE_PDF\" was never defined.
 
21983
  as_fn_error $? "conditional \"ENABLE_PDF\" was never defined.
22075
21984
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22076
21985
fi
22077
21986
if test -z "${HAVE_SPECTRE_TRUE}" && test -z "${HAVE_SPECTRE_FALSE}"; then
22078
 
  as_fn_error "conditional \"HAVE_SPECTRE\" was never defined.
 
21987
  as_fn_error $? "conditional \"HAVE_SPECTRE\" was never defined.
22079
21988
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22080
21989
fi
22081
21990
if test -z "${ENABLE_PS_TRUE}" && test -z "${ENABLE_PS_FALSE}"; then
22082
 
  as_fn_error "conditional \"ENABLE_PS\" was never defined.
 
21991
  as_fn_error $? "conditional \"ENABLE_PS\" was never defined.
22083
21992
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22084
21993
fi
22085
21994
if test -z "${ENABLE_TIFF_TRUE}" && test -z "${ENABLE_TIFF_FALSE}"; then
22086
 
  as_fn_error "conditional \"ENABLE_TIFF\" was never defined.
 
21995
  as_fn_error $? "conditional \"ENABLE_TIFF\" was never defined.
22087
21996
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22088
21997
fi
22089
21998
if test -z "${ENABLE_DJVU_TRUE}" && test -z "${ENABLE_DJVU_FALSE}"; then
22090
 
  as_fn_error "conditional \"ENABLE_DJVU\" was never defined.
 
21999
  as_fn_error $? "conditional \"ENABLE_DJVU\" was never defined.
22091
22000
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22092
22001
fi
22093
22002
if test -z "${ENABLE_DVI_TRUE}" && test -z "${ENABLE_DVI_FALSE}"; then
22094
 
  as_fn_error "conditional \"ENABLE_DVI\" was never defined.
 
22003
  as_fn_error $? "conditional \"ENABLE_DVI\" was never defined.
22095
22004
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22096
22005
fi
22097
22006
if test -z "${WITH_TYPE1_FONTS_TRUE}" && test -z "${WITH_TYPE1_FONTS_FALSE}"; then
22098
 
  as_fn_error "conditional \"WITH_TYPE1_FONTS\" was never defined.
22099
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22100
 
fi
22101
 
if test -z "${ENABLE_PIXBUF_TRUE}" && test -z "${ENABLE_PIXBUF_FALSE}"; then
22102
 
  as_fn_error "conditional \"ENABLE_PIXBUF\" was never defined.
 
22007
  as_fn_error $? "conditional \"WITH_TYPE1_FONTS\" was never defined.
22103
22008
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22104
22009
fi
22105
22010
if test -z "${ENABLE_COMICS_TRUE}" && test -z "${ENABLE_COMICS_FALSE}"; then
22106
 
  as_fn_error "conditional \"ENABLE_COMICS\" was never defined.
 
22011
  as_fn_error $? "conditional \"ENABLE_COMICS\" was never defined.
22107
22012
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22108
22013
fi
22109
 
if test -z "${ENABLE_IMPRESS_TRUE}" && test -z "${ENABLE_IMPRESS_FALSE}"; then
22110
 
  as_fn_error "conditional \"ENABLE_IMPRESS\" was never defined.
 
22014
if test -z "${ENABLE_XPS_TRUE}" && test -z "${ENABLE_XPS_FALSE}"; then
 
22015
  as_fn_error $? "conditional \"ENABLE_XPS\" was never defined.
22111
22016
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22112
22017
fi
22113
22018
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
22114
 
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
 
22019
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
22115
22020
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22116
22021
fi
22117
22022
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
22118
 
  as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
22023
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
22119
22024
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22120
22025
fi
22121
22026
if test -z "${ENABLE_HELP_TRUE}" && test -z "${ENABLE_HELP_FALSE}"; then
22122
 
  as_fn_error "conditional \"ENABLE_HELP\" was never defined.
 
22027
  as_fn_error $? "conditional \"ENABLE_HELP\" was never defined.
22123
22028
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22124
22029
fi
22125
22030
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
22126
 
  as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
 
22031
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
22127
22032
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22128
22033
fi
22129
22034
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
22130
 
  as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
22035
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
22131
22036
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22132
22037
fi
22133
22038
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
22134
 
  as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
22039
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
22135
22040
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22136
22041
fi
22137
22042
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
22138
 
  as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
22043
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
22139
22044
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22140
22045
fi
22141
22046
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
22142
 
  as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
22047
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
22143
22048
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22144
22049
fi
22145
22050
 
22289
22194
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22290
22195
 
22291
22196
 
22292
 
# as_fn_error ERROR [LINENO LOG_FD]
22293
 
# ---------------------------------
 
22197
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
22198
# ----------------------------------------
22294
22199
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22295
22200
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22296
 
# script with status $?, using 1 if that was 0.
 
22201
# script with STATUS, using 1 if that was 0.
22297
22202
as_fn_error ()
22298
22203
{
22299
 
  as_status=$?; test $as_status -eq 0 && as_status=1
22300
 
  if test "$3"; then
22301
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22302
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
22204
  as_status=$1; test $as_status -eq 0 && as_status=1
 
22205
  if test "$4"; then
 
22206
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
22207
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22303
22208
  fi
22304
 
  $as_echo "$as_me: error: $1" >&2
 
22209
  $as_echo "$as_me: error: $2" >&2
22305
22210
  as_fn_exit $as_status
22306
22211
} # as_fn_error
22307
22212
 
22497
22402
      test -d "$as_dir" && break
22498
22403
    done
22499
22404
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22500
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
22405
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22501
22406
 
22502
22407
 
22503
22408
} # as_fn_mkdir_p
22550
22455
# report actual input values of CONFIG_FILES etc. instead of their
22551
22456
# values after options handling.
22552
22457
ac_log="
22553
 
This file was extended by Evince $as_me 2.32.0, which was
22554
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
22458
This file was extended by Evince $as_me 3.0.0, which was
 
22459
generated by GNU Autoconf 2.67.  Invocation command line was
22555
22460
 
22556
22461
  CONFIG_FILES    = $CONFIG_FILES
22557
22462
  CONFIG_HEADERS  = $CONFIG_HEADERS
22616
22521
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22617
22522
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22618
22523
ac_cs_version="\\
22619
 
Evince config.status 2.32.0
22620
 
configured by $0, generated by GNU Autoconf 2.65,
 
22524
Evince config.status 3.0.0
 
22525
configured by $0, generated by GNU Autoconf 2.67,
22621
22526
  with options \\"\$ac_cs_config\\"
22622
22527
 
22623
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
22528
Copyright (C) 2010 Free Software Foundation, Inc.
22624
22529
This config.status script is free software; the Free Software Foundation
22625
22530
gives unlimited permission to copy, distribute and modify it."
22626
22531
 
22638
22543
while test $# != 0
22639
22544
do
22640
22545
  case $1 in
22641
 
  --*=*)
 
22546
  --*=?*)
22642
22547
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
22643
22548
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22644
22549
    ac_shift=:
22645
22550
    ;;
 
22551
  --*=)
 
22552
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22553
    ac_optarg=
 
22554
    ac_shift=:
 
22555
    ;;
22646
22556
  *)
22647
22557
    ac_option=$1
22648
22558
    ac_optarg=$2
22664
22574
    $ac_shift
22665
22575
    case $ac_optarg in
22666
22576
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22577
    '') as_fn_error $? "missing file argument" ;;
22667
22578
    esac
22668
22579
    as_fn_append CONFIG_FILES " '$ac_optarg'"
22669
22580
    ac_need_defaults=false;;
22676
22587
    ac_need_defaults=false;;
22677
22588
  --he | --h)
22678
22589
    # Conflict between --help and --header
22679
 
    as_fn_error "ambiguous option: \`$1'
 
22590
    as_fn_error $? "ambiguous option: \`$1'
22680
22591
Try \`$0 --help' for more information.";;
22681
22592
  --help | --hel | -h )
22682
22593
    $as_echo "$ac_cs_usage"; exit ;;
22685
22596
    ac_cs_silent=: ;;
22686
22597
 
22687
22598
  # This is an error.
22688
 
  -*) as_fn_error "unrecognized option: \`$1'
 
22599
  -*) as_fn_error $? "unrecognized option: \`$1'
22689
22600
Try \`$0 --help' for more information." ;;
22690
22601
 
22691
22602
  *) as_fn_append ac_config_targets " $1"
23100
23011
    "backend/djvu/Makefile") CONFIG_FILES="$CONFIG_FILES backend/djvu/Makefile" ;;
23101
23012
    "backend/dvi/Makefile") CONFIG_FILES="$CONFIG_FILES backend/dvi/Makefile" ;;
23102
23013
    "backend/dvi/mdvi-lib/Makefile") CONFIG_FILES="$CONFIG_FILES backend/dvi/mdvi-lib/Makefile" ;;
23103
 
    "backend/impress/Makefile") CONFIG_FILES="$CONFIG_FILES backend/impress/Makefile" ;;
23104
23014
    "backend/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES backend/pdf/Makefile" ;;
23105
 
    "backend/pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES backend/pixbuf/Makefile" ;;
23106
23015
    "backend/ps/Makefile") CONFIG_FILES="$CONFIG_FILES backend/ps/Makefile" ;;
23107
23016
    "backend/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES backend/tiff/Makefile" ;;
 
23017
    "backend/xps/Makefile") CONFIG_FILES="$CONFIG_FILES backend/xps/Makefile" ;;
23108
23018
    "cut-n-paste/Makefile") CONFIG_FILES="$CONFIG_FILES cut-n-paste/Makefile" ;;
23109
23019
    "cut-n-paste/gimpcellrenderertoggle/Makefile") CONFIG_FILES="$CONFIG_FILES cut-n-paste/gimpcellrenderertoggle/Makefile" ;;
23110
23020
    "cut-n-paste/smclient/Makefile") CONFIG_FILES="$CONFIG_FILES cut-n-paste/smclient/Makefile" ;;
23133
23043
    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
23134
23044
    "data/icons/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/apps/Makefile" ;;
23135
23045
    "data/icons/48x48/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/actions/Makefile" ;;
 
23046
    "data/icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/Makefile" ;;
 
23047
    "data/icons/256x256/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/apps/Makefile" ;;
23136
23048
    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
23137
 
    "data/icons/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/apps/Makefile" ;;
23138
23049
    "data/icons/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/actions/Makefile" ;;
23139
23050
    "data/icons/scalable/mimetypes/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/mimetypes/Makefile" ;;
23140
23051
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
23156
23067
    "shell/Makefile") CONFIG_FILES="$CONFIG_FILES shell/Makefile" ;;
23157
23068
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
23158
23069
    "thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES thumbnailer/Makefile" ;;
23159
 
    "evince-document-2.32.pc") CONFIG_FILES="$CONFIG_FILES evince-document-2.32.pc:evince-document.pc.in" ;;
23160
 
    "evince-view-2.32.pc") CONFIG_FILES="$CONFIG_FILES evince-view-2.32.pc:evince-view.pc.in" ;;
 
23070
    "evince-document-3.0.pc") CONFIG_FILES="$CONFIG_FILES evince-document-3.0.pc:evince-document.pc.in" ;;
 
23071
    "evince-view-3.0.pc") CONFIG_FILES="$CONFIG_FILES evince-view-3.0.pc:evince-view.pc.in" ;;
23161
23072
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23162
23073
 
23163
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
23074
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
23164
23075
  esac
23165
23076
done
23166
23077
 
23198
23109
{
23199
23110
  tmp=./conf$$-$RANDOM
23200
23111
  (umask 077 && mkdir "$tmp")
23201
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
23112
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23202
23113
 
23203
23114
# Set up the scripts for CONFIG_FILES section.
23204
23115
# No need to generate them if there are no CONFIG_FILES.
23215
23126
fi
23216
23127
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23217
23128
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23218
 
  ac_cs_awk_cr='\r'
 
23129
  ac_cs_awk_cr='\\r'
23219
23130
else
23220
23131
  ac_cs_awk_cr=$ac_cr
23221
23132
fi
23229
23140
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23230
23141
  echo "_ACEOF"
23231
23142
} >conf$$subs.sh ||
23232
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23233
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
23143
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
23144
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23234
23145
ac_delim='%!_!# '
23235
23146
for ac_last_try in false false false false false :; do
23236
23147
  . ./conf$$subs.sh ||
23237
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
23148
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23238
23149
 
23239
23150
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23240
23151
  if test $ac_delim_n = $ac_delim_num; then
23241
23152
    break
23242
23153
  elif $ac_last_try; then
23243
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
23154
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23244
23155
  else
23245
23156
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23246
23157
  fi
23329
23240
else
23330
23241
  cat
23331
23242
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
23332
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
23243
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23333
23244
_ACEOF
23334
23245
 
23335
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23336
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23246
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
23247
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
23337
23248
# trailing colons and then remove the whole line if VPATH becomes empty
23338
23249
# (actually we leave an empty line to preserve line numbers).
23339
23250
if test "x$srcdir" = x.; then
23340
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23341
 
s/:*\$(srcdir):*/:/
23342
 
s/:*\${srcdir}:*/:/
23343
 
s/:*@srcdir@:*/:/
23344
 
s/^\([^=]*=[     ]*\):*/\1/
 
23251
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
23252
h
 
23253
s///
 
23254
s/^/:/
 
23255
s/[      ]*$/:/
 
23256
s/:\$(srcdir):/:/g
 
23257
s/:\${srcdir}:/:/g
 
23258
s/:@srcdir@:/:/g
 
23259
s/^:*//
23345
23260
s/:*$//
 
23261
x
 
23262
s/\(=[   ]*\).*/\1/
 
23263
G
 
23264
s/\n//
23346
23265
s/^[^=]*=[       ]*$//
23347
23266
}'
23348
23267
fi
23370
23289
  if test -z "$ac_t"; then
23371
23290
    break
23372
23291
  elif $ac_last_try; then
23373
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
23292
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23374
23293
  else
23375
23294
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23376
23295
  fi
23455
23374
_ACAWK
23456
23375
_ACEOF
23457
23376
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23458
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
23377
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23459
23378
fi # test -n "$CONFIG_HEADERS"
23460
23379
 
23461
23380
 
23468
23387
  esac
23469
23388
  case $ac_mode$ac_tag in
23470
23389
  :[FHL]*:*);;
23471
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
23390
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
23472
23391
  :[FH]-) ac_tag=-:-;;
23473
23392
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23474
23393
  esac
23496
23415
           [\\/$]*) false;;
23497
23416
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23498
23417
           esac ||
23499
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
23418
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
23500
23419
      esac
23501
23420
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23502
23421
      as_fn_append ac_file_inputs " '$ac_f'"
23523
23442
 
23524
23443
    case $ac_tag in
23525
23444
    *:-:* | *:-) cat >"$tmp/stdin" \
23526
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
23445
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
23527
23446
    esac
23528
23447
    ;;
23529
23448
  esac
23660
23579
$ac_datarootdir_hack
23661
23580
"
23662
23581
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
23663
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23582
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23664
23583
 
23665
23584
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23666
23585
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23667
23586
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23668
23587
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23669
 
which seems to be undefined.  Please make sure it is defined." >&5
 
23588
which seems to be undefined.  Please make sure it is defined" >&5
23670
23589
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23671
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23590
which seems to be undefined.  Please make sure it is defined" >&2;}
23672
23591
 
23673
23592
  rm -f "$tmp/stdin"
23674
23593
  case $ac_file in
23675
23594
  -) cat "$tmp/out" && rm -f "$tmp/out";;
23676
23595
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23677
23596
  esac \
23678
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23597
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23679
23598
 ;;
23680
23599
  :H)
23681
23600
  #
23686
23605
      $as_echo "/* $configure_input  */" \
23687
23606
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23688
23607
    } >"$tmp/config.h" \
23689
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23608
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23690
23609
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23691
23610
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23692
23611
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23693
23612
    else
23694
23613
      rm -f "$ac_file"
23695
23614
      mv "$tmp/config.h" "$ac_file" \
23696
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
23615
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23697
23616
    fi
23698
23617
  else
23699
23618
    $as_echo "/* $configure_input  */" \
23700
23619
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23701
 
      || as_fn_error "could not create -" "$LINENO" 5
 
23620
      || as_fn_error $? "could not create -" "$LINENO" 5
23702
23621
  fi
23703
23622
# Compute "$ac_file"'s index in $config_headers.
23704
23623
_am_arg="$ac_file"
24645
24564
      esac ;;
24646
24565
    "po/stamp-it":C)
24647
24566
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
24648
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
24567
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
24649
24568
    fi
24650
24569
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24651
24570
    >"po/stamp-it.tmp"
24673
24592
ac_clean_files=$ac_clean_files_save
24674
24593
 
24675
24594
test $ac_write_fail = 0 ||
24676
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
24595
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24677
24596
 
24678
24597
 
24679
24598
# configure is writing to config.log, and then calls config.status.
24694
24613
  exec 5>>config.log
24695
24614
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24696
24615
  # would make configure fail if this is the last instruction.
24697
 
  $ac_cs_success || as_fn_exit $?
 
24616
  $ac_cs_success || as_fn_exit 1
24698
24617
fi
24699
24618
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24700
24619
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24705
24624
echo "
24706
24625
Configure summary:
24707
24626
        Platform...........:  $with_platform
24708
 
        GTK+ version.......:  $with_gtk
24709
 
        GConf Support......:  $with_gconf
24710
24627
        GTK+ Unix Print....:  $with_gtk_unix_print
24711
24628
        Keyring Support....:  $with_keyring
24712
24629
        DBUS Support.......:  $enable_dbus
24725
24642
        TIFF Backend.......:  $enable_tiff
24726
24643
        DJVU Backend.......:  $enable_djvu
24727
24644
        DVI Backend........:  $enable_dvi
24728
 
        Pixbuf Backend.....:  $enable_pixbuf
24729
24645
        Comics Backend.....:  $enable_comics
24730
 
        Impress Backend....:  $enable_impress
 
24646
        XPS Backend........:  $enable_xps
24731
24647
"