~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67.
 
3
# Generated by GNU Autoconf 2.68.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
214
215
  # We cannot yet assume a decent shell, so we have to provide a
215
216
        # neutralization value for shells without unset; and this also
216
217
        # works around shells that cannot unset nonexistent variables.
 
218
        # Preserve -v and -x to the replacement shell.
217
219
        BASH_ENV=/dev/null
218
220
        ENV=/dev/null
219
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
222
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
223
        case $- in # ((((
 
224
          *v*x* | *x*v* ) as_opts=-vx ;;
 
225
          *v* ) as_opts=-v ;;
 
226
          *x* ) as_opts=-x ;;
 
227
          * ) as_opts= ;;
 
228
        esac
 
229
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
230
fi
223
231
 
224
232
    if test x$as_have_required = xno; then :
595
603
GCFLAGS
596
604
DBG_CFLAGS
597
605
OPT_CFLAGS
 
606
HAVE_BYTESWAP_H
 
607
HAVE_BSWAP32
598
608
HAVE_SSE2
599
609
HAVE_SETLOCALE
600
610
HAVE_MKSTEMP64
601
611
HAVE_FILE64
602
 
HAVE_HYPOT
603
612
HAVE_MKSTEMP
604
613
fontpath
605
614
X11_DEVS
632
641
GTKCONFIG
633
642
JPXDEVS
634
643
SHARE_JASPER
635
 
JASPERDIR
 
644
JPXDIR
 
645
JPX_AUTOCONF_CFLAGS
 
646
JPX_DECODER
636
647
JBIG2_AUTOCONF_CFLAGS
637
648
JBIG2DEVS
638
649
SHARE_JBIG2
639
650
JBIG2DIR
 
651
JBIG2_DECODER
640
652
IJSLIB
641
653
SHAREIJS
642
654
IJSDIR
657
669
LIBTIFFDIR
658
670
TIFFDEVS
659
671
SHARE_LIBTIFF
 
672
LCMS2DIR
660
673
LCMSDIR
661
674
SHARELCMS
662
675
LIBPNGDIR
758
771
with_pdftoraster
759
772
with_local_cups
760
773
with_ijs
 
774
with_luratech
761
775
with_jbig2dec
762
776
with_jasper
763
777
enable_gtk
770
784
enable_dynamic
771
785
with_fontpath
772
786
enable_sse2
 
787
enable_bswap32
 
788
enable_byteswap_h
773
789
'
774
790
      ac_precious_vars='build_alias
775
791
host_alias
1185
1201
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186
1202
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187
1203
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1204
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189
1205
    ;;
1190
1206
 
1191
1207
  esac
1404
1420
  --disable-compile-inits Don't compile in initialization files
1405
1421
  --enable-dynamic        Enable dynamically loaded drivers
1406
1422
  --disable-sse2          Do not use sse2 instrinsics
 
1423
  --disable-bswap32       Do not use bswap32 instrinsic
 
1424
  --disable-byteswap-h    Do not use byteswap.h functions
1407
1425
 
1408
1426
Optional Packages:
1409
1427
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1419
1437
  --with-local-cups       Force using the GS supplied cups code - only useful
1420
1438
                          for debugging
1421
1439
  --without-ijs           disable IJS driver support
 
1440
  --without-luratech      do not try to use the Luratech library for JBIG2 nor
 
1441
                          JPX decoding
1422
1442
  --without-jbig2dec      disable JBIG2 decode support
1423
1443
  --without-jasper        don't use the JasPer library for JPEG 2000
1424
1444
  --with-omni             enable the omni driver
1538
1558
if $ac_init_version; then
1539
1559
  cat <<\_ACEOF
1540
1560
configure
1541
 
generated by GNU Autoconf 2.67
 
1561
generated by GNU Autoconf 2.68
1542
1562
 
1543
1563
Copyright (C) 2010 Free Software Foundation, Inc.
1544
1564
This configure script is free software; the Free Software Foundation
1584
1604
 
1585
1605
        ac_retval=1
1586
1606
fi
1587
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1607
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588
1608
  as_fn_set_status $ac_retval
1589
1609
 
1590
1610
} # ac_fn_c_try_compile
1621
1641
 
1622
1642
    ac_retval=1
1623
1643
fi
1624
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1644
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625
1645
  as_fn_set_status $ac_retval
1626
1646
 
1627
1647
} # ac_fn_c_try_cpp
1667
1687
  # interfere with the next link command; also delete a directory that is
1668
1688
  # left behind by Apple's compiler.  We do this before executing the actions.
1669
1689
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1690
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671
1691
  as_fn_set_status $ac_retval
1672
1692
 
1673
1693
} # ac_fn_c_try_link
1709
1729
       ac_retval=$ac_status
1710
1730
fi
1711
1731
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1732
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713
1733
  as_fn_set_status $ac_retval
1714
1734
 
1715
1735
} # ac_fn_c_try_run
1722
1742
ac_fn_c_check_header_mongrel ()
1723
1743
{
1724
1744
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1745
  if eval \${$3+:} false; then :
1726
1746
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727
1747
$as_echo_n "checking for $2... " >&6; }
1728
 
if eval "test \"\${$3+set}\"" = set; then :
 
1748
if eval \${$3+:} false; then :
1729
1749
  $as_echo_n "(cached) " >&6
1730
1750
fi
1731
1751
eval ac_res=\$$3
1788
1808
esac
1789
1809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790
1810
$as_echo_n "checking for $2... " >&6; }
1791
 
if eval "test \"\${$3+set}\"" = set; then :
 
1811
if eval \${$3+:} false; then :
1792
1812
  $as_echo_n "(cached) " >&6
1793
1813
else
1794
1814
  eval "$3=\$ac_header_compiler"
1797
1817
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798
1818
$as_echo "$ac_res" >&6; }
1799
1819
fi
1800
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1820
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801
1821
 
1802
1822
} # ac_fn_c_check_header_mongrel
1803
1823
 
1810
1830
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811
1831
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812
1832
$as_echo_n "checking for $2... " >&6; }
1813
 
if eval "test \"\${$3+set}\"" = set; then :
 
1833
if eval \${$3+:} false; then :
1814
1834
  $as_echo_n "(cached) " >&6
1815
1835
else
1816
1836
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828
1848
eval ac_res=\$$3
1829
1849
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830
1850
$as_echo "$ac_res" >&6; }
1831
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1851
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832
1852
 
1833
1853
} # ac_fn_c_check_header_compile
1834
1854
 
1841
1861
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842
1862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843
1863
$as_echo_n "checking for $2... " >&6; }
1844
 
if eval "test \"\${$3+set}\"" = set; then :
 
1864
if eval \${$3+:} false; then :
1845
1865
  $as_echo_n "(cached) " >&6
1846
1866
else
1847
1867
  eval "$3=no"
1882
1902
eval ac_res=\$$3
1883
1903
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884
1904
$as_echo "$ac_res" >&6; }
1885
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1905
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1906
 
1887
1907
} # ac_fn_c_check_type
1888
1908
 
1895
1915
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896
1916
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1897
1917
$as_echo_n "checking for $2.$3... " >&6; }
1898
 
if eval "test \"\${$4+set}\"" = set; then :
 
1918
if eval \${$4+:} false; then :
1899
1919
  $as_echo_n "(cached) " >&6
1900
1920
else
1901
1921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939
1959
eval ac_res=\$$4
1940
1960
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941
1961
$as_echo "$ac_res" >&6; }
1942
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1962
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943
1963
 
1944
1964
} # ac_fn_c_check_member
1945
1965
 
2116
2136
rm -f conftest.val
2117
2137
 
2118
2138
  fi
2119
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2139
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120
2140
  as_fn_set_status $ac_retval
2121
2141
 
2122
2142
} # ac_fn_c_compute_int
2129
2149
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130
2150
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131
2151
$as_echo_n "checking for $2... " >&6; }
2132
 
if eval "test \"\${$3+set}\"" = set; then :
 
2152
if eval \${$3+:} false; then :
2133
2153
  $as_echo_n "(cached) " >&6
2134
2154
else
2135
2155
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184
2204
eval ac_res=\$$3
2185
2205
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186
2206
$as_echo "$ac_res" >&6; }
2187
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2207
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2188
2208
 
2189
2209
} # ac_fn_c_check_func
2190
2210
cat >config.log <<_ACEOF
2192
2212
running configure, to aid debugging if configure makes a mistake.
2193
2213
 
2194
2214
It was created by $as_me, which was
2195
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2215
generated by GNU Autoconf 2.68.  Invocation command line was
2196
2216
 
2197
2217
  $ $0 $@
2198
2218
 
2450
2470
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451
2471
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452
2472
as_fn_error $? "failed to load site script $ac_site_file
2453
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2473
See \`config.log' for more details" "$LINENO" 5; }
2454
2474
  fi
2455
2475
done
2456
2476
 
2564
2584
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2565
2585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566
2586
$as_echo_n "checking for $ac_word... " >&6; }
2567
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2587
if ${ac_cv_prog_CC+:} false; then :
2568
2588
  $as_echo_n "(cached) " >&6
2569
2589
else
2570
2590
  if test -n "$CC"; then
2604
2624
set dummy gcc; ac_word=$2
2605
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
2626
$as_echo_n "checking for $ac_word... " >&6; }
2607
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2627
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2608
2628
  $as_echo_n "(cached) " >&6
2609
2629
else
2610
2630
  if test -n "$ac_ct_CC"; then
2657
2677
set dummy ${ac_tool_prefix}cc; ac_word=$2
2658
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659
2679
$as_echo_n "checking for $ac_word... " >&6; }
2660
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2680
if ${ac_cv_prog_CC+:} false; then :
2661
2681
  $as_echo_n "(cached) " >&6
2662
2682
else
2663
2683
  if test -n "$CC"; then
2697
2717
set dummy cc; ac_word=$2
2698
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699
2719
$as_echo_n "checking for $ac_word... " >&6; }
2700
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2720
if ${ac_cv_prog_CC+:} false; then :
2701
2721
  $as_echo_n "(cached) " >&6
2702
2722
else
2703
2723
  if test -n "$CC"; then
2756
2776
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2757
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758
2778
$as_echo_n "checking for $ac_word... " >&6; }
2759
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2779
if ${ac_cv_prog_CC+:} false; then :
2760
2780
  $as_echo_n "(cached) " >&6
2761
2781
else
2762
2782
  if test -n "$CC"; then
2800
2820
set dummy $ac_prog; ac_word=$2
2801
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802
2822
$as_echo_n "checking for $ac_word... " >&6; }
2803
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2823
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2804
2824
  $as_echo_n "(cached) " >&6
2805
2825
else
2806
2826
  if test -n "$ac_ct_CC"; then
2855
2875
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856
2876
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857
2877
as_fn_error $? "no acceptable C compiler found in \$PATH
2858
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2878
See \`config.log' for more details" "$LINENO" 5; }
2859
2879
 
2860
2880
# Provide some information about the compiler.
2861
2881
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2970
2990
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971
2991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972
2992
as_fn_error 77 "C compiler cannot create executables
2973
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2993
See \`config.log' for more details" "$LINENO" 5; }
2974
2994
else
2975
2995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2976
2996
$as_echo "yes" >&6; }
3013
3033
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014
3034
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015
3035
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3016
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3036
See \`config.log' for more details" "$LINENO" 5; }
3017
3037
fi
3018
3038
rm -f conftest conftest$ac_cv_exeext
3019
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3072
3092
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073
3093
as_fn_error $? "cannot run C compiled programs.
3074
3094
If you meant to cross compile, use \`--host'.
3075
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3095
See \`config.log' for more details" "$LINENO" 5; }
3076
3096
    fi
3077
3097
  fi
3078
3098
fi
3083
3103
ac_clean_files=$ac_clean_files_save
3084
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3085
3105
$as_echo_n "checking for suffix of object files... " >&6; }
3086
 
if test "${ac_cv_objext+set}" = set; then :
 
3106
if ${ac_cv_objext+:} false; then :
3087
3107
  $as_echo_n "(cached) " >&6
3088
3108
else
3089
3109
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124
3144
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125
3145
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126
3146
as_fn_error $? "cannot compute suffix of object files: cannot compile
3127
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3147
See \`config.log' for more details" "$LINENO" 5; }
3128
3148
fi
3129
3149
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3130
3150
fi
3134
3154
ac_objext=$OBJEXT
3135
3155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3136
3156
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3137
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3157
if ${ac_cv_c_compiler_gnu+:} false; then :
3138
3158
  $as_echo_n "(cached) " >&6
3139
3159
else
3140
3160
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171
3191
ac_save_CFLAGS=$CFLAGS
3172
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3173
3193
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3174
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3194
if ${ac_cv_prog_cc_g+:} false; then :
3175
3195
  $as_echo_n "(cached) " >&6
3176
3196
else
3177
3197
  ac_save_c_werror_flag=$ac_c_werror_flag
3249
3269
fi
3250
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3251
3271
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3252
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3272
if ${ac_cv_prog_cc_c89+:} false; then :
3253
3273
  $as_echo_n "(cached) " >&6
3254
3274
else
3255
3275
  ac_cv_prog_cc_c89=no
3356
3376
  CPP=
3357
3377
fi
3358
3378
if test -z "$CPP"; then
3359
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3379
  if ${ac_cv_prog_CPP+:} false; then :
3360
3380
  $as_echo_n "(cached) " >&6
3361
3381
else
3362
3382
      # Double quotes because CPP needs to be expanded
3472
3492
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473
3493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474
3494
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3475
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3495
See \`config.log' for more details" "$LINENO" 5; }
3476
3496
fi
3477
3497
 
3478
3498
ac_ext=c
3485
3505
 
3486
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3487
3507
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3488
 
if test "${ac_cv_path_SED+set}" = set; then :
 
3508
if ${ac_cv_path_SED+:} false; then :
3489
3509
  $as_echo_n "(cached) " >&6
3490
3510
else
3491
3511
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3565
3585
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3566
3586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567
3587
$as_echo_n "checking for $ac_word... " >&6; }
3568
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
3588
if ${ac_cv_prog_RANLIB+:} false; then :
3569
3589
  $as_echo_n "(cached) " >&6
3570
3590
else
3571
3591
  if test -n "$RANLIB"; then
3605
3625
set dummy ranlib; ac_word=$2
3606
3626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607
3627
$as_echo_n "checking for $ac_word... " >&6; }
3608
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
3628
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3609
3629
  $as_echo_n "(cached) " >&6
3610
3630
else
3611
3631
  if test -n "$ac_ct_RANLIB"; then
3658
3678
set dummy pkg-config; ac_word=$2
3659
3679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660
3680
$as_echo_n "checking for $ac_word... " >&6; }
3661
 
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
 
3681
if ${ac_cv_path_PKGCONFIG+:} false; then :
3662
3682
  $as_echo_n "(cached) " >&6
3663
3683
else
3664
3684
  case $PKGCONFIG in
3853
3873
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3854
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3855
3875
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3856
 
if eval "test \"\${$as_ac_Header+set}\"" = set; then :
 
3876
if eval \${$as_ac_Header+:} false; then :
3857
3877
  $as_echo_n "(cached) " >&6
3858
3878
else
3859
3879
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893
3913
if test $ac_header_dirent = dirent.h; then
3894
3914
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3895
3915
$as_echo_n "checking for library containing opendir... " >&6; }
3896
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
3916
if ${ac_cv_search_opendir+:} false; then :
3897
3917
  $as_echo_n "(cached) " >&6
3898
3918
else
3899
3919
  ac_func_search_save_LIBS=$LIBS
3927
3947
fi
3928
3948
rm -f core conftest.err conftest.$ac_objext \
3929
3949
    conftest$ac_exeext
3930
 
  if test "${ac_cv_search_opendir+set}" = set; then :
 
3950
  if ${ac_cv_search_opendir+:} false; then :
3931
3951
  break
3932
3952
fi
3933
3953
done
3934
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
3954
if ${ac_cv_search_opendir+:} false; then :
3935
3955
 
3936
3956
else
3937
3957
  ac_cv_search_opendir=no
3950
3970
else
3951
3971
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3952
3972
$as_echo_n "checking for library containing opendir... " >&6; }
3953
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
3973
if ${ac_cv_search_opendir+:} false; then :
3954
3974
  $as_echo_n "(cached) " >&6
3955
3975
else
3956
3976
  ac_func_search_save_LIBS=$LIBS
3984
4004
fi
3985
4005
rm -f core conftest.err conftest.$ac_objext \
3986
4006
    conftest$ac_exeext
3987
 
  if test "${ac_cv_search_opendir+set}" = set; then :
 
4007
  if ${ac_cv_search_opendir+:} false; then :
3988
4008
  break
3989
4009
fi
3990
4010
done
3991
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
4011
if ${ac_cv_search_opendir+:} false; then :
3992
4012
 
3993
4013
else
3994
4014
  ac_cv_search_opendir=no
4009
4029
 
4010
4030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4011
4031
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4012
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4032
if ${ac_cv_path_GREP+:} false; then :
4013
4033
  $as_echo_n "(cached) " >&6
4014
4034
else
4015
4035
  if test -z "$GREP"; then
4072
4092
 
4073
4093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4074
4094
$as_echo_n "checking for egrep... " >&6; }
4075
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4095
if ${ac_cv_path_EGREP+:} false; then :
4076
4096
  $as_echo_n "(cached) " >&6
4077
4097
else
4078
4098
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4139
4159
 
4140
4160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4141
4161
$as_echo_n "checking for ANSI C header files... " >&6; }
4142
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4162
if ${ac_cv_header_stdc+:} false; then :
4143
4163
  $as_echo_n "(cached) " >&6
4144
4164
else
4145
4165
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281
4301
 
4282
4302
 
4283
4303
 
4284
 
OBJDIR_BSDMAKE_WORKAROUND=./obj
 
4304
OBJDIR_BSDMAKE_WORKAROUND=obj
4285
4305
 
4286
4306
case `uname` in
4287
4307
        *BSD)
4288
 
        OBJDIR_BSDMAKEWORKAOROUND="./notobj"
 
4308
        OBJDIR_BSDMAKEWORKAOROUND="notobj"
4289
4309
        ;;
4290
4310
esac
4291
4311
 
4292
4312
 
4293
4313
# for gdev3b1.c (AT&T terminal interface)
4294
4314
ac_fn_c_check_header_mongrel "$LINENO" "sys/window.h" "ac_cv_header_sys_window_h" "$ac_includes_default"
4295
 
if test "x$ac_cv_header_sys_window_h" = x""yes; then :
 
4315
if test "x$ac_cv_header_sys_window_h" = xyes; then :
4296
4316
 
4297
4317
fi
4298
4318
 
4301
4321
 
4302
4322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4303
4323
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4304
 
if test "${ac_cv_c_const+set}" = set; then :
 
4324
if ${ac_cv_c_const+:} false; then :
4305
4325
  $as_echo_n "(cached) " >&6
4306
4326
else
4307
4327
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381
4401
 
4382
4402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4383
4403
$as_echo_n "checking for inline... " >&6; }
4384
 
if test "${ac_cv_c_inline+set}" = set; then :
 
4404
if ${ac_cv_c_inline+:} false; then :
4385
4405
  $as_echo_n "(cached) " >&6
4386
4406
else
4387
4407
  ac_cv_c_inline=no
4422
4442
esac
4423
4443
 
4424
4444
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
4425
 
if test "x$ac_cv_type_mode_t" = x""yes; then :
 
4445
if test "x$ac_cv_type_mode_t" = xyes; then :
4426
4446
 
4427
4447
else
4428
4448
 
4433
4453
fi
4434
4454
 
4435
4455
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4436
 
if test "x$ac_cv_type_off_t" = x""yes; then :
 
4456
if test "x$ac_cv_type_off_t" = xyes; then :
4437
4457
 
4438
4458
else
4439
4459
 
4444
4464
fi
4445
4465
 
4446
4466
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4447
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
4467
if test "x$ac_cv_type_size_t" = xyes; then :
4448
4468
 
4449
4469
else
4450
4470
 
4455
4475
fi
4456
4476
 
4457
4477
ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
4458
 
if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
 
4478
if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
4459
4479
 
4460
4480
cat >>confdefs.h <<_ACEOF
4461
4481
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
4476
4496
 
4477
4497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4478
4498
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4479
 
if test "${ac_cv_header_time+set}" = set; then :
 
4499
if ${ac_cv_header_time+:} false; then :
4480
4500
  $as_echo_n "(cached) " >&6
4481
4501
else
4482
4502
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511
4531
 
4512
4532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4513
4533
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4514
 
if test "${ac_cv_struct_tm+set}" = set; then :
 
4534
if ${ac_cv_struct_tm+:} false; then :
4515
4535
  $as_echo_n "(cached) " >&6
4516
4536
else
4517
4537
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548
4568
if test "x$ac_cv_header_stdint_h" != xyes; then
4549
4569
    ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "#include <sys/types.h>
4550
4570
"
4551
 
if test "x$ac_cv_type_int8_t" = x""yes; then :
 
4571
if test "x$ac_cv_type_int8_t" = xyes; then :
4552
4572
 
4553
4573
cat >>confdefs.h <<_ACEOF
4554
4574
#define HAVE_INT8_T 1
4558
4578
fi
4559
4579
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "#include <sys/types.h>
4560
4580
"
4561
 
if test "x$ac_cv_type_int16_t" = x""yes; then :
 
4581
if test "x$ac_cv_type_int16_t" = xyes; then :
4562
4582
 
4563
4583
cat >>confdefs.h <<_ACEOF
4564
4584
#define HAVE_INT16_T 1
4568
4588
fi
4569
4589
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "#include <sys/types.h>
4570
4590
"
4571
 
if test "x$ac_cv_type_int32_t" = x""yes; then :
 
4591
if test "x$ac_cv_type_int32_t" = xyes; then :
4572
4592
 
4573
4593
cat >>confdefs.h <<_ACEOF
4574
4594
#define HAVE_INT32_T 1
4578
4598
fi
4579
4599
ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "#include <sys/types.h>
4580
4600
"
4581
 
if test "x$ac_cv_type_uint8_t" = x""yes; then :
 
4601
if test "x$ac_cv_type_uint8_t" = xyes; then :
4582
4602
 
4583
4603
cat >>confdefs.h <<_ACEOF
4584
4604
#define HAVE_UINT8_T 1
4588
4608
fi
4589
4609
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "#include <sys/types.h>
4590
4610
"
4591
 
if test "x$ac_cv_type_uint16_t" = x""yes; then :
 
4611
if test "x$ac_cv_type_uint16_t" = xyes; then :
4592
4612
 
4593
4613
cat >>confdefs.h <<_ACEOF
4594
4614
#define HAVE_UINT16_T 1
4598
4618
fi
4599
4619
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
4600
4620
"
4601
 
if test "x$ac_cv_type_uint32_t" = x""yes; then :
 
4621
if test "x$ac_cv_type_uint32_t" = xyes; then :
4602
4622
 
4603
4623
cat >>confdefs.h <<_ACEOF
4604
4624
#define HAVE_UINT32_T 1
4628
4648
# This bug is HP SR number 8606223364.
4629
4649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long int" >&5
4630
4650
$as_echo_n "checking size of unsigned long int... " >&6; }
4631
 
if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then :
 
4651
if ${ac_cv_sizeof_unsigned_long_int+:} false; then :
4632
4652
  $as_echo_n "(cached) " >&6
4633
4653
else
4634
4654
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long int))" "ac_cv_sizeof_unsigned_long_int"        "$ac_includes_default"; then :
4638
4658
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4639
4659
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4640
4660
as_fn_error 77 "cannot compute sizeof (unsigned long int)
4641
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4661
See \`config.log' for more details" "$LINENO" 5; }
4642
4662
   else
4643
4663
     ac_cv_sizeof_unsigned_long_int=0
4644
4664
   fi
4664
4684
# This bug is HP SR number 8606223364.
4665
4685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
4666
4686
$as_echo_n "checking size of unsigned long long... " >&6; }
4667
 
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then :
 
4687
if ${ac_cv_sizeof_unsigned_long_long+:} false; then :
4668
4688
  $as_echo_n "(cached) " >&6
4669
4689
else
4670
4690
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long"        "$ac_includes_default"; then :
4674
4694
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4675
4695
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4676
4696
as_fn_error 77 "cannot compute sizeof (unsigned long long)
4677
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4697
See \`config.log' for more details" "$LINENO" 5; }
4678
4698
   else
4679
4699
     ac_cv_sizeof_unsigned_long_long=0
4680
4700
   fi
4700
4720
# This bug is HP SR number 8606223364.
4701
4721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned __int64" >&5
4702
4722
$as_echo_n "checking size of unsigned __int64... " >&6; }
4703
 
if test "${ac_cv_sizeof_unsigned___int64+set}" = set; then :
 
4723
if ${ac_cv_sizeof_unsigned___int64+:} false; then :
4704
4724
  $as_echo_n "(cached) " >&6
4705
4725
else
4706
4726
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned __int64))" "ac_cv_sizeof_unsigned___int64"        "$ac_includes_default"; then :
4710
4730
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4711
4731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4712
4732
as_fn_error 77 "cannot compute sizeof (unsigned __int64)
4713
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4733
See \`config.log' for more details" "$LINENO" 5; }
4714
4734
   else
4715
4735
     ac_cv_sizeof_unsigned___int64=0
4716
4736
   fi
4736
4756
# This bug is HP SR number 8606223364.
4737
4757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int64_t" >&5
4738
4758
$as_echo_n "checking size of u_int64_t... " >&6; }
4739
 
if test "${ac_cv_sizeof_u_int64_t+set}" = set; then :
 
4759
if ${ac_cv_sizeof_u_int64_t+:} false; then :
4740
4760
  $as_echo_n "(cached) " >&6
4741
4761
else
4742
4762
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int64_t))" "ac_cv_sizeof_u_int64_t"        "$ac_includes_default"; then :
4746
4766
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747
4767
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748
4768
as_fn_error 77 "cannot compute sizeof (u_int64_t)
4749
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4769
See \`config.log' for more details" "$LINENO" 5; }
4750
4770
   else
4751
4771
     ac_cv_sizeof_u_int64_t=0
4752
4772
   fi
4784
4804
 
4785
4805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
4786
4806
$as_echo_n "checking for cos in -lm... " >&6; }
4787
 
if test "${ac_cv_lib_m_cos+set}" = set; then :
 
4807
if ${ac_cv_lib_m_cos+:} false; then :
4788
4808
  $as_echo_n "(cached) " >&6
4789
4809
else
4790
4810
  ac_check_lib_save_LIBS=$LIBS
4818
4838
fi
4819
4839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
4820
4840
$as_echo "$ac_cv_lib_m_cos" >&6; }
4821
 
if test "x$ac_cv_lib_m_cos" = x""yes; then :
 
4841
if test "x$ac_cv_lib_m_cos" = xyes; then :
4822
4842
  cat >>confdefs.h <<_ACEOF
4823
4843
#define HAVE_LIBM 1
4824
4844
_ACEOF
4832
4852
PTHREAD_LIBS=""
4833
4853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
4834
4854
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
4835
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
 
4855
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
4836
4856
  $as_echo_n "(cached) " >&6
4837
4857
else
4838
4858
  ac_check_lib_save_LIBS=$LIBS
4866
4886
fi
4867
4887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
4868
4888
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
4869
 
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
 
4889
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
4870
4890
 
4871
4891
  SYNC=posync;
4872
4892
  PTHREAD_LIBS="-lpthread"
4889
4909
  maybe)
4890
4910
    # Check in the C library first
4891
4911
    ac_fn_c_check_func "$LINENO" "iconv_open" "ac_cv_func_iconv_open"
4892
 
if test "x$ac_cv_func_iconv_open" = x""yes; then :
 
4912
if test "x$ac_cv_func_iconv_open" = xyes; then :
4893
4913
  with_libiconv=no; found_iconv=yes
4894
4914
fi
4895
4915
 
4897
4917
    if test $found_iconv = "no"; then
4898
4918
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
4899
4919
$as_echo_n "checking for libiconv_open in -liconv... " >&6; }
4900
 
if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then :
 
4920
if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
4901
4921
  $as_echo_n "(cached) " >&6
4902
4922
else
4903
4923
  ac_check_lib_save_LIBS=$LIBS
4931
4951
fi
4932
4952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
4933
4953
$as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
4934
 
if test "x$ac_cv_lib_iconv_libiconv_open" = x""yes; then :
 
4954
if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
4935
4955
  with_libiconv=gnu; found_iconv=yes
4936
4956
fi
4937
4957
 
4940
4960
    if test $found_iconv = "no"; then
4941
4961
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -liconv" >&5
4942
4962
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
4943
 
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then :
 
4963
if ${ac_cv_lib_iconv_iconv_open+:} false; then :
4944
4964
  $as_echo_n "(cached) " >&6
4945
4965
else
4946
4966
  ac_check_lib_save_LIBS=$LIBS
4974
4994
fi
4975
4995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv_open" >&5
4976
4996
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
4977
 
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then :
 
4997
if test "x$ac_cv_lib_iconv_iconv_open" = xyes; then :
4978
4998
  with_libiconv=native; found_iconv=yes
4979
4999
fi
4980
5000
 
4986
5006
  gnu|yes)
4987
5007
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
4988
5008
$as_echo_n "checking for libiconv_open in -liconv... " >&6; }
4989
 
if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then :
 
5009
if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
4990
5010
  $as_echo_n "(cached) " >&6
4991
5011
else
4992
5012
  ac_check_lib_save_LIBS=$LIBS
5020
5040
fi
5021
5041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
5022
5042
$as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
5023
 
if test "x$ac_cv_lib_iconv_libiconv_open" = x""yes; then :
 
5043
if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
5024
5044
  with_libiconv=gnu; found_iconv=yes
5025
5045
fi
5026
5046
 
5028
5048
  native)
5029
5049
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv_open in -liconv" >&5
5030
5050
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
5031
 
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then :
 
5051
if ${ac_cv_lib_iconv_iconv_open+:} false; then :
5032
5052
  $as_echo_n "(cached) " >&6
5033
5053
else
5034
5054
  ac_check_lib_save_LIBS=$LIBS
5062
5082
fi
5063
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv_open" >&5
5064
5084
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
5065
 
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then :
 
5085
if test "x$ac_cv_lib_iconv_iconv_open" = xyes; then :
5066
5086
  with_libiconv=native; found_iconv=yes
5067
5087
fi
5068
5088
 
5097
5117
if test x$with_libidn != xno; then
5098
5118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stringprep in -lidn" >&5
5099
5119
$as_echo_n "checking for stringprep in -lidn... " >&6; }
5100
 
if test "${ac_cv_lib_idn_stringprep+set}" = set; then :
 
5120
if ${ac_cv_lib_idn_stringprep+:} false; then :
5101
5121
  $as_echo_n "(cached) " >&6
5102
5122
else
5103
5123
  ac_check_lib_save_LIBS=$LIBS
5131
5151
fi
5132
5152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_stringprep" >&5
5133
5153
$as_echo "$ac_cv_lib_idn_stringprep" >&6; }
5134
 
if test "x$ac_cv_lib_idn_stringprep" = x""yes; then :
 
5154
if test "x$ac_cv_lib_idn_stringprep" = xyes; then :
5135
5155
 
5136
5156
    with_libidn=no
5137
5157
    ac_fn_c_check_header_mongrel "$LINENO" "stringprep.h" "ac_cv_header_stringprep_h" "$ac_includes_default"
5138
 
if test "x$ac_cv_header_stringprep_h" = x""yes; then :
 
5158
if test "x$ac_cv_header_stringprep_h" = xyes; then :
5139
5159
  with_libidn=yes
5140
5160
fi
5141
5161
 
5173
5193
if test x$with_libpaper != xno; then
5174
5194
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systempapername in -lpaper" >&5
5175
5195
$as_echo_n "checking for systempapername in -lpaper... " >&6; }
5176
 
if test "${ac_cv_lib_paper_systempapername+set}" = set; then :
 
5196
if ${ac_cv_lib_paper_systempapername+:} false; then :
5177
5197
  $as_echo_n "(cached) " >&6
5178
5198
else
5179
5199
  ac_check_lib_save_LIBS=$LIBS
5207
5227
fi
5208
5228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_paper_systempapername" >&5
5209
5229
$as_echo "$ac_cv_lib_paper_systempapername" >&6; }
5210
 
if test "x$ac_cv_lib_paper_systempapername" = x""yes; then :
 
5230
if test "x$ac_cv_lib_paper_systempapername" = xyes; then :
5211
5231
  with_libpaper=yes
5212
5232
else
5213
5233
 
5219
5239
 
5220
5240
fi
5221
5241
if test x$with_libpaper != xno; then
 
5242
    ac_fn_c_check_header_mongrel "$LINENO" "paper.h" "ac_cv_header_paper_h" "$ac_includes_default"
 
5243
if test "x$ac_cv_header_paper_h" = xyes; then :
 
5244
  with_libpaper=yes
 
5245
else
 
5246
 
 
5247
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling support for libpaper" >&5
 
5248
$as_echo "$as_me: WARNING: disabling support for libpaper" >&2;}
 
5249
        with_libpaper=no
 
5250
 
 
5251
fi
 
5252
 
 
5253
 
 
5254
fi
 
5255
 
 
5256
if test x$with_libpaper != xno; then
5222
5257
    LIBS="$LIBS -lpaper"
5223
5258
 
5224
5259
$as_echo "#define USE_LIBPAPER 1" >>confdefs.h
5255
5290
        if test -z "$HAVE_FONTCONFIG"; then
5256
5291
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInitLoadConfigAndFonts in -lfontconfig" >&5
5257
5292
$as_echo_n "checking for FcInitLoadConfigAndFonts in -lfontconfig... " >&6; }
5258
 
if test "${ac_cv_lib_fontconfig_FcInitLoadConfigAndFonts+set}" = set; then :
 
5293
if ${ac_cv_lib_fontconfig_FcInitLoadConfigAndFonts+:} false; then :
5259
5294
  $as_echo_n "(cached) " >&6
5260
5295
else
5261
5296
  ac_check_lib_save_LIBS=$LIBS
5289
5324
fi
5290
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInitLoadConfigAndFonts" >&5
5291
5326
$as_echo "$ac_cv_lib_fontconfig_FcInitLoadConfigAndFonts" >&6; }
5292
 
if test "x$ac_cv_lib_fontconfig_FcInitLoadConfigAndFonts" = x""yes; then :
 
5327
if test "x$ac_cv_lib_fontconfig_FcInitLoadConfigAndFonts" = xyes; then :
5293
5328
 
5294
5329
                  ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
5295
 
if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
 
5330
if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
5296
5331
 
5297
5332
                    FONTCONFIG_LIBS="-lfontconfig"
5298
5333
                    HAVE_FONTCONFIG="-DHAVE_FONTCONFIG"
5335
5370
        if test -z "$HAVE_DBUS"; then
5336
5371
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_message_iter_get_basic in -ldbus" >&5
5337
5372
$as_echo_n "checking for dbus_message_iter_get_basic in -ldbus... " >&6; }
5338
 
if test "${ac_cv_lib_dbus_dbus_message_iter_get_basic+set}" = set; then :
 
5373
if ${ac_cv_lib_dbus_dbus_message_iter_get_basic+:} false; then :
5339
5374
  $as_echo_n "(cached) " >&6
5340
5375
else
5341
5376
  ac_check_lib_save_LIBS=$LIBS
5369
5404
fi
5370
5405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_dbus_message_iter_get_basic" >&5
5371
5406
$as_echo "$ac_cv_lib_dbus_dbus_message_iter_get_basic" >&6; }
5372
 
if test "x$ac_cv_lib_dbus_dbus_message_iter_get_basic" = x""yes; then :
 
5407
if test "x$ac_cv_lib_dbus_dbus_message_iter_get_basic" = xyes; then :
5373
5408
 
5374
5409
                  ac_fn_c_check_header_mongrel "$LINENO" "dbus-1.0/dbus/dbus.h" "ac_cv_header_dbus_1_0_dbus_dbus_h" "$ac_includes_default"
5375
 
if test "x$ac_cv_header_dbus_1_0_dbus_dbus_h" = x""yes; then :
 
5410
if test "x$ac_cv_header_dbus_1_0_dbus_dbus_h" = xyes; then :
5376
5411
 
5377
5412
                    DBUS_LIBS="-ldbus-1 -lpthread -lrt"
5378
5413
                    HAVE_DBUS="-DHAVE_DBUS"
5391
5426
 
5392
5427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
5393
5428
$as_echo_n "checking for dlopen in -ldl... " >&6; }
5394
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
5429
if ${ac_cv_lib_dl_dlopen+:} false; then :
5395
5430
  $as_echo_n "(cached) " >&6
5396
5431
else
5397
5432
  ac_check_lib_save_LIBS=$LIBS
5425
5460
fi
5426
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
5427
5462
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5428
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
5463
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
5429
5464
  cat >>confdefs.h <<_ACEOF
5430
5465
#define HAVE_LIBDL 1
5431
5466
_ACEOF
5529
5564
$as_echo "no" >&6; }
5530
5565
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5
5531
5566
$as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; }
5532
 
if test "${ac_cv_lib_jpeg_jpeg_set_defaults+set}" = set; then :
 
5567
if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then :
5533
5568
  $as_echo_n "(cached) " >&6
5534
5569
else
5535
5570
  ac_check_lib_save_LIBS=$LIBS
5563
5598
fi
5564
5599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
5565
5600
$as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
5566
 
if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = x""yes; then :
 
5601
if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then :
5567
5602
 
5568
5603
          for ac_header in jpeglib.h
5569
5604
do :
5570
5605
  ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
5571
 
if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
 
5606
if test "x$ac_cv_header_jpeglib_h" = xyes; then :
5572
5607
  cat >>confdefs.h <<_ACEOF
5573
5608
#define HAVE_JPEGLIB_H 1
5574
5609
_ACEOF
5620
5655
$as_echo "no" >&6; }
5621
5656
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
5622
5657
$as_echo_n "checking for deflate in -lz... " >&6; }
5623
 
if test "${ac_cv_lib_z_deflate+set}" = set; then :
 
5658
if ${ac_cv_lib_z_deflate+:} false; then :
5624
5659
  $as_echo_n "(cached) " >&6
5625
5660
else
5626
5661
  ac_check_lib_save_LIBS=$LIBS
5654
5689
fi
5655
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
5656
5691
$as_echo "$ac_cv_lib_z_deflate" >&6; }
5657
 
if test "x$ac_cv_lib_z_deflate" = x""yes; then :
 
5692
if test "x$ac_cv_lib_z_deflate" = xyes; then :
5658
5693
 
5659
5694
          for ac_header in zlib.h
5660
5695
do :
5661
5696
  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
5662
 
if test "x$ac_cv_header_zlib_h" = x""yes; then :
 
5697
if test "x$ac_cv_header_zlib_h" = xyes; then :
5663
5698
  cat >>confdefs.h <<_ACEOF
5664
5699
#define HAVE_ZLIB_H 1
5665
5700
_ACEOF
5709
5744
$as_echo "no" >&6; }
5710
5745
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_create_write_struct in -lpng" >&5
5711
5746
$as_echo_n "checking for png_create_write_struct in -lpng... " >&6; }
5712
 
if test "${ac_cv_lib_png_png_create_write_struct+set}" = set; then :
 
5747
if ${ac_cv_lib_png_png_create_write_struct+:} false; then :
5713
5748
  $as_echo_n "(cached) " >&6
5714
5749
else
5715
5750
  ac_check_lib_save_LIBS=$LIBS
5743
5778
fi
5744
5779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_create_write_struct" >&5
5745
5780
$as_echo "$ac_cv_lib_png_png_create_write_struct" >&6; }
5746
 
if test "x$ac_cv_lib_png_png_create_write_struct" = x""yes; then :
 
5781
if test "x$ac_cv_lib_png_png_create_write_struct" = xyes; then :
5747
5782
 
5748
5783
          for ac_header in png.h
5749
5784
do :
5750
5785
  ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
5751
 
if test "x$ac_cv_header_png_h" = x""yes; then :
 
5786
if test "x$ac_cv_header_png_h" = xyes; then :
5752
5787
  cat >>confdefs.h <<_ACEOF
5753
5788
#define HAVE_PNG_H 1
5754
5789
_ACEOF
5786
5821
else
5787
5822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsCreateXYZProfile in -llcms" >&5
5788
5823
$as_echo_n "checking for cmsCreateXYZProfile in -llcms... " >&6; }
5789
 
if test "${ac_cv_lib_lcms_cmsCreateXYZProfile+set}" = set; then :
 
5824
if ${ac_cv_lib_lcms_cmsCreateXYZProfile+:} false; then :
5790
5825
  $as_echo_n "(cached) " >&6
5791
5826
else
5792
5827
  ac_check_lib_save_LIBS=$LIBS
5820
5855
fi
5821
5856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsCreateXYZProfile" >&5
5822
5857
$as_echo "$ac_cv_lib_lcms_cmsCreateXYZProfile" >&6; }
5823
 
if test "x$ac_cv_lib_lcms_cmsCreateXYZProfile" = x""yes; then :
 
5858
if test "x$ac_cv_lib_lcms_cmsCreateXYZProfile" = xyes; then :
5824
5859
 
5825
5860
          for ac_header in lcms.h
5826
5861
do :
5827
5862
  ac_fn_c_check_header_mongrel "$LINENO" "lcms.h" "ac_cv_header_lcms_h" "$ac_includes_default"
5828
 
if test "x$ac_cv_header_lcms_h" = x""yes; then :
 
5863
if test "x$ac_cv_header_lcms_h" = xyes; then :
5829
5864
  cat >>confdefs.h <<_ACEOF
5830
5865
#define HAVE_LCMS_H 1
5831
5866
_ACEOF
5839
5874
 
5840
5875
fi
5841
5876
 
 
5877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local lcms2 library source" >&5
 
5878
$as_echo_n "checking for local lcms2 library source... " >&6; }
 
5879
LCMS2DIR=lcms2
 
5880
if test -f $LCMS2DIR/include/lcms2.h; then
 
5881
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5882
$as_echo "yes" >&6; }
 
5883
else
 
5884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsCreateXYZProfile in -llcms2" >&5
 
5885
$as_echo_n "checking for cmsCreateXYZProfile in -llcms2... " >&6; }
 
5886
if ${ac_cv_lib_lcms2_cmsCreateXYZProfile+:} false; then :
 
5887
  $as_echo_n "(cached) " >&6
 
5888
else
 
5889
  ac_check_lib_save_LIBS=$LIBS
 
5890
LIBS="-llcms2  $LIBS"
 
5891
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5892
/* end confdefs.h.  */
 
5893
 
 
5894
/* Override any GCC internal prototype to avoid an error.
 
5895
   Use char because int might match the return type of a GCC
 
5896
   builtin and then its argument prototype would still apply.  */
 
5897
#ifdef __cplusplus
 
5898
extern "C"
 
5899
#endif
 
5900
char cmsCreateXYZProfile ();
 
5901
int
 
5902
main ()
 
5903
{
 
5904
return cmsCreateXYZProfile ();
 
5905
  ;
 
5906
  return 0;
 
5907
}
 
5908
_ACEOF
 
5909
if ac_fn_c_try_link "$LINENO"; then :
 
5910
  ac_cv_lib_lcms2_cmsCreateXYZProfile=yes
 
5911
else
 
5912
  ac_cv_lib_lcms2_cmsCreateXYZProfile=no
 
5913
fi
 
5914
rm -f core conftest.err conftest.$ac_objext \
 
5915
    conftest$ac_exeext conftest.$ac_ext
 
5916
LIBS=$ac_check_lib_save_LIBS
 
5917
fi
 
5918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsCreateXYZProfile" >&5
 
5919
$as_echo "$ac_cv_lib_lcms2_cmsCreateXYZProfile" >&6; }
 
5920
if test "x$ac_cv_lib_lcms2_cmsCreateXYZProfile" = xyes; then :
 
5921
 
 
5922
          for ac_header in lcms2.h
 
5923
do :
 
5924
  ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
 
5925
if test "x$ac_cv_header_lcms2_h" = xyes; then :
 
5926
  cat >>confdefs.h <<_ACEOF
 
5927
#define HAVE_LCMS2_H 1
 
5928
_ACEOF
 
5929
 LCMS2DIR=""
 
5930
fi
 
5931
 
 
5932
done
 
5933
 
 
5934
 
 
5935
fi
 
5936
 
 
5937
fi
 
5938
 
 
5939
 
5842
5940
 
5843
5941
 
5844
5942
 
5861
5959
        else
5862
5960
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
5863
5961
$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
5864
 
if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then :
 
5962
if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
5865
5963
  $as_echo_n "(cached) " >&6
5866
5964
else
5867
5965
  ac_check_lib_save_LIBS=$LIBS
5895
5993
fi
5896
5994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
5897
5995
$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
5898
 
if test "x$ac_cv_lib_tiff_TIFFOpen" = x""yes; then :
 
5996
if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
5899
5997
  for ac_header in tiff.h
5900
5998
do :
5901
5999
  ac_fn_c_check_header_mongrel "$LINENO" "tiff.h" "ac_cv_header_tiff_h" "$ac_includes_default"
5902
 
if test "x$ac_cv_header_tiff_h" = x""yes; then :
 
6000
if test "x$ac_cv_header_tiff_h" = xyes; then :
5903
6001
  cat >>confdefs.h <<_ACEOF
5904
6002
#define HAVE_TIFF_H 1
5905
6003
_ACEOF
5923
6021
    xyes)
5924
6022
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
5925
6023
$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
5926
 
if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then :
 
6024
if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
5927
6025
  $as_echo_n "(cached) " >&6
5928
6026
else
5929
6027
  ac_check_lib_save_LIBS=$LIBS
5957
6055
fi
5958
6056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
5959
6057
$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
5960
 
if test "x$ac_cv_lib_tiff_TIFFOpen" = x""yes; then :
 
6058
if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
5961
6059
  for ac_header in tiff.h
5962
6060
do :
5963
6061
  ac_fn_c_check_header_mongrel "$LINENO" "tiff.h" "ac_cv_header_tiff_h" "$ac_includes_default"
5964
 
if test "x$ac_cv_header_tiff_h" = x""yes; then :
 
6062
if test "x$ac_cv_header_tiff_h" = xyes; then :
5965
6063
  cat >>confdefs.h <<_ACEOF
5966
6064
#define HAVE_TIFF_H 1
5967
6065
_ACEOF
6006
6104
      echo
6007
6105
      echo "Running libtiff configure script..."
6008
6106
      olddir=`pwd`
6009
 
      cd $LIBTIFFDIR && ./configure $SUBCONFIG_OPTS
 
6107
      cd $LIBTIFFDIR && ./configure --disable-jbig $SUBCONFIG_OPTS
6010
6108
      status=$?
6011
6109
      if test "$status" -ne 0 ; then
6012
6110
        as_fn_error $status "libtiff configure script failed" "$LINENO" 5
6065
6163
set dummy cups-config; ac_word=$2
6066
6164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067
6165
$as_echo_n "checking for $ac_word... " >&6; }
6068
 
if test "${ac_cv_path_CUPSCONFIG+set}" = set; then :
 
6166
if ${ac_cv_path_CUPSCONFIG+:} false; then :
6069
6167
  $as_echo_n "(cached) " >&6
6070
6168
else
6071
6169
  case $CUPSCONFIG in
6101
6199
fi
6102
6200
 
6103
6201
 
6104
 
                    if test "x$CUPSCONFIG" != x; then
 
6202
            ac_fn_c_check_header_mongrel "$LINENO" "cups/raster.h" "ac_cv_header_cups_raster_h" "$ac_includes_default"
 
6203
if test "x$ac_cv_header_cups_raster_h" = xyes; then :
 
6204
 
 
6205
else
 
6206
  CUPSCONFIG=""
 
6207
fi
 
6208
 
 
6209
 
 
6210
            if test "x$CUPSCONFIG" != x; then
6105
6211
                                CUPSCFLAGS="`$CUPSCONFIG --cflags` $CFLAGS"
6106
6212
#               CUPSLINK="`$CUPSCONFIG --ldflags` `$CUPSCONFIG --static --image --libs | sed -e '1,$s/-lssl//'` $LIBS"
6107
6213
                CUPSLINK="`$CUPSCONFIG --ldflags` `$CUPSCONFIG --image --libs`"
6192
6298
$as_echo "no" >&6; }
6193
6299
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ijs_server_init in -lijs" >&5
6194
6300
$as_echo_n "checking for ijs_server_init in -lijs... " >&6; }
6195
 
if test "${ac_cv_lib_ijs_ijs_server_init+set}" = set; then :
 
6301
if ${ac_cv_lib_ijs_ijs_server_init+:} false; then :
6196
6302
  $as_echo_n "(cached) " >&6
6197
6303
else
6198
6304
  ac_check_lib_save_LIBS=$LIBS
6226
6332
fi
6227
6333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ijs_ijs_server_init" >&5
6228
6334
$as_echo "$ac_cv_lib_ijs_ijs_server_init" >&6; }
6229
 
if test "x$ac_cv_lib_ijs_ijs_server_init" = x""yes; then :
 
6335
if test "x$ac_cv_lib_ijs_ijs_server_init" = xyes; then :
6230
6336
 
6231
6337
          for ac_header in ijs/ijs.h
6232
6338
do :
6233
6339
  ac_fn_c_check_header_mongrel "$LINENO" "ijs/ijs.h" "ac_cv_header_ijs_ijs_h" "$ac_includes_default"
6234
 
if test "x$ac_cv_header_ijs_ijs_h" = x""yes; then :
 
6340
if test "x$ac_cv_header_ijs_ijs_h" = xyes; then :
6235
6341
  cat >>confdefs.h <<_ACEOF
6236
6342
#define HAVE_IJS_IJS_H 1
6237
6343
_ACEOF
6257
6363
#AC_SUBST(IJSDEVS)
6258
6364
 
6259
6365
 
6260
 
# Check whether --with-jbig2dec was given.
6261
 
if test "${with_jbig2dec+set}" = set; then :
6262
 
  withval=$with_jbig2dec;
6263
 
fi
6264
 
 
 
6366
JBIG2_DECODER=
6265
6367
JBIG2DIR=src
6266
6368
SHARE_JBIG2=0
6267
6369
JBIG2DEVS=''
6268
6370
JBIG2_AUTOCONF_CFLAGS=
6269
 
if test x$with_jbig2dec != xno; then
6270
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jbig2dec library source" >&5
 
6371
 
 
6372
LURATECHDIR=luratech
 
6373
 
 
6374
 
 
6375
# Check whether --with-luratech was given.
 
6376
if test "${with_luratech+set}" = set; then :
 
6377
  withval=$with_luratech;
 
6378
fi
 
6379
 
 
6380
 
 
6381
 
 
6382
if test x$with_luratech != xno; then
 
6383
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local Luratech JBIG2 library source" >&5
 
6384
$as_echo_n "checking for local Luratech JBIG2 library source... " >&6; }
 
6385
  if test -d ldf_jb2; then
 
6386
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6387
$as_echo "yes" >&6; }
 
6388
    JBIG2_DECODER=luratech
 
6389
    SHARE_JBIG2=0
 
6390
    JBIG2DIR=ldf_jb2
 
6391
    if test `uname` = Darwin*; then
 
6392
      JBIG2_AUTOCONF_CFLAGS="-DUSE_LDF_JB2 -DMAC -DMAC_OS_X_BUILD"
 
6393
    else
 
6394
      JBIG2_AUTOCONF_CFLAGS="-DUSE_LDF_JB2 -DLINUX"
 
6395
    fi
 
6396
    JBIG2DEVS='$(PSD)jbig2.dev'
 
6397
  else
 
6398
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6399
$as_echo "no" >&6; }
 
6400
  fi
 
6401
fi
 
6402
 
 
6403
if test "x$JBIG2_DECODER" = x; then
 
6404
 
 
6405
# Check whether --with-jbig2dec was given.
 
6406
if test "${with_jbig2dec+set}" = set; then :
 
6407
  withval=$with_jbig2dec;
 
6408
fi
 
6409
 
 
6410
  if test x$with_jbig2dec != xno; then
 
6411
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jbig2dec library source" >&5
6271
6412
$as_echo_n "checking for local jbig2dec library source... " >&6; }
6272
 
  for d in jbig2dec jbig2dec-0.2 jbig2dec-0.3; do
6273
 
    test -d "$d" && JBIG2DIR=$d && break
6274
 
  done
6275
 
  if test "x$JBIG2DIR" != xsrc; then
6276
 
      echo "Running jbig2dec configure script..."
6277
 
      olddir=`pwd`
6278
 
      cd $JBIG2DIR && ./configure $SUBCONFIG_OPTS
6279
 
      status=$?
6280
 
      if test "$status" -ne 0 ; then
6281
 
        as_fn_error $status "jbig2dec configure script failed" "$LINENO" 5
6282
 
      fi
6283
 
      if test "$status" -eq 0 ; then
6284
 
        JBIG2_AUTOCONF_CFLAGS=-DHAVE_CONFIG_H
6285
 
      fi
6286
 
      cd $olddir
6287
 
      echo
6288
 
      echo "Continuing with Ghostscript configuration..."
6289
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JBIG2DIR" >&5
 
6413
    for d in jbig2dec jbig2dec-0.2 jbig2dec-0.3; do
 
6414
      test -d "$d" && JBIG2DIR=$d && break
 
6415
    done
 
6416
    if test "x$JBIG2DIR" != xsrc; then
 
6417
        JBIG2_DECODER=jbig2dec
 
6418
        echo "Running jbig2dec configure script..."
 
6419
        olddir=`pwd`
 
6420
        cd $JBIG2DIR && ./configure $SUBCONFIG_OPTS
 
6421
        status=$?
 
6422
        if test "$status" -ne 0 ; then
 
6423
          as_fn_error $status "jbig2dec configure script failed" "$LINENO" 5
 
6424
        fi
 
6425
        if test "$status" -eq 0 ; then
 
6426
          JBIG2_AUTOCONF_CFLAGS=-DHAVE_CONFIG_H
 
6427
        fi
 
6428
        cd $olddir
 
6429
        echo
 
6430
        echo "Continuing with Ghostscript configuration..."
 
6431
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JBIG2DIR" >&5
6290
6432
$as_echo "$JBIG2DIR" >&6; }
6291
 
  else
6292
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6433
    else
 
6434
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293
6435
$as_echo "no" >&6; }
6294
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbig2_page_out in -ljbig2dec" >&5
 
6436
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbig2_page_out in -ljbig2dec" >&5
6295
6437
$as_echo_n "checking for jbig2_page_out in -ljbig2dec... " >&6; }
6296
 
if test "${ac_cv_lib_jbig2dec_jbig2_page_out+set}" = set; then :
 
6438
if ${ac_cv_lib_jbig2dec_jbig2_page_out+:} false; then :
6297
6439
  $as_echo_n "(cached) " >&6
6298
6440
else
6299
6441
  ac_check_lib_save_LIBS=$LIBS
6327
6469
fi
6328
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig2dec_jbig2_page_out" >&5
6329
6471
$as_echo "$ac_cv_lib_jbig2dec_jbig2_page_out" >&6; }
6330
 
if test "x$ac_cv_lib_jbig2dec_jbig2_page_out" = x""yes; then :
 
6472
if test "x$ac_cv_lib_jbig2dec_jbig2_page_out" = xyes; then :
6331
6473
 
6332
 
        SHARE_JBIG2=1
 
6474
          SHARE_JBIG2=1
6333
6475
 
6334
6476
else
6335
6477
 
6336
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling support for JBIG2 files" >&5
 
6478
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling support for JBIG2 files" >&5
6337
6479
$as_echo "$as_me: WARNING: disabling support for JBIG2 files" >&2;}
6338
 
        with_jbig2dec=no
 
6480
          with_jbig2dec=no
6339
6481
 
6340
6482
fi
6341
6483
 
 
6484
      if test x$with_jbig2dec != xno; then
 
6485
        JBIG2_DECODER=jbig2dec
 
6486
      fi
 
6487
    fi
6342
6488
  fi
6343
 
fi
6344
 
if test x$with_jbig2dec != xno; then
6345
 
  if test x$ac_cv_header_stdint_h != xyes && test x$ac_cv_header_inttypes_h != xyes; then
6346
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JBIG2 support requires stdint types which do not seem to be available." >&5
 
6489
  if test x$with_jbig2dec != xno; then
 
6490
    if test x$ac_cv_header_stdint_h != xyes && test x$ac_cv_header_inttypes_h != xyes; then
 
6491
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JBIG2 support requires stdint types which do not seem to be available." >&5
6347
6492
$as_echo "$as_me: WARNING: JBIG2 support requires stdint types which do not seem to be available." >&2;}
 
6493
    else
 
6494
      JBIG2DEVS='$(PSD)jbig2.dev'
 
6495
    fi
 
6496
  fi
 
6497
fi
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
JPXDIR=src
 
6506
SHARE_JASPER=0
 
6507
JPXDEVS=''
 
6508
JPX_DECODER=
 
6509
JPX_AUTOCONF_CFLAGS=
 
6510
 
 
6511
if test x$with_luratech != xno; then
 
6512
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local Luratech JPEG2K library source" >&5
 
6513
$as_echo_n "checking for local Luratech JPEG2K library source... " >&6; }
 
6514
  if test -d lwf_jp2; then
 
6515
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6516
$as_echo "yes" >&6; }
 
6517
    JPX_DECODER=luratech
 
6518
    SHARE_JASPER=0
 
6519
    JPXDIR=lwf_jp2
 
6520
    if test `uname` = Darwin*; then
 
6521
      JPX_AUTOCONF_CFLAGS="-DUSE_LWF_JP2 -DMAC -DMAC_OS_X_BUILD"
 
6522
    else
 
6523
      JPX_AUTOCONF_CFLAGS="-DUSE_LWF_JP2 -DLINUX"
 
6524
    fi
 
6525
    JPXDEVS='$(PSD)jpx.dev'
6348
6526
  else
6349
 
    JBIG2DEVS='$(PSD)jbig2.dev'
 
6527
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6528
$as_echo "no" >&6; }
6350
6529
  fi
6351
6530
fi
6352
6531
 
6353
6532
 
6354
 
 
6355
 
 
6356
 
 
6357
 
 
 
6533
if test "x$JPX_DECODER" = x; then
6358
6534
 
6359
6535
# Check whether --with-jasper was given.
6360
6536
if test "${with_jasper+set}" = set; then :
6361
6537
  withval=$with_jasper;
6362
6538
fi
6363
6539
 
6364
 
JASPERDIR=src
6365
 
SHARE_JASPER=0
6366
 
JPXDEVS=''
6367
 
if test x$with_jasper != xno; then
6368
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jasper library source" >&5
 
6540
  if test x$with_jasper != xno; then
 
6541
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jasper library source" >&5
6369
6542
$as_echo_n "checking for local jasper library source... " >&6; }
6370
 
  for d in jasper jasper-1.7*; do
6371
 
    test -d "$d" && JASPERDIR=$d && break
6372
 
  done
6373
 
  if test "x$JASPERDIR" != xsrc; then
6374
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JASPERDIR" >&5
6375
 
$as_echo "$JASPERDIR" >&6; }
6376
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jasper configure script" >&5
 
6543
    for d in jasper jasper-1.7*; do
 
6544
      test -d "$d" && JPXDIR=$d && break
 
6545
    done
 
6546
    if test "x$JPXDIR" != xsrc; then
 
6547
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JPXDIR" >&5
 
6548
$as_echo "$JPXDIR" >&6; }
 
6549
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jasper configure script" >&5
6377
6550
$as_echo_n "checking for local jasper configure script... " >&6; }
6378
 
    if test -x $JASPERDIR/configure; then
6379
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6551
      if test -x $JPXDIR/configure; then
 
6552
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6380
6553
$as_echo "yes" >&6; }
6381
 
      echo
6382
 
      echo "Running jasper configure script..."
6383
 
      olddir=`pwd`
6384
 
      cd $JASPERDIR && ./configure $SUBCONFIG_OPTS
6385
 
      status=$?
6386
 
      if test "$status" -ne 0 ; then
6387
 
        as_fn_error $status "jasper configure script failed" "$LINENO" 5
6388
 
      fi
6389
 
      cd $olddir
6390
 
      echo
6391
 
      echo "Continuing with Ghostscript configuration..."
6392
 
    else
6393
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6554
        echo
 
6555
        echo "Running jasper configure script..."
 
6556
        olddir=`pwd`
 
6557
        cd $JPXDIR && ./configure $SUBCONFIG_OPTS
 
6558
        status=$?
 
6559
        if test "$status" -ne 0 ; then
 
6560
          as_fn_error $status "jasper configure script failed" "$LINENO" 5
 
6561
        fi
 
6562
        cd $olddir
 
6563
        echo
 
6564
        echo "Continuing with Ghostscript configuration..."
 
6565
      else
 
6566
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394
6567
$as_echo "no" >&6; }
6395
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jasper autogen.sh script" >&5
 
6568
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local jasper autogen.sh script" >&5
6396
6569
$as_echo_n "checking for local jasper autogen.sh script... " >&6; }
6397
 
      if test -x $JASPERDIR/autogen.sh; then
6398
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6570
        if test -x $JPXDIR/autogen.sh; then
 
6571
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6399
6572
$as_echo "yes" >&6; }
6400
 
        echo
6401
 
        echo "Running jasper autogen script..."
6402
 
        olddir=`pwd`
6403
 
        cd $JASPERDIR && ./autogen.sh
6404
 
        status=$?
6405
 
        if test "$status" -ne 0 ; then
6406
 
          as_fn_error $status "jasper autogen script failed" "$LINENO" 5
6407
 
        fi
6408
 
        cd $olddir
6409
 
        echo
6410
 
        echo "Continuing with Ghostscript configuration..."
6411
 
      else
6412
 
        as_fn_error $? "
6413
 
Unable to find $JASPERDIR/src/libjasper/include/jas_config.h,
 
6573
          echo
 
6574
          echo "Running jasper autogen script..."
 
6575
          olddir=`pwd`
 
6576
          cd $JPXDIR && ./autogen.sh
 
6577
          status=$?
 
6578
          if test "$status" -ne 0 ; then
 
6579
            as_fn_error $status "jasper autogen script failed" "$LINENO" 5
 
6580
          fi
 
6581
          cd $olddir
 
6582
          echo
 
6583
          echo "Continuing with Ghostscript configuration..."
 
6584
        else
 
6585
          as_fn_error $? "
 
6586
Unable to find $JPXDIR/src/libjasper/include/jas_config.h,
6414
6587
or generate generate such a file for this system. You will
6415
6588
have to build one by hand, or configure, build and install
6416
6589
the jasper library separately.
6418
6591
You can also pass --without-jasper to configure to disable
6419
6592
JPEG 2000 PDF image support entirely.
6420
6593
" "$LINENO" 5
 
6594
        fi
6421
6595
      fi
6422
 
    fi
6423
 
  else
6424
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6596
    else
 
6597
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425
6598
$as_echo "no" >&6; }
6426
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_image_create in -ljasper" >&5
 
6599
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_image_create in -ljasper" >&5
6427
6600
$as_echo_n "checking for jas_image_create in -ljasper... " >&6; }
6428
 
if test "${ac_cv_lib_jasper_jas_image_create+set}" = set; then :
 
6601
if ${ac_cv_lib_jasper_jas_image_create+:} false; then :
6429
6602
  $as_echo_n "(cached) " >&6
6430
6603
else
6431
6604
  ac_check_lib_save_LIBS=$LIBS
6459
6632
fi
6460
6633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_image_create" >&5
6461
6634
$as_echo "$ac_cv_lib_jasper_jas_image_create" >&6; }
6462
 
if test "x$ac_cv_lib_jasper_jas_image_create" = x""yes; then :
 
6635
if test "x$ac_cv_lib_jasper_jas_image_create" = xyes; then :
6463
6636
 
6464
 
        SHARE_JASPER=1
 
6637
          SHARE_JASPER=1
6465
6638
 
6466
6639
else
6467
6640
 
6468
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling support for JPEG 2000 images" >&5
 
6641
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling support for JPEG 2000 images" >&5
6469
6642
$as_echo "$as_me: WARNING: disabling support for JPEG 2000 images" >&2;}
6470
 
        with_jasper=no
6471
 
 
6472
 
fi
6473
 
 
6474
 
  fi
6475
 
fi
6476
 
if test x$with_jasper != xno; then
6477
 
  JPXDEVS='$(PSD)jpx.dev'
6478
 
fi
 
6643
          with_jasper=no
 
6644
 
 
6645
fi
 
6646
 
 
6647
    fi
 
6648
  fi
 
6649
  if test x$with_jasper != xno; then
 
6650
    JPX_DECODER=jasper
 
6651
    JPX_AUTOCONF_CFLAGS="-DJAS_CONFIGURE"
 
6652
    JPXDEVS='$(PSD)jpx.dev'
 
6653
  fi
 
6654
fi
 
6655
 
 
6656
 
 
6657
 
6479
6658
 
6480
6659
 
6481
6660
 
6512
6691
set dummy gtk-config; ac_word=$2
6513
6692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514
6693
$as_echo_n "checking for $ac_word... " >&6; }
6515
 
if test "${ac_cv_path_GTKCONFIG+set}" = set; then :
 
6694
if ${ac_cv_path_GTKCONFIG+:} false; then :
6516
6695
  $as_echo_n "(cached) " >&6
6517
6696
else
6518
6697
  case $GTKCONFIG in
6592
6771
  have_x=disabled
6593
6772
else
6594
6773
  case $x_includes,$x_libraries in #(
6595
 
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
6596
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
6774
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
6775
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
6597
6776
  $as_echo_n "(cached) " >&6
6598
6777
else
6599
6778
  # One or both of the vars are not set, and there is no cached value.
6870
7049
else
6871
7050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
6872
7051
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
6873
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
7052
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
6874
7053
  $as_echo_n "(cached) " >&6
6875
7054
else
6876
7055
  ac_check_lib_save_LIBS=$LIBS
6904
7083
fi
6905
7084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6906
7085
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
6907
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
7086
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
6908
7087
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
6909
7088
fi
6910
7089
 
6911
7090
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6912
7091
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
6913
7092
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
6914
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
7093
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
6915
7094
  $as_echo_n "(cached) " >&6
6916
7095
else
6917
7096
  ac_check_lib_save_LIBS=$LIBS
6945
7124
fi
6946
7125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6947
7126
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
6948
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
7127
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
6949
7128
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
6950
7129
fi
6951
7130
 
6964
7143
    # The functions gethostbyname, getservbyname, and inet_addr are
6965
7144
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6966
7145
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
6967
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
7146
if test "x$ac_cv_func_gethostbyname" = xyes; then :
6968
7147
 
6969
7148
fi
6970
7149
 
6971
7150
    if test $ac_cv_func_gethostbyname = no; then
6972
7151
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
6973
7152
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
6974
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
7153
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
6975
7154
  $as_echo_n "(cached) " >&6
6976
7155
else
6977
7156
  ac_check_lib_save_LIBS=$LIBS
7005
7184
fi
7006
7185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7007
7186
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7008
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
7187
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7009
7188
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7010
7189
fi
7011
7190
 
7012
7191
      if test $ac_cv_lib_nsl_gethostbyname = no; then
7013
7192
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7014
7193
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7015
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
7194
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7016
7195
  $as_echo_n "(cached) " >&6
7017
7196
else
7018
7197
  ac_check_lib_save_LIBS=$LIBS
7046
7225
fi
7047
7226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7048
7227
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7049
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
7228
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7050
7229
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7051
7230
fi
7052
7231
 
7061
7240
    # must be given before -lnsl if both are needed.  We assume that
7062
7241
    # if connect needs -lnsl, so does gethostbyname.
7063
7242
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7064
 
if test "x$ac_cv_func_connect" = x""yes; then :
 
7243
if test "x$ac_cv_func_connect" = xyes; then :
7065
7244
 
7066
7245
fi
7067
7246
 
7068
7247
    if test $ac_cv_func_connect = no; then
7069
7248
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7070
7249
$as_echo_n "checking for connect in -lsocket... " >&6; }
7071
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
7250
if ${ac_cv_lib_socket_connect+:} false; then :
7072
7251
  $as_echo_n "(cached) " >&6
7073
7252
else
7074
7253
  ac_check_lib_save_LIBS=$LIBS
7102
7281
fi
7103
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7104
7283
$as_echo "$ac_cv_lib_socket_connect" >&6; }
7105
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
7284
if test "x$ac_cv_lib_socket_connect" = xyes; then :
7106
7285
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7107
7286
fi
7108
7287
 
7110
7289
 
7111
7290
    # Guillermo Gomez says -lposix is necessary on A/UX.
7112
7291
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7113
 
if test "x$ac_cv_func_remove" = x""yes; then :
 
7292
if test "x$ac_cv_func_remove" = xyes; then :
7114
7293
 
7115
7294
fi
7116
7295
 
7117
7296
    if test $ac_cv_func_remove = no; then
7118
7297
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7119
7298
$as_echo_n "checking for remove in -lposix... " >&6; }
7120
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
7299
if ${ac_cv_lib_posix_remove+:} false; then :
7121
7300
  $as_echo_n "(cached) " >&6
7122
7301
else
7123
7302
  ac_check_lib_save_LIBS=$LIBS
7151
7330
fi
7152
7331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7153
7332
$as_echo "$ac_cv_lib_posix_remove" >&6; }
7154
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
7333
if test "x$ac_cv_lib_posix_remove" = xyes; then :
7155
7334
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7156
7335
fi
7157
7336
 
7159
7338
 
7160
7339
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7161
7340
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7162
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
7341
if test "x$ac_cv_func_shmat" = xyes; then :
7163
7342
 
7164
7343
fi
7165
7344
 
7166
7345
    if test $ac_cv_func_shmat = no; then
7167
7346
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7168
7347
$as_echo_n "checking for shmat in -lipc... " >&6; }
7169
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
7348
if ${ac_cv_lib_ipc_shmat+:} false; then :
7170
7349
  $as_echo_n "(cached) " >&6
7171
7350
else
7172
7351
  ac_check_lib_save_LIBS=$LIBS
7200
7379
fi
7201
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7202
7381
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7203
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
7382
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7204
7383
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7205
7384
fi
7206
7385
 
7218
7397
  # John Interrante, Karl Berry
7219
7398
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7220
7399
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7221
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
7400
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7222
7401
  $as_echo_n "(cached) " >&6
7223
7402
else
7224
7403
  ac_check_lib_save_LIBS=$LIBS
7252
7431
fi
7253
7432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7254
7433
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7255
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
7434
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7256
7435
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7257
7436
fi
7258
7437
 
7292
7471
 
7293
7472
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
7294
7473
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
7295
 
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
 
7474
if ${ac_cv_lib_X11_XOpenDisplay+:} false; then :
7296
7475
  $as_echo_n "(cached) " >&6
7297
7476
else
7298
7477
  ac_check_lib_save_LIBS=$LIBS
7326
7505
fi
7327
7506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
7328
7507
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
7329
 
if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then :
 
7508
if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then :
7330
7509
  cat >>confdefs.h <<_ACEOF
7331
7510
#define HAVE_LIBX11 1
7332
7511
_ACEOF
7337
7516
 
7338
7517
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdbeQueryExtension in -lXext" >&5
7339
7518
$as_echo_n "checking for XdbeQueryExtension in -lXext... " >&6; }
7340
 
if test "${ac_cv_lib_Xext_XdbeQueryExtension+set}" = set; then :
 
7519
if ${ac_cv_lib_Xext_XdbeQueryExtension+:} false; then :
7341
7520
  $as_echo_n "(cached) " >&6
7342
7521
else
7343
7522
  ac_check_lib_save_LIBS=$LIBS
7371
7550
fi
7372
7551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XdbeQueryExtension" >&5
7373
7552
$as_echo "$ac_cv_lib_Xext_XdbeQueryExtension" >&6; }
7374
 
if test "x$ac_cv_lib_Xext_XdbeQueryExtension" = x""yes; then :
 
7553
if test "x$ac_cv_lib_Xext_XdbeQueryExtension" = xyes; then :
7375
7554
  cat >>confdefs.h <<_ACEOF
7376
7555
#define HAVE_LIBXEXT 1
7377
7556
_ACEOF
7382
7561
 
7383
7562
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtAppCreateShell in -lXt" >&5
7384
7563
$as_echo_n "checking for XtAppCreateShell in -lXt... " >&6; }
7385
 
if test "${ac_cv_lib_Xt_XtAppCreateShell+set}" = set; then :
 
7564
if ${ac_cv_lib_Xt_XtAppCreateShell+:} false; then :
7386
7565
  $as_echo_n "(cached) " >&6
7387
7566
else
7388
7567
  ac_check_lib_save_LIBS=$LIBS
7416
7595
fi
7417
7596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtAppCreateShell" >&5
7418
7597
$as_echo "$ac_cv_lib_Xt_XtAppCreateShell" >&6; }
7419
 
if test "x$ac_cv_lib_Xt_XtAppCreateShell" = x""yes; then :
 
7598
if test "x$ac_cv_lib_Xt_XtAppCreateShell" = xyes; then :
7420
7599
  cat >>confdefs.h <<_ACEOF
7421
7600
#define HAVE_LIBXT 1
7422
7601
_ACEOF
7525
7704
FAX_DEVS='cfax dfaxlow dfaxhigh fax tfax tiffg3 tiffg32d tiffg4 faxg3 faxg32d faxg4'
7526
7705
JPEG_DEVS='jpeg jpeggray jpegcmyk'
7527
7706
# PNG_DEVS='png16 png16m png256 pngalpha pnggray pngmono'
7528
 
TIFF_DEVS='tiffs tiff12nc tiff24nc tiff48nc tiff32nc tiff64nc tiffcrle tifflzw tiffpack tiffgray tiffsep tiffsep1 tiffscaled'
 
7707
TIFF_DEVS='tiffs tiff12nc tiff24nc tiff48nc tiff32nc tiff64nc tiffcrle tifflzw tiffpack tiffgray tiffsep tiffsep1 tiffscaled tiffscaled8 tiffscaled24'
7529
7708
PCX_DEVS='pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pcx2up'
7530
7709
PBM_DEVS='pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm pksmraw pam'
7531
7710
PS_DEVS='psdf psdcmyk psdrgb pdfwrite pswrite ps2write epswrite psgray psmono psrgb bbox'
7687
7866
 
7688
7867
#    Remove contributed drivers if requested and make sure we don't have any
7689
7868
#   duplicates in there, add $(DD)foo.dev constructs
7690
 
    P_DEVS=`(for i in $P_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles 2>&1 >/dev/null ) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7869
    P_DEVS=`(for i in $P_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles 2>&1 >/dev/null ) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7691
7870
fi
7692
7871
 
7693
7872
if test -n "$F_DEVS0"; then
7694
 
    F_DEVS=`(for i in $F_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7873
    F_DEVS=`(for i in $F_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7695
7874
fi
7696
7875
 
7697
7876
if test -n "$CUPS_DEVS0"; then
7698
 
    CUPS_DEVS=`(for i in $CUPS_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7877
    CUPS_DEVS=`(for i in $CUPS_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7699
7878
fi
7700
7879
 
7701
7880
if test -n "$SVG_DEVS0"; then
7702
 
    SVG_DEVS=`(for i in $SVG_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7881
    SVG_DEVS=`(for i in $SVG_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7703
7882
fi
7704
7883
 
7705
7884
if test -n "$IJS_DEVS0"; then
7706
 
    IJS_DEVS=`(for i in $IJS_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7885
    IJS_DEVS=`(for i in $IJS_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7707
7886
fi
7708
7887
 
7709
7888
if test -n "$PNG_DEVS0"; then
7710
 
    PNG_DEVS=`(for i in $PNG_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7889
    PNG_DEVS=`(for i in $PNG_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7711
7890
fi
7712
7891
 
7713
7892
if test -n "$X11_DEVS0"; then
7714
 
    X11_DEVS=`(for i in $X11_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012' ' '`
 
7893
    X11_DEVS=`(for i in $X11_DEVS0; do d='$(DD)'${i}.dev; if ( grep '^'$d $noncontribmakefiles  2>&1 >/dev/null) || ( ! test -z "$CONTRIBINCLUDE" ); then echo $d; fi; done) | sort | uniq | tr '\012\015' '  '`
7715
7894
fi
7716
7895
 
7717
7896
 
7857
8036
for ac_func in mkstemp
7858
8037
do :
7859
8038
  ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
7860
 
if test "x$ac_cv_func_mkstemp" = x""yes; then :
 
8039
if test "x$ac_cv_func_mkstemp" = xyes; then :
7861
8040
  cat >>confdefs.h <<_ACEOF
7862
8041
#define HAVE_MKSTEMP 1
7863
8042
_ACEOF
7867
8046
 
7868
8047
 
7869
8048
 
7870
 
for ac_func in hypot
7871
 
do :
7872
 
  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
7873
 
if test "x$ac_cv_func_hypot" = x""yes; then :
7874
 
  cat >>confdefs.h <<_ACEOF
7875
 
#define HAVE_HYPOT 1
7876
 
_ACEOF
7877
 
 HAVE_HYPOT=-DHAVE_HYPOT
7878
 
fi
7879
 
done
7880
 
 
7881
 
 
7882
 
 
7883
8049
for ac_func in fopen64
7884
8050
do :
7885
8051
  ac_fn_c_check_func "$LINENO" "fopen64" "ac_cv_func_fopen64"
7886
 
if test "x$ac_cv_func_fopen64" = x""yes; then :
 
8052
if test "x$ac_cv_func_fopen64" = xyes; then :
7887
8053
  cat >>confdefs.h <<_ACEOF
7888
8054
#define HAVE_FOPEN64 1
7889
8055
_ACEOF
7896
8062
for ac_func in mkstemp64
7897
8063
do :
7898
8064
  ac_fn_c_check_func "$LINENO" "mkstemp64" "ac_cv_func_mkstemp64"
7899
 
if test "x$ac_cv_func_mkstemp64" = x""yes; then :
 
8065
if test "x$ac_cv_func_mkstemp64" = xyes; then :
7900
8066
  cat >>confdefs.h <<_ACEOF
7901
8067
#define HAVE_MKSTEMP64 1
7902
8068
_ACEOF
7909
8075
for ac_func in setlocale
7910
8076
do :
7911
8077
  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
7912
 
if test "x$ac_cv_func_setlocale" = x""yes; then :
 
8078
if test "x$ac_cv_func_setlocale" = xyes; then :
7913
8079
  cat >>confdefs.h <<_ACEOF
7914
8080
#define HAVE_SETLOCALE 1
7915
8081
_ACEOF
7922
8088
if test $ac_cv_c_compiler_gnu = yes; then
7923
8089
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
7924
8090
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
7925
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
 
8091
if ${ac_cv_prog_gcc_traditional+:} false; then :
7926
8092
  $as_echo_n "(cached) " >&6
7927
8093
else
7928
8094
    ac_pattern="Autoconf.*'x'"
7963
8129
 
7964
8130
 
7965
8131
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7966
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
8132
if test "x$ac_cv_type_pid_t" = xyes; then :
7967
8133
 
7968
8134
else
7969
8135
 
7976
8142
for ac_header in vfork.h
7977
8143
do :
7978
8144
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
7979
 
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
8145
if test "x$ac_cv_header_vfork_h" = xyes; then :
7980
8146
  cat >>confdefs.h <<_ACEOF
7981
8147
#define HAVE_VFORK_H 1
7982
8148
_ACEOF
8000
8166
if test "x$ac_cv_func_fork" = xyes; then
8001
8167
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
8002
8168
$as_echo_n "checking for working fork... " >&6; }
8003
 
if test "${ac_cv_func_fork_works+set}" = set; then :
 
8169
if ${ac_cv_func_fork_works+:} false; then :
8004
8170
  $as_echo_n "(cached) " >&6
8005
8171
else
8006
8172
  if test "$cross_compiling" = yes; then :
8053
8219
if test "x$ac_cv_func_vfork" = xyes; then
8054
8220
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
8055
8221
$as_echo_n "checking for working vfork... " >&6; }
8056
 
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
8222
if ${ac_cv_func_vfork_works+:} false; then :
8057
8223
  $as_echo_n "(cached) " >&6
8058
8224
else
8059
8225
  if test "$cross_compiling" = yes; then :
8189
8355
for ac_header in stdlib.h
8190
8356
do :
8191
8357
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
8192
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
8358
if test "x$ac_cv_header_stdlib_h" = xyes; then :
8193
8359
  cat >>confdefs.h <<_ACEOF
8194
8360
#define HAVE_STDLIB_H 1
8195
8361
_ACEOF
8200
8366
 
8201
8367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
8202
8368
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
8203
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
8369
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
8204
8370
  $as_echo_n "(cached) " >&6
8205
8371
else
8206
8372
  if test "$cross_compiling" = yes; then :
8255
8421
 
8256
8422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
8257
8423
$as_echo_n "checking for working memcmp... " >&6; }
8258
 
if test "${ac_cv_func_memcmp_working+set}" = set; then :
 
8424
if ${ac_cv_func_memcmp_working+:} false; then :
8259
8425
  $as_echo_n "(cached) " >&6
8260
8426
else
8261
8427
  if test "$cross_compiling" = yes; then :
8317
8483
 
8318
8484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8319
8485
$as_echo_n "checking return type of signal handlers... " >&6; }
8320
 
if test "${ac_cv_type_signal+set}" = set; then :
 
8486
if ${ac_cv_type_signal+:} false; then :
8321
8487
  $as_echo_n "(cached) " >&6
8322
8488
else
8323
8489
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350
8516
 
8351
8517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
8352
8518
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
8353
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
 
8519
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
8354
8520
  $as_echo_n "(cached) " >&6
8355
8521
else
8356
8522
  rm -f conftest.sym conftest.file
8412
8578
 
8413
8579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
8414
8580
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
8415
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
 
8581
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
8416
8582
  $as_echo_n "(cached) " >&6
8417
8583
else
8418
8584
  if test "$cross_compiling" = yes; then :
8459
8625
for ac_func in vprintf
8460
8626
do :
8461
8627
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
8462
 
if test "x$ac_cv_func_vprintf" = x""yes; then :
 
8628
if test "x$ac_cv_func_vprintf" = xyes; then :
8463
8629
  cat >>confdefs.h <<_ACEOF
8464
8630
#define HAVE_VPRINTF 1
8465
8631
_ACEOF
8466
8632
 
8467
8633
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
8468
 
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
8634
if test "x$ac_cv_func__doprnt" = xyes; then :
8469
8635
 
8470
8636
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
8471
8637
 
8501
8667
}
8502
8668
 
8503
8669
_ACEOF
8504
 
if ac_fn_c_try_compile "$LINENO"; then :
 
8670
if ac_fn_c_try_link "$LINENO"; then :
8505
8671
  HAVE_SSE2="-DHAVE_SSE2"
8506
8672
fi
8507
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8673
rm -f core conftest.err conftest.$ac_objext \
 
8674
    conftest$ac_exeext conftest.$ac_ext
8508
8675
 
8509
8676
# Check whether --enable-sse2 was given.
8510
8677
if test "${enable_sse2+set}" = set; then :
8518
8685
 
8519
8686
 
8520
8687
 
 
8688
HAVE_BSWAP32=""
 
8689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8690
/* end confdefs.h.  */
 
8691
 
 
8692
int main (int argc, char *argv)
 
8693
{
 
8694
  int a = __builtin_bswap32(argc);
 
8695
  return(0);
 
8696
}
 
8697
 
 
8698
_ACEOF
 
8699
if ac_fn_c_try_link "$LINENO"; then :
 
8700
  HAVE_BSWAP32="-DHAVE_BSWAP32"
 
8701
else
 
8702
  HAVE_BSWAP32=""
 
8703
fi
 
8704
rm -f core conftest.err conftest.$ac_objext \
 
8705
    conftest$ac_exeext conftest.$ac_ext
 
8706
 
 
8707
# Check whether --enable-bswap32 was given.
 
8708
if test "${enable_bswap32+set}" = set; then :
 
8709
  enableval=$enable_bswap32;
 
8710
             if test "x$enable_bswap32" = xno; then
 
8711
                HAVE_BSWAP32=""
 
8712
             fi
 
8713
fi
 
8714
 
 
8715
 
 
8716
 
 
8717
 
 
8718
 
 
8719
HAVE_BYTESWAP_H=""
 
8720
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8721
/* end confdefs.h.  */
 
8722
 
 
8723
#include "byteswap.h"
 
8724
int main (int argc, char *argv)
 
8725
{
 
8726
  int a = bswap_32(argc);
 
8727
  return(0);
 
8728
}
 
8729
 
 
8730
_ACEOF
 
8731
if ac_fn_c_try_compile "$LINENO"; then :
 
8732
  HAVE_BYTESWAP_H="-DHAVE_BYTESWAP_H"
 
8733
else
 
8734
  HAVE_BYTESWAP_H=""
 
8735
fi
 
8736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8737
 
 
8738
# Check whether --enable-byteswap-h was given.
 
8739
if test "${enable_byteswap_h+set}" = set; then :
 
8740
  enableval=$enable_byteswap_h;
 
8741
             if test "x$enable_byteswap-h" = xno; then
 
8742
                HAVE_BYTESWAP_H=""
 
8743
             fi
 
8744
fi
 
8745
 
 
8746
 
 
8747
 
 
8748
 
 
8749
 
8521
8750
 
8522
8751
 
8523
8752
 
8588
8817
     :end' >>confcache
8589
8818
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8590
8819
  if test -w "$cache_file"; then
8591
 
    test "x$cache_file" != "x/dev/null" &&
 
8820
    if test "x$cache_file" != "x/dev/null"; then
8592
8821
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8593
8822
$as_echo "$as_me: updating cache $cache_file" >&6;}
8594
 
    cat confcache >$cache_file
 
8823
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
8824
        cat confcache >"$cache_file"
 
8825
      else
 
8826
        case $cache_file in #(
 
8827
        */* | ?:*)
 
8828
          mv -f confcache "$cache_file"$$ &&
 
8829
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
8830
        *)
 
8831
          mv -f confcache "$cache_file" ;;
 
8832
        esac
 
8833
      fi
 
8834
    fi
8595
8835
  else
8596
8836
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8597
8837
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8659
8899
 
8660
8900
 
8661
8901
 
8662
 
: ${CONFIG_STATUS=./config.status}
 
8902
: "${CONFIG_STATUS=./config.status}"
8663
8903
ac_write_fail=0
8664
8904
ac_clean_files_save=$ac_clean_files
8665
8905
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8760
9000
IFS=" ""        $as_nl"
8761
9001
 
8762
9002
# Find who we are.  Look in the path if we contain no directory separator.
 
9003
as_myself=
8763
9004
case $0 in #((
8764
9005
  *[\\/]* ) as_myself=$0 ;;
8765
9006
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9067
9308
# values after options handling.
9068
9309
ac_log="
9069
9310
This file was extended by $as_me, which was
9070
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
9311
generated by GNU Autoconf 2.68.  Invocation command line was
9071
9312
 
9072
9313
  CONFIG_FILES    = $CONFIG_FILES
9073
9314
  CONFIG_HEADERS  = $CONFIG_HEADERS
9120
9361
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9121
9362
ac_cs_version="\\
9122
9363
config.status
9123
 
configured by $0, generated by GNU Autoconf 2.67,
 
9364
configured by $0, generated by GNU Autoconf 2.68,
9124
9365
  with options \\"\$ac_cs_config\\"
9125
9366
 
9126
9367
Copyright (C) 2010 Free Software Foundation, Inc.
9231
9472
  case $ac_config_target in
9232
9473
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9233
9474
 
9234
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
9475
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9235
9476
  esac
9236
9477
done
9237
9478
 
9252
9493
# after its creation but before its name has been assigned to `$tmp'.
9253
9494
$debug ||
9254
9495
{
9255
 
  tmp=
 
9496
  tmp= ac_tmp=
9256
9497
  trap 'exit_status=$?
9257
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
9498
  : "${ac_tmp:=$tmp}"
 
9499
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9258
9500
' 0
9259
9501
  trap 'as_fn_exit 1' 1 2 13 15
9260
9502
}
9262
9504
 
9263
9505
{
9264
9506
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9265
 
  test -n "$tmp" && test -d "$tmp"
 
9507
  test -d "$tmp"
9266
9508
}  ||
9267
9509
{
9268
9510
  tmp=./conf$$-$RANDOM
9269
9511
  (umask 077 && mkdir "$tmp")
9270
9512
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
9513
ac_tmp=$tmp
9271
9514
 
9272
9515
# Set up the scripts for CONFIG_FILES section.
9273
9516
# No need to generate them if there are no CONFIG_FILES.
9289
9532
  ac_cs_awk_cr=$ac_cr
9290
9533
fi
9291
9534
 
9292
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
9535
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9293
9536
_ACEOF
9294
9537
 
9295
9538
 
9317
9560
rm -f conf$$subs.sh
9318
9561
 
9319
9562
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9320
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
9563
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9321
9564
_ACEOF
9322
9565
sed -n '
9323
9566
h
9365
9608
rm -f conf$$subs.awk
9366
9609
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9367
9610
_ACAWK
9368
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
9611
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9369
9612
  for (key in S) S_is_set[key] = 1
9370
9613
  FS = ""
9371
9614
 
9397
9640
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9398
9641
else
9399
9642
  cat
9400
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
9643
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9401
9644
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9402
9645
_ACEOF
9403
9646
 
9437
9680
  esac
9438
9681
  case $ac_mode$ac_tag in
9439
9682
  :[FHL]*:*);;
9440
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
9683
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9441
9684
  :[FH]-) ac_tag=-:-;;
9442
9685
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9443
9686
  esac
9456
9699
    for ac_f
9457
9700
    do
9458
9701
      case $ac_f in
9459
 
      -) ac_f="$tmp/stdin";;
 
9702
      -) ac_f="$ac_tmp/stdin";;
9460
9703
      *) # Look for the file first in the build tree, then in the source tree
9461
9704
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
9462
9705
         # because $ac_f cannot contain `:'.
9465
9708
           [\\/$]*) false;;
9466
9709
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9467
9710
           esac ||
9468
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
9711
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9469
9712
      esac
9470
9713
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9471
9714
      as_fn_append ac_file_inputs " '$ac_f'"
9491
9734
    esac
9492
9735
 
9493
9736
    case $ac_tag in
9494
 
    *:-:* | *:-) cat >"$tmp/stdin" \
9495
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
9737
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
9738
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9496
9739
    esac
9497
9740
    ;;
9498
9741
  esac
9617
9860
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9618
9861
$ac_datarootdir_hack
9619
9862
"
9620
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9621
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
9863
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
9864
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9622
9865
 
9623
9866
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9624
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9625
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
9867
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
9868
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
9869
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
9626
9870
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9627
9871
which seems to be undefined.  Please make sure it is defined" >&5
9628
9872
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9629
9873
which seems to be undefined.  Please make sure it is defined" >&2;}
9630
9874
 
9631
 
  rm -f "$tmp/stdin"
 
9875
  rm -f "$ac_tmp/stdin"
9632
9876
  case $ac_file in
9633
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
9634
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
9877
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
9878
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9635
9879
  esac \
9636
9880
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9637
9881
 ;;
9744
9988
     :end' >>confcache
9745
9989
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9746
9990
  if test -w "$cache_file"; then
9747
 
    test "x$cache_file" != "x/dev/null" &&
 
9991
    if test "x$cache_file" != "x/dev/null"; then
9748
9992
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9749
9993
$as_echo "$as_me: updating cache $cache_file" >&6;}
9750
 
    cat confcache >$cache_file
 
9994
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
9995
        cat confcache >"$cache_file"
 
9996
      else
 
9997
        case $cache_file in #(
 
9998
        */* | ?:*)
 
9999
          mv -f confcache "$cache_file"$$ &&
 
10000
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
10001
        *)
 
10002
          mv -f confcache "$cache_file" ;;
 
10003
        esac
 
10004
      fi
 
10005
    fi
9751
10006
  else
9752
10007
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9753
10008
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9815
10070
 
9816
10071
 
9817
10072
 
9818
 
: ${CONFIG_STATUS=./config.status}
 
10073
: "${CONFIG_STATUS=./config.status}"
9819
10074
ac_write_fail=0
9820
10075
ac_clean_files_save=$ac_clean_files
9821
10076
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9916
10171
IFS=" ""        $as_nl"
9917
10172
 
9918
10173
# Find who we are.  Look in the path if we contain no directory separator.
 
10174
as_myself=
9919
10175
case $0 in #((
9920
10176
  *[\\/]* ) as_myself=$0 ;;
9921
10177
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10223
10479
# values after options handling.
10224
10480
ac_log="
10225
10481
This file was extended by $as_me, which was
10226
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
10482
generated by GNU Autoconf 2.68.  Invocation command line was
10227
10483
 
10228
10484
  CONFIG_FILES    = $CONFIG_FILES
10229
10485
  CONFIG_HEADERS  = $CONFIG_HEADERS
10276
10532
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10277
10533
ac_cs_version="\\
10278
10534
config.status
10279
 
configured by $0, generated by GNU Autoconf 2.67,
 
10535
configured by $0, generated by GNU Autoconf 2.68,
10280
10536
  with options \\"\$ac_cs_config\\"
10281
10537
 
10282
10538
Copyright (C) 2010 Free Software Foundation, Inc.
10388
10644
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10389
10645
    "cups/pstopxl") CONFIG_FILES="$CONFIG_FILES cups/pstopxl" ;;
10390
10646
 
10391
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
10647
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10392
10648
  esac
10393
10649
done
10394
10650
 
10409
10665
# after its creation but before its name has been assigned to `$tmp'.
10410
10666
$debug ||
10411
10667
{
10412
 
  tmp=
 
10668
  tmp= ac_tmp=
10413
10669
  trap 'exit_status=$?
10414
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
10670
  : "${ac_tmp:=$tmp}"
 
10671
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10415
10672
' 0
10416
10673
  trap 'as_fn_exit 1' 1 2 13 15
10417
10674
}
10419
10676
 
10420
10677
{
10421
10678
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10422
 
  test -n "$tmp" && test -d "$tmp"
 
10679
  test -d "$tmp"
10423
10680
}  ||
10424
10681
{
10425
10682
  tmp=./conf$$-$RANDOM
10426
10683
  (umask 077 && mkdir "$tmp")
10427
10684
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
10685
ac_tmp=$tmp
10428
10686
 
10429
10687
# Set up the scripts for CONFIG_FILES section.
10430
10688
# No need to generate them if there are no CONFIG_FILES.
10446
10704
  ac_cs_awk_cr=$ac_cr
10447
10705
fi
10448
10706
 
10449
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
10707
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10450
10708
_ACEOF
10451
10709
 
10452
10710
 
10474
10732
rm -f conf$$subs.sh
10475
10733
 
10476
10734
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10477
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
10735
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10478
10736
_ACEOF
10479
10737
sed -n '
10480
10738
h
10522
10780
rm -f conf$$subs.awk
10523
10781
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10524
10782
_ACAWK
10525
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
10783
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10526
10784
  for (key in S) S_is_set[key] = 1
10527
10785
  FS = ""
10528
10786
 
10554
10812
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10555
10813
else
10556
10814
  cat
10557
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
10815
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10558
10816
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10559
10817
_ACEOF
10560
10818
 
10594
10852
  esac
10595
10853
  case $ac_mode$ac_tag in
10596
10854
  :[FHL]*:*);;
10597
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
10855
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10598
10856
  :[FH]-) ac_tag=-:-;;
10599
10857
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10600
10858
  esac
10613
10871
    for ac_f
10614
10872
    do
10615
10873
      case $ac_f in
10616
 
      -) ac_f="$tmp/stdin";;
 
10874
      -) ac_f="$ac_tmp/stdin";;
10617
10875
      *) # Look for the file first in the build tree, then in the source tree
10618
10876
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
10619
10877
         # because $ac_f cannot contain `:'.
10622
10880
           [\\/$]*) false;;
10623
10881
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10624
10882
           esac ||
10625
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
10883
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10626
10884
      esac
10627
10885
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10628
10886
      as_fn_append ac_file_inputs " '$ac_f'"
10648
10906
    esac
10649
10907
 
10650
10908
    case $ac_tag in
10651
 
    *:-:* | *:-) cat >"$tmp/stdin" \
10652
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
10909
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
10910
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10653
10911
    esac
10654
10912
    ;;
10655
10913
  esac
10774
11032
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10775
11033
$ac_datarootdir_hack
10776
11034
"
10777
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10778
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
11035
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
11036
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10779
11037
 
10780
11038
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10781
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10782
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
11039
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
11040
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
11041
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10783
11042
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10784
11043
which seems to be undefined.  Please make sure it is defined" >&5
10785
11044
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10786
11045
which seems to be undefined.  Please make sure it is defined" >&2;}
10787
11046
 
10788
 
  rm -f "$tmp/stdin"
 
11047
  rm -f "$ac_tmp/stdin"
10789
11048
  case $ac_file in
10790
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
10791
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
11049
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
11050
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10792
11051
  esac \
10793
11052
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10794
11053
 ;;