~ubuntu-branches/ubuntu/saucy/vips/saucy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2012-05-29 14:25:06 UTC
  • mfrom: (1.1.18) (30.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120529142506-caq92wajlrmde3nt
Tags: 7.28.5-1
* New upstream release
* multiarch, hardening
* Support bigtiff

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 vips 7.28.2.
 
3
# Generated by GNU Autoconf 2.68 for vips 7.28.5.
4
4
#
5
5
# Report bugs to <vipsip@jiscmail.ac.uk>.
6
6
#
570
570
# Identity of this package.
571
571
PACKAGE_NAME='vips'
572
572
PACKAGE_TARNAME='vips'
573
 
PACKAGE_VERSION='7.28.2'
574
 
PACKAGE_STRING='vips 7.28.2'
 
573
PACKAGE_VERSION='7.28.5'
 
574
PACKAGE_STRING='vips 7.28.5'
575
575
PACKAGE_BUGREPORT='vipsip@jiscmail.ac.uk'
576
576
PACKAGE_URL=''
577
577
 
641
641
PNG_INCLUDES
642
642
PNG_LIBS
643
643
PNG_CFLAGS
 
644
TIFF_INCLUDES
 
645
TIFF_LIBS
 
646
TIFF_CFLAGS
644
647
ZIP_INCLUDES
645
648
ZIP_LIBS
646
 
TIFF_INCLUDES
647
 
TIFF_LIBS
648
649
X_EXTRA_LIBS
649
650
X_LIBS
650
651
X_PRE_LIBS
747
748
am__fastdepCC_FALSE
748
749
am__fastdepCC_TRUE
749
750
CCDEPMODE
 
751
am__nodep
750
752
AMDEPBACKSLASH
751
753
AMDEP_FALSE
752
754
AMDEP_TRUE
885
887
with_cfitsio
886
888
with_pangoft2
887
889
with_x
 
890
with_zip
 
891
with_zip_includes
 
892
with_zip_libraries
888
893
with_tiff
889
894
with_tiff_includes
890
895
with_tiff_libraries
891
 
with_zip
892
 
with_zip_includes
893
 
with_zip_libraries
894
896
with_png
895
897
with_png_includes
896
898
with_png_libraries
946
948
PANGOFT2_CFLAGS
947
949
PANGOFT2_LIBS
948
950
XMKMF
 
951
TIFF_CFLAGS
 
952
TIFF_LIBS
949
953
PNG_CFLAGS
950
954
PNG_LIBS
951
955
EXIF_CFLAGS
952
 
EXIF_LIBS'
 
956
EXIF_LIBS
 
957
PYTHON'
953
958
 
954
959
 
955
960
# Initialize some variables set by options.
1492
1497
  # Omit some internal or obsolete options to make the list less imposing.
1493
1498
  # This message is too long to be a string in the A/UX 3.1 sh.
1494
1499
  cat <<_ACEOF
1495
 
\`configure' configures vips 7.28.2 to adapt to many kinds of systems.
 
1500
\`configure' configures vips 7.28.5 to adapt to many kinds of systems.
1496
1501
 
1497
1502
Usage: $0 [OPTION]... [VAR=VALUE]...
1498
1503
 
1566
1571
 
1567
1572
if test -n "$ac_init_help"; then
1568
1573
  case $ac_init_help in
1569
 
     short | recursive ) echo "Configuration of vips 7.28.2:";;
 
1574
     short | recursive ) echo "Configuration of vips 7.28.5:";;
1570
1575
   esac
1571
1576
  cat <<\_ACEOF
1572
1577
 
1595
1600
Optional Packages:
1596
1601
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1597
1602
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1598
 
  --with-dmalloc          use dmalloc, as in
1599
 
                          http://www.dmalloc.com/dmalloc.tar.gz
1600
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1603
  --with-dmalloc          use dmalloc, as in http://www.dmalloc.com
 
1604
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1601
1605
                          both]
1602
1606
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1603
1607
  --with-sysroot=DIR Search for dependent libraries within DIR
1616
1620
  --without-cfitsio       build without cfitsio (default: test)
1617
1621
  --without-pangoft2      build without pangoft2 (default: test)
1618
1622
  --with-x                use the X Window System
 
1623
  --without-zip           build without libx (default: test)
 
1624
  --with-zip-includes=DIR libz includes are in DIR
 
1625
  --with-zip-libraries=DIR
 
1626
                          libz libraries are in DIR
1619
1627
  --without-tiff          build without libtiff (default: test)
1620
1628
  --with-tiff-includes=DIR
1621
1629
                          libtiff includes are in DIR
1622
1630
  --with-tiff-libraries=DIR
1623
1631
                          libtiff libraries are in DIR
1624
 
  --without-zip           build without libx (default: test)
1625
 
  --with-zip-includes=DIR libz includes are in DIR
1626
 
  --with-zip-libraries=DIR
1627
 
                          libz libraries are in DIR
1628
1632
  --without-png           build without libpng (default: test)
1629
1633
  --with-png-includes=DIR libpng includes are in DIR
1630
1634
  --with-png-libraries=DIR
1704
1708
  PANGOFT2_LIBS
1705
1709
              linker flags for PANGOFT2, overriding pkg-config
1706
1710
  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1711
  TIFF_CFLAGS C compiler flags for TIFF, overriding pkg-config
 
1712
  TIFF_LIBS   linker flags for TIFF, overriding pkg-config
1707
1713
  PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
1708
1714
  PNG_LIBS    linker flags for PNG, overriding pkg-config
1709
1715
  EXIF_CFLAGS C compiler flags for EXIF, overriding pkg-config
1710
1716
  EXIF_LIBS   linker flags for EXIF, overriding pkg-config
 
1717
  PYTHON      the Python interpreter
1711
1718
 
1712
1719
Use these variables to override the choices made by `configure' or to help
1713
1720
it to find libraries and programs with nonstandard names/locations.
1775
1782
test -n "$ac_init_help" && exit $ac_status
1776
1783
if $ac_init_version; then
1777
1784
  cat <<\_ACEOF
1778
 
vips configure 7.28.2
 
1785
vips configure 7.28.5
1779
1786
generated by GNU Autoconf 2.68
1780
1787
 
1781
1788
Copyright (C) 2010 Free Software Foundation, Inc.
2319
2326
This file contains any messages produced by compilers while
2320
2327
running configure, to aid debugging if configure makes a mistake.
2321
2328
 
2322
 
It was created by vips $as_me 7.28.2, which was
 
2329
It was created by vips $as_me 7.28.5, which was
2323
2330
generated by GNU Autoconf 2.68.  Invocation command line was
2324
2331
 
2325
2332
  $ $0 $@
3141
3148
 
3142
3149
# Define the identity of the package.
3143
3150
 PACKAGE='vips'
3144
 
 VERSION='7.28.2'
 
3151
 VERSION='7.28.5'
3145
3152
 
3146
3153
 
3147
3154
cat >>confdefs.h <<_ACEOF
3171
3178
 
3172
3179
# We need awk for the "check" target.  The system "awk" is bad on
3173
3180
# some platforms.
3174
 
# Always define AMTAR for backward compatibility.
3175
 
 
3176
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
3177
 
 
3178
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3181
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
3182
# in the wild :-(  We should find a proper way to deprecate it ...
 
3183
AMTAR='$${TAR-tar}'
 
3184
 
 
3185
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3179
3186
 
3180
3187
 
3181
3188
 
3194
3201
 
3195
3202
VIPS_MAJOR_VERSION=7
3196
3203
VIPS_MINOR_VERSION=28
3197
 
VIPS_MICRO_VERSION=2
3198
 
VIPS_VERSION=7.28.2
 
3204
VIPS_MICRO_VERSION=5
 
3205
VIPS_VERSION=7.28.5
3199
3206
VIPS_VERSION_STRING=$VIPS_VERSION-`date`
3200
3207
 
3201
3208
# libtool library versioning ... not user-visible (except as part of the
3208
3215
#   interface changes not backwards compatible?: reset age to 0
3209
3216
 
3210
3217
LIBRARY_CURRENT=31
3211
 
LIBRARY_REVISION=2
 
3218
LIBRARY_REVISION=5
3212
3219
LIBRARY_AGE=16
3213
3220
 
3214
3221
# patched into include/vips/version.h
3395
3402
else
3396
3403
  found_introspection=no
3397
3404
fi
 
3405
                enable_introspection=$found_introspection
3398
3406
     ;; #(
3399
3407
  *) :
3400
3408
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
3719
3727
if test "x$enable_dependency_tracking" != xno; then
3720
3728
  am_depcomp="$ac_aux_dir/depcomp"
3721
3729
  AMDEPBACKSLASH='\'
 
3730
  am__nodep='_no'
3722
3731
fi
3723
3732
 if test "x$enable_dependency_tracking" != xno; then
3724
3733
  AMDEP_TRUE=
4532
4541
  # instance it was reported that on HP-UX the gcc test will end up
4533
4542
  # making a dummy file named `D' -- because `-MD' means `put the output
4534
4543
  # in D'.
 
4544
  rm -rf conftest.dir
4535
4545
  mkdir conftest.dir
4536
4546
  # Copy depcomp to subdir because otherwise we won't find it if we're
4537
4547
  # using a relative directory.
4591
4601
        break
4592
4602
      fi
4593
4603
      ;;
4594
 
    msvisualcpp | msvcmsys)
 
4604
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4595
4605
      # This compiler won't grok `-c -o', but also, the minuso test has
4596
4606
      # not run yet.  These depmodes are late enough in the game, and
4597
4607
      # so weak that their functioning should not be impacted.
5442
5452
  # instance it was reported that on HP-UX the gcc test will end up
5443
5453
  # making a dummy file named `D' -- because `-MD' means `put the output
5444
5454
  # in D'.
 
5455
  rm -rf conftest.dir
5445
5456
  mkdir conftest.dir
5446
5457
  # Copy depcomp to subdir because otherwise we won't find it if we're
5447
5458
  # using a relative directory.
5501
5512
        break
5502
5513
      fi
5503
5514
      ;;
5504
 
    msvisualcpp | msvcmsys)
 
5515
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5505
5516
      # This compiler won't grok `-c -o', but also, the minuso test has
5506
5517
      # not run yet.  These depmodes are late enough in the game, and
5507
5518
      # so weak that their functioning should not be impacted.
6119
6130
  # instance it was reported that on HP-UX the gcc test will end up
6120
6131
  # making a dummy file named `D' -- because `-MD' means `put the output
6121
6132
  # in D'.
 
6133
  rm -rf conftest.dir
6122
6134
  mkdir conftest.dir
6123
6135
  # Copy depcomp to subdir because otherwise we won't find it if we're
6124
6136
  # using a relative directory.
6178
6190
        break
6179
6191
      fi
6180
6192
      ;;
6181
 
    msvisualcpp | msvcmsys)
 
6193
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6182
6194
      # This compiler won't grok `-c -o', but also, the minuso test has
6183
6195
      # not run yet.  These depmodes are late enough in the game, and
6184
6196
      # so weak that their functioning should not be impacted.
7603
7615
fi
7604
7616
 
7605
7617
            ;;
 
7618
            *-*-openbsd*)
 
7619
            CATOBJEXT=.mo
 
7620
            DATADIRNAME=share
 
7621
            ;;
7606
7622
            *)
7607
7623
            CATOBJEXT=.mo
7608
7624
            DATADIRNAME=lib
9069
9085
 
9070
9086
 
9071
9087
 
9072
 
macro_version='2.4'
9073
 
macro_revision='1.3293'
 
9088
macro_version='2.4.2'
 
9089
macro_revision='1.3337'
9074
9090
 
9075
9091
 
9076
9092
 
9703
9719
    lt_cv_sys_max_cmd_len=196608
9704
9720
    ;;
9705
9721
 
 
9722
  os2*)
 
9723
    # The test takes a long time on OS/2.
 
9724
    lt_cv_sys_max_cmd_len=8192
 
9725
    ;;
 
9726
 
9706
9727
  osf*)
9707
9728
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9708
9729
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9742
9763
      # If test is not a shell built-in, we'll probably end up computing a
9743
9764
      # maximum length that is only half of the actual maximum length, but
9744
9765
      # we can't tell.
9745
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
9766
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
9746
9767
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
9747
9768
              test $i != 17 # 1/2 MB should be enough
9748
9769
      do
10168
10189
  lt_cv_deplibs_check_method=pass_all
10169
10190
  ;;
10170
10191
 
10171
 
# This must be Linux ELF.
 
10192
# This must be glibc/ELF.
10172
10193
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10173
10194
  lt_cv_deplibs_check_method=pass_all
10174
10195
  ;;
10805
10826
if test -n "$RANLIB"; then
10806
10827
  case $host_os in
10807
10828
  openbsd*)
10808
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
10829
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10809
10830
    ;;
10810
10831
  *)
10811
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
10832
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
10812
10833
    ;;
10813
10834
  esac
10814
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
10835
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
10815
10836
fi
10816
10837
 
10817
10838
case $host_os in
10958
10979
    # which start with @ or ?.
10959
10980
    lt_cv_sys_global_symbol_pipe="$AWK '"\
10960
10981
"     {last_section=section; section=\$ 3};"\
 
10982
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10961
10983
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10962
10984
"     \$ 0!~/External *\|/{next};"\
10963
10985
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
11346
11368
    CFLAGS="$SAVE_CFLAGS"
11347
11369
  fi
11348
11370
  ;;
11349
 
sparc*-*solaris*)
 
11371
*-*solaris*)
11350
11372
  # Find out which ABI we are using.
11351
11373
  echo 'int i;' > conftest.$ac_ext
11352
11374
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11357
11379
    case `/usr/bin/file conftest.o` in
11358
11380
    *64-bit*)
11359
11381
      case $lt_cv_prog_gnu_ld in
11360
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
11382
      yes*)
 
11383
        case $host in
 
11384
        i?86-*-solaris*)
 
11385
          LD="${LD-ld} -m elf_x86_64"
 
11386
          ;;
 
11387
        sparc*-*-solaris*)
 
11388
          LD="${LD-ld} -m elf64_sparc"
 
11389
          ;;
 
11390
        esac
 
11391
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
11392
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
11393
          LD="${LD-ld}_sol2"
 
11394
        fi
 
11395
        ;;
11361
11396
      *)
11362
11397
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11363
11398
          LD="${LD-ld} -64"
11997
12032
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11998
12033
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11999
12034
        _lt_result=$?
12000
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
12035
        # If there is a non-empty error log, and "single_module"
 
12036
        # appears in it, assume the flag caused a linker warning
 
12037
        if test -s conftest.err && $GREP single_module conftest.err; then
 
12038
          cat conftest.err >&5
 
12039
        # Otherwise, if the output was created with a 0 exit code from
 
12040
        # the compiler, it worked.
 
12041
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
12001
12042
          lt_cv_apple_cc_single_mod=yes
12002
12043
        else
12003
12044
          cat conftest.err >&5
12008
12049
fi
12009
12050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
12010
12051
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
12052
 
12011
12053
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
12012
12054
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
12013
12055
if ${lt_cv_ld_exported_symbols_list+:} false; then :
12040
12082
fi
12041
12083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
12042
12084
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
12085
 
12043
12086
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
12044
12087
$as_echo_n "checking for -force_load linker flag... " >&6; }
12045
12088
if ${lt_cv_ld_force_load+:} false; then :
12061
12104
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
12062
12105
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
12063
12106
      _lt_result=$?
12064
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
12107
      if test -s conftest.err && $GREP force_load conftest.err; then
 
12108
        cat conftest.err >&5
 
12109
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
12065
12110
        lt_cv_ld_force_load=yes
12066
12111
      else
12067
12112
        cat conftest.err >&5
12207
12252
 
12208
12253
# Check whether --with-pic was given.
12209
12254
if test "${with_pic+set}" = set; then :
12210
 
  withval=$with_pic; pic_mode="$withval"
 
12255
  withval=$with_pic; lt_p=${PACKAGE-default}
 
12256
    case $withval in
 
12257
    yes|no) pic_mode=$withval ;;
 
12258
    *)
 
12259
      pic_mode=default
 
12260
      # Look at the argument we got.  We use all the common list separators.
 
12261
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
12262
      for lt_pkg in $withval; do
 
12263
        IFS="$lt_save_ifs"
 
12264
        if test "X$lt_pkg" = "X$lt_p"; then
 
12265
          pic_mode=yes
 
12266
        fi
 
12267
      done
 
12268
      IFS="$lt_save_ifs"
 
12269
      ;;
 
12270
    esac
12211
12271
else
12212
12272
  pic_mode=default
12213
12273
fi
12285
12345
 
12286
12346
 
12287
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
12288
12352
test -z "$LN_S" && LN_S="ln -s"
12289
12353
 
12290
12354
 
12574
12638
$RM -r conftest*
12575
12639
 
12576
12640
 
 
12641
## CAVEAT EMPTOR:
 
12642
## There is no encapsulation within the following macros, do not change
 
12643
## the running order or otherwise move them around unless you know exactly
 
12644
## what you are doing...
12577
12645
if test -n "$compiler"; then
12578
12646
 
12579
12647
lt_prog_compiler_no_builtin_flag=
12740
12808
    case $cc_basename in
12741
12809
    nvcc*) # Cuda Compiler Driver 2.2
12742
12810
      lt_prog_compiler_wl='-Xlinker '
12743
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
12811
      if test -n "$lt_prog_compiler_pic"; then
 
12812
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
12813
      fi
12744
12814
      ;;
12745
12815
    esac
12746
12816
  else
12831
12901
        ;;
12832
12902
      *)
12833
12903
        case `$CC -V 2>&1 | sed 5q` in
12834
 
        *Sun\ F* | *Sun*Fortran*)
 
12904
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12835
12905
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
12836
12906
          lt_prog_compiler_pic='-KPIC'
12837
12907
          lt_prog_compiler_static='-Bstatic'
12838
12908
          lt_prog_compiler_wl=''
12839
12909
          ;;
 
12910
        *Sun\ F* | *Sun*Fortran*)
 
12911
          lt_prog_compiler_pic='-KPIC'
 
12912
          lt_prog_compiler_static='-Bstatic'
 
12913
          lt_prog_compiler_wl='-Qoption ld '
 
12914
          ;;
12840
12915
        *Sun\ C*)
12841
12916
          # Sun C 5.9
12842
12917
          lt_prog_compiler_pic='-KPIC'
12843
12918
          lt_prog_compiler_static='-Bstatic'
12844
12919
          lt_prog_compiler_wl='-Wl,'
12845
12920
          ;;
 
12921
        *Intel*\ [CF]*Compiler*)
 
12922
          lt_prog_compiler_wl='-Wl,'
 
12923
          lt_prog_compiler_pic='-fPIC'
 
12924
          lt_prog_compiler_static='-static'
 
12925
          ;;
 
12926
        *Portland\ Group*)
 
12927
          lt_prog_compiler_wl='-Wl,'
 
12928
          lt_prog_compiler_pic='-fpic'
 
12929
          lt_prog_compiler_static='-Bstatic'
 
12930
          ;;
12846
12931
        esac
12847
12932
        ;;
12848
12933
      esac
13204
13289
  hardcode_direct=no
13205
13290
  hardcode_direct_absolute=no
13206
13291
  hardcode_libdir_flag_spec=
13207
 
  hardcode_libdir_flag_spec_ld=
13208
13292
  hardcode_libdir_separator=
13209
13293
  hardcode_minus_L=no
13210
13294
  hardcode_shlibpath_var=unsupported
13457
13541
        xlf* | bgf* | bgxlf* | mpixlf*)
13458
13542
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13459
13543
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13460
 
          hardcode_libdir_flag_spec=
13461
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
13544
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13462
13545
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13463
13546
          if test "x$supports_anon_versioning" = xyes; then
13464
13547
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13838
13921
        # The linker will not automatically build a static lib if we build a DLL.
13839
13922
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13840
13923
        enable_shared_with_static_runtimes=yes
 
13924
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13841
13925
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13842
13926
        # Don't use ranlib
13843
13927
        old_postinstall_cmds='chmod 644 $oldlib'
13883
13967
  hardcode_shlibpath_var=unsupported
13884
13968
  if test "$lt_cv_ld_force_load" = "yes"; then
13885
13969
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
13970
 
13886
13971
  else
13887
13972
    whole_archive_flag_spec=''
13888
13973
  fi
13911
13996
      hardcode_shlibpath_var=no
13912
13997
      ;;
13913
13998
 
13914
 
    freebsd1*)
13915
 
      ld_shlibs=no
13916
 
      ;;
13917
 
 
13918
13999
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13919
14000
    # support.  Future versions do this automatically, but an explicit c++rt0.o
13920
14001
    # does not break anything, and helps significantly (at the cost of a little
13927
14008
      ;;
13928
14009
 
13929
14010
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13930
 
    freebsd2*)
 
14011
    freebsd2.*)
13931
14012
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13932
14013
      hardcode_direct=yes
13933
14014
      hardcode_minus_L=yes
13966
14047
      fi
13967
14048
      if test "$with_gnu_ld" = no; then
13968
14049
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13969
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
13970
14050
        hardcode_libdir_separator=:
13971
14051
        hardcode_direct=yes
13972
14052
        hardcode_direct_absolute=yes
14590
14670
 
14591
14671
 
14592
14672
 
14593
 
 
14594
 
 
14595
 
 
14596
 
 
14597
 
 
14598
14673
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14599
14674
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14600
14675
 
14684
14759
 
14685
14760
case $host_os in
14686
14761
aix3*)
14687
 
  version_type=linux
 
14762
  version_type=linux # correct to gnu/linux during the next big refactor
14688
14763
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14689
14764
  shlibpath_var=LIBPATH
14690
14765
 
14693
14768
  ;;
14694
14769
 
14695
14770
aix[4-9]*)
14696
 
  version_type=linux
 
14771
  version_type=linux # correct to gnu/linux during the next big refactor
14697
14772
  need_lib_prefix=no
14698
14773
  need_version=no
14699
14774
  hardcode_into_libs=yes
14758
14833
  ;;
14759
14834
 
14760
14835
bsdi[45]*)
14761
 
  version_type=linux
 
14836
  version_type=linux # correct to gnu/linux during the next big refactor
14762
14837
  need_version=no
14763
14838
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764
14839
  soname_spec='${libname}${release}${shared_ext}$major'
14897
14972
  ;;
14898
14973
 
14899
14974
dgux*)
14900
 
  version_type=linux
 
14975
  version_type=linux # correct to gnu/linux during the next big refactor
14901
14976
  need_lib_prefix=no
14902
14977
  need_version=no
14903
14978
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14905
14980
  shlibpath_var=LD_LIBRARY_PATH
14906
14981
  ;;
14907
14982
 
14908
 
freebsd1*)
14909
 
  dynamic_linker=no
14910
 
  ;;
14911
 
 
14912
14983
freebsd* | dragonfly*)
14913
14984
  # DragonFly does not have aout.  When/if they implement a new
14914
14985
  # versioning mechanism, adjust this.
14916
14987
    objformat=`/usr/bin/objformat`
14917
14988
  else
14918
14989
    case $host_os in
14919
 
    freebsd[123]*) objformat=aout ;;
 
14990
    freebsd[23].*) objformat=aout ;;
14920
14991
    *) objformat=elf ;;
14921
14992
    esac
14922
14993
  fi
14934
15005
  esac
14935
15006
  shlibpath_var=LD_LIBRARY_PATH
14936
15007
  case $host_os in
14937
 
  freebsd2*)
 
15008
  freebsd2.*)
14938
15009
    shlibpath_overrides_runpath=yes
14939
15010
    ;;
14940
15011
  freebsd3.[01]* | freebsdelf3.[01]*)
14954
15025
  ;;
14955
15026
 
14956
15027
gnu*)
14957
 
  version_type=linux
 
15028
  version_type=linux # correct to gnu/linux during the next big refactor
14958
15029
  need_lib_prefix=no
14959
15030
  need_version=no
14960
15031
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14965
15036
  ;;
14966
15037
 
14967
15038
haiku*)
14968
 
  version_type=linux
 
15039
  version_type=linux # correct to gnu/linux during the next big refactor
14969
15040
  need_lib_prefix=no
14970
15041
  need_version=no
14971
15042
  dynamic_linker="$host_os runtime_loader"
15026
15097
  ;;
15027
15098
 
15028
15099
interix[3-9]*)
15029
 
  version_type=linux
 
15100
  version_type=linux # correct to gnu/linux during the next big refactor
15030
15101
  need_lib_prefix=no
15031
15102
  need_version=no
15032
15103
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15042
15113
    nonstopux*) version_type=nonstopux ;;
15043
15114
    *)
15044
15115
        if test "$lt_cv_prog_gnu_ld" = yes; then
15045
 
                version_type=linux
 
15116
                version_type=linux # correct to gnu/linux during the next big refactor
15046
15117
        else
15047
15118
                version_type=irix
15048
15119
        fi ;;
15079
15150
  dynamic_linker=no
15080
15151
  ;;
15081
15152
 
15082
 
# This must be Linux ELF.
 
15153
# This must be glibc/ELF.
15083
15154
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15084
 
  version_type=linux
 
15155
  version_type=linux # correct to gnu/linux during the next big refactor
15085
15156
  need_lib_prefix=no
15086
15157
  need_version=no
15087
15158
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175
15246
  ;;
15176
15247
 
15177
15248
newsos6)
15178
 
  version_type=linux
 
15249
  version_type=linux # correct to gnu/linux during the next big refactor
15179
15250
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180
15251
  shlibpath_var=LD_LIBRARY_PATH
15181
15252
  shlibpath_overrides_runpath=yes
15244
15315
  ;;
15245
15316
 
15246
15317
solaris*)
15247
 
  version_type=linux
 
15318
  version_type=linux # correct to gnu/linux during the next big refactor
15248
15319
  need_lib_prefix=no
15249
15320
  need_version=no
15250
15321
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269
15340
  ;;
15270
15341
 
15271
15342
sysv4 | sysv4.3*)
15272
 
  version_type=linux
 
15343
  version_type=linux # correct to gnu/linux during the next big refactor
15273
15344
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274
15345
  soname_spec='${libname}${release}${shared_ext}$major'
15275
15346
  shlibpath_var=LD_LIBRARY_PATH
15293
15364
 
15294
15365
sysv4*MP*)
15295
15366
  if test -d /usr/nec ;then
15296
 
    version_type=linux
 
15367
    version_type=linux # correct to gnu/linux during the next big refactor
15297
15368
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15298
15369
    soname_spec='$libname${shared_ext}.$major'
15299
15370
    shlibpath_var=LD_LIBRARY_PATH
15324
15395
 
15325
15396
tpf*)
15326
15397
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15327
 
  version_type=linux
 
15398
  version_type=linux # correct to gnu/linux during the next big refactor
15328
15399
  need_lib_prefix=no
15329
15400
  need_version=no
15330
15401
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15334
15405
  ;;
15335
15406
 
15336
15407
uts4*)
15337
 
  version_type=linux
 
15408
  version_type=linux # correct to gnu/linux during the next big refactor
15338
15409
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15339
15410
  soname_spec='${libname}${release}${shared_ext}$major'
15340
15411
  shlibpath_var=LD_LIBRARY_PATH
16259
16330
hardcode_direct_CXX=no
16260
16331
hardcode_direct_absolute_CXX=no
16261
16332
hardcode_libdir_flag_spec_CXX=
16262
 
hardcode_libdir_flag_spec_ld_CXX=
16263
16333
hardcode_libdir_separator_CXX=
16264
16334
hardcode_minus_L_CXX=no
16265
16335
hardcode_shlibpath_var_CXX=unsupported
16843
16913
  hardcode_shlibpath_var_CXX=unsupported
16844
16914
  if test "$lt_cv_ld_force_load" = "yes"; then
16845
16915
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
16916
 
16846
16917
  else
16847
16918
    whole_archive_flag_spec_CXX=''
16848
16919
  fi
16887
16958
        esac
16888
16959
        ;;
16889
16960
 
16890
 
      freebsd[12]*)
 
16961
      freebsd2.*)
16891
16962
        # C++ shared libraries reported to be fairly broken before
16892
16963
        # switch to ELF
16893
16964
        ld_shlibs_CXX=no
17563
17634
case "$CC $CFLAGS " in #(
17564
17635
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
17565
17636
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
17637
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
17566
17638
esac
17567
17639
 
17568
17640
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18352
18424
    ;;
18353
18425
  cygwin* | mingw* | cegcc*)
18354
18426
    case $cc_basename in
18355
 
    cl*) ;;
 
18427
    cl*)
 
18428
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
18429
      ;;
18356
18430
    *)
18357
18431
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
18358
18432
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18508
18582
 
18509
18583
 
18510
18584
 
18511
 
 
18512
 
 
18513
18585
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18514
18586
$as_echo_n "checking dynamic linker characteristics... " >&6; }
18515
18587
 
18535
18607
 
18536
18608
case $host_os in
18537
18609
aix3*)
18538
 
  version_type=linux
 
18610
  version_type=linux # correct to gnu/linux during the next big refactor
18539
18611
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18540
18612
  shlibpath_var=LIBPATH
18541
18613
 
18544
18616
  ;;
18545
18617
 
18546
18618
aix[4-9]*)
18547
 
  version_type=linux
 
18619
  version_type=linux # correct to gnu/linux during the next big refactor
18548
18620
  need_lib_prefix=no
18549
18621
  need_version=no
18550
18622
  hardcode_into_libs=yes
18609
18681
  ;;
18610
18682
 
18611
18683
bsdi[45]*)
18612
 
  version_type=linux
 
18684
  version_type=linux # correct to gnu/linux during the next big refactor
18613
18685
  need_version=no
18614
18686
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18615
18687
  soname_spec='${libname}${release}${shared_ext}$major'
18746
18818
  ;;
18747
18819
 
18748
18820
dgux*)
18749
 
  version_type=linux
 
18821
  version_type=linux # correct to gnu/linux during the next big refactor
18750
18822
  need_lib_prefix=no
18751
18823
  need_version=no
18752
18824
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18754
18826
  shlibpath_var=LD_LIBRARY_PATH
18755
18827
  ;;
18756
18828
 
18757
 
freebsd1*)
18758
 
  dynamic_linker=no
18759
 
  ;;
18760
 
 
18761
18829
freebsd* | dragonfly*)
18762
18830
  # DragonFly does not have aout.  When/if they implement a new
18763
18831
  # versioning mechanism, adjust this.
18765
18833
    objformat=`/usr/bin/objformat`
18766
18834
  else
18767
18835
    case $host_os in
18768
 
    freebsd[123]*) objformat=aout ;;
 
18836
    freebsd[23].*) objformat=aout ;;
18769
18837
    *) objformat=elf ;;
18770
18838
    esac
18771
18839
  fi
18783
18851
  esac
18784
18852
  shlibpath_var=LD_LIBRARY_PATH
18785
18853
  case $host_os in
18786
 
  freebsd2*)
 
18854
  freebsd2.*)
18787
18855
    shlibpath_overrides_runpath=yes
18788
18856
    ;;
18789
18857
  freebsd3.[01]* | freebsdelf3.[01]*)
18803
18871
  ;;
18804
18872
 
18805
18873
gnu*)
18806
 
  version_type=linux
 
18874
  version_type=linux # correct to gnu/linux during the next big refactor
18807
18875
  need_lib_prefix=no
18808
18876
  need_version=no
18809
18877
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18814
18882
  ;;
18815
18883
 
18816
18884
haiku*)
18817
 
  version_type=linux
 
18885
  version_type=linux # correct to gnu/linux during the next big refactor
18818
18886
  need_lib_prefix=no
18819
18887
  need_version=no
18820
18888
  dynamic_linker="$host_os runtime_loader"
18875
18943
  ;;
18876
18944
 
18877
18945
interix[3-9]*)
18878
 
  version_type=linux
 
18946
  version_type=linux # correct to gnu/linux during the next big refactor
18879
18947
  need_lib_prefix=no
18880
18948
  need_version=no
18881
18949
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18891
18959
    nonstopux*) version_type=nonstopux ;;
18892
18960
    *)
18893
18961
        if test "$lt_cv_prog_gnu_ld" = yes; then
18894
 
                version_type=linux
 
18962
                version_type=linux # correct to gnu/linux during the next big refactor
18895
18963
        else
18896
18964
                version_type=irix
18897
18965
        fi ;;
18928
18996
  dynamic_linker=no
18929
18997
  ;;
18930
18998
 
18931
 
# This must be Linux ELF.
 
18999
# This must be glibc/ELF.
18932
19000
linux* | k*bsd*-gnu | kopensolaris*-gnu)
18933
 
  version_type=linux
 
19001
  version_type=linux # correct to gnu/linux during the next big refactor
18934
19002
  need_lib_prefix=no
18935
19003
  need_version=no
18936
19004
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19024
19092
  ;;
19025
19093
 
19026
19094
newsos6)
19027
 
  version_type=linux
 
19095
  version_type=linux # correct to gnu/linux during the next big refactor
19028
19096
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19029
19097
  shlibpath_var=LD_LIBRARY_PATH
19030
19098
  shlibpath_overrides_runpath=yes
19093
19161
  ;;
19094
19162
 
19095
19163
solaris*)
19096
 
  version_type=linux
 
19164
  version_type=linux # correct to gnu/linux during the next big refactor
19097
19165
  need_lib_prefix=no
19098
19166
  need_version=no
19099
19167
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19118
19186
  ;;
19119
19187
 
19120
19188
sysv4 | sysv4.3*)
19121
 
  version_type=linux
 
19189
  version_type=linux # correct to gnu/linux during the next big refactor
19122
19190
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19123
19191
  soname_spec='${libname}${release}${shared_ext}$major'
19124
19192
  shlibpath_var=LD_LIBRARY_PATH
19142
19210
 
19143
19211
sysv4*MP*)
19144
19212
  if test -d /usr/nec ;then
19145
 
    version_type=linux
 
19213
    version_type=linux # correct to gnu/linux during the next big refactor
19146
19214
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19147
19215
    soname_spec='$libname${shared_ext}.$major'
19148
19216
    shlibpath_var=LD_LIBRARY_PATH
19173
19241
 
19174
19242
tpf*)
19175
19243
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
19176
 
  version_type=linux
 
19244
  version_type=linux # correct to gnu/linux during the next big refactor
19177
19245
  need_lib_prefix=no
19178
19246
  need_version=no
19179
19247
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19183
19251
  ;;
19184
19252
 
19185
19253
uts4*)
19186
 
  version_type=linux
 
19254
  version_type=linux # correct to gnu/linux during the next big refactor
19187
19255
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19188
19256
  soname_spec='${libname}${release}${shared_ext}$major'
19189
19257
  shlibpath_var=LD_LIBRARY_PATH
19322
19390
 
19323
19391
 
19324
19392
 
 
19393
 
 
19394
 
19325
19395
        ac_config_commands="$ac_config_commands libtool"
19326
19396
 
19327
19397
 
22359
22429
 
22360
22430
 
22361
22431
 
22362
 
TIFF_INCLUDES=""
22363
 
TIFF_LIBS=""
22364
 
 
22365
 
 
22366
 
# Check whether --with-tiff was given.
22367
 
if test "${with_tiff+set}" = set; then :
22368
 
  withval=$with_tiff;
22369
 
fi
22370
 
 
22371
 
# Treat --without-tiff like --without-tiff-includes --without-tiff-libraries.
22372
 
if test "$with_tiff" = "no"; then
22373
 
  TIFF_INCLUDES=no
22374
 
  TIFF_LIBS=no
22375
 
fi
22376
 
 
22377
 
 
22378
 
# Check whether --with-tiff-includes was given.
22379
 
if test "${with_tiff_includes+set}" = set; then :
22380
 
  withval=$with_tiff_includes; TIFF_INCLUDES="-I$withval"
22381
 
fi
22382
 
 
22383
 
 
22384
 
# Check whether --with-tiff-libraries was given.
22385
 
if test "${with_tiff_libraries+set}" = set; then :
22386
 
  withval=$with_tiff_libraries; TIFF_LIBS="-L$withval -ltiff"
22387
 
fi
22388
 
 
22389
 
 
22390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFF" >&5
22391
 
$as_echo_n "checking for TIFF... " >&6; }
22392
 
 
22393
 
# Look for tiff.h
22394
 
if test "$TIFF_INCLUDES" = ""; then
22395
 
  # Check the standard search path
22396
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22397
 
/* end confdefs.h.  */
22398
 
#include <tiff.h>
22399
 
int
22400
 
main ()
22401
 
{
22402
 
int a;
22403
 
  ;
22404
 
  return 0;
22405
 
}
22406
 
_ACEOF
22407
 
if ac_fn_c_try_compile "$LINENO"; then :
22408
 
 
22409
 
    TIFF_INCLUDES=""
22410
 
 
22411
 
else
22412
 
 
22413
 
    # tiff.h is not in the standard search path, try
22414
 
    # $prefix
22415
 
    tiff_save_INCLUDES="$INCLUDES"
22416
 
 
22417
 
    INCLUDES="-I${prefix}/include $INCLUDES"
22418
 
 
22419
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420
 
/* end confdefs.h.  */
22421
 
#include <tiff.h>
22422
 
int
22423
 
main ()
22424
 
{
22425
 
int a;
22426
 
  ;
22427
 
  return 0;
22428
 
}
22429
 
_ACEOF
22430
 
if ac_fn_c_try_compile "$LINENO"; then :
22431
 
 
22432
 
      TIFF_INCLUDES="-I${prefix}/include"
22433
 
 
22434
 
else
22435
 
 
22436
 
      TIFF_INCLUDES="no"
22437
 
 
22438
 
fi
22439
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440
 
 
22441
 
    INCLUDES=$tiff_save_INCLUDES
22442
 
 
22443
 
fi
22444
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22445
 
fi
22446
 
 
22447
 
# Now for the libraries
22448
 
if test "$TIFF_LIBS" = ""; then
22449
 
  tiff_save_LIBS="$LIBS"
22450
 
  tiff_save_INCLUDES="$INCLUDES"
22451
 
 
22452
 
  LIBS="-ltiff -lm $LIBS"
22453
 
  INCLUDES="$TIFF_INCLUDES $INCLUDES"
22454
 
 
22455
 
  # Try the standard search path first
22456
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457
 
/* end confdefs.h.  */
22458
 
#include <tiff.h>
22459
 
int
22460
 
main ()
22461
 
{
22462
 
TIFFGetVersion()
22463
 
  ;
22464
 
  return 0;
22465
 
}
22466
 
_ACEOF
22467
 
if ac_fn_c_try_link "$LINENO"; then :
22468
 
 
22469
 
    TIFF_LIBS="-ltiff"
22470
 
 
22471
 
else
22472
 
 
22473
 
    # libtiff is not in the standard search path, try $prefix
22474
 
 
22475
 
    LIBS="-L${prefix}/lib $LIBS"
22476
 
 
22477
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478
 
/* end confdefs.h.  */
22479
 
#include <tiff.h>
22480
 
int
22481
 
main ()
22482
 
{
22483
 
TIFFGetVersion()
22484
 
  ;
22485
 
  return 0;
22486
 
}
22487
 
_ACEOF
22488
 
if ac_fn_c_try_link "$LINENO"; then :
22489
 
 
22490
 
      TIFF_LIBS="-L${prefix}/lib -ltiff"
22491
 
 
22492
 
else
22493
 
 
22494
 
      TIFF_LIBS=no
22495
 
 
22496
 
fi
22497
 
rm -f core conftest.err conftest.$ac_objext \
22498
 
    conftest$ac_exeext conftest.$ac_ext
22499
 
 
22500
 
fi
22501
 
rm -f core conftest.err conftest.$ac_objext \
22502
 
    conftest$ac_exeext conftest.$ac_ext
22503
 
 
22504
 
  LIBS="$tiff_save_LIBS"
22505
 
  INCLUDES="$tiff_save_INCLUDES"
22506
 
fi
22507
 
 
22508
 
 
22509
 
 
22510
 
 
22511
 
# Print a helpful message
22512
 
tiff_libraries_result="$TIFF_LIBS"
22513
 
tiff_includes_result="$TIFF_INCLUDES"
22514
 
 
22515
 
if test x"$tiff_libraries_result" = x""; then
22516
 
  tiff_libraries_result="in default path"
22517
 
fi
22518
 
if test x"$tiff_includes_result" = x""; then
22519
 
  tiff_includes_result="in default path"
22520
 
fi
22521
 
 
22522
 
if test "$tiff_libraries_result" = "no"; then
22523
 
  tiff_libraries_result="(none)"
22524
 
fi
22525
 
if test "$tiff_includes_result" = "no"; then
22526
 
  tiff_includes_result="(none)"
22527
 
fi
22528
 
 
22529
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $tiff_libraries_result, headers $tiff_includes_result" >&5
22530
 
$as_echo "libraries $tiff_libraries_result, headers $tiff_includes_result" >&6; }
22531
 
 
22532
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
22533
 
if test "$TIFF_INCLUDES" != "no" && test "$TIFF_LIBS" != "no"; then
22534
 
 
22535
 
$as_echo "#define HAVE_TIFF 1" >>confdefs.h
22536
 
 
22537
 
  with_tiff=yes
22538
 
else
22539
 
  TIFF_INCLUDES=""
22540
 
  TIFF_LIBS=""
22541
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libtiff not found; disabling TIFF support" >&5
22542
 
$as_echo "$as_me: WARNING: libtiff not found; disabling TIFF support" >&2;}
22543
 
   with_tiff=no
22544
 
 
22545
 
fi
22546
 
 
22547
 
 
22548
 
 
22549
 
 
22550
 
 
22551
 
 
22552
22432
ZIP_INCLUDES=""
22553
22433
ZIP_LIBS=""
22554
22434
 
22736
22616
 
22737
22617
 
22738
22618
 
 
22619
# look for TIFF with pkg-config ... fall back to our tester
 
22620
# pkgconfig support for libtiff starts with libtiff-4
 
22621
 
 
22622
# Check whether --with-tiff was given.
 
22623
if test "${with_tiff+set}" = set; then :
 
22624
  withval=$with_tiff;
 
22625
fi
 
22626
 
 
22627
 
 
22628
if test x"$with_tiff" != "xno"; then
 
22629
 
 
22630
pkg_failed=no
 
22631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFF" >&5
 
22632
$as_echo_n "checking for TIFF... " >&6; }
 
22633
 
 
22634
if test -n "$TIFF_CFLAGS"; then
 
22635
    pkg_cv_TIFF_CFLAGS="$TIFF_CFLAGS"
 
22636
 elif test -n "$PKG_CONFIG"; then
 
22637
    if test -n "$PKG_CONFIG" && \
 
22638
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5
 
22639
  ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5
 
22640
  ac_status=$?
 
22641
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
22642
  test $ac_status = 0; }; then
 
22643
  pkg_cv_TIFF_CFLAGS=`$PKG_CONFIG --cflags "libtiff-4" 2>/dev/null`
 
22644
                      test "x$?" != "x0" && pkg_failed=yes
 
22645
else
 
22646
  pkg_failed=yes
 
22647
fi
 
22648
 else
 
22649
    pkg_failed=untried
 
22650
fi
 
22651
if test -n "$TIFF_LIBS"; then
 
22652
    pkg_cv_TIFF_LIBS="$TIFF_LIBS"
 
22653
 elif test -n "$PKG_CONFIG"; then
 
22654
    if test -n "$PKG_CONFIG" && \
 
22655
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5
 
22656
  ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5
 
22657
  ac_status=$?
 
22658
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
22659
  test $ac_status = 0; }; then
 
22660
  pkg_cv_TIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null`
 
22661
                      test "x$?" != "x0" && pkg_failed=yes
 
22662
else
 
22663
  pkg_failed=yes
 
22664
fi
 
22665
 else
 
22666
    pkg_failed=untried
 
22667
fi
 
22668
 
 
22669
 
 
22670
 
 
22671
if test $pkg_failed = yes; then
 
22672
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22673
$as_echo "no" >&6; }
 
22674
 
 
22675
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22676
        _pkg_short_errors_supported=yes
 
22677
else
 
22678
        _pkg_short_errors_supported=no
 
22679
fi
 
22680
        if test $_pkg_short_errors_supported = yes; then
 
22681
                TIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtiff-4" 2>&1`
 
22682
        else
 
22683
                TIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtiff-4" 2>&1`
 
22684
        fi
 
22685
        # Put the nasty error message in config.log where it belongs
 
22686
        echo "$TIFF_PKG_ERRORS" >&5
 
22687
 
 
22688
 
 
22689
 
 
22690
 
 
22691
TIFF_INCLUDES=""
 
22692
TIFF_LIBS=""
 
22693
 
 
22694
 
 
22695
# Check whether --with-tiff was given.
 
22696
if test "${with_tiff+set}" = set; then :
 
22697
  withval=$with_tiff;
 
22698
fi
 
22699
 
 
22700
# Treat --without-tiff like --without-tiff-includes --without-tiff-libraries.
 
22701
if test "$with_tiff" = "no"; then
 
22702
  TIFF_INCLUDES=no
 
22703
  TIFF_LIBS=no
 
22704
fi
 
22705
 
 
22706
 
 
22707
# Check whether --with-tiff-includes was given.
 
22708
if test "${with_tiff_includes+set}" = set; then :
 
22709
  withval=$with_tiff_includes; TIFF_INCLUDES="-I$withval"
 
22710
fi
 
22711
 
 
22712
 
 
22713
# Check whether --with-tiff-libraries was given.
 
22714
if test "${with_tiff_libraries+set}" = set; then :
 
22715
  withval=$with_tiff_libraries; TIFF_LIBS="-L$withval -ltiff"
 
22716
fi
 
22717
 
 
22718
 
 
22719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFF" >&5
 
22720
$as_echo_n "checking for TIFF... " >&6; }
 
22721
 
 
22722
# Look for tiff.h
 
22723
if test "$TIFF_INCLUDES" = ""; then
 
22724
  # Check the standard search path
 
22725
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22726
/* end confdefs.h.  */
 
22727
#include <tiff.h>
 
22728
int
 
22729
main ()
 
22730
{
 
22731
int a;
 
22732
  ;
 
22733
  return 0;
 
22734
}
 
22735
_ACEOF
 
22736
if ac_fn_c_try_compile "$LINENO"; then :
 
22737
 
 
22738
    TIFF_INCLUDES=""
 
22739
 
 
22740
else
 
22741
 
 
22742
    # tiff.h is not in the standard search path, try
 
22743
    # $prefix
 
22744
    tiff_save_INCLUDES="$INCLUDES"
 
22745
 
 
22746
    INCLUDES="-I${prefix}/include $INCLUDES"
 
22747
 
 
22748
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22749
/* end confdefs.h.  */
 
22750
#include <tiff.h>
 
22751
int
 
22752
main ()
 
22753
{
 
22754
int a;
 
22755
  ;
 
22756
  return 0;
 
22757
}
 
22758
_ACEOF
 
22759
if ac_fn_c_try_compile "$LINENO"; then :
 
22760
 
 
22761
      TIFF_INCLUDES="-I${prefix}/include"
 
22762
 
 
22763
else
 
22764
 
 
22765
      TIFF_INCLUDES="no"
 
22766
 
 
22767
fi
 
22768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22769
 
 
22770
    INCLUDES=$tiff_save_INCLUDES
 
22771
 
 
22772
fi
 
22773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22774
fi
 
22775
 
 
22776
# Now for the libraries
 
22777
if test "$TIFF_LIBS" = ""; then
 
22778
  tiff_save_LIBS="$LIBS"
 
22779
  tiff_save_INCLUDES="$INCLUDES"
 
22780
 
 
22781
  LIBS="-ltiff -lm $LIBS"
 
22782
  INCLUDES="$TIFF_INCLUDES $INCLUDES"
 
22783
 
 
22784
  # Try the standard search path first
 
22785
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22786
/* end confdefs.h.  */
 
22787
#include <tiff.h>
 
22788
int
 
22789
main ()
 
22790
{
 
22791
TIFFGetVersion()
 
22792
  ;
 
22793
  return 0;
 
22794
}
 
22795
_ACEOF
 
22796
if ac_fn_c_try_link "$LINENO"; then :
 
22797
 
 
22798
    TIFF_LIBS="-ltiff"
 
22799
 
 
22800
else
 
22801
 
 
22802
    # libtiff is not in the standard search path, try $prefix
 
22803
 
 
22804
    LIBS="-L${prefix}/lib $LIBS"
 
22805
 
 
22806
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22807
/* end confdefs.h.  */
 
22808
#include <tiff.h>
 
22809
int
 
22810
main ()
 
22811
{
 
22812
TIFFGetVersion()
 
22813
  ;
 
22814
  return 0;
 
22815
}
 
22816
_ACEOF
 
22817
if ac_fn_c_try_link "$LINENO"; then :
 
22818
 
 
22819
      TIFF_LIBS="-L${prefix}/lib -ltiff"
 
22820
 
 
22821
else
 
22822
 
 
22823
      TIFF_LIBS=no
 
22824
 
 
22825
fi
 
22826
rm -f core conftest.err conftest.$ac_objext \
 
22827
    conftest$ac_exeext conftest.$ac_ext
 
22828
 
 
22829
fi
 
22830
rm -f core conftest.err conftest.$ac_objext \
 
22831
    conftest$ac_exeext conftest.$ac_ext
 
22832
 
 
22833
  LIBS="$tiff_save_LIBS"
 
22834
  INCLUDES="$tiff_save_INCLUDES"
 
22835
fi
 
22836
 
 
22837
 
 
22838
 
 
22839
 
 
22840
# Print a helpful message
 
22841
tiff_libraries_result="$TIFF_LIBS"
 
22842
tiff_includes_result="$TIFF_INCLUDES"
 
22843
 
 
22844
if test x"$tiff_libraries_result" = x""; then
 
22845
  tiff_libraries_result="in default path"
 
22846
fi
 
22847
if test x"$tiff_includes_result" = x""; then
 
22848
  tiff_includes_result="in default path"
 
22849
fi
 
22850
 
 
22851
if test "$tiff_libraries_result" = "no"; then
 
22852
  tiff_libraries_result="(none)"
 
22853
fi
 
22854
if test "$tiff_includes_result" = "no"; then
 
22855
  tiff_includes_result="(none)"
 
22856
fi
 
22857
 
 
22858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $tiff_libraries_result, headers $tiff_includes_result" >&5
 
22859
$as_echo "libraries $tiff_libraries_result, headers $tiff_includes_result" >&6; }
 
22860
 
 
22861
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 
22862
if test "$TIFF_INCLUDES" != "no" && test "$TIFF_LIBS" != "no"; then
 
22863
 
 
22864
$as_echo "#define HAVE_TIFF 1" >>confdefs.h
 
22865
 
 
22866
 
 
22867
else
 
22868
  TIFF_INCLUDES=""
 
22869
  TIFF_LIBS=""
 
22870
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libtiff not found; disabling TIFF support" >&5
 
22871
$as_echo "$as_me: WARNING: libtiff not found; disabling TIFF support" >&2;}
 
22872
      with_tiff=no
 
22873
 
 
22874
fi
 
22875
 
 
22876
 
 
22877
 
 
22878
elif test $pkg_failed = untried; then
 
22879
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22880
$as_echo "no" >&6; }
 
22881
 
 
22882
 
 
22883
 
 
22884
TIFF_INCLUDES=""
 
22885
TIFF_LIBS=""
 
22886
 
 
22887
 
 
22888
# Check whether --with-tiff was given.
 
22889
if test "${with_tiff+set}" = set; then :
 
22890
  withval=$with_tiff;
 
22891
fi
 
22892
 
 
22893
# Treat --without-tiff like --without-tiff-includes --without-tiff-libraries.
 
22894
if test "$with_tiff" = "no"; then
 
22895
  TIFF_INCLUDES=no
 
22896
  TIFF_LIBS=no
 
22897
fi
 
22898
 
 
22899
 
 
22900
# Check whether --with-tiff-includes was given.
 
22901
if test "${with_tiff_includes+set}" = set; then :
 
22902
  withval=$with_tiff_includes; TIFF_INCLUDES="-I$withval"
 
22903
fi
 
22904
 
 
22905
 
 
22906
# Check whether --with-tiff-libraries was given.
 
22907
if test "${with_tiff_libraries+set}" = set; then :
 
22908
  withval=$with_tiff_libraries; TIFF_LIBS="-L$withval -ltiff"
 
22909
fi
 
22910
 
 
22911
 
 
22912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFF" >&5
 
22913
$as_echo_n "checking for TIFF... " >&6; }
 
22914
 
 
22915
# Look for tiff.h
 
22916
if test "$TIFF_INCLUDES" = ""; then
 
22917
  # Check the standard search path
 
22918
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22919
/* end confdefs.h.  */
 
22920
#include <tiff.h>
 
22921
int
 
22922
main ()
 
22923
{
 
22924
int a;
 
22925
  ;
 
22926
  return 0;
 
22927
}
 
22928
_ACEOF
 
22929
if ac_fn_c_try_compile "$LINENO"; then :
 
22930
 
 
22931
    TIFF_INCLUDES=""
 
22932
 
 
22933
else
 
22934
 
 
22935
    # tiff.h is not in the standard search path, try
 
22936
    # $prefix
 
22937
    tiff_save_INCLUDES="$INCLUDES"
 
22938
 
 
22939
    INCLUDES="-I${prefix}/include $INCLUDES"
 
22940
 
 
22941
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22942
/* end confdefs.h.  */
 
22943
#include <tiff.h>
 
22944
int
 
22945
main ()
 
22946
{
 
22947
int a;
 
22948
  ;
 
22949
  return 0;
 
22950
}
 
22951
_ACEOF
 
22952
if ac_fn_c_try_compile "$LINENO"; then :
 
22953
 
 
22954
      TIFF_INCLUDES="-I${prefix}/include"
 
22955
 
 
22956
else
 
22957
 
 
22958
      TIFF_INCLUDES="no"
 
22959
 
 
22960
fi
 
22961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22962
 
 
22963
    INCLUDES=$tiff_save_INCLUDES
 
22964
 
 
22965
fi
 
22966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22967
fi
 
22968
 
 
22969
# Now for the libraries
 
22970
if test "$TIFF_LIBS" = ""; then
 
22971
  tiff_save_LIBS="$LIBS"
 
22972
  tiff_save_INCLUDES="$INCLUDES"
 
22973
 
 
22974
  LIBS="-ltiff -lm $LIBS"
 
22975
  INCLUDES="$TIFF_INCLUDES $INCLUDES"
 
22976
 
 
22977
  # Try the standard search path first
 
22978
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22979
/* end confdefs.h.  */
 
22980
#include <tiff.h>
 
22981
int
 
22982
main ()
 
22983
{
 
22984
TIFFGetVersion()
 
22985
  ;
 
22986
  return 0;
 
22987
}
 
22988
_ACEOF
 
22989
if ac_fn_c_try_link "$LINENO"; then :
 
22990
 
 
22991
    TIFF_LIBS="-ltiff"
 
22992
 
 
22993
else
 
22994
 
 
22995
    # libtiff is not in the standard search path, try $prefix
 
22996
 
 
22997
    LIBS="-L${prefix}/lib $LIBS"
 
22998
 
 
22999
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
23000
/* end confdefs.h.  */
 
23001
#include <tiff.h>
 
23002
int
 
23003
main ()
 
23004
{
 
23005
TIFFGetVersion()
 
23006
  ;
 
23007
  return 0;
 
23008
}
 
23009
_ACEOF
 
23010
if ac_fn_c_try_link "$LINENO"; then :
 
23011
 
 
23012
      TIFF_LIBS="-L${prefix}/lib -ltiff"
 
23013
 
 
23014
else
 
23015
 
 
23016
      TIFF_LIBS=no
 
23017
 
 
23018
fi
 
23019
rm -f core conftest.err conftest.$ac_objext \
 
23020
    conftest$ac_exeext conftest.$ac_ext
 
23021
 
 
23022
fi
 
23023
rm -f core conftest.err conftest.$ac_objext \
 
23024
    conftest$ac_exeext conftest.$ac_ext
 
23025
 
 
23026
  LIBS="$tiff_save_LIBS"
 
23027
  INCLUDES="$tiff_save_INCLUDES"
 
23028
fi
 
23029
 
 
23030
 
 
23031
 
 
23032
 
 
23033
# Print a helpful message
 
23034
tiff_libraries_result="$TIFF_LIBS"
 
23035
tiff_includes_result="$TIFF_INCLUDES"
 
23036
 
 
23037
if test x"$tiff_libraries_result" = x""; then
 
23038
  tiff_libraries_result="in default path"
 
23039
fi
 
23040
if test x"$tiff_includes_result" = x""; then
 
23041
  tiff_includes_result="in default path"
 
23042
fi
 
23043
 
 
23044
if test "$tiff_libraries_result" = "no"; then
 
23045
  tiff_libraries_result="(none)"
 
23046
fi
 
23047
if test "$tiff_includes_result" = "no"; then
 
23048
  tiff_includes_result="(none)"
 
23049
fi
 
23050
 
 
23051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $tiff_libraries_result, headers $tiff_includes_result" >&5
 
23052
$as_echo "libraries $tiff_libraries_result, headers $tiff_includes_result" >&6; }
 
23053
 
 
23054
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 
23055
if test "$TIFF_INCLUDES" != "no" && test "$TIFF_LIBS" != "no"; then
 
23056
 
 
23057
$as_echo "#define HAVE_TIFF 1" >>confdefs.h
 
23058
 
 
23059
 
 
23060
else
 
23061
  TIFF_INCLUDES=""
 
23062
  TIFF_LIBS=""
 
23063
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libtiff not found; disabling TIFF support" >&5
 
23064
$as_echo "$as_me: WARNING: libtiff not found; disabling TIFF support" >&2;}
 
23065
      with_tiff=no
 
23066
 
 
23067
fi
 
23068
 
 
23069
 
 
23070
 
 
23071
else
 
23072
        TIFF_CFLAGS=$pkg_cv_TIFF_CFLAGS
 
23073
        TIFF_LIBS=$pkg_cv_TIFF_LIBS
 
23074
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
23075
$as_echo "yes" >&6; }
 
23076
 
 
23077
$as_echo "#define HAVE_TIFF 1" >>confdefs.h
 
23078
 
 
23079
     with_tiff=yes
 
23080
     PACKAGES_USED="$PACKAGES_USED libtiff-4"
 
23081
fi
 
23082
fi
 
23083
 
22739
23084
# look for PNG with pkg-config ... fall back to our tester
22740
23085
 
22741
23086
# Check whether --with-png was given.
23570
23915
 
23571
23916
 
23572
23917
 
 
23918
 
 
23919
 
23573
23920
        if test -n "$PYTHON"; then
23574
23921
      # If the user set $PYTHON, use it and don't search something else.
23575
23922
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.2" >&5
23603
23950
  $as_echo_n "(cached) " >&6
23604
23951
else
23605
23952
 
23606
 
        for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
 
23953
        for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
23607
23954
          test "$am_cv_pathless_PYTHON" = none && break
23608
23955
          prog="import sys
23609
23956
# split strings by '.' and convert to numeric.  Append some zeros
23714
24061
 
23715
24062
 
23716
24063
 
23717
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
24064
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
23718
24065
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
23719
24066
if ${am_cv_python_pythondir+:} false; then :
23720
24067
  $as_echo_n "(cached) " >&6
23725
24072
     else
23726
24073
       am_py_prefix=$prefix
23727
24074
     fi
23728
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
23729
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
24075
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
23730
24076
     case $am_cv_python_pythondir in
23731
24077
     $am_py_prefix*)
23732
24078
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
23752
24098
  pkgpythondir=\${pythondir}/$PACKAGE
23753
24099
 
23754
24100
 
23755
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
24101
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
23756
24102
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
23757
24103
if ${am_cv_python_pyexecdir+:} false; then :
23758
24104
  $as_echo_n "(cached) " >&6
23763
24109
     else
23764
24110
       am_py_exec_prefix=$exec_prefix
23765
24111
     fi
23766
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
23767
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
24112
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
23768
24113
     case $am_cv_python_pyexecdir in
23769
24114
     $am_py_exec_prefix*)
23770
24115
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
24471
24816
# report actual input values of CONFIG_FILES etc. instead of their
24472
24817
# values after options handling.
24473
24818
ac_log="
24474
 
This file was extended by vips $as_me 7.28.2, which was
 
24819
This file was extended by vips $as_me 7.28.5, which was
24475
24820
generated by GNU Autoconf 2.68.  Invocation command line was
24476
24821
 
24477
24822
  CONFIG_FILES    = $CONFIG_FILES
24537
24882
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24538
24883
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24539
24884
ac_cs_version="\\
24540
 
vips config.status 7.28.2
 
24885
vips config.status 7.28.5
24541
24886
configured by $0, generated by GNU Autoconf 2.68,
24542
24887
  with options \\"\$ac_cs_config\\"
24543
24888
 
24678
25023
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
24679
25024
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
24680
25025
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
25026
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
24681
25027
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
24682
25028
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
24683
25029
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
24758
25104
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24759
25105
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24760
25106
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24761
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
24762
25107
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24763
25108
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24764
25109
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24830
25175
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24831
25176
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24832
25177
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24833
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
24834
25178
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24835
25179
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24836
25180
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24872
25216
OBJDUMP \
24873
25217
SHELL \
24874
25218
ECHO \
 
25219
PATH_SEPARATOR \
24875
25220
SED \
24876
25221
GREP \
24877
25222
EGREP \
24920
25265
allow_undefined_flag \
24921
25266
no_undefined_flag \
24922
25267
hardcode_libdir_flag_spec \
24923
 
hardcode_libdir_flag_spec_ld \
24924
25268
hardcode_libdir_separator \
24925
25269
exclude_expsyms \
24926
25270
include_expsyms \
24954
25298
allow_undefined_flag_CXX \
24955
25299
no_undefined_flag_CXX \
24956
25300
hardcode_libdir_flag_spec_CXX \
24957
 
hardcode_libdir_flag_spec_ld_CXX \
24958
25301
hardcode_libdir_separator_CXX \
24959
25302
exclude_expsyms_CXX \
24960
25303
include_expsyms_CXX \
25804
26147
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
25805
26148
#
25806
26149
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25807
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
25808
 
#                 Inc.
 
26150
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
26151
#                 Foundation, Inc.
25809
26152
#   Written by Gordon Matzigkeit, 1996
25810
26153
#
25811
26154
#   This file is part of GNU Libtool.
25868
26211
# An echo program that protects backslashes.
25869
26212
ECHO=$lt_ECHO
25870
26213
 
 
26214
# The PATH separator for the build system.
 
26215
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
26216
 
25871
26217
# The host system.
25872
26218
host_alias=$host_alias
25873
26219
host=$host
26163
26509
# This must work even if \$libdir does not exist
26164
26510
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26165
26511
 
26166
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
26167
 
# during linking.  This must work even if \$libdir does not exist.
26168
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26169
 
 
26170
26512
# Whether we need a single "-rpath" flag with a separated argument.
26171
26513
hardcode_libdir_separator=$lt_hardcode_libdir_separator
26172
26514
 
26509
26851
# This must work even if \$libdir does not exist
26510
26852
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26511
26853
 
26512
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
26513
 
# during linking.  This must work even if \$libdir does not exist.
26514
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
26515
 
 
26516
26854
# Whether we need a single "-rpath" flag with a separated argument.
26517
26855
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26518
26856