~ubuntu-branches/ubuntu/quantal/cups-filters/quantal-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-08-20 14:53:42 UTC
  • mfrom: (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20120820145342-bddzpwqv0klmt84d
Tags: 1.0.22-1
* New upstream release
   - pdftopdf filter replaced by new QPDF-based filter from Tobias
     Hoffmann's Google Summer of Code project. The former Poppler-based
     pdftopdf duplicated a lot of Poppler's code. The old filter is
     still in the package as pdftopdf.old with source code in
     filter/pdftopdf.old. It will be removed in a later release.
   - bannertopdf: Page duplication routine fixed.
   - bannertopdf: Fixed invalid output of a direct stream object.
   - Added most recent contributors to AUTHORS and COPYING files.
* debian/control: Added build dependency on libqpdf-dev.
* debian/copyright: Updated for the addition of the new pdftopdf filter.

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.68 for cups-filters 1.0.20.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
# Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.69 for cups-filters 1.0.22.
 
4
#
 
5
#
 
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
7
#
10
8
#
11
9
# This configure script is free software; the Free Software Foundation
134
132
# CDPATH.
135
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
134
 
 
135
# Use a proper internal environment variable to ensure we don't fall
 
136
  # into an infinite loop, continuously re-executing ourselves.
 
137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
138
    _as_can_reexec=no; export _as_can_reexec;
 
139
    # We cannot yet assume a decent shell, so we have to provide a
 
140
# neutralization value for shells without unset; and this also
 
141
# works around shells that cannot unset nonexistent variables.
 
142
# Preserve -v and -x to the replacement shell.
 
143
BASH_ENV=/dev/null
 
144
ENV=/dev/null
 
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
146
case $- in # ((((
 
147
  *v*x* | *x*v* ) as_opts=-vx ;;
 
148
  *v* ) as_opts=-v ;;
 
149
  *x* ) as_opts=-x ;;
 
150
  * ) as_opts= ;;
 
151
esac
 
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
153
# Admittedly, this is quite paranoid, since all the known shells bail
 
154
# out after a failed `exec'.
 
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
156
as_fn_exit 255
 
157
  fi
 
158
  # We don't want this to propagate to other subprocesses.
 
159
          { _as_can_reexec=; unset _as_can_reexec;}
137
160
if test "x$CONFIG_SHELL" = x; then
138
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139
162
  emulate sh
167
190
else
168
191
  exitcode=1; echo positional parameters were not saved.
169
192
fi
170
 
test x\$exitcode = x0 || exit 1"
 
193
test x\$exitcode = x0 || exit 1
 
194
test -x / || exit 1"
171
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
220
244
 
221
245
 
222
246
      if test "x$CONFIG_SHELL" != x; then :
223
 
  # We cannot yet assume a decent shell, so we have to provide a
224
 
        # neutralization value for shells without unset; and this also
225
 
        # works around shells that cannot unset nonexistent variables.
226
 
        # Preserve -v and -x to the replacement shell.
227
 
        BASH_ENV=/dev/null
228
 
        ENV=/dev/null
229
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230
 
        export CONFIG_SHELL
231
 
        case $- in # ((((
232
 
          *v*x* | *x*v* ) as_opts=-vx ;;
233
 
          *v* ) as_opts=-v ;;
234
 
          *x* ) as_opts=-x ;;
235
 
          * ) as_opts= ;;
236
 
        esac
237
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
247
  export CONFIG_SHELL
 
248
             # We cannot yet assume a decent shell, so we have to provide a
 
249
# neutralization value for shells without unset; and this also
 
250
# works around shells that cannot unset nonexistent variables.
 
251
# Preserve -v and -x to the replacement shell.
 
252
BASH_ENV=/dev/null
 
253
ENV=/dev/null
 
254
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
255
case $- in # ((((
 
256
  *v*x* | *x*v* ) as_opts=-vx ;;
 
257
  *v* ) as_opts=-v ;;
 
258
  *x* ) as_opts=-x ;;
 
259
  * ) as_opts= ;;
 
260
esac
 
261
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
262
# Admittedly, this is quite paranoid, since all the known shells bail
 
263
# out after a failed `exec'.
 
264
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
265
exit 255
238
266
fi
239
267
 
240
268
    if test x$as_have_required = xno; then :
336
364
 
337
365
 
338
366
} # as_fn_mkdir_p
 
367
 
 
368
# as_fn_executable_p FILE
 
369
# -----------------------
 
370
# Test if FILE is an executable regular file.
 
371
as_fn_executable_p ()
 
372
{
 
373
  test -f "$1" && test -x "$1"
 
374
} # as_fn_executable_p
339
375
# as_fn_append VAR VALUE
340
376
# ----------------------
341
377
# Append the text in VALUE to the end of the definition contained in VAR. Take
457
493
  chmod +x "$as_me.lineno" ||
458
494
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
495
 
 
496
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
497
  # already done that, so ensure we don't try to do so again and fall
 
498
  # in an infinite loop.  This has already happened in practice.
 
499
  _as_can_reexec=no; export _as_can_reexec
460
500
  # Don't try to exec as it changes $[0], causing all sort of problems
461
501
  # (the dirname of $[0] is not the place where we might find the
462
502
  # original and so on.  Autoconf is especially sensitive to this).
491
531
    # ... but there are two gotchas:
492
532
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493
533
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494
 
    # In both cases, we have to default to `cp -p'.
 
534
    # In both cases, we have to default to `cp -pR'.
495
535
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496
 
      as_ln_s='cp -p'
 
536
      as_ln_s='cp -pR'
497
537
  elif ln conf$$.file conf$$ 2>/dev/null; then
498
538
    as_ln_s=ln
499
539
  else
500
 
    as_ln_s='cp -p'
 
540
    as_ln_s='cp -pR'
501
541
  fi
502
542
else
503
 
  as_ln_s='cp -p'
 
543
  as_ln_s='cp -pR'
504
544
fi
505
545
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
546
rmdir conf$$.dir 2>/dev/null
512
552
  as_mkdir_p=false
513
553
fi
514
554
 
515
 
if test -x / >/dev/null 2>&1; then
516
 
  as_test_x='test -x'
517
 
else
518
 
  if ls -dL / >/dev/null 2>&1; then
519
 
    as_ls_L_option=L
520
 
  else
521
 
    as_ls_L_option=
522
 
  fi
523
 
  as_test_x='
524
 
    eval sh -c '\''
525
 
      if test -d "$1"; then
526
 
        test -d "$1/.";
527
 
      else
528
 
        case $1 in #(
529
 
        -*)set "./$1";;
530
 
        esac;
531
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532
 
        ???[sx]*):;;*)false;;esac;fi
533
 
    '\'' sh
534
 
  '
535
 
fi
536
 
as_executable_p=$as_test_x
 
555
as_test_x='test -x'
 
556
as_executable_p=as_fn_executable_p
537
557
 
538
558
# Sed expression to map a string onto a valid CPP name.
539
559
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
567
587
# Identity of this package.
568
588
PACKAGE_NAME='cups-filters'
569
589
PACKAGE_TARNAME='cups-filters'
570
 
PACKAGE_VERSION='1.0.20'
571
 
PACKAGE_STRING='cups-filters 1.0.20'
 
590
PACKAGE_VERSION='1.0.22'
 
591
PACKAGE_STRING='cups-filters 1.0.22'
572
592
PACKAGE_BUGREPORT=''
573
593
PACKAGE_URL=''
574
594
 
619
639
CUPS_PDFTOPS
620
640
CUPS_GHOSTSCRIPT
621
641
LARGEFILE
 
642
LIBQPDF_LIBS
 
643
LIBQPDF_CFLAGS
622
644
ZLIB_LIBS
623
645
ZLIB_CFLAGS
624
646
POPPLER_LIBS
829
851
POPPLER_CFLAGS
830
852
POPPLER_LIBS
831
853
ZLIB_CFLAGS
832
 
ZLIB_LIBS'
 
854
ZLIB_LIBS
 
855
LIBQPDF_CFLAGS
 
856
LIBQPDF_LIBS'
833
857
 
834
858
 
835
859
# Initialize some variables set by options.
1285
1309
if test "x$host_alias" != x; then
1286
1310
  if test "x$build_alias" = x; then
1287
1311
    cross_compiling=maybe
1288
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1289
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1290
1312
  elif test "x$build_alias" != "x$host_alias"; then
1291
1313
    cross_compiling=yes
1292
1314
  fi
1372
1394
  # Omit some internal or obsolete options to make the list less imposing.
1373
1395
  # This message is too long to be a string in the A/UX 3.1 sh.
1374
1396
  cat <<_ACEOF
1375
 
\`configure' configures cups-filters 1.0.20 to adapt to many kinds of systems.
 
1397
\`configure' configures cups-filters 1.0.22 to adapt to many kinds of systems.
1376
1398
 
1377
1399
Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1400
 
1442
1464
 
1443
1465
if test -n "$ac_init_help"; then
1444
1466
  case $ac_init_help in
1445
 
     short | recursive ) echo "Configuration of cups-filters 1.0.20:";;
 
1467
     short | recursive ) echo "Configuration of cups-filters 1.0.22:";;
1446
1468
   esac
1447
1469
  cat <<\_ACEOF
1448
1470
 
1532
1554
              linker flags for POPPLER, overriding pkg-config
1533
1555
  ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1534
1556
  ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
 
1557
  LIBQPDF_CFLAGS
 
1558
              C compiler flags for LIBQPDF, overriding pkg-config
 
1559
  LIBQPDF_LIBS
 
1560
              linker flags for LIBQPDF, overriding pkg-config
1535
1561
 
1536
1562
Use these variables to override the choices made by `configure' or to help
1537
1563
it to find libraries and programs with nonstandard names/locations.
1599
1625
test -n "$ac_init_help" && exit $ac_status
1600
1626
if $ac_init_version; then
1601
1627
  cat <<\_ACEOF
1602
 
cups-filters configure 1.0.20
1603
 
generated by GNU Autoconf 2.68
 
1628
cups-filters configure 1.0.22
 
1629
generated by GNU Autoconf 2.69
1604
1630
 
1605
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1631
Copyright (C) 2012 Free Software Foundation, Inc.
1606
1632
This configure script is free software; the Free Software Foundation
1607
1633
gives unlimited permission to copy, distribute and modify it.
1608
1634
_ACEOF
1753
1779
         test ! -s conftest.err
1754
1780
       } && test -s conftest$ac_exeext && {
1755
1781
         test "$cross_compiling" = yes ||
1756
 
         $as_test_x conftest$ac_exeext
 
1782
         test -x conftest$ac_exeext
1757
1783
       }; then :
1758
1784
  ac_retval=0
1759
1785
else
1976
2002
         test ! -s conftest.err
1977
2003
       } && test -s conftest$ac_exeext && {
1978
2004
         test "$cross_compiling" = yes ||
1979
 
         $as_test_x conftest$ac_exeext
 
2005
         test -x conftest$ac_exeext
1980
2006
       }; then :
1981
2007
  ac_retval=0
1982
2008
else
2206
2232
This file contains any messages produced by compilers while
2207
2233
running configure, to aid debugging if configure makes a mistake.
2208
2234
 
2209
 
It was created by cups-filters $as_me 1.0.20, which was
2210
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
2235
It was created by cups-filters $as_me 1.0.22, which was
 
2236
generated by GNU Autoconf 2.69.  Invocation command line was
2211
2237
 
2212
2238
  $ $0 $@
2213
2239
 
2710
2736
    # by default.
2711
2737
    for ac_prog in ginstall scoinst install; do
2712
2738
      for ac_exec_ext in '' $ac_executable_extensions; do
2713
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2739
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2714
2740
          if test $ac_prog = install &&
2715
2741
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2716
2742
            # AIX install.  It has an incompatible calling convention.
2879
2905
  IFS=$as_save_IFS
2880
2906
  test -z "$as_dir" && as_dir=.
2881
2907
    for ac_exec_ext in '' $ac_executable_extensions; do
2882
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2908
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2883
2909
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2884
2910
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885
2911
    break 2
2919
2945
  IFS=$as_save_IFS
2920
2946
  test -z "$as_dir" && as_dir=.
2921
2947
    for ac_exec_ext in '' $ac_executable_extensions; do
2922
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2948
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923
2949
    ac_cv_prog_ac_ct_STRIP="strip"
2924
2950
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925
2951
    break 2
2970
2996
  test -z "$as_dir" && as_dir=.
2971
2997
    for ac_prog in mkdir gmkdir; do
2972
2998
         for ac_exec_ext in '' $ac_executable_extensions; do
2973
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2999
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2974
3000
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2975
3001
             'mkdir (GNU coreutils) '* | \
2976
3002
             'mkdir (coreutils) '* | \
3023
3049
  IFS=$as_save_IFS
3024
3050
  test -z "$as_dir" && as_dir=.
3025
3051
    for ac_exec_ext in '' $ac_executable_extensions; do
3026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3052
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027
3053
    ac_cv_prog_AWK="$ac_prog"
3028
3054
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029
3055
    break 2
3109
3135
 
3110
3136
# Define the identity of the package.
3111
3137
 PACKAGE='cups-filters'
3112
 
 VERSION='1.0.20'
 
3138
 VERSION='1.0.22'
3113
3139
 
3114
3140
 
3115
3141
cat >>confdefs.h <<_ACEOF
3224
3250
  IFS=$as_save_IFS
3225
3251
  test -z "$as_dir" && as_dir=.
3226
3252
    for ac_exec_ext in '' $ac_executable_extensions; do
3227
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3253
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228
3254
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3229
3255
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230
3256
    break 2
3264
3290
  IFS=$as_save_IFS
3265
3291
  test -z "$as_dir" && as_dir=.
3266
3292
    for ac_exec_ext in '' $ac_executable_extensions; do
3267
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3293
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268
3294
    ac_cv_prog_ac_ct_CC="gcc"
3269
3295
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270
3296
    break 2
3317
3343
  IFS=$as_save_IFS
3318
3344
  test -z "$as_dir" && as_dir=.
3319
3345
    for ac_exec_ext in '' $ac_executable_extensions; do
3320
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3346
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321
3347
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3322
3348
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323
3349
    break 2
3358
3384
  IFS=$as_save_IFS
3359
3385
  test -z "$as_dir" && as_dir=.
3360
3386
    for ac_exec_ext in '' $ac_executable_extensions; do
3361
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3387
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362
3388
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3363
3389
       ac_prog_rejected=yes
3364
3390
       continue
3416
3442
  IFS=$as_save_IFS
3417
3443
  test -z "$as_dir" && as_dir=.
3418
3444
    for ac_exec_ext in '' $ac_executable_extensions; do
3419
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3445
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420
3446
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3421
3447
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422
3448
    break 2
3460
3486
  IFS=$as_save_IFS
3461
3487
  test -z "$as_dir" && as_dir=.
3462
3488
    for ac_exec_ext in '' $ac_executable_extensions; do
3463
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3489
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464
3490
    ac_cv_prog_ac_ct_CC="$ac_prog"
3465
3491
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466
3492
    break 2
3906
3932
/* end confdefs.h.  */
3907
3933
#include <stdarg.h>
3908
3934
#include <stdio.h>
3909
 
#include <sys/types.h>
3910
 
#include <sys/stat.h>
 
3935
struct stat;
3911
3936
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3912
3937
struct buf { int x; };
3913
3938
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4211
4236
  IFS=$as_save_IFS
4212
4237
  test -z "$as_dir" && as_dir=.
4213
4238
    for ac_exec_ext in '' $ac_executable_extensions; do
4214
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4239
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215
4240
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4216
4241
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217
4242
    break 2
4255
4280
  IFS=$as_save_IFS
4256
4281
  test -z "$as_dir" && as_dir=.
4257
4282
    for ac_exec_ext in '' $ac_executable_extensions; do
4258
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4283
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259
4284
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4260
4285
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261
4286
    break 2
5061
5086
    for ac_prog in sed gsed; do
5062
5087
    for ac_exec_ext in '' $ac_executable_extensions; do
5063
5088
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5064
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5089
      as_fn_executable_p "$ac_path_SED" || continue
5065
5090
# Check for GNU ac_path_SED and select it if it is found.
5066
5091
  # Check for GNU $ac_path_SED
5067
5092
case `"$ac_path_SED" --version 2>&1` in
5137
5162
    for ac_prog in grep ggrep; do
5138
5163
    for ac_exec_ext in '' $ac_executable_extensions; do
5139
5164
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5140
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5165
      as_fn_executable_p "$ac_path_GREP" || continue
5141
5166
# Check for GNU ac_path_GREP and select it if it is found.
5142
5167
  # Check for GNU $ac_path_GREP
5143
5168
case `"$ac_path_GREP" --version 2>&1` in
5203
5228
    for ac_prog in egrep; do
5204
5229
    for ac_exec_ext in '' $ac_executable_extensions; do
5205
5230
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5206
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5231
      as_fn_executable_p "$ac_path_EGREP" || continue
5207
5232
# Check for GNU ac_path_EGREP and select it if it is found.
5208
5233
  # Check for GNU $ac_path_EGREP
5209
5234
case `"$ac_path_EGREP" --version 2>&1` in
5270
5295
    for ac_prog in fgrep; do
5271
5296
    for ac_exec_ext in '' $ac_executable_extensions; do
5272
5297
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5273
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5298
      as_fn_executable_p "$ac_path_FGREP" || continue
5274
5299
# Check for GNU ac_path_FGREP and select it if it is found.
5275
5300
  # Check for GNU $ac_path_FGREP
5276
5301
case `"$ac_path_FGREP" --version 2>&1` in
5526
5551
  IFS=$as_save_IFS
5527
5552
  test -z "$as_dir" && as_dir=.
5528
5553
    for ac_exec_ext in '' $ac_executable_extensions; do
5529
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5554
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530
5555
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5531
5556
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532
5557
    break 2
5570
5595
  IFS=$as_save_IFS
5571
5596
  test -z "$as_dir" && as_dir=.
5572
5597
    for ac_exec_ext in '' $ac_executable_extensions; do
5573
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5598
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574
5599
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5575
5600
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576
5601
    break 2
5983
6008
  IFS=$as_save_IFS
5984
6009
  test -z "$as_dir" && as_dir=.
5985
6010
    for ac_exec_ext in '' $ac_executable_extensions; do
5986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6011
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987
6012
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5988
6013
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989
6014
    break 2
6023
6048
  IFS=$as_save_IFS
6024
6049
  test -z "$as_dir" && as_dir=.
6025
6050
    for ac_exec_ext in '' $ac_executable_extensions; do
6026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6051
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027
6052
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6028
6053
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029
6054
    break 2
6329
6354
  IFS=$as_save_IFS
6330
6355
  test -z "$as_dir" && as_dir=.
6331
6356
    for ac_exec_ext in '' $ac_executable_extensions; do
6332
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6357
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333
6358
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6334
6359
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335
6360
    break 2
6369
6394
  IFS=$as_save_IFS
6370
6395
  test -z "$as_dir" && as_dir=.
6371
6396
    for ac_exec_ext in '' $ac_executable_extensions; do
6372
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6397
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6373
6398
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6374
6399
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375
6400
    break 2
6473
6498
  IFS=$as_save_IFS
6474
6499
  test -z "$as_dir" && as_dir=.
6475
6500
    for ac_exec_ext in '' $ac_executable_extensions; do
6476
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6501
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477
6502
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6478
6503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479
6504
    break 2
6517
6542
  IFS=$as_save_IFS
6518
6543
  test -z "$as_dir" && as_dir=.
6519
6544
    for ac_exec_ext in '' $ac_executable_extensions; do
6520
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6545
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521
6546
    ac_cv_prog_ac_ct_AR="$ac_prog"
6522
6547
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523
6548
    break 2
6642
6667
  IFS=$as_save_IFS
6643
6668
  test -z "$as_dir" && as_dir=.
6644
6669
    for ac_exec_ext in '' $ac_executable_extensions; do
6645
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6670
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646
6671
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6647
6672
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648
6673
    break 2
6682
6707
  IFS=$as_save_IFS
6683
6708
  test -z "$as_dir" && as_dir=.
6684
6709
    for ac_exec_ext in '' $ac_executable_extensions; do
6685
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6710
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686
6711
    ac_cv_prog_ac_ct_STRIP="strip"
6687
6712
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688
6713
    break 2
6741
6766
  IFS=$as_save_IFS
6742
6767
  test -z "$as_dir" && as_dir=.
6743
6768
    for ac_exec_ext in '' $ac_executable_extensions; do
6744
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6769
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745
6770
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6746
6771
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747
6772
    break 2
6781
6806
  IFS=$as_save_IFS
6782
6807
  test -z "$as_dir" && as_dir=.
6783
6808
    for ac_exec_ext in '' $ac_executable_extensions; do
6784
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6809
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785
6810
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6786
6811
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787
6812
    break 2
7431
7456
  IFS=$as_save_IFS
7432
7457
  test -z "$as_dir" && as_dir=.
7433
7458
    for ac_exec_ext in '' $ac_executable_extensions; do
7434
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7459
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435
7460
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7436
7461
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437
7462
    break 2
7471
7496
  IFS=$as_save_IFS
7472
7497
  test -z "$as_dir" && as_dir=.
7473
7498
    for ac_exec_ext in '' $ac_executable_extensions; do
7474
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7499
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7475
7500
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7476
7501
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7477
7502
    break 2
7551
7576
  IFS=$as_save_IFS
7552
7577
  test -z "$as_dir" && as_dir=.
7553
7578
    for ac_exec_ext in '' $ac_executable_extensions; do
7554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7579
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7555
7580
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7556
7581
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557
7582
    break 2
7591
7616
  IFS=$as_save_IFS
7592
7617
  test -z "$as_dir" && as_dir=.
7593
7618
    for ac_exec_ext in '' $ac_executable_extensions; do
7594
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7619
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595
7620
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7596
7621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597
7622
    break 2
7643
7668
  IFS=$as_save_IFS
7644
7669
  test -z "$as_dir" && as_dir=.
7645
7670
    for ac_exec_ext in '' $ac_executable_extensions; do
7646
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7671
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7647
7672
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7648
7673
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649
7674
    break 2
7683
7708
  IFS=$as_save_IFS
7684
7709
  test -z "$as_dir" && as_dir=.
7685
7710
    for ac_exec_ext in '' $ac_executable_extensions; do
7686
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7711
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7687
7712
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7688
7713
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689
7714
    break 2
7735
7760
  IFS=$as_save_IFS
7736
7761
  test -z "$as_dir" && as_dir=.
7737
7762
    for ac_exec_ext in '' $ac_executable_extensions; do
7738
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7763
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7739
7764
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7740
7765
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7741
7766
    break 2
7775
7800
  IFS=$as_save_IFS
7776
7801
  test -z "$as_dir" && as_dir=.
7777
7802
    for ac_exec_ext in '' $ac_executable_extensions; do
7778
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7803
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7779
7804
    ac_cv_prog_ac_ct_LIPO="lipo"
7780
7805
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781
7806
    break 2
7827
7852
  IFS=$as_save_IFS
7828
7853
  test -z "$as_dir" && as_dir=.
7829
7854
    for ac_exec_ext in '' $ac_executable_extensions; do
7830
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7855
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831
7856
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7832
7857
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7833
7858
    break 2
7867
7892
  IFS=$as_save_IFS
7868
7893
  test -z "$as_dir" && as_dir=.
7869
7894
    for ac_exec_ext in '' $ac_executable_extensions; do
7870
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7895
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871
7896
    ac_cv_prog_ac_ct_OTOOL="otool"
7872
7897
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873
7898
    break 2
7919
7944
  IFS=$as_save_IFS
7920
7945
  test -z "$as_dir" && as_dir=.
7921
7946
    for ac_exec_ext in '' $ac_executable_extensions; do
7922
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7947
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923
7948
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7924
7949
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925
7950
    break 2
7959
7984
  IFS=$as_save_IFS
7960
7985
  test -z "$as_dir" && as_dir=.
7961
7986
    for ac_exec_ext in '' $ac_executable_extensions; do
7962
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7987
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963
7988
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7964
7989
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965
7990
    break 2
15561
15586
  IFS=$as_save_IFS
15562
15587
  test -z "$as_dir" && as_dir=.
15563
15588
    for ac_exec_ext in '' $ac_executable_extensions; do
15564
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15589
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15565
15590
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15566
15591
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15567
15592
    break 2
15604
15629
  IFS=$as_save_IFS
15605
15630
  test -z "$as_dir" && as_dir=.
15606
15631
    for ac_exec_ext in '' $ac_executable_extensions; do
15607
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15632
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15608
15633
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15609
15634
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15610
15635
    break 2
15706
15731
  IFS=$as_save_IFS
15707
15732
  test -z "$as_dir" && as_dir=.
15708
15733
    for ac_exec_ext in '' $ac_executable_extensions; do
15709
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15734
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15710
15735
    ac_cv_path_CUPSCONFIG="$as_dir/$ac_word$ac_exec_ext"
15711
15736
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15712
15737
    break 2
17057
17082
$as_echo "#define HAVE_LIBZ /**/" >>confdefs.h
17058
17083
 
17059
17084
 
 
17085
pkg_failed=no
 
17086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQPDF" >&5
 
17087
$as_echo_n "checking for LIBQPDF... " >&6; }
 
17088
 
 
17089
if test -n "$LIBQPDF_CFLAGS"; then
 
17090
    pkg_cv_LIBQPDF_CFLAGS="$LIBQPDF_CFLAGS"
 
17091
 elif test -n "$PKG_CONFIG"; then
 
17092
    if test -n "$PKG_CONFIG" && \
 
17093
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpdf >= 3.0\""; } >&5
 
17094
  ($PKG_CONFIG --exists --print-errors "libqpdf >= 3.0") 2>&5
 
17095
  ac_status=$?
 
17096
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17097
  test $ac_status = 0; }; then
 
17098
  pkg_cv_LIBQPDF_CFLAGS=`$PKG_CONFIG --cflags "libqpdf >= 3.0" 2>/dev/null`
 
17099
                      test "x$?" != "x0" && pkg_failed=yes
 
17100
else
 
17101
  pkg_failed=yes
 
17102
fi
 
17103
 else
 
17104
    pkg_failed=untried
 
17105
fi
 
17106
if test -n "$LIBQPDF_LIBS"; then
 
17107
    pkg_cv_LIBQPDF_LIBS="$LIBQPDF_LIBS"
 
17108
 elif test -n "$PKG_CONFIG"; then
 
17109
    if test -n "$PKG_CONFIG" && \
 
17110
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpdf >= 3.0\""; } >&5
 
17111
  ($PKG_CONFIG --exists --print-errors "libqpdf >= 3.0") 2>&5
 
17112
  ac_status=$?
 
17113
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17114
  test $ac_status = 0; }; then
 
17115
  pkg_cv_LIBQPDF_LIBS=`$PKG_CONFIG --libs "libqpdf >= 3.0" 2>/dev/null`
 
17116
                      test "x$?" != "x0" && pkg_failed=yes
 
17117
else
 
17118
  pkg_failed=yes
 
17119
fi
 
17120
 else
 
17121
    pkg_failed=untried
 
17122
fi
 
17123
 
 
17124
 
 
17125
 
 
17126
if test $pkg_failed = yes; then
 
17127
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17128
$as_echo "no" >&6; }
 
17129
 
 
17130
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17131
        _pkg_short_errors_supported=yes
 
17132
else
 
17133
        _pkg_short_errors_supported=no
 
17134
fi
 
17135
        if test $_pkg_short_errors_supported = yes; then
 
17136
                LIBQPDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqpdf >= 3.0" 2>&1`
 
17137
        else
 
17138
                LIBQPDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqpdf >= 3.0" 2>&1`
 
17139
        fi
 
17140
        # Put the nasty error message in config.log where it belongs
 
17141
        echo "$LIBQPDF_PKG_ERRORS" >&5
 
17142
 
 
17143
        as_fn_error $? "Package requirements (libqpdf >= 3.0) were not met:
 
17144
 
 
17145
$LIBQPDF_PKG_ERRORS
 
17146
 
 
17147
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17148
installed software in a non-standard prefix.
 
17149
 
 
17150
Alternatively, you may set the environment variables LIBQPDF_CFLAGS
 
17151
and LIBQPDF_LIBS to avoid the need to call pkg-config.
 
17152
See the pkg-config man page for more details." "$LINENO" 5
 
17153
elif test $pkg_failed = untried; then
 
17154
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17155
$as_echo "no" >&6; }
 
17156
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17157
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17158
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
17159
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17160
path to pkg-config.
 
17161
 
 
17162
Alternatively, you may set the environment variables LIBQPDF_CFLAGS
 
17163
and LIBQPDF_LIBS to avoid the need to call pkg-config.
 
17164
See the pkg-config man page for more details.
 
17165
 
 
17166
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17167
See \`config.log' for more details" "$LINENO" 5; }
 
17168
else
 
17169
        LIBQPDF_CFLAGS=$pkg_cv_LIBQPDF_CFLAGS
 
17170
        LIBQPDF_LIBS=$pkg_cv_LIBQPDF_LIBS
 
17171
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17172
$as_echo "yes" >&6; }
 
17173
 
 
17174
fi
 
17175
 
17060
17176
# ================
17061
17177
# Poppler features
17062
17178
# ================
17312
17428
esac
17313
17429
rm -rf conftest*
17314
17430
  fi
 
17431
 
 
17432
 
17315
17433
fi
17316
17434
 
17317
17435
LARGEFILE=""
17423
17541
  IFS=$as_save_IFS
17424
17542
  test -z "$as_dir" && as_dir=.
17425
17543
    for ac_exec_ext in '' $ac_executable_extensions; do
17426
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17544
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17427
17545
    ac_cv_path_CUPS_GHOSTSCRIPT="$as_dir/$ac_word$ac_exec_ext"
17428
17546
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17429
17547
    break 2
17504
17622
  IFS=$as_save_IFS
17505
17623
  test -z "$as_dir" && as_dir=.
17506
17624
    for ac_exec_ext in '' $ac_executable_extensions; do
17507
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17625
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17508
17626
    ac_cv_path_CUPS_PDFTOPS="$as_dir/$ac_word$ac_exec_ext"
17509
17627
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17510
17628
    break 2
17649
17767
  IFS=$as_save_IFS
17650
17768
  test -z "$as_dir" && as_dir=.
17651
17769
    for ac_exec_ext in '' $ac_executable_extensions; do
17652
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17770
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17653
17771
    ac_cv_path_PHPCONFIG="$as_dir/$ac_word$ac_exec_ext"
17654
17772
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17655
17773
    break 2
18171
18289
    # ... but there are two gotchas:
18172
18290
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18173
18291
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18174
 
    # In both cases, we have to default to `cp -p'.
 
18292
    # In both cases, we have to default to `cp -pR'.
18175
18293
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18176
 
      as_ln_s='cp -p'
 
18294
      as_ln_s='cp -pR'
18177
18295
  elif ln conf$$.file conf$$ 2>/dev/null; then
18178
18296
    as_ln_s=ln
18179
18297
  else
18180
 
    as_ln_s='cp -p'
 
18298
    as_ln_s='cp -pR'
18181
18299
  fi
18182
18300
else
18183
 
  as_ln_s='cp -p'
 
18301
  as_ln_s='cp -pR'
18184
18302
fi
18185
18303
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18186
18304
rmdir conf$$.dir 2>/dev/null
18240
18358
  as_mkdir_p=false
18241
18359
fi
18242
18360
 
18243
 
if test -x / >/dev/null 2>&1; then
18244
 
  as_test_x='test -x'
18245
 
else
18246
 
  if ls -dL / >/dev/null 2>&1; then
18247
 
    as_ls_L_option=L
18248
 
  else
18249
 
    as_ls_L_option=
18250
 
  fi
18251
 
  as_test_x='
18252
 
    eval sh -c '\''
18253
 
      if test -d "$1"; then
18254
 
        test -d "$1/.";
18255
 
      else
18256
 
        case $1 in #(
18257
 
        -*)set "./$1";;
18258
 
        esac;
18259
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18260
 
        ???[sx]*):;;*)false;;esac;fi
18261
 
    '\'' sh
18262
 
  '
18263
 
fi
18264
 
as_executable_p=$as_test_x
 
18361
 
 
18362
# as_fn_executable_p FILE
 
18363
# -----------------------
 
18364
# Test if FILE is an executable regular file.
 
18365
as_fn_executable_p ()
 
18366
{
 
18367
  test -f "$1" && test -x "$1"
 
18368
} # as_fn_executable_p
 
18369
as_test_x='test -x'
 
18370
as_executable_p=as_fn_executable_p
18265
18371
 
18266
18372
# Sed expression to map a string onto a valid CPP name.
18267
18373
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18282
18388
# report actual input values of CONFIG_FILES etc. instead of their
18283
18389
# values after options handling.
18284
18390
ac_log="
18285
 
This file was extended by cups-filters $as_me 1.0.20, which was
18286
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
18391
This file was extended by cups-filters $as_me 1.0.22, which was
 
18392
generated by GNU Autoconf 2.69.  Invocation command line was
18287
18393
 
18288
18394
  CONFIG_FILES    = $CONFIG_FILES
18289
18395
  CONFIG_HEADERS  = $CONFIG_HEADERS
18348
18454
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18349
18455
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18350
18456
ac_cs_version="\\
18351
 
cups-filters config.status 1.0.20
18352
 
configured by $0, generated by GNU Autoconf 2.68,
 
18457
cups-filters config.status 1.0.22
 
18458
configured by $0, generated by GNU Autoconf 2.69,
18353
18459
  with options \\"\$ac_cs_config\\"
18354
18460
 
18355
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
18461
Copyright (C) 2012 Free Software Foundation, Inc.
18356
18462
This config.status script is free software; the Free Software Foundation
18357
18463
gives unlimited permission to copy, distribute and modify it."
18358
18464
 
18443
18549
_ACEOF
18444
18550
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18445
18551
if \$ac_cs_recheck; then
18446
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18552
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18447
18553
  shift
18448
18554
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18449
18555
  CONFIG_SHELL='$SHELL'