~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

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.60 for GIMP 2.2.13.
 
3
# Generated by GNU Autoconf 2.61 for GIMP 2.3.16.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP>.
6
6
#
12
12
## M4sh Initialization.  ##
13
13
## --------------------- ##
14
14
 
15
 
# Be Bourne compatible
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
16
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
18
  emulate sh
18
19
  NULLCMD=:
21
22
  alias -g '${1+"$@"}'='"$@"'
22
23
  setopt NO_GLOB_SUBST
23
24
else
24
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
25
29
fi
26
 
BIN_SH=xpg4; export BIN_SH # for Tru64
27
 
DUALCASE=1; export DUALCASE # for MKS sh
 
30
 
 
31
 
28
32
 
29
33
 
30
34
# PATH needs CR
217
221
else
218
222
  as_candidate_shells=
219
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
 
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
225
do
222
226
  IFS=$as_save_IFS
223
227
  test -z "$as_dir" && as_dir=.
235
239
         # Try only shells that exist, to save several forks.
236
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
238
 
# Be Bourne compatible
239
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
243
  emulate sh
241
244
  NULLCMD=:
244
247
  alias -g '${1+"$@"}'='"$@"'
245
248
  setopt NO_GLOB_SUBST
246
249
else
247
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
248
254
fi
249
 
BIN_SH=xpg4; export BIN_SH # for Tru64
250
 
DUALCASE=1; export DUALCASE # for MKS sh
 
255
 
251
256
 
252
257
:
253
258
_ASEOF
255
260
  CONFIG_SHELL=$as_shell
256
261
               as_have_required=yes
257
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
258
 
# Be Bourne compatible
259
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
264
  emulate sh
261
265
  NULLCMD=:
264
268
  alias -g '${1+"$@"}'='"$@"'
265
269
  setopt NO_GLOB_SUBST
266
270
else
267
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
268
275
fi
269
 
BIN_SH=xpg4; export BIN_SH # for Tru64
270
 
DUALCASE=1; export DUALCASE # for MKS sh
 
276
 
271
277
 
272
278
:
273
279
(as_func_return () {
514
520
  as_mkdir_p=false
515
521
fi
516
522
 
517
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
518
 
# systems may use methods other than mode bits to determine executability.
519
 
cat >conf$$.file <<_ASEOF
520
 
#! /bin/sh
521
 
exit 0
522
 
_ASEOF
523
 
chmod +x conf$$.file
524
 
if test -x conf$$.file >/dev/null 2>&1; then
525
 
  as_executable_p="test -x"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
526
525
else
527
 
  as_executable_p=:
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
528
543
fi
529
 
rm -f conf$$.file
 
544
as_executable_p=$as_test_x
530
545
 
531
546
# Sed expression to map a string onto a valid CPP name.
532
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
713
728
# Identity of this package.
714
729
PACKAGE_NAME='GIMP'
715
730
PACKAGE_TARNAME='gimp'
716
 
PACKAGE_VERSION='2.2.13'
717
 
PACKAGE_STRING='GIMP 2.2.13'
 
731
PACKAGE_VERSION='2.3.16'
 
732
PACKAGE_STRING='GIMP 2.3.16'
718
733
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP'
719
734
 
720
735
ac_unique_file="app/core/gimp.c"
721
736
# Factoring default headers for most tests.
722
737
ac_includes_default="\
723
738
#include <stdio.h>
724
 
#if HAVE_SYS_TYPES_H
 
739
#ifdef HAVE_SYS_TYPES_H
725
740
# include <sys/types.h>
726
741
#endif
727
 
#if HAVE_SYS_STAT_H
 
742
#ifdef HAVE_SYS_STAT_H
728
743
# include <sys/stat.h>
729
744
#endif
730
 
#if STDC_HEADERS
 
745
#ifdef STDC_HEADERS
731
746
# include <stdlib.h>
732
747
# include <stddef.h>
733
748
#else
734
 
# if HAVE_STDLIB_H
 
749
# ifdef HAVE_STDLIB_H
735
750
#  include <stdlib.h>
736
751
# endif
737
752
#endif
738
 
#if HAVE_STRING_H
739
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
753
#ifdef HAVE_STRING_H
 
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
740
755
#  include <memory.h>
741
756
# endif
742
757
# include <string.h>
743
758
#endif
744
 
#if HAVE_STRINGS_H
 
759
#ifdef HAVE_STRINGS_H
745
760
# include <strings.h>
746
761
#endif
747
 
#if HAVE_INTTYPES_H
 
762
#ifdef HAVE_INTTYPES_H
748
763
# include <inttypes.h>
749
764
#endif
750
 
#if HAVE_STDINT_H
 
765
#ifdef HAVE_STDINT_H
751
766
# include <stdint.h>
752
767
#endif
753
 
#if HAVE_UNISTD_H
 
768
#ifdef HAVE_UNISTD_H
754
769
# include <unistd.h>
755
770
#endif"
756
771
 
829
844
GIMP_USER_VERSION
830
845
GIMP_UNSTABLE
831
846
GIMP_FULL_NAME
832
 
GIMP_DESKTOP_ICON
 
847
GIMP_UNSTABLE_TRUE
 
848
GIMP_UNSTABLE_FALSE
833
849
LT_VERSION_INFO
834
850
LT_CURRENT_MINUS_AGE
835
851
GLIB_REQUIRED_VERSION
839
855
FONTCONFIG_REQUIRED_VERSION
840
856
GTKDOC_REQUIRED_VERSION
841
857
GTKHTML2_REQUIRED_VERSION
842
 
GIMPPRINT_REQUIRED_VERSION
843
 
GIMPPRINT_TOONEW_VERSION
844
858
RSVG_REQUIRED_VERSION
845
859
WMF_REQUIRED_VERSION
846
860
GETTEXT_PACKAGE
908
922
HAVE_WINDRES_TRUE
909
923
HAVE_WINDRES_FALSE
910
924
ALLOCA
 
925
BINRELOC_CFLAGS
 
926
BINRELOC_LIBS
 
927
USE_BINRELOC_TRUE
 
928
USE_BINRELOC_FALSE
911
929
INTLTOOL_DESKTOP_RULE
912
930
INTLTOOL_DIRECTORY_RULE
913
931
INTLTOOL_KEYS_RULE
935
953
INTLTOOL_MSGMERGE
936
954
INTLTOOL_XGETTEXT
937
955
ALL_LINGUAS
 
956
DATADIRNAME
938
957
USE_NLS
939
958
MSGFMT
 
959
MSGFMT_OPTS
940
960
GMSGFMT
941
961
XGETTEXT
942
962
CATALOGS
943
963
CATOBJEXT
944
 
DATADIRNAME
945
964
GMOFILES
946
965
INSTOBJEXT
947
966
INTLLIBS
956
975
GLIB_GENMARSHAL
957
976
GOBJECT_QUERY
958
977
GLIB_MKENUMS
959
 
GMODULE_CFLAGS
960
 
GMODULE_LIBS
 
978
GMODULE_NO_EXPORT_CFLAGS
 
979
GMODULE_NO_EXPORT_LIBS
961
980
XMKMF
962
981
X_CFLAGS
963
982
X_PRE_LIBS
981
1000
SOCKET_LIBS
982
1001
MMX_EXTRA_CFLAGS
983
1002
SSE_EXTRA_CFLAGS
 
1003
ALTIVEC_EXTRA_CFLAGS
984
1004
RT_LIBS
985
1005
SYMPREFIX
986
1006
HAVE_GLIBC_REGEX_TRUE
987
1007
HAVE_GLIBC_REGEX_FALSE
988
1008
HAVE_GLIBC_REGEX
989
 
GIMP_THREAD_FLAGS
990
 
GIMP_THREAD_LIBS
991
 
GIMP_MP_FLAGS
992
 
GIMP_MP_LIBS
 
1009
GTHREAD_CFLAGS
 
1010
GTHREAD_LIBS
993
1011
LIBXMU
994
1012
LIBSCREENSHOT
 
1013
DOC_SHOOTER
995
1014
GIMP_REMOTE
 
1015
GIMP_COMMAND
996
1016
TIFF
997
1017
LIBTIFF
998
1018
JPEG
1001
1021
BUILD_XJT_FALSE
1002
1022
LIBZ
1003
1023
PSP
 
1024
PNG_CFLAGS
 
1025
PNG_LIBS
1004
1026
PNG
1005
1027
LIBPNG
 
1028
HAVE_PNG_TRUE
 
1029
HAVE_PNG_FALSE
1006
1030
MNG
1007
1031
LIBMNG
1008
1032
EXIF_CFLAGS
1019
1043
SVG_LIBS
1020
1044
SVG
1021
1045
LIBSVG
1022
 
GIMPPRINT_CONFIG
1023
 
GIMPPRINT_CFLAGS
1024
 
GIMPPRINT_LIBS
1025
 
PRINT_LIBS
1026
 
PRINT_CFLAGS
1027
1046
BUILD_PRINT_TRUE
1028
1047
BUILD_PRINT_FALSE
 
1048
POPPLER_CFLAGS
 
1049
POPPLER_LIBS
 
1050
POPPLER
 
1051
LIBPOPPLER
 
1052
URI_GNOME_VFS_CFLAGS
 
1053
URI_GNOME_VFS_LIBS
 
1054
HAVE_GNOMEVFS_TRUE
 
1055
HAVE_GNOMEVFS_FALSE
 
1056
URI_LIBCURL_CFLAGS
 
1057
URI_LIBCURL_LIBS
 
1058
HAVE_LIBCURL_TRUE
 
1059
HAVE_LIBCURL_FALSE
1029
1060
WMF_CONFIG
1030
1061
LIBWMF
1031
1062
WMF_CFLAGS
1032
 
LCMS_LIBS
 
1063
WMF
 
1064
LCMS
 
1065
LIBLCMS
1033
1066
HAVE_LCMS_TRUE
1034
1067
HAVE_LCMS_FALSE
1035
1068
ALSA_CFLAGS
1036
1069
ALSA_LIBS
1037
1070
HAVE_LINUX_INPUT_TRUE
1038
1071
HAVE_LINUX_INPUT_FALSE
 
1072
HAVE_DX_DINPUT_TRUE
 
1073
HAVE_DX_DINPUT_FALSE
 
1074
DBUS_GLIB_CFLAGS
 
1075
DBUS_GLIB_LIBS
 
1076
DBUS_BINDING_TOOL
 
1077
HAL_CFLAGS
 
1078
HAL_LIBS
1039
1079
SENDMAIL
1040
1080
PERL
1041
1081
WITH_PDBGEN_TRUE
1050
1090
pyexecdir
1051
1091
pkgpyexecdir
1052
1092
PYTHON_INCLUDES
 
1093
PYLINK_LIBS
 
1094
PYBIN_PATH
1053
1095
PYGTK_CFLAGS
1054
1096
PYGTK_LIBS
 
1097
PYGTK_CODEGEN
 
1098
PYGTK_DEFSDIR
1055
1099
PYGIMP_EXTRA_CFLAGS
1056
1100
BUILD_PYTHON_TRUE
1057
1101
BUILD_PYTHON_FALSE
 
1102
BUILD_SCRIPT_FU_TRUE
 
1103
BUILD_SCRIPT_FU_FALSE
1058
1104
MAIL
1059
1105
SCREENSHOT
1060
 
URL
1061
 
WINCLIPBOARD
1062
 
WINPRINT
1063
 
WMF
1064
1106
HAVE_MAC_TWAIN_TRUE
1065
1107
HAVE_MAC_TWAIN_FALSE
1066
1108
DESKTOP_DATADIR_TRUE
1085
1127
gimpdatadir
1086
1128
gimpplugindir
1087
1129
gimpsysconfdir
 
1130
gimplocaledir
1088
1131
GIMPINSTALL
1089
1132
STATICLIBS_TRUE
1090
1133
STATICLIBS_FALSE
1100
1143
CC
1101
1144
CFLAGS
1102
1145
LDFLAGS
 
1146
LIBS
1103
1147
CPPFLAGS
1104
1148
CPP
1105
1149
CXX
1111
1155
CCAS
1112
1156
CCASFLAGS
1113
1157
PKG_CONFIG
1114
 
GMODULE_CFLAGS
1115
 
GMODULE_LIBS
 
1158
GMODULE_NO_EXPORT_CFLAGS
 
1159
GMODULE_NO_EXPORT_LIBS
1116
1160
XMKMF
1117
1161
GDK_PIXBUF_CFLAGS
1118
1162
GDK_PIXBUF_LIBS
1122
1166
FONTCONFIG_LIBS
1123
1167
PANGOFT2_CFLAGS
1124
1168
PANGOFT2_LIBS
 
1169
GTHREAD_CFLAGS
 
1170
GTHREAD_LIBS
 
1171
PNG_CFLAGS
 
1172
PNG_LIBS
1125
1173
EXIF_CFLAGS
1126
1174
EXIF_LIBS
1127
1175
GTKHTML2_CFLAGS
1128
1176
GTKHTML2_LIBS
1129
1177
SVG_CFLAGS
1130
1178
SVG_LIBS
 
1179
POPPLER_CFLAGS
 
1180
POPPLER_LIBS
 
1181
URI_GNOME_VFS_CFLAGS
 
1182
URI_GNOME_VFS_LIBS
 
1183
URI_LIBCURL_CFLAGS
 
1184
URI_LIBCURL_LIBS
 
1185
DBUS_GLIB_CFLAGS
 
1186
DBUS_GLIB_LIBS
 
1187
HAL_CFLAGS
 
1188
HAL_LIBS
1131
1189
PYGTK_CFLAGS
1132
1190
PYGTK_LIBS'
1133
1191
 
1235
1293
  -disable-* | --disable-*)
1236
1294
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1237
1295
    # Reject names that are not valid shell variable names.
1238
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1296
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239
1297
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1240
1298
   { (exit 1); exit 1; }; }
1241
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
1299
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1242
1300
    eval enable_$ac_feature=no ;;
1243
1301
 
1244
1302
  -docdir | --docdir | --docdi | --doc | --do)
1254
1312
  -enable-* | --enable-*)
1255
1313
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1256
1314
    # Reject names that are not valid shell variable names.
1257
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1315
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258
1316
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1259
1317
   { (exit 1); exit 1; }; }
1260
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
1318
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1261
1319
    eval enable_$ac_feature=\$ac_optarg ;;
1262
1320
 
1263
1321
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1451
1509
  -with-* | --with-*)
1452
1510
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1453
1511
    # Reject names that are not valid shell variable names.
1454
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1512
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455
1513
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1456
1514
   { (exit 1); exit 1; }; }
1457
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
1515
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1458
1516
    eval with_$ac_package=\$ac_optarg ;;
1459
1517
 
1460
1518
  -without-* | --without-*)
1461
1519
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1462
1520
    # Reject names that are not valid shell variable names.
1463
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1521
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1464
1522
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1465
1523
   { (exit 1); exit 1; }; }
1466
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
1524
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1467
1525
    eval with_$ac_package=no ;;
1468
1526
 
1469
1527
  --x)
1632
1690
  # Omit some internal or obsolete options to make the list less imposing.
1633
1691
  # This message is too long to be a string in the A/UX 3.1 sh.
1634
1692
  cat <<_ACEOF
1635
 
\`configure' configures GIMP 2.2.13 to adapt to many kinds of systems.
 
1693
\`configure' configures GIMP 2.3.16 to adapt to many kinds of systems.
1636
1694
 
1637
1695
Usage: $0 [OPTION]... [VAR=VALUE]...
1638
1696
 
1706
1764
 
1707
1765
if test -n "$ac_init_help"; then
1708
1766
  case $ac_init_help in
1709
 
     short | recursive ) echo "Configuration of GIMP 2.2.13:";;
 
1767
     short | recursive ) echo "Configuration of GIMP 2.3.16:";;
1710
1768
   esac
1711
1769
  cat <<\_ACEOF
1712
1770
 
1726
1784
  --enable-debug          turn on debugging (default=no)
1727
1785
  --enable-profile        turn on profiling (default=no)
1728
1786
  --enable-ansi           turn on strict ansi (default=no)
 
1787
  --enable-binreloc       compile with binary relocation support
 
1788
                          (default=no)
 
1789
  --enable-binreloc-threads      compile binary relocation with threads support
 
1790
                                 (default=yes)
1729
1791
  --disable-glibtest      do not try to compile and run a test GLIB program
1730
1792
  --disable-gtktest       do not try to compile and run a test GTK+ program
1731
1793
  --enable-mmx            enable MMX support (default=auto)
1732
1794
  --enable-sse            enable SSE support (default=auto)
1733
 
  --enable-altivec        enable Altivec support (default=auto)
1734
 
  --enable-mp             support multiple processors (default=no)
1735
 
  --disable-print         build without print support (requires libgimpprint)
1736
 
  --disable-gimpprinttest Do not try to compile and run a test GIMP-PRINT
1737
 
                          program
 
1795
  --enable-altivec        enable AltiVec support (default=auto)
 
1796
  --disable-mp            disable support for multiple processors
1738
1797
  --disable-alsatest      Do not try to compile and run a test Alsa program
1739
 
  --enable-python         build python extension (by default disabled)
1740
 
  --enable-gtk-doc        use gtk-doc to build documentation (default=no)
1741
 
  --enable-default-binary install this as the default gimp binary (default=yes)
 
1798
  --disable-python        do not build the python extension
 
1799
  --enable-gtk-doc        use gtk-doc to build documentation default=no
 
1800
  --enable-default-binary install this as the default gimp binary (default=no)
1742
1801
  --enable-gimp-console   build a console-only binary which does not link GTK+
1743
1802
 
1744
1803
Optional Packages:
1758
1817
  --without-aa            do not build the AA plug-in
1759
1818
  --without-gtkhtml2      build without gtkhtml2 support
1760
1819
  --without-librsvg       build without librsvg support
1761
 
  --with-gimpprint-prefix=PFX Prefix where GIMP-PRINT is installed (optional)
1762
 
  --with-gimpprint-exec-prefix=PFX Exec prefix where GIMP-PRINT is installed
1763
 
                          (optional)
 
1820
  --without-print         build without print support
 
1821
  --without-poppler       build without poppler support
 
1822
  --without-gnomevfs      build without gnomevfs support
 
1823
  --without-libcurl       build without curl support
1764
1824
  --without-lcms          build without lcms support
 
1825
  --without-alsa          disable alsa support in midi input controller
1765
1826
  --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
1766
1827
  --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
1767
1828
  --without-linux-input   don't build linux input event controller module
 
1829
  --with-directx-sdk=PFX  prefix where the DirectX SDK is installed(optional)
 
1830
  --without-dbus          build without D-Bus support
1768
1831
  --with-gif-compression=lzw|rle|none     GIF compression style (default=lzw)
1769
1832
  --with-sendmail=DIR     set sendmail command location
1770
1833
  --with-pdbgen           use 'pdbgen' code generation tool
 
1834
  --without-script-fu     do not build the script-fu extension
1771
1835
  --with-desktop-dir=PATH where to install desktop files (default=PREFIX/share)
1772
1836
  --with-html-dir=PATH    path to installed docs
1773
 
  --with-gimpdir=DIR      change default gimpdir from .gimp-2.2 to DIR
 
1837
  --with-gimpdir=DIR      change default gimpdir from .gimp-2.3 to DIR
1774
1838
 
1775
1839
Some influential environment variables:
1776
1840
  CC          C compiler command
1777
1841
  CFLAGS      C compiler flags
1778
1842
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1779
1843
              nonstandard directory <lib dir>
 
1844
  LIBS        libraries to pass to the linker, e.g. -l<library>
1780
1845
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1781
1846
              you have headers in a nonstandard directory <include dir>
1782
1847
  CPP         C preprocessor
1788
1853
  CCAS        assembler compiler command (defaults to CC)
1789
1854
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1790
1855
  PKG_CONFIG  path to pkg-config utility
1791
 
  GMODULE_CFLAGS
1792
 
              C compiler flags for GMODULE, overriding pkg-config
1793
 
  GMODULE_LIBS
1794
 
              linker flags for GMODULE, overriding pkg-config
 
1856
  GMODULE_NO_EXPORT_CFLAGS
 
1857
              C compiler flags for GMODULE_NO_EXPORT, overriding pkg-config
 
1858
  GMODULE_NO_EXPORT_LIBS
 
1859
              linker flags for GMODULE_NO_EXPORT, overriding pkg-config
1795
1860
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1796
1861
  GDK_PIXBUF_CFLAGS
1797
1862
              C compiler flags for GDK_PIXBUF, overriding pkg-config
1808
1873
              C compiler flags for PANGOFT2, overriding pkg-config
1809
1874
  PANGOFT2_LIBS
1810
1875
              linker flags for PANGOFT2, overriding pkg-config
 
1876
  GTHREAD_CFLAGS
 
1877
              C compiler flags for GTHREAD, overriding pkg-config
 
1878
  GTHREAD_LIBS
 
1879
              linker flags for GTHREAD, overriding pkg-config
 
1880
  PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
 
1881
  PNG_LIBS    linker flags for PNG, overriding pkg-config
1811
1882
  EXIF_CFLAGS C compiler flags for EXIF, overriding pkg-config
1812
1883
  EXIF_LIBS   linker flags for EXIF, overriding pkg-config
1813
1884
  GTKHTML2_CFLAGS
1816
1887
              linker flags for GTKHTML2, overriding pkg-config
1817
1888
  SVG_CFLAGS  C compiler flags for SVG, overriding pkg-config
1818
1889
  SVG_LIBS    linker flags for SVG, overriding pkg-config
 
1890
  POPPLER_CFLAGS
 
1891
              C compiler flags for POPPLER, overriding pkg-config
 
1892
  POPPLER_LIBS
 
1893
              linker flags for POPPLER, overriding pkg-config
 
1894
  URI_GNOME_VFS_CFLAGS
 
1895
              C compiler flags for URI_GNOME_VFS, overriding pkg-config
 
1896
  URI_GNOME_VFS_LIBS
 
1897
              linker flags for URI_GNOME_VFS, overriding pkg-config
 
1898
  URI_LIBCURL_CFLAGS
 
1899
              C compiler flags for URI_LIBCURL, overriding pkg-config
 
1900
  URI_LIBCURL_LIBS
 
1901
              linker flags for URI_LIBCURL, overriding pkg-config
 
1902
  DBUS_GLIB_CFLAGS
 
1903
              C compiler flags for DBUS_GLIB, overriding pkg-config
 
1904
  DBUS_GLIB_LIBS
 
1905
              linker flags for DBUS_GLIB, overriding pkg-config
 
1906
  HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
 
1907
  HAL_LIBS    linker flags for HAL, overriding pkg-config
1819
1908
  PYGTK_CFLAGS
1820
1909
              C compiler flags for PYGTK, overriding pkg-config
1821
1910
  PYGTK_LIBS  linker flags for PYGTK, overriding pkg-config
1884
1973
test -n "$ac_init_help" && exit $ac_status
1885
1974
if $ac_init_version; then
1886
1975
  cat <<\_ACEOF
1887
 
GIMP configure 2.2.13
1888
 
generated by GNU Autoconf 2.60
 
1976
GIMP configure 2.3.16
 
1977
generated by GNU Autoconf 2.61
1889
1978
 
1890
1979
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1891
1980
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1898
1987
This file contains any messages produced by compilers while
1899
1988
running configure, to aid debugging if configure makes a mistake.
1900
1989
 
1901
 
It was created by GIMP $as_me 2.2.13, which was
1902
 
generated by GNU Autoconf 2.60.  Invocation command line was
 
1990
It was created by GIMP $as_me 2.3.16, which was
 
1991
generated by GNU Autoconf 2.61.  Invocation command line was
1903
1992
 
1904
1993
  $ $0 $@
1905
1994
 
2322
2411
    # by default.
2323
2412
    for ac_prog in ginstall scoinst install; do
2324
2413
      for ac_exec_ext in '' $ac_executable_extensions; do
2325
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2414
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2326
2415
          if test $ac_prog = install &&
2327
2416
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2328
2417
            # AIX install.  It has an incompatible calling convention.
2488
2577
  IFS=$as_save_IFS
2489
2578
  test -z "$as_dir" && as_dir=.
2490
2579
  for ac_exec_ext in '' $ac_executable_extensions; do
2491
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492
2581
    ac_cv_prog_AWK="$ac_prog"
2493
2582
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494
2583
    break 2
2571
2660
 
2572
2661
# Define the identity of the package.
2573
2662
 PACKAGE='gimp'
2574
 
 VERSION='2.2.13'
 
2663
 VERSION='2.3.16'
2575
2664
 
2576
2665
 
2577
2666
# Some tools Automake needs.
2614
2703
  IFS=$as_save_IFS
2615
2704
  test -z "$as_dir" && as_dir=.
2616
2705
  for ac_exec_ext in '' $ac_executable_extensions; do
2617
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2706
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618
2707
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2619
2708
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620
2709
    break 2
2654
2743
  IFS=$as_save_IFS
2655
2744
  test -z "$as_dir" && as_dir=.
2656
2745
  for ac_exec_ext in '' $ac_executable_extensions; do
2657
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2746
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658
2747
    ac_cv_prog_ac_ct_STRIP="strip"
2659
2748
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660
2749
    break 2
2712
2801
 
2713
2802
 
2714
2803
GIMP_MAJOR_VERSION=2
2715
 
GIMP_MINOR_VERSION=2
2716
 
GIMP_MICRO_VERSION=13
2717
 
GIMP_INTERFACE_AGE=13
2718
 
GIMP_BINARY_AGE=213
2719
 
GIMP_VERSION=2.2.13
2720
 
GIMP_REAL_VERSION=2.2.13
 
2804
GIMP_MINOR_VERSION=3
 
2805
GIMP_MICRO_VERSION=16
 
2806
GIMP_INTERFACE_AGE=0
 
2807
GIMP_BINARY_AGE=316
 
2808
GIMP_VERSION=2.3.16
 
2809
GIMP_REAL_VERSION=2.3.16
2721
2810
GIMP_API_VERSION=2.0
2722
 
GIMP_APP_VERSION=2.2
 
2811
GIMP_APP_VERSION=2.3
2723
2812
GIMP_PLUGIN_VERSION=2.0
2724
2813
GIMP_TOOL_VERSION=2.0
2725
2814
GIMP_PKGCONFIG_VERSION=2.0
2726
2815
GIMP_DATA_VERSION=2.0
2727
2816
GIMP_SYSCONF_VERSION=2.0
2728
 
GIMP_USER_VERSION=2.2
2729
 
GIMP_UNSTABLE=no
2730
 
GIMP_FULL_NAME="The GIMP"
 
2817
GIMP_USER_VERSION=2.3
 
2818
GIMP_UNSTABLE=yes
 
2819
GIMP_FULL_NAME="GNU Image Manipulation Program"
2731
2820
 
2732
2821
 
2733
2822
 
2756
2845
 
2757
2846
fi
2758
2847
 
 
2848
 
2759
2849
if test "x$GIMP_UNSTABLE" = "xyes"; then
2760
 
  GIMP_DESKTOP_ICON="wilber-devel-icon.png"
 
2850
  GIMP_UNSTABLE_TRUE=
 
2851
  GIMP_UNSTABLE_FALSE='#'
2761
2852
else
2762
 
  GIMP_DESKTOP_ICON="wilber-icon.png"
 
2853
  GIMP_UNSTABLE_TRUE='#'
 
2854
  GIMP_UNSTABLE_FALSE=
2763
2855
fi
2764
2856
 
2765
2857
 
2766
2858
 
2767
 
 
2768
2859
# libtool versioning
2769
2860
 
2770
2861
 
2771
2862
 
2772
 
LT_VERSION_INFO="200:13:200"
 
2863
LT_VERSION_INFO="316:0:316"
2773
2864
LT_CURRENT_MINUS_AGE=0
2774
2865
 
2775
2866
 
2776
2867
 
2777
 
GLIB_REQUIRED_VERSION=2.4.5
2778
 
GTK_REQUIRED_VERSION=2.4.4
2779
 
GDK_PIXBUF_REQUIRED_VERSION=2.4.4
2780
 
PANGOFT2_REQUIRED_VERSION=1.4.0
 
2868
GLIB_REQUIRED_VERSION=2.12.3
 
2869
GTK_REQUIRED_VERSION=2.10.6
 
2870
GDK_PIXBUF_REQUIRED_VERSION=2.10.6
 
2871
PANGOFT2_REQUIRED_VERSION=1.12.2
2781
2872
FONTCONFIG_REQUIRED_VERSION=2.2.0
2782
2873
GTKDOC_REQUIRED_VERSION=1.0
2783
2874
GTKHTML2_REQUIRED_VERSION=2.0.0
2784
 
GIMPPRINT_REQUIRED_VERSION=4.2.0
2785
 
GIMPPRINT_TOONEW_VERSION=4.3.0
2786
 
RSVG_REQUIRED_VERSION=2.2.0
 
2875
RSVG_REQUIRED_VERSION=2.8.0
2787
2876
WMF_REQUIRED_VERSION=0.2.8
2788
2877
 
2789
2878
 
2795
2884
 
2796
2885
 
2797
2886
 
2798
 
 
2799
 
 
2800
2887
GETTEXT_PACKAGE=gimp20
2801
2888
 
2802
2889
 
2828
2915
  IFS=$as_save_IFS
2829
2916
  test -z "$as_dir" && as_dir=.
2830
2917
  for ac_exec_ext in '' $ac_executable_extensions; do
2831
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2918
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832
2919
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2833
2920
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834
2921
    break 2
2868
2955
  IFS=$as_save_IFS
2869
2956
  test -z "$as_dir" && as_dir=.
2870
2957
  for ac_exec_ext in '' $ac_executable_extensions; do
2871
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2958
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872
2959
    ac_cv_prog_ac_ct_CC="gcc"
2873
2960
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874
2961
    break 2
2925
3012
  IFS=$as_save_IFS
2926
3013
  test -z "$as_dir" && as_dir=.
2927
3014
  for ac_exec_ext in '' $ac_executable_extensions; do
2928
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3015
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2929
3016
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2930
3017
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931
3018
    break 2
2966
3053
  IFS=$as_save_IFS
2967
3054
  test -z "$as_dir" && as_dir=.
2968
3055
  for ac_exec_ext in '' $ac_executable_extensions; do
2969
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3056
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970
3057
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2971
3058
       ac_prog_rejected=yes
2972
3059
       continue
3024
3111
  IFS=$as_save_IFS
3025
3112
  test -z "$as_dir" && as_dir=.
3026
3113
  for ac_exec_ext in '' $ac_executable_extensions; do
3027
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028
3115
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3029
3116
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030
3117
    break 2
3068
3155
  IFS=$as_save_IFS
3069
3156
  test -z "$as_dir" && as_dir=.
3070
3157
  for ac_exec_ext in '' $ac_executable_extensions; do
3071
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3158
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072
3159
    ac_cv_prog_ac_ct_CC="$ac_prog"
3073
3160
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3074
3161
    break 2
3209
3296
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3210
3297
# so that the user can short-circuit this test for compilers unknown to
3211
3298
# Autoconf.
3212
 
for ac_file in $ac_files
 
3299
for ac_file in $ac_files ''
3213
3300
do
3214
3301
  test -f "$ac_file" || continue
3215
3302
  case $ac_file in
3237
3324
test "$ac_cv_exeext" = no && ac_cv_exeext=
3238
3325
 
3239
3326
else
 
3327
  ac_file=''
 
3328
fi
 
3329
 
 
3330
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3331
echo "${ECHO_T}$ac_file" >&6; }
 
3332
if test -z "$ac_file"; then
3240
3333
  echo "$as_me: failed program was:" >&5
3241
3334
sed 's/^/| /' conftest.$ac_ext >&5
3242
3335
 
3248
3341
fi
3249
3342
 
3250
3343
ac_exeext=$ac_cv_exeext
3251
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3252
 
echo "${ECHO_T}$ac_file" >&6; }
3253
3344
 
3254
3345
# Check that the compiler produces executables we can run.  If not, either
3255
3346
# the compiler is broken, or we cross compile.
3427
3518
  rm -f conftest.er1
3428
3519
  cat conftest.err >&5
3429
3520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430
 
  (exit $ac_status); } &&
3431
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3432
 
  { (case "(($ac_try" in
3433
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434
 
  *) ac_try_echo=$ac_try;;
3435
 
esac
3436
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3437
 
  (eval "$ac_try") 2>&5
3438
 
  ac_status=$?
3439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440
 
  (exit $ac_status); }; } &&
3441
 
         { ac_try='test -s conftest.$ac_objext'
3442
 
  { (case "(($ac_try" in
3443
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444
 
  *) ac_try_echo=$ac_try;;
3445
 
esac
3446
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3447
 
  (eval "$ac_try") 2>&5
3448
 
  ac_status=$?
3449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450
 
  (exit $ac_status); }; }; then
 
3521
  (exit $ac_status); } && {
 
3522
         test -z "$ac_c_werror_flag" ||
 
3523
         test ! -s conftest.err
 
3524
       } && test -s conftest.$ac_objext; then
3451
3525
  ac_compiler_gnu=yes
3452
3526
else
3453
3527
  echo "$as_me: failed program was:" >&5
3502
3576
  rm -f conftest.er1
3503
3577
  cat conftest.err >&5
3504
3578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505
 
  (exit $ac_status); } &&
3506
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3507
 
  { (case "(($ac_try" in
3508
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509
 
  *) ac_try_echo=$ac_try;;
3510
 
esac
3511
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512
 
  (eval "$ac_try") 2>&5
3513
 
  ac_status=$?
3514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
 
  (exit $ac_status); }; } &&
3516
 
         { ac_try='test -s conftest.$ac_objext'
3517
 
  { (case "(($ac_try" in
3518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519
 
  *) ac_try_echo=$ac_try;;
3520
 
esac
3521
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522
 
  (eval "$ac_try") 2>&5
3523
 
  ac_status=$?
3524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525
 
  (exit $ac_status); }; }; then
 
3579
  (exit $ac_status); } && {
 
3580
         test -z "$ac_c_werror_flag" ||
 
3581
         test ! -s conftest.err
 
3582
       } && test -s conftest.$ac_objext; then
3526
3583
  ac_cv_prog_cc_g=yes
3527
3584
else
3528
3585
  echo "$as_me: failed program was:" >&5
3557
3614
  rm -f conftest.er1
3558
3615
  cat conftest.err >&5
3559
3616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560
 
  (exit $ac_status); } &&
3561
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3562
 
  { (case "(($ac_try" in
3563
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564
 
  *) ac_try_echo=$ac_try;;
3565
 
esac
3566
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3567
 
  (eval "$ac_try") 2>&5
3568
 
  ac_status=$?
3569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570
 
  (exit $ac_status); }; } &&
3571
 
         { ac_try='test -s conftest.$ac_objext'
3572
 
  { (case "(($ac_try" in
3573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574
 
  *) ac_try_echo=$ac_try;;
3575
 
esac
3576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3577
 
  (eval "$ac_try") 2>&5
3578
 
  ac_status=$?
3579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
 
  (exit $ac_status); }; }; then
 
3617
  (exit $ac_status); } && {
 
3618
         test -z "$ac_c_werror_flag" ||
 
3619
         test ! -s conftest.err
 
3620
       } && test -s conftest.$ac_objext; then
3581
3621
  :
3582
3622
else
3583
3623
  echo "$as_me: failed program was:" >&5
3613
3653
  rm -f conftest.er1
3614
3654
  cat conftest.err >&5
3615
3655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616
 
  (exit $ac_status); } &&
3617
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3618
 
  { (case "(($ac_try" in
3619
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620
 
  *) ac_try_echo=$ac_try;;
3621
 
esac
3622
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3623
 
  (eval "$ac_try") 2>&5
3624
 
  ac_status=$?
3625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626
 
  (exit $ac_status); }; } &&
3627
 
         { ac_try='test -s conftest.$ac_objext'
3628
 
  { (case "(($ac_try" in
3629
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630
 
  *) ac_try_echo=$ac_try;;
3631
 
esac
3632
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633
 
  (eval "$ac_try") 2>&5
3634
 
  ac_status=$?
3635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636
 
  (exit $ac_status); }; }; then
 
3656
  (exit $ac_status); } && {
 
3657
         test -z "$ac_c_werror_flag" ||
 
3658
         test ! -s conftest.err
 
3659
       } && test -s conftest.$ac_objext; then
3637
3660
  ac_cv_prog_cc_g=yes
3638
3661
else
3639
3662
  echo "$as_me: failed program was:" >&5
3749
3772
  rm -f conftest.er1
3750
3773
  cat conftest.err >&5
3751
3774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752
 
  (exit $ac_status); } &&
3753
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3754
 
  { (case "(($ac_try" in
3755
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756
 
  *) ac_try_echo=$ac_try;;
3757
 
esac
3758
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759
 
  (eval "$ac_try") 2>&5
3760
 
  ac_status=$?
3761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762
 
  (exit $ac_status); }; } &&
3763
 
         { ac_try='test -s conftest.$ac_objext'
3764
 
  { (case "(($ac_try" in
3765
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3766
 
  *) ac_try_echo=$ac_try;;
3767
 
esac
3768
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3769
 
  (eval "$ac_try") 2>&5
3770
 
  ac_status=$?
3771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772
 
  (exit $ac_status); }; }; then
 
3775
  (exit $ac_status); } && {
 
3776
         test -z "$ac_c_werror_flag" ||
 
3777
         test ! -s conftest.err
 
3778
       } && test -s conftest.$ac_objext; then
3773
3779
  ac_cv_prog_cc_c89=$ac_arg
3774
3780
else
3775
3781
  echo "$as_me: failed program was:" >&5
4216
4222
  for ac_prog in grep ggrep; do
4217
4223
  for ac_exec_ext in '' $ac_executable_extensions; do
4218
4224
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4219
 
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
4225
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4220
4226
    # Check for GNU ac_path_GREP and select it if it is found.
4221
4227
  # Check for GNU $ac_path_GREP
4222
4228
case `"$ac_path_GREP" --version 2>&1` in
4298
4304
  for ac_prog in egrep; do
4299
4305
  for ac_exec_ext in '' $ac_executable_extensions; do
4300
4306
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4301
 
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4307
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4302
4308
    # Check for GNU ac_path_EGREP and select it if it is found.
4303
4309
  # Check for GNU $ac_path_EGREP
4304
4310
case `"$ac_path_EGREP" --version 2>&1` in
4779
4785
  ;;
4780
4786
*-*-irix6*)
4781
4787
  # Find out which ABI we are using.
4782
 
  echo '#line 4782 "configure"' > conftest.$ac_ext
 
4788
  echo '#line 4788 "configure"' > conftest.$ac_ext
4783
4789
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784
4790
  (eval $ac_compile) 2>&5
4785
4791
  ac_status=$?
4903
4909
  rm -f conftest.er1
4904
4910
  cat conftest.err >&5
4905
4911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906
 
  (exit $ac_status); } &&
4907
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4908
 
  { (case "(($ac_try" in
4909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910
 
  *) ac_try_echo=$ac_try;;
4911
 
esac
4912
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913
 
  (eval "$ac_try") 2>&5
4914
 
  ac_status=$?
4915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916
 
  (exit $ac_status); }; } &&
4917
 
         { ac_try='test -s conftest$ac_exeext'
4918
 
  { (case "(($ac_try" in
4919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4920
 
  *) ac_try_echo=$ac_try;;
4921
 
esac
4922
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4923
 
  (eval "$ac_try") 2>&5
4924
 
  ac_status=$?
4925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
 
  (exit $ac_status); }; }; then
 
4912
  (exit $ac_status); } && {
 
4913
         test -z "$ac_c_werror_flag" ||
 
4914
         test ! -s conftest.err
 
4915
       } && test -s conftest$ac_exeext &&
 
4916
       $as_test_x conftest$ac_exeext; then
4927
4917
  lt_cv_cc_needs_belf=yes
4928
4918
else
4929
4919
  echo "$as_me: failed program was:" >&5
4932
4922
        lt_cv_cc_needs_belf=no
4933
4923
fi
4934
4924
 
4935
 
rm -f core conftest.err conftest.$ac_objext \
 
4925
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4936
4926
      conftest$ac_exeext conftest.$ac_ext
4937
4927
     ac_ext=c
4938
4928
ac_cpp='$CPP $CPPFLAGS'
4986
4976
  IFS=$as_save_IFS
4987
4977
  test -z "$as_dir" && as_dir=.
4988
4978
  for ac_exec_ext in '' $ac_executable_extensions; do
4989
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990
4980
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4991
4981
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4992
4982
    break 2
5026
5016
  IFS=$as_save_IFS
5027
5017
  test -z "$as_dir" && as_dir=.
5028
5018
  for ac_exec_ext in '' $ac_executable_extensions; do
5029
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030
5020
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5031
5021
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5032
5022
    break 2
5082
5072
  IFS=$as_save_IFS
5083
5073
  test -z "$as_dir" && as_dir=.
5084
5074
  for ac_exec_ext in '' $ac_executable_extensions; do
5085
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086
5076
    ac_cv_prog_AS="${ac_tool_prefix}as"
5087
5077
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088
5078
    break 2
5122
5112
  IFS=$as_save_IFS
5123
5113
  test -z "$as_dir" && as_dir=.
5124
5114
  for ac_exec_ext in '' $ac_executable_extensions; do
5125
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5115
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5126
5116
    ac_cv_prog_ac_ct_AS="as"
5127
5117
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5128
5118
    break 2
5178
5168
  IFS=$as_save_IFS
5179
5169
  test -z "$as_dir" && as_dir=.
5180
5170
  for ac_exec_ext in '' $ac_executable_extensions; do
5181
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182
5172
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5183
5173
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184
5174
    break 2
5218
5208
  IFS=$as_save_IFS
5219
5209
  test -z "$as_dir" && as_dir=.
5220
5210
  for ac_exec_ext in '' $ac_executable_extensions; do
5221
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222
5212
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5223
5213
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224
5214
    break 2
5316
5306
  rm -f conftest.er1
5317
5307
  cat conftest.err >&5
5318
5308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319
 
  (exit $ac_status); } >/dev/null; then
5320
 
  if test -s conftest.err; then
5321
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5322
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5323
 
  else
5324
 
    ac_cpp_err=
5325
 
  fi
5326
 
else
5327
 
  ac_cpp_err=yes
5328
 
fi
5329
 
if test -z "$ac_cpp_err"; then
 
5309
  (exit $ac_status); } >/dev/null && {
 
5310
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5311
         test ! -s conftest.err
 
5312
       }; then
5330
5313
  :
5331
5314
else
5332
5315
  echo "$as_me: failed program was:" >&5
5360
5343
  rm -f conftest.er1
5361
5344
  cat conftest.err >&5
5362
5345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363
 
  (exit $ac_status); } >/dev/null; then
5364
 
  if test -s conftest.err; then
5365
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5366
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5367
 
  else
5368
 
    ac_cpp_err=
5369
 
  fi
5370
 
else
5371
 
  ac_cpp_err=yes
5372
 
fi
5373
 
if test -z "$ac_cpp_err"; then
 
5346
  (exit $ac_status); } >/dev/null && {
 
5347
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5348
         test ! -s conftest.err
 
5349
       }; then
5374
5350
  # Broken: success on invalid input.
5375
5351
continue
5376
5352
else
5435
5411
  rm -f conftest.er1
5436
5412
  cat conftest.err >&5
5437
5413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438
 
  (exit $ac_status); } >/dev/null; then
5439
 
  if test -s conftest.err; then
5440
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5441
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5442
 
  else
5443
 
    ac_cpp_err=
5444
 
  fi
5445
 
else
5446
 
  ac_cpp_err=yes
5447
 
fi
5448
 
if test -z "$ac_cpp_err"; then
 
5414
  (exit $ac_status); } >/dev/null && {
 
5415
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5416
         test ! -s conftest.err
 
5417
       }; then
5449
5418
  :
5450
5419
else
5451
5420
  echo "$as_me: failed program was:" >&5
5479
5448
  rm -f conftest.er1
5480
5449
  cat conftest.err >&5
5481
5450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482
 
  (exit $ac_status); } >/dev/null; then
5483
 
  if test -s conftest.err; then
5484
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5485
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5486
 
  else
5487
 
    ac_cpp_err=
5488
 
  fi
5489
 
else
5490
 
  ac_cpp_err=yes
5491
 
fi
5492
 
if test -z "$ac_cpp_err"; then
 
5451
  (exit $ac_status); } >/dev/null && {
 
5452
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5453
         test ! -s conftest.err
 
5454
       }; then
5493
5455
  # Broken: success on invalid input.
5494
5456
continue
5495
5457
else
5560
5522
  rm -f conftest.er1
5561
5523
  cat conftest.err >&5
5562
5524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
 
  (exit $ac_status); } &&
5564
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5565
 
  { (case "(($ac_try" in
5566
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5567
 
  *) ac_try_echo=$ac_try;;
5568
 
esac
5569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5570
 
  (eval "$ac_try") 2>&5
5571
 
  ac_status=$?
5572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573
 
  (exit $ac_status); }; } &&
5574
 
         { ac_try='test -s conftest.$ac_objext'
5575
 
  { (case "(($ac_try" in
5576
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5577
 
  *) ac_try_echo=$ac_try;;
5578
 
esac
5579
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5580
 
  (eval "$ac_try") 2>&5
5581
 
  ac_status=$?
5582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583
 
  (exit $ac_status); }; }; then
 
5525
  (exit $ac_status); } && {
 
5526
         test -z "$ac_c_werror_flag" ||
 
5527
         test ! -s conftest.err
 
5528
       } && test -s conftest.$ac_objext; then
5584
5529
  ac_cv_header_stdc=yes
5585
5530
else
5586
5531
  echo "$as_me: failed program was:" >&5
5756
5701
  rm -f conftest.er1
5757
5702
  cat conftest.err >&5
5758
5703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759
 
  (exit $ac_status); } &&
5760
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5761
 
  { (case "(($ac_try" in
5762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5763
 
  *) ac_try_echo=$ac_try;;
5764
 
esac
5765
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5766
 
  (eval "$ac_try") 2>&5
5767
 
  ac_status=$?
5768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769
 
  (exit $ac_status); }; } &&
5770
 
         { ac_try='test -s conftest.$ac_objext'
5771
 
  { (case "(($ac_try" in
5772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5773
 
  *) ac_try_echo=$ac_try;;
5774
 
esac
5775
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5776
 
  (eval "$ac_try") 2>&5
5777
 
  ac_status=$?
5778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779
 
  (exit $ac_status); }; }; then
 
5704
  (exit $ac_status); } && {
 
5705
         test -z "$ac_c_werror_flag" ||
 
5706
         test ! -s conftest.err
 
5707
       } && test -s conftest.$ac_objext; then
5780
5708
  eval "$as_ac_Header=yes"
5781
5709
else
5782
5710
  echo "$as_me: failed program was:" >&5
5839
5767
  rm -f conftest.er1
5840
5768
  cat conftest.err >&5
5841
5769
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842
 
  (exit $ac_status); } &&
5843
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5844
 
  { (case "(($ac_try" in
5845
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5846
 
  *) ac_try_echo=$ac_try;;
5847
 
esac
5848
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5849
 
  (eval "$ac_try") 2>&5
5850
 
  ac_status=$?
5851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852
 
  (exit $ac_status); }; } &&
5853
 
         { ac_try='test -s conftest.$ac_objext'
5854
 
  { (case "(($ac_try" in
5855
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5856
 
  *) ac_try_echo=$ac_try;;
5857
 
esac
5858
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5859
 
  (eval "$ac_try") 2>&5
5860
 
  ac_status=$?
5861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862
 
  (exit $ac_status); }; }; then
 
5770
  (exit $ac_status); } && {
 
5771
         test -z "$ac_c_werror_flag" ||
 
5772
         test ! -s conftest.err
 
5773
       } && test -s conftest.$ac_objext; then
5863
5774
  ac_header_compiler=yes
5864
5775
else
5865
5776
  echo "$as_me: failed program was:" >&5
5895
5806
  rm -f conftest.er1
5896
5807
  cat conftest.err >&5
5897
5808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898
 
  (exit $ac_status); } >/dev/null; then
5899
 
  if test -s conftest.err; then
5900
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5901
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5902
 
  else
5903
 
    ac_cpp_err=
5904
 
  fi
5905
 
else
5906
 
  ac_cpp_err=yes
5907
 
fi
5908
 
if test -z "$ac_cpp_err"; then
 
5809
  (exit $ac_status); } >/dev/null && {
 
5810
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5811
         test ! -s conftest.err
 
5812
       }; then
5909
5813
  ac_header_preproc=yes
5910
5814
else
5911
5815
  echo "$as_me: failed program was:" >&5
5997
5901
  IFS=$as_save_IFS
5998
5902
  test -z "$as_dir" && as_dir=.
5999
5903
  for ac_exec_ext in '' $ac_executable_extensions; do
6000
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5904
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001
5905
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6002
5906
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6003
5907
    break 2
6041
5945
  IFS=$as_save_IFS
6042
5946
  test -z "$as_dir" && as_dir=.
6043
5947
  for ac_exec_ext in '' $ac_executable_extensions; do
6044
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045
5949
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6046
5950
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6047
5951
    break 2
6154
6058
  rm -f conftest.er1
6155
6059
  cat conftest.err >&5
6156
6060
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157
 
  (exit $ac_status); } &&
6158
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6159
 
  { (case "(($ac_try" in
6160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6161
 
  *) ac_try_echo=$ac_try;;
6162
 
esac
6163
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6164
 
  (eval "$ac_try") 2>&5
6165
 
  ac_status=$?
6166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167
 
  (exit $ac_status); }; } &&
6168
 
         { ac_try='test -s conftest.$ac_objext'
6169
 
  { (case "(($ac_try" in
6170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6171
 
  *) ac_try_echo=$ac_try;;
6172
 
esac
6173
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174
 
  (eval "$ac_try") 2>&5
6175
 
  ac_status=$?
6176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177
 
  (exit $ac_status); }; }; then
 
6061
  (exit $ac_status); } && {
 
6062
         test -z "$ac_cxx_werror_flag" ||
 
6063
         test ! -s conftest.err
 
6064
       } && test -s conftest.$ac_objext; then
6178
6065
  ac_compiler_gnu=yes
6179
6066
else
6180
6067
  echo "$as_me: failed program was:" >&5
6229
6116
  rm -f conftest.er1
6230
6117
  cat conftest.err >&5
6231
6118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232
 
  (exit $ac_status); } &&
6233
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6234
 
  { (case "(($ac_try" in
6235
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6236
 
  *) ac_try_echo=$ac_try;;
6237
 
esac
6238
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6239
 
  (eval "$ac_try") 2>&5
6240
 
  ac_status=$?
6241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242
 
  (exit $ac_status); }; } &&
6243
 
         { ac_try='test -s conftest.$ac_objext'
6244
 
  { (case "(($ac_try" in
6245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6246
 
  *) ac_try_echo=$ac_try;;
6247
 
esac
6248
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6249
 
  (eval "$ac_try") 2>&5
6250
 
  ac_status=$?
6251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252
 
  (exit $ac_status); }; }; then
 
6119
  (exit $ac_status); } && {
 
6120
         test -z "$ac_cxx_werror_flag" ||
 
6121
         test ! -s conftest.err
 
6122
       } && test -s conftest.$ac_objext; then
6253
6123
  ac_cv_prog_cxx_g=yes
6254
6124
else
6255
6125
  echo "$as_me: failed program was:" >&5
6284
6154
  rm -f conftest.er1
6285
6155
  cat conftest.err >&5
6286
6156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287
 
  (exit $ac_status); } &&
6288
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6289
 
  { (case "(($ac_try" in
6290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6291
 
  *) ac_try_echo=$ac_try;;
6292
 
esac
6293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6294
 
  (eval "$ac_try") 2>&5
6295
 
  ac_status=$?
6296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297
 
  (exit $ac_status); }; } &&
6298
 
         { ac_try='test -s conftest.$ac_objext'
6299
 
  { (case "(($ac_try" in
6300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6301
 
  *) ac_try_echo=$ac_try;;
6302
 
esac
6303
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6304
 
  (eval "$ac_try") 2>&5
6305
 
  ac_status=$?
6306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307
 
  (exit $ac_status); }; }; then
 
6157
  (exit $ac_status); } && {
 
6158
         test -z "$ac_cxx_werror_flag" ||
 
6159
         test ! -s conftest.err
 
6160
       } && test -s conftest.$ac_objext; then
6308
6161
  :
6309
6162
else
6310
6163
  echo "$as_me: failed program was:" >&5
6340
6193
  rm -f conftest.er1
6341
6194
  cat conftest.err >&5
6342
6195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343
 
  (exit $ac_status); } &&
6344
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6345
 
  { (case "(($ac_try" in
6346
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6347
 
  *) ac_try_echo=$ac_try;;
6348
 
esac
6349
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6350
 
  (eval "$ac_try") 2>&5
6351
 
  ac_status=$?
6352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353
 
  (exit $ac_status); }; } &&
6354
 
         { ac_try='test -s conftest.$ac_objext'
6355
 
  { (case "(($ac_try" in
6356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6357
 
  *) ac_try_echo=$ac_try;;
6358
 
esac
6359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6360
 
  (eval "$ac_try") 2>&5
6361
 
  ac_status=$?
6362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363
 
  (exit $ac_status); }; }; then
 
6196
  (exit $ac_status); } && {
 
6197
         test -z "$ac_cxx_werror_flag" ||
 
6198
         test ! -s conftest.err
 
6199
       } && test -s conftest.$ac_objext; then
6364
6200
  ac_cv_prog_cxx_g=yes
6365
6201
else
6366
6202
  echo "$as_me: failed program was:" >&5
6563
6399
  rm -f conftest.er1
6564
6400
  cat conftest.err >&5
6565
6401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566
 
  (exit $ac_status); } >/dev/null; then
6567
 
  if test -s conftest.err; then
6568
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6569
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6570
 
  else
6571
 
    ac_cpp_err=
6572
 
  fi
6573
 
else
6574
 
  ac_cpp_err=yes
6575
 
fi
6576
 
if test -z "$ac_cpp_err"; then
 
6402
  (exit $ac_status); } >/dev/null && {
 
6403
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6404
         test ! -s conftest.err
 
6405
       }; then
6577
6406
  :
6578
6407
else
6579
6408
  echo "$as_me: failed program was:" >&5
6607
6436
  rm -f conftest.er1
6608
6437
  cat conftest.err >&5
6609
6438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610
 
  (exit $ac_status); } >/dev/null; then
6611
 
  if test -s conftest.err; then
6612
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6613
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6614
 
  else
6615
 
    ac_cpp_err=
6616
 
  fi
6617
 
else
6618
 
  ac_cpp_err=yes
6619
 
fi
6620
 
if test -z "$ac_cpp_err"; then
 
6439
  (exit $ac_status); } >/dev/null && {
 
6440
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6441
         test ! -s conftest.err
 
6442
       }; then
6621
6443
  # Broken: success on invalid input.
6622
6444
continue
6623
6445
else
6682
6504
  rm -f conftest.er1
6683
6505
  cat conftest.err >&5
6684
6506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685
 
  (exit $ac_status); } >/dev/null; then
6686
 
  if test -s conftest.err; then
6687
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6688
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6689
 
  else
6690
 
    ac_cpp_err=
6691
 
  fi
6692
 
else
6693
 
  ac_cpp_err=yes
6694
 
fi
6695
 
if test -z "$ac_cpp_err"; then
 
6507
  (exit $ac_status); } >/dev/null && {
 
6508
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6509
         test ! -s conftest.err
 
6510
       }; then
6696
6511
  :
6697
6512
else
6698
6513
  echo "$as_me: failed program was:" >&5
6726
6541
  rm -f conftest.er1
6727
6542
  cat conftest.err >&5
6728
6543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729
 
  (exit $ac_status); } >/dev/null; then
6730
 
  if test -s conftest.err; then
6731
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6732
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6733
 
  else
6734
 
    ac_cpp_err=
6735
 
  fi
6736
 
else
6737
 
  ac_cpp_err=yes
6738
 
fi
6739
 
if test -z "$ac_cpp_err"; then
 
6544
  (exit $ac_status); } >/dev/null && {
 
6545
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6546
         test ! -s conftest.err
 
6547
       }; then
6740
6548
  # Broken: success on invalid input.
6741
6549
continue
6742
6550
else
6777
6585
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6778
6586
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6779
6587
if test -n "$ac_tool_prefix"; then
6780
 
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
 
6588
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6781
6589
  do
6782
6590
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6783
6591
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6795
6603
  IFS=$as_save_IFS
6796
6604
  test -z "$as_dir" && as_dir=.
6797
6605
  for ac_exec_ext in '' $ac_executable_extensions; do
6798
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6606
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799
6607
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6800
6608
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6801
6609
    break 2
6821
6629
fi
6822
6630
if test -z "$F77"; then
6823
6631
  ac_ct_F77=$F77
6824
 
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
 
6632
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6825
6633
do
6826
6634
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6827
6635
set dummy $ac_prog; ac_word=$2
6839
6647
  IFS=$as_save_IFS
6840
6648
  test -z "$as_dir" && as_dir=.
6841
6649
  for ac_exec_ext in '' $ac_executable_extensions; do
6842
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6650
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6843
6651
    ac_cv_prog_ac_ct_F77="$ac_prog"
6844
6652
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6845
6653
    break 2
6946
6754
  rm -f conftest.er1
6947
6755
  cat conftest.err >&5
6948
6756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949
 
  (exit $ac_status); } &&
6950
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6951
 
  { (case "(($ac_try" in
6952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6953
 
  *) ac_try_echo=$ac_try;;
6954
 
esac
6955
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956
 
  (eval "$ac_try") 2>&5
6957
 
  ac_status=$?
6958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959
 
  (exit $ac_status); }; } &&
6960
 
         { ac_try='test -s conftest.$ac_objext'
6961
 
  { (case "(($ac_try" in
6962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6963
 
  *) ac_try_echo=$ac_try;;
6964
 
esac
6965
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6966
 
  (eval "$ac_try") 2>&5
6967
 
  ac_status=$?
6968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969
 
  (exit $ac_status); }; }; then
 
6757
  (exit $ac_status); } && {
 
6758
         test -z "$ac_f77_werror_flag" ||
 
6759
         test ! -s conftest.err
 
6760
       } && test -s conftest.$ac_objext; then
6970
6761
  ac_compiler_gnu=yes
6971
6762
else
6972
6763
  echo "$as_me: failed program was:" >&5
7009
6800
  rm -f conftest.er1
7010
6801
  cat conftest.err >&5
7011
6802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012
 
  (exit $ac_status); } &&
7013
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
7014
 
  { (case "(($ac_try" in
7015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7016
 
  *) ac_try_echo=$ac_try;;
7017
 
esac
7018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7019
 
  (eval "$ac_try") 2>&5
7020
 
  ac_status=$?
7021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022
 
  (exit $ac_status); }; } &&
7023
 
         { ac_try='test -s conftest.$ac_objext'
7024
 
  { (case "(($ac_try" in
7025
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7026
 
  *) ac_try_echo=$ac_try;;
7027
 
esac
7028
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7029
 
  (eval "$ac_try") 2>&5
7030
 
  ac_status=$?
7031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032
 
  (exit $ac_status); }; }; then
 
6803
  (exit $ac_status); } && {
 
6804
         test -z "$ac_f77_werror_flag" ||
 
6805
         test ! -s conftest.err
 
6806
       } && test -s conftest.$ac_objext; then
7033
6807
  ac_cv_prog_f77_g=yes
7034
6808
else
7035
6809
  echo "$as_me: failed program was:" >&5
7484
7258
  IFS=$as_save_IFS
7485
7259
  test -z "$as_dir" && as_dir=.
7486
7260
  for ac_exec_ext in '' $ac_executable_extensions; do
7487
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7261
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488
7262
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7489
7263
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7490
7264
    break 2
7524
7298
  IFS=$as_save_IFS
7525
7299
  test -z "$as_dir" && as_dir=.
7526
7300
  for ac_exec_ext in '' $ac_executable_extensions; do
7527
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528
7302
    ac_cv_prog_ac_ct_AR="ar"
7529
7303
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7530
7304
    break 2
7580
7354
  IFS=$as_save_IFS
7581
7355
  test -z "$as_dir" && as_dir=.
7582
7356
  for ac_exec_ext in '' $ac_executable_extensions; do
7583
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7357
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7584
7358
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7585
7359
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7586
7360
    break 2
7620
7394
  IFS=$as_save_IFS
7621
7395
  test -z "$as_dir" && as_dir=.
7622
7396
  for ac_exec_ext in '' $ac_executable_extensions; do
7623
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7624
7398
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7625
7399
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7626
7400
    break 2
7676
7450
  IFS=$as_save_IFS
7677
7451
  test -z "$as_dir" && as_dir=.
7678
7452
  for ac_exec_ext in '' $ac_executable_extensions; do
7679
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7453
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680
7454
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7681
7455
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7682
7456
    break 2
7716
7490
  IFS=$as_save_IFS
7717
7491
  test -z "$as_dir" && as_dir=.
7718
7492
  for ac_exec_ext in '' $ac_executable_extensions; do
7719
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7493
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7720
7494
    ac_cv_prog_ac_ct_STRIP="strip"
7721
7495
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7722
7496
    break 2
8033
7807
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8034
7808
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8035
7809
   -e 's:$: $lt_compiler_flag:'`
8036
 
   (eval echo "\"\$as_me:8036: $lt_compile\"" >&5)
 
7810
   (eval echo "\"\$as_me:7810: $lt_compile\"" >&5)
8037
7811
   (eval "$lt_compile" 2>conftest.err)
8038
7812
   ac_status=$?
8039
7813
   cat conftest.err >&5
8040
 
   echo "$as_me:8040: \$? = $ac_status" >&5
 
7814
   echo "$as_me:7814: \$? = $ac_status" >&5
8041
7815
   if (exit $ac_status) && test -s "$ac_outfile"; then
8042
7816
     # The compiler can only warn and ignore the option if not recognized
8043
7817
     # So say no if there are warnings other than the usual output.
8301
8075
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8302
8076
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8303
8077
   -e 's:$: $lt_compiler_flag:'`
8304
 
   (eval echo "\"\$as_me:8304: $lt_compile\"" >&5)
 
8078
   (eval echo "\"\$as_me:8078: $lt_compile\"" >&5)
8305
8079
   (eval "$lt_compile" 2>conftest.err)
8306
8080
   ac_status=$?
8307
8081
   cat conftest.err >&5
8308
 
   echo "$as_me:8308: \$? = $ac_status" >&5
 
8082
   echo "$as_me:8082: \$? = $ac_status" >&5
8309
8083
   if (exit $ac_status) && test -s "$ac_outfile"; then
8310
8084
     # The compiler can only warn and ignore the option if not recognized
8311
8085
     # So say no if there are warnings other than the usual output.
8405
8179
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8406
8180
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8407
8181
   -e 's:$: $lt_compiler_flag:'`
8408
 
   (eval echo "\"\$as_me:8408: $lt_compile\"" >&5)
 
8182
   (eval echo "\"\$as_me:8182: $lt_compile\"" >&5)
8409
8183
   (eval "$lt_compile" 2>out/conftest.err)
8410
8184
   ac_status=$?
8411
8185
   cat out/conftest.err >&5
8412
 
   echo "$as_me:8412: \$? = $ac_status" >&5
 
8186
   echo "$as_me:8186: \$? = $ac_status" >&5
8413
8187
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8414
8188
   then
8415
8189
     # The compiler can only warn and ignore the option if not recognized
8886
8660
  rm -f conftest.er1
8887
8661
  cat conftest.err >&5
8888
8662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889
 
  (exit $ac_status); } &&
8890
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8891
 
  { (case "(($ac_try" in
8892
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893
 
  *) ac_try_echo=$ac_try;;
8894
 
esac
8895
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896
 
  (eval "$ac_try") 2>&5
8897
 
  ac_status=$?
8898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899
 
  (exit $ac_status); }; } &&
8900
 
         { ac_try='test -s conftest$ac_exeext'
8901
 
  { (case "(($ac_try" in
8902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8903
 
  *) ac_try_echo=$ac_try;;
8904
 
esac
8905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8906
 
  (eval "$ac_try") 2>&5
8907
 
  ac_status=$?
8908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909
 
  (exit $ac_status); }; }; then
 
8663
  (exit $ac_status); } && {
 
8664
         test -z "$ac_c_werror_flag" ||
 
8665
         test ! -s conftest.err
 
8666
       } && test -s conftest$ac_exeext &&
 
8667
       $as_test_x conftest$ac_exeext; then
8910
8668
 
8911
8669
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8912
8670
}'`
8920
8678
 
8921
8679
fi
8922
8680
 
8923
 
rm -f core conftest.err conftest.$ac_objext \
 
8681
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8924
8682
      conftest$ac_exeext conftest.$ac_ext
8925
8683
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8926
8684
 
8961
8719
  rm -f conftest.er1
8962
8720
  cat conftest.err >&5
8963
8721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964
 
  (exit $ac_status); } &&
8965
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8966
 
  { (case "(($ac_try" in
8967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8968
 
  *) ac_try_echo=$ac_try;;
8969
 
esac
8970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971
 
  (eval "$ac_try") 2>&5
8972
 
  ac_status=$?
8973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974
 
  (exit $ac_status); }; } &&
8975
 
         { ac_try='test -s conftest$ac_exeext'
8976
 
  { (case "(($ac_try" in
8977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8978
 
  *) ac_try_echo=$ac_try;;
8979
 
esac
8980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8981
 
  (eval "$ac_try") 2>&5
8982
 
  ac_status=$?
8983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984
 
  (exit $ac_status); }; }; then
 
8722
  (exit $ac_status); } && {
 
8723
         test -z "$ac_c_werror_flag" ||
 
8724
         test ! -s conftest.err
 
8725
       } && test -s conftest$ac_exeext &&
 
8726
       $as_test_x conftest$ac_exeext; then
8985
8727
 
8986
8728
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8987
8729
}'`
8995
8737
 
8996
8738
fi
8997
8739
 
8998
 
rm -f core conftest.err conftest.$ac_objext \
 
8740
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8999
8741
      conftest$ac_exeext conftest.$ac_ext
9000
8742
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9001
8743
 
10231
9973
  rm -f conftest.er1
10232
9974
  cat conftest.err >&5
10233
9975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234
 
  (exit $ac_status); } &&
10235
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10236
 
  { (case "(($ac_try" in
10237
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10238
 
  *) ac_try_echo=$ac_try;;
10239
 
esac
10240
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10241
 
  (eval "$ac_try") 2>&5
10242
 
  ac_status=$?
10243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244
 
  (exit $ac_status); }; } &&
10245
 
         { ac_try='test -s conftest$ac_exeext'
10246
 
  { (case "(($ac_try" in
10247
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10248
 
  *) ac_try_echo=$ac_try;;
10249
 
esac
10250
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10251
 
  (eval "$ac_try") 2>&5
10252
 
  ac_status=$?
10253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254
 
  (exit $ac_status); }; }; then
 
9976
  (exit $ac_status); } && {
 
9977
         test -z "$ac_c_werror_flag" ||
 
9978
         test ! -s conftest.err
 
9979
       } && test -s conftest$ac_exeext &&
 
9980
       $as_test_x conftest$ac_exeext; then
10255
9981
  ac_cv_lib_dl_dlopen=yes
10256
9982
else
10257
9983
  echo "$as_me: failed program was:" >&5
10260
9986
        ac_cv_lib_dl_dlopen=no
10261
9987
fi
10262
9988
 
10263
 
rm -f core conftest.err conftest.$ac_objext \
 
9989
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10264
9990
      conftest$ac_exeext conftest.$ac_ext
10265
9991
LIBS=$ac_check_lib_save_LIBS
10266
9992
fi
10342
10068
  rm -f conftest.er1
10343
10069
  cat conftest.err >&5
10344
10070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345
 
  (exit $ac_status); } &&
10346
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10347
 
  { (case "(($ac_try" in
10348
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10349
 
  *) ac_try_echo=$ac_try;;
10350
 
esac
10351
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10352
 
  (eval "$ac_try") 2>&5
10353
 
  ac_status=$?
10354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355
 
  (exit $ac_status); }; } &&
10356
 
         { ac_try='test -s conftest$ac_exeext'
10357
 
  { (case "(($ac_try" in
10358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10359
 
  *) ac_try_echo=$ac_try;;
10360
 
esac
10361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10362
 
  (eval "$ac_try") 2>&5
10363
 
  ac_status=$?
10364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365
 
  (exit $ac_status); }; }; then
 
10071
  (exit $ac_status); } && {
 
10072
         test -z "$ac_c_werror_flag" ||
 
10073
         test ! -s conftest.err
 
10074
       } && test -s conftest$ac_exeext &&
 
10075
       $as_test_x conftest$ac_exeext; then
10366
10076
  ac_cv_func_shl_load=yes
10367
10077
else
10368
10078
  echo "$as_me: failed program was:" >&5
10371
10081
        ac_cv_func_shl_load=no
10372
10082
fi
10373
10083
 
10374
 
rm -f core conftest.err conftest.$ac_objext \
 
10084
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10375
10085
      conftest$ac_exeext conftest.$ac_ext
10376
10086
fi
10377
10087
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10421
10131
  rm -f conftest.er1
10422
10132
  cat conftest.err >&5
10423
10133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424
 
  (exit $ac_status); } &&
10425
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10426
 
  { (case "(($ac_try" in
10427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10428
 
  *) ac_try_echo=$ac_try;;
10429
 
esac
10430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10431
 
  (eval "$ac_try") 2>&5
10432
 
  ac_status=$?
10433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434
 
  (exit $ac_status); }; } &&
10435
 
         { ac_try='test -s conftest$ac_exeext'
10436
 
  { (case "(($ac_try" in
10437
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10438
 
  *) ac_try_echo=$ac_try;;
10439
 
esac
10440
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10441
 
  (eval "$ac_try") 2>&5
10442
 
  ac_status=$?
10443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444
 
  (exit $ac_status); }; }; then
 
10134
  (exit $ac_status); } && {
 
10135
         test -z "$ac_c_werror_flag" ||
 
10136
         test ! -s conftest.err
 
10137
       } && test -s conftest$ac_exeext &&
 
10138
       $as_test_x conftest$ac_exeext; then
10445
10139
  ac_cv_lib_dld_shl_load=yes
10446
10140
else
10447
10141
  echo "$as_me: failed program was:" >&5
10450
10144
        ac_cv_lib_dld_shl_load=no
10451
10145
fi
10452
10146
 
10453
 
rm -f core conftest.err conftest.$ac_objext \
 
10147
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10454
10148
      conftest$ac_exeext conftest.$ac_ext
10455
10149
LIBS=$ac_check_lib_save_LIBS
10456
10150
fi
10522
10216
  rm -f conftest.er1
10523
10217
  cat conftest.err >&5
10524
10218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525
 
  (exit $ac_status); } &&
10526
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10527
 
  { (case "(($ac_try" in
10528
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10529
 
  *) ac_try_echo=$ac_try;;
10530
 
esac
10531
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10532
 
  (eval "$ac_try") 2>&5
10533
 
  ac_status=$?
10534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535
 
  (exit $ac_status); }; } &&
10536
 
         { ac_try='test -s conftest$ac_exeext'
10537
 
  { (case "(($ac_try" in
10538
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10539
 
  *) ac_try_echo=$ac_try;;
10540
 
esac
10541
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10542
 
  (eval "$ac_try") 2>&5
10543
 
  ac_status=$?
10544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545
 
  (exit $ac_status); }; }; then
 
10219
  (exit $ac_status); } && {
 
10220
         test -z "$ac_c_werror_flag" ||
 
10221
         test ! -s conftest.err
 
10222
       } && test -s conftest$ac_exeext &&
 
10223
       $as_test_x conftest$ac_exeext; then
10546
10224
  ac_cv_func_dlopen=yes
10547
10225
else
10548
10226
  echo "$as_me: failed program was:" >&5
10551
10229
        ac_cv_func_dlopen=no
10552
10230
fi
10553
10231
 
10554
 
rm -f core conftest.err conftest.$ac_objext \
 
10232
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10555
10233
      conftest$ac_exeext conftest.$ac_ext
10556
10234
fi
10557
10235
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10601
10279
  rm -f conftest.er1
10602
10280
  cat conftest.err >&5
10603
10281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604
 
  (exit $ac_status); } &&
10605
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10606
 
  { (case "(($ac_try" in
10607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10608
 
  *) ac_try_echo=$ac_try;;
10609
 
esac
10610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10611
 
  (eval "$ac_try") 2>&5
10612
 
  ac_status=$?
10613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614
 
  (exit $ac_status); }; } &&
10615
 
         { ac_try='test -s conftest$ac_exeext'
10616
 
  { (case "(($ac_try" in
10617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10618
 
  *) ac_try_echo=$ac_try;;
10619
 
esac
10620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10621
 
  (eval "$ac_try") 2>&5
10622
 
  ac_status=$?
10623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624
 
  (exit $ac_status); }; }; then
 
10282
  (exit $ac_status); } && {
 
10283
         test -z "$ac_c_werror_flag" ||
 
10284
         test ! -s conftest.err
 
10285
       } && test -s conftest$ac_exeext &&
 
10286
       $as_test_x conftest$ac_exeext; then
10625
10287
  ac_cv_lib_dl_dlopen=yes
10626
10288
else
10627
10289
  echo "$as_me: failed program was:" >&5
10630
10292
        ac_cv_lib_dl_dlopen=no
10631
10293
fi
10632
10294
 
10633
 
rm -f core conftest.err conftest.$ac_objext \
 
10295
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10634
10296
      conftest$ac_exeext conftest.$ac_ext
10635
10297
LIBS=$ac_check_lib_save_LIBS
10636
10298
fi
10681
10343
  rm -f conftest.er1
10682
10344
  cat conftest.err >&5
10683
10345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684
 
  (exit $ac_status); } &&
10685
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10686
 
  { (case "(($ac_try" in
10687
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10688
 
  *) ac_try_echo=$ac_try;;
10689
 
esac
10690
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10691
 
  (eval "$ac_try") 2>&5
10692
 
  ac_status=$?
10693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694
 
  (exit $ac_status); }; } &&
10695
 
         { ac_try='test -s conftest$ac_exeext'
10696
 
  { (case "(($ac_try" in
10697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10698
 
  *) ac_try_echo=$ac_try;;
10699
 
esac
10700
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10701
 
  (eval "$ac_try") 2>&5
10702
 
  ac_status=$?
10703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704
 
  (exit $ac_status); }; }; then
 
10346
  (exit $ac_status); } && {
 
10347
         test -z "$ac_c_werror_flag" ||
 
10348
         test ! -s conftest.err
 
10349
       } && test -s conftest$ac_exeext &&
 
10350
       $as_test_x conftest$ac_exeext; then
10705
10351
  ac_cv_lib_svld_dlopen=yes
10706
10352
else
10707
10353
  echo "$as_me: failed program was:" >&5
10710
10356
        ac_cv_lib_svld_dlopen=no
10711
10357
fi
10712
10358
 
10713
 
rm -f core conftest.err conftest.$ac_objext \
 
10359
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10714
10360
      conftest$ac_exeext conftest.$ac_ext
10715
10361
LIBS=$ac_check_lib_save_LIBS
10716
10362
fi
10761
10407
  rm -f conftest.er1
10762
10408
  cat conftest.err >&5
10763
10409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764
 
  (exit $ac_status); } &&
10765
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10766
 
  { (case "(($ac_try" in
10767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10768
 
  *) ac_try_echo=$ac_try;;
10769
 
esac
10770
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10771
 
  (eval "$ac_try") 2>&5
10772
 
  ac_status=$?
10773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774
 
  (exit $ac_status); }; } &&
10775
 
         { ac_try='test -s conftest$ac_exeext'
10776
 
  { (case "(($ac_try" in
10777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10778
 
  *) ac_try_echo=$ac_try;;
10779
 
esac
10780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10781
 
  (eval "$ac_try") 2>&5
10782
 
  ac_status=$?
10783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784
 
  (exit $ac_status); }; }; then
 
10410
  (exit $ac_status); } && {
 
10411
         test -z "$ac_c_werror_flag" ||
 
10412
         test ! -s conftest.err
 
10413
       } && test -s conftest$ac_exeext &&
 
10414
       $as_test_x conftest$ac_exeext; then
10785
10415
  ac_cv_lib_dld_dld_link=yes
10786
10416
else
10787
10417
  echo "$as_me: failed program was:" >&5
10790
10420
        ac_cv_lib_dld_dld_link=no
10791
10421
fi
10792
10422
 
10793
 
rm -f core conftest.err conftest.$ac_objext \
 
10423
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10794
10424
      conftest$ac_exeext conftest.$ac_ext
10795
10425
LIBS=$ac_check_lib_save_LIBS
10796
10426
fi
10846
10476
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10847
10477
  lt_status=$lt_dlunknown
10848
10478
  cat > conftest.$ac_ext <<EOF
10849
 
#line 10849 "configure"
 
10479
#line 10479 "configure"
10850
10480
#include "confdefs.h"
10851
10481
 
10852
10482
#if HAVE_DLFCN_H
10946
10576
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10947
10577
  lt_status=$lt_dlunknown
10948
10578
  cat > conftest.$ac_ext <<EOF
10949
 
#line 10949 "configure"
 
10579
#line 10579 "configure"
10950
10580
#include "confdefs.h"
10951
10581
 
10952
10582
#if HAVE_DLFCN_H
12033
11663
  rm -f conftest.er1
12034
11664
  cat conftest.err >&5
12035
11665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036
 
  (exit $ac_status); } &&
12037
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12038
 
  { (case "(($ac_try" in
12039
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040
 
  *) ac_try_echo=$ac_try;;
12041
 
esac
12042
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12043
 
  (eval "$ac_try") 2>&5
12044
 
  ac_status=$?
12045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046
 
  (exit $ac_status); }; } &&
12047
 
         { ac_try='test -s conftest$ac_exeext'
12048
 
  { (case "(($ac_try" in
12049
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12050
 
  *) ac_try_echo=$ac_try;;
12051
 
esac
12052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12053
 
  (eval "$ac_try") 2>&5
12054
 
  ac_status=$?
12055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056
 
  (exit $ac_status); }; }; then
 
11666
  (exit $ac_status); } && {
 
11667
         test -z "$ac_cxx_werror_flag" ||
 
11668
         test ! -s conftest.err
 
11669
       } && test -s conftest$ac_exeext &&
 
11670
       $as_test_x conftest$ac_exeext; then
12057
11671
 
12058
11672
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12059
11673
}'`
12067
11681
 
12068
11682
fi
12069
11683
 
12070
 
rm -f core conftest.err conftest.$ac_objext \
 
11684
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12071
11685
      conftest$ac_exeext conftest.$ac_ext
12072
11686
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12073
11687
 
12109
11723
  rm -f conftest.er1
12110
11724
  cat conftest.err >&5
12111
11725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112
 
  (exit $ac_status); } &&
12113
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12114
 
  { (case "(($ac_try" in
12115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12116
 
  *) ac_try_echo=$ac_try;;
12117
 
esac
12118
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12119
 
  (eval "$ac_try") 2>&5
12120
 
  ac_status=$?
12121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122
 
  (exit $ac_status); }; } &&
12123
 
         { ac_try='test -s conftest$ac_exeext'
12124
 
  { (case "(($ac_try" in
12125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12126
 
  *) ac_try_echo=$ac_try;;
12127
 
esac
12128
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12129
 
  (eval "$ac_try") 2>&5
12130
 
  ac_status=$?
12131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132
 
  (exit $ac_status); }; }; then
 
11726
  (exit $ac_status); } && {
 
11727
         test -z "$ac_cxx_werror_flag" ||
 
11728
         test ! -s conftest.err
 
11729
       } && test -s conftest$ac_exeext &&
 
11730
       $as_test_x conftest$ac_exeext; then
12133
11731
 
12134
11732
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12135
11733
}'`
12143
11741
 
12144
11742
fi
12145
11743
 
12146
 
rm -f core conftest.err conftest.$ac_objext \
 
11744
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12147
11745
      conftest$ac_exeext conftest.$ac_ext
12148
11746
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12149
11747
 
13314
12912
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13315
12913
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13316
12914
   -e 's:$: $lt_compiler_flag:'`
13317
 
   (eval echo "\"\$as_me:13317: $lt_compile\"" >&5)
 
12915
   (eval echo "\"\$as_me:12915: $lt_compile\"" >&5)
13318
12916
   (eval "$lt_compile" 2>conftest.err)
13319
12917
   ac_status=$?
13320
12918
   cat conftest.err >&5
13321
 
   echo "$as_me:13321: \$? = $ac_status" >&5
 
12919
   echo "$as_me:12919: \$? = $ac_status" >&5
13322
12920
   if (exit $ac_status) && test -s "$ac_outfile"; then
13323
12921
     # The compiler can only warn and ignore the option if not recognized
13324
12922
     # So say no if there are warnings other than the usual output.
13418
13016
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13419
13017
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13420
13018
   -e 's:$: $lt_compiler_flag:'`
13421
 
   (eval echo "\"\$as_me:13421: $lt_compile\"" >&5)
 
13019
   (eval echo "\"\$as_me:13019: $lt_compile\"" >&5)
13422
13020
   (eval "$lt_compile" 2>out/conftest.err)
13423
13021
   ac_status=$?
13424
13022
   cat out/conftest.err >&5
13425
 
   echo "$as_me:13425: \$? = $ac_status" >&5
 
13023
   echo "$as_me:13023: \$? = $ac_status" >&5
13426
13024
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13427
13025
   then
13428
13026
     # The compiler can only warn and ignore the option if not recognized
14979
14577
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14980
14578
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14981
14579
   -e 's:$: $lt_compiler_flag:'`
14982
 
   (eval echo "\"\$as_me:14982: $lt_compile\"" >&5)
 
14580
   (eval echo "\"\$as_me:14580: $lt_compile\"" >&5)
14983
14581
   (eval "$lt_compile" 2>conftest.err)
14984
14582
   ac_status=$?
14985
14583
   cat conftest.err >&5
14986
 
   echo "$as_me:14986: \$? = $ac_status" >&5
 
14584
   echo "$as_me:14584: \$? = $ac_status" >&5
14987
14585
   if (exit $ac_status) && test -s "$ac_outfile"; then
14988
14586
     # The compiler can only warn and ignore the option if not recognized
14989
14587
     # So say no if there are warnings other than the usual output.
15083
14681
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15084
14682
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15085
14683
   -e 's:$: $lt_compiler_flag:'`
15086
 
   (eval echo "\"\$as_me:15086: $lt_compile\"" >&5)
 
14684
   (eval echo "\"\$as_me:14684: $lt_compile\"" >&5)
15087
14685
   (eval "$lt_compile" 2>out/conftest.err)
15088
14686
   ac_status=$?
15089
14687
   cat out/conftest.err >&5
15090
 
   echo "$as_me:15090: \$? = $ac_status" >&5
 
14688
   echo "$as_me:14688: \$? = $ac_status" >&5
15091
14689
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15092
14690
   then
15093
14691
     # The compiler can only warn and ignore the option if not recognized
15554
15152
  rm -f conftest.er1
15555
15153
  cat conftest.err >&5
15556
15154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557
 
  (exit $ac_status); } &&
15558
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15559
 
  { (case "(($ac_try" in
15560
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15561
 
  *) ac_try_echo=$ac_try;;
15562
 
esac
15563
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15564
 
  (eval "$ac_try") 2>&5
15565
 
  ac_status=$?
15566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567
 
  (exit $ac_status); }; } &&
15568
 
         { ac_try='test -s conftest$ac_exeext'
15569
 
  { (case "(($ac_try" in
15570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15571
 
  *) ac_try_echo=$ac_try;;
15572
 
esac
15573
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15574
 
  (eval "$ac_try") 2>&5
15575
 
  ac_status=$?
15576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577
 
  (exit $ac_status); }; }; then
 
15155
  (exit $ac_status); } && {
 
15156
         test -z "$ac_f77_werror_flag" ||
 
15157
         test ! -s conftest.err
 
15158
       } && test -s conftest$ac_exeext &&
 
15159
       $as_test_x conftest$ac_exeext; then
15578
15160
 
15579
15161
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15580
15162
}'`
15588
15170
 
15589
15171
fi
15590
15172
 
15591
 
rm -f core conftest.err conftest.$ac_objext \
 
15173
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15592
15174
      conftest$ac_exeext conftest.$ac_ext
15593
15175
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15594
15176
 
15619
15201
  rm -f conftest.er1
15620
15202
  cat conftest.err >&5
15621
15203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622
 
  (exit $ac_status); } &&
15623
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15624
 
  { (case "(($ac_try" in
15625
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15626
 
  *) ac_try_echo=$ac_try;;
15627
 
esac
15628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629
 
  (eval "$ac_try") 2>&5
15630
 
  ac_status=$?
15631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632
 
  (exit $ac_status); }; } &&
15633
 
         { ac_try='test -s conftest$ac_exeext'
15634
 
  { (case "(($ac_try" in
15635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15636
 
  *) ac_try_echo=$ac_try;;
15637
 
esac
15638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15639
 
  (eval "$ac_try") 2>&5
15640
 
  ac_status=$?
15641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642
 
  (exit $ac_status); }; }; then
 
15204
  (exit $ac_status); } && {
 
15205
         test -z "$ac_f77_werror_flag" ||
 
15206
         test ! -s conftest.err
 
15207
       } && test -s conftest$ac_exeext &&
 
15208
       $as_test_x conftest$ac_exeext; then
15643
15209
 
15644
15210
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15645
15211
}'`
15653
15219
 
15654
15220
fi
15655
15221
 
15656
 
rm -f core conftest.err conftest.$ac_objext \
 
15222
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15657
15223
      conftest$ac_exeext conftest.$ac_ext
15658
15224
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15659
15225
 
17302
16868
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17303
16869
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17304
16870
   -e 's:$: $lt_compiler_flag:'`
17305
 
   (eval echo "\"\$as_me:17305: $lt_compile\"" >&5)
 
16871
   (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
17306
16872
   (eval "$lt_compile" 2>conftest.err)
17307
16873
   ac_status=$?
17308
16874
   cat conftest.err >&5
17309
 
   echo "$as_me:17309: \$? = $ac_status" >&5
 
16875
   echo "$as_me:16875: \$? = $ac_status" >&5
17310
16876
   if (exit $ac_status) && test -s "$ac_outfile"; then
17311
16877
     # The compiler can only warn and ignore the option if not recognized
17312
16878
     # So say no if there are warnings other than the usual output.
17570
17136
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17571
17137
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17572
17138
   -e 's:$: $lt_compiler_flag:'`
17573
 
   (eval echo "\"\$as_me:17573: $lt_compile\"" >&5)
 
17139
   (eval echo "\"\$as_me:17139: $lt_compile\"" >&5)
17574
17140
   (eval "$lt_compile" 2>conftest.err)
17575
17141
   ac_status=$?
17576
17142
   cat conftest.err >&5
17577
 
   echo "$as_me:17577: \$? = $ac_status" >&5
 
17143
   echo "$as_me:17143: \$? = $ac_status" >&5
17578
17144
   if (exit $ac_status) && test -s "$ac_outfile"; then
17579
17145
     # The compiler can only warn and ignore the option if not recognized
17580
17146
     # So say no if there are warnings other than the usual output.
17674
17240
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17675
17241
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17676
17242
   -e 's:$: $lt_compiler_flag:'`
17677
 
   (eval echo "\"\$as_me:17677: $lt_compile\"" >&5)
 
17243
   (eval echo "\"\$as_me:17243: $lt_compile\"" >&5)
17678
17244
   (eval "$lt_compile" 2>out/conftest.err)
17679
17245
   ac_status=$?
17680
17246
   cat out/conftest.err >&5
17681
 
   echo "$as_me:17681: \$? = $ac_status" >&5
 
17247
   echo "$as_me:17247: \$? = $ac_status" >&5
17682
17248
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17683
17249
   then
17684
17250
     # The compiler can only warn and ignore the option if not recognized
18155
17721
  rm -f conftest.er1
18156
17722
  cat conftest.err >&5
18157
17723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158
 
  (exit $ac_status); } &&
18159
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18160
 
  { (case "(($ac_try" in
18161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18162
 
  *) ac_try_echo=$ac_try;;
18163
 
esac
18164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165
 
  (eval "$ac_try") 2>&5
18166
 
  ac_status=$?
18167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168
 
  (exit $ac_status); }; } &&
18169
 
         { ac_try='test -s conftest$ac_exeext'
18170
 
  { (case "(($ac_try" in
18171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18172
 
  *) ac_try_echo=$ac_try;;
18173
 
esac
18174
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175
 
  (eval "$ac_try") 2>&5
18176
 
  ac_status=$?
18177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178
 
  (exit $ac_status); }; }; then
 
17724
  (exit $ac_status); } && {
 
17725
         test -z "$ac_c_werror_flag" ||
 
17726
         test ! -s conftest.err
 
17727
       } && test -s conftest$ac_exeext &&
 
17728
       $as_test_x conftest$ac_exeext; then
18179
17729
 
18180
17730
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18181
17731
}'`
18189
17739
 
18190
17740
fi
18191
17741
 
18192
 
rm -f core conftest.err conftest.$ac_objext \
 
17742
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18193
17743
      conftest$ac_exeext conftest.$ac_ext
18194
17744
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18195
17745
 
18230
17780
  rm -f conftest.er1
18231
17781
  cat conftest.err >&5
18232
17782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233
 
  (exit $ac_status); } &&
18234
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18235
 
  { (case "(($ac_try" in
18236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237
 
  *) ac_try_echo=$ac_try;;
18238
 
esac
18239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240
 
  (eval "$ac_try") 2>&5
18241
 
  ac_status=$?
18242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243
 
  (exit $ac_status); }; } &&
18244
 
         { ac_try='test -s conftest$ac_exeext'
18245
 
  { (case "(($ac_try" in
18246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247
 
  *) ac_try_echo=$ac_try;;
18248
 
esac
18249
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18250
 
  (eval "$ac_try") 2>&5
18251
 
  ac_status=$?
18252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253
 
  (exit $ac_status); }; }; then
 
17783
  (exit $ac_status); } && {
 
17784
         test -z "$ac_c_werror_flag" ||
 
17785
         test ! -s conftest.err
 
17786
       } && test -s conftest$ac_exeext &&
 
17787
       $as_test_x conftest$ac_exeext; then
18254
17788
 
18255
17789
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18256
17790
}'`
18264
17798
 
18265
17799
fi
18266
17800
 
18267
 
rm -f core conftest.err conftest.$ac_objext \
 
17801
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18268
17802
      conftest$ac_exeext conftest.$ac_ext
18269
17803
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18270
17804
 
20391
19925
 
20392
19926
 
20393
19927
 
 
19928
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
19929
 
20394
19930
 
20395
19931
###########################
20396
19932
# Check target architecture
20429
19965
_ACEOF
20430
19966
 
20431
19967
    ;;
20432
 
  ppc-*-linux* | powerpc-*)
20433
 
    have_ppc=yes
20434
 
 
20435
 
cat >>confdefs.h <<\_ACEOF
20436
 
#define ARCH_PPC 1
 
19968
  ppc-*-* | powerpc-*)
 
19969
    have_ppc=yes
 
19970
 
 
19971
cat >>confdefs.h <<\_ACEOF
 
19972
#define ARCH_PPC 1
 
19973
_ACEOF
 
19974
 
 
19975
    ;;
 
19976
  ppc64-*-* | powerpc64-*)
 
19977
    have_ppc=yes
 
19978
 
 
19979
cat >>confdefs.h <<\_ACEOF
 
19980
#define ARCH_PPC 1
 
19981
_ACEOF
 
19982
 
 
19983
 
 
19984
cat >>confdefs.h <<\_ACEOF
 
19985
#define ARCH_PPC64 1
20437
19986
_ACEOF
20438
19987
 
20439
19988
    ;;
20522
20071
  IFS=$as_save_IFS
20523
20072
  test -z "$as_dir" && as_dir=.
20524
20073
  for ac_exec_ext in '' $ac_executable_extensions; do
20525
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20526
20075
    ac_cv_prog_ms_librarian="yes"
20527
20076
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20528
20077
    break 2
20561
20110
  IFS=$as_save_IFS
20562
20111
  test -z "$as_dir" && as_dir=.
20563
20112
  for ac_exec_ext in '' $ac_executable_extensions; do
20564
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20565
20114
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20566
20115
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20567
20116
    break 2
20601
20150
  IFS=$as_save_IFS
20602
20151
  test -z "$as_dir" && as_dir=.
20603
20152
  for ac_exec_ext in '' $ac_executable_extensions; do
20604
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20605
20154
    ac_cv_prog_ac_ct_WINDRES="windres"
20606
20155
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20607
20156
    break 2
20667
20216
 
20668
20217
 
20669
20218
 
 
20219
 
20670
20220
###############
20671
20221
# Generic stuff
20672
20222
###############
20719
20269
  rm -f conftest.er1
20720
20270
  cat conftest.err >&5
20721
20271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722
 
  (exit $ac_status); } &&
20723
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20724
 
  { (case "(($ac_try" in
20725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20726
 
  *) ac_try_echo=$ac_try;;
20727
 
esac
20728
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20729
 
  (eval "$ac_try") 2>&5
20730
 
  ac_status=$?
20731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732
 
  (exit $ac_status); }; } &&
20733
 
         { ac_try='test -s conftest$ac_exeext'
20734
 
  { (case "(($ac_try" in
20735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20736
 
  *) ac_try_echo=$ac_try;;
20737
 
esac
20738
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20739
 
  (eval "$ac_try") 2>&5
20740
 
  ac_status=$?
20741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742
 
  (exit $ac_status); }; }; then
 
20272
  (exit $ac_status); } && {
 
20273
         test -z "$ac_c_werror_flag" ||
 
20274
         test ! -s conftest.err
 
20275
       } && test -s conftest$ac_exeext &&
 
20276
       $as_test_x conftest$ac_exeext; then
20743
20277
  ac_cv_search_strerror=$ac_res
20744
20278
else
20745
20279
  echo "$as_me: failed program was:" >&5
20748
20282
 
20749
20283
fi
20750
20284
 
20751
 
rm -f core conftest.err conftest.$ac_objext \
 
20285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20752
20286
      conftest$ac_exeext
20753
20287
  if test "${ac_cv_search_strerror+set}" = set; then
20754
20288
  break
20792
20326
  IFS=$as_save_IFS
20793
20327
  test -z "$as_dir" && as_dir=.
20794
20328
  for ac_exec_ext in '' $ac_executable_extensions; do
20795
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20796
20330
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
20797
20331
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20798
20332
    break 2
20832
20366
  IFS=$as_save_IFS
20833
20367
  test -z "$as_dir" && as_dir=.
20834
20368
  for ac_exec_ext in '' $ac_executable_extensions; do
20835
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20836
20370
    ac_cv_prog_ac_ct_CC="gcc"
20837
20371
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20838
20372
    break 2
20889
20423
  IFS=$as_save_IFS
20890
20424
  test -z "$as_dir" && as_dir=.
20891
20425
  for ac_exec_ext in '' $ac_executable_extensions; do
20892
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20426
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20893
20427
    ac_cv_prog_CC="${ac_tool_prefix}cc"
20894
20428
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20895
20429
    break 2
20930
20464
  IFS=$as_save_IFS
20931
20465
  test -z "$as_dir" && as_dir=.
20932
20466
  for ac_exec_ext in '' $ac_executable_extensions; do
20933
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20934
20468
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20935
20469
       ac_prog_rejected=yes
20936
20470
       continue
20988
20522
  IFS=$as_save_IFS
20989
20523
  test -z "$as_dir" && as_dir=.
20990
20524
  for ac_exec_ext in '' $ac_executable_extensions; do
20991
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20525
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20992
20526
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
20993
20527
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20994
20528
    break 2
21032
20566
  IFS=$as_save_IFS
21033
20567
  test -z "$as_dir" && as_dir=.
21034
20568
  for ac_exec_ext in '' $ac_executable_extensions; do
21035
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21036
20570
    ac_cv_prog_ac_ct_CC="$ac_prog"
21037
20571
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21038
20572
    break 2
21152
20686
  rm -f conftest.er1
21153
20687
  cat conftest.err >&5
21154
20688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155
 
  (exit $ac_status); } &&
21156
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21157
 
  { (case "(($ac_try" in
21158
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159
 
  *) ac_try_echo=$ac_try;;
21160
 
esac
21161
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162
 
  (eval "$ac_try") 2>&5
21163
 
  ac_status=$?
21164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165
 
  (exit $ac_status); }; } &&
21166
 
         { ac_try='test -s conftest.$ac_objext'
21167
 
  { (case "(($ac_try" in
21168
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21169
 
  *) ac_try_echo=$ac_try;;
21170
 
esac
21171
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172
 
  (eval "$ac_try") 2>&5
21173
 
  ac_status=$?
21174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175
 
  (exit $ac_status); }; }; then
 
20689
  (exit $ac_status); } && {
 
20690
         test -z "$ac_c_werror_flag" ||
 
20691
         test ! -s conftest.err
 
20692
       } && test -s conftest.$ac_objext; then
21176
20693
  ac_compiler_gnu=yes
21177
20694
else
21178
20695
  echo "$as_me: failed program was:" >&5
21227
20744
  rm -f conftest.er1
21228
20745
  cat conftest.err >&5
21229
20746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230
 
  (exit $ac_status); } &&
21231
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21232
 
  { (case "(($ac_try" in
21233
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21234
 
  *) ac_try_echo=$ac_try;;
21235
 
esac
21236
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21237
 
  (eval "$ac_try") 2>&5
21238
 
  ac_status=$?
21239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240
 
  (exit $ac_status); }; } &&
21241
 
         { ac_try='test -s conftest.$ac_objext'
21242
 
  { (case "(($ac_try" in
21243
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244
 
  *) ac_try_echo=$ac_try;;
21245
 
esac
21246
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247
 
  (eval "$ac_try") 2>&5
21248
 
  ac_status=$?
21249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250
 
  (exit $ac_status); }; }; then
 
20747
  (exit $ac_status); } && {
 
20748
         test -z "$ac_c_werror_flag" ||
 
20749
         test ! -s conftest.err
 
20750
       } && test -s conftest.$ac_objext; then
21251
20751
  ac_cv_prog_cc_g=yes
21252
20752
else
21253
20753
  echo "$as_me: failed program was:" >&5
21282
20782
  rm -f conftest.er1
21283
20783
  cat conftest.err >&5
21284
20784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285
 
  (exit $ac_status); } &&
21286
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21287
 
  { (case "(($ac_try" in
21288
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21289
 
  *) ac_try_echo=$ac_try;;
21290
 
esac
21291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21292
 
  (eval "$ac_try") 2>&5
21293
 
  ac_status=$?
21294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295
 
  (exit $ac_status); }; } &&
21296
 
         { ac_try='test -s conftest.$ac_objext'
21297
 
  { (case "(($ac_try" in
21298
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299
 
  *) ac_try_echo=$ac_try;;
21300
 
esac
21301
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302
 
  (eval "$ac_try") 2>&5
21303
 
  ac_status=$?
21304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305
 
  (exit $ac_status); }; }; then
 
20785
  (exit $ac_status); } && {
 
20786
         test -z "$ac_c_werror_flag" ||
 
20787
         test ! -s conftest.err
 
20788
       } && test -s conftest.$ac_objext; then
21306
20789
  :
21307
20790
else
21308
20791
  echo "$as_me: failed program was:" >&5
21338
20821
  rm -f conftest.er1
21339
20822
  cat conftest.err >&5
21340
20823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341
 
  (exit $ac_status); } &&
21342
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21343
 
  { (case "(($ac_try" in
21344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21345
 
  *) ac_try_echo=$ac_try;;
21346
 
esac
21347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21348
 
  (eval "$ac_try") 2>&5
21349
 
  ac_status=$?
21350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351
 
  (exit $ac_status); }; } &&
21352
 
         { ac_try='test -s conftest.$ac_objext'
21353
 
  { (case "(($ac_try" in
21354
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21355
 
  *) ac_try_echo=$ac_try;;
21356
 
esac
21357
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21358
 
  (eval "$ac_try") 2>&5
21359
 
  ac_status=$?
21360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361
 
  (exit $ac_status); }; }; then
 
20824
  (exit $ac_status); } && {
 
20825
         test -z "$ac_c_werror_flag" ||
 
20826
         test ! -s conftest.err
 
20827
       } && test -s conftest.$ac_objext; then
21362
20828
  ac_cv_prog_cc_g=yes
21363
20829
else
21364
20830
  echo "$as_me: failed program was:" >&5
21474
20940
  rm -f conftest.er1
21475
20941
  cat conftest.err >&5
21476
20942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477
 
  (exit $ac_status); } &&
21478
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21479
 
  { (case "(($ac_try" in
21480
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21481
 
  *) ac_try_echo=$ac_try;;
21482
 
esac
21483
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21484
 
  (eval "$ac_try") 2>&5
21485
 
  ac_status=$?
21486
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487
 
  (exit $ac_status); }; } &&
21488
 
         { ac_try='test -s conftest.$ac_objext'
21489
 
  { (case "(($ac_try" in
21490
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491
 
  *) ac_try_echo=$ac_try;;
21492
 
esac
21493
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494
 
  (eval "$ac_try") 2>&5
21495
 
  ac_status=$?
21496
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497
 
  (exit $ac_status); }; }; then
 
20943
  (exit $ac_status); } && {
 
20944
         test -z "$ac_c_werror_flag" ||
 
20945
         test ! -s conftest.err
 
20946
       } && test -s conftest.$ac_objext; then
21498
20947
  ac_cv_prog_cc_c89=$ac_arg
21499
20948
else
21500
20949
  echo "$as_me: failed program was:" >&5
21679
21128
    # by default.
21680
21129
    for ac_prog in ginstall scoinst install; do
21681
21130
      for ac_exec_ext in '' $ac_executable_extensions; do
21682
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
21131
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
21683
21132
          if test $ac_prog = install &&
21684
21133
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21685
21134
            # AIX install.  It has an incompatible calling convention.
21808
21257
  rm -f conftest.er1
21809
21258
  cat conftest.err >&5
21810
21259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811
 
  (exit $ac_status); } &&
21812
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21813
 
  { (case "(($ac_try" in
21814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815
 
  *) ac_try_echo=$ac_try;;
21816
 
esac
21817
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818
 
  (eval "$ac_try") 2>&5
21819
 
  ac_status=$?
21820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821
 
  (exit $ac_status); }; } &&
21822
 
         { ac_try='test -s conftest.$ac_objext'
21823
 
  { (case "(($ac_try" in
21824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21825
 
  *) ac_try_echo=$ac_try;;
21826
 
esac
21827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21828
 
  (eval "$ac_try") 2>&5
21829
 
  ac_status=$?
21830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831
 
  (exit $ac_status); }; }; then
 
21260
  (exit $ac_status); } && {
 
21261
         test -z "$ac_c_werror_flag" ||
 
21262
         test ! -s conftest.err
 
21263
       } && test -s conftest.$ac_objext; then
21832
21264
  break
21833
21265
else
21834
21266
  echo "$as_me: failed program was:" >&5
21852
21284
  rm -f conftest.er1
21853
21285
  cat conftest.err >&5
21854
21286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855
 
  (exit $ac_status); } &&
21856
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21857
 
  { (case "(($ac_try" in
21858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859
 
  *) ac_try_echo=$ac_try;;
21860
 
esac
21861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862
 
  (eval "$ac_try") 2>&5
21863
 
  ac_status=$?
21864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865
 
  (exit $ac_status); }; } &&
21866
 
         { ac_try='test -s conftest.$ac_objext'
21867
 
  { (case "(($ac_try" in
21868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869
 
  *) ac_try_echo=$ac_try;;
21870
 
esac
21871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872
 
  (eval "$ac_try") 2>&5
21873
 
  ac_status=$?
21874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875
 
  (exit $ac_status); }; }; then
 
21287
  (exit $ac_status); } && {
 
21288
         test -z "$ac_c_werror_flag" ||
 
21289
         test ! -s conftest.err
 
21290
       } && test -s conftest.$ac_objext; then
21876
21291
  ac_cv_sys_largefile_CC=' -n32'; break
21877
21292
else
21878
21293
  echo "$as_me: failed program was:" >&5
21900
21315
  echo $ECHO_N "(cached) $ECHO_C" >&6
21901
21316
else
21902
21317
  while :; do
21903
 
  ac_cv_sys_file_offset_bits=no
21904
21318
  cat >conftest.$ac_ext <<_ACEOF
21905
21319
/* confdefs.h.  */
21906
21320
_ACEOF
21937
21351
  rm -f conftest.er1
21938
21352
  cat conftest.err >&5
21939
21353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940
 
  (exit $ac_status); } &&
21941
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21942
 
  { (case "(($ac_try" in
21943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21944
 
  *) ac_try_echo=$ac_try;;
21945
 
esac
21946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947
 
  (eval "$ac_try") 2>&5
21948
 
  ac_status=$?
21949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950
 
  (exit $ac_status); }; } &&
21951
 
         { ac_try='test -s conftest.$ac_objext'
21952
 
  { (case "(($ac_try" in
21953
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21954
 
  *) ac_try_echo=$ac_try;;
21955
 
esac
21956
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957
 
  (eval "$ac_try") 2>&5
21958
 
  ac_status=$?
21959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960
 
  (exit $ac_status); }; }; then
21961
 
  break
 
21354
  (exit $ac_status); } && {
 
21355
         test -z "$ac_c_werror_flag" ||
 
21356
         test ! -s conftest.err
 
21357
       } && test -s conftest.$ac_objext; then
 
21358
  ac_cv_sys_file_offset_bits=no; break
21962
21359
else
21963
21360
  echo "$as_me: failed program was:" >&5
21964
21361
sed 's/^/| /' conftest.$ac_ext >&5
22004
21401
  rm -f conftest.er1
22005
21402
  cat conftest.err >&5
22006
21403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007
 
  (exit $ac_status); } &&
22008
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22009
 
  { (case "(($ac_try" in
22010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22011
 
  *) ac_try_echo=$ac_try;;
22012
 
esac
22013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22014
 
  (eval "$ac_try") 2>&5
22015
 
  ac_status=$?
22016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017
 
  (exit $ac_status); }; } &&
22018
 
         { ac_try='test -s conftest.$ac_objext'
22019
 
  { (case "(($ac_try" in
22020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021
 
  *) ac_try_echo=$ac_try;;
22022
 
esac
22023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024
 
  (eval "$ac_try") 2>&5
22025
 
  ac_status=$?
22026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027
 
  (exit $ac_status); }; }; then
 
21404
  (exit $ac_status); } && {
 
21405
         test -z "$ac_c_werror_flag" ||
 
21406
         test ! -s conftest.err
 
21407
       } && test -s conftest.$ac_objext; then
22028
21408
  ac_cv_sys_file_offset_bits=64; break
22029
21409
else
22030
21410
  echo "$as_me: failed program was:" >&5
22034
21414
fi
22035
21415
 
22036
21416
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21417
  ac_cv_sys_file_offset_bits=unknown
22037
21418
  break
22038
21419
done
22039
21420
fi
22040
21421
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22041
21422
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22042
 
if test "$ac_cv_sys_file_offset_bits" != no; then
22043
 
 
 
21423
case $ac_cv_sys_file_offset_bits in #(
 
21424
  no | unknown) ;;
 
21425
  *)
22044
21426
cat >>confdefs.h <<_ACEOF
22045
21427
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22046
21428
_ACEOF
22047
 
 
22048
 
fi
 
21429
;;
 
21430
esac
22049
21431
rm -f conftest*
22050
 
  { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
21432
  if test $ac_cv_sys_file_offset_bits = unknown; then
 
21433
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22051
21434
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22052
21435
if test "${ac_cv_sys_large_files+set}" = set; then
22053
21436
  echo $ECHO_N "(cached) $ECHO_C" >&6
22054
21437
else
22055
21438
  while :; do
22056
 
  ac_cv_sys_large_files=no
22057
21439
  cat >conftest.$ac_ext <<_ACEOF
22058
21440
/* confdefs.h.  */
22059
21441
_ACEOF
22090
21472
  rm -f conftest.er1
22091
21473
  cat conftest.err >&5
22092
21474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093
 
  (exit $ac_status); } &&
22094
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22095
 
  { (case "(($ac_try" in
22096
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22097
 
  *) ac_try_echo=$ac_try;;
22098
 
esac
22099
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100
 
  (eval "$ac_try") 2>&5
22101
 
  ac_status=$?
22102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103
 
  (exit $ac_status); }; } &&
22104
 
         { ac_try='test -s conftest.$ac_objext'
22105
 
  { (case "(($ac_try" in
22106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22107
 
  *) ac_try_echo=$ac_try;;
22108
 
esac
22109
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22110
 
  (eval "$ac_try") 2>&5
22111
 
  ac_status=$?
22112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113
 
  (exit $ac_status); }; }; then
22114
 
  break
 
21475
  (exit $ac_status); } && {
 
21476
         test -z "$ac_c_werror_flag" ||
 
21477
         test ! -s conftest.err
 
21478
       } && test -s conftest.$ac_objext; then
 
21479
  ac_cv_sys_large_files=no; break
22115
21480
else
22116
21481
  echo "$as_me: failed program was:" >&5
22117
21482
sed 's/^/| /' conftest.$ac_ext >&5
22157
21522
  rm -f conftest.er1
22158
21523
  cat conftest.err >&5
22159
21524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160
 
  (exit $ac_status); } &&
22161
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22162
 
  { (case "(($ac_try" in
22163
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164
 
  *) ac_try_echo=$ac_try;;
22165
 
esac
22166
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167
 
  (eval "$ac_try") 2>&5
22168
 
  ac_status=$?
22169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170
 
  (exit $ac_status); }; } &&
22171
 
         { ac_try='test -s conftest.$ac_objext'
22172
 
  { (case "(($ac_try" in
22173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174
 
  *) ac_try_echo=$ac_try;;
22175
 
esac
22176
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177
 
  (eval "$ac_try") 2>&5
22178
 
  ac_status=$?
22179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180
 
  (exit $ac_status); }; }; then
 
21525
  (exit $ac_status); } && {
 
21526
         test -z "$ac_c_werror_flag" ||
 
21527
         test ! -s conftest.err
 
21528
       } && test -s conftest.$ac_objext; then
22181
21529
  ac_cv_sys_large_files=1; break
22182
21530
else
22183
21531
  echo "$as_me: failed program was:" >&5
22187
21535
fi
22188
21536
 
22189
21537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21538
  ac_cv_sys_large_files=unknown
22190
21539
  break
22191
21540
done
22192
21541
fi
22193
21542
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22194
21543
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22195
 
if test "$ac_cv_sys_large_files" != no; then
22196
 
 
 
21544
case $ac_cv_sys_large_files in #(
 
21545
  no | unknown) ;;
 
21546
  *)
22197
21547
cat >>confdefs.h <<_ACEOF
22198
21548
#define _LARGE_FILES $ac_cv_sys_large_files
22199
21549
_ACEOF
22200
 
 
22201
 
fi
 
21550
;;
 
21551
esac
22202
21552
rm -f conftest*
 
21553
  fi
22203
21554
fi
22204
21555
 
22205
21556
 
22268
21619
  fi
22269
21620
fi
22270
21621
 
 
21622
 
 
21623
# If possible, warn if C99isms are used
 
21624
 
 
21625
  extra_warnings=
 
21626
  for flag in '-Wdeclaration-after-statement'; do
 
21627
    if test -z "$extra_warnings"; then
 
21628
      extra_warnings_save_CFLAGS="$CFLAGS"
 
21629
      CFLAGS="$CFLAGS $flag"
 
21630
      { echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
 
21631
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
 
21632
      cat >conftest.$ac_ext <<_ACEOF
 
21633
/* confdefs.h.  */
 
21634
_ACEOF
 
21635
cat confdefs.h >>conftest.$ac_ext
 
21636
cat >>conftest.$ac_ext <<_ACEOF
 
21637
/* end confdefs.h.  */
 
21638
 
 
21639
int
 
21640
main ()
 
21641
{
 
21642
 
 
21643
  ;
 
21644
  return 0;
 
21645
}
 
21646
_ACEOF
 
21647
rm -f conftest.$ac_objext
 
21648
if { (ac_try="$ac_compile"
 
21649
case "(($ac_try" in
 
21650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21651
  *) ac_try_echo=$ac_try;;
 
21652
esac
 
21653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21654
  (eval "$ac_compile") 2>conftest.er1
 
21655
  ac_status=$?
 
21656
  grep -v '^ *+' conftest.er1 >conftest.err
 
21657
  rm -f conftest.er1
 
21658
  cat conftest.err >&5
 
21659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21660
  (exit $ac_status); } && {
 
21661
         test -z "$ac_c_werror_flag" ||
 
21662
         test ! -s conftest.err
 
21663
       } && test -s conftest.$ac_objext; then
 
21664
  extra_warnings_works=yes
 
21665
else
 
21666
  echo "$as_me: failed program was:" >&5
 
21667
sed 's/^/| /' conftest.$ac_ext >&5
 
21668
 
 
21669
        extra_warnings_works=no
 
21670
fi
 
21671
 
 
21672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21673
      { echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
 
21674
echo "${ECHO_T}$extra_warnings_works" >&6; }
 
21675
      CFLAGS="$extra_warnings_save_CFLAGS"
 
21676
      if test "x$extra_warnings_works" = "xyes"; then
 
21677
        extra_warnings="$flag"
 
21678
      fi
 
21679
    fi
 
21680
  done
 
21681
 
 
21682
CFLAGS="$CFLAGS $extra_warnings"
 
21683
 
 
21684
 
 
21685
  extra_warnings=
 
21686
  for flag in '-Wmissing-prototypes'; do
 
21687
    if test -z "$extra_warnings"; then
 
21688
      extra_warnings_save_CFLAGS="$CFLAGS"
 
21689
      CFLAGS="$CFLAGS $flag"
 
21690
      { echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
 
21691
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
 
21692
      cat >conftest.$ac_ext <<_ACEOF
 
21693
/* confdefs.h.  */
 
21694
_ACEOF
 
21695
cat confdefs.h >>conftest.$ac_ext
 
21696
cat >>conftest.$ac_ext <<_ACEOF
 
21697
/* end confdefs.h.  */
 
21698
 
 
21699
int
 
21700
main ()
 
21701
{
 
21702
 
 
21703
  ;
 
21704
  return 0;
 
21705
}
 
21706
_ACEOF
 
21707
rm -f conftest.$ac_objext
 
21708
if { (ac_try="$ac_compile"
 
21709
case "(($ac_try" in
 
21710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21711
  *) ac_try_echo=$ac_try;;
 
21712
esac
 
21713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21714
  (eval "$ac_compile") 2>conftest.er1
 
21715
  ac_status=$?
 
21716
  grep -v '^ *+' conftest.er1 >conftest.err
 
21717
  rm -f conftest.er1
 
21718
  cat conftest.err >&5
 
21719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21720
  (exit $ac_status); } && {
 
21721
         test -z "$ac_c_werror_flag" ||
 
21722
         test ! -s conftest.err
 
21723
       } && test -s conftest.$ac_objext; then
 
21724
  extra_warnings_works=yes
 
21725
else
 
21726
  echo "$as_me: failed program was:" >&5
 
21727
sed 's/^/| /' conftest.$ac_ext >&5
 
21728
 
 
21729
        extra_warnings_works=no
 
21730
fi
 
21731
 
 
21732
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21733
      { echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
 
21734
echo "${ECHO_T}$extra_warnings_works" >&6; }
 
21735
      CFLAGS="$extra_warnings_save_CFLAGS"
 
21736
      if test "x$extra_warnings_works" = "xyes"; then
 
21737
        extra_warnings="$flag"
 
21738
      fi
 
21739
    fi
 
21740
  done
 
21741
 
 
21742
CFLAGS="$CFLAGS $extra_warnings"
 
21743
 
 
21744
 
 
21745
  extra_warnings=
 
21746
  for flag in '-Wmissing-declarations'; do
 
21747
    if test -z "$extra_warnings"; then
 
21748
      extra_warnings_save_CFLAGS="$CFLAGS"
 
21749
      CFLAGS="$CFLAGS $flag"
 
21750
      { echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
 
21751
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
 
21752
      cat >conftest.$ac_ext <<_ACEOF
 
21753
/* confdefs.h.  */
 
21754
_ACEOF
 
21755
cat confdefs.h >>conftest.$ac_ext
 
21756
cat >>conftest.$ac_ext <<_ACEOF
 
21757
/* end confdefs.h.  */
 
21758
 
 
21759
int
 
21760
main ()
 
21761
{
 
21762
 
 
21763
  ;
 
21764
  return 0;
 
21765
}
 
21766
_ACEOF
 
21767
rm -f conftest.$ac_objext
 
21768
if { (ac_try="$ac_compile"
 
21769
case "(($ac_try" in
 
21770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21771
  *) ac_try_echo=$ac_try;;
 
21772
esac
 
21773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21774
  (eval "$ac_compile") 2>conftest.er1
 
21775
  ac_status=$?
 
21776
  grep -v '^ *+' conftest.er1 >conftest.err
 
21777
  rm -f conftest.er1
 
21778
  cat conftest.err >&5
 
21779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21780
  (exit $ac_status); } && {
 
21781
         test -z "$ac_c_werror_flag" ||
 
21782
         test ! -s conftest.err
 
21783
       } && test -s conftest.$ac_objext; then
 
21784
  extra_warnings_works=yes
 
21785
else
 
21786
  echo "$as_me: failed program was:" >&5
 
21787
sed 's/^/| /' conftest.$ac_ext >&5
 
21788
 
 
21789
        extra_warnings_works=no
 
21790
fi
 
21791
 
 
21792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21793
      { echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
 
21794
echo "${ECHO_T}$extra_warnings_works" >&6; }
 
21795
      CFLAGS="$extra_warnings_save_CFLAGS"
 
21796
      if test "x$extra_warnings_works" = "xyes"; then
 
21797
        extra_warnings="$flag"
 
21798
      fi
 
21799
    fi
 
21800
  done
 
21801
 
 
21802
CFLAGS="$CFLAGS $extra_warnings"
 
21803
 
 
21804
 
 
21805
  extra_warnings=
 
21806
  for flag in '-Winit-self'; do
 
21807
    if test -z "$extra_warnings"; then
 
21808
      extra_warnings_save_CFLAGS="$CFLAGS"
 
21809
      CFLAGS="$CFLAGS $flag"
 
21810
      { echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
 
21811
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
 
21812
      cat >conftest.$ac_ext <<_ACEOF
 
21813
/* confdefs.h.  */
 
21814
_ACEOF
 
21815
cat confdefs.h >>conftest.$ac_ext
 
21816
cat >>conftest.$ac_ext <<_ACEOF
 
21817
/* end confdefs.h.  */
 
21818
 
 
21819
int
 
21820
main ()
 
21821
{
 
21822
 
 
21823
  ;
 
21824
  return 0;
 
21825
}
 
21826
_ACEOF
 
21827
rm -f conftest.$ac_objext
 
21828
if { (ac_try="$ac_compile"
 
21829
case "(($ac_try" in
 
21830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21831
  *) ac_try_echo=$ac_try;;
 
21832
esac
 
21833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21834
  (eval "$ac_compile") 2>conftest.er1
 
21835
  ac_status=$?
 
21836
  grep -v '^ *+' conftest.er1 >conftest.err
 
21837
  rm -f conftest.er1
 
21838
  cat conftest.err >&5
 
21839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21840
  (exit $ac_status); } && {
 
21841
         test -z "$ac_c_werror_flag" ||
 
21842
         test ! -s conftest.err
 
21843
       } && test -s conftest.$ac_objext; then
 
21844
  extra_warnings_works=yes
 
21845
else
 
21846
  echo "$as_me: failed program was:" >&5
 
21847
sed 's/^/| /' conftest.$ac_ext >&5
 
21848
 
 
21849
        extra_warnings_works=no
 
21850
fi
 
21851
 
 
21852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21853
      { echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
 
21854
echo "${ECHO_T}$extra_warnings_works" >&6; }
 
21855
      CFLAGS="$extra_warnings_save_CFLAGS"
 
21856
      if test "x$extra_warnings_works" = "xyes"; then
 
21857
        extra_warnings="$flag"
 
21858
      fi
 
21859
    fi
 
21860
  done
 
21861
 
 
21862
CFLAGS="$CFLAGS $extra_warnings"
 
21863
 
 
21864
 
 
21865
  extra_warnings=
 
21866
  for flag in '-Wpointer-arith'; do
 
21867
    if test -z "$extra_warnings"; then
 
21868
      extra_warnings_save_CFLAGS="$CFLAGS"
 
21869
      CFLAGS="$CFLAGS $flag"
 
21870
      { echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
 
21871
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
 
21872
      cat >conftest.$ac_ext <<_ACEOF
 
21873
/* confdefs.h.  */
 
21874
_ACEOF
 
21875
cat confdefs.h >>conftest.$ac_ext
 
21876
cat >>conftest.$ac_ext <<_ACEOF
 
21877
/* end confdefs.h.  */
 
21878
 
 
21879
int
 
21880
main ()
 
21881
{
 
21882
 
 
21883
  ;
 
21884
  return 0;
 
21885
}
 
21886
_ACEOF
 
21887
rm -f conftest.$ac_objext
 
21888
if { (ac_try="$ac_compile"
 
21889
case "(($ac_try" in
 
21890
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21891
  *) ac_try_echo=$ac_try;;
 
21892
esac
 
21893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21894
  (eval "$ac_compile") 2>conftest.er1
 
21895
  ac_status=$?
 
21896
  grep -v '^ *+' conftest.er1 >conftest.err
 
21897
  rm -f conftest.er1
 
21898
  cat conftest.err >&5
 
21899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21900
  (exit $ac_status); } && {
 
21901
         test -z "$ac_c_werror_flag" ||
 
21902
         test ! -s conftest.err
 
21903
       } && test -s conftest.$ac_objext; then
 
21904
  extra_warnings_works=yes
 
21905
else
 
21906
  echo "$as_me: failed program was:" >&5
 
21907
sed 's/^/| /' conftest.$ac_ext >&5
 
21908
 
 
21909
        extra_warnings_works=no
 
21910
fi
 
21911
 
 
21912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21913
      { echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
 
21914
echo "${ECHO_T}$extra_warnings_works" >&6; }
 
21915
      CFLAGS="$extra_warnings_save_CFLAGS"
 
21916
      if test "x$extra_warnings_works" = "xyes"; then
 
21917
        extra_warnings="$flag"
 
21918
      fi
 
21919
    fi
 
21920
  done
 
21921
 
 
21922
CFLAGS="$CFLAGS $extra_warnings"
 
21923
 
 
21924
 
22271
21925
# Ensure MSVC-compatible struct packing convention is used when
22272
21926
# compiling for Win32 with gcc.
22273
21927
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
22307
21961
  fi
22308
21962
fi
22309
21963
 
22310
 
# Honor aclocal flags
22311
 
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
22312
 
 
22313
21964
 
22314
21965
 
22315
21966
 
22355
22006
  rm -f conftest.er1
22356
22007
  cat conftest.err >&5
22357
22008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358
 
  (exit $ac_status); } &&
22359
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22360
 
  { (case "(($ac_try" in
22361
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22362
 
  *) ac_try_echo=$ac_try;;
22363
 
esac
22364
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22365
 
  (eval "$ac_try") 2>&5
22366
 
  ac_status=$?
22367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368
 
  (exit $ac_status); }; } &&
22369
 
         { ac_try='test -s conftest.$ac_objext'
22370
 
  { (case "(($ac_try" in
22371
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22372
 
  *) ac_try_echo=$ac_try;;
22373
 
esac
22374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22375
 
  (eval "$ac_try") 2>&5
22376
 
  ac_status=$?
22377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378
 
  (exit $ac_status); }; }; then
 
22009
  (exit $ac_status); } && {
 
22010
         test -z "$ac_c_werror_flag" ||
 
22011
         test ! -s conftest.err
 
22012
       } && test -s conftest.$ac_objext; then
22379
22013
  eval "$as_ac_Header=yes"
22380
22014
else
22381
22015
  echo "$as_me: failed program was:" >&5
22448
22082
  rm -f conftest.er1
22449
22083
  cat conftest.err >&5
22450
22084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451
 
  (exit $ac_status); } &&
22452
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22453
 
  { (case "(($ac_try" in
22454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455
 
  *) ac_try_echo=$ac_try;;
22456
 
esac
22457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458
 
  (eval "$ac_try") 2>&5
22459
 
  ac_status=$?
22460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461
 
  (exit $ac_status); }; } &&
22462
 
         { ac_try='test -s conftest$ac_exeext'
22463
 
  { (case "(($ac_try" in
22464
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22465
 
  *) ac_try_echo=$ac_try;;
22466
 
esac
22467
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468
 
  (eval "$ac_try") 2>&5
22469
 
  ac_status=$?
22470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471
 
  (exit $ac_status); }; }; then
 
22085
  (exit $ac_status); } && {
 
22086
         test -z "$ac_c_werror_flag" ||
 
22087
         test ! -s conftest.err
 
22088
       } && test -s conftest$ac_exeext &&
 
22089
       $as_test_x conftest$ac_exeext; then
22472
22090
  ac_cv_search_opendir=$ac_res
22473
22091
else
22474
22092
  echo "$as_me: failed program was:" >&5
22477
22095
 
22478
22096
fi
22479
22097
 
22480
 
rm -f core conftest.err conftest.$ac_objext \
 
22098
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22481
22099
      conftest$ac_exeext
22482
22100
  if test "${ac_cv_search_opendir+set}" = set; then
22483
22101
  break
22548
22166
  rm -f conftest.er1
22549
22167
  cat conftest.err >&5
22550
22168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551
 
  (exit $ac_status); } &&
22552
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22553
 
  { (case "(($ac_try" in
22554
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22555
 
  *) ac_try_echo=$ac_try;;
22556
 
esac
22557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22558
 
  (eval "$ac_try") 2>&5
22559
 
  ac_status=$?
22560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561
 
  (exit $ac_status); }; } &&
22562
 
         { ac_try='test -s conftest$ac_exeext'
22563
 
  { (case "(($ac_try" in
22564
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565
 
  *) ac_try_echo=$ac_try;;
22566
 
esac
22567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22568
 
  (eval "$ac_try") 2>&5
22569
 
  ac_status=$?
22570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571
 
  (exit $ac_status); }; }; then
 
22169
  (exit $ac_status); } && {
 
22170
         test -z "$ac_c_werror_flag" ||
 
22171
         test ! -s conftest.err
 
22172
       } && test -s conftest$ac_exeext &&
 
22173
       $as_test_x conftest$ac_exeext; then
22572
22174
  ac_cv_search_opendir=$ac_res
22573
22175
else
22574
22176
  echo "$as_me: failed program was:" >&5
22577
22179
 
22578
22180
fi
22579
22181
 
22580
 
rm -f core conftest.err conftest.$ac_objext \
 
22182
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22581
22183
      conftest$ac_exeext
22582
22184
  if test "${ac_cv_search_opendir+set}" = set; then
22583
22185
  break
22638
22240
  rm -f conftest.er1
22639
22241
  cat conftest.err >&5
22640
22242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641
 
  (exit $ac_status); } &&
22642
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22643
 
  { (case "(($ac_try" in
22644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22645
 
  *) ac_try_echo=$ac_try;;
22646
 
esac
22647
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22648
 
  (eval "$ac_try") 2>&5
22649
 
  ac_status=$?
22650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651
 
  (exit $ac_status); }; } &&
22652
 
         { ac_try='test -s conftest.$ac_objext'
22653
 
  { (case "(($ac_try" in
22654
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655
 
  *) ac_try_echo=$ac_try;;
22656
 
esac
22657
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658
 
  (eval "$ac_try") 2>&5
22659
 
  ac_status=$?
22660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661
 
  (exit $ac_status); }; }; then
 
22243
  (exit $ac_status); } && {
 
22244
         test -z "$ac_c_werror_flag" ||
 
22245
         test ! -s conftest.err
 
22246
       } && test -s conftest.$ac_objext; then
22662
22247
  ac_cv_header_stdc=yes
22663
22248
else
22664
22249
  echo "$as_me: failed program was:" >&5
22835
22420
  rm -f conftest.er1
22836
22421
  cat conftest.err >&5
22837
22422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838
 
  (exit $ac_status); } &&
22839
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22840
 
  { (case "(($ac_try" in
22841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22842
 
  *) ac_try_echo=$ac_try;;
22843
 
esac
22844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22845
 
  (eval "$ac_try") 2>&5
22846
 
  ac_status=$?
22847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848
 
  (exit $ac_status); }; } &&
22849
 
         { ac_try='test -s conftest.$ac_objext'
22850
 
  { (case "(($ac_try" in
22851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852
 
  *) ac_try_echo=$ac_try;;
22853
 
esac
22854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855
 
  (eval "$ac_try") 2>&5
22856
 
  ac_status=$?
22857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858
 
  (exit $ac_status); }; }; then
 
22423
  (exit $ac_status); } && {
 
22424
         test -z "$ac_c_werror_flag" ||
 
22425
         test ! -s conftest.err
 
22426
       } && test -s conftest.$ac_objext; then
22859
22427
  ac_cv_header_sys_wait_h=yes
22860
22428
else
22861
22429
  echo "$as_me: failed program was:" >&5
22913
22481
  rm -f conftest.er1
22914
22482
  cat conftest.err >&5
22915
22483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916
 
  (exit $ac_status); } &&
22917
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22918
 
  { (case "(($ac_try" in
22919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22920
 
  *) ac_try_echo=$ac_try;;
22921
 
esac
22922
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22923
 
  (eval "$ac_try") 2>&5
22924
 
  ac_status=$?
22925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926
 
  (exit $ac_status); }; } &&
22927
 
         { ac_try='test -s conftest.$ac_objext'
22928
 
  { (case "(($ac_try" in
22929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930
 
  *) ac_try_echo=$ac_try;;
22931
 
esac
22932
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22933
 
  (eval "$ac_try") 2>&5
22934
 
  ac_status=$?
22935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936
 
  (exit $ac_status); }; }; then
 
22484
  (exit $ac_status); } && {
 
22485
         test -z "$ac_c_werror_flag" ||
 
22486
         test ! -s conftest.err
 
22487
       } && test -s conftest.$ac_objext; then
22937
22488
  ac_cv_header_time=yes
22938
22489
else
22939
22490
  echo "$as_me: failed program was:" >&5
22998
22549
  rm -f conftest.er1
22999
22550
  cat conftest.err >&5
23000
22551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001
 
  (exit $ac_status); } &&
23002
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23003
 
  { (case "(($ac_try" in
23004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005
 
  *) ac_try_echo=$ac_try;;
23006
 
esac
23007
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008
 
  (eval "$ac_try") 2>&5
23009
 
  ac_status=$?
23010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011
 
  (exit $ac_status); }; } &&
23012
 
         { ac_try='test -s conftest.$ac_objext'
23013
 
  { (case "(($ac_try" in
23014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015
 
  *) ac_try_echo=$ac_try;;
23016
 
esac
23017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018
 
  (eval "$ac_try") 2>&5
23019
 
  ac_status=$?
23020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021
 
  (exit $ac_status); }; }; then
 
22552
  (exit $ac_status); } && {
 
22553
         test -z "$ac_c_werror_flag" ||
 
22554
         test ! -s conftest.err
 
22555
       } && test -s conftest.$ac_objext; then
23022
22556
  ac_header_compiler=yes
23023
22557
else
23024
22558
  echo "$as_me: failed program was:" >&5
23054
22588
  rm -f conftest.er1
23055
22589
  cat conftest.err >&5
23056
22590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057
 
  (exit $ac_status); } >/dev/null; then
23058
 
  if test -s conftest.err; then
23059
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23060
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23061
 
  else
23062
 
    ac_cpp_err=
23063
 
  fi
23064
 
else
23065
 
  ac_cpp_err=yes
23066
 
fi
23067
 
if test -z "$ac_cpp_err"; then
 
22591
  (exit $ac_status); } >/dev/null && {
 
22592
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22593
         test ! -s conftest.err
 
22594
       }; then
23068
22595
  ac_header_preproc=yes
23069
22596
else
23070
22597
  echo "$as_me: failed program was:" >&5
23166
22693
  rm -f conftest.er1
23167
22694
  cat conftest.err >&5
23168
22695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169
 
  (exit $ac_status); } &&
23170
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23171
 
  { (case "(($ac_try" in
23172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173
 
  *) ac_try_echo=$ac_try;;
23174
 
esac
23175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176
 
  (eval "$ac_try") 2>&5
23177
 
  ac_status=$?
23178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179
 
  (exit $ac_status); }; } &&
23180
 
         { ac_try='test -s conftest.$ac_objext'
23181
 
  { (case "(($ac_try" in
23182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23183
 
  *) ac_try_echo=$ac_try;;
23184
 
esac
23185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23186
 
  (eval "$ac_try") 2>&5
23187
 
  ac_status=$?
23188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189
 
  (exit $ac_status); }; }; then
 
22696
  (exit $ac_status); } && {
 
22697
         test -z "$ac_c_werror_flag" ||
 
22698
         test ! -s conftest.err
 
22699
       } && test -s conftest.$ac_objext; then
23190
22700
  ac_cv_type_pid_t=yes
23191
22701
else
23192
22702
  echo "$as_me: failed program was:" >&5
23244
22754
  rm -f conftest.er1
23245
22755
  cat conftest.err >&5
23246
22756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247
 
  (exit $ac_status); } &&
23248
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23249
 
  { (case "(($ac_try" in
23250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23251
 
  *) ac_try_echo=$ac_try;;
23252
 
esac
23253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23254
 
  (eval "$ac_try") 2>&5
23255
 
  ac_status=$?
23256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257
 
  (exit $ac_status); }; } &&
23258
 
         { ac_try='test -s conftest.$ac_objext'
23259
 
  { (case "(($ac_try" in
23260
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261
 
  *) ac_try_echo=$ac_try;;
23262
 
esac
23263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264
 
  (eval "$ac_try") 2>&5
23265
 
  ac_status=$?
23266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267
 
  (exit $ac_status); }; }; then
 
22757
  (exit $ac_status); } && {
 
22758
         test -z "$ac_c_werror_flag" ||
 
22759
         test ! -s conftest.err
 
22760
       } && test -s conftest.$ac_objext; then
23268
22761
  ac_cv_type_signal=int
23269
22762
else
23270
22763
  echo "$as_me: failed program was:" >&5
23350
22843
  rm -f conftest.er1
23351
22844
  cat conftest.err >&5
23352
22845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353
 
  (exit $ac_status); } &&
23354
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23355
 
  { (case "(($ac_try" in
23356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23357
 
  *) ac_try_echo=$ac_try;;
23358
 
esac
23359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23360
 
  (eval "$ac_try") 2>&5
23361
 
  ac_status=$?
23362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363
 
  (exit $ac_status); }; } &&
23364
 
         { ac_try='test -s conftest$ac_exeext'
23365
 
  { (case "(($ac_try" in
23366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367
 
  *) ac_try_echo=$ac_try;;
23368
 
esac
23369
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370
 
  (eval "$ac_try") 2>&5
23371
 
  ac_status=$?
23372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373
 
  (exit $ac_status); }; }; then
 
22846
  (exit $ac_status); } && {
 
22847
         test -z "$ac_c_werror_flag" ||
 
22848
         test ! -s conftest.err
 
22849
       } && test -s conftest$ac_exeext &&
 
22850
       $as_test_x conftest$ac_exeext; then
23374
22851
  eval "$as_ac_var=yes"
23375
22852
else
23376
22853
  echo "$as_me: failed program was:" >&5
23379
22856
        eval "$as_ac_var=no"
23380
22857
fi
23381
22858
 
23382
 
rm -f core conftest.err conftest.$ac_objext \
 
22859
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23383
22860
      conftest$ac_exeext conftest.$ac_ext
23384
22861
fi
23385
22862
ac_res=`eval echo '${'$as_ac_var'}'`
23453
22930
  rm -f conftest.er1
23454
22931
  cat conftest.err >&5
23455
22932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456
 
  (exit $ac_status); } &&
23457
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23458
 
  { (case "(($ac_try" in
23459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23460
 
  *) ac_try_echo=$ac_try;;
23461
 
esac
23462
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23463
 
  (eval "$ac_try") 2>&5
23464
 
  ac_status=$?
23465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466
 
  (exit $ac_status); }; } &&
23467
 
         { ac_try='test -s conftest$ac_exeext'
23468
 
  { (case "(($ac_try" in
23469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23470
 
  *) ac_try_echo=$ac_try;;
23471
 
esac
23472
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23473
 
  (eval "$ac_try") 2>&5
23474
 
  ac_status=$?
23475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476
 
  (exit $ac_status); }; }; then
 
22933
  (exit $ac_status); } && {
 
22934
         test -z "$ac_c_werror_flag" ||
 
22935
         test ! -s conftest.err
 
22936
       } && test -s conftest$ac_exeext &&
 
22937
       $as_test_x conftest$ac_exeext; then
23477
22938
  ac_cv_func__doprnt=yes
23478
22939
else
23479
22940
  echo "$as_me: failed program was:" >&5
23482
22943
        ac_cv_func__doprnt=no
23483
22944
fi
23484
22945
 
23485
 
rm -f core conftest.err conftest.$ac_objext \
 
22946
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23486
22947
      conftest$ac_exeext conftest.$ac_ext
23487
22948
fi
23488
22949
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
23536
22997
  rm -f conftest.er1
23537
22998
  cat conftest.err >&5
23538
22999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539
 
  (exit $ac_status); } &&
23540
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23541
 
  { (case "(($ac_try" in
23542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23543
 
  *) ac_try_echo=$ac_try;;
23544
 
esac
23545
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23546
 
  (eval "$ac_try") 2>&5
23547
 
  ac_status=$?
23548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549
 
  (exit $ac_status); }; } &&
23550
 
         { ac_try='test -s conftest$ac_exeext'
23551
 
  { (case "(($ac_try" in
23552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23553
 
  *) ac_try_echo=$ac_try;;
23554
 
esac
23555
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556
 
  (eval "$ac_try") 2>&5
23557
 
  ac_status=$?
23558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559
 
  (exit $ac_status); }; }; then
 
23000
  (exit $ac_status); } && {
 
23001
         test -z "$ac_c_werror_flag" ||
 
23002
         test ! -s conftest.err
 
23003
       } && test -s conftest$ac_exeext &&
 
23004
       $as_test_x conftest$ac_exeext; then
23560
23005
  ac_cv_working_alloca_h=yes
23561
23006
else
23562
23007
  echo "$as_me: failed program was:" >&5
23565
23010
        ac_cv_working_alloca_h=no
23566
23011
fi
23567
23012
 
23568
 
rm -f core conftest.err conftest.$ac_objext \
 
23013
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23569
23014
      conftest$ac_exeext conftest.$ac_ext
23570
23015
fi
23571
23016
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
23596
23041
#  include <malloc.h>
23597
23042
#  define alloca _alloca
23598
23043
# else
23599
 
#  if HAVE_ALLOCA_H
 
23044
#  ifdef HAVE_ALLOCA_H
23600
23045
#   include <alloca.h>
23601
23046
#  else
23602
23047
#   ifdef _AIX
23632
23077
  rm -f conftest.er1
23633
23078
  cat conftest.err >&5
23634
23079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635
 
  (exit $ac_status); } &&
23636
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23637
 
  { (case "(($ac_try" in
23638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23639
 
  *) ac_try_echo=$ac_try;;
23640
 
esac
23641
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642
 
  (eval "$ac_try") 2>&5
23643
 
  ac_status=$?
23644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645
 
  (exit $ac_status); }; } &&
23646
 
         { ac_try='test -s conftest$ac_exeext'
23647
 
  { (case "(($ac_try" in
23648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649
 
  *) ac_try_echo=$ac_try;;
23650
 
esac
23651
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652
 
  (eval "$ac_try") 2>&5
23653
 
  ac_status=$?
23654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655
 
  (exit $ac_status); }; }; then
 
23080
  (exit $ac_status); } && {
 
23081
         test -z "$ac_c_werror_flag" ||
 
23082
         test ! -s conftest.err
 
23083
       } && test -s conftest$ac_exeext &&
 
23084
       $as_test_x conftest$ac_exeext; then
23656
23085
  ac_cv_func_alloca_works=yes
23657
23086
else
23658
23087
  echo "$as_me: failed program was:" >&5
23661
23090
        ac_cv_func_alloca_works=no
23662
23091
fi
23663
23092
 
23664
 
rm -f core conftest.err conftest.$ac_objext \
 
23093
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23665
23094
      conftest$ac_exeext conftest.$ac_ext
23666
23095
fi
23667
23096
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
23781
23210
  rm -f conftest.er1
23782
23211
  cat conftest.err >&5
23783
23212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784
 
  (exit $ac_status); } &&
23785
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23786
 
  { (case "(($ac_try" in
23787
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788
 
  *) ac_try_echo=$ac_try;;
23789
 
esac
23790
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791
 
  (eval "$ac_try") 2>&5
23792
 
  ac_status=$?
23793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794
 
  (exit $ac_status); }; } &&
23795
 
         { ac_try='test -s conftest$ac_exeext'
23796
 
  { (case "(($ac_try" in
23797
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23798
 
  *) ac_try_echo=$ac_try;;
23799
 
esac
23800
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801
 
  (eval "$ac_try") 2>&5
23802
 
  ac_status=$?
23803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804
 
  (exit $ac_status); }; }; then
 
23213
  (exit $ac_status); } && {
 
23214
         test -z "$ac_c_werror_flag" ||
 
23215
         test ! -s conftest.err
 
23216
       } && test -s conftest$ac_exeext &&
 
23217
       $as_test_x conftest$ac_exeext; then
23805
23218
  eval "$as_ac_var=yes"
23806
23219
else
23807
23220
  echo "$as_me: failed program was:" >&5
23810
23223
        eval "$as_ac_var=no"
23811
23224
fi
23812
23225
 
23813
 
rm -f core conftest.err conftest.$ac_objext \
 
23226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23814
23227
      conftest$ac_exeext conftest.$ac_ext
23815
23228
fi
23816
23229
ac_res=`eval echo '${'$as_ac_var'}'`
23977
23390
  rm -f conftest.er1
23978
23391
  cat conftest.err >&5
23979
23392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980
 
  (exit $ac_status); } &&
23981
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23982
 
  { (case "(($ac_try" in
23983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23984
 
  *) ac_try_echo=$ac_try;;
23985
 
esac
23986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23987
 
  (eval "$ac_try") 2>&5
23988
 
  ac_status=$?
23989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990
 
  (exit $ac_status); }; } &&
23991
 
         { ac_try='test -s conftest$ac_exeext'
23992
 
  { (case "(($ac_try" in
23993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994
 
  *) ac_try_echo=$ac_try;;
23995
 
esac
23996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23997
 
  (eval "$ac_try") 2>&5
23998
 
  ac_status=$?
23999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000
 
  (exit $ac_status); }; }; then
 
23393
  (exit $ac_status); } && {
 
23394
         test -z "$ac_c_werror_flag" ||
 
23395
         test ! -s conftest.err
 
23396
       } && test -s conftest$ac_exeext &&
 
23397
       $as_test_x conftest$ac_exeext; then
24001
23398
  eval "$as_ac_var=yes"
24002
23399
else
24003
23400
  echo "$as_me: failed program was:" >&5
24006
23403
        eval "$as_ac_var=no"
24007
23404
fi
24008
23405
 
24009
 
rm -f core conftest.err conftest.$ac_objext \
 
23406
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24010
23407
      conftest$ac_exeext conftest.$ac_ext
24011
23408
fi
24012
23409
ac_res=`eval echo '${'$as_ac_var'}'`
24022
23419
 
24023
23420
 
24024
23421
 
 
23422
        # Check whether --enable-binreloc was given.
 
23423
if test "${enable_binreloc+set}" = set; then
 
23424
  enableval=$enable_binreloc; enable_binreloc=$enableval
 
23425
else
 
23426
  enable_binreloc=no
 
23427
fi
 
23428
 
 
23429
 
 
23430
        # Check whether --enable-binreloc-threads was given.
 
23431
if test "${enable_binreloc_threads+set}" = set; then
 
23432
  enableval=$enable_binreloc_threads; enable_binreloc_threads=$enableval
 
23433
else
 
23434
  enable_binreloc_threads=yes
 
23435
fi
 
23436
 
 
23437
 
 
23438
        BINRELOC_CFLAGS=
 
23439
        BINRELOC_LIBS=
 
23440
        if test "x$enable_binreloc" = "xauto"; then
 
23441
                { echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
 
23442
echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6; }
 
23443
if test "${ac_cv_file__proc_self_maps+set}" = set; then
 
23444
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23445
else
 
23446
  test "$cross_compiling" = yes &&
 
23447
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
 
23448
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
 
23449
   { (exit 1); exit 1; }; }
 
23450
if test -r "/proc/self/maps"; then
 
23451
  ac_cv_file__proc_self_maps=yes
 
23452
else
 
23453
  ac_cv_file__proc_self_maps=no
 
23454
fi
 
23455
fi
 
23456
{ echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
 
23457
echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6; }
 
23458
 
 
23459
                { echo "$as_me:$LINENO: checking whether everything is installed to the same prefix" >&5
 
23460
echo $ECHO_N "checking whether everything is installed to the same prefix... $ECHO_C" >&6; }
 
23461
if test "${br_cv_valid_prefixes+set}" = set; then
 
23462
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23463
else
 
23464
 
 
23465
                                if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
 
23466
                                        "$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
 
23467
                                        "$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
 
23468
                                then
 
23469
                                        br_cv_valid_prefixes=yes
 
23470
                                else
 
23471
                                        br_cv_valid_prefixes=no
 
23472
                                fi
 
23473
 
 
23474
fi
 
23475
{ echo "$as_me:$LINENO: result: $br_cv_valid_prefixes" >&5
 
23476
echo "${ECHO_T}$br_cv_valid_prefixes" >&6; }
 
23477
        fi
 
23478
        { echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
 
23479
echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6; }
 
23480
if test "${br_cv_binreloc+set}" = set; then
 
23481
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23482
else
 
23483
  if test "x$enable_binreloc" = "xyes"; then
 
23484
                               br_cv_binreloc=yes
 
23485
                       elif test "x$enable_binreloc" = "xauto"; then
 
23486
                               if test "x$br_cv_valid_prefixes" = "xyes" -a \
 
23487
                                       "x$ac_cv_file__proc_self_maps" = "xyes"; then
 
23488
                                       br_cv_binreloc=yes
 
23489
                               else
 
23490
                                       br_cv_binreloc=no
 
23491
                               fi
 
23492
                       else
 
23493
                               br_cv_binreloc=no
 
23494
                       fi
 
23495
fi
 
23496
{ echo "$as_me:$LINENO: result: $br_cv_binreloc" >&5
 
23497
echo "${ECHO_T}$br_cv_binreloc" >&6; }
 
23498
 
 
23499
        if test "x$br_cv_binreloc" = "xyes"; then
 
23500
                BINRELOC_CFLAGS="-DENABLE_BINRELOC"
 
23501
                if test "x$enable_binreloc_threads" = "xyes"; then
 
23502
 
 
23503
{ echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
 
23504
echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6; }
 
23505
if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then
 
23506
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23507
else
 
23508
  ac_check_lib_save_LIBS=$LIBS
 
23509
LIBS="-lpthread  $LIBS"
 
23510
cat >conftest.$ac_ext <<_ACEOF
 
23511
/* confdefs.h.  */
 
23512
_ACEOF
 
23513
cat confdefs.h >>conftest.$ac_ext
 
23514
cat >>conftest.$ac_ext <<_ACEOF
 
23515
/* end confdefs.h.  */
 
23516
 
 
23517
/* Override any GCC internal prototype to avoid an error.
 
23518
   Use char because int might match the return type of a GCC
 
23519
   builtin and then its argument prototype would still apply.  */
 
23520
#ifdef __cplusplus
 
23521
extern "C"
 
23522
#endif
 
23523
char pthread_getspecific ();
 
23524
int
 
23525
main ()
 
23526
{
 
23527
return pthread_getspecific ();
 
23528
  ;
 
23529
  return 0;
 
23530
}
 
23531
_ACEOF
 
23532
rm -f conftest.$ac_objext conftest$ac_exeext
 
23533
if { (ac_try="$ac_link"
 
23534
case "(($ac_try" in
 
23535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23536
  *) ac_try_echo=$ac_try;;
 
23537
esac
 
23538
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23539
  (eval "$ac_link") 2>conftest.er1
 
23540
  ac_status=$?
 
23541
  grep -v '^ *+' conftest.er1 >conftest.err
 
23542
  rm -f conftest.er1
 
23543
  cat conftest.err >&5
 
23544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23545
  (exit $ac_status); } && {
 
23546
         test -z "$ac_c_werror_flag" ||
 
23547
         test ! -s conftest.err
 
23548
       } && test -s conftest$ac_exeext &&
 
23549
       $as_test_x conftest$ac_exeext; then
 
23550
  ac_cv_lib_pthread_pthread_getspecific=yes
 
23551
else
 
23552
  echo "$as_me: failed program was:" >&5
 
23553
sed 's/^/| /' conftest.$ac_ext >&5
 
23554
 
 
23555
        ac_cv_lib_pthread_pthread_getspecific=no
 
23556
fi
 
23557
 
 
23558
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23559
      conftest$ac_exeext conftest.$ac_ext
 
23560
LIBS=$ac_check_lib_save_LIBS
 
23561
fi
 
23562
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
 
23563
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6; }
 
23564
if test $ac_cv_lib_pthread_pthread_getspecific = yes; then
 
23565
  cat >>confdefs.h <<_ACEOF
 
23566
#define HAVE_LIBPTHREAD 1
 
23567
_ACEOF
 
23568
 
 
23569
  LIBS="-lpthread $LIBS"
 
23570
 
 
23571
fi
 
23572
 
 
23573
                fi
 
23574
 
 
23575
                { echo "$as_me:$LINENO: checking whether binary relocation should use threads" >&5
 
23576
echo $ECHO_N "checking whether binary relocation should use threads... $ECHO_C" >&6; }
 
23577
if test "${br_cv_binreloc_threads+set}" = set; then
 
23578
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23579
else
 
23580
  if test "x$enable_binreloc_threads" = "xyes"; then
 
23581
                                        if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
 
23582
                                                br_cv_binreloc_threads=yes
 
23583
                                        else
 
23584
                                                br_cv_binreloc_threads=no
 
23585
                                        fi
 
23586
                                else
 
23587
                                        br_cv_binreloc_threads=no
 
23588
                                fi
 
23589
fi
 
23590
{ echo "$as_me:$LINENO: result: $br_cv_binreloc_threads" >&5
 
23591
echo "${ECHO_T}$br_cv_binreloc_threads" >&6; }
 
23592
 
 
23593
                if test "x$br_cv_binreloc_threads" = "xyes"; then
 
23594
                        BINRELOC_LIBS="-lpthread"
 
23595
                else
 
23596
                        BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
 
23597
                fi
 
23598
        fi
 
23599
 
 
23600
 
 
23601
 
 
23602
 
 
23603
if test x$br_cv_binreloc = xyes; then
 
23604
  USE_BINRELOC_TRUE=
 
23605
  USE_BINRELOC_FALSE='#'
 
23606
else
 
23607
  USE_BINRELOC_TRUE='#'
 
23608
  USE_BINRELOC_FALSE=
 
23609
fi
 
23610
 
 
23611
 
 
23612
 
 
23613
 
 
23614
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
 
23615
{ echo "$as_me:$LINENO: checking for _NL_MEASUREMENT_MEASUREMENT" >&5
 
23616
echo $ECHO_N "checking for _NL_MEASUREMENT_MEASUREMENT... $ECHO_C" >&6; }
 
23617
cat >conftest.$ac_ext <<_ACEOF
 
23618
/* confdefs.h.  */
 
23619
_ACEOF
 
23620
cat confdefs.h >>conftest.$ac_ext
 
23621
cat >>conftest.$ac_ext <<_ACEOF
 
23622
/* end confdefs.h.  */
 
23623
#include <langinfo.h>
 
23624
int
 
23625
main ()
 
23626
{
 
23627
 
 
23628
char c = *((unsigned char *)  nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
 
23629
 
 
23630
  ;
 
23631
  return 0;
 
23632
}
 
23633
_ACEOF
 
23634
rm -f conftest.$ac_objext conftest$ac_exeext
 
23635
if { (ac_try="$ac_link"
 
23636
case "(($ac_try" in
 
23637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23638
  *) ac_try_echo=$ac_try;;
 
23639
esac
 
23640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23641
  (eval "$ac_link") 2>conftest.er1
 
23642
  ac_status=$?
 
23643
  grep -v '^ *+' conftest.er1 >conftest.err
 
23644
  rm -f conftest.er1
 
23645
  cat conftest.err >&5
 
23646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23647
  (exit $ac_status); } && {
 
23648
         test -z "$ac_c_werror_flag" ||
 
23649
         test ! -s conftest.err
 
23650
       } && test -s conftest$ac_exeext &&
 
23651
       $as_test_x conftest$ac_exeext; then
 
23652
  nl_ok=yes
 
23653
else
 
23654
  echo "$as_me: failed program was:" >&5
 
23655
sed 's/^/| /' conftest.$ac_ext >&5
 
23656
 
 
23657
        nl_ok=no
 
23658
fi
 
23659
 
 
23660
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23661
      conftest$ac_exeext conftest.$ac_ext
 
23662
{ echo "$as_me:$LINENO: result: $nl_ok" >&5
 
23663
echo "${ECHO_T}$nl_ok" >&6; }
 
23664
if test "$nl_ok" = "yes"; then
 
23665
 
 
23666
cat >>confdefs.h <<\_ACEOF
 
23667
#define HAVE__NL_MEASUREMENT_MEASUREMENT 1
 
23668
_ACEOF
 
23669
 
 
23670
fi
 
23671
 
 
23672
 
24025
23673
######################
24026
23674
# Internationalisation
24027
23675
######################
24028
23676
 
24029
 
ALL_LINGUAS="bg ca cs da de el en_CA en_GB es eu fi fr ga gl he hu hr id it ja ko lt mk ms nb nl no pa pl pt pt_BR ro ru sk sr sr@Latn sv tr uk vi yi zh_CN zh_TW"
 
23677
ALL_LINGUAS="ar bg ca cs da de dz el en_CA en_GB eo es et eu fi fr ga gl gu he hu hr id it ja km ko lt mk ms nb ne nl pa pl pt pt_BR ro ru rw sk sr sr@Latn sv tr tt uk vi xh yi zh_CN zh_TW"
24030
23678
 
24031
23679
 
24032
23680
case "$am__api_version" in
24119
23767
  IFS=$as_save_IFS
24120
23768
  test -z "$as_dir" && as_dir=.
24121
23769
  for ac_exec_ext in '' $ac_executable_extensions; do
24122
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24123
23771
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
24124
23772
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24125
23773
    break 2
24182
23830
  IFS=$as_save_IFS
24183
23831
  test -z "$as_dir" && as_dir=.
24184
23832
  for ac_exec_ext in '' $ac_executable_extensions; do
24185
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24186
23834
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
24187
23835
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24188
23836
    break 2
24223
23871
  IFS=$as_save_IFS
24224
23872
  test -z "$as_dir" && as_dir=.
24225
23873
  for ac_exec_ext in '' $ac_executable_extensions; do
24226
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24227
23875
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
24228
23876
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24229
23877
    break 2
24264
23912
  IFS=$as_save_IFS
24265
23913
  test -z "$as_dir" && as_dir=.
24266
23914
  for ac_exec_ext in '' $ac_executable_extensions; do
24267
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24268
23916
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
24269
23917
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24270
23918
    break 2
24305
23953
  IFS=$as_save_IFS
24306
23954
  test -z "$as_dir" && as_dir=.
24307
23955
  for ac_exec_ext in '' $ac_executable_extensions; do
24308
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24309
23957
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
24310
23958
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24311
23959
    break 2
24332
23980
# Substitute ALL_LINGUAS so we can use it in po/Makefile
24333
23981
 
24334
23982
 
 
23983
# Set DATADIRNAME correctly if it is not set yet
 
23984
# (copied from glib-gettext.m4)
 
23985
if test -z "$DATADIRNAME"; then
 
23986
  cat >conftest.$ac_ext <<_ACEOF
 
23987
/* confdefs.h.  */
 
23988
_ACEOF
 
23989
cat confdefs.h >>conftest.$ac_ext
 
23990
cat >>conftest.$ac_ext <<_ACEOF
 
23991
/* end confdefs.h.  */
 
23992
 
 
23993
int
 
23994
main ()
 
23995
{
 
23996
extern int _nl_msg_cat_cntr;
 
23997
                 return _nl_msg_cat_cntr
 
23998
  ;
 
23999
  return 0;
 
24000
}
 
24001
_ACEOF
 
24002
rm -f conftest.$ac_objext conftest$ac_exeext
 
24003
if { (ac_try="$ac_link"
 
24004
case "(($ac_try" in
 
24005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24006
  *) ac_try_echo=$ac_try;;
 
24007
esac
 
24008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24009
  (eval "$ac_link") 2>conftest.er1
 
24010
  ac_status=$?
 
24011
  grep -v '^ *+' conftest.er1 >conftest.err
 
24012
  rm -f conftest.er1
 
24013
  cat conftest.err >&5
 
24014
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24015
  (exit $ac_status); } && {
 
24016
         test -z "$ac_c_werror_flag" ||
 
24017
         test ! -s conftest.err
 
24018
       } && test -s conftest$ac_exeext &&
 
24019
       $as_test_x conftest$ac_exeext; then
 
24020
  DATADIRNAME=share
 
24021
else
 
24022
  echo "$as_me: failed program was:" >&5
 
24023
sed 's/^/| /' conftest.$ac_ext >&5
 
24024
 
 
24025
        case $host in
 
24026
    *-*-solaris*)
 
24027
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
24028
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
24029
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
24030
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24031
else
 
24032
  cat >conftest.$ac_ext <<_ACEOF
 
24033
/* confdefs.h.  */
 
24034
_ACEOF
 
24035
cat confdefs.h >>conftest.$ac_ext
 
24036
cat >>conftest.$ac_ext <<_ACEOF
 
24037
/* end confdefs.h.  */
 
24038
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
24039
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24040
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
24041
 
 
24042
/* System header to define __stub macros and hopefully few prototypes,
 
24043
    which can conflict with char bind_textdomain_codeset (); below.
 
24044
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
24045
    <limits.h> exists even on freestanding compilers.  */
 
24046
 
 
24047
#ifdef __STDC__
 
24048
# include <limits.h>
 
24049
#else
 
24050
# include <assert.h>
 
24051
#endif
 
24052
 
 
24053
#undef bind_textdomain_codeset
 
24054
 
 
24055
/* Override any GCC internal prototype to avoid an error.
 
24056
   Use char because int might match the return type of a GCC
 
24057
   builtin and then its argument prototype would still apply.  */
 
24058
#ifdef __cplusplus
 
24059
extern "C"
 
24060
#endif
 
24061
char bind_textdomain_codeset ();
 
24062
/* The GNU C library defines this for functions which it implements
 
24063
    to always fail with ENOSYS.  Some functions are actually named
 
24064
    something starting with __ and the normal name is an alias.  */
 
24065
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
24066
choke me
 
24067
#endif
 
24068
 
 
24069
int
 
24070
main ()
 
24071
{
 
24072
return bind_textdomain_codeset ();
 
24073
  ;
 
24074
  return 0;
 
24075
}
 
24076
_ACEOF
 
24077
rm -f conftest.$ac_objext conftest$ac_exeext
 
24078
if { (ac_try="$ac_link"
 
24079
case "(($ac_try" in
 
24080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24081
  *) ac_try_echo=$ac_try;;
 
24082
esac
 
24083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24084
  (eval "$ac_link") 2>conftest.er1
 
24085
  ac_status=$?
 
24086
  grep -v '^ *+' conftest.er1 >conftest.err
 
24087
  rm -f conftest.er1
 
24088
  cat conftest.err >&5
 
24089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24090
  (exit $ac_status); } && {
 
24091
         test -z "$ac_c_werror_flag" ||
 
24092
         test ! -s conftest.err
 
24093
       } && test -s conftest$ac_exeext &&
 
24094
       $as_test_x conftest$ac_exeext; then
 
24095
  ac_cv_func_bind_textdomain_codeset=yes
 
24096
else
 
24097
  echo "$as_me: failed program was:" >&5
 
24098
sed 's/^/| /' conftest.$ac_ext >&5
 
24099
 
 
24100
        ac_cv_func_bind_textdomain_codeset=no
 
24101
fi
 
24102
 
 
24103
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24104
      conftest$ac_exeext conftest.$ac_ext
 
24105
fi
 
24106
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
24107
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
24108
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
24109
  DATADIRNAME=share
 
24110
else
 
24111
  DATADIRNAME=lib
 
24112
fi
 
24113
 
 
24114
    ;;
 
24115
    *)
 
24116
    DATADIRNAME=lib
 
24117
    ;;
 
24118
    esac
 
24119
fi
 
24120
 
 
24121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24122
      conftest$ac_exeext conftest.$ac_ext
 
24123
fi
 
24124
 
 
24125
 
24335
24126
 
24336
24127
 
24337
24128
 
24379
24170
  rm -f conftest.er1
24380
24171
  cat conftest.err >&5
24381
24172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382
 
  (exit $ac_status); } &&
24383
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24384
 
  { (case "(($ac_try" in
24385
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386
 
  *) ac_try_echo=$ac_try;;
24387
 
esac
24388
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389
 
  (eval "$ac_try") 2>&5
24390
 
  ac_status=$?
24391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392
 
  (exit $ac_status); }; } &&
24393
 
         { ac_try='test -s conftest.$ac_objext'
24394
 
  { (case "(($ac_try" in
24395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24396
 
  *) ac_try_echo=$ac_try;;
24397
 
esac
24398
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24399
 
  (eval "$ac_try") 2>&5
24400
 
  ac_status=$?
24401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402
 
  (exit $ac_status); }; }; then
 
24173
  (exit $ac_status); } && {
 
24174
         test -z "$ac_c_werror_flag" ||
 
24175
         test ! -s conftest.err
 
24176
       } && test -s conftest.$ac_objext; then
24403
24177
  ac_header_compiler=yes
24404
24178
else
24405
24179
  echo "$as_me: failed program was:" >&5
24435
24209
  rm -f conftest.er1
24436
24210
  cat conftest.err >&5
24437
24211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438
 
  (exit $ac_status); } >/dev/null; then
24439
 
  if test -s conftest.err; then
24440
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24441
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24442
 
  else
24443
 
    ac_cpp_err=
24444
 
  fi
24445
 
else
24446
 
  ac_cpp_err=yes
24447
 
fi
24448
 
if test -z "$ac_cpp_err"; then
 
24212
  (exit $ac_status); } >/dev/null && {
 
24213
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24214
         test ! -s conftest.err
 
24215
       }; then
24449
24216
  ac_header_preproc=yes
24450
24217
else
24451
24218
  echo "$as_me: failed program was:" >&5
24543
24310
  rm -f conftest.er1
24544
24311
  cat conftest.err >&5
24545
24312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546
 
  (exit $ac_status); } &&
24547
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24548
 
  { (case "(($ac_try" in
24549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550
 
  *) ac_try_echo=$ac_try;;
24551
 
esac
24552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553
 
  (eval "$ac_try") 2>&5
24554
 
  ac_status=$?
24555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556
 
  (exit $ac_status); }; } &&
24557
 
         { ac_try='test -s conftest$ac_exeext'
24558
 
  { (case "(($ac_try" in
24559
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24560
 
  *) ac_try_echo=$ac_try;;
24561
 
esac
24562
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24563
 
  (eval "$ac_try") 2>&5
24564
 
  ac_status=$?
24565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566
 
  (exit $ac_status); }; }; then
 
24313
  (exit $ac_status); } && {
 
24314
         test -z "$ac_c_werror_flag" ||
 
24315
         test ! -s conftest.err
 
24316
       } && test -s conftest$ac_exeext &&
 
24317
       $as_test_x conftest$ac_exeext; then
24567
24318
  am_cv_val_LC_MESSAGES=yes
24568
24319
else
24569
24320
  echo "$as_me: failed program was:" >&5
24572
24323
        am_cv_val_LC_MESSAGES=no
24573
24324
fi
24574
24325
 
24575
 
rm -f core conftest.err conftest.$ac_objext \
 
24326
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24576
24327
      conftest$ac_exeext conftest.$ac_ext
24577
24328
fi
24578
24329
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
24585
24336
 
24586
24337
    fi
24587
24338
  fi
24588
 
     USE_NLS=yes
 
24339
         USE_NLS=yes
24589
24340
 
24590
24341
 
24591
24342
    gt_cv_have_gettext=no
24628
24379
  rm -f conftest.er1
24629
24380
  cat conftest.err >&5
24630
24381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631
 
  (exit $ac_status); } &&
24632
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24633
 
  { (case "(($ac_try" in
24634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24635
 
  *) ac_try_echo=$ac_try;;
24636
 
esac
24637
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24638
 
  (eval "$ac_try") 2>&5
24639
 
  ac_status=$?
24640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641
 
  (exit $ac_status); }; } &&
24642
 
         { ac_try='test -s conftest.$ac_objext'
24643
 
  { (case "(($ac_try" in
24644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645
 
  *) ac_try_echo=$ac_try;;
24646
 
esac
24647
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648
 
  (eval "$ac_try") 2>&5
24649
 
  ac_status=$?
24650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651
 
  (exit $ac_status); }; }; then
 
24382
  (exit $ac_status); } && {
 
24383
         test -z "$ac_c_werror_flag" ||
 
24384
         test ! -s conftest.err
 
24385
       } && test -s conftest.$ac_objext; then
24652
24386
  ac_header_compiler=yes
24653
24387
else
24654
24388
  echo "$as_me: failed program was:" >&5
24684
24418
  rm -f conftest.er1
24685
24419
  cat conftest.err >&5
24686
24420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687
 
  (exit $ac_status); } >/dev/null; then
24688
 
  if test -s conftest.err; then
24689
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24690
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24691
 
  else
24692
 
    ac_cpp_err=
24693
 
  fi
24694
 
else
24695
 
  ac_cpp_err=yes
24696
 
fi
24697
 
if test -z "$ac_cpp_err"; then
 
24421
  (exit $ac_status); } >/dev/null && {
 
24422
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24423
         test ! -s conftest.err
 
24424
       }; then
24698
24425
  ac_header_preproc=yes
24699
24426
else
24700
24427
  echo "$as_me: failed program was:" >&5
24790
24517
  rm -f conftest.er1
24791
24518
  cat conftest.err >&5
24792
24519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793
 
  (exit $ac_status); } &&
24794
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24795
 
  { (case "(($ac_try" in
24796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24797
 
  *) ac_try_echo=$ac_try;;
24798
 
esac
24799
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24800
 
  (eval "$ac_try") 2>&5
24801
 
  ac_status=$?
24802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803
 
  (exit $ac_status); }; } &&
24804
 
         { ac_try='test -s conftest$ac_exeext'
24805
 
  { (case "(($ac_try" in
24806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24807
 
  *) ac_try_echo=$ac_try;;
24808
 
esac
24809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24810
 
  (eval "$ac_try") 2>&5
24811
 
  ac_status=$?
24812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813
 
  (exit $ac_status); }; }; then
 
24520
  (exit $ac_status); } && {
 
24521
         test -z "$ac_c_werror_flag" ||
 
24522
         test ! -s conftest.err
 
24523
       } && test -s conftest$ac_exeext &&
 
24524
       $as_test_x conftest$ac_exeext; then
24814
24525
  gt_cv_func_ngettext_libc=yes
24815
24526
else
24816
24527
  echo "$as_me: failed program was:" >&5
24819
24530
        gt_cv_func_ngettext_libc=no
24820
24531
fi
24821
24532
 
24822
 
rm -f core conftest.err conftest.$ac_objext \
 
24533
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24823
24534
      conftest$ac_exeext conftest.$ac_ext
24824
24535
 
24825
24536
fi
24862
24573
  rm -f conftest.er1
24863
24574
  cat conftest.err >&5
24864
24575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865
 
  (exit $ac_status); } &&
24866
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24867
 
  { (case "(($ac_try" in
24868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869
 
  *) ac_try_echo=$ac_try;;
24870
 
esac
24871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24872
 
  (eval "$ac_try") 2>&5
24873
 
  ac_status=$?
24874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875
 
  (exit $ac_status); }; } &&
24876
 
         { ac_try='test -s conftest$ac_exeext'
24877
 
  { (case "(($ac_try" in
24878
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24879
 
  *) ac_try_echo=$ac_try;;
24880
 
esac
24881
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882
 
  (eval "$ac_try") 2>&5
24883
 
  ac_status=$?
24884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885
 
  (exit $ac_status); }; }; then
 
24576
  (exit $ac_status); } && {
 
24577
         test -z "$ac_c_werror_flag" ||
 
24578
         test ! -s conftest.err
 
24579
       } && test -s conftest$ac_exeext &&
 
24580
       $as_test_x conftest$ac_exeext; then
24886
24581
  gt_cv_func_dgettext_libc=yes
24887
24582
else
24888
24583
  echo "$as_me: failed program was:" >&5
24891
24586
        gt_cv_func_dgettext_libc=no
24892
24587
fi
24893
24588
 
24894
 
rm -f core conftest.err conftest.$ac_objext \
 
24589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24895
24590
      conftest$ac_exeext conftest.$ac_ext
24896
24591
 
24897
24592
fi
24967
24662
  rm -f conftest.er1
24968
24663
  cat conftest.err >&5
24969
24664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970
 
  (exit $ac_status); } &&
24971
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24972
 
  { (case "(($ac_try" in
24973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974
 
  *) ac_try_echo=$ac_try;;
24975
 
esac
24976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24977
 
  (eval "$ac_try") 2>&5
24978
 
  ac_status=$?
24979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980
 
  (exit $ac_status); }; } &&
24981
 
         { ac_try='test -s conftest$ac_exeext'
24982
 
  { (case "(($ac_try" in
24983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24984
 
  *) ac_try_echo=$ac_try;;
24985
 
esac
24986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24987
 
  (eval "$ac_try") 2>&5
24988
 
  ac_status=$?
24989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990
 
  (exit $ac_status); }; }; then
 
24665
  (exit $ac_status); } && {
 
24666
         test -z "$ac_c_werror_flag" ||
 
24667
         test ! -s conftest.err
 
24668
       } && test -s conftest$ac_exeext &&
 
24669
       $as_test_x conftest$ac_exeext; then
24991
24670
  eval "$as_ac_var=yes"
24992
24671
else
24993
24672
  echo "$as_me: failed program was:" >&5
24996
24675
        eval "$as_ac_var=no"
24997
24676
fi
24998
24677
 
24999
 
rm -f core conftest.err conftest.$ac_objext \
 
24678
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25000
24679
      conftest$ac_exeext conftest.$ac_ext
25001
24680
fi
25002
24681
ac_res=`eval echo '${'$as_ac_var'}'`
25061
24740
  rm -f conftest.er1
25062
24741
  cat conftest.err >&5
25063
24742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064
 
  (exit $ac_status); } &&
25065
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25066
 
  { (case "(($ac_try" in
25067
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068
 
  *) ac_try_echo=$ac_try;;
25069
 
esac
25070
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071
 
  (eval "$ac_try") 2>&5
25072
 
  ac_status=$?
25073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074
 
  (exit $ac_status); }; } &&
25075
 
         { ac_try='test -s conftest$ac_exeext'
25076
 
  { (case "(($ac_try" in
25077
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25078
 
  *) ac_try_echo=$ac_try;;
25079
 
esac
25080
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25081
 
  (eval "$ac_try") 2>&5
25082
 
  ac_status=$?
25083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084
 
  (exit $ac_status); }; }; then
 
24743
  (exit $ac_status); } && {
 
24744
         test -z "$ac_c_werror_flag" ||
 
24745
         test ! -s conftest.err
 
24746
       } && test -s conftest$ac_exeext &&
 
24747
       $as_test_x conftest$ac_exeext; then
25085
24748
  ac_cv_lib_intl_bindtextdomain=yes
25086
24749
else
25087
24750
  echo "$as_me: failed program was:" >&5
25090
24753
        ac_cv_lib_intl_bindtextdomain=no
25091
24754
fi
25092
24755
 
25093
 
rm -f core conftest.err conftest.$ac_objext \
 
24756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25094
24757
      conftest$ac_exeext conftest.$ac_ext
25095
24758
LIBS=$ac_check_lib_save_LIBS
25096
24759
fi
25139
24802
  rm -f conftest.er1
25140
24803
  cat conftest.err >&5
25141
24804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142
 
  (exit $ac_status); } &&
25143
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25144
 
  { (case "(($ac_try" in
25145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25146
 
  *) ac_try_echo=$ac_try;;
25147
 
esac
25148
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25149
 
  (eval "$ac_try") 2>&5
25150
 
  ac_status=$?
25151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152
 
  (exit $ac_status); }; } &&
25153
 
         { ac_try='test -s conftest$ac_exeext'
25154
 
  { (case "(($ac_try" in
25155
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25156
 
  *) ac_try_echo=$ac_try;;
25157
 
esac
25158
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25159
 
  (eval "$ac_try") 2>&5
25160
 
  ac_status=$?
25161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162
 
  (exit $ac_status); }; }; then
 
24805
  (exit $ac_status); } && {
 
24806
         test -z "$ac_c_werror_flag" ||
 
24807
         test ! -s conftest.err
 
24808
       } && test -s conftest$ac_exeext &&
 
24809
       $as_test_x conftest$ac_exeext; then
25163
24810
  ac_cv_lib_intl_ngettext=yes
25164
24811
else
25165
24812
  echo "$as_me: failed program was:" >&5
25168
24815
        ac_cv_lib_intl_ngettext=no
25169
24816
fi
25170
24817
 
25171
 
rm -f core conftest.err conftest.$ac_objext \
 
24818
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25172
24819
      conftest$ac_exeext conftest.$ac_ext
25173
24820
LIBS=$ac_check_lib_save_LIBS
25174
24821
fi
25217
24864
  rm -f conftest.er1
25218
24865
  cat conftest.err >&5
25219
24866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220
 
  (exit $ac_status); } &&
25221
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25222
 
  { (case "(($ac_try" in
25223
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25224
 
  *) ac_try_echo=$ac_try;;
25225
 
esac
25226
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25227
 
  (eval "$ac_try") 2>&5
25228
 
  ac_status=$?
25229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230
 
  (exit $ac_status); }; } &&
25231
 
         { ac_try='test -s conftest$ac_exeext'
25232
 
  { (case "(($ac_try" in
25233
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25234
 
  *) ac_try_echo=$ac_try;;
25235
 
esac
25236
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25237
 
  (eval "$ac_try") 2>&5
25238
 
  ac_status=$?
25239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240
 
  (exit $ac_status); }; }; then
 
24867
  (exit $ac_status); } && {
 
24868
         test -z "$ac_c_werror_flag" ||
 
24869
         test ! -s conftest.err
 
24870
       } && test -s conftest$ac_exeext &&
 
24871
       $as_test_x conftest$ac_exeext; then
25241
24872
  ac_cv_lib_intl_dgettext=yes
25242
24873
else
25243
24874
  echo "$as_me: failed program was:" >&5
25246
24877
        ac_cv_lib_intl_dgettext=no
25247
24878
fi
25248
24879
 
25249
 
rm -f core conftest.err conftest.$ac_objext \
 
24880
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25250
24881
      conftest$ac_exeext conftest.$ac_ext
25251
24882
LIBS=$ac_check_lib_save_LIBS
25252
24883
fi
25308
24939
  rm -f conftest.er1
25309
24940
  cat conftest.err >&5
25310
24941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311
 
  (exit $ac_status); } &&
25312
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25313
 
  { (case "(($ac_try" in
25314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25315
 
  *) ac_try_echo=$ac_try;;
25316
 
esac
25317
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25318
 
  (eval "$ac_try") 2>&5
25319
 
  ac_status=$?
25320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321
 
  (exit $ac_status); }; } &&
25322
 
         { ac_try='test -s conftest$ac_exeext'
25323
 
  { (case "(($ac_try" in
25324
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25325
 
  *) ac_try_echo=$ac_try;;
25326
 
esac
25327
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25328
 
  (eval "$ac_try") 2>&5
25329
 
  ac_status=$?
25330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331
 
  (exit $ac_status); }; }; then
 
24942
  (exit $ac_status); } && {
 
24943
         test -z "$ac_c_werror_flag" ||
 
24944
         test ! -s conftest.err
 
24945
       } && test -s conftest$ac_exeext &&
 
24946
       $as_test_x conftest$ac_exeext; then
25332
24947
  ac_cv_lib_intl_ngettext=yes
25333
24948
else
25334
24949
  echo "$as_me: failed program was:" >&5
25337
24952
        ac_cv_lib_intl_ngettext=no
25338
24953
fi
25339
24954
 
25340
 
rm -f core conftest.err conftest.$ac_objext \
 
24955
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25341
24956
      conftest$ac_exeext conftest.$ac_ext
25342
24957
LIBS=$ac_check_lib_save_LIBS
25343
24958
fi
25386
25001
  rm -f conftest.er1
25387
25002
  cat conftest.err >&5
25388
25003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389
 
  (exit $ac_status); } &&
25390
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25391
 
  { (case "(($ac_try" in
25392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25393
 
  *) ac_try_echo=$ac_try;;
25394
 
esac
25395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25396
 
  (eval "$ac_try") 2>&5
25397
 
  ac_status=$?
25398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399
 
  (exit $ac_status); }; } &&
25400
 
         { ac_try='test -s conftest$ac_exeext'
25401
 
  { (case "(($ac_try" in
25402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25403
 
  *) ac_try_echo=$ac_try;;
25404
 
esac
25405
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25406
 
  (eval "$ac_try") 2>&5
25407
 
  ac_status=$?
25408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409
 
  (exit $ac_status); }; }; then
 
25004
  (exit $ac_status); } && {
 
25005
         test -z "$ac_c_werror_flag" ||
 
25006
         test ! -s conftest.err
 
25007
       } && test -s conftest$ac_exeext &&
 
25008
       $as_test_x conftest$ac_exeext; then
25410
25009
  ac_cv_lib_intl_dcgettext=yes
25411
25010
else
25412
25011
  echo "$as_me: failed program was:" >&5
25415
25014
        ac_cv_lib_intl_dcgettext=no
25416
25015
fi
25417
25016
 
25418
 
rm -f core conftest.err conftest.$ac_objext \
 
25017
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25419
25018
      conftest$ac_exeext conftest.$ac_ext
25420
25019
LIBS=$ac_check_lib_save_LIBS
25421
25020
fi
25510
25109
  rm -f conftest.er1
25511
25110
  cat conftest.err >&5
25512
25111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513
 
  (exit $ac_status); } &&
25514
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25515
 
  { (case "(($ac_try" in
25516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517
 
  *) ac_try_echo=$ac_try;;
25518
 
esac
25519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520
 
  (eval "$ac_try") 2>&5
25521
 
  ac_status=$?
25522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523
 
  (exit $ac_status); }; } &&
25524
 
         { ac_try='test -s conftest$ac_exeext'
25525
 
  { (case "(($ac_try" in
25526
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25527
 
  *) ac_try_echo=$ac_try;;
25528
 
esac
25529
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25530
 
  (eval "$ac_try") 2>&5
25531
 
  ac_status=$?
25532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533
 
  (exit $ac_status); }; }; then
 
25112
  (exit $ac_status); } && {
 
25113
         test -z "$ac_c_werror_flag" ||
 
25114
         test ! -s conftest.err
 
25115
       } && test -s conftest$ac_exeext &&
 
25116
       $as_test_x conftest$ac_exeext; then
25534
25117
  eval "$as_ac_var=yes"
25535
25118
else
25536
25119
  echo "$as_me: failed program was:" >&5
25539
25122
        eval "$as_ac_var=no"
25540
25123
fi
25541
25124
 
25542
 
rm -f core conftest.err conftest.$ac_objext \
 
25125
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25543
25126
      conftest$ac_exeext conftest.$ac_ext
25544
25127
fi
25545
25128
ac_res=`eval echo '${'$as_ac_var'}'`
25686
25269
  rm -f conftest.er1
25687
25270
  cat conftest.err >&5
25688
25271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689
 
  (exit $ac_status); } &&
25690
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25691
 
  { (case "(($ac_try" in
25692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25693
 
  *) ac_try_echo=$ac_try;;
25694
 
esac
25695
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25696
 
  (eval "$ac_try") 2>&5
25697
 
  ac_status=$?
25698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699
 
  (exit $ac_status); }; } &&
25700
 
         { ac_try='test -s conftest$ac_exeext'
25701
 
  { (case "(($ac_try" in
25702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703
 
  *) ac_try_echo=$ac_try;;
25704
 
esac
25705
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706
 
  (eval "$ac_try") 2>&5
25707
 
  ac_status=$?
25708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709
 
  (exit $ac_status); }; }; then
 
25272
  (exit $ac_status); } && {
 
25273
         test -z "$ac_c_werror_flag" ||
 
25274
         test ! -s conftest.err
 
25275
       } && test -s conftest$ac_exeext &&
 
25276
       $as_test_x conftest$ac_exeext; then
25710
25277
  eval "$as_ac_var=yes"
25711
25278
else
25712
25279
  echo "$as_me: failed program was:" >&5
25715
25282
        eval "$as_ac_var=no"
25716
25283
fi
25717
25284
 
25718
 
rm -f core conftest.err conftest.$ac_objext \
 
25285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25719
25286
      conftest$ac_exeext conftest.$ac_ext
25720
25287
fi
25721
25288
ac_res=`eval echo '${'$as_ac_var'}'`
25729
25296
fi
25730
25297
done
25731
25298
 
 
25299
          MSGFMT_OPTS=
 
25300
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
25301
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
25302
          cat >conftest.foo <<_ACEOF
 
25303
 
 
25304
msgid ""
 
25305
msgstr ""
 
25306
"Content-Type: text/plain; charset=UTF-8\n"
 
25307
"Project-Id-Version: test 1.0\n"
 
25308
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
25309
"Last-Translator: test <foo@bar.xx>\n"
 
25310
"Language-Team: C <LL@li.org>\n"
 
25311
"MIME-Version: 1.0\n"
 
25312
"Content-Transfer-Encoding: 8bit\n"
 
25313
 
 
25314
_ACEOF
 
25315
if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
 
25316
  (msgfmt -c -o /dev/null conftest.foo) 2>&5
 
25317
  ac_status=$?
 
25318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25319
  (exit $ac_status); }; then
 
25320
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
 
25321
echo "${ECHO_T}yes" >&6; }
 
25322
else { echo "$as_me:$LINENO: result: no" >&5
 
25323
echo "${ECHO_T}no" >&6; }
 
25324
echo "$as_me: failed input was:" >&5
 
25325
sed 's/^/| /' conftest.foo >&5
 
25326
fi
 
25327
 
25732
25328
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
25733
25329
set dummy gmsgfmt; ac_word=$2
25734
25330
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25747
25343
  IFS=$as_save_IFS
25748
25344
  test -z "$as_dir" && as_dir=.
25749
25345
  for ac_exec_ext in '' $ac_executable_extensions; do
25750
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
25346
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25751
25347
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
25752
25348
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25753
25349
    break 2
25835
25431
  rm -f conftest.er1
25836
25432
  cat conftest.err >&5
25837
25433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838
 
  (exit $ac_status); } &&
25839
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25840
 
  { (case "(($ac_try" in
25841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842
 
  *) ac_try_echo=$ac_try;;
25843
 
esac
25844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845
 
  (eval "$ac_try") 2>&5
25846
 
  ac_status=$?
25847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848
 
  (exit $ac_status); }; } &&
25849
 
         { ac_try='test -s conftest$ac_exeext'
25850
 
  { (case "(($ac_try" in
25851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25852
 
  *) ac_try_echo=$ac_try;;
25853
 
esac
25854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25855
 
  (eval "$ac_try") 2>&5
25856
 
  ac_status=$?
25857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858
 
  (exit $ac_status); }; }; then
 
25434
  (exit $ac_status); } && {
 
25435
         test -z "$ac_c_werror_flag" ||
 
25436
         test ! -s conftest.err
 
25437
       } && test -s conftest$ac_exeext &&
 
25438
       $as_test_x conftest$ac_exeext; then
25859
25439
  CATOBJEXT=.gmo
25860
25440
             DATADIRNAME=share
25861
25441
else
25927
25507
  rm -f conftest.er1
25928
25508
  cat conftest.err >&5
25929
25509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930
 
  (exit $ac_status); } &&
25931
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25932
 
  { (case "(($ac_try" in
25933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25934
 
  *) ac_try_echo=$ac_try;;
25935
 
esac
25936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25937
 
  (eval "$ac_try") 2>&5
25938
 
  ac_status=$?
25939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940
 
  (exit $ac_status); }; } &&
25941
 
         { ac_try='test -s conftest$ac_exeext'
25942
 
  { (case "(($ac_try" in
25943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944
 
  *) ac_try_echo=$ac_try;;
25945
 
esac
25946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947
 
  (eval "$ac_try") 2>&5
25948
 
  ac_status=$?
25949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950
 
  (exit $ac_status); }; }; then
 
25510
  (exit $ac_status); } && {
 
25511
         test -z "$ac_c_werror_flag" ||
 
25512
         test ! -s conftest.err
 
25513
       } && test -s conftest$ac_exeext &&
 
25514
       $as_test_x conftest$ac_exeext; then
25951
25515
  ac_cv_func_bind_textdomain_codeset=yes
25952
25516
else
25953
25517
  echo "$as_me: failed program was:" >&5
25956
25520
        ac_cv_func_bind_textdomain_codeset=no
25957
25521
fi
25958
25522
 
25959
 
rm -f core conftest.err conftest.$ac_objext \
 
25523
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25960
25524
      conftest$ac_exeext conftest.$ac_ext
25961
25525
fi
25962
25526
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
25977
25541
            esac
25978
25542
fi
25979
25543
 
25980
 
rm -f core conftest.err conftest.$ac_objext \
 
25544
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25981
25545
      conftest$ac_exeext conftest.$ac_ext
25982
25546
          LIBS="$glib_save_LIBS"
25983
25547
          INSTOBJEXT=.mo
26125
25689
      esac
26126
25690
  done
26127
25691
 
26128
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
26129
 
set dummy pkg-config; ac_word=$2
 
25692
 
 
25693
 
 
25694
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
25695
        if test -n "$ac_tool_prefix"; then
 
25696
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
25697
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26130
25698
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26131
25699
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26132
25700
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26143
25711
  IFS=$as_save_IFS
26144
25712
  test -z "$as_dir" && as_dir=.
26145
25713
  for ac_exec_ext in '' $ac_executable_extensions; do
26146
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
25714
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26147
25715
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26148
25716
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26149
25717
    break 2
26152
25720
done
26153
25721
IFS=$as_save_IFS
26154
25722
 
26155
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26156
25723
  ;;
26157
25724
esac
26158
25725
fi
26166
25733
fi
26167
25734
 
26168
25735
 
 
25736
fi
 
25737
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
25738
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
25739
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
25740
set dummy pkg-config; ac_word=$2
 
25741
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
25743
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
25744
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25745
else
 
25746
  case $ac_pt_PKG_CONFIG in
 
25747
  [\\/]* | ?:[\\/]*)
 
25748
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
25749
  ;;
 
25750
  *)
 
25751
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
25752
for as_dir in $PATH
 
25753
do
 
25754
  IFS=$as_save_IFS
 
25755
  test -z "$as_dir" && as_dir=.
 
25756
  for ac_exec_ext in '' $ac_executable_extensions; do
 
25757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
25758
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
25759
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
25760
    break 2
 
25761
  fi
 
25762
done
 
25763
done
 
25764
IFS=$as_save_IFS
 
25765
 
 
25766
  ;;
 
25767
esac
 
25768
fi
 
25769
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
25770
if test -n "$ac_pt_PKG_CONFIG"; then
 
25771
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
25772
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
25773
else
 
25774
  { echo "$as_me:$LINENO: result: no" >&5
 
25775
echo "${ECHO_T}no" >&6; }
 
25776
fi
 
25777
 
 
25778
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
25779
    PKG_CONFIG=""
 
25780
  else
 
25781
    case $cross_compiling:$ac_tool_warned in
 
25782
yes:)
 
25783
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
25784
whose name does not start with the host triplet.  If you think this
 
25785
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
25786
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
25787
whose name does not start with the host triplet.  If you think this
 
25788
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
25789
ac_tool_warned=yes ;;
 
25790
esac
 
25791
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
25792
  fi
 
25793
else
 
25794
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
25795
fi
 
25796
 
 
25797
fi
 
25798
if test -n "$PKG_CONFIG"; then
 
25799
        _pkg_min_version=0.7
 
25800
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
25801
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
25802
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
25803
                { echo "$as_me:$LINENO: result: yes" >&5
 
25804
echo "${ECHO_T}yes" >&6; }
 
25805
        else
 
25806
                { echo "$as_me:$LINENO: result: no" >&5
 
25807
echo "${ECHO_T}no" >&6; }
 
25808
                PKG_CONFIG=""
 
25809
        fi
 
25810
 
 
25811
fi
26169
25812
 
26170
25813
  no_glib=""
26171
25814
 
26172
 
  if test x$PKG_CONFIG != xno ; then
26173
 
    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
26174
 
      :
26175
 
    else
26176
 
      echo *** pkg-config too old; version 0.7 or better required.
26177
 
      no_glib=yes
26178
 
      PKG_CONFIG=no
26179
 
    fi
26180
 
  else
 
25815
  if test "x$PKG_CONFIG" = x ; then
26181
25816
    no_glib=yes
 
25817
    PKG_CONFIG=no
26182
25818
  fi
26183
25819
 
26184
 
  min_glib_version=2.4.5
 
25820
  min_glib_version=2.12.3
26185
25821
  { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
26186
25822
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
26187
25823
 
26387
26023
  rm -f conftest.er1
26388
26024
  cat conftest.err >&5
26389
26025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390
 
  (exit $ac_status); } &&
26391
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26392
 
  { (case "(($ac_try" in
26393
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394
 
  *) ac_try_echo=$ac_try;;
26395
 
esac
26396
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397
 
  (eval "$ac_try") 2>&5
26398
 
  ac_status=$?
26399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400
 
  (exit $ac_status); }; } &&
26401
 
         { ac_try='test -s conftest$ac_exeext'
26402
 
  { (case "(($ac_try" in
26403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26404
 
  *) ac_try_echo=$ac_try;;
26405
 
esac
26406
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26407
 
  (eval "$ac_try") 2>&5
26408
 
  ac_status=$?
26409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410
 
  (exit $ac_status); }; }; then
 
26026
  (exit $ac_status); } && {
 
26027
         test -z "$ac_c_werror_flag" ||
 
26028
         test ! -s conftest.err
 
26029
       } && test -s conftest$ac_exeext &&
 
26030
       $as_test_x conftest$ac_exeext; then
26411
26031
   echo "*** The test program compiled, but did not run. This usually means"
26412
26032
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
26413
26033
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
26425
26045
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
26426
26046
fi
26427
26047
 
26428
 
rm -f core conftest.err conftest.$ac_objext \
 
26048
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26429
26049
      conftest$ac_exeext conftest.$ac_ext
26430
26050
          CFLAGS="$ac_save_CFLAGS"
26431
26051
          LIBS="$ac_save_LIBS"
26449
26069
 
26450
26070
 
26451
26071
 
26452
 
 
26453
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26454
 
        if test -n "$ac_tool_prefix"; then
26455
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26456
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26457
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26458
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26459
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26460
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26461
 
else
26462
 
  case $PKG_CONFIG in
26463
 
  [\\/]* | ?:[\\/]*)
26464
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26465
 
  ;;
26466
 
  *)
26467
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26468
 
for as_dir in $PATH
26469
 
do
26470
 
  IFS=$as_save_IFS
26471
 
  test -z "$as_dir" && as_dir=.
26472
 
  for ac_exec_ext in '' $ac_executable_extensions; do
26473
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26474
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26475
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26476
 
    break 2
26477
 
  fi
26478
 
done
26479
 
done
26480
 
IFS=$as_save_IFS
26481
 
 
26482
 
  ;;
26483
 
esac
26484
 
fi
26485
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26486
 
if test -n "$PKG_CONFIG"; then
26487
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26488
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
26489
 
else
26490
 
  { echo "$as_me:$LINENO: result: no" >&5
26491
 
echo "${ECHO_T}no" >&6; }
26492
 
fi
26493
 
 
26494
 
 
26495
 
fi
26496
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
26497
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
26498
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
26499
 
set dummy pkg-config; ac_word=$2
26500
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26501
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26502
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
26503
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26504
 
else
26505
 
  case $ac_pt_PKG_CONFIG in
26506
 
  [\\/]* | ?:[\\/]*)
26507
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26508
 
  ;;
26509
 
  *)
26510
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26511
 
for as_dir in $PATH
26512
 
do
26513
 
  IFS=$as_save_IFS
26514
 
  test -z "$as_dir" && as_dir=.
26515
 
  for ac_exec_ext in '' $ac_executable_extensions; do
26516
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26517
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26518
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26519
 
    break 2
26520
 
  fi
26521
 
done
26522
 
done
26523
 
IFS=$as_save_IFS
26524
 
 
26525
 
  ;;
26526
 
esac
26527
 
fi
26528
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26529
 
if test -n "$ac_pt_PKG_CONFIG"; then
26530
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
26531
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
26532
 
else
26533
 
  { echo "$as_me:$LINENO: result: no" >&5
26534
 
echo "${ECHO_T}no" >&6; }
26535
 
fi
26536
 
 
26537
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
26538
 
    PKG_CONFIG=""
26539
 
  else
26540
 
    case $cross_compiling:$ac_tool_warned in
26541
 
yes:)
26542
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26543
 
whose name does not start with the host triplet.  If you think this
26544
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
26545
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26546
 
whose name does not start with the host triplet.  If you think this
26547
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26548
 
ac_tool_warned=yes ;;
26549
 
esac
26550
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
26551
 
  fi
26552
 
else
26553
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26554
 
fi
26555
 
 
26556
 
fi
26557
 
if test -n "$PKG_CONFIG"; then
26558
 
        _pkg_min_version=0.9.0
26559
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
26560
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
26561
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26562
 
                { echo "$as_me:$LINENO: result: yes" >&5
26563
 
echo "${ECHO_T}yes" >&6; }
26564
 
        else
26565
 
                { echo "$as_me:$LINENO: result: no" >&5
26566
 
echo "${ECHO_T}no" >&6; }
26567
 
                PKG_CONFIG=""
26568
 
        fi
26569
 
 
26570
 
fi
26571
 
 
26572
26072
pkg_failed=no
26573
 
{ echo "$as_me:$LINENO: checking for GMODULE" >&5
26574
 
echo $ECHO_N "checking for GMODULE... $ECHO_C" >&6; }
 
26073
{ echo "$as_me:$LINENO: checking for GMODULE_NO_EXPORT" >&5
 
26074
echo $ECHO_N "checking for GMODULE_NO_EXPORT... $ECHO_C" >&6; }
26575
26075
 
26576
26076
if test -n "$PKG_CONFIG"; then
26577
 
    if test -n "$GMODULE_CFLAGS"; then
26578
 
        pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
 
26077
    if test -n "$GMODULE_NO_EXPORT_CFLAGS"; then
 
26078
        pkg_cv_GMODULE_NO_EXPORT_CFLAGS="$GMODULE_NO_EXPORT_CFLAGS"
26579
26079
    else
26580
26080
        if test -n "$PKG_CONFIG" && \
26581
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 gobject-2.0\"") >&5
26582
 
  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 gobject-2.0") 2>&5
 
26081
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\"") >&5
 
26082
  ($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
26583
26083
  ac_status=$?
26584
26084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585
26085
  (exit $ac_status); }; then
26586
 
  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 gobject-2.0" 2>/dev/null`
 
26086
  pkg_cv_GMODULE_NO_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "gmodule-no-export-2.0" 2>/dev/null`
26587
26087
else
26588
26088
  pkg_failed=yes
26589
26089
fi
26592
26092
        pkg_failed=untried
26593
26093
fi
26594
26094
if test -n "$PKG_CONFIG"; then
26595
 
    if test -n "$GMODULE_LIBS"; then
26596
 
        pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
 
26095
    if test -n "$GMODULE_NO_EXPORT_LIBS"; then
 
26096
        pkg_cv_GMODULE_NO_EXPORT_LIBS="$GMODULE_NO_EXPORT_LIBS"
26597
26097
    else
26598
26098
        if test -n "$PKG_CONFIG" && \
26599
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 gobject-2.0\"") >&5
26600
 
  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 gobject-2.0") 2>&5
 
26099
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\"") >&5
 
26100
  ($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
26601
26101
  ac_status=$?
26602
26102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603
26103
  (exit $ac_status); }; then
26604
 
  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 gobject-2.0" 2>/dev/null`
 
26104
  pkg_cv_GMODULE_NO_EXPORT_LIBS=`$PKG_CONFIG --libs "gmodule-no-export-2.0" 2>/dev/null`
26605
26105
else
26606
26106
  pkg_failed=yes
26607
26107
fi
26620
26120
        _pkg_short_errors_supported=no
26621
26121
fi
26622
26122
        if test $_pkg_short_errors_supported = yes; then
26623
 
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-2.0 gobject-2.0"`
 
26123
                GMODULE_NO_EXPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-no-export-2.0"`
26624
26124
        else
26625
 
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-2.0 gobject-2.0"`
 
26125
                GMODULE_NO_EXPORT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-no-export-2.0"`
26626
26126
        fi
26627
26127
        # Put the nasty error message in config.log where it belongs
26628
 
        echo "$GMODULE_PKG_ERRORS" >&5
26629
 
 
26630
 
        { { echo "$as_me:$LINENO: error: Package requirements (gmodule-2.0 gobject-2.0) were not met:
26631
 
 
26632
 
$GMODULE_PKG_ERRORS
 
26128
        echo "$GMODULE_NO_EXPORT_PKG_ERRORS" >&5
 
26129
 
 
26130
        { { echo "$as_me:$LINENO: error: Package requirements (gmodule-no-export-2.0) were not met:
 
26131
 
 
26132
$GMODULE_NO_EXPORT_PKG_ERRORS
26633
26133
 
26634
26134
Consider adjusting the PKG_CONFIG_PATH environment variable if you
26635
26135
installed software in a non-standard prefix.
26636
26136
 
26637
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
26638
 
and GMODULE_LIBS to avoid the need to call pkg-config.
 
26137
Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
 
26138
and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
26639
26139
See the pkg-config man page for more details.
26640
26140
" >&5
26641
 
echo "$as_me: error: Package requirements (gmodule-2.0 gobject-2.0) were not met:
 
26141
echo "$as_me: error: Package requirements (gmodule-no-export-2.0) were not met:
26642
26142
 
26643
 
$GMODULE_PKG_ERRORS
 
26143
$GMODULE_NO_EXPORT_PKG_ERRORS
26644
26144
 
26645
26145
Consider adjusting the PKG_CONFIG_PATH environment variable if you
26646
26146
installed software in a non-standard prefix.
26647
26147
 
26648
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
26649
 
and GMODULE_LIBS to avoid the need to call pkg-config.
 
26148
Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
 
26149
and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
26650
26150
See the pkg-config man page for more details.
26651
26151
" >&2;}
26652
26152
   { (exit 1); exit 1; }; }
26655
26155
is in your PATH or set the PKG_CONFIG environment variable to the full
26656
26156
path to pkg-config.
26657
26157
 
26658
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
26659
 
and GMODULE_LIBS to avoid the need to call pkg-config.
 
26158
Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
 
26159
and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
26660
26160
See the pkg-config man page for more details.
26661
26161
 
26662
26162
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
26665
26165
is in your PATH or set the PKG_CONFIG environment variable to the full
26666
26166
path to pkg-config.
26667
26167
 
26668
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
26669
 
and GMODULE_LIBS to avoid the need to call pkg-config.
 
26168
Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
 
26169
and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
26670
26170
See the pkg-config man page for more details.
26671
26171
 
26672
26172
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
26673
26173
See \`config.log' for more details." >&2;}
26674
26174
   { (exit 1); exit 1; }; }
26675
26175
else
26676
 
        GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
26677
 
        GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
 
26176
        GMODULE_NO_EXPORT_CFLAGS=$pkg_cv_GMODULE_NO_EXPORT_CFLAGS
 
26177
        GMODULE_NO_EXPORT_LIBS=$pkg_cv_GMODULE_NO_EXPORT_LIBS
26678
26178
        { echo "$as_me:$LINENO: result: yes" >&5
26679
26179
echo "${ECHO_T}yes" >&6; }
26680
26180
        :
26681
26181
fi
26682
26182
 
26683
 
 
26684
 
 
26685
 
{ echo "$as_me:$LINENO: checking if GLib is version 2.7.0 or newer" >&5
26686
 
echo $ECHO_N "checking if GLib is version 2.7.0 or newer... $ECHO_C" >&6; }
26687
 
if $PKG_CONFIG --atleast-version=2.7.0 glib-2.0; then
26688
 
  have_glib_2_7=yes
 
26183
{ echo "$as_me:$LINENO: checking if GLib is version 2.13.0 or newer" >&5
 
26184
echo $ECHO_N "checking if GLib is version 2.13.0 or newer... $ECHO_C" >&6; }
 
26185
if $PKG_CONFIG --atleast-version=2.13.0 glib-2.0; then
 
26186
  have_glib_2_13=yes
26689
26187
else
26690
 
  have_glib_2_7=no
 
26188
  have_glib_2_13=no
26691
26189
fi
26692
 
{ echo "$as_me:$LINENO: result: $have_glib_2_7" >&5
26693
 
echo "${ECHO_T}$have_glib_2_7" >&6; }
 
26190
{ echo "$as_me:$LINENO: result: $have_glib_2_13" >&5
 
26191
echo "${ECHO_T}$have_glib_2_13" >&6; }
26694
26192
 
26695
26193
gimp_save_LIBS=$LIBS
26696
26194
LIBS="$LIBS $GLIB_LIBS"
26761
26259
  rm -f conftest.er1
26762
26260
  cat conftest.err >&5
26763
26261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764
 
  (exit $ac_status); } &&
26765
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26766
 
  { (case "(($ac_try" in
26767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26768
 
  *) ac_try_echo=$ac_try;;
26769
 
esac
26770
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26771
 
  (eval "$ac_try") 2>&5
26772
 
  ac_status=$?
26773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774
 
  (exit $ac_status); }; } &&
26775
 
         { ac_try='test -s conftest$ac_exeext'
26776
 
  { (case "(($ac_try" in
26777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778
 
  *) ac_try_echo=$ac_try;;
26779
 
esac
26780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781
 
  (eval "$ac_try") 2>&5
26782
 
  ac_status=$?
26783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784
 
  (exit $ac_status); }; }; then
 
26262
  (exit $ac_status); } && {
 
26263
         test -z "$ac_c_werror_flag" ||
 
26264
         test ! -s conftest.err
 
26265
       } && test -s conftest$ac_exeext &&
 
26266
       $as_test_x conftest$ac_exeext; then
26785
26267
  eval "$as_ac_var=yes"
26786
26268
else
26787
26269
  echo "$as_me: failed program was:" >&5
26790
26272
        eval "$as_ac_var=no"
26791
26273
fi
26792
26274
 
26793
 
rm -f core conftest.err conftest.$ac_objext \
 
26275
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26794
26276
      conftest$ac_exeext conftest.$ac_ext
26795
26277
fi
26796
26278
ac_res=`eval echo '${'$as_ac_var'}'`
26801
26283
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26802
26284
_ACEOF
26803
26285
 
 
26286
else
 
26287
  { { echo "$as_me:$LINENO: error:
 
26288
*** Check for bind_textdomain_codeset() failed!  This is required.
 
26289
" >&5
 
26290
echo "$as_me: error:
 
26291
*** Check for bind_textdomain_codeset() failed!  This is required.
 
26292
" >&2;}
 
26293
   { (exit 1); exit 1; }; }
26804
26294
fi
26805
26295
done
26806
26296
 
26929
26419
  rm -f conftest.er1
26930
26420
  cat conftest.err >&5
26931
26421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932
 
  (exit $ac_status); } >/dev/null; then
26933
 
  if test -s conftest.err; then
26934
 
    ac_cpp_err=$ac_c_preproc_warn_flag
26935
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26936
 
  else
26937
 
    ac_cpp_err=
26938
 
  fi
26939
 
else
26940
 
  ac_cpp_err=yes
26941
 
fi
26942
 
if test -z "$ac_cpp_err"; then
 
26422
  (exit $ac_status); } >/dev/null && {
 
26423
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
26424
         test ! -s conftest.err
 
26425
       }; then
26943
26426
  # We can compile using X headers with no special include directory.
26944
26427
ac_x_includes=
26945
26428
else
26962
26445
  # See if we find them without any special options.
26963
26446
  # Don't add to $LIBS permanently.
26964
26447
  ac_save_LIBS=$LIBS
26965
 
  LIBS="-lXt $LIBS"
 
26448
  LIBS="-lX11 $LIBS"
26966
26449
  cat >conftest.$ac_ext <<_ACEOF
26967
26450
/* confdefs.h.  */
26968
26451
_ACEOF
26991
26474
  rm -f conftest.er1
26992
26475
  cat conftest.err >&5
26993
26476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994
 
  (exit $ac_status); } &&
26995
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26996
 
  { (case "(($ac_try" in
26997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26998
 
  *) ac_try_echo=$ac_try;;
26999
 
esac
27000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001
 
  (eval "$ac_try") 2>&5
27002
 
  ac_status=$?
27003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004
 
  (exit $ac_status); }; } &&
27005
 
         { ac_try='test -s conftest$ac_exeext'
27006
 
  { (case "(($ac_try" in
27007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27008
 
  *) ac_try_echo=$ac_try;;
27009
 
esac
27010
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27011
 
  (eval "$ac_try") 2>&5
27012
 
  ac_status=$?
27013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014
 
  (exit $ac_status); }; }; then
 
26477
  (exit $ac_status); } && {
 
26478
         test -z "$ac_c_werror_flag" ||
 
26479
         test ! -s conftest.err
 
26480
       } && test -s conftest$ac_exeext &&
 
26481
       $as_test_x conftest$ac_exeext; then
27015
26482
  LIBS=$ac_save_LIBS
27016
26483
# We can link X programs with no special library path.
27017
26484
ac_x_libraries=
27024
26491
do
27025
26492
  # Don't even attempt the hair of trying to link an X program!
27026
26493
  for ac_extension in a so sl; do
27027
 
    if test -r "$ac_dir/libXt.$ac_extension"; then
 
26494
    if test -r "$ac_dir/libX11.$ac_extension"; then
27028
26495
      ac_x_libraries=$ac_dir
27029
26496
      break 2
27030
26497
    fi
27032
26499
done
27033
26500
fi
27034
26501
 
27035
 
rm -f core conftest.err conftest.$ac_objext \
 
26502
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27036
26503
      conftest$ac_exeext conftest.$ac_ext
27037
26504
fi # $ac_x_libraries = no
27038
26505
 
27087
26554
    X_LIBS="$X_LIBS -L$x_libraries"
27088
26555
    # For Solaris; some versions of Sun CC require a space after -R and
27089
26556
    # others require no space.  Words are not sufficient . . . .
27090
 
    case `(uname -sr) 2>/dev/null` in
27091
 
    "SunOS 5"*)
27092
 
      { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
26557
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27093
26558
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
27094
 
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27095
 
      cat >conftest.$ac_ext <<_ACEOF
 
26559
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
26560
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
26561
    ac_c_werror_flag=yes
 
26562
    cat >conftest.$ac_ext <<_ACEOF
27096
26563
/* confdefs.h.  */
27097
26564
_ACEOF
27098
26565
cat confdefs.h >>conftest.$ac_ext
27120
26587
  rm -f conftest.er1
27121
26588
  cat conftest.err >&5
27122
26589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123
 
  (exit $ac_status); } &&
27124
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27125
 
  { (case "(($ac_try" in
27126
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27127
 
  *) ac_try_echo=$ac_try;;
27128
 
esac
27129
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27130
 
  (eval "$ac_try") 2>&5
27131
 
  ac_status=$?
27132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133
 
  (exit $ac_status); }; } &&
27134
 
         { ac_try='test -s conftest$ac_exeext'
27135
 
  { (case "(($ac_try" in
27136
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27137
 
  *) ac_try_echo=$ac_try;;
27138
 
esac
27139
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27140
 
  (eval "$ac_try") 2>&5
27141
 
  ac_status=$?
27142
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143
 
  (exit $ac_status); }; }; then
27144
 
  ac_R_nospace=yes
 
26590
  (exit $ac_status); } && {
 
26591
         test -z "$ac_c_werror_flag" ||
 
26592
         test ! -s conftest.err
 
26593
       } && test -s conftest$ac_exeext &&
 
26594
       $as_test_x conftest$ac_exeext; then
 
26595
  { echo "$as_me:$LINENO: result: no" >&5
 
26596
echo "${ECHO_T}no" >&6; }
 
26597
       X_LIBS="$X_LIBS -R$x_libraries"
27145
26598
else
27146
26599
  echo "$as_me: failed program was:" >&5
27147
26600
sed 's/^/| /' conftest.$ac_ext >&5
27148
26601
 
27149
 
        ac_R_nospace=no
27150
 
fi
27151
 
 
27152
 
rm -f core conftest.err conftest.$ac_objext \
27153
 
      conftest$ac_exeext conftest.$ac_ext
27154
 
      if test $ac_R_nospace = yes; then
27155
 
        { echo "$as_me:$LINENO: result: no" >&5
27156
 
echo "${ECHO_T}no" >&6; }
27157
 
        X_LIBS="$X_LIBS -R$x_libraries"
27158
 
      else
27159
26602
        LIBS="$ac_xsave_LIBS -R $x_libraries"
27160
 
        cat >conftest.$ac_ext <<_ACEOF
 
26603
       cat >conftest.$ac_ext <<_ACEOF
27161
26604
/* confdefs.h.  */
27162
26605
_ACEOF
27163
26606
cat confdefs.h >>conftest.$ac_ext
27185
26628
  rm -f conftest.er1
27186
26629
  cat conftest.err >&5
27187
26630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188
 
  (exit $ac_status); } &&
27189
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27190
 
  { (case "(($ac_try" in
27191
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27192
 
  *) ac_try_echo=$ac_try;;
27193
 
esac
27194
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27195
 
  (eval "$ac_try") 2>&5
27196
 
  ac_status=$?
27197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198
 
  (exit $ac_status); }; } &&
27199
 
         { ac_try='test -s conftest$ac_exeext'
27200
 
  { (case "(($ac_try" in
27201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27202
 
  *) ac_try_echo=$ac_try;;
27203
 
esac
27204
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27205
 
  (eval "$ac_try") 2>&5
27206
 
  ac_status=$?
27207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208
 
  (exit $ac_status); }; }; then
27209
 
  ac_R_space=yes
27210
 
else
27211
 
  echo "$as_me: failed program was:" >&5
27212
 
sed 's/^/| /' conftest.$ac_ext >&5
27213
 
 
27214
 
        ac_R_space=no
27215
 
fi
27216
 
 
27217
 
rm -f core conftest.err conftest.$ac_objext \
27218
 
      conftest$ac_exeext conftest.$ac_ext
27219
 
        if test $ac_R_space = yes; then
27220
 
          { echo "$as_me:$LINENO: result: yes" >&5
 
26631
  (exit $ac_status); } && {
 
26632
         test -z "$ac_c_werror_flag" ||
 
26633
         test ! -s conftest.err
 
26634
       } && test -s conftest$ac_exeext &&
 
26635
       $as_test_x conftest$ac_exeext; then
 
26636
  { echo "$as_me:$LINENO: result: yes" >&5
27221
26637
echo "${ECHO_T}yes" >&6; }
27222
26638
          X_LIBS="$X_LIBS -R $x_libraries"
27223
 
        else
27224
 
          { echo "$as_me:$LINENO: result: neither works" >&5
 
26639
else
 
26640
  echo "$as_me: failed program was:" >&5
 
26641
sed 's/^/| /' conftest.$ac_ext >&5
 
26642
 
 
26643
        { echo "$as_me:$LINENO: result: neither works" >&5
27225
26644
echo "${ECHO_T}neither works" >&6; }
27226
 
        fi
27227
 
      fi
27228
 
      LIBS=$ac_xsave_LIBS
27229
 
    esac
 
26645
fi
 
26646
 
 
26647
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
26648
      conftest$ac_exeext conftest.$ac_ext
 
26649
fi
 
26650
 
 
26651
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
26652
      conftest$ac_exeext conftest.$ac_ext
 
26653
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
26654
    LIBS=$ac_xsave_LIBS
27230
26655
  fi
27231
26656
 
27232
26657
  # Check for system-dependent libraries X programs must link with.
27275
26700
  rm -f conftest.er1
27276
26701
  cat conftest.err >&5
27277
26702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278
 
  (exit $ac_status); } &&
27279
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27280
 
  { (case "(($ac_try" in
27281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27282
 
  *) ac_try_echo=$ac_try;;
27283
 
esac
27284
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27285
 
  (eval "$ac_try") 2>&5
27286
 
  ac_status=$?
27287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288
 
  (exit $ac_status); }; } &&
27289
 
         { ac_try='test -s conftest$ac_exeext'
27290
 
  { (case "(($ac_try" in
27291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27292
 
  *) ac_try_echo=$ac_try;;
27293
 
esac
27294
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27295
 
  (eval "$ac_try") 2>&5
27296
 
  ac_status=$?
27297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298
 
  (exit $ac_status); }; }; then
 
26703
  (exit $ac_status); } && {
 
26704
         test -z "$ac_c_werror_flag" ||
 
26705
         test ! -s conftest.err
 
26706
       } && test -s conftest$ac_exeext &&
 
26707
       $as_test_x conftest$ac_exeext; then
27299
26708
  :
27300
26709
else
27301
26710
  echo "$as_me: failed program was:" >&5
27343
26752
  rm -f conftest.er1
27344
26753
  cat conftest.err >&5
27345
26754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346
 
  (exit $ac_status); } &&
27347
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27348
 
  { (case "(($ac_try" in
27349
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27350
 
  *) ac_try_echo=$ac_try;;
27351
 
esac
27352
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27353
 
  (eval "$ac_try") 2>&5
27354
 
  ac_status=$?
27355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356
 
  (exit $ac_status); }; } &&
27357
 
         { ac_try='test -s conftest$ac_exeext'
27358
 
  { (case "(($ac_try" in
27359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27360
 
  *) ac_try_echo=$ac_try;;
27361
 
esac
27362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27363
 
  (eval "$ac_try") 2>&5
27364
 
  ac_status=$?
27365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366
 
  (exit $ac_status); }; }; then
 
26755
  (exit $ac_status); } && {
 
26756
         test -z "$ac_c_werror_flag" ||
 
26757
         test ! -s conftest.err
 
26758
       } && test -s conftest$ac_exeext &&
 
26759
       $as_test_x conftest$ac_exeext; then
27367
26760
  ac_cv_lib_dnet_dnet_ntoa=yes
27368
26761
else
27369
26762
  echo "$as_me: failed program was:" >&5
27372
26765
        ac_cv_lib_dnet_dnet_ntoa=no
27373
26766
fi
27374
26767
 
27375
 
rm -f core conftest.err conftest.$ac_objext \
 
26768
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27376
26769
      conftest$ac_exeext conftest.$ac_ext
27377
26770
LIBS=$ac_check_lib_save_LIBS
27378
26771
fi
27425
26818
  rm -f conftest.er1
27426
26819
  cat conftest.err >&5
27427
26820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428
 
  (exit $ac_status); } &&
27429
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27430
 
  { (case "(($ac_try" in
27431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432
 
  *) ac_try_echo=$ac_try;;
27433
 
esac
27434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435
 
  (eval "$ac_try") 2>&5
27436
 
  ac_status=$?
27437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438
 
  (exit $ac_status); }; } &&
27439
 
         { ac_try='test -s conftest$ac_exeext'
27440
 
  { (case "(($ac_try" in
27441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27442
 
  *) ac_try_echo=$ac_try;;
27443
 
esac
27444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445
 
  (eval "$ac_try") 2>&5
27446
 
  ac_status=$?
27447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448
 
  (exit $ac_status); }; }; then
 
26821
  (exit $ac_status); } && {
 
26822
         test -z "$ac_c_werror_flag" ||
 
26823
         test ! -s conftest.err
 
26824
       } && test -s conftest$ac_exeext &&
 
26825
       $as_test_x conftest$ac_exeext; then
27449
26826
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
27450
26827
else
27451
26828
  echo "$as_me: failed program was:" >&5
27454
26831
        ac_cv_lib_dnet_stub_dnet_ntoa=no
27455
26832
fi
27456
26833
 
27457
 
rm -f core conftest.err conftest.$ac_objext \
 
26834
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27458
26835
      conftest$ac_exeext conftest.$ac_ext
27459
26836
LIBS=$ac_check_lib_save_LIBS
27460
26837
fi
27467
26844
    fi
27468
26845
fi
27469
26846
 
27470
 
rm -f core conftest.err conftest.$ac_objext \
 
26847
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27471
26848
      conftest$ac_exeext conftest.$ac_ext
27472
26849
    LIBS="$ac_xsave_LIBS"
27473
26850
 
27542
26919
  rm -f conftest.er1
27543
26920
  cat conftest.err >&5
27544
26921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545
 
  (exit $ac_status); } &&
27546
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27547
 
  { (case "(($ac_try" in
27548
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27549
 
  *) ac_try_echo=$ac_try;;
27550
 
esac
27551
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27552
 
  (eval "$ac_try") 2>&5
27553
 
  ac_status=$?
27554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555
 
  (exit $ac_status); }; } &&
27556
 
         { ac_try='test -s conftest$ac_exeext'
27557
 
  { (case "(($ac_try" in
27558
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559
 
  *) ac_try_echo=$ac_try;;
27560
 
esac
27561
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562
 
  (eval "$ac_try") 2>&5
27563
 
  ac_status=$?
27564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565
 
  (exit $ac_status); }; }; then
 
26922
  (exit $ac_status); } && {
 
26923
         test -z "$ac_c_werror_flag" ||
 
26924
         test ! -s conftest.err
 
26925
       } && test -s conftest$ac_exeext &&
 
26926
       $as_test_x conftest$ac_exeext; then
27566
26927
  ac_cv_func_gethostbyname=yes
27567
26928
else
27568
26929
  echo "$as_me: failed program was:" >&5
27571
26932
        ac_cv_func_gethostbyname=no
27572
26933
fi
27573
26934
 
27574
 
rm -f core conftest.err conftest.$ac_objext \
 
26935
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27575
26936
      conftest$ac_exeext conftest.$ac_ext
27576
26937
fi
27577
26938
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27620
26981
  rm -f conftest.er1
27621
26982
  cat conftest.err >&5
27622
26983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623
 
  (exit $ac_status); } &&
27624
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27625
 
  { (case "(($ac_try" in
27626
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27627
 
  *) ac_try_echo=$ac_try;;
27628
 
esac
27629
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27630
 
  (eval "$ac_try") 2>&5
27631
 
  ac_status=$?
27632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633
 
  (exit $ac_status); }; } &&
27634
 
         { ac_try='test -s conftest$ac_exeext'
27635
 
  { (case "(($ac_try" in
27636
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27637
 
  *) ac_try_echo=$ac_try;;
27638
 
esac
27639
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27640
 
  (eval "$ac_try") 2>&5
27641
 
  ac_status=$?
27642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643
 
  (exit $ac_status); }; }; then
 
26984
  (exit $ac_status); } && {
 
26985
         test -z "$ac_c_werror_flag" ||
 
26986
         test ! -s conftest.err
 
26987
       } && test -s conftest$ac_exeext &&
 
26988
       $as_test_x conftest$ac_exeext; then
27644
26989
  ac_cv_lib_nsl_gethostbyname=yes
27645
26990
else
27646
26991
  echo "$as_me: failed program was:" >&5
27649
26994
        ac_cv_lib_nsl_gethostbyname=no
27650
26995
fi
27651
26996
 
27652
 
rm -f core conftest.err conftest.$ac_objext \
 
26997
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27653
26998
      conftest$ac_exeext conftest.$ac_ext
27654
26999
LIBS=$ac_check_lib_save_LIBS
27655
27000
fi
27702
27047
  rm -f conftest.er1
27703
27048
  cat conftest.err >&5
27704
27049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705
 
  (exit $ac_status); } &&
27706
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27707
 
  { (case "(($ac_try" in
27708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709
 
  *) ac_try_echo=$ac_try;;
27710
 
esac
27711
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712
 
  (eval "$ac_try") 2>&5
27713
 
  ac_status=$?
27714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715
 
  (exit $ac_status); }; } &&
27716
 
         { ac_try='test -s conftest$ac_exeext'
27717
 
  { (case "(($ac_try" in
27718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27719
 
  *) ac_try_echo=$ac_try;;
27720
 
esac
27721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27722
 
  (eval "$ac_try") 2>&5
27723
 
  ac_status=$?
27724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725
 
  (exit $ac_status); }; }; then
 
27050
  (exit $ac_status); } && {
 
27051
         test -z "$ac_c_werror_flag" ||
 
27052
         test ! -s conftest.err
 
27053
       } && test -s conftest$ac_exeext &&
 
27054
       $as_test_x conftest$ac_exeext; then
27726
27055
  ac_cv_lib_bsd_gethostbyname=yes
27727
27056
else
27728
27057
  echo "$as_me: failed program was:" >&5
27731
27060
        ac_cv_lib_bsd_gethostbyname=no
27732
27061
fi
27733
27062
 
27734
 
rm -f core conftest.err conftest.$ac_objext \
 
27063
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27735
27064
      conftest$ac_exeext conftest.$ac_ext
27736
27065
LIBS=$ac_check_lib_save_LIBS
27737
27066
fi
27814
27143
  rm -f conftest.er1
27815
27144
  cat conftest.err >&5
27816
27145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817
 
  (exit $ac_status); } &&
27818
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27819
 
  { (case "(($ac_try" in
27820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27821
 
  *) ac_try_echo=$ac_try;;
27822
 
esac
27823
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27824
 
  (eval "$ac_try") 2>&5
27825
 
  ac_status=$?
27826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827
 
  (exit $ac_status); }; } &&
27828
 
         { ac_try='test -s conftest$ac_exeext'
27829
 
  { (case "(($ac_try" in
27830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27831
 
  *) ac_try_echo=$ac_try;;
27832
 
esac
27833
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27834
 
  (eval "$ac_try") 2>&5
27835
 
  ac_status=$?
27836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837
 
  (exit $ac_status); }; }; then
 
27146
  (exit $ac_status); } && {
 
27147
         test -z "$ac_c_werror_flag" ||
 
27148
         test ! -s conftest.err
 
27149
       } && test -s conftest$ac_exeext &&
 
27150
       $as_test_x conftest$ac_exeext; then
27838
27151
  ac_cv_func_connect=yes
27839
27152
else
27840
27153
  echo "$as_me: failed program was:" >&5
27843
27156
        ac_cv_func_connect=no
27844
27157
fi
27845
27158
 
27846
 
rm -f core conftest.err conftest.$ac_objext \
 
27159
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27847
27160
      conftest$ac_exeext conftest.$ac_ext
27848
27161
fi
27849
27162
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27892
27205
  rm -f conftest.er1
27893
27206
  cat conftest.err >&5
27894
27207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895
 
  (exit $ac_status); } &&
27896
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27897
 
  { (case "(($ac_try" in
27898
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27899
 
  *) ac_try_echo=$ac_try;;
27900
 
esac
27901
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27902
 
  (eval "$ac_try") 2>&5
27903
 
  ac_status=$?
27904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905
 
  (exit $ac_status); }; } &&
27906
 
         { ac_try='test -s conftest$ac_exeext'
27907
 
  { (case "(($ac_try" in
27908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27909
 
  *) ac_try_echo=$ac_try;;
27910
 
esac
27911
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27912
 
  (eval "$ac_try") 2>&5
27913
 
  ac_status=$?
27914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915
 
  (exit $ac_status); }; }; then
 
27208
  (exit $ac_status); } && {
 
27209
         test -z "$ac_c_werror_flag" ||
 
27210
         test ! -s conftest.err
 
27211
       } && test -s conftest$ac_exeext &&
 
27212
       $as_test_x conftest$ac_exeext; then
27916
27213
  ac_cv_lib_socket_connect=yes
27917
27214
else
27918
27215
  echo "$as_me: failed program was:" >&5
27921
27218
        ac_cv_lib_socket_connect=no
27922
27219
fi
27923
27220
 
27924
 
rm -f core conftest.err conftest.$ac_objext \
 
27221
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27925
27222
      conftest$ac_exeext conftest.$ac_ext
27926
27223
LIBS=$ac_check_lib_save_LIBS
27927
27224
fi
27997
27294
  rm -f conftest.er1
27998
27295
  cat conftest.err >&5
27999
27296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000
 
  (exit $ac_status); } &&
28001
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28002
 
  { (case "(($ac_try" in
28003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28004
 
  *) ac_try_echo=$ac_try;;
28005
 
esac
28006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28007
 
  (eval "$ac_try") 2>&5
28008
 
  ac_status=$?
28009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010
 
  (exit $ac_status); }; } &&
28011
 
         { ac_try='test -s conftest$ac_exeext'
28012
 
  { (case "(($ac_try" in
28013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28014
 
  *) ac_try_echo=$ac_try;;
28015
 
esac
28016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28017
 
  (eval "$ac_try") 2>&5
28018
 
  ac_status=$?
28019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020
 
  (exit $ac_status); }; }; then
 
27297
  (exit $ac_status); } && {
 
27298
         test -z "$ac_c_werror_flag" ||
 
27299
         test ! -s conftest.err
 
27300
       } && test -s conftest$ac_exeext &&
 
27301
       $as_test_x conftest$ac_exeext; then
28021
27302
  ac_cv_func_remove=yes
28022
27303
else
28023
27304
  echo "$as_me: failed program was:" >&5
28026
27307
        ac_cv_func_remove=no
28027
27308
fi
28028
27309
 
28029
 
rm -f core conftest.err conftest.$ac_objext \
 
27310
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28030
27311
      conftest$ac_exeext conftest.$ac_ext
28031
27312
fi
28032
27313
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28075
27356
  rm -f conftest.er1
28076
27357
  cat conftest.err >&5
28077
27358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28078
 
  (exit $ac_status); } &&
28079
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28080
 
  { (case "(($ac_try" in
28081
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28082
 
  *) ac_try_echo=$ac_try;;
28083
 
esac
28084
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28085
 
  (eval "$ac_try") 2>&5
28086
 
  ac_status=$?
28087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088
 
  (exit $ac_status); }; } &&
28089
 
         { ac_try='test -s conftest$ac_exeext'
28090
 
  { (case "(($ac_try" in
28091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28092
 
  *) ac_try_echo=$ac_try;;
28093
 
esac
28094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28095
 
  (eval "$ac_try") 2>&5
28096
 
  ac_status=$?
28097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098
 
  (exit $ac_status); }; }; then
 
27359
  (exit $ac_status); } && {
 
27360
         test -z "$ac_c_werror_flag" ||
 
27361
         test ! -s conftest.err
 
27362
       } && test -s conftest$ac_exeext &&
 
27363
       $as_test_x conftest$ac_exeext; then
28099
27364
  ac_cv_lib_posix_remove=yes
28100
27365
else
28101
27366
  echo "$as_me: failed program was:" >&5
28104
27369
        ac_cv_lib_posix_remove=no
28105
27370
fi
28106
27371
 
28107
 
rm -f core conftest.err conftest.$ac_objext \
 
27372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28108
27373
      conftest$ac_exeext conftest.$ac_ext
28109
27374
LIBS=$ac_check_lib_save_LIBS
28110
27375
fi
28180
27445
  rm -f conftest.er1
28181
27446
  cat conftest.err >&5
28182
27447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183
 
  (exit $ac_status); } &&
28184
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28185
 
  { (case "(($ac_try" in
28186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187
 
  *) ac_try_echo=$ac_try;;
28188
 
esac
28189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190
 
  (eval "$ac_try") 2>&5
28191
 
  ac_status=$?
28192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193
 
  (exit $ac_status); }; } &&
28194
 
         { ac_try='test -s conftest$ac_exeext'
28195
 
  { (case "(($ac_try" in
28196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28197
 
  *) ac_try_echo=$ac_try;;
28198
 
esac
28199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28200
 
  (eval "$ac_try") 2>&5
28201
 
  ac_status=$?
28202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203
 
  (exit $ac_status); }; }; then
 
27448
  (exit $ac_status); } && {
 
27449
         test -z "$ac_c_werror_flag" ||
 
27450
         test ! -s conftest.err
 
27451
       } && test -s conftest$ac_exeext &&
 
27452
       $as_test_x conftest$ac_exeext; then
28204
27453
  ac_cv_func_shmat=yes
28205
27454
else
28206
27455
  echo "$as_me: failed program was:" >&5
28209
27458
        ac_cv_func_shmat=no
28210
27459
fi
28211
27460
 
28212
 
rm -f core conftest.err conftest.$ac_objext \
 
27461
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28213
27462
      conftest$ac_exeext conftest.$ac_ext
28214
27463
fi
28215
27464
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28258
27507
  rm -f conftest.er1
28259
27508
  cat conftest.err >&5
28260
27509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261
 
  (exit $ac_status); } &&
28262
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28263
 
  { (case "(($ac_try" in
28264
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28265
 
  *) ac_try_echo=$ac_try;;
28266
 
esac
28267
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28268
 
  (eval "$ac_try") 2>&5
28269
 
  ac_status=$?
28270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271
 
  (exit $ac_status); }; } &&
28272
 
         { ac_try='test -s conftest$ac_exeext'
28273
 
  { (case "(($ac_try" in
28274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28275
 
  *) ac_try_echo=$ac_try;;
28276
 
esac
28277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28278
 
  (eval "$ac_try") 2>&5
28279
 
  ac_status=$?
28280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281
 
  (exit $ac_status); }; }; then
 
27510
  (exit $ac_status); } && {
 
27511
         test -z "$ac_c_werror_flag" ||
 
27512
         test ! -s conftest.err
 
27513
       } && test -s conftest$ac_exeext &&
 
27514
       $as_test_x conftest$ac_exeext; then
28282
27515
  ac_cv_lib_ipc_shmat=yes
28283
27516
else
28284
27517
  echo "$as_me: failed program was:" >&5
28287
27520
        ac_cv_lib_ipc_shmat=no
28288
27521
fi
28289
27522
 
28290
 
rm -f core conftest.err conftest.$ac_objext \
 
27523
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28291
27524
      conftest$ac_exeext conftest.$ac_ext
28292
27525
LIBS=$ac_check_lib_save_LIBS
28293
27526
fi
28351
27584
  rm -f conftest.er1
28352
27585
  cat conftest.err >&5
28353
27586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354
 
  (exit $ac_status); } &&
28355
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28356
 
  { (case "(($ac_try" in
28357
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358
 
  *) ac_try_echo=$ac_try;;
28359
 
esac
28360
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361
 
  (eval "$ac_try") 2>&5
28362
 
  ac_status=$?
28363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364
 
  (exit $ac_status); }; } &&
28365
 
         { ac_try='test -s conftest$ac_exeext'
28366
 
  { (case "(($ac_try" in
28367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28368
 
  *) ac_try_echo=$ac_try;;
28369
 
esac
28370
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28371
 
  (eval "$ac_try") 2>&5
28372
 
  ac_status=$?
28373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374
 
  (exit $ac_status); }; }; then
 
27587
  (exit $ac_status); } && {
 
27588
         test -z "$ac_c_werror_flag" ||
 
27589
         test ! -s conftest.err
 
27590
       } && test -s conftest$ac_exeext &&
 
27591
       $as_test_x conftest$ac_exeext; then
28375
27592
  ac_cv_lib_ICE_IceConnectionNumber=yes
28376
27593
else
28377
27594
  echo "$as_me: failed program was:" >&5
28380
27597
        ac_cv_lib_ICE_IceConnectionNumber=no
28381
27598
fi
28382
27599
 
28383
 
rm -f core conftest.err conftest.$ac_objext \
 
27600
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28384
27601
      conftest$ac_exeext conftest.$ac_ext
28385
27602
LIBS=$ac_check_lib_save_LIBS
28386
27603
fi
28433
27650
  IFS=$as_save_IFS
28434
27651
  test -z "$as_dir" && as_dir=.
28435
27652
  for ac_exec_ext in '' $ac_executable_extensions; do
28436
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
27653
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28437
27654
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28438
27655
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28439
27656
    break 2
28469
27686
    no_gtk=yes
28470
27687
  fi
28471
27688
 
28472
 
  min_gtk_version=2.4.4
 
27689
  min_gtk_version=2.10.6
28473
27690
  { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28474
27691
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28475
27692
 
28671
27888
  rm -f conftest.er1
28672
27889
  cat conftest.err >&5
28673
27890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674
 
  (exit $ac_status); } &&
28675
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28676
 
  { (case "(($ac_try" in
28677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28678
 
  *) ac_try_echo=$ac_try;;
28679
 
esac
28680
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28681
 
  (eval "$ac_try") 2>&5
28682
 
  ac_status=$?
28683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684
 
  (exit $ac_status); }; } &&
28685
 
         { ac_try='test -s conftest$ac_exeext'
28686
 
  { (case "(($ac_try" in
28687
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28688
 
  *) ac_try_echo=$ac_try;;
28689
 
esac
28690
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28691
 
  (eval "$ac_try") 2>&5
28692
 
  ac_status=$?
28693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694
 
  (exit $ac_status); }; }; then
 
27891
  (exit $ac_status); } && {
 
27892
         test -z "$ac_c_werror_flag" ||
 
27893
         test ! -s conftest.err
 
27894
       } && test -s conftest$ac_exeext &&
 
27895
       $as_test_x conftest$ac_exeext; then
28695
27896
   echo "*** The test program compiled, but did not run. This usually means"
28696
27897
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28697
27898
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28709
27910
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28710
27911
fi
28711
27912
 
28712
 
rm -f core conftest.err conftest.$ac_objext \
 
27913
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28713
27914
      conftest$ac_exeext conftest.$ac_ext
28714
27915
          CFLAGS="$ac_save_CFLAGS"
28715
27916
          LIBS="$ac_save_LIBS"
28726
27927
  rm -f conf.gtktest
28727
27928
 
28728
27929
 
28729
 
{ echo "$as_me:$LINENO: checking if GTK+ is version 2.7.0 or newer" >&5
28730
 
echo $ECHO_N "checking if GTK+ is version 2.7.0 or newer... $ECHO_C" >&6; }
28731
 
if $PKG_CONFIG --atleast-version=2.7.0 gtk+-2.0; then
28732
 
  have_gtk_2_7=yes
 
27930
{ echo "$as_me:$LINENO: checking if GTK+ is version 2.11.0 or newer" >&5
 
27931
echo $ECHO_N "checking if GTK+ is version 2.11.0 or newer... $ECHO_C" >&6; }
 
27932
if $PKG_CONFIG --atleast-version=2.11.0 gtk+-2.0; then
 
27933
  have_gtk_2_11=yes
28733
27934
else
28734
 
  have_gtk_2_7=no
 
27935
  have_gtk_2_11=no
28735
27936
fi
28736
 
{ echo "$as_me:$LINENO: result: $have_gtk_2_7" >&5
28737
 
echo "${ECHO_T}$have_gtk_2_7" >&6; }
 
27937
{ echo "$as_me:$LINENO: result: $have_gtk_2_11" >&5
 
27938
echo "${ECHO_T}$have_gtk_2_11" >&6; }
28738
27939
 
28739
27940
 
28740
27941
pkg_failed=no
28746
27947
        pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
28747
27948
    else
28748
27949
        if test -n "$PKG_CONFIG" && \
28749
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.4.4\"") >&5
28750
 
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.4.4") 2>&5
 
27950
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.10.6\"") >&5
 
27951
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.10.6") 2>&5
28751
27952
  ac_status=$?
28752
27953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753
27954
  (exit $ac_status); }; then
28754
 
  pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.4.4" 2>/dev/null`
 
27955
  pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.10.6" 2>/dev/null`
28755
27956
else
28756
27957
  pkg_failed=yes
28757
27958
fi
28764
27965
        pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
28765
27966
    else
28766
27967
        if test -n "$PKG_CONFIG" && \
28767
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.4.4\"") >&5
28768
 
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.4.4") 2>&5
 
27968
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.10.6\"") >&5
 
27969
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.10.6") 2>&5
28769
27970
  ac_status=$?
28770
27971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771
27972
  (exit $ac_status); }; then
28772
 
  pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.4.4" 2>/dev/null`
 
27973
  pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.10.6" 2>/dev/null`
28773
27974
else
28774
27975
  pkg_failed=yes
28775
27976
fi
28788
27989
        _pkg_short_errors_supported=no
28789
27990
fi
28790
27991
        if test $_pkg_short_errors_supported = yes; then
28791
 
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.4.4"`
 
27992
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.10.6"`
28792
27993
        else
28793
 
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.4.4"`
 
27994
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.10.6"`
28794
27995
        fi
28795
27996
        # Put the nasty error message in config.log where it belongs
28796
27997
        echo "$GDK_PIXBUF_PKG_ERRORS" >&5
28797
27998
 
28798
 
        { { echo "$as_me:$LINENO: error: Package requirements (gdk-pixbuf-2.0 >= 2.4.4) were not met:
 
27999
        { { echo "$as_me:$LINENO: error: Package requirements (gdk-pixbuf-2.0 >= 2.10.6) were not met:
28799
28000
 
28800
28001
$GDK_PIXBUF_PKG_ERRORS
28801
28002
 
28806
28007
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
28807
28008
See the pkg-config man page for more details.
28808
28009
" >&5
28809
 
echo "$as_me: error: Package requirements (gdk-pixbuf-2.0 >= 2.4.4) were not met:
 
28010
echo "$as_me: error: Package requirements (gdk-pixbuf-2.0 >= 2.10.6) were not met:
28810
28011
 
28811
28012
$GDK_PIXBUF_PKG_ERRORS
28812
28013
 
28848
28049
        :
28849
28050
fi
28850
28051
 
28851
 
 
28852
 
 
28853
28052
# Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
28854
28053
set dummy gdk-pixbuf-csource; ac_word=$2
28855
28054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
28868
28067
  IFS=$as_save_IFS
28869
28068
  test -z "$as_dir" && as_dir=.
28870
28069
  for ac_exec_ext in '' $ac_executable_extensions; do
28871
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
28070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28872
28071
    ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
28873
28072
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28874
28073
    break 2
29010
28209
fi
29011
28210
 
29012
28211
 
29013
 
 
29014
 
 
29015
28212
pkg_failed=no
29016
28213
{ echo "$as_me:$LINENO: checking for FONTCONFIG" >&5
29017
28214
echo $ECHO_N "checking for FONTCONFIG... $ECHO_C" >&6; }
29133
28330
        pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
29134
28331
    else
29135
28332
        if test -n "$PKG_CONFIG" && \
29136
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.4.0\"") >&5
29137
 
  ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.4.0") 2>&5
 
28333
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.12.2\"") >&5
 
28334
  ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.12.2") 2>&5
29138
28335
  ac_status=$?
29139
28336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140
28337
  (exit $ac_status); }; then
29141
 
  pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2 >= 1.4.0" 2>/dev/null`
 
28338
  pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2 >= 1.12.2" 2>/dev/null`
29142
28339
else
29143
28340
  pkg_failed=yes
29144
28341
fi
29151
28348
        pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
29152
28349
    else
29153
28350
        if test -n "$PKG_CONFIG" && \
29154
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.4.0\"") >&5
29155
 
  ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.4.0") 2>&5
 
28351
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.12.2\"") >&5
 
28352
  ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.12.2") 2>&5
29156
28353
  ac_status=$?
29157
28354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158
28355
  (exit $ac_status); }; then
29159
 
  pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2 >= 1.4.0" 2>/dev/null`
 
28356
  pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2 >= 1.12.2" 2>/dev/null`
29160
28357
else
29161
28358
  pkg_failed=yes
29162
28359
fi
29175
28372
        _pkg_short_errors_supported=no
29176
28373
fi
29177
28374
        if test $_pkg_short_errors_supported = yes; then
29178
 
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2 >= 1.4.0"`
 
28375
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2 >= 1.12.2"`
29179
28376
        else
29180
 
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2 >= 1.4.0"`
 
28377
                PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2 >= 1.12.2"`
29181
28378
        fi
29182
28379
        # Put the nasty error message in config.log where it belongs
29183
28380
        echo "$PANGOFT2_PKG_ERRORS" >&5
29184
28381
 
29185
 
        { { echo "$as_me:$LINENO: error: Test for PangoFT2 failed.
 
28382
        { echo "$as_me:$LINENO: result: no" >&5
 
28383
echo "${ECHO_T}no" >&6; }
 
28384
                { { echo "$as_me:$LINENO: error: Test for PangoFT2 failed.
29186
28385
*** We require Pango with the optional support for FreeType2 compiled in.
29187
28386
*** See the file 'INSTALL' for more help." >&5
29188
28387
echo "$as_me: error: Test for PangoFT2 failed.
29205
28404
        :
29206
28405
fi
29207
28406
 
29208
 
 
29209
 
 
29210
 
{ echo "$as_me:$LINENO: checking if Pango is version 1.9.0 or newer" >&5
29211
 
echo $ECHO_N "checking if Pango is version 1.9.0 or newer... $ECHO_C" >&6; }
29212
 
if $PKG_CONFIG --atleast-version=1.9.0 pango; then
29213
 
  have_pango_1_9=yes
 
28407
{ echo "$as_me:$LINENO: checking if Pango is version 1.15.0 or newer" >&5
 
28408
echo $ECHO_N "checking if Pango is version 1.15.0 or newer... $ECHO_C" >&6; }
 
28409
if $PKG_CONFIG --atleast-version=1.15.0 pango; then
 
28410
  have_pango_1_15=yes
29214
28411
else
29215
 
  have_pango_1_9=no
 
28412
  have_pango_1_15=no
29216
28413
fi
29217
 
{ echo "$as_me:$LINENO: result: $have_pango_1_9" >&5
29218
 
echo "${ECHO_T}$have_pango_1_9" >&6; }
 
28414
{ echo "$as_me:$LINENO: result: $have_pango_1_15" >&5
 
28415
echo "${ECHO_T}$have_pango_1_15" >&6; }
29219
28416
 
29220
28417
gimp_save_CFLAGS=$CFLAGS
29221
28418
CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
29250
28447
  rm -f conftest.er1
29251
28448
  cat conftest.err >&5
29252
28449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253
 
  (exit $ac_status); } &&
29254
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29255
 
  { (case "(($ac_try" in
29256
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29257
 
  *) ac_try_echo=$ac_try;;
29258
 
esac
29259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29260
 
  (eval "$ac_try") 2>&5
29261
 
  ac_status=$?
29262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263
 
  (exit $ac_status); }; } &&
29264
 
         { ac_try='test -s conftest.$ac_objext'
29265
 
  { (case "(($ac_try" in
29266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29267
 
  *) ac_try_echo=$ac_try;;
29268
 
esac
29269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29270
 
  (eval "$ac_try") 2>&5
29271
 
  ac_status=$?
29272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273
 
  (exit $ac_status); }; }; then
 
28450
  (exit $ac_status); } && {
 
28451
         test -z "$ac_c_werror_flag" ||
 
28452
         test ! -s conftest.err
 
28453
       } && test -s conftest.$ac_objext; then
29274
28454
  fontconfig_ok=yes
29275
28455
else
29276
28456
  echo "$as_me: failed program was:" >&5
29329
28509
  IFS=$as_save_IFS
29330
28510
  test -z "$as_dir" && as_dir=.
29331
28511
  for ac_exec_ext in '' $ac_executable_extensions; do
29332
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
28512
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29333
28513
    ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29334
28514
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29335
28515
    break 2
29406
28586
  rm -f conftest.er1
29407
28587
  cat conftest.err >&5
29408
28588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409
 
  (exit $ac_status); } &&
29410
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29411
 
  { (case "(($ac_try" in
29412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29413
 
  *) ac_try_echo=$ac_try;;
29414
 
esac
29415
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29416
 
  (eval "$ac_try") 2>&5
29417
 
  ac_status=$?
29418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419
 
  (exit $ac_status); }; } &&
29420
 
         { ac_try='test -s conftest.$ac_objext'
29421
 
  { (case "(($ac_try" in
29422
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29423
 
  *) ac_try_echo=$ac_try;;
29424
 
esac
29425
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29426
 
  (eval "$ac_try") 2>&5
29427
 
  ac_status=$?
29428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429
 
  (exit $ac_status); }; }; then
 
28589
  (exit $ac_status); } && {
 
28590
         test -z "$ac_c_werror_flag" ||
 
28591
         test ! -s conftest.err
 
28592
       } && test -s conftest.$ac_objext; then
29430
28593
  ac_header_compiler=yes
29431
28594
else
29432
28595
  echo "$as_me: failed program was:" >&5
29462
28625
  rm -f conftest.er1
29463
28626
  cat conftest.err >&5
29464
28627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465
 
  (exit $ac_status); } >/dev/null; then
29466
 
  if test -s conftest.err; then
29467
 
    ac_cpp_err=$ac_c_preproc_warn_flag
29468
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29469
 
  else
29470
 
    ac_cpp_err=
29471
 
  fi
29472
 
else
29473
 
  ac_cpp_err=yes
29474
 
fi
29475
 
if test -z "$ac_cpp_err"; then
 
28628
  (exit $ac_status); } >/dev/null && {
 
28629
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
28630
         test ! -s conftest.err
 
28631
       }; then
29476
28632
  ac_header_preproc=yes
29477
28633
else
29478
28634
  echo "$as_me: failed program was:" >&5
29708
28864
  rm -f conftest.er1
29709
28865
  cat conftest.err >&5
29710
28866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711
 
  (exit $ac_status); } &&
29712
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29713
 
  { (case "(($ac_try" in
29714
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29715
 
  *) ac_try_echo=$ac_try;;
29716
 
esac
29717
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29718
 
  (eval "$ac_try") 2>&5
29719
 
  ac_status=$?
29720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721
 
  (exit $ac_status); }; } &&
29722
 
         { ac_try='test -s conftest$ac_exeext'
29723
 
  { (case "(($ac_try" in
29724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29725
 
  *) ac_try_echo=$ac_try;;
29726
 
esac
29727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29728
 
  (eval "$ac_try") 2>&5
29729
 
  ac_status=$?
29730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731
 
  (exit $ac_status); }; }; then
 
28867
  (exit $ac_status); } && {
 
28868
         test -z "$ac_c_werror_flag" ||
 
28869
         test ! -s conftest.err
 
28870
       } && test -s conftest$ac_exeext &&
 
28871
       $as_test_x conftest$ac_exeext; then
29732
28872
  eval "$as_ac_var=yes"
29733
28873
else
29734
28874
  echo "$as_me: failed program was:" >&5
29737
28877
        eval "$as_ac_var=no"
29738
28878
fi
29739
28879
 
29740
 
rm -f core conftest.err conftest.$ac_objext \
 
28880
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29741
28881
      conftest$ac_exeext conftest.$ac_ext
29742
28882
fi
29743
28883
ac_res=`eval echo '${'$as_ac_var'}'`
29780
28920
  rm -f conftest.er1
29781
28921
  cat conftest.err >&5
29782
28922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783
 
  (exit $ac_status); } &&
29784
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29785
 
  { (case "(($ac_try" in
29786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29787
 
  *) ac_try_echo=$ac_try;;
29788
 
esac
29789
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29790
 
  (eval "$ac_try") 2>&5
29791
 
  ac_status=$?
29792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793
 
  (exit $ac_status); }; } &&
29794
 
         { ac_try='test -s conftest$ac_exeext'
29795
 
  { (case "(($ac_try" in
29796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29797
 
  *) ac_try_echo=$ac_try;;
29798
 
esac
29799
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29800
 
  (eval "$ac_try") 2>&5
29801
 
  ac_status=$?
29802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803
 
  (exit $ac_status); }; }; then
 
28923
  (exit $ac_status); } && {
 
28924
         test -z "$ac_c_werror_flag" ||
 
28925
         test ! -s conftest.err
 
28926
       } && test -s conftest$ac_exeext &&
 
28927
       $as_test_x conftest$ac_exeext; then
29804
28928
 
29805
28929
    cat >>confdefs.h <<\_ACEOF
29806
28930
#define HAVE_FINITE 1
29845
28969
  rm -f conftest.er1
29846
28970
  cat conftest.err >&5
29847
28971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848
 
  (exit $ac_status); } &&
29849
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29850
 
  { (case "(($ac_try" in
29851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29852
 
  *) ac_try_echo=$ac_try;;
29853
 
esac
29854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29855
 
  (eval "$ac_try") 2>&5
29856
 
  ac_status=$?
29857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858
 
  (exit $ac_status); }; } &&
29859
 
         { ac_try='test -s conftest$ac_exeext'
29860
 
  { (case "(($ac_try" in
29861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29862
 
  *) ac_try_echo=$ac_try;;
29863
 
esac
29864
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29865
 
  (eval "$ac_try") 2>&5
29866
 
  ac_status=$?
29867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868
 
  (exit $ac_status); }; }; then
 
28972
  (exit $ac_status); } && {
 
28973
         test -z "$ac_c_werror_flag" ||
 
28974
         test ! -s conftest.err
 
28975
       } && test -s conftest$ac_exeext &&
 
28976
       $as_test_x conftest$ac_exeext; then
29869
28977
 
29870
28978
 
29871
28979
cat >>confdefs.h <<\_ACEOF
29882
28990
echo "${ECHO_T}no" >&6; }
29883
28991
fi
29884
28992
 
29885
 
rm -f core conftest.err conftest.$ac_objext \
 
28993
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29886
28994
      conftest$ac_exeext conftest.$ac_ext
29887
28995
fi
29888
28996
 
29889
 
rm -f core conftest.err conftest.$ac_objext \
 
28997
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29890
28998
      conftest$ac_exeext conftest.$ac_ext
29891
28999
fi
29892
29000
done
29927
29035
  rm -f conftest.er1
29928
29036
  cat conftest.err >&5
29929
29037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930
 
  (exit $ac_status); } &&
29931
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29932
 
  { (case "(($ac_try" in
29933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29934
 
  *) ac_try_echo=$ac_try;;
29935
 
esac
29936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29937
 
  (eval "$ac_try") 2>&5
29938
 
  ac_status=$?
29939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940
 
  (exit $ac_status); }; } &&
29941
 
         { ac_try='test -s conftest.$ac_objext'
29942
 
  { (case "(($ac_try" in
29943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29944
 
  *) ac_try_echo=$ac_try;;
29945
 
esac
29946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29947
 
  (eval "$ac_try") 2>&5
29948
 
  ac_status=$?
29949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950
 
  (exit $ac_status); }; }; then
 
29038
  (exit $ac_status); } && {
 
29039
         test -z "$ac_c_werror_flag" ||
 
29040
         test ! -s conftest.err
 
29041
       } && test -s conftest.$ac_objext; then
29951
29042
  { echo "$as_me:$LINENO: result: none needed" >&5
29952
29043
echo "${ECHO_T}none needed" >&6; }
29953
29044
else
29984
29075
  rm -f conftest.er1
29985
29076
  cat conftest.err >&5
29986
29077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987
 
  (exit $ac_status); } &&
29988
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29989
 
  { (case "(($ac_try" in
29990
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29991
 
  *) ac_try_echo=$ac_try;;
29992
 
esac
29993
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29994
 
  (eval "$ac_try") 2>&5
29995
 
  ac_status=$?
29996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997
 
  (exit $ac_status); }; } &&
29998
 
         { ac_try='test -s conftest.$ac_objext'
29999
 
  { (case "(($ac_try" in
30000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30001
 
  *) ac_try_echo=$ac_try;;
30002
 
esac
30003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004
 
  (eval "$ac_try") 2>&5
30005
 
  ac_status=$?
30006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007
 
  (exit $ac_status); }; }; then
 
29078
  (exit $ac_status); } && {
 
29079
         test -z "$ac_c_werror_flag" ||
 
29080
         test ! -s conftest.err
 
29081
       } && test -s conftest.$ac_objext; then
30008
29082
  { echo "$as_me:$LINENO: result: -posix" >&5
30009
29083
echo "${ECHO_T}-posix" >&6; }
30010
29084
else
30086
29160
  rm -f conftest.er1
30087
29161
  cat conftest.err >&5
30088
29162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089
 
  (exit $ac_status); } &&
30090
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30091
 
  { (case "(($ac_try" in
30092
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30093
 
  *) ac_try_echo=$ac_try;;
30094
 
esac
30095
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30096
 
  (eval "$ac_try") 2>&5
30097
 
  ac_status=$?
30098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099
 
  (exit $ac_status); }; } &&
30100
 
         { ac_try='test -s conftest$ac_exeext'
30101
 
  { (case "(($ac_try" in
30102
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30103
 
  *) ac_try_echo=$ac_try;;
30104
 
esac
30105
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30106
 
  (eval "$ac_try") 2>&5
30107
 
  ac_status=$?
30108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109
 
  (exit $ac_status); }; }; then
 
29163
  (exit $ac_status); } && {
 
29164
         test -z "$ac_c_werror_flag" ||
 
29165
         test ! -s conftest.err
 
29166
       } && test -s conftest$ac_exeext &&
 
29167
       $as_test_x conftest$ac_exeext; then
30110
29168
  ac_cv_func_rint=yes
30111
29169
else
30112
29170
  echo "$as_me: failed program was:" >&5
30115
29173
        ac_cv_func_rint=no
30116
29174
fi
30117
29175
 
30118
 
rm -f core conftest.err conftest.$ac_objext \
 
29176
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30119
29177
      conftest$ac_exeext conftest.$ac_ext
30120
29178
fi
30121
29179
{ echo "$as_me:$LINENO: result: $ac_cv_func_rint" >&5
30170
29228
  rm -f conftest.er1
30171
29229
  cat conftest.err >&5
30172
29230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173
 
  (exit $ac_status); } &&
30174
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30175
 
  { (case "(($ac_try" in
30176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30177
 
  *) ac_try_echo=$ac_try;;
30178
 
esac
30179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30180
 
  (eval "$ac_try") 2>&5
30181
 
  ac_status=$?
30182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183
 
  (exit $ac_status); }; } &&
30184
 
         { ac_try='test -s conftest$ac_exeext'
30185
 
  { (case "(($ac_try" in
30186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30187
 
  *) ac_try_echo=$ac_try;;
30188
 
esac
30189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30190
 
  (eval "$ac_try") 2>&5
30191
 
  ac_status=$?
30192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193
 
  (exit $ac_status); }; }; then
 
29231
  (exit $ac_status); } && {
 
29232
         test -z "$ac_c_werror_flag" ||
 
29233
         test ! -s conftest.err
 
29234
       } && test -s conftest$ac_exeext &&
 
29235
       $as_test_x conftest$ac_exeext; then
30194
29236
  ac_cv_lib_m_rint=yes
30195
29237
else
30196
29238
  echo "$as_me: failed program was:" >&5
30199
29241
        ac_cv_lib_m_rint=no
30200
29242
fi
30201
29243
 
30202
 
rm -f core conftest.err conftest.$ac_objext \
 
29244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30203
29245
      conftest$ac_exeext conftest.$ac_ext
30204
29246
LIBS=$ac_check_lib_save_LIBS
30205
29247
fi
30291
29333
  rm -f conftest.er1
30292
29334
  cat conftest.err >&5
30293
29335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294
 
  (exit $ac_status); } &&
30295
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30296
 
  { (case "(($ac_try" in
30297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30298
 
  *) ac_try_echo=$ac_try;;
30299
 
esac
30300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30301
 
  (eval "$ac_try") 2>&5
30302
 
  ac_status=$?
30303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304
 
  (exit $ac_status); }; } &&
30305
 
         { ac_try='test -s conftest$ac_exeext'
30306
 
  { (case "(($ac_try" in
30307
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30308
 
  *) ac_try_echo=$ac_try;;
30309
 
esac
30310
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30311
 
  (eval "$ac_try") 2>&5
30312
 
  ac_status=$?
30313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314
 
  (exit $ac_status); }; }; then
 
29336
  (exit $ac_status); } && {
 
29337
         test -z "$ac_c_werror_flag" ||
 
29338
         test ! -s conftest.err
 
29339
       } && test -s conftest$ac_exeext &&
 
29340
       $as_test_x conftest$ac_exeext; then
30315
29341
  eval "$as_ac_var=yes"
30316
29342
else
30317
29343
  echo "$as_me: failed program was:" >&5
30320
29346
        eval "$as_ac_var=no"
30321
29347
fi
30322
29348
 
30323
 
rm -f core conftest.err conftest.$ac_objext \
 
29349
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30324
29350
      conftest$ac_exeext conftest.$ac_ext
30325
29351
fi
30326
29352
ac_res=`eval echo '${'$as_ac_var'}'`
30375
29401
  rm -f conftest.er1
30376
29402
  cat conftest.err >&5
30377
29403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378
 
  (exit $ac_status); } &&
30379
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30380
 
  { (case "(($ac_try" in
30381
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30382
 
  *) ac_try_echo=$ac_try;;
30383
 
esac
30384
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30385
 
  (eval "$ac_try") 2>&5
30386
 
  ac_status=$?
30387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388
 
  (exit $ac_status); }; } &&
30389
 
         { ac_try='test -s conftest$ac_exeext'
30390
 
  { (case "(($ac_try" in
30391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30392
 
  *) ac_try_echo=$ac_try;;
30393
 
esac
30394
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30395
 
  (eval "$ac_try") 2>&5
30396
 
  ac_status=$?
30397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398
 
  (exit $ac_status); }; }; then
 
29404
  (exit $ac_status); } && {
 
29405
         test -z "$ac_c_werror_flag" ||
 
29406
         test ! -s conftest.err
 
29407
       } && test -s conftest$ac_exeext &&
 
29408
       $as_test_x conftest$ac_exeext; then
30399
29409
  ac_cv_lib_nsl_inet_ntoa=yes
30400
29410
else
30401
29411
  echo "$as_me: failed program was:" >&5
30404
29414
        ac_cv_lib_nsl_inet_ntoa=no
30405
29415
fi
30406
29416
 
30407
 
rm -f core conftest.err conftest.$ac_objext \
 
29417
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30408
29418
      conftest$ac_exeext conftest.$ac_ext
30409
29419
LIBS=$ac_check_lib_save_LIBS
30410
29420
fi
30465
29475
  rm -f conftest.er1
30466
29476
  cat conftest.err >&5
30467
29477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468
 
  (exit $ac_status); } &&
30469
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30470
 
  { (case "(($ac_try" in
30471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30472
 
  *) ac_try_echo=$ac_try;;
30473
 
esac
30474
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30475
 
  (eval "$ac_try") 2>&5
30476
 
  ac_status=$?
30477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478
 
  (exit $ac_status); }; } &&
30479
 
         { ac_try='test -s conftest$ac_exeext'
30480
 
  { (case "(($ac_try" in
30481
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30482
 
  *) ac_try_echo=$ac_try;;
30483
 
esac
30484
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30485
 
  (eval "$ac_try") 2>&5
30486
 
  ac_status=$?
30487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488
 
  (exit $ac_status); }; }; then
 
29478
  (exit $ac_status); } && {
 
29479
         test -z "$ac_c_werror_flag" ||
 
29480
         test ! -s conftest.err
 
29481
       } && test -s conftest$ac_exeext &&
 
29482
       $as_test_x conftest$ac_exeext; then
30489
29483
  ac_cv_lib_socket_socket=yes
30490
29484
else
30491
29485
  echo "$as_me: failed program was:" >&5
30494
29488
        ac_cv_lib_socket_socket=no
30495
29489
fi
30496
29490
 
30497
 
rm -f core conftest.err conftest.$ac_objext \
 
29491
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30498
29492
      conftest$ac_exeext conftest.$ac_ext
30499
29493
LIBS=$ac_check_lib_save_LIBS
30500
29494
fi
30573
29567
  rm -f conftest.er1
30574
29568
  cat conftest.err >&5
30575
29569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576
 
  (exit $ac_status); } &&
30577
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30578
 
  { (case "(($ac_try" in
30579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30580
 
  *) ac_try_echo=$ac_try;;
30581
 
esac
30582
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30583
 
  (eval "$ac_try") 2>&5
30584
 
  ac_status=$?
30585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586
 
  (exit $ac_status); }; } &&
30587
 
         { ac_try='test -s conftest.$ac_objext'
30588
 
  { (case "(($ac_try" in
30589
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30590
 
  *) ac_try_echo=$ac_try;;
30591
 
esac
30592
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30593
 
  (eval "$ac_try") 2>&5
30594
 
  ac_status=$?
30595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596
 
  (exit $ac_status); }; }; then
 
29570
  (exit $ac_status); } && {
 
29571
         test -z "$ac_c_werror_flag" ||
 
29572
         test ! -s conftest.err
 
29573
       } && test -s conftest.$ac_objext; then
30597
29574
  MMX_EXTRA_CFLAGS_works=yes
30598
29575
else
30599
29576
  echo "$as_me: failed program was:" >&5
30636
29613
  rm -f conftest.er1
30637
29614
  cat conftest.err >&5
30638
29615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639
 
  (exit $ac_status); } &&
30640
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30641
 
  { (case "(($ac_try" in
30642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30643
 
  *) ac_try_echo=$ac_try;;
30644
 
esac
30645
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30646
 
  (eval "$ac_try") 2>&5
30647
 
  ac_status=$?
30648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649
 
  (exit $ac_status); }; } &&
30650
 
         { ac_try='test -s conftest.$ac_objext'
30651
 
  { (case "(($ac_try" in
30652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30653
 
  *) ac_try_echo=$ac_try;;
30654
 
esac
30655
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30656
 
  (eval "$ac_try") 2>&5
30657
 
  ac_status=$?
30658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659
 
  (exit $ac_status); }; }; then
 
29616
  (exit $ac_status); } && {
 
29617
         test -z "$ac_c_werror_flag" ||
 
29618
         test ! -s conftest.err
 
29619
       } && test -s conftest.$ac_objext; then
30660
29620
 
30661
29621
cat >>confdefs.h <<\_ACEOF
30662
29622
#define USE_MMX 1
30702
29662
  rm -f conftest.er1
30703
29663
  cat conftest.err >&5
30704
29664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705
 
  (exit $ac_status); } &&
30706
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30707
 
  { (case "(($ac_try" in
30708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30709
 
  *) ac_try_echo=$ac_try;;
30710
 
esac
30711
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30712
 
  (eval "$ac_try") 2>&5
30713
 
  ac_status=$?
30714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715
 
  (exit $ac_status); }; } &&
30716
 
         { ac_try='test -s conftest.$ac_objext'
30717
 
  { (case "(($ac_try" in
30718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30719
 
  *) ac_try_echo=$ac_try;;
30720
 
esac
30721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722
 
  (eval "$ac_try") 2>&5
30723
 
  ac_status=$?
30724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725
 
  (exit $ac_status); }; }; then
 
29665
  (exit $ac_status); } && {
 
29666
         test -z "$ac_c_werror_flag" ||
 
29667
         test ! -s conftest.err
 
29668
       } && test -s conftest.$ac_objext; then
30726
29669
  sse_flag_works=yes
30727
29670
else
30728
29671
  echo "$as_me: failed program was:" >&5
30764
29707
  rm -f conftest.er1
30765
29708
  cat conftest.err >&5
30766
29709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767
 
  (exit $ac_status); } &&
30768
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30769
 
  { (case "(($ac_try" in
30770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30771
 
  *) ac_try_echo=$ac_try;;
30772
 
esac
30773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774
 
  (eval "$ac_try") 2>&5
30775
 
  ac_status=$?
30776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777
 
  (exit $ac_status); }; } &&
30778
 
         { ac_try='test -s conftest.$ac_objext'
30779
 
  { (case "(($ac_try" in
30780
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781
 
  *) ac_try_echo=$ac_try;;
30782
 
esac
30783
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784
 
  (eval "$ac_try") 2>&5
30785
 
  ac_status=$?
30786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787
 
  (exit $ac_status); }; }; then
 
29710
  (exit $ac_status); } && {
 
29711
         test -z "$ac_c_werror_flag" ||
 
29712
         test ! -s conftest.err
 
29713
       } && test -s conftest.$ac_objext; then
30788
29714
 
30789
29715
cat >>confdefs.h <<\_ACEOF
30790
29716
#define USE_SSE 1
30831
29757
 
30832
29758
 
30833
29759
############################
30834
 
# Check for Altivec assembly
 
29760
# Check for AltiVec assembly
30835
29761
############################
30836
29762
 
30837
29763
# Check whether --enable-altivec was given.
30844
29770
 
30845
29771
if test "x$enable_altivec" = xyes; then
30846
29772
 
30847
 
  { echo "$as_me:$LINENO: checking whether we can compile Altivec code" >&5
30848
 
echo $ECHO_N "checking whether we can compile Altivec code... $ECHO_C" >&6; }
30849
 
 
30850
 
  cat >conftest.$ac_ext <<_ACEOF
 
29773
 
 
29774
  altivec_flag=
 
29775
  for flag in '-faltivec' '-maltivec -mabi=altivec'; do
 
29776
    if test -z "$altivec_flag"; then
 
29777
      altivec_flag_save_CFLAGS="$CFLAGS"
 
29778
      CFLAGS="$CFLAGS $flag"
 
29779
      { echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
 
29780
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
 
29781
      cat >conftest.$ac_ext <<_ACEOF
 
29782
/* confdefs.h.  */
 
29783
_ACEOF
 
29784
cat confdefs.h >>conftest.$ac_ext
 
29785
cat >>conftest.$ac_ext <<_ACEOF
 
29786
/* end confdefs.h.  */
 
29787
 
 
29788
int
 
29789
main ()
 
29790
{
 
29791
 
 
29792
  ;
 
29793
  return 0;
 
29794
}
 
29795
_ACEOF
 
29796
rm -f conftest.$ac_objext
 
29797
if { (ac_try="$ac_compile"
 
29798
case "(($ac_try" in
 
29799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29800
  *) ac_try_echo=$ac_try;;
 
29801
esac
 
29802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29803
  (eval "$ac_compile") 2>conftest.er1
 
29804
  ac_status=$?
 
29805
  grep -v '^ *+' conftest.er1 >conftest.err
 
29806
  rm -f conftest.er1
 
29807
  cat conftest.err >&5
 
29808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29809
  (exit $ac_status); } && {
 
29810
         test -z "$ac_c_werror_flag" ||
 
29811
         test ! -s conftest.err
 
29812
       } && test -s conftest.$ac_objext; then
 
29813
  altivec_flag_works=yes
 
29814
else
 
29815
  echo "$as_me: failed program was:" >&5
 
29816
sed 's/^/| /' conftest.$ac_ext >&5
 
29817
 
 
29818
        altivec_flag_works=no
 
29819
fi
 
29820
 
 
29821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
29822
      { echo "$as_me:$LINENO: result: $altivec_flag_works" >&5
 
29823
echo "${ECHO_T}$altivec_flag_works" >&6; }
 
29824
      CFLAGS="$altivec_flag_save_CFLAGS"
 
29825
      if test "x$altivec_flag_works" = "xyes"; then
 
29826
        altivec_flag="$flag"
 
29827
      fi
 
29828
    fi
 
29829
  done
 
29830
 
 
29831
 
 
29832
  ALTIVEC_EXTRA_CFLAGS=
 
29833
  case "$altivec_flag" in
 
29834
    -maltivec*)
 
29835
      altivec_save_CPPFLAGS="$CPPFLAGS"
 
29836
      CPPFLAGS="$altivec_save_CPPFLAGS $altivec_flag"
 
29837
 
 
29838
for ac_header in altivec.h
 
29839
do
 
29840
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
29841
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
29842
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
29843
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
29844
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
29845
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29846
fi
 
29847
ac_res=`eval echo '${'$as_ac_Header'}'`
 
29848
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29849
echo "${ECHO_T}$ac_res" >&6; }
 
29850
else
 
29851
  # Is the header compilable?
 
29852
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
29853
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
29854
cat >conftest.$ac_ext <<_ACEOF
 
29855
/* confdefs.h.  */
 
29856
_ACEOF
 
29857
cat confdefs.h >>conftest.$ac_ext
 
29858
cat >>conftest.$ac_ext <<_ACEOF
 
29859
/* end confdefs.h.  */
 
29860
$ac_includes_default
 
29861
#include <$ac_header>
 
29862
_ACEOF
 
29863
rm -f conftest.$ac_objext
 
29864
if { (ac_try="$ac_compile"
 
29865
case "(($ac_try" in
 
29866
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29867
  *) ac_try_echo=$ac_try;;
 
29868
esac
 
29869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29870
  (eval "$ac_compile") 2>conftest.er1
 
29871
  ac_status=$?
 
29872
  grep -v '^ *+' conftest.er1 >conftest.err
 
29873
  rm -f conftest.er1
 
29874
  cat conftest.err >&5
 
29875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29876
  (exit $ac_status); } && {
 
29877
         test -z "$ac_c_werror_flag" ||
 
29878
         test ! -s conftest.err
 
29879
       } && test -s conftest.$ac_objext; then
 
29880
  ac_header_compiler=yes
 
29881
else
 
29882
  echo "$as_me: failed program was:" >&5
 
29883
sed 's/^/| /' conftest.$ac_ext >&5
 
29884
 
 
29885
        ac_header_compiler=no
 
29886
fi
 
29887
 
 
29888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
29889
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
29890
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
29891
 
 
29892
# Is the header present?
 
29893
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
29894
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
29895
cat >conftest.$ac_ext <<_ACEOF
 
29896
/* confdefs.h.  */
 
29897
_ACEOF
 
29898
cat confdefs.h >>conftest.$ac_ext
 
29899
cat >>conftest.$ac_ext <<_ACEOF
 
29900
/* end confdefs.h.  */
 
29901
#include <$ac_header>
 
29902
_ACEOF
 
29903
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
29904
case "(($ac_try" in
 
29905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29906
  *) ac_try_echo=$ac_try;;
 
29907
esac
 
29908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29909
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
29910
  ac_status=$?
 
29911
  grep -v '^ *+' conftest.er1 >conftest.err
 
29912
  rm -f conftest.er1
 
29913
  cat conftest.err >&5
 
29914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29915
  (exit $ac_status); } >/dev/null && {
 
29916
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
29917
         test ! -s conftest.err
 
29918
       }; then
 
29919
  ac_header_preproc=yes
 
29920
else
 
29921
  echo "$as_me: failed program was:" >&5
 
29922
sed 's/^/| /' conftest.$ac_ext >&5
 
29923
 
 
29924
  ac_header_preproc=no
 
29925
fi
 
29926
 
 
29927
rm -f conftest.err conftest.$ac_ext
 
29928
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
29929
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
29930
 
 
29931
# So?  What about this header?
 
29932
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
29933
  yes:no: )
 
29934
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
29935
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
29936
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
29937
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
29938
    ac_header_preproc=yes
 
29939
    ;;
 
29940
  no:yes:* )
 
29941
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
29942
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
29943
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
29944
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
29945
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
29946
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
29947
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
29948
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
29949
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
29950
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
29951
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
29952
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
29953
    ( cat <<\_ASBOX
 
29954
## ------------------------------------------------------------------- ##
 
29955
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
 
29956
## ------------------------------------------------------------------- ##
 
29957
_ASBOX
 
29958
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
29959
    ;;
 
29960
esac
 
29961
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
29962
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
29963
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
29964
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29965
else
 
29966
  eval "$as_ac_Header=\$ac_header_preproc"
 
29967
fi
 
29968
ac_res=`eval echo '${'$as_ac_Header'}'`
 
29969
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29970
echo "${ECHO_T}$ac_res" >&6; }
 
29971
 
 
29972
fi
 
29973
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
29974
  cat >>confdefs.h <<_ACEOF
 
29975
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
29976
_ACEOF
 
29977
 ALTIVEC_EXTRA_CFLAGS="$altivec_flag"
 
29978
fi
 
29979
 
 
29980
done
 
29981
 
 
29982
      CPPFLAGS="$altivec_save_CPPFLAGS"
 
29983
      ;;
 
29984
    *)
 
29985
      ALTIVEC_EXTRA_CFLAGS="$altivec_flag"
 
29986
      ;;
 
29987
  esac
 
29988
 
 
29989
 
 
29990
  { echo "$as_me:$LINENO: checking whether we can compile AltiVec code" >&5
 
29991
echo $ECHO_N "checking whether we can compile AltiVec code... $ECHO_C" >&6; }
 
29992
 
 
29993
  can_use_altivec=no
 
29994
  if test -z "$ALTIVEC_EXTRA_CFLAGS"; then
 
29995
    { echo "$as_me:$LINENO: result: no" >&5
 
29996
echo "${ECHO_T}no" >&6; }
 
29997
    { echo "$as_me:$LINENO: WARNING: The compiler does not support the AltiVec command set." >&5
 
29998
echo "$as_me: WARNING: The compiler does not support the AltiVec command set." >&2;}
 
29999
  else
 
30000
    case "$target_or_host" in
 
30001
      *-*-darwin*)
 
30002
        can_use_altivec=yes
 
30003
 
 
30004
cat >>confdefs.h <<\_ACEOF
 
30005
#define HAVE_ALTIVEC_SYSCTL 1
 
30006
_ACEOF
 
30007
 
 
30008
        ;;
 
30009
      *)
 
30010
        cat >conftest.$ac_ext <<_ACEOF
30851
30011
asm ("vand %v0, %v0, %v0");
30852
30012
_ACEOF
30853
30013
rm -f conftest.$ac_objext
30863
30023
  rm -f conftest.er1
30864
30024
  cat conftest.err >&5
30865
30025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866
 
  (exit $ac_status); } &&
30867
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30868
 
  { (case "(($ac_try" in
30869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870
 
  *) ac_try_echo=$ac_try;;
30871
 
esac
30872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30873
 
  (eval "$ac_try") 2>&5
30874
 
  ac_status=$?
30875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876
 
  (exit $ac_status); }; } &&
30877
 
         { ac_try='test -s conftest.$ac_objext'
30878
 
  { (case "(($ac_try" in
30879
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30880
 
  *) ac_try_echo=$ac_try;;
30881
 
esac
30882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30883
 
  (eval "$ac_try") 2>&5
30884
 
  ac_status=$?
30885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886
 
  (exit $ac_status); }; }; then
 
30026
  (exit $ac_status); } && {
 
30027
         test -z "$ac_c_werror_flag" ||
 
30028
         test ! -s conftest.err
 
30029
       } && test -s conftest.$ac_objext; then
 
30030
  can_use_altivec=yes
 
30031
else
 
30032
  echo "$as_me: failed program was:" >&5
 
30033
sed 's/^/| /' conftest.$ac_ext >&5
 
30034
 
 
30035
        can_use_altivec=no
 
30036
fi
 
30037
 
 
30038
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30039
        ;;
 
30040
    esac
 
30041
    { echo "$as_me:$LINENO: result: $can_use_altivec" >&5
 
30042
echo "${ECHO_T}$can_use_altivec" >&6; }
 
30043
 
 
30044
    if test "x$can_use_altivec" = "xyes"; then
30887
30045
 
30888
30046
cat >>confdefs.h <<\_ACEOF
30889
30047
#define USE_ALTIVEC 1
30890
30048
_ACEOF
30891
30049
 
30892
 
    { echo "$as_me:$LINENO: result: yes" >&5
30893
 
echo "${ECHO_T}yes" >&6; }
30894
 
 
30895
 
else
30896
 
  echo "$as_me: failed program was:" >&5
30897
 
sed 's/^/| /' conftest.$ac_ext >&5
30898
 
 
30899
 
        enable_altivec=no
30900
 
    { echo "$as_me:$LINENO: result: no" >&5
30901
 
echo "${ECHO_T}no" >&6; }
30902
 
    { echo "$as_me:$LINENO: WARNING: The assembler does not support the Altivec command set." >&5
30903
 
echo "$as_me: WARNING: The assembler does not support the Altivec command set." >&2;}
30904
 
 
30905
 
fi
30906
 
 
30907
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30908
 
 
 
30050
    else
 
30051
      enable_altivec=no
 
30052
      { echo "$as_me:$LINENO: WARNING: The assembler does not support the AltiVec command set." >&5
 
30053
echo "$as_me: WARNING: The assembler does not support the AltiVec command set." >&2;}
 
30054
    fi
 
30055
  fi
 
30056
 
 
30057
  enable_altivec="$can_use_altivec"
30909
30058
fi
30910
30059
 
30911
30060
 
30913
30062
# Checks for shared memory handling
30914
30063
###################################
30915
30064
 
30916
 
case "$host_os" in
30917
 
  darwin* | rhapsody* | machten*)
 
30065
case "$target_or_host" in
 
30066
  *-*-darwin* | *-*-rhapsody* | *-*-machten*)
30918
30067
    shmdefault=posix
30919
30068
    ;;
30920
30069
  *)
30976
30125
  rm -f conftest.er1
30977
30126
  cat conftest.err >&5
30978
30127
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979
 
  (exit $ac_status); } &&
30980
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30981
 
  { (case "(($ac_try" in
30982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30983
 
  *) ac_try_echo=$ac_try;;
30984
 
esac
30985
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30986
 
  (eval "$ac_try") 2>&5
30987
 
  ac_status=$?
30988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989
 
  (exit $ac_status); }; } &&
30990
 
         { ac_try='test -s conftest.$ac_objext'
30991
 
  { (case "(($ac_try" in
30992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30993
 
  *) ac_try_echo=$ac_try;;
30994
 
esac
30995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30996
 
  (eval "$ac_try") 2>&5
30997
 
  ac_status=$?
30998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999
 
  (exit $ac_status); }; }; then
 
30128
  (exit $ac_status); } && {
 
30129
         test -z "$ac_c_werror_flag" ||
 
30130
         test ! -s conftest.err
 
30131
       } && test -s conftest.$ac_objext; then
31000
30132
  ac_header_compiler=yes
31001
30133
else
31002
30134
  echo "$as_me: failed program was:" >&5
31032
30164
  rm -f conftest.er1
31033
30165
  cat conftest.err >&5
31034
30166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035
 
  (exit $ac_status); } >/dev/null; then
31036
 
  if test -s conftest.err; then
31037
 
    ac_cpp_err=$ac_c_preproc_warn_flag
31038
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31039
 
  else
31040
 
    ac_cpp_err=
31041
 
  fi
31042
 
else
31043
 
  ac_cpp_err=yes
31044
 
fi
31045
 
if test -z "$ac_cpp_err"; then
 
30167
  (exit $ac_status); } >/dev/null && {
 
30168
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
30169
         test ! -s conftest.err
 
30170
       }; then
31046
30171
  ac_header_preproc=yes
31047
30172
else
31048
30173
  echo "$as_me: failed program was:" >&5
31141
30266
  rm -f conftest.er1
31142
30267
  cat conftest.err >&5
31143
30268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144
 
  (exit $ac_status); } &&
31145
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31146
 
  { (case "(($ac_try" in
31147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31148
 
  *) ac_try_echo=$ac_try;;
31149
 
esac
31150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31151
 
  (eval "$ac_try") 2>&5
31152
 
  ac_status=$?
31153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154
 
  (exit $ac_status); }; } &&
31155
 
         { ac_try='test -s conftest.$ac_objext'
31156
 
  { (case "(($ac_try" in
31157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31158
 
  *) ac_try_echo=$ac_try;;
31159
 
esac
31160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31161
 
  (eval "$ac_try") 2>&5
31162
 
  ac_status=$?
31163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164
 
  (exit $ac_status); }; }; then
 
30269
  (exit $ac_status); } && {
 
30270
         test -z "$ac_c_werror_flag" ||
 
30271
         test ! -s conftest.err
 
30272
       } && test -s conftest.$ac_objext; then
31165
30273
  ac_header_compiler=yes
31166
30274
else
31167
30275
  echo "$as_me: failed program was:" >&5
31197
30305
  rm -f conftest.er1
31198
30306
  cat conftest.err >&5
31199
30307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200
 
  (exit $ac_status); } >/dev/null; then
31201
 
  if test -s conftest.err; then
31202
 
    ac_cpp_err=$ac_c_preproc_warn_flag
31203
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31204
 
  else
31205
 
    ac_cpp_err=
31206
 
  fi
31207
 
else
31208
 
  ac_cpp_err=yes
31209
 
fi
31210
 
if test -z "$ac_cpp_err"; then
 
30308
  (exit $ac_status); } >/dev/null && {
 
30309
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
30310
         test ! -s conftest.err
 
30311
       }; then
31211
30312
  ac_header_preproc=yes
31212
30313
else
31213
30314
  echo "$as_me: failed program was:" >&5
31425
30526
  rm -f conftest.er1
31426
30527
  cat conftest.err >&5
31427
30528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428
 
  (exit $ac_status); } &&
31429
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31430
 
  { (case "(($ac_try" in
31431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31432
 
  *) ac_try_echo=$ac_try;;
31433
 
esac
31434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31435
 
  (eval "$ac_try") 2>&5
31436
 
  ac_status=$?
31437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438
 
  (exit $ac_status); }; } &&
31439
 
         { ac_try='test -s conftest$ac_exeext'
31440
 
  { (case "(($ac_try" in
31441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31442
 
  *) ac_try_echo=$ac_try;;
31443
 
esac
31444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31445
 
  (eval "$ac_try") 2>&5
31446
 
  ac_status=$?
31447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448
 
  (exit $ac_status); }; }; then
 
30529
  (exit $ac_status); } && {
 
30530
         test -z "$ac_c_werror_flag" ||
 
30531
         test ! -s conftest.err
 
30532
       } && test -s conftest$ac_exeext &&
 
30533
       $as_test_x conftest$ac_exeext; then
31449
30534
  ac_cv_func_shm_open=yes
31450
30535
else
31451
30536
  echo "$as_me: failed program was:" >&5
31454
30539
        ac_cv_func_shm_open=no
31455
30540
fi
31456
30541
 
31457
 
rm -f core conftest.err conftest.$ac_objext \
 
30542
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31458
30543
      conftest$ac_exeext conftest.$ac_ext
31459
30544
fi
31460
30545
{ echo "$as_me:$LINENO: result: $ac_cv_func_shm_open" >&5
31508
30593
  rm -f conftest.er1
31509
30594
  cat conftest.err >&5
31510
30595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511
 
  (exit $ac_status); } &&
31512
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31513
 
  { (case "(($ac_try" in
31514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31515
 
  *) ac_try_echo=$ac_try;;
31516
 
esac
31517
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518
 
  (eval "$ac_try") 2>&5
31519
 
  ac_status=$?
31520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521
 
  (exit $ac_status); }; } &&
31522
 
         { ac_try='test -s conftest$ac_exeext'
31523
 
  { (case "(($ac_try" in
31524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31525
 
  *) ac_try_echo=$ac_try;;
31526
 
esac
31527
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31528
 
  (eval "$ac_try") 2>&5
31529
 
  ac_status=$?
31530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531
 
  (exit $ac_status); }; }; then
 
30596
  (exit $ac_status); } && {
 
30597
         test -z "$ac_c_werror_flag" ||
 
30598
         test ! -s conftest.err
 
30599
       } && test -s conftest$ac_exeext &&
 
30600
       $as_test_x conftest$ac_exeext; then
31532
30601
  ac_cv_lib_rt_shm_open=yes
31533
30602
else
31534
30603
  echo "$as_me: failed program was:" >&5
31537
30606
        ac_cv_lib_rt_shm_open=no
31538
30607
fi
31539
30608
 
31540
 
rm -f core conftest.err conftest.$ac_objext \
 
30609
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31541
30610
      conftest$ac_exeext conftest.$ac_ext
31542
30611
LIBS=$ac_check_lib_save_LIBS
31543
30612
fi
31584
30653
  rm -f conftest.er1
31585
30654
  cat conftest.err >&5
31586
30655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587
 
  (exit $ac_status); } &&
31588
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31589
 
  { (case "(($ac_try" in
31590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31591
 
  *) ac_try_echo=$ac_try;;
31592
 
esac
31593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31594
 
  (eval "$ac_try") 2>&5
31595
 
  ac_status=$?
31596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597
 
  (exit $ac_status); }; } &&
31598
 
         { ac_try='test -s conftest.$ac_objext'
31599
 
  { (case "(($ac_try" in
31600
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31601
 
  *) ac_try_echo=$ac_try;;
31602
 
esac
31603
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31604
 
  (eval "$ac_try") 2>&5
31605
 
  ac_status=$?
31606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607
 
  (exit $ac_status); }; }; then
 
30656
  (exit $ac_status); } && {
 
30657
         test -z "$ac_c_werror_flag" ||
 
30658
         test ! -s conftest.err
 
30659
       } && test -s conftest.$ac_objext; then
31608
30660
  ac_header_compiler=yes
31609
30661
else
31610
30662
  echo "$as_me: failed program was:" >&5
31640
30692
  rm -f conftest.er1
31641
30693
  cat conftest.err >&5
31642
30694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643
 
  (exit $ac_status); } >/dev/null; then
31644
 
  if test -s conftest.err; then
31645
 
    ac_cpp_err=$ac_c_preproc_warn_flag
31646
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31647
 
  else
31648
 
    ac_cpp_err=
31649
 
  fi
31650
 
else
31651
 
  ac_cpp_err=yes
31652
 
fi
31653
 
if test -z "$ac_cpp_err"; then
 
30695
  (exit $ac_status); } >/dev/null && {
 
30696
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
30697
         test ! -s conftest.err
 
30698
       }; then
31654
30699
  ac_header_preproc=yes
31655
30700
else
31656
30701
  echo "$as_me: failed program was:" >&5
31883
30928
  rm -f conftest.er1
31884
30929
  cat conftest.err >&5
31885
30930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886
 
  (exit $ac_status); } &&
31887
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31888
 
  { (case "(($ac_try" in
31889
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31890
 
  *) ac_try_echo=$ac_try;;
31891
 
esac
31892
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893
 
  (eval "$ac_try") 2>&5
31894
 
  ac_status=$?
31895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896
 
  (exit $ac_status); }; } &&
31897
 
         { ac_try='test -s conftest.$ac_objext'
31898
 
  { (case "(($ac_try" in
31899
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31900
 
  *) ac_try_echo=$ac_try;;
31901
 
esac
31902
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903
 
  (eval "$ac_try") 2>&5
31904
 
  ac_status=$?
31905
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906
 
  (exit $ac_status); }; }; then
 
30931
  (exit $ac_status); } && {
 
30932
         test -z "$ac_c_werror_flag" ||
 
30933
         test ! -s conftest.err
 
30934
       } && test -s conftest.$ac_objext; then
31907
30935
  gimp_ok=yes
31908
30936
else
31909
30937
  echo "$as_me: failed program was:" >&5
31952
30980
# Threads and multi processor
31953
30981
#############################
31954
30982
 
31955
 
 
31956
 
 
31957
 
 
31958
 
 
31959
 
 
31960
30983
# Check whether --enable-mp was given.
31961
30984
if test "${enable_mp+set}" = set; then
31962
30985
  enableval=$enable_mp;
31963
30986
fi
31964
30987
 
31965
 
if test "x$enable_mp" = "xyes"; then
31966
 
  { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
31967
 
echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; }
31968
 
if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
31969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31970
 
else
31971
 
  ac_check_lib_save_LIBS=$LIBS
31972
 
LIBS="-lpthread  $LIBS"
31973
 
cat >conftest.$ac_ext <<_ACEOF
31974
 
/* confdefs.h.  */
31975
 
_ACEOF
31976
 
cat confdefs.h >>conftest.$ac_ext
31977
 
cat >>conftest.$ac_ext <<_ACEOF
31978
 
/* end confdefs.h.  */
31979
 
 
31980
 
/* Override any GCC internal prototype to avoid an error.
31981
 
   Use char because int might match the return type of a GCC
31982
 
   builtin and then its argument prototype would still apply.  */
31983
 
#ifdef __cplusplus
31984
 
extern "C"
31985
 
#endif
31986
 
char pthread_attr_init ();
31987
 
int
31988
 
main ()
31989
 
{
31990
 
return pthread_attr_init ();
31991
 
  ;
31992
 
  return 0;
31993
 
}
31994
 
_ACEOF
31995
 
rm -f conftest.$ac_objext conftest$ac_exeext
31996
 
if { (ac_try="$ac_link"
31997
 
case "(($ac_try" in
31998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999
 
  *) ac_try_echo=$ac_try;;
32000
 
esac
32001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002
 
  (eval "$ac_link") 2>conftest.er1
32003
 
  ac_status=$?
32004
 
  grep -v '^ *+' conftest.er1 >conftest.err
32005
 
  rm -f conftest.er1
32006
 
  cat conftest.err >&5
32007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008
 
  (exit $ac_status); } &&
32009
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32010
 
  { (case "(($ac_try" in
32011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32012
 
  *) ac_try_echo=$ac_try;;
32013
 
esac
32014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32015
 
  (eval "$ac_try") 2>&5
32016
 
  ac_status=$?
32017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018
 
  (exit $ac_status); }; } &&
32019
 
         { ac_try='test -s conftest$ac_exeext'
32020
 
  { (case "(($ac_try" in
32021
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32022
 
  *) ac_try_echo=$ac_try;;
32023
 
esac
32024
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32025
 
  (eval "$ac_try") 2>&5
32026
 
  ac_status=$?
32027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028
 
  (exit $ac_status); }; }; then
32029
 
  ac_cv_lib_pthread_pthread_attr_init=yes
32030
 
else
32031
 
  echo "$as_me: failed program was:" >&5
32032
 
sed 's/^/| /' conftest.$ac_ext >&5
32033
 
 
32034
 
        ac_cv_lib_pthread_pthread_attr_init=no
32035
 
fi
32036
 
 
32037
 
rm -f core conftest.err conftest.$ac_objext \
32038
 
      conftest$ac_exeext conftest.$ac_ext
32039
 
LIBS=$ac_check_lib_save_LIBS
32040
 
fi
32041
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
32042
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; }
32043
 
if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
 
30988
if test "x$enable_mp" != "xno"; then
 
30989
 
 
30990
pkg_failed=no
 
30991
{ echo "$as_me:$LINENO: checking for GTHREAD" >&5
 
30992
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
 
30993
 
 
30994
if test -n "$PKG_CONFIG"; then
 
30995
    if test -n "$GTHREAD_CFLAGS"; then
 
30996
        pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
 
30997
    else
 
30998
        if test -n "$PKG_CONFIG" && \
 
30999
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
 
31000
  ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
 
31001
  ac_status=$?
 
31002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31003
  (exit $ac_status); }; then
 
31004
  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
 
31005
else
 
31006
  pkg_failed=yes
 
31007
fi
 
31008
    fi
 
31009
else
 
31010
        pkg_failed=untried
 
31011
fi
 
31012
if test -n "$PKG_CONFIG"; then
 
31013
    if test -n "$GTHREAD_LIBS"; then
 
31014
        pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
 
31015
    else
 
31016
        if test -n "$PKG_CONFIG" && \
 
31017
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
 
31018
  ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
 
31019
  ac_status=$?
 
31020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31021
  (exit $ac_status); }; then
 
31022
  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
 
31023
else
 
31024
  pkg_failed=yes
 
31025
fi
 
31026
    fi
 
31027
else
 
31028
        pkg_failed=untried
 
31029
fi
 
31030
 
 
31031
 
 
31032
 
 
31033
if test $pkg_failed = yes; then
 
31034
 
 
31035
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
31036
        _pkg_short_errors_supported=yes
 
31037
else
 
31038
        _pkg_short_errors_supported=no
 
31039
fi
 
31040
        if test $_pkg_short_errors_supported = yes; then
 
31041
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
 
31042
        else
 
31043
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
 
31044
        fi
 
31045
        # Put the nasty error message in config.log where it belongs
 
31046
        echo "$GTHREAD_PKG_ERRORS" >&5
 
31047
 
 
31048
        { { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0) were not met:
 
31049
 
 
31050
$GTHREAD_PKG_ERRORS
 
31051
 
 
31052
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
31053
installed software in a non-standard prefix.
 
31054
 
 
31055
Alternatively, you may set the environment variables GTHREAD_CFLAGS
 
31056
and GTHREAD_LIBS to avoid the need to call pkg-config.
 
31057
See the pkg-config man page for more details.
 
31058
" >&5
 
31059
echo "$as_me: error: Package requirements (gthread-2.0) were not met:
 
31060
 
 
31061
$GTHREAD_PKG_ERRORS
 
31062
 
 
31063
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
31064
installed software in a non-standard prefix.
 
31065
 
 
31066
Alternatively, you may set the environment variables GTHREAD_CFLAGS
 
31067
and GTHREAD_LIBS to avoid the need to call pkg-config.
 
31068
See the pkg-config man page for more details.
 
31069
" >&2;}
 
31070
   { (exit 1); exit 1; }; }
 
31071
elif test $pkg_failed = untried; then
 
31072
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
31073
is in your PATH or set the PKG_CONFIG environment variable to the full
 
31074
path to pkg-config.
 
31075
 
 
31076
Alternatively, you may set the environment variables GTHREAD_CFLAGS
 
31077
and GTHREAD_LIBS to avoid the need to call pkg-config.
 
31078
See the pkg-config man page for more details.
 
31079
 
 
31080
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
31081
See \`config.log' for more details." >&5
 
31082
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
31083
is in your PATH or set the PKG_CONFIG environment variable to the full
 
31084
path to pkg-config.
 
31085
 
 
31086
Alternatively, you may set the environment variables GTHREAD_CFLAGS
 
31087
and GTHREAD_LIBS to avoid the need to call pkg-config.
 
31088
See the pkg-config man page for more details.
 
31089
 
 
31090
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
31091
See \`config.log' for more details." >&2;}
 
31092
   { (exit 1); exit 1; }; }
 
31093
else
 
31094
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
 
31095
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
 
31096
        { echo "$as_me:$LINENO: result: yes" >&5
 
31097
echo "${ECHO_T}yes" >&6; }
32044
31098
 
32045
31099
cat >>confdefs.h <<\_ACEOF
32046
31100
#define ENABLE_MP 1
32047
31101
_ACEOF
32048
31102
 
32049
 
    GIMP_MP_LIBS="-lpthread"
32050
 
    GIMP_MP_FLAGS="-D_REENTRANT"
32051
 
else
32052
 
  # AIX has libpthreads, cause they're special. Special friends (TM)
32053
 
    { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
32054
 
echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; }
32055
 
if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
32056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32057
 
else
32058
 
  ac_check_lib_save_LIBS=$LIBS
32059
 
LIBS="-lpthreads  $LIBS"
32060
 
cat >conftest.$ac_ext <<_ACEOF
32061
 
/* confdefs.h.  */
32062
 
_ACEOF
32063
 
cat confdefs.h >>conftest.$ac_ext
32064
 
cat >>conftest.$ac_ext <<_ACEOF
32065
 
/* end confdefs.h.  */
32066
 
 
32067
 
/* Override any GCC internal prototype to avoid an error.
32068
 
   Use char because int might match the return type of a GCC
32069
 
   builtin and then its argument prototype would still apply.  */
32070
 
#ifdef __cplusplus
32071
 
extern "C"
32072
 
#endif
32073
 
char pthread_attr_init ();
32074
 
int
32075
 
main ()
32076
 
{
32077
 
return pthread_attr_init ();
32078
 
  ;
32079
 
  return 0;
32080
 
}
32081
 
_ACEOF
32082
 
rm -f conftest.$ac_objext conftest$ac_exeext
32083
 
if { (ac_try="$ac_link"
32084
 
case "(($ac_try" in
32085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32086
 
  *) ac_try_echo=$ac_try;;
32087
 
esac
32088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32089
 
  (eval "$ac_link") 2>conftest.er1
32090
 
  ac_status=$?
32091
 
  grep -v '^ *+' conftest.er1 >conftest.err
32092
 
  rm -f conftest.er1
32093
 
  cat conftest.err >&5
32094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095
 
  (exit $ac_status); } &&
32096
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32097
 
  { (case "(($ac_try" in
32098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32099
 
  *) ac_try_echo=$ac_try;;
32100
 
esac
32101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32102
 
  (eval "$ac_try") 2>&5
32103
 
  ac_status=$?
32104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105
 
  (exit $ac_status); }; } &&
32106
 
         { ac_try='test -s conftest$ac_exeext'
32107
 
  { (case "(($ac_try" in
32108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32109
 
  *) ac_try_echo=$ac_try;;
32110
 
esac
32111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32112
 
  (eval "$ac_try") 2>&5
32113
 
  ac_status=$?
32114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115
 
  (exit $ac_status); }; }; then
32116
 
  ac_cv_lib_pthreads_pthread_attr_init=yes
32117
 
else
32118
 
  echo "$as_me: failed program was:" >&5
32119
 
sed 's/^/| /' conftest.$ac_ext >&5
32120
 
 
32121
 
        ac_cv_lib_pthreads_pthread_attr_init=no
32122
 
fi
32123
 
 
32124
 
rm -f core conftest.err conftest.$ac_objext \
32125
 
      conftest$ac_exeext conftest.$ac_ext
32126
 
LIBS=$ac_check_lib_save_LIBS
32127
 
fi
32128
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
32129
 
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
32130
 
if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
32131
 
  cat >>confdefs.h <<\_ACEOF
32132
 
#define ENABLE_MP 1
32133
 
_ACEOF
32134
 
 
32135
 
      GIMP_MP_LIBS="-lpthreads"
32136
 
      GIMP_MP_FLAGS="-D_REENTRANT -D_THREAD_SAFE"
32137
 
fi
32138
 
 
32139
 
fi
32140
 
 
32141
 
fi
32142
 
 
32143
 
 
32144
 
 
 
31103
 
 
31104
fi
 
31105
fi
32145
31106
 
32146
31107
 
32147
31108
################################
32148
31109
# Some plug-ins are X11 specific
32149
31110
################################
32150
31111
 
 
31112
GIMP_COMMAND='gimp-2.3'
 
31113
 
32151
31114
gdk_target=`$PKG_CONFIG --variable=target gtk+-2.0`
32152
31115
if test "$gdk_target" = x11; then
32153
 
        if test -z "$LIBXMU"; then
32154
 
      gimp_save_CFLAGS="$CFLAGS"
32155
 
      gimp_save_LDFLAGS="$LDFLAGS"
32156
 
      CFLAGS="$CFLAGS $GTK_CFLAGS"
32157
 
      LDFLAGS="$LDFLAGS $X_LIBS"
 
31116
      LIBSCREENSHOT="$X_LIBS -lX11"
 
31117
 
 
31118
      DOC_SHOOTER=doc-shooter
 
31119
 
 
31120
   gimp_save_CFLAGS="$CFLAGS"
 
31121
   gimp_save_LDFLAGS="$LDFLAGS"
 
31122
   CFLAGS="$CFLAGS $GTK_CFLAGS"
 
31123
   LDFLAGS="$LDFLAGS $X_LIBS"
 
31124
 
 
31125
      enable_gimp_remote=yes
 
31126
   if test -z "$LIBXMU"; then
32158
31127
      { echo "$as_me:$LINENO: checking for XmuClientWindow in -lXmu" >&5
32159
31128
echo $ECHO_N "checking for XmuClientWindow in -lXmu... $ECHO_C" >&6; }
32160
31129
if test "${ac_cv_lib_Xmu_XmuClientWindow+set}" = set; then
32197
31166
  rm -f conftest.er1
32198
31167
  cat conftest.err >&5
32199
31168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200
 
  (exit $ac_status); } &&
32201
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32202
 
  { (case "(($ac_try" in
32203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32204
 
  *) ac_try_echo=$ac_try;;
32205
 
esac
32206
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32207
 
  (eval "$ac_try") 2>&5
32208
 
  ac_status=$?
32209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210
 
  (exit $ac_status); }; } &&
32211
 
         { ac_try='test -s conftest$ac_exeext'
32212
 
  { (case "(($ac_try" in
32213
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32214
 
  *) ac_try_echo=$ac_try;;
32215
 
esac
32216
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32217
 
  (eval "$ac_try") 2>&5
32218
 
  ac_status=$?
32219
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220
 
  (exit $ac_status); }; }; then
 
31169
  (exit $ac_status); } && {
 
31170
         test -z "$ac_c_werror_flag" ||
 
31171
         test ! -s conftest.err
 
31172
       } && test -s conftest$ac_exeext &&
 
31173
       $as_test_x conftest$ac_exeext; then
32221
31174
  ac_cv_lib_Xmu_XmuClientWindow=yes
32222
31175
else
32223
31176
  echo "$as_me: failed program was:" >&5
32226
31179
        ac_cv_lib_Xmu_XmuClientWindow=no
32227
31180
fi
32228
31181
 
32229
 
rm -f core conftest.err conftest.$ac_objext \
 
31182
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32230
31183
      conftest$ac_exeext conftest.$ac_ext
32231
31184
LIBS=$ac_check_lib_save_LIBS
32232
31185
fi
32265
31218
  rm -f conftest.er1
32266
31219
  cat conftest.err >&5
32267
31220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268
 
  (exit $ac_status); } &&
32269
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32270
 
  { (case "(($ac_try" in
32271
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32272
 
  *) ac_try_echo=$ac_try;;
32273
 
esac
32274
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32275
 
  (eval "$ac_try") 2>&5
32276
 
  ac_status=$?
32277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278
 
  (exit $ac_status); }; } &&
32279
 
         { ac_try='test -s conftest.$ac_objext'
32280
 
  { (case "(($ac_try" in
32281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32282
 
  *) ac_try_echo=$ac_try;;
32283
 
esac
32284
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32285
 
  (eval "$ac_try") 2>&5
32286
 
  ac_status=$?
32287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288
 
  (exit $ac_status); }; }; then
 
31221
  (exit $ac_status); } && {
 
31222
         test -z "$ac_c_werror_flag" ||
 
31223
         test ! -s conftest.err
 
31224
       } && test -s conftest.$ac_objext; then
32289
31225
  eval "$as_ac_Header=yes"
32290
31226
else
32291
31227
  echo "$as_me: failed program was:" >&5
32303
31239
  cat >>confdefs.h <<_ACEOF
32304
31240
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32305
31241
_ACEOF
32306
 
 GIMP_REMOTE='gimp-remote-2.2$(EXEEXT)';
 
31242
 GIMP_REMOTE='gimp-remote-2.3$(EXEEXT)';
 
31243
          GIMP_COMMAND='gimp-remote-2.3'
32307
31244
          have_libxmu=yes
32308
31245
          LIBXMU="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt"
32309
31246
else
32310
 
  { echo "$as_me:$LINENO: WARNING: *** gimp-remote will not be built (XMU header file not found) ***" >&5
32311
 
echo "$as_me: WARNING: *** gimp-remote will not be built (XMU header file not found) ***" >&2;}
32312
 
fi
32313
 
 
32314
 
done
32315
 
 
32316
 
else
32317
 
  { echo "$as_me:$LINENO: WARNING: *** gimp-remote will not be built (XMU library not found) ***" >&5
32318
 
echo "$as_me: WARNING: *** gimp-remote will not be built (XMU library not found) ***" >&2;}
32319
 
fi
32320
 
 
32321
 
      CFLAGS="$gimp_save_CFLAGS"
32322
 
      LDFLAGS="$gimp_save_LDFLAGS"
32323
 
    fi
32324
 
 
32325
 
      LIBSCREENSHOT="$X_LIBS -lX11"
32326
 
fi
 
31247
  enable_gimp_remote="no (XMU header file not found)"
 
31248
fi
 
31249
 
 
31250
done
 
31251
 
 
31252
else
 
31253
  enable_gimp_remote="no (XMU library not found)"
 
31254
fi
 
31255
 
 
31256
      LIBSCREENSHOT="$LIBXMU"
 
31257
   fi
 
31258
 
 
31259
      { echo "$as_me:$LINENO: checking for XShapeGetRectangles in -lXext" >&5
 
31260
echo $ECHO_N "checking for XShapeGetRectangles in -lXext... $ECHO_C" >&6; }
 
31261
if test "${ac_cv_lib_Xext_XShapeGetRectangles+set}" = set; then
 
31262
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31263
else
 
31264
  ac_check_lib_save_LIBS=$LIBS
 
31265
LIBS="-lXext -lX11 -lXext $LIBS"
 
31266
cat >conftest.$ac_ext <<_ACEOF
 
31267
/* confdefs.h.  */
 
31268
_ACEOF
 
31269
cat confdefs.h >>conftest.$ac_ext
 
31270
cat >>conftest.$ac_ext <<_ACEOF
 
31271
/* end confdefs.h.  */
 
31272
 
 
31273
/* Override any GCC internal prototype to avoid an error.
 
31274
   Use char because int might match the return type of a GCC
 
31275
   builtin and then its argument prototype would still apply.  */
 
31276
#ifdef __cplusplus
 
31277
extern "C"
 
31278
#endif
 
31279
char XShapeGetRectangles ();
 
31280
int
 
31281
main ()
 
31282
{
 
31283
return XShapeGetRectangles ();
 
31284
  ;
 
31285
  return 0;
 
31286
}
 
31287
_ACEOF
 
31288
rm -f conftest.$ac_objext conftest$ac_exeext
 
31289
if { (ac_try="$ac_link"
 
31290
case "(($ac_try" in
 
31291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31292
  *) ac_try_echo=$ac_try;;
 
31293
esac
 
31294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31295
  (eval "$ac_link") 2>conftest.er1
 
31296
  ac_status=$?
 
31297
  grep -v '^ *+' conftest.er1 >conftest.err
 
31298
  rm -f conftest.er1
 
31299
  cat conftest.err >&5
 
31300
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31301
  (exit $ac_status); } && {
 
31302
         test -z "$ac_c_werror_flag" ||
 
31303
         test ! -s conftest.err
 
31304
       } && test -s conftest$ac_exeext &&
 
31305
       $as_test_x conftest$ac_exeext; then
 
31306
  ac_cv_lib_Xext_XShapeGetRectangles=yes
 
31307
else
 
31308
  echo "$as_me: failed program was:" >&5
 
31309
sed 's/^/| /' conftest.$ac_ext >&5
 
31310
 
 
31311
        ac_cv_lib_Xext_XShapeGetRectangles=no
 
31312
fi
 
31313
 
 
31314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
31315
      conftest$ac_exeext conftest.$ac_ext
 
31316
LIBS=$ac_check_lib_save_LIBS
 
31317
fi
 
31318
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeGetRectangles" >&5
 
31319
echo "${ECHO_T}$ac_cv_lib_Xext_XShapeGetRectangles" >&6; }
 
31320
if test $ac_cv_lib_Xext_XShapeGetRectangles = yes; then
 
31321
 
 
31322
for ac_header in X11/extensions/shape.h
 
31323
do
 
31324
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
31325
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
31326
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
31327
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
31328
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
31329
else
 
31330
  cat >conftest.$ac_ext <<_ACEOF
 
31331
/* confdefs.h.  */
 
31332
_ACEOF
 
31333
cat confdefs.h >>conftest.$ac_ext
 
31334
cat >>conftest.$ac_ext <<_ACEOF
 
31335
/* end confdefs.h.  */
 
31336
#include <gdk/gdkx.h>
 
31337
 
 
31338
#include <$ac_header>
 
31339
_ACEOF
 
31340
rm -f conftest.$ac_objext
 
31341
if { (ac_try="$ac_compile"
 
31342
case "(($ac_try" in
 
31343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31344
  *) ac_try_echo=$ac_try;;
 
31345
esac
 
31346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31347
  (eval "$ac_compile") 2>conftest.er1
 
31348
  ac_status=$?
 
31349
  grep -v '^ *+' conftest.er1 >conftest.err
 
31350
  rm -f conftest.er1
 
31351
  cat conftest.err >&5
 
31352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
31353
  (exit $ac_status); } && {
 
31354
         test -z "$ac_c_werror_flag" ||
 
31355
         test ! -s conftest.err
 
31356
       } && test -s conftest.$ac_objext; then
 
31357
  eval "$as_ac_Header=yes"
 
31358
else
 
31359
  echo "$as_me: failed program was:" >&5
 
31360
sed 's/^/| /' conftest.$ac_ext >&5
 
31361
 
 
31362
        eval "$as_ac_Header=no"
 
31363
fi
 
31364
 
 
31365
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
31366
fi
 
31367
ac_res=`eval echo '${'$as_ac_Header'}'`
 
31368
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
31369
echo "${ECHO_T}$ac_res" >&6; }
 
31370
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
31371
  cat >>confdefs.h <<_ACEOF
 
31372
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
31373
_ACEOF
 
31374
 LIBSCREENSHOT="$LIBSCREENSHOT -lXext"
 
31375
fi
 
31376
 
 
31377
done
 
31378
 
 
31379
fi
 
31380
 
 
31381
 
 
31382
   CFLAGS="$gimp_save_CFLAGS"
 
31383
   LDFLAGS="$gimp_save_LDFLAGS"
 
31384
else
 
31385
   enable_gimp_remote="no (building for $gdk_target)"
 
31386
fi
 
31387
 
 
31388
 
 
31389
 
 
31390
 
32327
31391
 
32328
31392
 
32329
31393
 
32334
31398
# Check for libtiff
32335
31399
###################
32336
31400
 
 
31401
have_libtiff=no
32337
31402
 
32338
31403
# Check whether --with-libtiff was given.
32339
31404
if test "${with_libtiff+set}" = set; then
32341
31406
fi
32342
31407
 
32343
31408
  if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
 
31409
    have_libtiff=yes
32344
31410
    { echo "$as_me:$LINENO: checking for TIFFReadScanline in -ltiff" >&5
32345
31411
echo $ECHO_N "checking for TIFFReadScanline in -ltiff... $ECHO_C" >&6; }
32346
31412
if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then
32383
31449
  rm -f conftest.er1
32384
31450
  cat conftest.err >&5
32385
31451
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386
 
  (exit $ac_status); } &&
32387
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32388
 
  { (case "(($ac_try" in
32389
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32390
 
  *) ac_try_echo=$ac_try;;
32391
 
esac
32392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32393
 
  (eval "$ac_try") 2>&5
32394
 
  ac_status=$?
32395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396
 
  (exit $ac_status); }; } &&
32397
 
         { ac_try='test -s conftest$ac_exeext'
32398
 
  { (case "(($ac_try" in
32399
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32400
 
  *) ac_try_echo=$ac_try;;
32401
 
esac
32402
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32403
 
  (eval "$ac_try") 2>&5
32404
 
  ac_status=$?
32405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406
 
  (exit $ac_status); }; }; then
 
31452
  (exit $ac_status); } && {
 
31453
         test -z "$ac_c_werror_flag" ||
 
31454
         test ! -s conftest.err
 
31455
       } && test -s conftest$ac_exeext &&
 
31456
       $as_test_x conftest$ac_exeext; then
32407
31457
  ac_cv_lib_tiff_TIFFReadScanline=yes
32408
31458
else
32409
31459
  echo "$as_me: failed program was:" >&5
32412
31462
        ac_cv_lib_tiff_TIFFReadScanline=no
32413
31463
fi
32414
31464
 
32415
 
rm -f core conftest.err conftest.$ac_objext \
 
31465
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32416
31466
      conftest$ac_exeext conftest.$ac_ext
32417
31467
LIBS=$ac_check_lib_save_LIBS
32418
31468
fi
32453
31503
  rm -f conftest.er1
32454
31504
  cat conftest.err >&5
32455
31505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456
 
  (exit $ac_status); } &&
32457
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32458
 
  { (case "(($ac_try" in
32459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32460
 
  *) ac_try_echo=$ac_try;;
32461
 
esac
32462
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463
 
  (eval "$ac_try") 2>&5
32464
 
  ac_status=$?
32465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466
 
  (exit $ac_status); }; } &&
32467
 
         { ac_try='test -s conftest.$ac_objext'
32468
 
  { (case "(($ac_try" in
32469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32470
 
  *) ac_try_echo=$ac_try;;
32471
 
esac
32472
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32473
 
  (eval "$ac_try") 2>&5
32474
 
  ac_status=$?
32475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476
 
  (exit $ac_status); }; }; then
 
31506
  (exit $ac_status); } && {
 
31507
         test -z "$ac_c_werror_flag" ||
 
31508
         test ! -s conftest.err
 
31509
       } && test -s conftest.$ac_objext; then
32477
31510
  ac_header_compiler=yes
32478
31511
else
32479
31512
  echo "$as_me: failed program was:" >&5
32509
31542
  rm -f conftest.er1
32510
31543
  cat conftest.err >&5
32511
31544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512
 
  (exit $ac_status); } >/dev/null; then
32513
 
  if test -s conftest.err; then
32514
 
    ac_cpp_err=$ac_c_preproc_warn_flag
32515
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32516
 
  else
32517
 
    ac_cpp_err=
32518
 
  fi
32519
 
else
32520
 
  ac_cpp_err=yes
32521
 
fi
32522
 
if test -z "$ac_cpp_err"; then
 
31545
  (exit $ac_status); } >/dev/null && {
 
31546
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
31547
         test ! -s conftest.err
 
31548
       }; then
32523
31549
  ac_header_preproc=yes
32524
31550
else
32525
31551
  echo "$as_me: failed program was:" >&5
32576
31602
if test $ac_cv_header_tiffio_h = yes; then
32577
31603
  TIFF='tiff$(EXEEXT)'; LIBTIFF='-ltiff'
32578
31604
else
32579
 
  { echo "$as_me:$LINENO: WARNING: *** TIFF plug-in will not be built (TIFF header files not found) ***" >&5
32580
 
echo "$as_me: WARNING: *** TIFF plug-in will not be built (TIFF header files not found) ***" >&2;}
 
31605
  have_libtiff="no (TIFF header files not found)"
32581
31606
fi
32582
31607
 
32583
31608
 
32624
31649
  rm -f conftest.er1
32625
31650
  cat conftest.err >&5
32626
31651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627
 
  (exit $ac_status); } &&
32628
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32629
 
  { (case "(($ac_try" in
32630
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32631
 
  *) ac_try_echo=$ac_try;;
32632
 
esac
32633
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634
 
  (eval "$ac_try") 2>&5
32635
 
  ac_status=$?
32636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637
 
  (exit $ac_status); }; } &&
32638
 
         { ac_try='test -s conftest$ac_exeext'
32639
 
  { (case "(($ac_try" in
32640
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32641
 
  *) ac_try_echo=$ac_try;;
32642
 
esac
32643
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32644
 
  (eval "$ac_try") 2>&5
32645
 
  ac_status=$?
32646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647
 
  (exit $ac_status); }; }; then
 
31652
  (exit $ac_status); } && {
 
31653
         test -z "$ac_c_werror_flag" ||
 
31654
         test ! -s conftest.err
 
31655
       } && test -s conftest$ac_exeext &&
 
31656
       $as_test_x conftest$ac_exeext; then
32648
31657
  ac_cv_lib_tiff_TIFFWriteScanline=yes
32649
31658
else
32650
31659
  echo "$as_me: failed program was:" >&5
32653
31662
        ac_cv_lib_tiff_TIFFWriteScanline=no
32654
31663
fi
32655
31664
 
32656
 
rm -f core conftest.err conftest.$ac_objext \
 
31665
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32657
31666
      conftest$ac_exeext conftest.$ac_ext
32658
31667
LIBS=$ac_check_lib_save_LIBS
32659
31668
fi
32694
31703
  rm -f conftest.er1
32695
31704
  cat conftest.err >&5
32696
31705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697
 
  (exit $ac_status); } &&
32698
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32699
 
  { (case "(($ac_try" in
32700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32701
 
  *) ac_try_echo=$ac_try;;
32702
 
esac
32703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32704
 
  (eval "$ac_try") 2>&5
32705
 
  ac_status=$?
32706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707
 
  (exit $ac_status); }; } &&
32708
 
         { ac_try='test -s conftest.$ac_objext'
32709
 
  { (case "(($ac_try" in
32710
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32711
 
  *) ac_try_echo=$ac_try;;
32712
 
esac
32713
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32714
 
  (eval "$ac_try") 2>&5
32715
 
  ac_status=$?
32716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717
 
  (exit $ac_status); }; }; then
 
31706
  (exit $ac_status); } && {
 
31707
         test -z "$ac_c_werror_flag" ||
 
31708
         test ! -s conftest.err
 
31709
       } && test -s conftest.$ac_objext; then
32718
31710
  ac_header_compiler=yes
32719
31711
else
32720
31712
  echo "$as_me: failed program was:" >&5
32750
31742
  rm -f conftest.er1
32751
31743
  cat conftest.err >&5
32752
31744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753
 
  (exit $ac_status); } >/dev/null; then
32754
 
  if test -s conftest.err; then
32755
 
    ac_cpp_err=$ac_c_preproc_warn_flag
32756
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32757
 
  else
32758
 
    ac_cpp_err=
32759
 
  fi
32760
 
else
32761
 
  ac_cpp_err=yes
32762
 
fi
32763
 
if test -z "$ac_cpp_err"; then
 
31745
  (exit $ac_status); } >/dev/null && {
 
31746
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
31747
         test ! -s conftest.err
 
31748
       }; then
32764
31749
  ac_header_preproc=yes
32765
31750
else
32766
31751
  echo "$as_me: failed program was:" >&5
32817
31802
if test $ac_cv_header_tiffio_h = yes; then
32818
31803
  TIFF='tiff$(EXEEXT)'; LIBTIFF='-ltiff -ljpeg -lz'
32819
31804
else
32820
 
  { echo "$as_me:$LINENO: WARNING: *** TIFF plug-in will not be built (TIFF header files not found) ***" >&5
32821
 
echo "$as_me: WARNING: *** TIFF plug-in will not be built (TIFF header files not found) ***" >&2;}
 
31805
  have_libtiff="no (TIFF header files not found)"
32822
31806
fi
32823
31807
 
32824
31808
 
32865
31849
  rm -f conftest.er1
32866
31850
  cat conftest.err >&5
32867
31851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868
 
  (exit $ac_status); } &&
32869
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32870
 
  { (case "(($ac_try" in
32871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32872
 
  *) ac_try_echo=$ac_try;;
32873
 
esac
32874
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32875
 
  (eval "$ac_try") 2>&5
32876
 
  ac_status=$?
32877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878
 
  (exit $ac_status); }; } &&
32879
 
         { ac_try='test -s conftest$ac_exeext'
32880
 
  { (case "(($ac_try" in
32881
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32882
 
  *) ac_try_echo=$ac_try;;
32883
 
esac
32884
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32885
 
  (eval "$ac_try") 2>&5
32886
 
  ac_status=$?
32887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888
 
  (exit $ac_status); }; }; then
 
31852
  (exit $ac_status); } && {
 
31853
         test -z "$ac_c_werror_flag" ||
 
31854
         test ! -s conftest.err
 
31855
       } && test -s conftest$ac_exeext &&
 
31856
       $as_test_x conftest$ac_exeext; then
32889
31857
  ac_cv_lib_tiff34_TIFFFlushData=yes
32890
31858
else
32891
31859
  echo "$as_me: failed program was:" >&5
32894
31862
        ac_cv_lib_tiff34_TIFFFlushData=no
32895
31863
fi
32896
31864
 
32897
 
rm -f core conftest.err conftest.$ac_objext \
 
31865
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32898
31866
      conftest$ac_exeext conftest.$ac_ext
32899
31867
LIBS=$ac_check_lib_save_LIBS
32900
31868
fi
32935
31903
  rm -f conftest.er1
32936
31904
  cat conftest.err >&5
32937
31905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938
 
  (exit $ac_status); } &&
32939
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32940
 
  { (case "(($ac_try" in
32941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32942
 
  *) ac_try_echo=$ac_try;;
32943
 
esac
32944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32945
 
  (eval "$ac_try") 2>&5
32946
 
  ac_status=$?
32947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948
 
  (exit $ac_status); }; } &&
32949
 
         { ac_try='test -s conftest.$ac_objext'
32950
 
  { (case "(($ac_try" in
32951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32952
 
  *) ac_try_echo=$ac_try;;
32953
 
esac
32954
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32955
 
  (eval "$ac_try") 2>&5
32956
 
  ac_status=$?
32957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958
 
  (exit $ac_status); }; }; then
 
31906
  (exit $ac_status); } && {
 
31907
         test -z "$ac_c_werror_flag" ||
 
31908
         test ! -s conftest.err
 
31909
       } && test -s conftest.$ac_objext; then
32959
31910
  ac_header_compiler=yes
32960
31911
else
32961
31912
  echo "$as_me: failed program was:" >&5
32991
31942
  rm -f conftest.er1
32992
31943
  cat conftest.err >&5
32993
31944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994
 
  (exit $ac_status); } >/dev/null; then
32995
 
  if test -s conftest.err; then
32996
 
    ac_cpp_err=$ac_c_preproc_warn_flag
32997
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32998
 
  else
32999
 
    ac_cpp_err=
33000
 
  fi
33001
 
else
33002
 
  ac_cpp_err=yes
33003
 
fi
33004
 
if test -z "$ac_cpp_err"; then
 
31945
  (exit $ac_status); } >/dev/null && {
 
31946
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
31947
         test ! -s conftest.err
 
31948
       }; then
33005
31949
  ac_header_preproc=yes
33006
31950
else
33007
31951
  echo "$as_me: failed program was:" >&5
33058
32002
if test $ac_cv_header_tiffio_h = yes; then
33059
32003
  TIFF='tiff$(EXEEXT)'; LIBTIFF='-ltiff34 -ljpeg -lz'
33060
32004
else
33061
 
  { echo "$as_me:$LINENO: WARNING: *** TIFF plug-in will not be built (TIFF header files not found) ***" >&5
33062
 
echo "$as_me: WARNING: *** TIFF plug-in will not be built (TIFF header files not found) ***" >&2;}
 
32005
  have_libtiff="no (TIFF header files not found)"
33063
32006
fi
33064
32007
 
33065
32008
 
33066
32009
else
33067
 
  { echo "$as_me:$LINENO: WARNING: *** TIFF plug-in will not be built (TIFF library not found) ***" >&5
33068
 
echo "$as_me: WARNING: *** TIFF plug-in will not be built (TIFF library not found) ***" >&2;}
 
32010
  have_libtiff="no (TIFF library not found)"
33069
32011
fi
33070
32012
 
33071
32013
fi
33141
32083
  rm -f conftest.er1
33142
32084
  cat conftest.err >&5
33143
32085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144
 
  (exit $ac_status); } &&
33145
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33146
 
  { (case "(($ac_try" in
33147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33148
 
  *) ac_try_echo=$ac_try;;
33149
 
esac
33150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151
 
  (eval "$ac_try") 2>&5
33152
 
  ac_status=$?
33153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154
 
  (exit $ac_status); }; } &&
33155
 
         { ac_try='test -s conftest$ac_exeext'
33156
 
  { (case "(($ac_try" in
33157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33158
 
  *) ac_try_echo=$ac_try;;
33159
 
esac
33160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33161
 
  (eval "$ac_try") 2>&5
33162
 
  ac_status=$?
33163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164
 
  (exit $ac_status); }; }; then
 
32086
  (exit $ac_status); } && {
 
32087
         test -z "$ac_c_werror_flag" ||
 
32088
         test ! -s conftest.err
 
32089
       } && test -s conftest$ac_exeext &&
 
32090
       $as_test_x conftest$ac_exeext; then
33165
32091
  ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
33166
32092
else
33167
32093
  echo "$as_me: failed program was:" >&5
33170
32096
        ac_cv_lib_jpeg_jpeg_destroy_decompress=no
33171
32097
fi
33172
32098
 
33173
 
rm -f core conftest.err conftest.$ac_objext \
 
32099
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33174
32100
      conftest$ac_exeext conftest.$ac_ext
33175
32101
LIBS=$ac_check_lib_save_LIBS
33176
32102
fi
33179
32105
if test $ac_cv_lib_jpeg_jpeg_destroy_decompress = yes; then
33180
32106
  jpeg_ok=yes
33181
32107
else
33182
 
  jpeg_ok=no
33183
 
      { echo "$as_me:$LINENO: WARNING: *** JPEG plug-in will not be built (JPEG library not found) ***" >&5
33184
 
echo "$as_me: WARNING: *** JPEG plug-in will not be built (JPEG library not found) ***" >&2;}
 
32108
  jpeg_ok="no (JPEG library not found)"
33185
32109
      { echo "$as_me:$LINENO: WARNING: *** XJT plug-in will not be built (JPEG library not found) ***" >&5
33186
32110
echo "$as_me: WARNING: *** XJT plug-in will not be built (JPEG library not found) ***" >&2;}
33187
32111
fi
33215
32139
  rm -f conftest.er1
33216
32140
  cat conftest.err >&5
33217
32141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218
 
  (exit $ac_status); } >/dev/null; then
33219
 
  if test -s conftest.err; then
33220
 
    ac_cpp_err=$ac_c_preproc_warn_flag
33221
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33222
 
  else
33223
 
    ac_cpp_err=
33224
 
  fi
33225
 
else
33226
 
  ac_cpp_err=yes
33227
 
fi
33228
 
if test -z "$ac_cpp_err"; then
 
32142
  (exit $ac_status); } >/dev/null && {
 
32143
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
32144
         test ! -s conftest.err
 
32145
       }; then
33229
32146
  jpeg_ok=yes
33230
32147
else
33231
32148
  echo "$as_me: failed program was:" >&5
33232
32149
sed 's/^/| /' conftest.$ac_ext >&5
33233
32150
 
33234
 
  jpeg_ok=no
 
32151
  jpeg_ok="no (Can't include jpeglib.h)"
33235
32152
fi
33236
32153
 
33237
32154
rm -f conftest.err conftest.$ac_ext
33238
32155
      { echo "$as_me:$LINENO: result: $jpeg_ok" >&5
33239
32156
echo "${ECHO_T}$jpeg_ok" >&6; }
33240
32157
      if test "$jpeg_ok" = yes; then
33241
 
        JPEG='jpeg$(EXEEXT)'; LIBJPEG='-ljpeg'
33242
 
        { echo "$as_me:$LINENO: checking for jpeg_simple_progression in -ljpeg" >&5
33243
 
echo $ECHO_N "checking for jpeg_simple_progression in -ljpeg... $ECHO_C" >&6; }
33244
 
if test "${ac_cv_lib_jpeg_jpeg_simple_progression+set}" = set; then
 
32158
        { echo "$as_me:$LINENO: checking for jpeg_save_markers in -ljpeg" >&5
 
32159
echo $ECHO_N "checking for jpeg_save_markers in -ljpeg... $ECHO_C" >&6; }
 
32160
if test "${ac_cv_lib_jpeg_jpeg_save_markers+set}" = set; then
33245
32161
  echo $ECHO_N "(cached) $ECHO_C" >&6
33246
32162
else
33247
32163
  ac_check_lib_save_LIBS=$LIBS
33259
32175
#ifdef __cplusplus
33260
32176
extern "C"
33261
32177
#endif
33262
 
char jpeg_simple_progression ();
 
32178
char jpeg_save_markers ();
33263
32179
int
33264
32180
main ()
33265
32181
{
33266
 
return jpeg_simple_progression ();
 
32182
return jpeg_save_markers ();
33267
32183
  ;
33268
32184
  return 0;
33269
32185
}
33281
32197
  rm -f conftest.er1
33282
32198
  cat conftest.err >&5
33283
32199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284
 
  (exit $ac_status); } &&
33285
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33286
 
  { (case "(($ac_try" in
33287
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33288
 
  *) ac_try_echo=$ac_try;;
33289
 
esac
33290
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291
 
  (eval "$ac_try") 2>&5
33292
 
  ac_status=$?
33293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33294
 
  (exit $ac_status); }; } &&
33295
 
         { ac_try='test -s conftest$ac_exeext'
33296
 
  { (case "(($ac_try" in
33297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33298
 
  *) ac_try_echo=$ac_try;;
33299
 
esac
33300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33301
 
  (eval "$ac_try") 2>&5
33302
 
  ac_status=$?
33303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304
 
  (exit $ac_status); }; }; then
33305
 
  ac_cv_lib_jpeg_jpeg_simple_progression=yes
 
32200
  (exit $ac_status); } && {
 
32201
         test -z "$ac_c_werror_flag" ||
 
32202
         test ! -s conftest.err
 
32203
       } && test -s conftest$ac_exeext &&
 
32204
       $as_test_x conftest$ac_exeext; then
 
32205
  ac_cv_lib_jpeg_jpeg_save_markers=yes
33306
32206
else
33307
32207
  echo "$as_me: failed program was:" >&5
33308
32208
sed 's/^/| /' conftest.$ac_ext >&5
33309
32209
 
33310
 
        ac_cv_lib_jpeg_jpeg_simple_progression=no
 
32210
        ac_cv_lib_jpeg_jpeg_save_markers=no
33311
32211
fi
33312
32212
 
33313
 
rm -f core conftest.err conftest.$ac_objext \
 
32213
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33314
32214
      conftest$ac_exeext conftest.$ac_ext
33315
32215
LIBS=$ac_check_lib_save_LIBS
33316
32216
fi
33317
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_simple_progression" >&5
33318
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_simple_progression" >&6; }
33319
 
if test $ac_cv_lib_jpeg_jpeg_simple_progression = yes; then
33320
 
 
33321
 
cat >>confdefs.h <<\_ACEOF
33322
 
#define HAVE_PROGRESSIVE_JPEG 1
33323
 
_ACEOF
33324
 
 
 
32217
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_save_markers" >&5
 
32218
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_save_markers" >&6; }
 
32219
if test $ac_cv_lib_jpeg_jpeg_save_markers = yes; then
 
32220
  JPEG='jpeg$(EXEEXT)'; LIBJPEG='-ljpeg'
33325
32221
else
33326
 
  { echo "$as_me:$LINENO: WARNING: JPEG library does not support progressive saving." >&5
33327
 
echo "$as_me: WARNING: JPEG library does not support progressive saving." >&2;}
 
32222
  jpeg_ok="no (JPEG library is too old)"
33328
32223
fi
33329
32224
 
33330
32225
      else
33331
 
        { echo "$as_me:$LINENO: WARNING: *** JPEG plug-in will not be built (JPEG header file not found) ***" >&5
33332
 
echo "$as_me: WARNING: *** JPEG plug-in will not be built (JPEG header file not found) ***" >&2;}
33333
 
        { echo "$as_me:$LINENO: WARNING: *** XJT plug-in will not be built (JPEG header file not found) ***" >&5
33334
 
echo "$as_me: WARNING: *** XJT plug-in will not be built (JPEG header file not found) ***" >&2;}
 
32226
        jpeg_ok="no (JPEG header file not found)"
33335
32227
      fi
33336
32228
    fi
33337
32229
  fi
33361
32253
  BUILD_XJT_FALSE=
33362
32254
fi
33363
32255
 
 
32256
if test x$jpeg_ok != xyes; then
 
32257
  have_xjt="no (no JPEG library)"
 
32258
elif test x"$os_win32" = xyes; then
 
32259
  have_xjt="no (not built on Windows)"
 
32260
else
 
32261
  have_xjt=yes
 
32262
fi
33364
32263
 
33365
32264
 
33366
32265
################
33367
32266
# Check for libz
33368
32267
################
33369
32268
 
 
32269
have_zlib=yes
33370
32270
if test -z "$LIBZ"; then
33371
32271
  { echo "$as_me:$LINENO: checking for gzsetparams in -lz" >&5
33372
32272
echo $ECHO_N "checking for gzsetparams in -lz... $ECHO_C" >&6; }
33410
32310
  rm -f conftest.er1
33411
32311
  cat conftest.err >&5
33412
32312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413
 
  (exit $ac_status); } &&
33414
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33415
 
  { (case "(($ac_try" in
33416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33417
 
  *) ac_try_echo=$ac_try;;
33418
 
esac
33419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33420
 
  (eval "$ac_try") 2>&5
33421
 
  ac_status=$?
33422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423
 
  (exit $ac_status); }; } &&
33424
 
         { ac_try='test -s conftest$ac_exeext'
33425
 
  { (case "(($ac_try" in
33426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33427
 
  *) ac_try_echo=$ac_try;;
33428
 
esac
33429
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33430
 
  (eval "$ac_try") 2>&5
33431
 
  ac_status=$?
33432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433
 
  (exit $ac_status); }; }; then
 
32313
  (exit $ac_status); } && {
 
32314
         test -z "$ac_c_werror_flag" ||
 
32315
         test ! -s conftest.err
 
32316
       } && test -s conftest$ac_exeext &&
 
32317
       $as_test_x conftest$ac_exeext; then
33434
32318
  ac_cv_lib_z_gzsetparams=yes
33435
32319
else
33436
32320
  echo "$as_me: failed program was:" >&5
33439
32323
        ac_cv_lib_z_gzsetparams=no
33440
32324
fi
33441
32325
 
33442
 
rm -f core conftest.err conftest.$ac_objext \
 
32326
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33443
32327
      conftest$ac_exeext conftest.$ac_ext
33444
32328
LIBS=$ac_check_lib_save_LIBS
33445
32329
fi
33480
32364
  rm -f conftest.er1
33481
32365
  cat conftest.err >&5
33482
32366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483
 
  (exit $ac_status); } &&
33484
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33485
 
  { (case "(($ac_try" in
33486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33487
 
  *) ac_try_echo=$ac_try;;
33488
 
esac
33489
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33490
 
  (eval "$ac_try") 2>&5
33491
 
  ac_status=$?
33492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493
 
  (exit $ac_status); }; } &&
33494
 
         { ac_try='test -s conftest.$ac_objext'
33495
 
  { (case "(($ac_try" in
33496
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33497
 
  *) ac_try_echo=$ac_try;;
33498
 
esac
33499
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33500
 
  (eval "$ac_try") 2>&5
33501
 
  ac_status=$?
33502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503
 
  (exit $ac_status); }; }; then
 
32367
  (exit $ac_status); } && {
 
32368
         test -z "$ac_c_werror_flag" ||
 
32369
         test ! -s conftest.err
 
32370
       } && test -s conftest.$ac_objext; then
33504
32371
  ac_header_compiler=yes
33505
32372
else
33506
32373
  echo "$as_me: failed program was:" >&5
33536
32403
  rm -f conftest.er1
33537
32404
  cat conftest.err >&5
33538
32405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539
 
  (exit $ac_status); } >/dev/null; then
33540
 
  if test -s conftest.err; then
33541
 
    ac_cpp_err=$ac_c_preproc_warn_flag
33542
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33543
 
  else
33544
 
    ac_cpp_err=
33545
 
  fi
33546
 
else
33547
 
  ac_cpp_err=yes
33548
 
fi
33549
 
if test -z "$ac_cpp_err"; then
 
32406
  (exit $ac_status); } >/dev/null && {
 
32407
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
32408
         test ! -s conftest.err
 
32409
       }; then
33550
32410
  ac_header_preproc=yes
33551
32411
else
33552
32412
  echo "$as_me: failed program was:" >&5
33603
32463
if test $ac_cv_header_zlib_h = yes; then
33604
32464
  PSP='psp$(EXEEXT)'; LIBZ='-lz'
33605
32465
else
33606
 
  { echo "$as_me:$LINENO: WARNING: *** PSP and PNG plug-ins will not be built (ZLIB header files not found) ***" >&5
33607
 
echo "$as_me: WARNING: *** PSP and PNG plug-ins will not be built (ZLIB header files not found) ***" >&2;}
 
32466
  have_zlib="no (ZLIB header files not found)"
33608
32467
fi
33609
32468
 
33610
32469
 
33611
32470
else
33612
 
  { echo "$as_me:$LINENO: WARNING: *** PSP and PNG plug-ins will not be built (ZLIB library not found) ***" >&5
33613
 
echo "$as_me: WARNING: *** PSP and PNG plug-ins will not be built (ZLIB library not found) ***" >&2;}
 
32471
  have_zlib="no (ZLIB library not found)"
33614
32472
fi
33615
32473
 
33616
32474
fi
33623
32481
# Check for libpng
33624
32482
##################
33625
32483
 
 
32484
have_libpng=no
33626
32485
 
33627
32486
# Check whether --with-libpng was given.
33628
32487
if test "${with_libpng+set}" = set; then
33629
32488
  withval=$with_libpng;
33630
32489
fi
33631
32490
 
33632
 
  if test x$with_libpng != xno && test -z "$LIBPNG" && test -n "$LIBZ"; then
33633
 
    { echo "$as_me:$LINENO: checking for png_read_info in -lpng" >&5
33634
 
echo $ECHO_N "checking for png_read_info in -lpng... $ECHO_C" >&6; }
33635
 
if test "${ac_cv_lib_png_png_read_info+set}" = set; then
33636
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33637
 
else
33638
 
  ac_check_lib_save_LIBS=$LIBS
33639
 
LIBS="-lpng -lz -lm $LIBS"
33640
 
cat >conftest.$ac_ext <<_ACEOF
33641
 
/* confdefs.h.  */
33642
 
_ACEOF
33643
 
cat confdefs.h >>conftest.$ac_ext
33644
 
cat >>conftest.$ac_ext <<_ACEOF
33645
 
/* end confdefs.h.  */
33646
 
 
33647
 
/* Override any GCC internal prototype to avoid an error.
33648
 
   Use char because int might match the return type of a GCC
33649
 
   builtin and then its argument prototype would still apply.  */
33650
 
#ifdef __cplusplus
33651
 
extern "C"
33652
 
#endif
33653
 
char png_read_info ();
33654
 
int
33655
 
main ()
33656
 
{
33657
 
return png_read_info ();
33658
 
  ;
33659
 
  return 0;
33660
 
}
33661
 
_ACEOF
33662
 
rm -f conftest.$ac_objext conftest$ac_exeext
33663
 
if { (ac_try="$ac_link"
33664
 
case "(($ac_try" in
33665
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33666
 
  *) ac_try_echo=$ac_try;;
33667
 
esac
33668
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33669
 
  (eval "$ac_link") 2>conftest.er1
33670
 
  ac_status=$?
33671
 
  grep -v '^ *+' conftest.er1 >conftest.err
33672
 
  rm -f conftest.er1
33673
 
  cat conftest.err >&5
33674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675
 
  (exit $ac_status); } &&
33676
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33677
 
  { (case "(($ac_try" in
33678
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33679
 
  *) ac_try_echo=$ac_try;;
33680
 
esac
33681
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33682
 
  (eval "$ac_try") 2>&5
33683
 
  ac_status=$?
33684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685
 
  (exit $ac_status); }; } &&
33686
 
         { ac_try='test -s conftest$ac_exeext'
33687
 
  { (case "(($ac_try" in
33688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33689
 
  *) ac_try_echo=$ac_try;;
33690
 
esac
33691
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33692
 
  (eval "$ac_try") 2>&5
33693
 
  ac_status=$?
33694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695
 
  (exit $ac_status); }; }; then
33696
 
  ac_cv_lib_png_png_read_info=yes
33697
 
else
33698
 
  echo "$as_me: failed program was:" >&5
33699
 
sed 's/^/| /' conftest.$ac_ext >&5
33700
 
 
33701
 
        ac_cv_lib_png_png_read_info=no
33702
 
fi
33703
 
 
33704
 
rm -f core conftest.err conftest.$ac_objext \
33705
 
      conftest$ac_exeext conftest.$ac_ext
33706
 
LIBS=$ac_check_lib_save_LIBS
33707
 
fi
33708
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_read_info" >&5
33709
 
echo "${ECHO_T}$ac_cv_lib_png_png_read_info" >&6; }
33710
 
if test $ac_cv_lib_png_png_read_info = yes; then
33711
 
  if test "${ac_cv_header_png_h+set}" = set; then
33712
 
  { echo "$as_me:$LINENO: checking for png.h" >&5
33713
 
echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
33714
 
if test "${ac_cv_header_png_h+set}" = set; then
33715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33716
 
fi
33717
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
33718
 
echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
33719
 
else
33720
 
  # Is the header compilable?
33721
 
{ echo "$as_me:$LINENO: checking png.h usability" >&5
33722
 
echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
33723
 
cat >conftest.$ac_ext <<_ACEOF
33724
 
/* confdefs.h.  */
33725
 
_ACEOF
33726
 
cat confdefs.h >>conftest.$ac_ext
33727
 
cat >>conftest.$ac_ext <<_ACEOF
33728
 
/* end confdefs.h.  */
33729
 
$ac_includes_default
33730
 
#include <png.h>
33731
 
_ACEOF
33732
 
rm -f conftest.$ac_objext
33733
 
if { (ac_try="$ac_compile"
33734
 
case "(($ac_try" in
33735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33736
 
  *) ac_try_echo=$ac_try;;
33737
 
esac
33738
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33739
 
  (eval "$ac_compile") 2>conftest.er1
33740
 
  ac_status=$?
33741
 
  grep -v '^ *+' conftest.er1 >conftest.err
33742
 
  rm -f conftest.er1
33743
 
  cat conftest.err >&5
33744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745
 
  (exit $ac_status); } &&
33746
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33747
 
  { (case "(($ac_try" in
33748
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33749
 
  *) ac_try_echo=$ac_try;;
33750
 
esac
33751
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33752
 
  (eval "$ac_try") 2>&5
33753
 
  ac_status=$?
33754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755
 
  (exit $ac_status); }; } &&
33756
 
         { ac_try='test -s conftest.$ac_objext'
33757
 
  { (case "(($ac_try" in
33758
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33759
 
  *) ac_try_echo=$ac_try;;
33760
 
esac
33761
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33762
 
  (eval "$ac_try") 2>&5
33763
 
  ac_status=$?
33764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765
 
  (exit $ac_status); }; }; then
33766
 
  ac_header_compiler=yes
33767
 
else
33768
 
  echo "$as_me: failed program was:" >&5
33769
 
sed 's/^/| /' conftest.$ac_ext >&5
33770
 
 
33771
 
        ac_header_compiler=no
33772
 
fi
33773
 
 
33774
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33775
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33776
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
33777
 
 
33778
 
# Is the header present?
33779
 
{ echo "$as_me:$LINENO: checking png.h presence" >&5
33780
 
echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
33781
 
cat >conftest.$ac_ext <<_ACEOF
33782
 
/* confdefs.h.  */
33783
 
_ACEOF
33784
 
cat confdefs.h >>conftest.$ac_ext
33785
 
cat >>conftest.$ac_ext <<_ACEOF
33786
 
/* end confdefs.h.  */
33787
 
#include <png.h>
33788
 
_ACEOF
33789
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
33790
 
case "(($ac_try" in
33791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33792
 
  *) ac_try_echo=$ac_try;;
33793
 
esac
33794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33795
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33796
 
  ac_status=$?
33797
 
  grep -v '^ *+' conftest.er1 >conftest.err
33798
 
  rm -f conftest.er1
33799
 
  cat conftest.err >&5
33800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801
 
  (exit $ac_status); } >/dev/null; then
33802
 
  if test -s conftest.err; then
33803
 
    ac_cpp_err=$ac_c_preproc_warn_flag
33804
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33805
 
  else
33806
 
    ac_cpp_err=
33807
 
  fi
33808
 
else
33809
 
  ac_cpp_err=yes
33810
 
fi
33811
 
if test -z "$ac_cpp_err"; then
33812
 
  ac_header_preproc=yes
33813
 
else
33814
 
  echo "$as_me: failed program was:" >&5
33815
 
sed 's/^/| /' conftest.$ac_ext >&5
33816
 
 
33817
 
  ac_header_preproc=no
33818
 
fi
33819
 
 
33820
 
rm -f conftest.err conftest.$ac_ext
33821
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33822
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
33823
 
 
33824
 
# So?  What about this header?
33825
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33826
 
  yes:no: )
33827
 
    { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
33828
 
echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33829
 
    { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
33830
 
echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
33831
 
    ac_header_preproc=yes
33832
 
    ;;
33833
 
  no:yes:* )
33834
 
    { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
33835
 
echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
33836
 
    { echo "$as_me:$LINENO: WARNING: png.h:     check for missing prerequisite headers?" >&5
33837
 
echo "$as_me: WARNING: png.h:     check for missing prerequisite headers?" >&2;}
33838
 
    { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
33839
 
echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
33840
 
    { echo "$as_me:$LINENO: WARNING: png.h:     section \"Present But Cannot Be Compiled\"" >&5
33841
 
echo "$as_me: WARNING: png.h:     section \"Present But Cannot Be Compiled\"" >&2;}
33842
 
    { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
33843
 
echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
33844
 
    { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
33845
 
echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
33846
 
    ( cat <<\_ASBOX
33847
 
## ------------------------------------------------------------------- ##
33848
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
33849
 
## ------------------------------------------------------------------- ##
33850
 
_ASBOX
33851
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
33852
 
    ;;
33853
 
esac
33854
 
{ echo "$as_me:$LINENO: checking for png.h" >&5
33855
 
echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
33856
 
if test "${ac_cv_header_png_h+set}" = set; then
33857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33858
 
else
33859
 
  ac_cv_header_png_h=$ac_header_preproc
33860
 
fi
33861
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
33862
 
echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
33863
 
 
33864
 
fi
33865
 
if test $ac_cv_header_png_h = yes; then
33866
 
  png_ok=yes
33867
 
else
33868
 
  png_ok=no
33869
 
fi
33870
 
 
33871
 
 
33872
 
else
33873
 
  { echo "$as_me:$LINENO: WARNING: *** PNG plug-in will not be built (PNG library not found) ***" >&5
33874
 
echo "$as_me: WARNING: *** PNG plug-in will not be built (PNG library not found) ***" >&2;}
33875
 
fi
33876
 
 
33877
 
    if test "$png_ok" = yes; then
33878
 
      { echo "$as_me:$LINENO: checking for png_structp in png.h" >&5
33879
 
echo $ECHO_N "checking for png_structp in png.h... $ECHO_C" >&6; }
33880
 
      cat >conftest.$ac_ext <<_ACEOF
33881
 
/* confdefs.h.  */
33882
 
_ACEOF
33883
 
cat confdefs.h >>conftest.$ac_ext
33884
 
cat >>conftest.$ac_ext <<_ACEOF
33885
 
/* end confdefs.h.  */
33886
 
#include <png.h>
33887
 
int
33888
 
main ()
33889
 
{
33890
 
png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
33891
 
  ;
33892
 
  return 0;
33893
 
}
33894
 
_ACEOF
33895
 
rm -f conftest.$ac_objext
33896
 
if { (ac_try="$ac_compile"
33897
 
case "(($ac_try" in
33898
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33899
 
  *) ac_try_echo=$ac_try;;
33900
 
esac
33901
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33902
 
  (eval "$ac_compile") 2>conftest.er1
33903
 
  ac_status=$?
33904
 
  grep -v '^ *+' conftest.er1 >conftest.err
33905
 
  rm -f conftest.er1
33906
 
  cat conftest.err >&5
33907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908
 
  (exit $ac_status); } &&
33909
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33910
 
  { (case "(($ac_try" in
33911
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33912
 
  *) ac_try_echo=$ac_try;;
33913
 
esac
33914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33915
 
  (eval "$ac_try") 2>&5
33916
 
  ac_status=$?
33917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918
 
  (exit $ac_status); }; } &&
33919
 
         { ac_try='test -s conftest.$ac_objext'
33920
 
  { (case "(($ac_try" in
33921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33922
 
  *) ac_try_echo=$ac_try;;
33923
 
esac
33924
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33925
 
  (eval "$ac_try") 2>&5
33926
 
  ac_status=$?
33927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928
 
  (exit $ac_status); }; }; then
33929
 
  png_ok=yes
33930
 
else
33931
 
  echo "$as_me: failed program was:" >&5
33932
 
sed 's/^/| /' conftest.$ac_ext >&5
33933
 
 
33934
 
        png_ok=no
33935
 
fi
33936
 
 
33937
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33938
 
      { echo "$as_me:$LINENO: result: $png_ok" >&5
33939
 
echo "${ECHO_T}$png_ok" >&6; }
33940
 
      if test "$png_ok" = yes; then
33941
 
        PNG='png$(EXEEXT)'; LIBPNG="-lpng $LIBZ"
33942
 
      else
33943
 
        { echo "$as_me:$LINENO: WARNING: *** PNG plug-in will not be built (PNG library is too old) ***" >&5
33944
 
echo "$as_me: WARNING: *** PNG plug-in will not be built (PNG library is too old) ***" >&2;}
33945
 
      fi
33946
 
    else
33947
 
      { echo "$as_me:$LINENO: WARNING: *** PNG plug-in will not be built (PNG header file not found) ***" >&5
33948
 
echo "$as_me: WARNING: *** PNG plug-in will not be built (PNG header file not found) ***" >&2;}
33949
 
    fi
33950
 
  fi
33951
 
 
33952
 
  if test x$with_libpng != xno && test -z "$LIBPNG"; then
33953
 
     { { echo "$as_me:$LINENO: error:
33954
 
*** Checks for PNG library failed. You can build without it by passing
33955
 
*** --without-libpng to configure but you won't be able to use PNGs then." >&5
33956
 
echo "$as_me: error:
33957
 
*** Checks for PNG library failed. You can build without it by passing
33958
 
*** --without-libpng to configure but you won't be able to use PNGs then." >&2;}
33959
 
   { (exit 1); exit 1; }; }
33960
 
  fi
33961
 
 
33962
 
 
 
32491
if test x$with_libpng != xno; then
 
32492
  have_libpng=yes
 
32493
 
 
32494
pkg_failed=no
 
32495
{ echo "$as_me:$LINENO: checking for PNG" >&5
 
32496
echo $ECHO_N "checking for PNG... $ECHO_C" >&6; }
 
32497
 
 
32498
if test -n "$PKG_CONFIG"; then
 
32499
    if test -n "$PNG_CFLAGS"; then
 
32500
        pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
 
32501
    else
 
32502
        if test -n "$PKG_CONFIG" && \
 
32503
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5
 
32504
  ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
 
32505
  ac_status=$?
 
32506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32507
  (exit $ac_status); }; then
 
32508
  pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
 
32509
else
 
32510
  pkg_failed=yes
 
32511
fi
 
32512
    fi
 
32513
else
 
32514
        pkg_failed=untried
 
32515
fi
 
32516
if test -n "$PKG_CONFIG"; then
 
32517
    if test -n "$PNG_LIBS"; then
 
32518
        pkg_cv_PNG_LIBS="$PNG_LIBS"
 
32519
    else
 
32520
        if test -n "$PKG_CONFIG" && \
 
32521
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5
 
32522
  ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
 
32523
  ac_status=$?
 
32524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
32525
  (exit $ac_status); }; then
 
32526
  pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
 
32527
else
 
32528
  pkg_failed=yes
 
32529
fi
 
32530
    fi
 
32531
else
 
32532
        pkg_failed=untried
 
32533
fi
 
32534
 
 
32535
 
 
32536
 
 
32537
if test $pkg_failed = yes; then
 
32538
 
 
32539
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
32540
        _pkg_short_errors_supported=yes
 
32541
else
 
32542
        _pkg_short_errors_supported=no
 
32543
fi
 
32544
        if test $_pkg_short_errors_supported = yes; then
 
32545
                PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng"`
 
32546
        else
 
32547
                PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng"`
 
32548
        fi
 
32549
        # Put the nasty error message in config.log where it belongs
 
32550
        echo "$PNG_PKG_ERRORS" >&5
 
32551
 
 
32552
        { echo "$as_me:$LINENO: result: no" >&5
 
32553
echo "${ECHO_T}no" >&6; }
 
32554
                have_libpng="no (libpng not found)"
 
32555
     { { echo "$as_me:$LINENO: error:
 
32556
*** Checks for PNG library failed. You can build without it by passing
 
32557
*** --without-libpng to configure but you won't be able to use PNGs then." >&5
 
32558
echo "$as_me: error:
 
32559
*** Checks for PNG library failed. You can build without it by passing
 
32560
*** --without-libpng to configure but you won't be able to use PNGs then." >&2;}
 
32561
   { (exit 1); exit 1; }; }
 
32562
elif test $pkg_failed = untried; then
 
32563
        have_libpng="no (libpng not found)"
 
32564
     { { echo "$as_me:$LINENO: error:
 
32565
*** Checks for PNG library failed. You can build without it by passing
 
32566
*** --without-libpng to configure but you won't be able to use PNGs then." >&5
 
32567
echo "$as_me: error:
 
32568
*** Checks for PNG library failed. You can build without it by passing
 
32569
*** --without-libpng to configure but you won't be able to use PNGs then." >&2;}
 
32570
   { (exit 1); exit 1; }; }
 
32571
else
 
32572
        PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
 
32573
        PNG_LIBS=$pkg_cv_PNG_LIBS
 
32574
        { echo "$as_me:$LINENO: result: yes" >&5
 
32575
echo "${ECHO_T}yes" >&6; }
 
32576
        PNG='png$(EXEEXT)'
 
32577
    LIBPNG="$PNG_LIBS"
 
32578
fi
 
32579
fi
 
32580
 
 
32581
 
 
32582
 
 
32583
 
 
32584
 
 
32585
 
 
32586
if test x$have_libpng = xyes; then
 
32587
  HAVE_PNG_TRUE=
 
32588
  HAVE_PNG_FALSE='#'
 
32589
else
 
32590
  HAVE_PNG_TRUE='#'
 
32591
  HAVE_PNG_FALSE=
 
32592
fi
33963
32593
 
33964
32594
 
33965
32595
 
33967
32597
# Check for libmng
33968
32598
##################
33969
32599
 
 
32600
have_libmng=no
33970
32601
 
33971
32602
# Check whether --with-libmng was given.
33972
32603
if test "${with_libmng+set}" = set; then
33973
32604
  withval=$with_libmng;
33974
32605
fi
33975
32606
 
 
32607
  have_libmng=yes
33976
32608
  if test x$with_libmng != xno && test -z "$LIBMNG" &&
33977
32609
     test -n "$LIBPNG" && test -n "$LIBJPEG" && test -n "$LIBZ"; then
33978
32610
    { echo "$as_me:$LINENO: checking for mng_create in -lmng" >&5
34017
32649
  rm -f conftest.er1
34018
32650
  cat conftest.err >&5
34019
32651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020
 
  (exit $ac_status); } &&
34021
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34022
 
  { (case "(($ac_try" in
34023
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024
 
  *) ac_try_echo=$ac_try;;
34025
 
esac
34026
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027
 
  (eval "$ac_try") 2>&5
34028
 
  ac_status=$?
34029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030
 
  (exit $ac_status); }; } &&
34031
 
         { ac_try='test -s conftest$ac_exeext'
34032
 
  { (case "(($ac_try" in
34033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34034
 
  *) ac_try_echo=$ac_try;;
34035
 
esac
34036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34037
 
  (eval "$ac_try") 2>&5
34038
 
  ac_status=$?
34039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040
 
  (exit $ac_status); }; }; then
 
32652
  (exit $ac_status); } && {
 
32653
         test -z "$ac_c_werror_flag" ||
 
32654
         test ! -s conftest.err
 
32655
       } && test -s conftest$ac_exeext &&
 
32656
       $as_test_x conftest$ac_exeext; then
34041
32657
  ac_cv_lib_mng_mng_create=yes
34042
32658
else
34043
32659
  echo "$as_me: failed program was:" >&5
34046
32662
        ac_cv_lib_mng_mng_create=no
34047
32663
fi
34048
32664
 
34049
 
rm -f core conftest.err conftest.$ac_objext \
 
32665
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34050
32666
      conftest$ac_exeext conftest.$ac_ext
34051
32667
LIBS=$ac_check_lib_save_LIBS
34052
32668
fi
34087
32703
  rm -f conftest.er1
34088
32704
  cat conftest.err >&5
34089
32705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090
 
  (exit $ac_status); } &&
34091
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34092
 
  { (case "(($ac_try" in
34093
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34094
 
  *) ac_try_echo=$ac_try;;
34095
 
esac
34096
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34097
 
  (eval "$ac_try") 2>&5
34098
 
  ac_status=$?
34099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100
 
  (exit $ac_status); }; } &&
34101
 
         { ac_try='test -s conftest.$ac_objext'
34102
 
  { (case "(($ac_try" in
34103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34104
 
  *) ac_try_echo=$ac_try;;
34105
 
esac
34106
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34107
 
  (eval "$ac_try") 2>&5
34108
 
  ac_status=$?
34109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110
 
  (exit $ac_status); }; }; then
 
32706
  (exit $ac_status); } && {
 
32707
         test -z "$ac_c_werror_flag" ||
 
32708
         test ! -s conftest.err
 
32709
       } && test -s conftest.$ac_objext; then
34111
32710
  ac_header_compiler=yes
34112
32711
else
34113
32712
  echo "$as_me: failed program was:" >&5
34143
32742
  rm -f conftest.er1
34144
32743
  cat conftest.err >&5
34145
32744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146
 
  (exit $ac_status); } >/dev/null; then
34147
 
  if test -s conftest.err; then
34148
 
    ac_cpp_err=$ac_c_preproc_warn_flag
34149
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34150
 
  else
34151
 
    ac_cpp_err=
34152
 
  fi
34153
 
else
34154
 
  ac_cpp_err=yes
34155
 
fi
34156
 
if test -z "$ac_cpp_err"; then
 
32745
  (exit $ac_status); } >/dev/null && {
 
32746
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
32747
         test ! -s conftest.err
 
32748
       }; then
34157
32749
  ac_header_preproc=yes
34158
32750
else
34159
32751
  echo "$as_me: failed program was:" >&5
34213
32805
 
34214
32806
 
34215
32807
else
34216
 
  { echo "$as_me:$LINENO: WARNING: *** MNG plug-in will not be built (MNG library not found) ***" >&5
34217
 
echo "$as_me: WARNING: *** MNG plug-in will not be built (MNG library not found) ***" >&2;}
 
32808
  have_libmng="no (MNG library not found)"
34218
32809
fi
34219
32810
 
34220
32811
    if test "$mng_ok" = yes; then
34221
32812
      MNG='mng$(EXEEXT)'; LIBMNG="-lmng $LIBJPEG $LIBPNG"
34222
32813
    else
34223
 
      { echo "$as_me:$LINENO: WARNING: *** MNG plug-in will not be built (MNG header file not found) ***" >&5
34224
 
echo "$as_me: WARNING: *** MNG plug-in will not be built (MNG header file not found) ***" >&2;}
 
32814
      have_libmng="no (MNG header file not found)"
34225
32815
    fi
34226
32816
  fi
34227
32817
 
34235
32825
# avoid destruction, but no data modification is performed.
34236
32826
############################################################
34237
32827
 
 
32828
have_libexif=no
34238
32829
 
34239
32830
# Check whether --with-libexif was given.
34240
32831
if test "${with_libexif+set}" = set; then
34242
32833
fi
34243
32834
 
34244
32835
if test x$with_libexif != xno && test -z "$LIBEXIF" && test -n "$LIBJPEG"; then
 
32836
  have_libexif=yes
34245
32837
 
34246
32838
pkg_failed=no
34247
32839
{ echo "$as_me:$LINENO: checking for EXIF" >&5
34301
32893
        # Put the nasty error message in config.log where it belongs
34302
32894
        echo "$EXIF_PKG_ERRORS" >&5
34303
32895
 
34304
 
        { echo "$as_me:$LINENO: WARNING: libexif not found!
34305
 
EXIF support will not be built into the JPEG plug-in.
34306
 
libexif is available from http://www.sourceforge.net/projects/libexif" >&5
34307
 
echo "$as_me: WARNING: libexif not found!
34308
 
EXIF support will not be built into the JPEG plug-in.
34309
 
libexif is available from http://www.sourceforge.net/projects/libexif" >&2;}
 
32896
        { echo "$as_me:$LINENO: result: no" >&5
 
32897
echo "${ECHO_T}no" >&6; }
 
32898
                have_libexif="no (libexif not found)"
34310
32899
elif test $pkg_failed = untried; then
34311
 
        { echo "$as_me:$LINENO: WARNING: libexif not found!
34312
 
EXIF support will not be built into the JPEG plug-in.
34313
 
libexif is available from http://www.sourceforge.net/projects/libexif" >&5
34314
 
echo "$as_me: WARNING: libexif not found!
34315
 
EXIF support will not be built into the JPEG plug-in.
34316
 
libexif is available from http://www.sourceforge.net/projects/libexif" >&2;}
 
32900
        have_libexif="no (libexif not found)"
34317
32901
else
34318
32902
        EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS
34319
32903
        EXIF_LIBS=$pkg_cv_EXIF_LIBS
34325
32909
_ACEOF
34326
32910
 
34327
32911
fi
 
32912
  { echo "$as_me:$LINENO: checking if libexif is version 0.6.0 or newer" >&5
 
32913
echo $ECHO_N "checking if libexif is version 0.6.0 or newer... $ECHO_C" >&6; }
 
32914
  if $PKG_CONFIG --atleast-version=0.6.0 libexif; then
 
32915
    have_exif_0_6=yes
 
32916
  else
 
32917
    have_exif_0_6=no
 
32918
  fi
 
32919
  { echo "$as_me:$LINENO: result: $have_exif_0_6" >&5
 
32920
echo "${ECHO_T}$have_exif_0_6" >&6; }
 
32921
  if test x$have_exif_0_6 == xyes; then
 
32922
 
 
32923
cat >>confdefs.h <<\_ACEOF
 
32924
#define HAVE_EXIF_0_6 1
 
32925
_ACEOF
 
32926
 
 
32927
  fi
34328
32928
fi
34329
32929
 
34330
32930
 
34331
32931
 
34332
32932
 
 
32933
 
34333
32934
#################
34334
32935
# Check for libaa
34335
32936
#################
34336
32937
 
34337
32938
 
 
32939
have_libaa=no
34338
32940
 
34339
32941
# Check whether --with-aa was given.
34340
32942
if test "${with_aa+set}" = set; then
34342
32944
fi
34343
32945
 
34344
32946
if test x$with_aa != xno && test -z "$LIBAA"; then
 
32947
  have_libaa=yes
34345
32948
  { echo "$as_me:$LINENO: checking for aa_printf in -laa" >&5
34346
32949
echo $ECHO_N "checking for aa_printf in -laa... $ECHO_C" >&6; }
34347
32950
if test "${ac_cv_lib_aa_aa_printf+set}" = set; then
34384
32987
  rm -f conftest.er1
34385
32988
  cat conftest.err >&5
34386
32989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34387
 
  (exit $ac_status); } &&
34388
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34389
 
  { (case "(($ac_try" in
34390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34391
 
  *) ac_try_echo=$ac_try;;
34392
 
esac
34393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34394
 
  (eval "$ac_try") 2>&5
34395
 
  ac_status=$?
34396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397
 
  (exit $ac_status); }; } &&
34398
 
         { ac_try='test -s conftest$ac_exeext'
34399
 
  { (case "(($ac_try" in
34400
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34401
 
  *) ac_try_echo=$ac_try;;
34402
 
esac
34403
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34404
 
  (eval "$ac_try") 2>&5
34405
 
  ac_status=$?
34406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407
 
  (exit $ac_status); }; }; then
 
32990
  (exit $ac_status); } && {
 
32991
         test -z "$ac_c_werror_flag" ||
 
32992
         test ! -s conftest.err
 
32993
       } && test -s conftest$ac_exeext &&
 
32994
       $as_test_x conftest$ac_exeext; then
34408
32995
  ac_cv_lib_aa_aa_printf=yes
34409
32996
else
34410
32997
  echo "$as_me: failed program was:" >&5
34413
33000
        ac_cv_lib_aa_aa_printf=no
34414
33001
fi
34415
33002
 
34416
 
rm -f core conftest.err conftest.$ac_objext \
 
33003
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34417
33004
      conftest$ac_exeext conftest.$ac_ext
34418
33005
LIBS=$ac_check_lib_save_LIBS
34419
33006
fi
34454
33041
  rm -f conftest.er1
34455
33042
  cat conftest.err >&5
34456
33043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457
 
  (exit $ac_status); } &&
34458
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34459
 
  { (case "(($ac_try" in
34460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34461
 
  *) ac_try_echo=$ac_try;;
34462
 
esac
34463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464
 
  (eval "$ac_try") 2>&5
34465
 
  ac_status=$?
34466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467
 
  (exit $ac_status); }; } &&
34468
 
         { ac_try='test -s conftest.$ac_objext'
34469
 
  { (case "(($ac_try" in
34470
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34471
 
  *) ac_try_echo=$ac_try;;
34472
 
esac
34473
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34474
 
  (eval "$ac_try") 2>&5
34475
 
  ac_status=$?
34476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477
 
  (exit $ac_status); }; }; then
 
33044
  (exit $ac_status); } && {
 
33045
         test -z "$ac_c_werror_flag" ||
 
33046
         test ! -s conftest.err
 
33047
       } && test -s conftest.$ac_objext; then
34478
33048
  ac_header_compiler=yes
34479
33049
else
34480
33050
  echo "$as_me: failed program was:" >&5
34510
33080
  rm -f conftest.er1
34511
33081
  cat conftest.err >&5
34512
33082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513
 
  (exit $ac_status); } >/dev/null; then
34514
 
  if test -s conftest.err; then
34515
 
    ac_cpp_err=$ac_c_preproc_warn_flag
34516
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34517
 
  else
34518
 
    ac_cpp_err=
34519
 
  fi
34520
 
else
34521
 
  ac_cpp_err=yes
34522
 
fi
34523
 
if test -z "$ac_cpp_err"; then
 
33083
  (exit $ac_status); } >/dev/null && {
 
33084
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
33085
         test ! -s conftest.err
 
33086
       }; then
34524
33087
  ac_header_preproc=yes
34525
33088
else
34526
33089
  echo "$as_me: failed program was:" >&5
34577
33140
if test $ac_cv_header_aalib_h = yes; then
34578
33141
  AA='aa$(EXEEXT)'; LIBAA='-laa'
34579
33142
else
34580
 
  { echo "$as_me:$LINENO: WARNING: *** AA plug-in will not be built (AA header file not found) ***" >&5
34581
 
echo "$as_me: WARNING: *** AA plug-in will not be built (AA header file not found) ***" >&2;}
 
33143
  have_libaa="no (AA header file not found)"
34582
33144
fi
34583
33145
 
34584
33146
 
34585
33147
else
34586
 
  { echo "$as_me:$LINENO: WARNING: *** AA plug-in will not be built (AA library not found) ***" >&5
34587
 
echo "$as_me: WARNING: *** AA plug-in will not be built (AA library not found) ***" >&2;}
 
33148
  have_libaa="no (AA library not found)"
34588
33149
fi
34589
33150
 
34590
33151
fi
34604
33165
if test "$gdk_target" = x11; then
34605
33166
  lib_X11=-lX11
34606
33167
fi
 
33168
have_libxpm=yes
34607
33169
if test -z "$LIBXPM"; then
34608
33170
  { echo "$as_me:$LINENO: checking for XpmReadFileToXpmImage in -lXpm" >&5
34609
33171
echo $ECHO_N "checking for XpmReadFileToXpmImage in -lXpm... $ECHO_C" >&6; }
34647
33209
  rm -f conftest.er1
34648
33210
  cat conftest.err >&5
34649
33211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34650
 
  (exit $ac_status); } &&
34651
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34652
 
  { (case "(($ac_try" in
34653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34654
 
  *) ac_try_echo=$ac_try;;
34655
 
esac
34656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34657
 
  (eval "$ac_try") 2>&5
34658
 
  ac_status=$?
34659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660
 
  (exit $ac_status); }; } &&
34661
 
         { ac_try='test -s conftest$ac_exeext'
34662
 
  { (case "(($ac_try" in
34663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34664
 
  *) ac_try_echo=$ac_try;;
34665
 
esac
34666
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34667
 
  (eval "$ac_try") 2>&5
34668
 
  ac_status=$?
34669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670
 
  (exit $ac_status); }; }; then
 
33212
  (exit $ac_status); } && {
 
33213
         test -z "$ac_c_werror_flag" ||
 
33214
         test ! -s conftest.err
 
33215
       } && test -s conftest$ac_exeext &&
 
33216
       $as_test_x conftest$ac_exeext; then
34671
33217
  ac_cv_lib_Xpm_XpmReadFileToXpmImage=yes
34672
33218
else
34673
33219
  echo "$as_me: failed program was:" >&5
34676
33222
        ac_cv_lib_Xpm_XpmReadFileToXpmImage=no
34677
33223
fi
34678
33224
 
34679
 
rm -f core conftest.err conftest.$ac_objext \
 
33225
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34680
33226
      conftest$ac_exeext conftest.$ac_ext
34681
33227
LIBS=$ac_check_lib_save_LIBS
34682
33228
fi
34717
33263
  rm -f conftest.er1
34718
33264
  cat conftest.err >&5
34719
33265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720
 
  (exit $ac_status); } &&
34721
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34722
 
  { (case "(($ac_try" in
34723
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34724
 
  *) ac_try_echo=$ac_try;;
34725
 
esac
34726
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34727
 
  (eval "$ac_try") 2>&5
34728
 
  ac_status=$?
34729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730
 
  (exit $ac_status); }; } &&
34731
 
         { ac_try='test -s conftest.$ac_objext'
34732
 
  { (case "(($ac_try" in
34733
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34734
 
  *) ac_try_echo=$ac_try;;
34735
 
esac
34736
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34737
 
  (eval "$ac_try") 2>&5
34738
 
  ac_status=$?
34739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740
 
  (exit $ac_status); }; }; then
 
33266
  (exit $ac_status); } && {
 
33267
         test -z "$ac_c_werror_flag" ||
 
33268
         test ! -s conftest.err
 
33269
       } && test -s conftest.$ac_objext; then
34741
33270
  ac_header_compiler=yes
34742
33271
else
34743
33272
  echo "$as_me: failed program was:" >&5
34773
33302
  rm -f conftest.er1
34774
33303
  cat conftest.err >&5
34775
33304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776
 
  (exit $ac_status); } >/dev/null; then
34777
 
  if test -s conftest.err; then
34778
 
    ac_cpp_err=$ac_c_preproc_warn_flag
34779
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34780
 
  else
34781
 
    ac_cpp_err=
34782
 
  fi
34783
 
else
34784
 
  ac_cpp_err=yes
34785
 
fi
34786
 
if test -z "$ac_cpp_err"; then
 
33305
  (exit $ac_status); } >/dev/null && {
 
33306
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
33307
         test ! -s conftest.err
 
33308
       }; then
34787
33309
  ac_header_preproc=yes
34788
33310
else
34789
33311
  echo "$as_me: failed program was:" >&5
34840
33362
if test $ac_cv_header_X11_xpm_h = yes; then
34841
33363
  XPM='xpm$(EXEEXT)'; LIBXPM="$X_LIBS $X_PRE_LIBS $lib_X11 -lXpm"
34842
33364
else
34843
 
  { echo "$as_me:$LINENO: WARNING: *** XPM plug-in will not be built (XPM header file not found) ***" >&5
34844
 
echo "$as_me: WARNING: *** XPM plug-in will not be built (XPM header file not found) ***" >&2;}
 
33365
  have_libxpm="no (XPM header file not found)"
34845
33366
fi
34846
33367
 
34847
33368
 
34848
33369
else
34849
 
  { echo "$as_me:$LINENO: WARNING: *** XPM plug-in will not be built (XPM library not found) ***" >&5
34850
 
echo "$as_me: WARNING: *** XPM plug-in will not be built (XPM library not found) ***" >&2;}
 
33370
  have_libxpm="no (XPM library not found)"
34851
33371
fi
34852
33372
 
34853
33373
fi
34930
33450
        # Put the nasty error message in config.log where it belongs
34931
33451
        echo "$GTKHTML2_PKG_ERRORS" >&5
34932
33452
 
34933
 
        { echo "$as_me:$LINENO: WARNING: *** Help browser plug-in will not be built (GtkHtml2 not found) ***" >&5
34934
 
echo "$as_me: WARNING: *** Help browser plug-in will not be built (GtkHtml2 not found) ***" >&2;}
 
33453
        { echo "$as_me:$LINENO: result: no" >&5
 
33454
echo "${ECHO_T}no" >&6; }
 
33455
                { echo "$as_me:$LINENO: result: no" >&5
 
33456
echo "${ECHO_T}no" >&6; }
 
33457
    have_gtkhtml2="no (GtkHtml2 not found)"
34935
33458
elif test $pkg_failed = untried; then
34936
 
        { echo "$as_me:$LINENO: WARNING: *** Help browser plug-in will not be built (GtkHtml2 not found) ***" >&5
34937
 
echo "$as_me: WARNING: *** Help browser plug-in will not be built (GtkHtml2 not found) ***" >&2;}
 
33459
        { echo "$as_me:$LINENO: result: no" >&5
 
33460
echo "${ECHO_T}no" >&6; }
 
33461
    have_gtkhtml2="no (GtkHtml2 not found)"
34938
33462
else
34939
33463
        GTKHTML2_CFLAGS=$pkg_cv_GTKHTML2_CFLAGS
34940
33464
        GTKHTML2_LIBS=$pkg_cv_GTKHTML2_LIBS
34943
33467
        have_gtkhtml2=yes
34944
33468
fi
34945
33469
else
34946
 
  { echo "$as_me:$LINENO: WARNING: *** Help browser plug-in will not be built (GtkHtml2 support disabled) ***" >&5
34947
 
echo "$as_me: WARNING: *** Help browser plug-in will not be built (GtkHtml2 support disabled) ***" >&2;}
 
33470
  have_gtkhtml2="no (GtkHtml2 support disabled)"
34948
33471
fi
34949
33472
 
34950
33473
 
34951
33474
 
34952
 
 
34953
 
 
34954
 
 
34955
 
if test x$have_gtkhtml2 = xyes; then
 
33475
if test "x$have_gtkhtml2" = xyes; then
34956
33476
  BUILD_HELPBROWSER_TRUE=
34957
33477
  BUILD_HELPBROWSER_FALSE='#'
34958
33478
else
34973
33493
fi
34974
33494
 
34975
33495
 
 
33496
have_librsvg=no
34976
33497
if test "x$with_librsvg" != xno; then
 
33498
  have_librsvg=yes
34977
33499
 
34978
33500
pkg_failed=no
34979
33501
{ echo "$as_me:$LINENO: checking for SVG" >&5
34984
33506
        pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
34985
33507
    else
34986
33508
        if test -n "$PKG_CONFIG" && \
34987
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.2.0\"") >&5
34988
 
  ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.2.0") 2>&5
 
33509
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.8.0\"") >&5
 
33510
  ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.8.0") 2>&5
34989
33511
  ac_status=$?
34990
33512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991
33513
  (exit $ac_status); }; then
34992
 
  pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.2.0" 2>/dev/null`
 
33514
  pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.8.0" 2>/dev/null`
34993
33515
else
34994
33516
  pkg_failed=yes
34995
33517
fi
35002
33524
        pkg_cv_SVG_LIBS="$SVG_LIBS"
35003
33525
    else
35004
33526
        if test -n "$PKG_CONFIG" && \
35005
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.2.0\"") >&5
35006
 
  ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.2.0") 2>&5
 
33527
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.8.0\"") >&5
 
33528
  ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.8.0") 2>&5
35007
33529
  ac_status=$?
35008
33530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009
33531
  (exit $ac_status); }; then
35010
 
  pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.2.0" 2>/dev/null`
 
33532
  pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.8.0" 2>/dev/null`
35011
33533
else
35012
33534
  pkg_failed=yes
35013
33535
fi
35026
33548
        _pkg_short_errors_supported=no
35027
33549
fi
35028
33550
        if test $_pkg_short_errors_supported = yes; then
35029
 
                SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librsvg-2.0 >= 2.2.0"`
 
33551
                SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librsvg-2.0 >= 2.8.0"`
35030
33552
        else
35031
 
                SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librsvg-2.0 >= 2.2.0"`
 
33553
                SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librsvg-2.0 >= 2.8.0"`
35032
33554
        fi
35033
33555
        # Put the nasty error message in config.log where it belongs
35034
33556
        echo "$SVG_PKG_ERRORS" >&5
35035
33557
 
35036
 
        { echo "$as_me:$LINENO: WARNING: *** SVG import plug-in will not be built (librsvg not found) ***" >&5
35037
 
echo "$as_me: WARNING: *** SVG import plug-in will not be built (librsvg not found) ***" >&2;}
 
33558
        { echo "$as_me:$LINENO: result: no" >&5
 
33559
echo "${ECHO_T}no" >&6; }
 
33560
                { echo "$as_me:$LINENO: result: no" >&5
 
33561
echo "${ECHO_T}no" >&6; }
 
33562
    have_librsvg="no (librsvg not found)"
35038
33563
elif test $pkg_failed = untried; then
35039
 
        { echo "$as_me:$LINENO: WARNING: *** SVG import plug-in will not be built (librsvg not found) ***" >&5
35040
 
echo "$as_me: WARNING: *** SVG import plug-in will not be built (librsvg not found) ***" >&2;}
 
33564
        { echo "$as_me:$LINENO: result: no" >&5
 
33565
echo "${ECHO_T}no" >&6; }
 
33566
    have_librsvg="no (librsvg not found)"
35041
33567
else
35042
33568
        SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
35043
33569
        SVG_LIBS=$pkg_cv_SVG_LIBS
35047
33573
    LIBSVG=$SVG_LIBS
35048
33574
fi
35049
33575
else
35050
 
  { echo "$as_me:$LINENO: WARNING: *** SVG import plug-in will not be built (librsvg support disabled) ***" >&5
35051
 
echo "$as_me: WARNING: *** SVG import plug-in will not be built (librsvg support disabled) ***" >&2;}
35052
 
fi
35053
 
 
35054
 
 
35055
 
 
35056
 
 
35057
 
 
35058
 
 
35059
 
######################
35060
 
# Check for gimp-print
35061
 
######################
35062
 
 
35063
 
# Check whether --enable-print was given.
35064
 
if test "${enable_print+set}" = set; then
35065
 
  enableval=$enable_print;
35066
 
fi
35067
 
 
35068
 
 
35069
 
have_gimp_print=no
35070
 
if test "x$enable_print" != "xno"; then
35071
 
 
35072
 
# Check whether --with-gimpprint-prefix was given.
35073
 
if test "${with_gimpprint_prefix+set}" = set; then
35074
 
  withval=$with_gimpprint_prefix; gimpprint_config_prefix="$withval"
35075
 
else
35076
 
  gimpprint_config_prefix=""
35077
 
fi
35078
 
 
35079
 
 
35080
 
# Check whether --with-gimpprint-exec-prefix was given.
35081
 
if test "${with_gimpprint_exec_prefix+set}" = set; then
35082
 
  withval=$with_gimpprint_exec_prefix; gimpprint_config_exec_prefix="$withval"
35083
 
else
35084
 
  gimpprint_config_exec_prefix=""
35085
 
fi
35086
 
 
35087
 
# Check whether --enable-gimpprinttest was given.
35088
 
if test "${enable_gimpprinttest+set}" = set; then
35089
 
  enableval=$enable_gimpprinttest;
35090
 
else
35091
 
  enable_gimpprinttest=yes
35092
 
fi
35093
 
 
35094
 
 
35095
 
  if test x$gimpprint_config_exec_prefix != x ; then
35096
 
     gimpprint_config_args="$gimpprint_config_args --exec-prefix=$gimpprint_config_exec_prefix"
35097
 
     if test x${GIMPPRINT_CONFIG+set} != xset ; then
35098
 
        GIMPPRINT_CONFIG=$gimpprint_config_exec_prefix/bin/gimpprint-config
35099
 
     fi
35100
 
  fi
35101
 
  if test x$gimpprint_config_prefix != x ; then
35102
 
     gimpprint_config_args="$gimpprint_config_args --prefix=$gimpprint_config_prefix"
35103
 
     if test x${GIMPPRINT_CONFIG+set} != xset ; then
35104
 
        GIMPPRINT_CONFIG=$gimpprint_config_prefix/bin/gimpprint-config
35105
 
     fi
35106
 
  fi
35107
 
 
35108
 
  # Extract the first word of "gimpprint-config", so it can be a program name with args.
35109
 
set dummy gimpprint-config; ac_word=$2
35110
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35111
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35112
 
if test "${ac_cv_path_GIMPPRINT_CONFIG+set}" = set; then
35113
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
35114
 
else
35115
 
  case $GIMPPRINT_CONFIG in
35116
 
  [\\/]* | ?:[\\/]*)
35117
 
  ac_cv_path_GIMPPRINT_CONFIG="$GIMPPRINT_CONFIG" # Let the user override the test with a path.
35118
 
  ;;
35119
 
  *)
35120
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35121
 
for as_dir in $PATH
35122
 
do
35123
 
  IFS=$as_save_IFS
35124
 
  test -z "$as_dir" && as_dir=.
35125
 
  for ac_exec_ext in '' $ac_executable_extensions; do
35126
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35127
 
    ac_cv_path_GIMPPRINT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35128
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35129
 
    break 2
35130
 
  fi
35131
 
done
35132
 
done
35133
 
IFS=$as_save_IFS
35134
 
 
35135
 
  test -z "$ac_cv_path_GIMPPRINT_CONFIG" && ac_cv_path_GIMPPRINT_CONFIG="no"
35136
 
  ;;
35137
 
esac
35138
 
fi
35139
 
GIMPPRINT_CONFIG=$ac_cv_path_GIMPPRINT_CONFIG
35140
 
if test -n "$GIMPPRINT_CONFIG"; then
35141
 
  { echo "$as_me:$LINENO: result: $GIMPPRINT_CONFIG" >&5
35142
 
echo "${ECHO_T}$GIMPPRINT_CONFIG" >&6; }
35143
 
else
35144
 
  { echo "$as_me:$LINENO: result: no" >&5
35145
 
echo "${ECHO_T}no" >&6; }
35146
 
fi
35147
 
 
35148
 
 
35149
 
  min_gimpprint_version=4.2.0
35150
 
  { echo "$as_me:$LINENO: checking for GIMP-PRINT - version >= $min_gimpprint_version" >&5
35151
 
echo $ECHO_N "checking for GIMP-PRINT - version >= $min_gimpprint_version... $ECHO_C" >&6; }
35152
 
  no_gimpprint=""
35153
 
  if test "$GIMPPRINT_CONFIG" = "no" ; then
35154
 
    no_gimpprint=yes
35155
 
  else
35156
 
    GIMPPRINT_CFLAGS=`$GIMPPRINT_CONFIG $gimpprint_config_args --cflags`
35157
 
    GIMPPRINT_LIBS=`$GIMPPRINT_CONFIG $gimpprint_config_args --libs`
35158
 
    gimpprint_config_major_version=`$GIMPPRINT_CONFIG $gimpprint_config_args --version | \
35159
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35160
 
    gimpprint_config_minor_version=`$GIMPPRINT_CONFIG $gimpprint_config_args --version | \
35161
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35162
 
    gimpprint_config_micro_version=`$GIMPPRINT_CONFIG $gimpprint_config_args --version | \
35163
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35164
 
    if test "x$enable_gimpprinttest" = "xyes" ; then
35165
 
      ac_save_CFLAGS="$CFLAGS"
35166
 
      ac_save_LIBS="$LIBS"
35167
 
      CFLAGS="$CFLAGS $GIMPPRINT_CFLAGS"
35168
 
      LIBS="$GIMPPRINT_LIBS $LIBS"
35169
 
      rm -f conf.gimpprinttest
35170
 
      if test "$cross_compiling" = yes; then
35171
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
35172
 
else
35173
 
  cat >conftest.$ac_ext <<_ACEOF
35174
 
/* confdefs.h.  */
35175
 
_ACEOF
35176
 
cat confdefs.h >>conftest.$ac_ext
35177
 
cat >>conftest.$ac_ext <<_ACEOF
35178
 
/* end confdefs.h.  */
35179
 
 
35180
 
#include <gimp-print/gimp-print.h>
35181
 
#include <stdio.h>
35182
 
#include <stdlib.h>
35183
 
#include <string.h>
35184
 
 
35185
 
int
35186
 
main ()
35187
 
{
35188
 
  int major, minor, micro;
35189
 
  char *tmp_version;
35190
 
 
35191
 
  system ("touch conf.gimpprinttest");
35192
 
 
35193
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
35194
 
  tmp_version = strdup("$min_gimpprint_version");
35195
 
  if (!tmp_version) {
35196
 
     exit(1);
35197
 
   }
35198
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
35199
 
     printf("%s, bad version string\n", "$min_gimpprint_version");
35200
 
     exit(1);
35201
 
   }
35202
 
 
35203
 
  if ((gimpprint_major_version != $gimpprint_config_major_version) ||
35204
 
      (gimpprint_minor_version != $gimpprint_config_minor_version) ||
35205
 
      (gimpprint_micro_version != $gimpprint_config_micro_version))
35206
 
    {
35207
 
      printf("\n*** 'gimpprint-config --version' returned %d.%d.%d, but GIMP-PRINT (%d.%d.%d)\n",
35208
 
             $gimpprint_config_major_version, $gimpprint_config_minor_version, $gimpprint_config_micro_version,
35209
 
             gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
35210
 
      printf ("*** was found! If gimpprint-config was correct, then it is best\n");
35211
 
      printf ("*** to remove the old version of GIMP-PRINT. You may also be able to fix the\n");
35212
 
      printf("*** error by modifying your LD_LIBRARY_PATH enviroment variable, or by\n");
35213
 
      printf("*** editing /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
35214
 
      printf("*** required on your system.\n");
35215
 
      printf("*** If gimpprint-config was wrong, set the environment variable GIMPPRINT_CONFIG\n");
35216
 
      printf("*** to point to the correct copy of gimpprint-config, and remove the file\n");
35217
 
      printf("*** config.cache before re-running configure\n");
35218
 
    }
35219
 
#if defined (GIMPPRINT_MAJOR_VERSION) && defined (GIMPPRINT_MINOR_VERSION) && defined (GIMPPRINT_MICRO_VERSION)
35220
 
  else if ((gimpprint_major_version != GIMPPRINT_MAJOR_VERSION) ||
35221
 
           (gimpprint_minor_version != GIMPPRINT_MINOR_VERSION) ||
35222
 
           (gimpprint_micro_version != GIMPPRINT_MICRO_VERSION))
35223
 
    {
35224
 
      printf("\n*** GIMP-PRINT header files (version %d.%d.%d) do not match\n",
35225
 
             GIMPPRINT_MAJOR_VERSION, GIMPPRINT_MINOR_VERSION, GIMPPRINT_MICRO_VERSION);
35226
 
      printf("*** library (version %d.%d.%d)\n",
35227
 
             gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
35228
 
    }
35229
 
#endif /* defined (GIMPPRINT_MAJOR_VERSION) ... */
35230
 
  else
35231
 
    {
35232
 
      if ((gimpprint_major_version > major) ||
35233
 
        ((gimpprint_major_version == major) && (gimpprint_minor_version > minor)) ||
35234
 
        ((gimpprint_major_version == major) && (gimpprint_minor_version == minor) && (gimpprint_micro_version >= micro)))
35235
 
      {
35236
 
        return 0;
35237
 
       }
35238
 
     else
35239
 
      {
35240
 
        printf("\n*** An old version of GIMP-PRINT (%d.%d.%d) was found.\n",
35241
 
               gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
35242
 
        printf("*** You need a version of GIMP-PRINT newer than %d.%d.%d. The latest version of\n",
35243
 
               major, minor, micro);
35244
 
        printf("*** GIMP-PRINT is always available from\n");
35245
 
        printf("*** http://sourceforge.net/project/showfiles.php?group_id=1537.\n");
35246
 
        printf("***\n");
35247
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
35248
 
        printf("*** probably means that the wrong copy of the gimpprint-config shell script is\n");
35249
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
35250
 
        printf("*** of GIMP-PRINT, but you can also set the GIMPPRINT_CONFIG environment to\n");
35251
 
        printf("*** point to the correct copy of gimpprint-config. (In this case, you will have\n");
35252
 
        printf("*** to modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
35253
 
        printf("*** so that the correct libraries are found at run-time))\n");
35254
 
      }
35255
 
    }
35256
 
  return 1;
35257
 
}
35258
 
 
35259
 
_ACEOF
35260
 
rm -f conftest$ac_exeext
35261
 
if { (ac_try="$ac_link"
35262
 
case "(($ac_try" in
35263
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35264
 
  *) ac_try_echo=$ac_try;;
35265
 
esac
35266
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35267
 
  (eval "$ac_link") 2>&5
35268
 
  ac_status=$?
35269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35271
 
  { (case "(($ac_try" in
35272
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35273
 
  *) ac_try_echo=$ac_try;;
35274
 
esac
35275
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35276
 
  (eval "$ac_try") 2>&5
35277
 
  ac_status=$?
35278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279
 
  (exit $ac_status); }; }; then
35280
 
  :
35281
 
else
35282
 
  echo "$as_me: program exited with status $ac_status" >&5
35283
 
echo "$as_me: failed program was:" >&5
35284
 
sed 's/^/| /' conftest.$ac_ext >&5
35285
 
 
35286
 
( exit $ac_status )
35287
 
no_gimpprint=yes
35288
 
fi
35289
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35290
 
fi
35291
 
 
35292
 
 
35293
 
       CFLAGS="$ac_save_CFLAGS"
35294
 
       LIBS="$ac_save_LIBS"
35295
 
     fi
35296
 
  fi
35297
 
  if test "x$no_gimpprint" = x ; then
35298
 
     { echo "$as_me:$LINENO: result: yes" >&5
35299
 
echo "${ECHO_T}yes" >&6; }
35300
 
     print_version=`$GIMPPRINT_CONFIG --version`
35301
 
      if expr $print_version \>= 4.3.0 >/dev/null; then
35302
 
        { echo "$as_me:$LINENO: WARNING:
35303
 
*** libgimpprint version $print_version is too new.
35304
 
*** It is likely an unstable development version.
35305
 
*** You need a version before 4.3.0." >&5
35306
 
echo "$as_me: WARNING:
35307
 
*** libgimpprint version $print_version is too new.
35308
 
*** It is likely an unstable development version.
35309
 
*** You need a version before 4.3.0." >&2;}
35310
 
      else
35311
 
        have_gimp_print=yes
35312
 
        if expr $print_version \< 4.2.6 >/dev/null; then
35313
 
          { echo "$as_me:$LINENO: WARNING:
35314
 
*** libgimpprint version $print_version causes problems under certain locales.
35315
 
*** We strongly suggest you upgrade to version 4.2.6." >&5
35316
 
echo "$as_me: WARNING:
35317
 
*** libgimpprint version $print_version causes problems under certain locales.
35318
 
*** We strongly suggest you upgrade to version 4.2.6." >&2;}
35319
 
        fi
35320
 
      fi
35321
 
 
35322
 
  else
35323
 
     { echo "$as_me:$LINENO: result: no" >&5
35324
 
echo "${ECHO_T}no" >&6; }
35325
 
     if test "$GIMPPRINT_CONFIG" = "no" ; then
35326
 
       echo "*** The gimpprint-config script installed by GIMP-PRINT could not be found"
35327
 
       echo "*** If GIMP-PRINT was installed in PREFIX, make sure PREFIX/bin is in"
35328
 
       echo "*** your path, or set the GIMPPRINT_CONFIG environment variable to the"
35329
 
       echo "*** full path to gimpprint-config."
35330
 
     else
35331
 
       if test -f conf.gimpprinttest ; then
35332
 
        :
35333
 
       else
35334
 
          echo "*** Could not run GIMP-PRINT test program, checking why..."
35335
 
          CFLAGS="$CFLAGS $GIMPPRINT_CFLAGS"
35336
 
          LIBS="$LIBS $GIMPPRINT_LIBS"
35337
 
          cat >conftest.$ac_ext <<_ACEOF
35338
 
/* confdefs.h.  */
35339
 
_ACEOF
35340
 
cat confdefs.h >>conftest.$ac_ext
35341
 
cat >>conftest.$ac_ext <<_ACEOF
35342
 
/* end confdefs.h.  */
35343
 
 
35344
 
#include <gimp-print/gimp-print.h>
35345
 
#include <stdio.h>
35346
 
#include <string.h>
35347
 
 
35348
 
int
35349
 
main ()
35350
 
{
35351
 
 return ((gimpprint_major_version) || (gimpprint_minor_version) || (gimpprint_micro_version));
35352
 
  ;
35353
 
  return 0;
35354
 
}
35355
 
_ACEOF
35356
 
rm -f conftest.$ac_objext conftest$ac_exeext
35357
 
if { (ac_try="$ac_link"
35358
 
case "(($ac_try" in
35359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35360
 
  *) ac_try_echo=$ac_try;;
35361
 
esac
35362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35363
 
  (eval "$ac_link") 2>conftest.er1
35364
 
  ac_status=$?
35365
 
  grep -v '^ *+' conftest.er1 >conftest.err
35366
 
  rm -f conftest.er1
35367
 
  cat conftest.err >&5
35368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369
 
  (exit $ac_status); } &&
35370
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35371
 
  { (case "(($ac_try" in
35372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35373
 
  *) ac_try_echo=$ac_try;;
35374
 
esac
35375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35376
 
  (eval "$ac_try") 2>&5
35377
 
  ac_status=$?
35378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379
 
  (exit $ac_status); }; } &&
35380
 
         { ac_try='test -s conftest$ac_exeext'
35381
 
  { (case "(($ac_try" in
35382
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35383
 
  *) ac_try_echo=$ac_try;;
35384
 
esac
35385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35386
 
  (eval "$ac_try") 2>&5
35387
 
  ac_status=$?
35388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389
 
  (exit $ac_status); }; }; then
35390
 
   echo "*** The test program compiled, but did not run. This usually means"
35391
 
          echo "*** that the run-time linker is not finding GIMP-PRINT or finding the wrong"
35392
 
          echo "*** version of GIMP-PRINT. If it is not finding GIMP-PRINT, you'll need to set"
35393
 
          echo "*** your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35394
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
35395
 
          echo "*** is required on your system"
35396
 
          echo "***"
35397
 
          echo "*** If you have an old version installed, it is best to remove it, although"
35398
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35399
 
else
35400
 
  echo "$as_me: failed program was:" >&5
35401
 
sed 's/^/| /' conftest.$ac_ext >&5
35402
 
 
35403
 
         echo "*** The test program failed to compile or link. See the file config.log for the"
35404
 
          echo "*** exact error that occured. This usually means GIMP-PRINT was incorrectly"
35405
 
          echo "*** installed or that you have moved GIMP-PRINT since it was installed. In the"
35406
 
          echo "*** latter case, you may want to edit the gimpprint-config script:"
35407
 
          echo "*** $GIMPPRINT_CONFIG"
35408
 
fi
35409
 
 
35410
 
rm -f core conftest.err conftest.$ac_objext \
35411
 
      conftest$ac_exeext conftest.$ac_ext
35412
 
          CFLAGS="$ac_save_CFLAGS"
35413
 
          LIBS="$ac_save_LIBS"
35414
 
       fi
35415
 
     fi
35416
 
     GIMPPRINT_CFLAGS=""
35417
 
     GIMPPRINT_LIBS=""
35418
 
     :
35419
 
  fi
35420
 
 
35421
 
 
35422
 
  rm -f conf.gimpprinttest
35423
 
 
35424
 
fi
35425
 
 
35426
 
if test x$enable_print != xno && test x$have_gimp_print != xyes; then
35427
 
  { { echo "$as_me:$LINENO: error:
35428
 
*** Check for libgimpprint failed. You can download it from
35429
 
*** http://gimp-print.sourceforge.net/ or you can build without it by passing
35430
 
*** --disable-print to configure (but you won't be able to print then)." >&5
35431
 
echo "$as_me: error:
35432
 
*** Check for libgimpprint failed. You can download it from
35433
 
*** http://gimp-print.sourceforge.net/ or you can build without it by passing
35434
 
*** --disable-print to configure (but you won't be able to print then)." >&2;}
35435
 
   { (exit 1); exit 1; }; }
35436
 
fi
35437
 
 
35438
 
 
35439
 
 
35440
 
 
35441
 
 
35442
 
if test x$enable_print != xno && test x$have_gimp_print = xyes; then
 
33576
   have_librsvg="no (librsvg support disabled)"
 
33577
fi
 
33578
 
 
33579
 
 
33580
 
 
33581
 
 
33582
 
 
33583
####################################
 
33584
# Allow to disable the print plug-in
 
33585
####################################
 
33586
 
 
33587
enable_print="no (disabled)"
 
33588
 
 
33589
# Check whether --with-print was given.
 
33590
if test "${with_print+set}" = set; then
 
33591
  withval=$with_print;
 
33592
fi
 
33593
 
 
33594
 
 
33595
if test "x$with_print" != xno; then
 
33596
    enable_print="yes"
 
33597
fi
 
33598
 
 
33599
 
 
33600
if test "x$enable_print" == xyes; then
35443
33601
  BUILD_PRINT_TRUE=
35444
33602
  BUILD_PRINT_FALSE='#'
35445
33603
else
35449
33607
 
35450
33608
 
35451
33609
 
 
33610
######################
 
33611
# Check for libpoppler
 
33612
######################
 
33613
 
 
33614
have_poppler=no
 
33615
 
 
33616
# Check whether --with-poppler was given.
 
33617
if test "${with_poppler+set}" = set; then
 
33618
  withval=$with_poppler;
 
33619
fi
 
33620
 
 
33621
 
 
33622
if test "x$with_poppler" != xno; then
 
33623
 
 
33624
pkg_failed=no
 
33625
{ echo "$as_me:$LINENO: checking for POPPLER" >&5
 
33626
echo $ECHO_N "checking for POPPLER... $ECHO_C" >&6; }
 
33627
 
 
33628
if test -n "$PKG_CONFIG"; then
 
33629
    if test -n "$POPPLER_CFLAGS"; then
 
33630
        pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
 
33631
    else
 
33632
        if test -n "$PKG_CONFIG" && \
 
33633
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.3.1 gthread-2.0\"") >&5
 
33634
  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.3.1 gthread-2.0") 2>&5
 
33635
  ac_status=$?
 
33636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33637
  (exit $ac_status); }; then
 
33638
  pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.3.1 gthread-2.0" 2>/dev/null`
 
33639
else
 
33640
  pkg_failed=yes
 
33641
fi
 
33642
    fi
 
33643
else
 
33644
        pkg_failed=untried
 
33645
fi
 
33646
if test -n "$PKG_CONFIG"; then
 
33647
    if test -n "$POPPLER_LIBS"; then
 
33648
        pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
 
33649
    else
 
33650
        if test -n "$PKG_CONFIG" && \
 
33651
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.3.1 gthread-2.0\"") >&5
 
33652
  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.3.1 gthread-2.0") 2>&5
 
33653
  ac_status=$?
 
33654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33655
  (exit $ac_status); }; then
 
33656
  pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.3.1 gthread-2.0" 2>/dev/null`
 
33657
else
 
33658
  pkg_failed=yes
 
33659
fi
 
33660
    fi
 
33661
else
 
33662
        pkg_failed=untried
 
33663
fi
 
33664
 
 
33665
 
 
33666
 
 
33667
if test $pkg_failed = yes; then
 
33668
 
 
33669
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
33670
        _pkg_short_errors_supported=yes
 
33671
else
 
33672
        _pkg_short_errors_supported=no
 
33673
fi
 
33674
        if test $_pkg_short_errors_supported = yes; then
 
33675
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-glib >= 0.3.1 gthread-2.0"`
 
33676
        else
 
33677
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-glib >= 0.3.1 gthread-2.0"`
 
33678
        fi
 
33679
        # Put the nasty error message in config.log where it belongs
 
33680
        echo "$POPPLER_PKG_ERRORS" >&5
 
33681
 
 
33682
        { echo "$as_me:$LINENO: result: no" >&5
 
33683
echo "${ECHO_T}no" >&6; }
 
33684
                { echo "$as_me:$LINENO: result: no" >&5
 
33685
echo "${ECHO_T}no" >&6; }
 
33686
    have_poppler="Using PostScript plug-in (libpoppler not found)"
 
33687
elif test $pkg_failed = untried; then
 
33688
        { echo "$as_me:$LINENO: result: no" >&5
 
33689
echo "${ECHO_T}no" >&6; }
 
33690
    have_poppler="Using PostScript plug-in (libpoppler not found)"
 
33691
else
 
33692
        POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
 
33693
        POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
 
33694
        { echo "$as_me:$LINENO: result: yes" >&5
 
33695
echo "${ECHO_T}yes" >&6; }
 
33696
        POPPLER='poppler$(EXEEXT)'
 
33697
    LIBPOPPLER=$POPPLER_LIBS
 
33698
 
 
33699
cat >>confdefs.h <<\_ACEOF
 
33700
#define HAVE_POPPLER 1
 
33701
_ACEOF
 
33702
 
 
33703
    have_poppler=yes
 
33704
fi
 
33705
else
 
33706
  have_poppler="Using PostScript plug-in (libpoppler support disabled)"
 
33707
fi
 
33708
 
 
33709
 
 
33710
 
 
33711
 
 
33712
if test "x$have_poppler" = xyes; then
 
33713
  if $PKG_CONFIG --atleast-version=0.4 poppler-glib; then
 
33714
 
 
33715
cat >>confdefs.h <<\_ACEOF
 
33716
#define HAVE_POPPLER_0_4 1
 
33717
_ACEOF
 
33718
 
 
33719
  fi
 
33720
 
 
33721
  if $PKG_CONFIG --atleast-version=0.4.1 poppler-glib; then
 
33722
 
 
33723
cat >>confdefs.h <<\_ACEOF
 
33724
#define HAVE_POPPLER_0_4_1 1
 
33725
_ACEOF
 
33726
 
 
33727
  fi
 
33728
fi
 
33729
 
 
33730
 
 
33731
###############################################################################
 
33732
# Check for gnome-vfs and libcurl (and optionally libgnomeui and gnome-keyring)
 
33733
###############################################################################
 
33734
 
 
33735
uri_plugin=no
 
33736
gnome_vfs_modules="gnome-vfs-2.0 >= 2.10.0"
 
33737
 
 
33738
 
 
33739
# Check whether --with-gnomevfs was given.
 
33740
if test "${with_gnomevfs+set}" = set; then
 
33741
  withval=$with_gnomevfs;
 
33742
fi
 
33743
 
 
33744
 
 
33745
have_gnomeui="no (disabled)"
 
33746
have_gnome_keyring="no (disabled)"
 
33747
have_gnomevfs="no (disabled)"
 
33748
 
 
33749
if test x$with_gnomevfs != xno; then
 
33750
 
 
33751
if $PKG_CONFIG --atleast-version=2.10.0 libgnomeui-2.0; then
 
33752
  have_gnomeui=yes
 
33753
  gnome_vfs_modules="$gnome_vfs_modules libgnomeui-2.0"
 
33754
else
 
33755
  have_gnomeui="no (libgnomeui-2.0 not found)"
 
33756
fi
 
33757
 
 
33758
if $PKG_CONFIG --atleast-version=0.4.5 gnome-keyring-1; then
 
33759
  have_gnome_keyring=yes
 
33760
  gnome_vfs_modules="$gnome_vfs_modules gnome-keyring-1"
 
33761
else
 
33762
  have_gnome_keyring="no (gnome-keyring-1 not found)"
 
33763
fi
 
33764
 
 
33765
 
 
33766
pkg_failed=no
 
33767
{ echo "$as_me:$LINENO: checking for URI_GNOME_VFS" >&5
 
33768
echo $ECHO_N "checking for URI_GNOME_VFS... $ECHO_C" >&6; }
 
33769
 
 
33770
if test -n "$PKG_CONFIG"; then
 
33771
    if test -n "$URI_GNOME_VFS_CFLAGS"; then
 
33772
        pkg_cv_URI_GNOME_VFS_CFLAGS="$URI_GNOME_VFS_CFLAGS"
 
33773
    else
 
33774
        if test -n "$PKG_CONFIG" && \
 
33775
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gnome_vfs_modules\"") >&5
 
33776
  ($PKG_CONFIG --exists --print-errors "$gnome_vfs_modules") 2>&5
 
33777
  ac_status=$?
 
33778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33779
  (exit $ac_status); }; then
 
33780
  pkg_cv_URI_GNOME_VFS_CFLAGS=`$PKG_CONFIG --cflags "$gnome_vfs_modules" 2>/dev/null`
 
33781
else
 
33782
  pkg_failed=yes
 
33783
fi
 
33784
    fi
 
33785
else
 
33786
        pkg_failed=untried
 
33787
fi
 
33788
if test -n "$PKG_CONFIG"; then
 
33789
    if test -n "$URI_GNOME_VFS_LIBS"; then
 
33790
        pkg_cv_URI_GNOME_VFS_LIBS="$URI_GNOME_VFS_LIBS"
 
33791
    else
 
33792
        if test -n "$PKG_CONFIG" && \
 
33793
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gnome_vfs_modules\"") >&5
 
33794
  ($PKG_CONFIG --exists --print-errors "$gnome_vfs_modules") 2>&5
 
33795
  ac_status=$?
 
33796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33797
  (exit $ac_status); }; then
 
33798
  pkg_cv_URI_GNOME_VFS_LIBS=`$PKG_CONFIG --libs "$gnome_vfs_modules" 2>/dev/null`
 
33799
else
 
33800
  pkg_failed=yes
 
33801
fi
 
33802
    fi
 
33803
else
 
33804
        pkg_failed=untried
 
33805
fi
 
33806
 
 
33807
 
 
33808
 
 
33809
if test $pkg_failed = yes; then
 
33810
 
 
33811
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
33812
        _pkg_short_errors_supported=yes
 
33813
else
 
33814
        _pkg_short_errors_supported=no
 
33815
fi
 
33816
        if test $_pkg_short_errors_supported = yes; then
 
33817
                URI_GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gnome_vfs_modules"`
 
33818
        else
 
33819
                URI_GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gnome_vfs_modules"`
 
33820
        fi
 
33821
        # Put the nasty error message in config.log where it belongs
 
33822
        echo "$URI_GNOME_VFS_PKG_ERRORS" >&5
 
33823
 
 
33824
        { echo "$as_me:$LINENO: result: no" >&5
 
33825
echo "${ECHO_T}no" >&6; }
 
33826
                { echo "$as_me:$LINENO: result: no" >&5
 
33827
echo "${ECHO_T}no" >&6; }
 
33828
  have_gnomevfs="no (gnome-vfs-2.0 not found)"
 
33829
elif test $pkg_failed = untried; then
 
33830
        { echo "$as_me:$LINENO: result: no" >&5
 
33831
echo "${ECHO_T}no" >&6; }
 
33832
  have_gnomevfs="no (gnome-vfs-2.0 not found)"
 
33833
else
 
33834
        URI_GNOME_VFS_CFLAGS=$pkg_cv_URI_GNOME_VFS_CFLAGS
 
33835
        URI_GNOME_VFS_LIBS=$pkg_cv_URI_GNOME_VFS_LIBS
 
33836
        { echo "$as_me:$LINENO: result: yes" >&5
 
33837
echo "${ECHO_T}yes" >&6; }
 
33838
        have_gnomevfs=yes
 
33839
fi
 
33840
 
 
33841
fi
 
33842
 
 
33843
 
 
33844
 
 
33845
if test x"$have_gnomevfs" = xyes; then
 
33846
  HAVE_GNOMEVFS_TRUE=
 
33847
  HAVE_GNOMEVFS_FALSE='#'
 
33848
else
 
33849
  HAVE_GNOMEVFS_TRUE='#'
 
33850
  HAVE_GNOMEVFS_FALSE=
 
33851
fi
 
33852
 
 
33853
 
 
33854
libcurl_modules="libcurl >= 7.15.1"
 
33855
 
 
33856
 
 
33857
# Check whether --with-libcurl was given.
 
33858
if test "${with_libcurl+set}" = set; then
 
33859
  withval=$with_libcurl;
 
33860
fi
 
33861
 
 
33862
 
 
33863
have_libcurl="no (disabled)"
 
33864
 
 
33865
if test x$with_libcurl != xno; then
 
33866
 
 
33867
 
 
33868
pkg_failed=no
 
33869
{ echo "$as_me:$LINENO: checking for URI_LIBCURL" >&5
 
33870
echo $ECHO_N "checking for URI_LIBCURL... $ECHO_C" >&6; }
 
33871
 
 
33872
if test -n "$PKG_CONFIG"; then
 
33873
    if test -n "$URI_LIBCURL_CFLAGS"; then
 
33874
        pkg_cv_URI_LIBCURL_CFLAGS="$URI_LIBCURL_CFLAGS"
 
33875
    else
 
33876
        if test -n "$PKG_CONFIG" && \
 
33877
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$libcurl_modules\"") >&5
 
33878
  ($PKG_CONFIG --exists --print-errors "$libcurl_modules") 2>&5
 
33879
  ac_status=$?
 
33880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33881
  (exit $ac_status); }; then
 
33882
  pkg_cv_URI_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "$libcurl_modules" 2>/dev/null`
 
33883
else
 
33884
  pkg_failed=yes
 
33885
fi
 
33886
    fi
 
33887
else
 
33888
        pkg_failed=untried
 
33889
fi
 
33890
if test -n "$PKG_CONFIG"; then
 
33891
    if test -n "$URI_LIBCURL_LIBS"; then
 
33892
        pkg_cv_URI_LIBCURL_LIBS="$URI_LIBCURL_LIBS"
 
33893
    else
 
33894
        if test -n "$PKG_CONFIG" && \
 
33895
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$libcurl_modules\"") >&5
 
33896
  ($PKG_CONFIG --exists --print-errors "$libcurl_modules") 2>&5
 
33897
  ac_status=$?
 
33898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33899
  (exit $ac_status); }; then
 
33900
  pkg_cv_URI_LIBCURL_LIBS=`$PKG_CONFIG --libs "$libcurl_modules" 2>/dev/null`
 
33901
else
 
33902
  pkg_failed=yes
 
33903
fi
 
33904
    fi
 
33905
else
 
33906
        pkg_failed=untried
 
33907
fi
 
33908
 
 
33909
 
 
33910
 
 
33911
if test $pkg_failed = yes; then
 
33912
 
 
33913
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
33914
        _pkg_short_errors_supported=yes
 
33915
else
 
33916
        _pkg_short_errors_supported=no
 
33917
fi
 
33918
        if test $_pkg_short_errors_supported = yes; then
 
33919
                URI_LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$libcurl_modules"`
 
33920
        else
 
33921
                URI_LIBCURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$libcurl_modules"`
 
33922
        fi
 
33923
        # Put the nasty error message in config.log where it belongs
 
33924
        echo "$URI_LIBCURL_PKG_ERRORS" >&5
 
33925
 
 
33926
        { echo "$as_me:$LINENO: result: no" >&5
 
33927
echo "${ECHO_T}no" >&6; }
 
33928
                { echo "$as_me:$LINENO: result: no" >&5
 
33929
echo "${ECHO_T}no" >&6; }
 
33930
  have_libcurl="no (libcurl not found)"
 
33931
elif test $pkg_failed = untried; then
 
33932
        { echo "$as_me:$LINENO: result: no" >&5
 
33933
echo "${ECHO_T}no" >&6; }
 
33934
  have_libcurl="no (libcurl not found)"
 
33935
else
 
33936
        URI_LIBCURL_CFLAGS=$pkg_cv_URI_LIBCURL_CFLAGS
 
33937
        URI_LIBCURL_LIBS=$pkg_cv_URI_LIBCURL_LIBS
 
33938
        { echo "$as_me:$LINENO: result: yes" >&5
 
33939
echo "${ECHO_T}yes" >&6; }
 
33940
        have_libcurl=yes
 
33941
fi
 
33942
 
 
33943
fi
 
33944
 
 
33945
 
 
33946
 
 
33947
if test "x$have_libcurl" = xyes; then
 
33948
  HAVE_LIBCURL_TRUE=
 
33949
  HAVE_LIBCURL_FALSE='#'
 
33950
else
 
33951
  HAVE_LIBCURL_TRUE='#'
 
33952
  HAVE_LIBCURL_FALSE=
 
33953
fi
 
33954
 
 
33955
 
 
33956
if test "x$have_gnomevfs" = xyes; then
 
33957
  uri_plugin="yes (using gnome-vfs)"
 
33958
elif test x"$have_libcurl" = xyes; then
 
33959
  uri_plugin="yes (using libcurl)"
 
33960
elif test x"$os_win32" = xno; then
 
33961
  uri_plugin="yes (using wget)"
 
33962
fi
 
33963
 
 
33964
if test "x$have_gnomeui" = xyes; then
 
33965
 
 
33966
cat >>confdefs.h <<\_ACEOF
 
33967
#define HAVE_GNOMEUI 1
 
33968
_ACEOF
 
33969
 
 
33970
fi
 
33971
 
 
33972
if test "x$have_gnome_keyring" = xyes; then
 
33973
 
 
33974
cat >>confdefs.h <<\_ACEOF
 
33975
#define HAVE_GNOME_KEYRING 1
 
33976
_ACEOF
 
33977
 
 
33978
fi
 
33979
 
 
33980
 
 
33981
 
 
33982
 
35452
33983
###################
35453
33984
# Check for libwmf2
35454
33985
###################
35455
33986
 
 
33987
have_libwmf=no
35456
33988
# Extract the first word of "libwmf-config", so it can be a program name with args.
35457
33989
set dummy libwmf-config; ac_word=$2
35458
33990
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35471
34003
  IFS=$as_save_IFS
35472
34004
  test -z "$as_dir" && as_dir=.
35473
34005
  for ac_exec_ext in '' $ac_executable_extensions; do
35474
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
34006
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35475
34007
    ac_cv_path_WMF_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35476
34008
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35477
34009
    break 2
35495
34027
 
35496
34028
 
35497
34029
if test "x$WMF_CONFIG" != "xno" ; then
 
34030
  have_libwmf=yes
35498
34031
  { echo "$as_me:$LINENO: checking for libwmf >= 0.2.8" >&5
35499
34032
echo $ECHO_N "checking for libwmf >= 0.2.8... $ECHO_C" >&6; }
35500
34033
  wmf_version=`$WMF_CONFIG --version`
35505
34038
    LIBWMF=`$WMF_CONFIG --libs`
35506
34039
    WMF_CFLAGS=`$WMF_CONFIG --cflags`
35507
34040
  else
35508
 
    { echo "$as_me:$LINENO: WARNING: *** WMF plug-in will not be built (libwmf is too old)" >&5
35509
 
echo "$as_me: WARNING: *** WMF plug-in will not be built (libwmf is too old)" >&2;}
 
34041
    have_libwmf="no (libwmf is too old)"
35510
34042
  fi
35511
34043
else
35512
 
  { echo "$as_me:$LINENO: WARNING: *** WMF plug-in will not be built (libwmf not found) ***" >&5
35513
 
echo "$as_me: WARNING: *** WMF plug-in will not be built (libwmf not found) ***" >&2;}
 
34044
  have_libwmf="no (libwmf not found)"
35514
34045
fi
35515
34046
 
35516
34047
 
35517
34048
 
35518
34049
 
 
34050
 
35519
34051
################
35520
34052
# Check for lcms
35521
34053
################
35571
34103
  rm -f conftest.er1
35572
34104
  cat conftest.err >&5
35573
34105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35574
 
  (exit $ac_status); } &&
35575
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35576
 
  { (case "(($ac_try" in
35577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35578
 
  *) ac_try_echo=$ac_try;;
35579
 
esac
35580
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35581
 
  (eval "$ac_try") 2>&5
35582
 
  ac_status=$?
35583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584
 
  (exit $ac_status); }; } &&
35585
 
         { ac_try='test -s conftest$ac_exeext'
35586
 
  { (case "(($ac_try" in
35587
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35588
 
  *) ac_try_echo=$ac_try;;
35589
 
esac
35590
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35591
 
  (eval "$ac_try") 2>&5
35592
 
  ac_status=$?
35593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594
 
  (exit $ac_status); }; }; then
 
34106
  (exit $ac_status); } && {
 
34107
         test -z "$ac_c_werror_flag" ||
 
34108
         test ! -s conftest.err
 
34109
       } && test -s conftest$ac_exeext &&
 
34110
       $as_test_x conftest$ac_exeext; then
35595
34111
  ac_cv_lib_lcms_cmsCreate_sRGBProfile=yes
35596
34112
else
35597
34113
  echo "$as_me: failed program was:" >&5
35600
34116
        ac_cv_lib_lcms_cmsCreate_sRGBProfile=no
35601
34117
fi
35602
34118
 
35603
 
rm -f core conftest.err conftest.$ac_objext \
 
34119
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35604
34120
      conftest$ac_exeext conftest.$ac_ext
35605
34121
LIBS=$ac_check_lib_save_LIBS
35606
34122
fi
35642
34158
  rm -f conftest.er1
35643
34159
  cat conftest.err >&5
35644
34160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645
 
  (exit $ac_status); } &&
35646
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35647
 
  { (case "(($ac_try" in
35648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35649
 
  *) ac_try_echo=$ac_try;;
35650
 
esac
35651
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35652
 
  (eval "$ac_try") 2>&5
35653
 
  ac_status=$?
35654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655
 
  (exit $ac_status); }; } &&
35656
 
         { ac_try='test -s conftest.$ac_objext'
35657
 
  { (case "(($ac_try" in
35658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35659
 
  *) ac_try_echo=$ac_try;;
35660
 
esac
35661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35662
 
  (eval "$ac_try") 2>&5
35663
 
  ac_status=$?
35664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665
 
  (exit $ac_status); }; }; then
 
34161
  (exit $ac_status); } && {
 
34162
         test -z "$ac_c_werror_flag" ||
 
34163
         test ! -s conftest.err
 
34164
       } && test -s conftest.$ac_objext; then
35666
34165
  ac_header_compiler=yes
35667
34166
else
35668
34167
  echo "$as_me: failed program was:" >&5
35698
34197
  rm -f conftest.er1
35699
34198
  cat conftest.err >&5
35700
34199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701
 
  (exit $ac_status); } >/dev/null; then
35702
 
  if test -s conftest.err; then
35703
 
    ac_cpp_err=$ac_c_preproc_warn_flag
35704
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35705
 
  else
35706
 
    ac_cpp_err=
35707
 
  fi
35708
 
else
35709
 
  ac_cpp_err=yes
35710
 
fi
35711
 
if test -z "$ac_cpp_err"; then
 
34200
  (exit $ac_status); } >/dev/null && {
 
34201
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
34202
         test ! -s conftest.err
 
34203
       }; then
35712
34204
  ac_header_preproc=yes
35713
34205
else
35714
34206
  echo "$as_me: failed program was:" >&5
35800
34292
  rm -f conftest.er1
35801
34293
  cat conftest.err >&5
35802
34294
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803
 
  (exit $ac_status); } &&
35804
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35805
 
  { (case "(($ac_try" in
35806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35807
 
  *) ac_try_echo=$ac_try;;
35808
 
esac
35809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35810
 
  (eval "$ac_try") 2>&5
35811
 
  ac_status=$?
35812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813
 
  (exit $ac_status); }; } &&
35814
 
         { ac_try='test -s conftest.$ac_objext'
35815
 
  { (case "(($ac_try" in
35816
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35817
 
  *) ac_try_echo=$ac_try;;
35818
 
esac
35819
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35820
 
  (eval "$ac_try") 2>&5
35821
 
  ac_status=$?
35822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823
 
  (exit $ac_status); }; }; then
 
34295
  (exit $ac_status); } && {
 
34296
         test -z "$ac_c_werror_flag" ||
 
34297
         test ! -s conftest.err
 
34298
       } && test -s conftest.$ac_objext; then
35824
34299
  ac_header_compiler=yes
35825
34300
else
35826
34301
  echo "$as_me: failed program was:" >&5
35856
34331
  rm -f conftest.er1
35857
34332
  cat conftest.err >&5
35858
34333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859
 
  (exit $ac_status); } >/dev/null; then
35860
 
  if test -s conftest.err; then
35861
 
    ac_cpp_err=$ac_c_preproc_warn_flag
35862
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35863
 
  else
35864
 
    ac_cpp_err=
35865
 
  fi
35866
 
else
35867
 
  ac_cpp_err=yes
35868
 
fi
35869
 
if test -z "$ac_cpp_err"; then
 
34334
  (exit $ac_status); } >/dev/null && {
 
34335
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
34336
         test ! -s conftest.err
 
34337
       }; then
35870
34338
  ac_header_preproc=yes
35871
34339
else
35872
34340
  echo "$as_me: failed program was:" >&5
35938
34406
fi
35939
34407
 
35940
34408
  if test $have_lcms = yes; then
35941
 
    LCMS_LIBS="-llcms"
 
34409
    LIBLCMS="-llcms"
 
34410
    LCMS='lcms$(EXEEXT)'
35942
34411
  else
35943
 
    { echo "$as_me:$LINENO: WARNING: *** color proof module will not be built (lcms not found or unusable) ***" >&5
35944
 
echo "$as_me: WARNING: *** color proof module will not be built (lcms not found or unusable) ***" >&2;}
 
34412
    have_lcms="no (lcms not found or unusable)"
35945
34413
  fi
35946
34414
else
35947
 
  { echo "$as_me:$LINENO: WARNING: *** color proof module will not be built (lcms support disabled) ***" >&5
35948
 
echo "$as_me: WARNING: *** color proof module will not be built (lcms support disabled) ***" >&2;}
 
34415
  have_lcms="no (lcms support disabled)"
35949
34416
fi
35950
34417
 
35951
34418
 
35952
34419
 
35953
34420
 
 
34421
 
35954
34422
if test $have_lcms = yes; then
35955
34423
  HAVE_LCMS_TRUE=
35956
34424
  HAVE_LCMS_FALSE='#'
35965
34433
# Check for alsa
35966
34434
################
35967
34435
 
35968
 
alsa_save_CFLAGS="$CFLAGS"
 
34436
have_alsa=no
 
34437
 
 
34438
# Check whether --with-alsa was given.
 
34439
if test "${with_alsa+set}" = set; then
 
34440
  withval=$with_alsa;
 
34441
fi
 
34442
 
 
34443
 
 
34444
if test "x$with_alsa" != xno; then
 
34445
  have_alsa=yes
 
34446
  alsa_save_CFLAGS="$CFLAGS"
35969
34447
alsa_save_LDFLAGS="$LDFLAGS"
35970
34448
alsa_save_LIBS="$LIBS"
35971
34449
alsa_found=yes
36014
34492
fi
36015
34493
 
36016
34494
ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
36017
 
LIBS=`echo $LIBS | sed 's/-lm//'`
36018
 
LIBS=`echo $LIBS | sed 's/-ldl//'`
36019
 
LIBS=`echo $LIBS | sed 's/-lpthread//'`
36020
 
LIBS=`echo $LIBS | sed 's/  //'`
36021
34495
LIBS="$ALSA_LIBS $LIBS"
36022
34496
{ echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
36023
34497
echo "${ECHO_T}$ALSA_LIBS" >&6; }
36102
34576
  rm -f conftest.er1
36103
34577
  cat conftest.err >&5
36104
34578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105
 
  (exit $ac_status); } &&
36106
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36107
 
  { (case "(($ac_try" in
36108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36109
 
  *) ac_try_echo=$ac_try;;
36110
 
esac
36111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36112
 
  (eval "$ac_try") 2>&5
36113
 
  ac_status=$?
36114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115
 
  (exit $ac_status); }; } &&
36116
 
         { ac_try='test -s conftest.$ac_objext'
36117
 
  { (case "(($ac_try" in
36118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36119
 
  *) ac_try_echo=$ac_try;;
36120
 
esac
36121
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36122
 
  (eval "$ac_try") 2>&5
36123
 
  ac_status=$?
36124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125
 
  (exit $ac_status); }; }; then
 
34579
  (exit $ac_status); } && {
 
34580
         test -z "$ac_c_werror_flag" ||
 
34581
         test ! -s conftest.err
 
34582
       } && test -s conftest.$ac_objext; then
36126
34583
  { echo "$as_me:$LINENO: result: found." >&5
36127
34584
echo "${ECHO_T}found." >&6; }
36128
34585
else
36188
34645
  rm -f conftest.er1
36189
34646
  cat conftest.err >&5
36190
34647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191
 
  (exit $ac_status); } &&
36192
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36193
 
  { (case "(($ac_try" in
36194
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195
 
  *) ac_try_echo=$ac_try;;
36196
 
esac
36197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198
 
  (eval "$ac_try") 2>&5
36199
 
  ac_status=$?
36200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201
 
  (exit $ac_status); }; } &&
36202
 
         { ac_try='test -s conftest$ac_exeext'
36203
 
  { (case "(($ac_try" in
36204
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36205
 
  *) ac_try_echo=$ac_try;;
36206
 
esac
36207
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36208
 
  (eval "$ac_try") 2>&5
36209
 
  ac_status=$?
36210
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211
 
  (exit $ac_status); }; }; then
 
34648
  (exit $ac_status); } && {
 
34649
         test -z "$ac_c_werror_flag" ||
 
34650
         test ! -s conftest.err
 
34651
       } && test -s conftest$ac_exeext &&
 
34652
       $as_test_x conftest$ac_exeext; then
36212
34653
  ac_cv_lib_asound_snd_ctl_open=yes
36213
34654
else
36214
34655
  echo "$as_me: failed program was:" >&5
36217
34658
        ac_cv_lib_asound_snd_ctl_open=no
36218
34659
fi
36219
34660
 
36220
 
rm -f core conftest.err conftest.$ac_objext \
 
34661
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36221
34662
      conftest$ac_exeext conftest.$ac_ext
36222
34663
LIBS=$ac_check_lib_save_LIBS
36223
34664
fi
36250
34691
else
36251
34692
   ALSA_CFLAGS=""
36252
34693
   ALSA_LIBS=""
36253
 
   { echo "$as_me:$LINENO: WARNING: *** midi input controller will be built without alsa support (alsa not found or unuseable) ***" >&5
36254
 
echo "$as_me: WARNING: *** midi input controller will be built without alsa support (alsa not found or unuseable) ***" >&2;}
36255
 
fi
36256
 
 
36257
 
 
36258
 
 
36259
 
 
 
34694
   have_alsa="no (libasound not found or unusable)"
 
34695
fi
 
34696
 
 
34697
 
 
34698
 
 
34699
 
 
34700
fi
36260
34701
 
36261
34702
 
36262
34703
#######################
36263
 
# Check for linux input
 
34704
# Check for Linux Input
36264
34705
#######################
36265
34706
 
36266
34707
 
36306
34747
  rm -f conftest.er1
36307
34748
  cat conftest.err >&5
36308
34749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309
 
  (exit $ac_status); } &&
36310
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36311
 
  { (case "(($ac_try" in
36312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36313
 
  *) ac_try_echo=$ac_try;;
36314
 
esac
36315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36316
 
  (eval "$ac_try") 2>&5
36317
 
  ac_status=$?
36318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319
 
  (exit $ac_status); }; } &&
36320
 
         { ac_try='test -s conftest.$ac_objext'
36321
 
  { (case "(($ac_try" in
36322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36323
 
  *) ac_try_echo=$ac_try;;
36324
 
esac
36325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36326
 
  (eval "$ac_try") 2>&5
36327
 
  ac_status=$?
36328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36329
 
  (exit $ac_status); }; }; then
 
34750
  (exit $ac_status); } && {
 
34751
         test -z "$ac_c_werror_flag" ||
 
34752
         test ! -s conftest.err
 
34753
       } && test -s conftest.$ac_objext; then
36330
34754
  ac_header_compiler=yes
36331
34755
else
36332
34756
  echo "$as_me: failed program was:" >&5
36362
34786
  rm -f conftest.er1
36363
34787
  cat conftest.err >&5
36364
34788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365
 
  (exit $ac_status); } >/dev/null; then
36366
 
  if test -s conftest.err; then
36367
 
    ac_cpp_err=$ac_c_preproc_warn_flag
36368
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36369
 
  else
36370
 
    ac_cpp_err=
36371
 
  fi
36372
 
else
36373
 
  ac_cpp_err=yes
36374
 
fi
36375
 
if test -z "$ac_cpp_err"; then
 
34789
  (exit $ac_status); } >/dev/null && {
 
34790
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
34791
         test ! -s conftest.err
 
34792
       }; then
36376
34793
  ac_header_preproc=yes
36377
34794
else
36378
34795
  echo "$as_me: failed program was:" >&5
36445
34862
 
36446
34863
 
36447
34864
 
 
34865
###############################
 
34866
# Check for DirectX DirectInput
 
34867
###############################
 
34868
 
 
34869
 
 
34870
# Check whether --with-directx-sdk was given.
 
34871
if test "${with_directx_sdk+set}" = set; then
 
34872
  withval=$with_directx_sdk;
 
34873
fi
 
34874
 
 
34875
 
 
34876
have_dx_dinput=no
 
34877
if test x"$os_win32" = xyes; then
 
34878
  case "$with_directx_sdk" in
 
34879
    *" "*) { echo "$as_me:$LINENO: WARNING: The DirectX SDK should be accessible through a path without spaces. Use MSYS mounts. Ignoring your --with-directx-sdk switch." >&5
 
34880
echo "$as_me: WARNING: The DirectX SDK should be accessible through a path without spaces. Use MSYS mounts. Ignoring your --with-directx-sdk switch." >&2;}
 
34881
           with_directx_sdk=;;
 
34882
    *\\*) { echo "$as_me:$LINENO: WARNING: Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch." >&5
 
34883
echo "$as_me: WARNING: Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch." >&2;}
 
34884
           with_directx_sdk=;;
 
34885
  esac
 
34886
 
 
34887
  dinput_save_CPPFLAGS="$CPPFLAGS"
 
34888
  dinput_save_LDFLAGS="$CPPFLAGS"
 
34889
  if test "x$with_directx_sdk" != x; then
 
34890
    CPPFLAGS="-I $with_directx_sdk/Include $CPPFLAGS"
 
34891
    LDFLAGS="-L$with_directx_sdk/Lib/x86 $LDFLAGS"
 
34892
    if test "${ac_cv_header_dinput_h+set}" = set; then
 
34893
  { echo "$as_me:$LINENO: checking for dinput.h" >&5
 
34894
echo $ECHO_N "checking for dinput.h... $ECHO_C" >&6; }
 
34895
if test "${ac_cv_header_dinput_h+set}" = set; then
 
34896
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
34897
fi
 
34898
{ echo "$as_me:$LINENO: result: $ac_cv_header_dinput_h" >&5
 
34899
echo "${ECHO_T}$ac_cv_header_dinput_h" >&6; }
 
34900
else
 
34901
  # Is the header compilable?
 
34902
{ echo "$as_me:$LINENO: checking dinput.h usability" >&5
 
34903
echo $ECHO_N "checking dinput.h usability... $ECHO_C" >&6; }
 
34904
cat >conftest.$ac_ext <<_ACEOF
 
34905
/* confdefs.h.  */
 
34906
_ACEOF
 
34907
cat confdefs.h >>conftest.$ac_ext
 
34908
cat >>conftest.$ac_ext <<_ACEOF
 
34909
/* end confdefs.h.  */
 
34910
$ac_includes_default
 
34911
#include <dinput.h>
 
34912
_ACEOF
 
34913
rm -f conftest.$ac_objext
 
34914
if { (ac_try="$ac_compile"
 
34915
case "(($ac_try" in
 
34916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34917
  *) ac_try_echo=$ac_try;;
 
34918
esac
 
34919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34920
  (eval "$ac_compile") 2>conftest.er1
 
34921
  ac_status=$?
 
34922
  grep -v '^ *+' conftest.er1 >conftest.err
 
34923
  rm -f conftest.er1
 
34924
  cat conftest.err >&5
 
34925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34926
  (exit $ac_status); } && {
 
34927
         test -z "$ac_c_werror_flag" ||
 
34928
         test ! -s conftest.err
 
34929
       } && test -s conftest.$ac_objext; then
 
34930
  ac_header_compiler=yes
 
34931
else
 
34932
  echo "$as_me: failed program was:" >&5
 
34933
sed 's/^/| /' conftest.$ac_ext >&5
 
34934
 
 
34935
        ac_header_compiler=no
 
34936
fi
 
34937
 
 
34938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
34939
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
34940
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
34941
 
 
34942
# Is the header present?
 
34943
{ echo "$as_me:$LINENO: checking dinput.h presence" >&5
 
34944
echo $ECHO_N "checking dinput.h presence... $ECHO_C" >&6; }
 
34945
cat >conftest.$ac_ext <<_ACEOF
 
34946
/* confdefs.h.  */
 
34947
_ACEOF
 
34948
cat confdefs.h >>conftest.$ac_ext
 
34949
cat >>conftest.$ac_ext <<_ACEOF
 
34950
/* end confdefs.h.  */
 
34951
#include <dinput.h>
 
34952
_ACEOF
 
34953
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
34954
case "(($ac_try" in
 
34955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34956
  *) ac_try_echo=$ac_try;;
 
34957
esac
 
34958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34959
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
34960
  ac_status=$?
 
34961
  grep -v '^ *+' conftest.er1 >conftest.err
 
34962
  rm -f conftest.er1
 
34963
  cat conftest.err >&5
 
34964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
34965
  (exit $ac_status); } >/dev/null && {
 
34966
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
34967
         test ! -s conftest.err
 
34968
       }; then
 
34969
  ac_header_preproc=yes
 
34970
else
 
34971
  echo "$as_me: failed program was:" >&5
 
34972
sed 's/^/| /' conftest.$ac_ext >&5
 
34973
 
 
34974
  ac_header_preproc=no
 
34975
fi
 
34976
 
 
34977
rm -f conftest.err conftest.$ac_ext
 
34978
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
34979
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
34980
 
 
34981
# So?  What about this header?
 
34982
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
34983
  yes:no: )
 
34984
    { echo "$as_me:$LINENO: WARNING: dinput.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
34985
echo "$as_me: WARNING: dinput.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
34986
    { echo "$as_me:$LINENO: WARNING: dinput.h: proceeding with the compiler's result" >&5
 
34987
echo "$as_me: WARNING: dinput.h: proceeding with the compiler's result" >&2;}
 
34988
    ac_header_preproc=yes
 
34989
    ;;
 
34990
  no:yes:* )
 
34991
    { echo "$as_me:$LINENO: WARNING: dinput.h: present but cannot be compiled" >&5
 
34992
echo "$as_me: WARNING: dinput.h: present but cannot be compiled" >&2;}
 
34993
    { echo "$as_me:$LINENO: WARNING: dinput.h:     check for missing prerequisite headers?" >&5
 
34994
echo "$as_me: WARNING: dinput.h:     check for missing prerequisite headers?" >&2;}
 
34995
    { echo "$as_me:$LINENO: WARNING: dinput.h: see the Autoconf documentation" >&5
 
34996
echo "$as_me: WARNING: dinput.h: see the Autoconf documentation" >&2;}
 
34997
    { echo "$as_me:$LINENO: WARNING: dinput.h:     section \"Present But Cannot Be Compiled\"" >&5
 
34998
echo "$as_me: WARNING: dinput.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
34999
    { echo "$as_me:$LINENO: WARNING: dinput.h: proceeding with the preprocessor's result" >&5
 
35000
echo "$as_me: WARNING: dinput.h: proceeding with the preprocessor's result" >&2;}
 
35001
    { echo "$as_me:$LINENO: WARNING: dinput.h: in the future, the compiler will take precedence" >&5
 
35002
echo "$as_me: WARNING: dinput.h: in the future, the compiler will take precedence" >&2;}
 
35003
    ( cat <<\_ASBOX
 
35004
## ------------------------------------------------------------------- ##
 
35005
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
 
35006
## ------------------------------------------------------------------- ##
 
35007
_ASBOX
 
35008
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
35009
    ;;
 
35010
esac
 
35011
{ echo "$as_me:$LINENO: checking for dinput.h" >&5
 
35012
echo $ECHO_N "checking for dinput.h... $ECHO_C" >&6; }
 
35013
if test "${ac_cv_header_dinput_h+set}" = set; then
 
35014
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35015
else
 
35016
  ac_cv_header_dinput_h=$ac_header_preproc
 
35017
fi
 
35018
{ echo "$as_me:$LINENO: result: $ac_cv_header_dinput_h" >&5
 
35019
echo "${ECHO_T}$ac_cv_header_dinput_h" >&6; }
 
35020
 
 
35021
fi
 
35022
if test $ac_cv_header_dinput_h = yes; then
 
35023
  { echo "$as_me:$LINENO: checking for GUID_XAxis in -ldxguid" >&5
 
35024
echo $ECHO_N "checking for GUID_XAxis in -ldxguid... $ECHO_C" >&6; }
 
35025
if test "${ac_cv_lib_dxguid_GUID_XAxis+set}" = set; then
 
35026
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35027
else
 
35028
  ac_check_lib_save_LIBS=$LIBS
 
35029
LIBS="-ldxguid  $LIBS"
 
35030
cat >conftest.$ac_ext <<_ACEOF
 
35031
/* confdefs.h.  */
 
35032
_ACEOF
 
35033
cat confdefs.h >>conftest.$ac_ext
 
35034
cat >>conftest.$ac_ext <<_ACEOF
 
35035
/* end confdefs.h.  */
 
35036
 
 
35037
/* Override any GCC internal prototype to avoid an error.
 
35038
   Use char because int might match the return type of a GCC
 
35039
   builtin and then its argument prototype would still apply.  */
 
35040
#ifdef __cplusplus
 
35041
extern "C"
 
35042
#endif
 
35043
char GUID_XAxis ();
 
35044
int
 
35045
main ()
 
35046
{
 
35047
return GUID_XAxis ();
 
35048
  ;
 
35049
  return 0;
 
35050
}
 
35051
_ACEOF
 
35052
rm -f conftest.$ac_objext conftest$ac_exeext
 
35053
if { (ac_try="$ac_link"
 
35054
case "(($ac_try" in
 
35055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35056
  *) ac_try_echo=$ac_try;;
 
35057
esac
 
35058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35059
  (eval "$ac_link") 2>conftest.er1
 
35060
  ac_status=$?
 
35061
  grep -v '^ *+' conftest.er1 >conftest.err
 
35062
  rm -f conftest.er1
 
35063
  cat conftest.err >&5
 
35064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35065
  (exit $ac_status); } && {
 
35066
         test -z "$ac_c_werror_flag" ||
 
35067
         test ! -s conftest.err
 
35068
       } && test -s conftest$ac_exeext &&
 
35069
       $as_test_x conftest$ac_exeext; then
 
35070
  ac_cv_lib_dxguid_GUID_XAxis=yes
 
35071
else
 
35072
  echo "$as_me: failed program was:" >&5
 
35073
sed 's/^/| /' conftest.$ac_ext >&5
 
35074
 
 
35075
        ac_cv_lib_dxguid_GUID_XAxis=no
 
35076
fi
 
35077
 
 
35078
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
35079
      conftest$ac_exeext conftest.$ac_ext
 
35080
LIBS=$ac_check_lib_save_LIBS
 
35081
fi
 
35082
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dxguid_GUID_XAxis" >&5
 
35083
echo "${ECHO_T}$ac_cv_lib_dxguid_GUID_XAxis" >&6; }
 
35084
if test $ac_cv_lib_dxguid_GUID_XAxis = yes; then
 
35085
  have_dx_dinput=yes
 
35086
fi
 
35087
 
 
35088
fi
 
35089
 
 
35090
 
 
35091
  fi
 
35092
 
 
35093
  if test "x$have_dx_dinput" = xyes; then
 
35094
 
 
35095
cat >>confdefs.h <<\_ACEOF
 
35096
#define HAVE_DX_DINPUT 1
 
35097
_ACEOF
 
35098
 
 
35099
  else
 
35100
    CPPFLAGS="$dinput_save_CPPFLAGS"
 
35101
    LDFLAGS="$dinput_save_LDFLAGS"
 
35102
  fi
 
35103
fi
 
35104
 
 
35105
 
 
35106
 
 
35107
if test $have_dx_dinput = yes; then
 
35108
  HAVE_DX_DINPUT_TRUE=
 
35109
  HAVE_DX_DINPUT_FALSE='#'
 
35110
else
 
35111
  HAVE_DX_DINPUT_TRUE='#'
 
35112
  HAVE_DX_DINPUT_FALSE=
 
35113
fi
 
35114
 
 
35115
 
 
35116
 
 
35117
###############################
 
35118
# Check for D-Bus GLib bindings
 
35119
###############################
 
35120
 
 
35121
 
 
35122
# Check whether --with-dbus was given.
 
35123
if test "${with_dbus+set}" = set; then
 
35124
  withval=$with_dbus;
 
35125
fi
 
35126
 
 
35127
 
 
35128
have_dbus_glib="no (disabled)"
 
35129
 
 
35130
if test x$with_dbus != xno; then
 
35131
 
 
35132
 
 
35133
pkg_failed=no
 
35134
{ echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
 
35135
echo $ECHO_N "checking for DBUS_GLIB... $ECHO_C" >&6; }
 
35136
 
 
35137
if test -n "$PKG_CONFIG"; then
 
35138
    if test -n "$DBUS_GLIB_CFLAGS"; then
 
35139
        pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
 
35140
    else
 
35141
        if test -n "$PKG_CONFIG" && \
 
35142
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
 
35143
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
 
35144
  ac_status=$?
 
35145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35146
  (exit $ac_status); }; then
 
35147
  pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
 
35148
else
 
35149
  pkg_failed=yes
 
35150
fi
 
35151
    fi
 
35152
else
 
35153
        pkg_failed=untried
 
35154
fi
 
35155
if test -n "$PKG_CONFIG"; then
 
35156
    if test -n "$DBUS_GLIB_LIBS"; then
 
35157
        pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
 
35158
    else
 
35159
        if test -n "$PKG_CONFIG" && \
 
35160
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
 
35161
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
 
35162
  ac_status=$?
 
35163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35164
  (exit $ac_status); }; then
 
35165
  pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
 
35166
else
 
35167
  pkg_failed=yes
 
35168
fi
 
35169
    fi
 
35170
else
 
35171
        pkg_failed=untried
 
35172
fi
 
35173
 
 
35174
 
 
35175
 
 
35176
if test $pkg_failed = yes; then
 
35177
 
 
35178
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
35179
        _pkg_short_errors_supported=yes
 
35180
else
 
35181
        _pkg_short_errors_supported=no
 
35182
fi
 
35183
        if test $_pkg_short_errors_supported = yes; then
 
35184
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
 
35185
        else
 
35186
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
 
35187
        fi
 
35188
        # Put the nasty error message in config.log where it belongs
 
35189
        echo "$DBUS_GLIB_PKG_ERRORS" >&5
 
35190
 
 
35191
        { echo "$as_me:$LINENO: result: no" >&5
 
35192
echo "${ECHO_T}no" >&6; }
 
35193
                { echo "$as_me:$LINENO: result: no" >&5
 
35194
echo "${ECHO_T}no" >&6; }
 
35195
  have_dbus_glib=no
 
35196
elif test $pkg_failed = untried; then
 
35197
        { echo "$as_me:$LINENO: result: no" >&5
 
35198
echo "${ECHO_T}no" >&6; }
 
35199
  have_dbus_glib=no
 
35200
else
 
35201
        DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
 
35202
        DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
 
35203
        { echo "$as_me:$LINENO: result: yes" >&5
 
35204
echo "${ECHO_T}yes" >&6; }
 
35205
        have_dbus_glib=yes
 
35206
fi
 
35207
 
 
35208
fi
 
35209
 
 
35210
if test "x$have_dbus_glib" = xyes; then
 
35211
  # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
 
35212
set dummy dbus-binding-tool; ac_word=$2
 
35213
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
35214
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
35215
if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then
 
35216
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35217
else
 
35218
  case $DBUS_BINDING_TOOL in
 
35219
  [\\/]* | ?:[\\/]*)
 
35220
  ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
 
35221
  ;;
 
35222
  *)
 
35223
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
35224
for as_dir in $PATH
 
35225
do
 
35226
  IFS=$as_save_IFS
 
35227
  test -z "$as_dir" && as_dir=.
 
35228
  for ac_exec_ext in '' $ac_executable_extensions; do
 
35229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
35230
    ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
 
35231
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
35232
    break 2
 
35233
  fi
 
35234
done
 
35235
done
 
35236
IFS=$as_save_IFS
 
35237
 
 
35238
  test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
 
35239
  ;;
 
35240
esac
 
35241
fi
 
35242
DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
 
35243
if test -n "$DBUS_BINDING_TOOL"; then
 
35244
  { echo "$as_me:$LINENO: result: $DBUS_BINDING_TOOL" >&5
 
35245
echo "${ECHO_T}$DBUS_BINDING_TOOL" >&6; }
 
35246
else
 
35247
  { echo "$as_me:$LINENO: result: no" >&5
 
35248
echo "${ECHO_T}no" >&6; }
 
35249
fi
 
35250
 
 
35251
 
 
35252
  if test x$DBUS_BINDING_TOOL = xno; then
 
35253
    { echo "$as_me:$LINENO: WARNING: Could not find dbus-binding-tool in your PATH" >&5
 
35254
echo "$as_me: WARNING: Could not find dbus-binding-tool in your PATH" >&2;}
 
35255
    have_dbus_glib="no (dbus-binding-tool not found)"
 
35256
  fi
 
35257
fi
 
35258
 
 
35259
if test "x$have_dbus_glib" = xyes; then
 
35260
 
 
35261
cat >>confdefs.h <<\_ACEOF
 
35262
#define HAVE_DBUS_GLIB 1
 
35263
_ACEOF
 
35264
 
 
35265
  GIMP_COMMAND='gimp-2.3'
 
35266
fi
 
35267
 
 
35268
 
 
35269
###############################################
 
35270
# Check for libhal (Hardware Abstraction Layer)
 
35271
###############################################
 
35272
 
 
35273
have_libhal=no
 
35274
 
 
35275
if test "x$have_linux_input" = xyes && test "x$have_dbus_glib" = xyes; then
 
35276
 
 
35277
pkg_failed=no
 
35278
{ echo "$as_me:$LINENO: checking for HAL" >&5
 
35279
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
 
35280
 
 
35281
if test -n "$PKG_CONFIG"; then
 
35282
    if test -n "$HAL_CFLAGS"; then
 
35283
        pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
 
35284
    else
 
35285
        if test -n "$PKG_CONFIG" && \
 
35286
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5.7\"") >&5
 
35287
  ($PKG_CONFIG --exists --print-errors "hal >= 0.5.7") 2>&5
 
35288
  ac_status=$?
 
35289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35290
  (exit $ac_status); }; then
 
35291
  pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= 0.5.7" 2>/dev/null`
 
35292
else
 
35293
  pkg_failed=yes
 
35294
fi
 
35295
    fi
 
35296
else
 
35297
        pkg_failed=untried
 
35298
fi
 
35299
if test -n "$PKG_CONFIG"; then
 
35300
    if test -n "$HAL_LIBS"; then
 
35301
        pkg_cv_HAL_LIBS="$HAL_LIBS"
 
35302
    else
 
35303
        if test -n "$PKG_CONFIG" && \
 
35304
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5.7\"") >&5
 
35305
  ($PKG_CONFIG --exists --print-errors "hal >= 0.5.7") 2>&5
 
35306
  ac_status=$?
 
35307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35308
  (exit $ac_status); }; then
 
35309
  pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= 0.5.7" 2>/dev/null`
 
35310
else
 
35311
  pkg_failed=yes
 
35312
fi
 
35313
    fi
 
35314
else
 
35315
        pkg_failed=untried
 
35316
fi
 
35317
 
 
35318
 
 
35319
 
 
35320
if test $pkg_failed = yes; then
 
35321
 
 
35322
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
35323
        _pkg_short_errors_supported=yes
 
35324
else
 
35325
        _pkg_short_errors_supported=no
 
35326
fi
 
35327
        if test $_pkg_short_errors_supported = yes; then
 
35328
                HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal >= 0.5.7"`
 
35329
        else
 
35330
                HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal >= 0.5.7"`
 
35331
        fi
 
35332
        # Put the nasty error message in config.log where it belongs
 
35333
        echo "$HAL_PKG_ERRORS" >&5
 
35334
 
 
35335
        { echo "$as_me:$LINENO: result: no" >&5
 
35336
echo "${ECHO_T}no" >&6; }
 
35337
                { echo "$as_me:$LINENO: result: no" >&5
 
35338
echo "${ECHO_T}no" >&6; }
 
35339
    have_libhal="no (libhal not found)"
 
35340
 
 
35341
elif test $pkg_failed = untried; then
 
35342
        { echo "$as_me:$LINENO: result: no" >&5
 
35343
echo "${ECHO_T}no" >&6; }
 
35344
    have_libhal="no (libhal not found)"
 
35345
 
 
35346
else
 
35347
        HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
 
35348
        HAL_LIBS=$pkg_cv_HAL_LIBS
 
35349
        { echo "$as_me:$LINENO: result: yes" >&5
 
35350
echo "${ECHO_T}yes" >&6; }
 
35351
        have_libhal=yes
 
35352
fi
 
35353
fi
 
35354
 
 
35355
if test "x$have_libhal" = xyes; then
 
35356
 
 
35357
cat >>confdefs.h <<\_ACEOF
 
35358
#define HAVE_LIBHAL 1
 
35359
_ACEOF
 
35360
 
 
35361
fi
 
35362
 
 
35363
 
36448
35364
############################################################
36449
35365
# GIF compression: Allow builder to specify at compile time
36450
35366
# which compression style she wants to use for GIFs.
36512
35428
  IFS=$as_save_IFS
36513
35429
  test -z "$as_dir" && as_dir=.
36514
35430
  for ac_exec_ext in '' $ac_executable_extensions; do
36515
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
35431
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36516
35432
    ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
36517
35433
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36518
35434
    break 2
36567
35483
  IFS=$as_save_IFS
36568
35484
  test -z "$as_dir" && as_dir=.
36569
35485
  for ac_exec_ext in '' $ac_executable_extensions; do
36570
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
35486
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36571
35487
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
36572
35488
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36573
35489
    break 2
36623
35539
# Check whether --enable-python was given.
36624
35540
if test "${enable_python+set}" = set; then
36625
35541
  enableval=$enable_python;
36626
 
else
36627
 
  enable_python=no
36628
35542
fi
36629
35543
 
36630
35544
 
36631
35545
 
 
35546
 
36632
35547
if test "x$enable_python" != xno; then
 
35548
  enable_python="yes"
36633
35549
 
36634
35550
 
36635
35551
 
36636
35552
 
36637
35553
        if test -n "$PYTHON"; then
36638
35554
      # If the user set $PYTHON, use it and don't search something else.
36639
 
      { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2" >&5
36640
 
echo $ECHO_N "checking whether $PYTHON version >= 2.2... $ECHO_C" >&6; }
 
35555
      { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3.5" >&5
 
35556
echo $ECHO_N "checking whether $PYTHON version >= 2.3.5... $ECHO_C" >&6; }
36641
35557
      prog="import sys, string
36642
35558
# split strings by '.' and convert to numeric.  Append some zeros
36643
35559
# because we need at least 4 digits for the hex conversion.
36644
 
minver = map(int, string.split('2.2', '.')) + [0, 0, 0]
 
35560
minver = map(int, string.split('2.3.5', '.')) + [0, 0, 0]
36645
35561
minverhex = 0
36646
35562
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
36647
35563
sys.exit(sys.hexversion < minverhex)"
36662
35578
    else
36663
35579
      # Otherwise, try each interpreter until we find one that satisfies
36664
35580
      # VERSION.
36665
 
      { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2" >&5
36666
 
echo $ECHO_N "checking for a Python interpreter with version >= 2.2... $ECHO_C" >&6; }
 
35581
      { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3.5" >&5
 
35582
echo $ECHO_N "checking for a Python interpreter with version >= 2.3.5... $ECHO_C" >&6; }
36667
35583
if test "${am_cv_pathless_PYTHON+set}" = set; then
36668
35584
  echo $ECHO_N "(cached) $ECHO_C" >&6
36669
35585
else
36673
35589
          prog="import sys, string
36674
35590
# split strings by '.' and convert to numeric.  Append some zeros
36675
35591
# because we need at least 4 digits for the hex conversion.
36676
 
minver = map(int, string.split('2.2', '.')) + [0, 0, 0]
 
35592
minver = map(int, string.split('2.3.5', '.')) + [0, 0, 0]
36677
35593
minverhex = 0
36678
35594
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
36679
35595
sys.exit(sys.hexversion < minverhex)"
36711
35627
  IFS=$as_save_IFS
36712
35628
  test -z "$as_dir" && as_dir=.
36713
35629
  for ac_exec_ext in '' $ac_executable_extensions; do
36714
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
35630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36715
35631
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36716
35632
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36717
35633
    break 2
36739
35655
 
36740
35656
 
36741
35657
  if test "$PYTHON" = :; then
36742
 
      { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
36743
 
echo "$as_me: error: no suitable Python interpreter found" >&2;}
 
35658
      { { echo "$as_me:$LINENO: error:
 
35659
*** Could not find Python 2.3.5 or better.
 
35660
*** Please install it, or skip building the python scripting extension by
 
35661
*** passing --disable-python to configure (but then you will not be able
 
35662
*** to use scripts for GIMP that are written in Python)." >&5
 
35663
echo "$as_me: error:
 
35664
*** Could not find Python 2.3.5 or better.
 
35665
*** Please install it, or skip building the python scripting extension by
 
35666
*** passing --disable-python to configure (but then you will not be able
 
35667
*** to use scripts for GIMP that are written in Python)." >&2;}
36744
35668
   { (exit 1); exit 1; }; }
36745
35669
  else
36746
35670
 
36819
35743
 
36820
35744
{ echo "$as_me:$LINENO: checking for headers required to compile python extensions" >&5
36821
35745
echo $ECHO_N "checking for headers required to compile python extensions... $ECHO_C" >&6; }
 
35746
if test "$PYTHON_PLATFORM" != "win32"; then
 
35747
  py_versiondir="/python${PYTHON_VERSION}"
 
35748
else
 
35749
  py_versiondir=
 
35750
fi
36822
35751
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
36823
35752
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
36824
 
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
 
35753
PYTHON_INCLUDES="-I${py_prefix}/include${py_versiondir}"
36825
35754
if test "$py_prefix" != "$py_exec_prefix"; then
36826
 
  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
 
35755
  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include${py_versiondir}"
36827
35756
fi
36828
35757
 
36829
35758
save_CPPFLAGS="$CPPFLAGS"
36848
35777
  rm -f conftest.er1
36849
35778
  cat conftest.err >&5
36850
35779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851
 
  (exit $ac_status); } >/dev/null; then
36852
 
  if test -s conftest.err; then
36853
 
    ac_cpp_err=$ac_c_preproc_warn_flag
36854
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36855
 
  else
36856
 
    ac_cpp_err=
36857
 
  fi
36858
 
else
36859
 
  ac_cpp_err=yes
36860
 
fi
36861
 
if test -z "$ac_cpp_err"; then
 
35780
  (exit $ac_status); } >/dev/null && {
 
35781
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
35782
         test ! -s conftest.err
 
35783
       }; then
36862
35784
  { echo "$as_me:$LINENO: result: found" >&5
36863
35785
echo "${ECHO_T}found" >&6; }
36864
35786
 
36868
35790
 
36869
35791
  { echo "$as_me:$LINENO: result: not found" >&5
36870
35792
echo "${ECHO_T}not found" >&6; }
36871
 
{ { echo "$as_me:$LINENO: error: could not find Python headers" >&5
36872
 
echo "$as_me: error: could not find Python headers" >&2;}
 
35793
{ { echo "$as_me:$LINENO: error:
 
35794
*** Could not find Python headers.
 
35795
*** Please install them, or skip building the python scripting extension by
 
35796
*** passing --disable-python to configure (but then you will not be able
 
35797
*** to use scripts for GIMP that are written in Python)." >&5
 
35798
echo "$as_me: error:
 
35799
*** Could not find Python headers.
 
35800
*** Please install them, or skip building the python scripting extension by
 
35801
*** passing --disable-python to configure (but then you will not be able
 
35802
*** to use scripts for GIMP that are written in Python)." >&2;}
36873
35803
   { (exit 1); exit 1; }; }
36874
35804
fi
36875
35805
 
36877
35807
CPPFLAGS="$save_CPPFLAGS"
36878
35808
 
36879
35809
 
 
35810
          PYLINK_LIBS=
 
35811
  if test "x$platform_win32" = "xyes"; then
 
35812
    PYBIN_PATH="$py_exec_prefix\pythonw.exe"
 
35813
    PYTHON_INCLUDES=`$echo "$PYTHON_INCLUDES" | sed -e 's/\\\\/\\//g'`
 
35814
    py_exec_prefix=`echo "$py_exec_prefix" | sed -e 's/\\\\/\\//g'`
 
35815
    pylibversion=`echo $PYTHON_VERSION | sed -e 's/\\.//'`
 
35816
    PYLINK_LIBS="-L${py_exec_prefix}/libs -lpython${pylibversion}"
 
35817
  else
 
35818
    PYBIN_PATH="$PYTHON"
 
35819
  fi
 
35820
 
 
35821
 
 
35822
 
36880
35823
 
36881
35824
pkg_failed=no
36882
35825
{ echo "$as_me:$LINENO: checking for PYGTK" >&5
36887
35830
        pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
36888
35831
    else
36889
35832
        if test -n "$PKG_CONFIG" && \
36890
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 1.99.15\"") >&5
36891
 
  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 1.99.15") 2>&5
 
35833
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.10.4\"") >&5
 
35834
  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.4") 2>&5
36892
35835
  ac_status=$?
36893
35836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894
35837
  (exit $ac_status); }; then
36895
 
  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 1.99.15" 2>/dev/null`
 
35838
  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.10.4" 2>/dev/null`
36896
35839
else
36897
35840
  pkg_failed=yes
36898
35841
fi
36905
35848
        pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
36906
35849
    else
36907
35850
        if test -n "$PKG_CONFIG" && \
36908
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 1.99.15\"") >&5
36909
 
  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 1.99.15") 2>&5
 
35851
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.10.4\"") >&5
 
35852
  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.4") 2>&5
36910
35853
  ac_status=$?
36911
35854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912
35855
  (exit $ac_status); }; then
36913
 
  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 1.99.15" 2>/dev/null`
 
35856
  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.10.4" 2>/dev/null`
36914
35857
else
36915
35858
  pkg_failed=yes
36916
35859
fi
36929
35872
        _pkg_short_errors_supported=no
36930
35873
fi
36931
35874
        if test $_pkg_short_errors_supported = yes; then
36932
 
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 1.99.15"`
 
35875
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 2.10.4"`
36933
35876
        else
36934
 
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 1.99.15"`
 
35877
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 2.10.4"`
36935
35878
        fi
36936
35879
        # Put the nasty error message in config.log where it belongs
36937
35880
        echo "$PYGTK_PKG_ERRORS" >&5
36938
35881
 
36939
 
        { { echo "$as_me:$LINENO: error: Package requirements (pygtk-2.0 >= 1.99.15) were not met:
36940
 
 
36941
 
$PYGTK_PKG_ERRORS
36942
 
 
36943
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
36944
 
installed software in a non-standard prefix.
36945
 
 
36946
 
Alternatively, you may set the environment variables PYGTK_CFLAGS
36947
 
and PYGTK_LIBS to avoid the need to call pkg-config.
36948
 
See the pkg-config man page for more details.
36949
 
" >&5
36950
 
echo "$as_me: error: Package requirements (pygtk-2.0 >= 1.99.15) were not met:
36951
 
 
36952
 
$PYGTK_PKG_ERRORS
36953
 
 
36954
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
36955
 
installed software in a non-standard prefix.
36956
 
 
36957
 
Alternatively, you may set the environment variables PYGTK_CFLAGS
36958
 
and PYGTK_LIBS to avoid the need to call pkg-config.
36959
 
See the pkg-config man page for more details.
36960
 
" >&2;}
 
35882
        { echo "$as_me:$LINENO: result: no" >&5
 
35883
echo "${ECHO_T}no" >&6; }
 
35884
                { { echo "$as_me:$LINENO: error:
 
35885
*** Could not find PyGTK.
 
35886
*** Please install it, or skip building the python scripting extension by
 
35887
*** passing --disable-python to configure (but then you will not be able
 
35888
*** to use scripts for GIMP that are written in Python)." >&5
 
35889
echo "$as_me: error:
 
35890
*** Could not find PyGTK.
 
35891
*** Please install it, or skip building the python scripting extension by
 
35892
*** passing --disable-python to configure (but then you will not be able
 
35893
*** to use scripts for GIMP that are written in Python)." >&2;}
36961
35894
   { (exit 1); exit 1; }; }
36962
35895
elif test $pkg_failed = untried; then
36963
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
36964
 
is in your PATH or set the PKG_CONFIG environment variable to the full
36965
 
path to pkg-config.
36966
 
 
36967
 
Alternatively, you may set the environment variables PYGTK_CFLAGS
36968
 
and PYGTK_LIBS to avoid the need to call pkg-config.
36969
 
See the pkg-config man page for more details.
36970
 
 
36971
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36972
 
See \`config.log' for more details." >&5
36973
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
36974
 
is in your PATH or set the PKG_CONFIG environment variable to the full
36975
 
path to pkg-config.
36976
 
 
36977
 
Alternatively, you may set the environment variables PYGTK_CFLAGS
36978
 
and PYGTK_LIBS to avoid the need to call pkg-config.
36979
 
See the pkg-config man page for more details.
36980
 
 
36981
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36982
 
See \`config.log' for more details." >&2;}
 
35896
        { { echo "$as_me:$LINENO: error:
 
35897
*** Could not find PyGTK.
 
35898
*** Please install it, or skip building the python scripting extension by
 
35899
*** passing --disable-python to configure (but then you will not be able
 
35900
*** to use scripts for GIMP that are written in Python)." >&5
 
35901
echo "$as_me: error:
 
35902
*** Could not find PyGTK.
 
35903
*** Please install it, or skip building the python scripting extension by
 
35904
*** passing --disable-python to configure (but then you will not be able
 
35905
*** to use scripts for GIMP that are written in Python)." >&2;}
36983
35906
   { (exit 1); exit 1; }; }
36984
35907
else
36985
35908
        PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
36989
35912
        :
36990
35913
fi
36991
35914
 
 
35915
  # Extract the first word of "pygtk-codegen-2.0", so it can be a program name with args.
 
35916
set dummy pygtk-codegen-2.0; ac_word=$2
 
35917
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
35918
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
35919
if test "${ac_cv_path_PYGTK_CODEGEN+set}" = set; then
 
35920
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35921
else
 
35922
  case $PYGTK_CODEGEN in
 
35923
  [\\/]* | ?:[\\/]*)
 
35924
  ac_cv_path_PYGTK_CODEGEN="$PYGTK_CODEGEN" # Let the user override the test with a path.
 
35925
  ;;
 
35926
  *)
 
35927
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
35928
for as_dir in $PATH
 
35929
do
 
35930
  IFS=$as_save_IFS
 
35931
  test -z "$as_dir" && as_dir=.
 
35932
  for ac_exec_ext in '' $ac_executable_extensions; do
 
35933
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
35934
    ac_cv_path_PYGTK_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
 
35935
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
35936
    break 2
 
35937
  fi
 
35938
done
 
35939
done
 
35940
IFS=$as_save_IFS
 
35941
 
 
35942
  test -z "$ac_cv_path_PYGTK_CODEGEN" && ac_cv_path_PYGTK_CODEGEN="no"
 
35943
  ;;
 
35944
esac
 
35945
fi
 
35946
PYGTK_CODEGEN=$ac_cv_path_PYGTK_CODEGEN
 
35947
if test -n "$PYGTK_CODEGEN"; then
 
35948
  { echo "$as_me:$LINENO: result: $PYGTK_CODEGEN" >&5
 
35949
echo "${ECHO_T}$PYGTK_CODEGEN" >&6; }
 
35950
else
 
35951
  { echo "$as_me:$LINENO: result: no" >&5
 
35952
echo "${ECHO_T}no" >&6; }
 
35953
fi
 
35954
 
 
35955
 
 
35956
  if test "x$PYGTK_CODEGEN" = xno; then
 
35957
    { { echo "$as_me:$LINENO: error:
 
35958
*** Could not find pygtk-codegen-2.0 script.
 
35959
*** Please install it, or skip building the python scripting extension by
 
35960
*** passing --disable-python to configure (but then you will not be able
 
35961
*** to use scripts for GIMP that are written in Python)." >&5
 
35962
echo "$as_me: error:
 
35963
*** Could not find pygtk-codegen-2.0 script.
 
35964
*** Please install it, or skip building the python scripting extension by
 
35965
*** passing --disable-python to configure (but then you will not be able
 
35966
*** to use scripts for GIMP that are written in Python)." >&2;}
 
35967
   { (exit 1); exit 1; }; }
 
35968
  fi
 
35969
 
 
35970
  { echo "$as_me:$LINENO: checking for pygtk defs" >&5
 
35971
echo $ECHO_N "checking for pygtk defs... $ECHO_C" >&6; }
 
35972
  PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
 
35973
 
 
35974
  { echo "$as_me:$LINENO: result: $PYGTK_DEFSDIR" >&5
 
35975
echo "${ECHO_T}$PYGTK_DEFSDIR" >&6; }
36992
35976
 
36993
35977
 
36994
35978
  PYGIMP_EXTRA_CFLAGS=
37026
36010
  rm -f conftest.er1
37027
36011
  cat conftest.err >&5
37028
36012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029
 
  (exit $ac_status); } &&
37030
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37031
 
  { (case "(($ac_try" in
37032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37033
 
  *) ac_try_echo=$ac_try;;
37034
 
esac
37035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37036
 
  (eval "$ac_try") 2>&5
37037
 
  ac_status=$?
37038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039
 
  (exit $ac_status); }; } &&
37040
 
         { ac_try='test -s conftest.$ac_objext'
37041
 
  { (case "(($ac_try" in
37042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37043
 
  *) ac_try_echo=$ac_try;;
37044
 
esac
37045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37046
 
  (eval "$ac_try") 2>&5
37047
 
  ac_status=$?
37048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049
 
  (exit $ac_status); }; }; then
 
36013
  (exit $ac_status); } && {
 
36014
         test -z "$ac_c_werror_flag" ||
 
36015
         test ! -s conftest.err
 
36016
       } && test -s conftest.$ac_objext; then
37050
36017
  PYGIMP_EXTRA_CFLAGS_works=yes
37051
36018
else
37052
36019
  echo "$as_me: failed program was:" >&5
37079
36046
 
37080
36047
 
37081
36048
 
 
36049
#########################################
 
36050
# Check whether script_fu should be built
 
36051
#########################################
 
36052
 
 
36053
have_script_fu=yes
 
36054
 
 
36055
# Check whether --with-script-fu was given.
 
36056
if test "${with_script_fu+set}" = set; then
 
36057
  withval=$with_script_fu;
 
36058
fi
 
36059
 
 
36060
 
 
36061
if test "x$with_script_fu" = "xno"; then
 
36062
  have_script_fu="no (script-fu extension disabled)"
 
36063
fi
 
36064
 
 
36065
 
 
36066
if test "x$with_script_fu" != "xno"; then
 
36067
  BUILD_SCRIPT_FU_TRUE=
 
36068
  BUILD_SCRIPT_FU_FALSE='#'
 
36069
else
 
36070
  BUILD_SCRIPT_FU_TRUE='#'
 
36071
  BUILD_SCRIPT_FU_FALSE=
 
36072
fi
 
36073
 
 
36074
 
 
36075
 
37082
36076
###########################################################
37083
36077
# Some plug-ins don't build on Win32, others are Win32-only
37084
36078
###########################################################
37085
36079
 
37086
 
if test x"$os_win32" = xyes; then
37087
 
  WINCLIPBOARD='winclipboard$(EXEEXT)'
37088
 
  WINPRINT='winprint$(EXEEXT)'
37089
 
else
 
36080
if test x"$os_win32" = xno; then
37090
36081
  MAIL='mail$(EXEEXT)'
37091
36082
  SCREENSHOT='screenshot$(EXEEXT)'
37092
 
  URL='url$(EXEEXT)'
37093
36083
fi
37094
36084
 
37095
36085
 
37096
36086
 
37097
36087
 
37098
36088
 
37099
 
 
37100
 
 
37101
 
 
37102
 
 
37103
36089
############################################################
37104
36090
# Check for Mac OS X TWAIN framework (can't build on Darwin)
37105
36091
############################################################
37106
36092
 
 
36093
mac_twain_ok=no
37107
36094
{ echo "$as_me:$LINENO: checking checking for Mac OS X TWAIN support" >&5
37108
36095
echo $ECHO_N "checking checking for Mac OS X TWAIN support... $ECHO_C" >&6; }
37109
36096
cat >conftest.$ac_ext <<_ACEOF
37129
36116
  rm -f conftest.er1
37130
36117
  cat conftest.err >&5
37131
36118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132
 
  (exit $ac_status); } >/dev/null; then
37133
 
  if test -s conftest.err; then
37134
 
    ac_cpp_err=$ac_c_preproc_warn_flag
37135
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37136
 
  else
37137
 
    ac_cpp_err=
37138
 
  fi
37139
 
else
37140
 
  ac_cpp_err=yes
37141
 
fi
37142
 
if test -z "$ac_cpp_err"; then
37143
 
  twain_ok=yes
 
36119
  (exit $ac_status); } >/dev/null && {
 
36120
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
36121
         test ! -s conftest.err
 
36122
       }; then
 
36123
  mac_twain_ok=yes
37144
36124
else
37145
36125
  echo "$as_me: failed program was:" >&5
37146
36126
sed 's/^/| /' conftest.$ac_ext >&5
37147
36127
 
37148
 
  twain_ok=no
 
36128
 
37149
36129
fi
37150
36130
 
37151
36131
rm -f conftest.err conftest.$ac_ext
37152
 
{ echo "$as_me:$LINENO: result: $twain_ok" >&5
37153
 
echo "${ECHO_T}$twain_ok" >&6; }
37154
 
 
37155
 
 
37156
 
if test x$twain_ok = xyes; then
 
36132
{ echo "$as_me:$LINENO: result: $mac_twain_ok" >&5
 
36133
echo "${ECHO_T}$mac_twain_ok" >&6; }
 
36134
 
 
36135
 
 
36136
if test x$mac_twain_ok = xyes; then
37157
36137
  HAVE_MAC_TWAIN_TRUE=
37158
36138
  HAVE_MAC_TWAIN_FALSE='#'
37159
36139
else
37215
36195
  IFS=$as_save_IFS
37216
36196
  test -z "$as_dir" && as_dir=.
37217
36197
  for ac_exec_ext in '' $ac_executable_extensions; do
37218
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
36198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37219
36199
    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
37220
36200
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37221
36201
    break 2
37267
36247
  IFS=$as_save_IFS
37268
36248
  test -z "$as_dir" && as_dir=.
37269
36249
  for ac_exec_ext in '' $ac_executable_extensions; do
37270
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
36250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37271
36251
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
37272
36252
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37273
36253
    break 2
37347
36327
  IFS=$as_save_IFS
37348
36328
  test -z "$as_dir" && as_dir=.
37349
36329
  for ac_exec_ext in '' $ac_executable_extensions; do
37350
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
36330
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37351
36331
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37352
36332
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37353
36333
    break 2
37436
36416
if test "${enable_default_binary+set}" = set; then
37437
36417
  enableval=$enable_default_binary;
37438
36418
else
37439
 
  enable_default_binary=yes
 
36419
  enable_default_binary=no
37440
36420
fi
37441
36421
 
37442
36422
 
37456
36436
if test "${enable_gimp_console+set}" = set; then
37457
36437
  enableval=$enable_gimp_console;
37458
36438
else
37459
 
  enable_gimp_console=no
 
36439
  enable_gimp_console=yes
37460
36440
fi
37461
36441
 
37462
36442
 
37463
36443
 
37464
36444
 
37465
 
if test x$enable_gimp_console = xyes; then
 
36445
if test x$enable_gimp_console != xno; then
37466
36446
  ENABLE_GIMP_CONSOLE_TRUE=
37467
36447
  ENABLE_GIMP_CONSOLE_FALSE='#'
37468
36448
else
37472
36452
 
37473
36453
 
37474
36454
 
37475
 
gimpdir=.gimp-2.2
 
36455
gimpdir=.gimp-2.3
37476
36456
 
37477
36457
# Check whether --with-gimpdir was given.
37478
36458
if test "${with_gimpdir+set}" = set; then
37497
36477
# GNU format message catalogs go into $datadir/locale,
37498
36478
# standard location is $libdir/locale. DATADIRNAME set accordingly.
37499
36479
 
37500
 
localedir="$datadir/locale"
 
36480
gimplocaledir="$datadir/locale"
37501
36481
if test "$DATADIRNAME" = "lib"; then
37502
 
   localedir="$libdir/locale"
 
36482
   gimplocaledir="$libdir/locale"
37503
36483
fi
37504
36484
 
37505
36485
 
37530
36510
 
37531
36511
 
37532
36512
 
37533
 
#############################
37534
 
# Disable deprecated GIMP API
37535
 
#############################
 
36513
#########################
 
36514
# Disable deprecated APIs
 
36515
#########################
37536
36516
 
37537
36517
CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED"
37538
36518
 
37539
 
##############################################################
37540
 
# Default to disable deprecated GTK+ stuff for 2.4.x and 2.6.x
37541
 
##############################################################
37542
 
 
37543
 
if test "x$have_glib_2_7" != "xyes"; then
 
36519
if test "x$have_glib_2_13" != "xyes"; then
37544
36520
  CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED"
37545
36521
fi
37546
36522
 
37547
 
if test "x$have_gtk_2_7" != "xyes"; then
 
36523
if test "x$have_gtk_2_11" != "xyes"; then
37548
36524
  CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
37549
36525
fi
37550
36526
 
37551
 
if test "x$have_pango_1_9" != "xyes"; then
 
36527
if test "x$have_pango_1_15" != "xyes"; then
37552
36528
  CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED"
37553
36529
fi
37554
36530
 
 
36531
 
37555
36532
############################
37556
36533
# Require multihead safe API
37557
36534
############################
37571
36548
ac_config_commands="$ac_config_commands libgimpbase/gimpversion.h"
37572
36549
 
37573
36550
 
37574
 
ac_config_files="$ac_config_files gimptool-win32.c tools/Makefile tools/pdbgen/Makefile regexrepl/Makefile libgimp/Makefile libgimpbase/Makefile libgimpcolor/Makefile libgimpmath/Makefile libgimpmodule/Makefile libgimpthumb/Makefile libgimpwidgets/Makefile app/Makefile app/actions/Makefile app/base/Makefile app/config/Makefile app/core/Makefile app/dialogs/Makefile app/display/Makefile app/file/Makefile app/gui/Makefile app/menus/Makefile app/paint/Makefile app/paint-funcs/Makefile app/composite/Makefile app/pdb/Makefile app/plug-in/Makefile app/text/Makefile app/tools/Makefile app/vectors/Makefile app/widgets/Makefile app/xcf/Makefile plug-ins/Makefile plug-ins/dbbrowser/Makefile plug-ins/script-fu/Makefile plug-ins/script-fu/siod/Makefile plug-ins/script-fu/scripts/Makefile plug-ins/script-fu/scripts/images/Makefile plug-ins/xjt/Makefile plug-ins/FractalExplorer/Makefile plug-ins/FractalExplorer/examples/Makefile plug-ins/Lighting/Makefile plug-ins/Lighting/images/Makefile plug-ins/MapObject/Makefile plug-ins/bmp/Makefile plug-ins/common/Makefile plug-ins/faxg3/Makefile plug-ins/fits/Makefile plug-ins/flame/Makefile plug-ins/gfig/Makefile plug-ins/gfig/gfig-examples/Makefile plug-ins/gfig/images/Makefile plug-ins/gflare/Makefile plug-ins/gflare/gflares/Makefile plug-ins/gfli/Makefile plug-ins/gimpressionist/Makefile plug-ins/gimpressionist/Brushes/Makefile plug-ins/gimpressionist/Paper/Makefile plug-ins/gimpressionist/Presets/Makefile plug-ins/help/Makefile plug-ins/helpbrowser/Makefile plug-ins/ifscompose/Makefile plug-ins/imagemap/Makefile plug-ins/imagemap/images/Makefile plug-ins/maze/Makefile plug-ins/pagecurl/Makefile plug-ins/print/Makefile plug-ins/pygimp/Makefile plug-ins/pygimp/doc/Makefile plug-ins/pygimp/plug-ins/Makefile plug-ins/rcm/Makefile plug-ins/rcm/images/Makefile plug-ins/sel2path/Makefile plug-ins/sgi/Makefile plug-ins/twain/Makefile plug-ins/winicon/Makefile plug-ins/winsnap/Makefile modules/Makefile devel-docs/Makefile devel-docs/app/Makefile devel-docs/app/version devel-docs/libgimp/Makefile devel-docs/libgimp/version devel-docs/libgimpbase/Makefile devel-docs/libgimpbase/version devel-docs/libgimpcolor/Makefile devel-docs/libgimpcolor/version devel-docs/libgimpmath/Makefile devel-docs/libgimpmath/version devel-docs/libgimpmodule/Makefile devel-docs/libgimpmodule/version devel-docs/libgimpthumb/Makefile devel-docs/libgimpthumb/version devel-docs/libgimpwidgets/Makefile devel-docs/libgimpwidgets/version docs/Makefile menus/Makefile tips/Makefile cursors/Makefile themes/Makefile themes/Default/Makefile themes/Default/images/Makefile themes/Default/images/preferences/Makefile themes/Small/Makefile data/Makefile data/environ/Makefile data/misc/Makefile data/misc/gimp.desktop.in data/misc/gimp.keys data/misc/gimp.applications data/images/Makefile data/brushes/Makefile data/gradients/Makefile data/palettes/Makefile data/patterns/Makefile etc/Makefile m4macros/Makefile po/Makefile.in po-libgimp/Makefile.in po-plug-ins/Makefile.in po-script-fu/Makefile.in gimp-zip Makefile"
37575
 
 
37576
 
 
37577
 
ac_config_files="$ac_config_files docs/gimp-2.2.1:docs/gimp.1.in docs/gimprc-2.2.5:docs/gimprc.5.in docs/gimptool-2.0.1:docs/gimptool.1.in docs/gimp-remote-2.2.1:docs/gimp-remote.1.in gimptool-2.0:gimptool-2.0.in gimp-2.0.pc:gimp.pc.in gimpthumb-2.0.pc:gimpthumb.pc.in gimpui-2.0.pc:gimpui.pc.in"
 
36551
ac_config_files="$ac_config_files gimptool-win32.c tools/Makefile tools/pdbgen/Makefile regexrepl/Makefile libgimp/Makefile libgimpbase/Makefile libgimpconfig/Makefile libgimpcolor/Makefile libgimpmath/Makefile libgimpmodule/Makefile libgimpthumb/Makefile libgimpwidgets/Makefile app/Makefile app/actions/Makefile app/base/Makefile app/config/Makefile app/core/Makefile app/dialogs/Makefile app/display/Makefile app/file/Makefile app/gui/Makefile app/menus/Makefile app/paint/Makefile app/paint-funcs/Makefile app/composite/Makefile app/pdb/Makefile app/plug-in/Makefile app/text/Makefile app/tools/Makefile app/vectors/Makefile app/widgets/Makefile app/xcf/Makefile plug-ins/Makefile plug-ins/script-fu/Makefile plug-ins/script-fu/ftx/Makefile plug-ins/script-fu/re/Makefile plug-ins/script-fu/tinyscheme/Makefile plug-ins/script-fu/scripts/Makefile plug-ins/script-fu/scripts/images/Makefile plug-ins/xjt/Makefile plug-ins/FractalExplorer/Makefile plug-ins/FractalExplorer/examples/Makefile plug-ins/Lighting/Makefile plug-ins/Lighting/images/Makefile plug-ins/MapObject/Makefile plug-ins/bmp/Makefile plug-ins/common/Makefile plug-ins/faxg3/Makefile plug-ins/fits/Makefile plug-ins/flame/Makefile plug-ins/gfig/Makefile plug-ins/gfig/gfig-examples/Makefile plug-ins/gfig/images/Makefile plug-ins/gflare/Makefile plug-ins/gflare/gflares/Makefile plug-ins/gfli/Makefile plug-ins/gimpressionist/Makefile plug-ins/gimpressionist/Brushes/Makefile plug-ins/gimpressionist/Paper/Makefile plug-ins/gimpressionist/Presets/Makefile plug-ins/help/Makefile plug-ins/helpbrowser/Makefile plug-ins/ifscompose/Makefile plug-ins/imagemap/Makefile plug-ins/imagemap/images/Makefile plug-ins/jpeg/Makefile plug-ins/maze/Makefile plug-ins/metadata/Makefile plug-ins/pagecurl/Makefile plug-ins/print/Makefile plug-ins/pygimp/Makefile plug-ins/pygimp/plug-ins/Makefile plug-ins/rcm/Makefile plug-ins/rcm/images/Makefile plug-ins/sel2path/Makefile plug-ins/sgi/Makefile plug-ins/twain/Makefile plug-ins/uri/Makefile plug-ins/winicon/Makefile plug-ins/winsnap/Makefile modules/Makefile devel-docs/Makefile devel-docs/app/Makefile devel-docs/app/version devel-docs/libgimp/Makefile devel-docs/libgimp/version devel-docs/libgimpbase/Makefile devel-docs/libgimpbase/version devel-docs/libgimpconfig/Makefile devel-docs/libgimpconfig/version devel-docs/libgimpcolor/Makefile devel-docs/libgimpcolor/version devel-docs/libgimpmath/Makefile devel-docs/libgimpmath/version devel-docs/libgimpmodule/Makefile devel-docs/libgimpmodule/version devel-docs/libgimpthumb/Makefile devel-docs/libgimpthumb/version devel-docs/libgimpwidgets/Makefile devel-docs/libgimpwidgets/version devel-docs/tools/Makefile docs/Makefile menus/Makefile cursors/Makefile themes/Makefile themes/Default/Makefile themes/Default/images/Makefile themes/Default/images/preferences/Makefile themes/Small/Makefile data/Makefile data/brushes/Makefile data/environ/Makefile data/gradients/Makefile data/images/Makefile data/interpreters/Makefile data/palettes/Makefile data/patterns/Makefile data/tips/Makefile desktop/Makefile desktop/gimp.applications desktop/gimp.desktop.in desktop/gimp.keys etc/Makefile m4macros/Makefile po/Makefile.in po-libgimp/Makefile.in po-plug-ins/Makefile.in po-python/Makefile.in po-script-fu/Makefile.in po-tips/Makefile.in gimp-zip Makefile"
 
36552
 
 
36553
 
 
36554
ac_config_files="$ac_config_files docs/gimp-2.3.1:docs/gimp.1.in docs/gimprc-2.3.5:docs/gimprc.5.in docs/gimptool-2.0.1:docs/gimptool.1.in docs/gimp-remote-2.3.1:docs/gimp-remote.1.in gimptool-2.0:gimptool-2.0.in gimp-2.0.pc:gimp.pc.in gimpthumb-2.0.pc:gimpthumb.pc.in gimpui-2.0.pc:gimpui.pc.in"
37578
36555
 
37579
36556
 
37580
36557
ac_config_commands="$ac_config_commands chmod-scripts"
37679
36656
LTLIBOBJS=$ac_ltlibobjs
37680
36657
 
37681
36658
 
 
36659
if test -z "${GIMP_UNSTABLE_TRUE}" && test -z "${GIMP_UNSTABLE_FALSE}"; then
 
36660
  { { echo "$as_me:$LINENO: error: conditional \"GIMP_UNSTABLE\" was never defined.
 
36661
Usually this means the macro was only invoked conditionally." >&5
 
36662
echo "$as_me: error: conditional \"GIMP_UNSTABLE\" was never defined.
 
36663
Usually this means the macro was only invoked conditionally." >&2;}
 
36664
   { (exit 1); exit 1; }; }
 
36665
fi
37682
36666
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
37683
36667
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
37684
36668
Usually this means the macro was only invoked conditionally." >&5
37749
36733
Usually this means the macro was only invoked conditionally." >&2;}
37750
36734
   { (exit 1); exit 1; }; }
37751
36735
fi
 
36736
if test -z "${USE_BINRELOC_TRUE}" && test -z "${USE_BINRELOC_FALSE}"; then
 
36737
  { { echo "$as_me:$LINENO: error: conditional \"USE_BINRELOC\" was never defined.
 
36738
Usually this means the macro was only invoked conditionally." >&5
 
36739
echo "$as_me: error: conditional \"USE_BINRELOC\" was never defined.
 
36740
Usually this means the macro was only invoked conditionally." >&2;}
 
36741
   { (exit 1); exit 1; }; }
 
36742
fi
37752
36743
 
37753
36744
  ac_config_commands="$ac_config_commands po/stamp-it"
37754
36745
 
37767
36758
Usually this means the macro was only invoked conditionally." >&2;}
37768
36759
   { (exit 1); exit 1; }; }
37769
36760
fi
 
36761
if test -z "${HAVE_PNG_TRUE}" && test -z "${HAVE_PNG_FALSE}"; then
 
36762
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_PNG\" was never defined.
 
36763
Usually this means the macro was only invoked conditionally." >&5
 
36764
echo "$as_me: error: conditional \"HAVE_PNG\" was never defined.
 
36765
Usually this means the macro was only invoked conditionally." >&2;}
 
36766
   { (exit 1); exit 1; }; }
 
36767
fi
37770
36768
if test -z "${BUILD_HELPBROWSER_TRUE}" && test -z "${BUILD_HELPBROWSER_FALSE}"; then
37771
36769
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELPBROWSER\" was never defined.
37772
36770
Usually this means the macro was only invoked conditionally." >&5
37781
36779
Usually this means the macro was only invoked conditionally." >&2;}
37782
36780
   { (exit 1); exit 1; }; }
37783
36781
fi
 
36782
if test -z "${HAVE_GNOMEVFS_TRUE}" && test -z "${HAVE_GNOMEVFS_FALSE}"; then
 
36783
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOMEVFS\" was never defined.
 
36784
Usually this means the macro was only invoked conditionally." >&5
 
36785
echo "$as_me: error: conditional \"HAVE_GNOMEVFS\" was never defined.
 
36786
Usually this means the macro was only invoked conditionally." >&2;}
 
36787
   { (exit 1); exit 1; }; }
 
36788
fi
 
36789
if test -z "${HAVE_LIBCURL_TRUE}" && test -z "${HAVE_LIBCURL_FALSE}"; then
 
36790
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBCURL\" was never defined.
 
36791
Usually this means the macro was only invoked conditionally." >&5
 
36792
echo "$as_me: error: conditional \"HAVE_LIBCURL\" was never defined.
 
36793
Usually this means the macro was only invoked conditionally." >&2;}
 
36794
   { (exit 1); exit 1; }; }
 
36795
fi
37784
36796
if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
37785
36797
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LCMS\" was never defined.
37786
36798
Usually this means the macro was only invoked conditionally." >&5
37795
36807
Usually this means the macro was only invoked conditionally." >&2;}
37796
36808
   { (exit 1); exit 1; }; }
37797
36809
fi
 
36810
if test -z "${HAVE_DX_DINPUT_TRUE}" && test -z "${HAVE_DX_DINPUT_FALSE}"; then
 
36811
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DX_DINPUT\" was never defined.
 
36812
Usually this means the macro was only invoked conditionally." >&5
 
36813
echo "$as_me: error: conditional \"HAVE_DX_DINPUT\" was never defined.
 
36814
Usually this means the macro was only invoked conditionally." >&2;}
 
36815
   { (exit 1); exit 1; }; }
 
36816
fi
37798
36817
if test -z "${WITH_PDBGEN_TRUE}" && test -z "${WITH_PDBGEN_FALSE}"; then
37799
36818
  { { echo "$as_me:$LINENO: error: conditional \"WITH_PDBGEN\" was never defined.
37800
36819
Usually this means the macro was only invoked conditionally." >&5
37809
36828
Usually this means the macro was only invoked conditionally." >&2;}
37810
36829
   { (exit 1); exit 1; }; }
37811
36830
fi
 
36831
if test -z "${BUILD_SCRIPT_FU_TRUE}" && test -z "${BUILD_SCRIPT_FU_FALSE}"; then
 
36832
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SCRIPT_FU\" was never defined.
 
36833
Usually this means the macro was only invoked conditionally." >&5
 
36834
echo "$as_me: error: conditional \"BUILD_SCRIPT_FU\" was never defined.
 
36835
Usually this means the macro was only invoked conditionally." >&2;}
 
36836
   { (exit 1); exit 1; }; }
 
36837
fi
37812
36838
if test -z "${HAVE_MAC_TWAIN_TRUE}" && test -z "${HAVE_MAC_TWAIN_FALSE}"; then
37813
36839
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_MAC_TWAIN\" was never defined.
37814
36840
Usually this means the macro was only invoked conditionally." >&5
37903
36929
## M4sh Initialization.  ##
37904
36930
## --------------------- ##
37905
36931
 
37906
 
# Be Bourne compatible
 
36932
# Be more Bourne compatible
 
36933
DUALCASE=1; export DUALCASE # for MKS sh
37907
36934
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
37908
36935
  emulate sh
37909
36936
  NULLCMD=:
37912
36939
  alias -g '${1+"$@"}'='"$@"'
37913
36940
  setopt NO_GLOB_SUBST
37914
36941
else
37915
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
36942
  case `(set -o) 2>/dev/null` in
 
36943
  *posix*) set -o posix ;;
 
36944
esac
 
36945
 
37916
36946
fi
37917
 
BIN_SH=xpg4; export BIN_SH # for Tru64
37918
 
DUALCASE=1; export DUALCASE # for MKS sh
 
36947
 
 
36948
 
37919
36949
 
37920
36950
 
37921
36951
# PATH needs CR
38139
37169
  as_mkdir_p=false
38140
37170
fi
38141
37171
 
38142
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
38143
 
# systems may use methods other than mode bits to determine executability.
38144
 
cat >conf$$.file <<_ASEOF
38145
 
#! /bin/sh
38146
 
exit 0
38147
 
_ASEOF
38148
 
chmod +x conf$$.file
38149
 
if test -x conf$$.file >/dev/null 2>&1; then
38150
 
  as_executable_p="test -x"
 
37172
if test -x / >/dev/null 2>&1; then
 
37173
  as_test_x='test -x'
38151
37174
else
38152
 
  as_executable_p=:
 
37175
  if ls -dL / >/dev/null 2>&1; then
 
37176
    as_ls_L_option=L
 
37177
  else
 
37178
    as_ls_L_option=
 
37179
  fi
 
37180
  as_test_x='
 
37181
    eval sh -c '\''
 
37182
      if test -d "$1"; then
 
37183
        test -d "$1/.";
 
37184
      else
 
37185
        case $1 in
 
37186
        -*)set "./$1";;
 
37187
        esac;
 
37188
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
37189
        ???[sx]*):;;*)false;;esac;fi
 
37190
    '\'' sh
 
37191
  '
38153
37192
fi
38154
 
rm -f conf$$.file
 
37193
as_executable_p=$as_test_x
38155
37194
 
38156
37195
# Sed expression to map a string onto a valid CPP name.
38157
37196
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
38166
37205
# report actual input values of CONFIG_FILES etc. instead of their
38167
37206
# values after options handling.
38168
37207
ac_log="
38169
 
This file was extended by GIMP $as_me 2.2.13, which was
38170
 
generated by GNU Autoconf 2.60.  Invocation command line was
 
37208
This file was extended by GIMP $as_me 2.3.16, which was
 
37209
generated by GNU Autoconf 2.61.  Invocation command line was
38171
37210
 
38172
37211
  CONFIG_FILES    = $CONFIG_FILES
38173
37212
  CONFIG_HEADERS  = $CONFIG_HEADERS
38196
37235
Usage: $0 [OPTIONS] [FILE]...
38197
37236
 
38198
37237
  -h, --help       print this help, then exit
38199
 
  -V, --version    print version number, then exit
 
37238
  -V, --version    print version number and configuration settings, then exit
38200
37239
  -q, --quiet      do not print progress messages
38201
37240
  -d, --debug      don't remove temporary files
38202
37241
      --recheck    update $as_me by reconfiguring in the same conditions
38219
37258
_ACEOF
38220
37259
cat >>$CONFIG_STATUS <<_ACEOF
38221
37260
ac_cs_version="\\
38222
 
GIMP config.status 2.2.13
38223
 
configured by $0, generated by GNU Autoconf 2.60,
 
37261
GIMP config.status 2.3.16
 
37262
configured by $0, generated by GNU Autoconf 2.61,
38224
37263
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
38225
37264
 
38226
37265
Copyright (C) 2006 Free Software Foundation, Inc.
38331
37370
 
38332
37371
 
38333
37372
  gimp_major_ver=2
38334
 
  gimp_minor_ver=2
38335
 
  gimp_micro_ver=13
38336
 
  gimp_ver=2.2.13
 
37373
  gimp_minor_ver=3
 
37374
  gimp_micro_ver=16
 
37375
  gimp_ver=2.3.16
38337
37376
  gimp_api_ver=2.0
38338
37377
 
38339
37378
 
38356
37395
    "regexrepl/Makefile") CONFIG_FILES="$CONFIG_FILES regexrepl/Makefile" ;;
38357
37396
    "libgimp/Makefile") CONFIG_FILES="$CONFIG_FILES libgimp/Makefile" ;;
38358
37397
    "libgimpbase/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpbase/Makefile" ;;
 
37398
    "libgimpconfig/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpconfig/Makefile" ;;
38359
37399
    "libgimpcolor/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpcolor/Makefile" ;;
38360
37400
    "libgimpmath/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpmath/Makefile" ;;
38361
37401
    "libgimpmodule/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpmodule/Makefile" ;;
38382
37422
    "app/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES app/widgets/Makefile" ;;
38383
37423
    "app/xcf/Makefile") CONFIG_FILES="$CONFIG_FILES app/xcf/Makefile" ;;
38384
37424
    "plug-ins/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/Makefile" ;;
38385
 
    "plug-ins/dbbrowser/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/dbbrowser/Makefile" ;;
38386
37425
    "plug-ins/script-fu/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/Makefile" ;;
38387
 
    "plug-ins/script-fu/siod/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/siod/Makefile" ;;
 
37426
    "plug-ins/script-fu/ftx/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/ftx/Makefile" ;;
 
37427
    "plug-ins/script-fu/re/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/re/Makefile" ;;
 
37428
    "plug-ins/script-fu/tinyscheme/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/tinyscheme/Makefile" ;;
38388
37429
    "plug-ins/script-fu/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/scripts/Makefile" ;;
38389
37430
    "plug-ins/script-fu/scripts/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/scripts/images/Makefile" ;;
38390
37431
    "plug-ins/xjt/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/xjt/Makefile" ;;
38413
37454
    "plug-ins/ifscompose/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/ifscompose/Makefile" ;;
38414
37455
    "plug-ins/imagemap/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/imagemap/Makefile" ;;
38415
37456
    "plug-ins/imagemap/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/imagemap/images/Makefile" ;;
 
37457
    "plug-ins/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/jpeg/Makefile" ;;
38416
37458
    "plug-ins/maze/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/maze/Makefile" ;;
 
37459
    "plug-ins/metadata/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/metadata/Makefile" ;;
38417
37460
    "plug-ins/pagecurl/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pagecurl/Makefile" ;;
38418
37461
    "plug-ins/print/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/print/Makefile" ;;
38419
37462
    "plug-ins/pygimp/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pygimp/Makefile" ;;
38420
 
    "plug-ins/pygimp/doc/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pygimp/doc/Makefile" ;;
38421
37463
    "plug-ins/pygimp/plug-ins/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pygimp/plug-ins/Makefile" ;;
38422
37464
    "plug-ins/rcm/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/rcm/Makefile" ;;
38423
37465
    "plug-ins/rcm/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/rcm/images/Makefile" ;;
38424
37466
    "plug-ins/sel2path/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/sel2path/Makefile" ;;
38425
37467
    "plug-ins/sgi/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/sgi/Makefile" ;;
38426
37468
    "plug-ins/twain/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/twain/Makefile" ;;
 
37469
    "plug-ins/uri/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/uri/Makefile" ;;
38427
37470
    "plug-ins/winicon/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/winicon/Makefile" ;;
38428
37471
    "plug-ins/winsnap/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/winsnap/Makefile" ;;
38429
37472
    "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
38434
37477
    "devel-docs/libgimp/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimp/version" ;;
38435
37478
    "devel-docs/libgimpbase/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpbase/Makefile" ;;
38436
37479
    "devel-docs/libgimpbase/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpbase/version" ;;
 
37480
    "devel-docs/libgimpconfig/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpconfig/Makefile" ;;
 
37481
    "devel-docs/libgimpconfig/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpconfig/version" ;;
38437
37482
    "devel-docs/libgimpcolor/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpcolor/Makefile" ;;
38438
37483
    "devel-docs/libgimpcolor/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpcolor/version" ;;
38439
37484
    "devel-docs/libgimpmath/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpmath/Makefile" ;;
38444
37489
    "devel-docs/libgimpthumb/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpthumb/version" ;;
38445
37490
    "devel-docs/libgimpwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpwidgets/Makefile" ;;
38446
37491
    "devel-docs/libgimpwidgets/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpwidgets/version" ;;
 
37492
    "devel-docs/tools/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/tools/Makefile" ;;
38447
37493
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
38448
37494
    "menus/Makefile") CONFIG_FILES="$CONFIG_FILES menus/Makefile" ;;
38449
 
    "tips/Makefile") CONFIG_FILES="$CONFIG_FILES tips/Makefile" ;;
38450
37495
    "cursors/Makefile") CONFIG_FILES="$CONFIG_FILES cursors/Makefile" ;;
38451
37496
    "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
38452
37497
    "themes/Default/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Default/Makefile" ;;
38454
37499
    "themes/Default/images/preferences/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Default/images/preferences/Makefile" ;;
38455
37500
    "themes/Small/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Small/Makefile" ;;
38456
37501
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
37502
    "data/brushes/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Makefile" ;;
38457
37503
    "data/environ/Makefile") CONFIG_FILES="$CONFIG_FILES data/environ/Makefile" ;;
38458
 
    "data/misc/Makefile") CONFIG_FILES="$CONFIG_FILES data/misc/Makefile" ;;
38459
 
    "data/misc/gimp.desktop.in") CONFIG_FILES="$CONFIG_FILES data/misc/gimp.desktop.in" ;;
38460
 
    "data/misc/gimp.keys") CONFIG_FILES="$CONFIG_FILES data/misc/gimp.keys" ;;
38461
 
    "data/misc/gimp.applications") CONFIG_FILES="$CONFIG_FILES data/misc/gimp.applications" ;;
 
37504
    "data/gradients/Makefile") CONFIG_FILES="$CONFIG_FILES data/gradients/Makefile" ;;
38462
37505
    "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
38463
 
    "data/brushes/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Makefile" ;;
38464
 
    "data/gradients/Makefile") CONFIG_FILES="$CONFIG_FILES data/gradients/Makefile" ;;
 
37506
    "data/interpreters/Makefile") CONFIG_FILES="$CONFIG_FILES data/interpreters/Makefile" ;;
38465
37507
    "data/palettes/Makefile") CONFIG_FILES="$CONFIG_FILES data/palettes/Makefile" ;;
38466
37508
    "data/patterns/Makefile") CONFIG_FILES="$CONFIG_FILES data/patterns/Makefile" ;;
 
37509
    "data/tips/Makefile") CONFIG_FILES="$CONFIG_FILES data/tips/Makefile" ;;
 
37510
    "desktop/Makefile") CONFIG_FILES="$CONFIG_FILES desktop/Makefile" ;;
 
37511
    "desktop/gimp.applications") CONFIG_FILES="$CONFIG_FILES desktop/gimp.applications" ;;
 
37512
    "desktop/gimp.desktop.in") CONFIG_FILES="$CONFIG_FILES desktop/gimp.desktop.in" ;;
 
37513
    "desktop/gimp.keys") CONFIG_FILES="$CONFIG_FILES desktop/gimp.keys" ;;
38467
37514
    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
38468
37515
    "m4macros/Makefile") CONFIG_FILES="$CONFIG_FILES m4macros/Makefile" ;;
38469
37516
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
38470
37517
    "po-libgimp/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-libgimp/Makefile.in" ;;
38471
37518
    "po-plug-ins/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-plug-ins/Makefile.in" ;;
 
37519
    "po-python/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-python/Makefile.in" ;;
38472
37520
    "po-script-fu/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-script-fu/Makefile.in" ;;
 
37521
    "po-tips/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-tips/Makefile.in" ;;
38473
37522
    "gimp-zip") CONFIG_FILES="$CONFIG_FILES gimp-zip" ;;
38474
37523
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
38475
 
    "docs/gimp-2.2.1") CONFIG_FILES="$CONFIG_FILES docs/gimp-2.2.1:docs/gimp.1.in" ;;
38476
 
    "docs/gimprc-2.2.5") CONFIG_FILES="$CONFIG_FILES docs/gimprc-2.2.5:docs/gimprc.5.in" ;;
 
37524
    "docs/gimp-2.3.1") CONFIG_FILES="$CONFIG_FILES docs/gimp-2.3.1:docs/gimp.1.in" ;;
 
37525
    "docs/gimprc-2.3.5") CONFIG_FILES="$CONFIG_FILES docs/gimprc-2.3.5:docs/gimprc.5.in" ;;
38477
37526
    "docs/gimptool-2.0.1") CONFIG_FILES="$CONFIG_FILES docs/gimptool-2.0.1:docs/gimptool.1.in" ;;
38478
 
    "docs/gimp-remote-2.2.1") CONFIG_FILES="$CONFIG_FILES docs/gimp-remote-2.2.1:docs/gimp-remote.1.in" ;;
 
37527
    "docs/gimp-remote-2.3.1") CONFIG_FILES="$CONFIG_FILES docs/gimp-remote-2.3.1:docs/gimp-remote.1.in" ;;
38479
37528
    "gimptool-2.0") CONFIG_FILES="$CONFIG_FILES gimptool-2.0:gimptool-2.0.in" ;;
38480
37529
    "gimp-2.0.pc") CONFIG_FILES="$CONFIG_FILES gimp-2.0.pc:gimp.pc.in" ;;
38481
37530
    "gimpthumb-2.0.pc") CONFIG_FILES="$CONFIG_FILES gimpthumb-2.0.pc:gimpthumb.pc.in" ;;
38620
37669
GIMP_USER_VERSION!$GIMP_USER_VERSION$ac_delim
38621
37670
GIMP_UNSTABLE!$GIMP_UNSTABLE$ac_delim
38622
37671
GIMP_FULL_NAME!$GIMP_FULL_NAME$ac_delim
38623
 
GIMP_DESKTOP_ICON!$GIMP_DESKTOP_ICON$ac_delim
 
37672
GIMP_UNSTABLE_TRUE!$GIMP_UNSTABLE_TRUE$ac_delim
 
37673
GIMP_UNSTABLE_FALSE!$GIMP_UNSTABLE_FALSE$ac_delim
38624
37674
LT_VERSION_INFO!$LT_VERSION_INFO$ac_delim
38625
37675
LT_CURRENT_MINUS_AGE!$LT_CURRENT_MINUS_AGE$ac_delim
38626
37676
GLIB_REQUIRED_VERSION!$GLIB_REQUIRED_VERSION$ac_delim
38630
37680
FONTCONFIG_REQUIRED_VERSION!$FONTCONFIG_REQUIRED_VERSION$ac_delim
38631
37681
GTKDOC_REQUIRED_VERSION!$GTKDOC_REQUIRED_VERSION$ac_delim
38632
37682
GTKHTML2_REQUIRED_VERSION!$GTKHTML2_REQUIRED_VERSION$ac_delim
38633
 
GIMPPRINT_REQUIRED_VERSION!$GIMPPRINT_REQUIRED_VERSION$ac_delim
38634
 
GIMPPRINT_TOONEW_VERSION!$GIMPPRINT_TOONEW_VERSION$ac_delim
38635
37683
RSVG_REQUIRED_VERSION!$RSVG_REQUIRED_VERSION$ac_delim
38636
37684
WMF_REQUIRED_VERSION!$WMF_REQUIRED_VERSION$ac_delim
38637
37685
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
38642
37690
ac_ct_CC!$ac_ct_CC$ac_delim
38643
37691
EXEEXT!$EXEEXT$ac_delim
38644
37692
OBJEXT!$OBJEXT$ac_delim
 
37693
DEPDIR!$DEPDIR$ac_delim
38645
37694
_ACEOF
38646
37695
 
38647
37696
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38683
37732
ac_delim='%!_!# '
38684
37733
for ac_last_try in false false false false false :; do
38685
37734
  cat >conf$$subs.sed <<_ACEOF
38686
 
DEPDIR!$DEPDIR$ac_delim
38687
37735
am__include!$am__include$ac_delim
38688
37736
am__quote!$am__quote$ac_delim
38689
37737
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
38740
37788
HAVE_WINDRES_TRUE!$HAVE_WINDRES_TRUE$ac_delim
38741
37789
HAVE_WINDRES_FALSE!$HAVE_WINDRES_FALSE$ac_delim
38742
37790
ALLOCA!$ALLOCA$ac_delim
 
37791
BINRELOC_CFLAGS!$BINRELOC_CFLAGS$ac_delim
 
37792
BINRELOC_LIBS!$BINRELOC_LIBS$ac_delim
 
37793
USE_BINRELOC_TRUE!$USE_BINRELOC_TRUE$ac_delim
 
37794
USE_BINRELOC_FALSE!$USE_BINRELOC_FALSE$ac_delim
38743
37795
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
38744
37796
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
38745
37797
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
38767
37819
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
38768
37820
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
38769
37821
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
 
37822
DATADIRNAME!$DATADIRNAME$ac_delim
38770
37823
USE_NLS!$USE_NLS$ac_delim
38771
37824
MSGFMT!$MSGFMT$ac_delim
 
37825
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
38772
37826
GMSGFMT!$GMSGFMT$ac_delim
38773
37827
XGETTEXT!$XGETTEXT$ac_delim
38774
37828
CATALOGS!$CATALOGS$ac_delim
38775
37829
CATOBJEXT!$CATOBJEXT$ac_delim
38776
 
DATADIRNAME!$DATADIRNAME$ac_delim
38777
37830
GMOFILES!$GMOFILES$ac_delim
38778
37831
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
37832
_ACEOF
 
37833
 
 
37834
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
37835
    break
 
37836
  elif $ac_last_try; then
 
37837
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
37838
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
37839
   { (exit 1); exit 1; }; }
 
37840
  else
 
37841
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
37842
  fi
 
37843
done
 
37844
 
 
37845
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
37846
if test -n "$ac_eof"; then
 
37847
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
37848
  ac_eof=`expr $ac_eof + 1`
 
37849
fi
 
37850
 
 
37851
cat >>$CONFIG_STATUS <<_ACEOF
 
37852
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
37853
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
37854
_ACEOF
 
37855
sed '
 
37856
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
37857
s/^/s,@/; s/!/@,|#_!!_#|/
 
37858
:n
 
37859
t n
 
37860
s/'"$ac_delim"'$/,g/; t
 
37861
s/$/\\/; p
 
37862
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
37863
' >>$CONFIG_STATUS <conf$$subs.sed
 
37864
rm -f conf$$subs.sed
 
37865
cat >>$CONFIG_STATUS <<_ACEOF
 
37866
CEOF$ac_eof
 
37867
_ACEOF
 
37868
 
 
37869
 
 
37870
ac_delim='%!_!# '
 
37871
for ac_last_try in false false false false false :; do
 
37872
  cat >conf$$subs.sed <<_ACEOF
38779
37873
INTLLIBS!$INTLLIBS$ac_delim
38780
37874
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
38781
37875
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
38782
37876
POFILES!$POFILES$ac_delim
38783
 
_ACEOF
38784
 
 
38785
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38786
 
    break
38787
 
  elif $ac_last_try; then
38788
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38789
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38790
 
   { (exit 1); exit 1; }; }
38791
 
  else
38792
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38793
 
  fi
38794
 
done
38795
 
 
38796
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38797
 
if test -n "$ac_eof"; then
38798
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38799
 
  ac_eof=`expr $ac_eof + 1`
38800
 
fi
38801
 
 
38802
 
cat >>$CONFIG_STATUS <<_ACEOF
38803
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
38804
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38805
 
_ACEOF
38806
 
sed '
38807
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38808
 
s/^/s,@/; s/!/@,|#_!!_#|/
38809
 
:n
38810
 
t n
38811
 
s/'"$ac_delim"'$/,g/; t
38812
 
s/$/\\/; p
38813
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38814
 
' >>$CONFIG_STATUS <conf$$subs.sed
38815
 
rm -f conf$$subs.sed
38816
 
cat >>$CONFIG_STATUS <<_ACEOF
38817
 
CEOF$ac_eof
38818
 
_ACEOF
38819
 
 
38820
 
 
38821
 
ac_delim='%!_!# '
38822
 
for ac_last_try in false false false false false :; do
38823
 
  cat >conf$$subs.sed <<_ACEOF
38824
37877
POSUB!$POSUB$ac_delim
38825
37878
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
38826
37879
PKG_CONFIG!$PKG_CONFIG$ac_delim
38829
37882
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
38830
37883
GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
38831
37884
GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
38832
 
GMODULE_CFLAGS!$GMODULE_CFLAGS$ac_delim
38833
 
GMODULE_LIBS!$GMODULE_LIBS$ac_delim
 
37885
GMODULE_NO_EXPORT_CFLAGS!$GMODULE_NO_EXPORT_CFLAGS$ac_delim
 
37886
GMODULE_NO_EXPORT_LIBS!$GMODULE_NO_EXPORT_LIBS$ac_delim
38834
37887
XMKMF!$XMKMF$ac_delim
38835
37888
X_CFLAGS!$X_CFLAGS$ac_delim
38836
37889
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
38854
37907
SOCKET_LIBS!$SOCKET_LIBS$ac_delim
38855
37908
MMX_EXTRA_CFLAGS!$MMX_EXTRA_CFLAGS$ac_delim
38856
37909
SSE_EXTRA_CFLAGS!$SSE_EXTRA_CFLAGS$ac_delim
 
37910
ALTIVEC_EXTRA_CFLAGS!$ALTIVEC_EXTRA_CFLAGS$ac_delim
38857
37911
RT_LIBS!$RT_LIBS$ac_delim
38858
37912
SYMPREFIX!$SYMPREFIX$ac_delim
38859
37913
HAVE_GLIBC_REGEX_TRUE!$HAVE_GLIBC_REGEX_TRUE$ac_delim
38860
37914
HAVE_GLIBC_REGEX_FALSE!$HAVE_GLIBC_REGEX_FALSE$ac_delim
38861
37915
HAVE_GLIBC_REGEX!$HAVE_GLIBC_REGEX$ac_delim
38862
 
GIMP_THREAD_FLAGS!$GIMP_THREAD_FLAGS$ac_delim
38863
 
GIMP_THREAD_LIBS!$GIMP_THREAD_LIBS$ac_delim
38864
 
GIMP_MP_FLAGS!$GIMP_MP_FLAGS$ac_delim
38865
 
GIMP_MP_LIBS!$GIMP_MP_LIBS$ac_delim
 
37916
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
 
37917
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
38866
37918
LIBXMU!$LIBXMU$ac_delim
38867
37919
LIBSCREENSHOT!$LIBSCREENSHOT$ac_delim
 
37920
DOC_SHOOTER!$DOC_SHOOTER$ac_delim
38868
37921
GIMP_REMOTE!$GIMP_REMOTE$ac_delim
 
37922
GIMP_COMMAND!$GIMP_COMMAND$ac_delim
38869
37923
TIFF!$TIFF$ac_delim
38870
37924
LIBTIFF!$LIBTIFF$ac_delim
38871
37925
JPEG!$JPEG$ac_delim
38874
37928
BUILD_XJT_FALSE!$BUILD_XJT_FALSE$ac_delim
38875
37929
LIBZ!$LIBZ$ac_delim
38876
37930
PSP!$PSP$ac_delim
 
37931
PNG_CFLAGS!$PNG_CFLAGS$ac_delim
 
37932
PNG_LIBS!$PNG_LIBS$ac_delim
38877
37933
PNG!$PNG$ac_delim
38878
37934
LIBPNG!$LIBPNG$ac_delim
 
37935
HAVE_PNG_TRUE!$HAVE_PNG_TRUE$ac_delim
 
37936
HAVE_PNG_FALSE!$HAVE_PNG_FALSE$ac_delim
38879
37937
MNG!$MNG$ac_delim
38880
37938
LIBMNG!$LIBMNG$ac_delim
38881
37939
EXIF_CFLAGS!$EXIF_CFLAGS$ac_delim
38892
37950
SVG_LIBS!$SVG_LIBS$ac_delim
38893
37951
SVG!$SVG$ac_delim
38894
37952
LIBSVG!$LIBSVG$ac_delim
38895
 
GIMPPRINT_CONFIG!$GIMPPRINT_CONFIG$ac_delim
38896
 
GIMPPRINT_CFLAGS!$GIMPPRINT_CFLAGS$ac_delim
38897
 
GIMPPRINT_LIBS!$GIMPPRINT_LIBS$ac_delim
38898
 
PRINT_LIBS!$PRINT_LIBS$ac_delim
38899
 
PRINT_CFLAGS!$PRINT_CFLAGS$ac_delim
38900
37953
BUILD_PRINT_TRUE!$BUILD_PRINT_TRUE$ac_delim
38901
37954
BUILD_PRINT_FALSE!$BUILD_PRINT_FALSE$ac_delim
 
37955
POPPLER_CFLAGS!$POPPLER_CFLAGS$ac_delim
 
37956
POPPLER_LIBS!$POPPLER_LIBS$ac_delim
 
37957
POPPLER!$POPPLER$ac_delim
 
37958
LIBPOPPLER!$LIBPOPPLER$ac_delim
 
37959
URI_GNOME_VFS_CFLAGS!$URI_GNOME_VFS_CFLAGS$ac_delim
 
37960
URI_GNOME_VFS_LIBS!$URI_GNOME_VFS_LIBS$ac_delim
 
37961
HAVE_GNOMEVFS_TRUE!$HAVE_GNOMEVFS_TRUE$ac_delim
 
37962
HAVE_GNOMEVFS_FALSE!$HAVE_GNOMEVFS_FALSE$ac_delim
 
37963
URI_LIBCURL_CFLAGS!$URI_LIBCURL_CFLAGS$ac_delim
 
37964
URI_LIBCURL_LIBS!$URI_LIBCURL_LIBS$ac_delim
 
37965
HAVE_LIBCURL_TRUE!$HAVE_LIBCURL_TRUE$ac_delim
 
37966
HAVE_LIBCURL_FALSE!$HAVE_LIBCURL_FALSE$ac_delim
38902
37967
WMF_CONFIG!$WMF_CONFIG$ac_delim
38903
37968
LIBWMF!$LIBWMF$ac_delim
38904
37969
WMF_CFLAGS!$WMF_CFLAGS$ac_delim
38905
 
LCMS_LIBS!$LCMS_LIBS$ac_delim
 
37970
_ACEOF
 
37971
 
 
37972
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
37973
    break
 
37974
  elif $ac_last_try; then
 
37975
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
37976
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
37977
   { (exit 1); exit 1; }; }
 
37978
  else
 
37979
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
37980
  fi
 
37981
done
 
37982
 
 
37983
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
37984
if test -n "$ac_eof"; then
 
37985
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
37986
  ac_eof=`expr $ac_eof + 1`
 
37987
fi
 
37988
 
 
37989
cat >>$CONFIG_STATUS <<_ACEOF
 
37990
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
37991
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
37992
_ACEOF
 
37993
sed '
 
37994
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
37995
s/^/s,@/; s/!/@,|#_!!_#|/
 
37996
:n
 
37997
t n
 
37998
s/'"$ac_delim"'$/,g/; t
 
37999
s/$/\\/; p
 
38000
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
38001
' >>$CONFIG_STATUS <conf$$subs.sed
 
38002
rm -f conf$$subs.sed
 
38003
cat >>$CONFIG_STATUS <<_ACEOF
 
38004
CEOF$ac_eof
 
38005
_ACEOF
 
38006
 
 
38007
 
 
38008
ac_delim='%!_!# '
 
38009
for ac_last_try in false false false false false :; do
 
38010
  cat >conf$$subs.sed <<_ACEOF
 
38011
WMF!$WMF$ac_delim
 
38012
LCMS!$LCMS$ac_delim
 
38013
LIBLCMS!$LIBLCMS$ac_delim
38906
38014
HAVE_LCMS_TRUE!$HAVE_LCMS_TRUE$ac_delim
38907
38015
HAVE_LCMS_FALSE!$HAVE_LCMS_FALSE$ac_delim
38908
38016
ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
38909
38017
ALSA_LIBS!$ALSA_LIBS$ac_delim
38910
38018
HAVE_LINUX_INPUT_TRUE!$HAVE_LINUX_INPUT_TRUE$ac_delim
38911
38019
HAVE_LINUX_INPUT_FALSE!$HAVE_LINUX_INPUT_FALSE$ac_delim
 
38020
HAVE_DX_DINPUT_TRUE!$HAVE_DX_DINPUT_TRUE$ac_delim
 
38021
HAVE_DX_DINPUT_FALSE!$HAVE_DX_DINPUT_FALSE$ac_delim
 
38022
DBUS_GLIB_CFLAGS!$DBUS_GLIB_CFLAGS$ac_delim
 
38023
DBUS_GLIB_LIBS!$DBUS_GLIB_LIBS$ac_delim
 
38024
DBUS_BINDING_TOOL!$DBUS_BINDING_TOOL$ac_delim
 
38025
HAL_CFLAGS!$HAL_CFLAGS$ac_delim
 
38026
HAL_LIBS!$HAL_LIBS$ac_delim
38912
38027
SENDMAIL!$SENDMAIL$ac_delim
38913
38028
PERL!$PERL$ac_delim
38914
38029
WITH_PDBGEN_TRUE!$WITH_PDBGEN_TRUE$ac_delim
38918
38033
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
38919
38034
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
38920
38035
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
38921
 
_ACEOF
38922
 
 
38923
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38924
 
    break
38925
 
  elif $ac_last_try; then
38926
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38927
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38928
 
   { (exit 1); exit 1; }; }
38929
 
  else
38930
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38931
 
  fi
38932
 
done
38933
 
 
38934
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38935
 
if test -n "$ac_eof"; then
38936
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38937
 
  ac_eof=`expr $ac_eof + 1`
38938
 
fi
38939
 
 
38940
 
cat >>$CONFIG_STATUS <<_ACEOF
38941
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
38942
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38943
 
_ACEOF
38944
 
sed '
38945
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38946
 
s/^/s,@/; s/!/@,|#_!!_#|/
38947
 
:n
38948
 
t n
38949
 
s/'"$ac_delim"'$/,g/; t
38950
 
s/$/\\/; p
38951
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38952
 
' >>$CONFIG_STATUS <conf$$subs.sed
38953
 
rm -f conf$$subs.sed
38954
 
cat >>$CONFIG_STATUS <<_ACEOF
38955
 
CEOF$ac_eof
38956
 
_ACEOF
38957
 
 
38958
 
 
38959
 
ac_delim='%!_!# '
38960
 
for ac_last_try in false false false false false :; do
38961
 
  cat >conf$$subs.sed <<_ACEOF
38962
38036
pythondir!$pythondir$ac_delim
38963
38037
pkgpythondir!$pkgpythondir$ac_delim
38964
38038
pyexecdir!$pyexecdir$ac_delim
38965
38039
pkgpyexecdir!$pkgpyexecdir$ac_delim
38966
38040
PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
 
38041
PYLINK_LIBS!$PYLINK_LIBS$ac_delim
 
38042
PYBIN_PATH!$PYBIN_PATH$ac_delim
38967
38043
PYGTK_CFLAGS!$PYGTK_CFLAGS$ac_delim
38968
38044
PYGTK_LIBS!$PYGTK_LIBS$ac_delim
 
38045
PYGTK_CODEGEN!$PYGTK_CODEGEN$ac_delim
 
38046
PYGTK_DEFSDIR!$PYGTK_DEFSDIR$ac_delim
38969
38047
PYGIMP_EXTRA_CFLAGS!$PYGIMP_EXTRA_CFLAGS$ac_delim
38970
38048
BUILD_PYTHON_TRUE!$BUILD_PYTHON_TRUE$ac_delim
38971
38049
BUILD_PYTHON_FALSE!$BUILD_PYTHON_FALSE$ac_delim
 
38050
BUILD_SCRIPT_FU_TRUE!$BUILD_SCRIPT_FU_TRUE$ac_delim
 
38051
BUILD_SCRIPT_FU_FALSE!$BUILD_SCRIPT_FU_FALSE$ac_delim
38972
38052
MAIL!$MAIL$ac_delim
38973
38053
SCREENSHOT!$SCREENSHOT$ac_delim
38974
 
URL!$URL$ac_delim
38975
 
WINCLIPBOARD!$WINCLIPBOARD$ac_delim
38976
 
WINPRINT!$WINPRINT$ac_delim
38977
 
WMF!$WMF$ac_delim
38978
38054
HAVE_MAC_TWAIN_TRUE!$HAVE_MAC_TWAIN_TRUE$ac_delim
38979
38055
HAVE_MAC_TWAIN_FALSE!$HAVE_MAC_TWAIN_FALSE$ac_delim
38980
38056
DESKTOP_DATADIR_TRUE!$DESKTOP_DATADIR_TRUE$ac_delim
38999
38075
gimpdatadir!$gimpdatadir$ac_delim
39000
38076
gimpplugindir!$gimpplugindir$ac_delim
39001
38077
gimpsysconfdir!$gimpsysconfdir$ac_delim
 
38078
gimplocaledir!$gimplocaledir$ac_delim
39002
38079
GIMPINSTALL!$GIMPINSTALL$ac_delim
39003
38080
STATICLIBS_TRUE!$STATICLIBS_TRUE$ac_delim
39004
38081
STATICLIBS_FALSE!$STATICLIBS_FALSE$ac_delim
39009
38086
LTLIBOBJS!$LTLIBOBJS$ac_delim
39010
38087
_ACEOF
39011
38088
 
39012
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
 
38089
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
39013
38090
    break
39014
38091
  elif $ac_last_try; then
39015
38092
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
39639
38716
 ;;
39640
38717
    "chmod-scripts":C) chmod +x gimptool-2.0 ;;
39641
38718
    "sed-po-makefiles":C) sed -e "/POTFILES =/r po-libgimp/POTFILES" po-libgimp/Makefile.in > po-libgimp/Makefile
 
38719
sed -e "/POTFILES =/r po-python/POTFILES" po-python/Makefile.in > po-python/Makefile
39642
38720
sed -e "/POTFILES =/r po-plug-ins/POTFILES" po-plug-ins/Makefile.in > po-plug-ins/Makefile
39643
 
sed -e "/POTFILES =/r po-script-fu/POTFILES" po-script-fu/Makefile.in > po-script-fu/Makefile ;;
 
38721
sed -e "/POTFILES =/r po-script-fu/POTFILES" po-script-fu/Makefile.in > po-script-fu/Makefile
 
38722
sed -e "/POTFILES =/r po-tips/POTFILES" po-tips/Makefile.in > po-tips/Makefile ;;
39644
38723
    "po/stamp-it":C)
39645
38724
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
39646
38725
    >"po/stamp-it.tmp"
39696
38775
  $ac_cs_success || { (exit 1); exit 1; }
39697
38776
fi
39698
38777
 
 
38778
 
 
38779
{ echo "$as_me:$LINENO: result:
 
38780
Building GIMP with prefix=$prefix, datarootdir=$datarootdir
 
38781
Desktop files install into $DESKTOP_DATADIR
 
38782
 
 
38783
Extra Binaries:
 
38784
  gimp-console:        $enable_gimp_console
 
38785
  gimp-remote:         $enable_gimp_remote
 
38786
 
 
38787
Optional Features:
 
38788
  D-Bus service:       $have_dbus_glib
 
38789
 
 
38790
Optional Plug-Ins:
 
38791
  Ascii Art:           $have_libaa
 
38792
  Help Browser:        $have_gtkhtml2
 
38793
  LCMS:                $have_lcms
 
38794
  JPEG:                $jpeg_ok
 
38795
  MNG:                 $have_libmng
 
38796
  PDF:                 $have_poppler
 
38797
  PNG:                 $have_libpng
 
38798
  Print:               $enable_print
 
38799
  PSP:                 $have_zlib
 
38800
  Python:              $enable_python
 
38801
  Script-Fu:           $have_script_fu
 
38802
  SVG:                 $have_librsvg
 
38803
  TIFF:                $have_libtiff
 
38804
  TWAIN (MacOS X):     $mac_twain_ok
 
38805
  TWAIN (Win32):       $os_win32
 
38806
  URI:                 $uri_plugin
 
38807
  Windows ICO          $have_libpng
 
38808
  WMF:                 $have_libwmf
 
38809
  XJT:                 $have_xjt
 
38810
  XPM:                 $have_libxpm
 
38811
 
 
38812
Plug-In Features:
 
38813
  EXIF support:        $have_libexif
 
38814
  GNOME UI:            $have_gnomeui
 
38815
  GNOME keyring:       $have_gnome_keyring
 
38816
 
 
38817
Optional Modules:
 
38818
  ALSA (MIDI Input):   $have_alsa
 
38819
  Linux Input:         $have_linux_input (HAL support: $have_libhal)
 
38820
  DirectInput (Win32): $have_dx_dinput
 
38821
  Color Correction:    $have_lcms
 
38822
  Soft Proof:          $have_lcms
 
38823
" >&5
 
38824
echo "${ECHO_T}
 
38825
Building GIMP with prefix=$prefix, datarootdir=$datarootdir
 
38826
Desktop files install into $DESKTOP_DATADIR
 
38827
 
 
38828
Extra Binaries:
 
38829
  gimp-console:        $enable_gimp_console
 
38830
  gimp-remote:         $enable_gimp_remote
 
38831
 
 
38832
Optional Features:
 
38833
  D-Bus service:       $have_dbus_glib
 
38834
 
 
38835
Optional Plug-Ins:
 
38836
  Ascii Art:           $have_libaa
 
38837
  Help Browser:        $have_gtkhtml2
 
38838
  LCMS:                $have_lcms
 
38839
  JPEG:                $jpeg_ok
 
38840
  MNG:                 $have_libmng
 
38841
  PDF:                 $have_poppler
 
38842
  PNG:                 $have_libpng
 
38843
  Print:               $enable_print
 
38844
  PSP:                 $have_zlib
 
38845
  Python:              $enable_python
 
38846
  Script-Fu:           $have_script_fu
 
38847
  SVG:                 $have_librsvg
 
38848
  TIFF:                $have_libtiff
 
38849
  TWAIN (MacOS X):     $mac_twain_ok
 
38850
  TWAIN (Win32):       $os_win32
 
38851
  URI:                 $uri_plugin
 
38852
  Windows ICO          $have_libpng
 
38853
  WMF:                 $have_libwmf
 
38854
  XJT:                 $have_xjt
 
38855
  XPM:                 $have_libxpm
 
38856
 
 
38857
Plug-In Features:
 
38858
  EXIF support:        $have_libexif
 
38859
  GNOME UI:            $have_gnomeui
 
38860
  GNOME keyring:       $have_gnome_keyring
 
38861
 
 
38862
Optional Modules:
 
38863
  ALSA (MIDI Input):   $have_alsa
 
38864
  Linux Input:         $have_linux_input (HAL support: $have_libhal)
 
38865
  DirectInput (Win32): $have_dx_dinput
 
38866
  Color Correction:    $have_lcms
 
38867
  Soft Proof:          $have_lcms
 
38868
" >&6; };