Merge lp:~ari-tczew/sane-backends/ubuntu into lp:~ubuntu-desktop/sane-backends/ubuntu
- ubuntu
- Merge into ubuntu
Status: | Merged |
---|---|
Merged at revision: | 6 |
Proposed branch: | lp:~ari-tczew/sane-backends/ubuntu |
Merge into: | lp:~ubuntu-desktop/sane-backends/ubuntu |
Diff against target: | 32286 lines |
To merge this branch: | bzr merge lp:~ari-tczew/sane-backends/ubuntu |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt | Pending | ||
Ubuntu Desktop | Pending | ||
Review via email: mp+52252@code.launchpad.net |
Commit message
Description of the change
Artur Rona (ari-tczew) wrote : | # |
Martin Pitt (pitti) wrote : | # |
I need to re-do that patch anyway, due to bug 727696. Thanks!
- 6. By Martin Pitt
-
* Merge from debian unstable. Remaining changes: (LP: #729283)
- debian/control:
+ Demote libsane-extras* from Recommends to Suggests, as long as
this package is in universe.
+ Demote sane-utils from Recommends to Suggests.
We do not want to have an init script for saned laying around,
which is disabled by default anyway.
- debian/libsane. postinst: Don't create a scanner group.
- debian/libsane. preinst:
+ Remove the old file if unmodified.
+ Remove the old blacklist-scanner modprobe file.
- debian/patches/ disable_ v4l.patch: Disable v4l backend.
- debian/patches/ ubuntu_ udev_noperm. patch:
+ Do not change device permissions (already covered
by udev-extra's 70-acl.rules).
+ Do not cover SCSI scanners (already covered by udev-extra's
70-acl.rules) .
+ Simplify description and structure.
- debian/rules:
- Link using -Bsymbolic-functions (startup time optimization).
- Saned init script does not need to be started before gdm
and does not need to be called on shutdown.
- debian/sane-utils. *: No longer have scanner group.
- debian/sane-utils. saned.init: Saned init script does not need to
be started before gdm and does not need to be called on shutdown.
* debian/patches/ ubuntu_ udev_noperm. patch: Disabled, complex, needs
fixing due to sane-desc_udev+acl. patch.
* New upstream release.
+ epson2: reject scan area settings that would lead to a division by zero
(closes: #581181).
* debian/control:
+ Bump Standards-Version to 3.9.1 (no changes).
+ Demote libsane-extras-* to Recommends again.
* debian/rules:
+ Add acl (>= 2.2.49-4) to udev substvar for ACL utilities in /bin.
+ Use sane-desc -m udev+acl (closes: #591767, #612815).
* debian/libsane. README. Debian:
+ Update; mention ConsoleKit and the udev rules now using ACLs.
* debian/patches/ sane-desc_ udev+acl. patch:
+ Added; compared to experimental, setfacl is now in /bin.
* debian/patches/ fix_xerox_ mfp_color_ mode.patch,
debian/patches/ use_libsane_ matched_ for_scsi. patch,
debian/patches/ allow_dll. d_symlinks. patch,
debian/patches/ saned_exit_ avahi_process. patch,
debian/patches/ xerox_mfp_ new_ids. patch,
debian/patches/ scsi_perfection _2450.patch,
debian/patches/ scsi_scanjet_ 4c.patch,
debian/patches/ genesys_ disable_ raw_data_ log.patch,
debian/patches/ fix_epson2_ commands. patch,
debian/patches/ fix_epson2_ cancel. patch:
+ Removed; merged upstream.
* Git snapshot.
* debian/rules:
+ Add dependency on acl to libsane when depending on udev.
+ Use udev+acl mode when generating udev rules.
+ debian/patches/ sane-desc_ udev+acl. patch:
+ Added; try using ACLs for USB scanners in an effort to deconflict with
MFP devices.
* Git snapshot.
+ genesys now has some support for LiDE 100 & 200 (closes: #586189).
Preview Diff
1 | === modified file 'debian/changelog' | |||
2 | --- debian/changelog 2011-02-14 04:37:52 +0000 | |||
3 | +++ debian/changelog 2011-03-04 20:46:16 +0000 | |||
4 | @@ -1,3 +1,66 @@ | |||
5 | 1 | sane-backends (1.0.22-1ubuntu1) UNRELEASED; urgency=low | ||
6 | 2 | |||
7 | 3 | * Merge from debian unstable. Remaining changes: (LP: #729283) | ||
8 | 4 | - debian/control: | ||
9 | 5 | + Demote libsane-extras* from Recommends to Suggests, as long as | ||
10 | 6 | this package is in universe. | ||
11 | 7 | + Demote sane-utils from Recommends to Suggests. | ||
12 | 8 | We do not want to have an init script for saned laying around, | ||
13 | 9 | which is disabled by default anyway. | ||
14 | 10 | - debian/libsane.postinst: Don't create a scanner group. | ||
15 | 11 | - debian/libsane.preinst: | ||
16 | 12 | + Remove the old file if unmodified. | ||
17 | 13 | + Remove the old blacklist-scanner modprobe file. | ||
18 | 14 | - debian/patches/disable_v4l.patch: Disable v4l backend. | ||
19 | 15 | - debian/patches/ubuntu_udev_noperm.patch: | ||
20 | 16 | + Do not change device permissions (already covered | ||
21 | 17 | by udev-extra's 70-acl.rules). | ||
22 | 18 | + Do not cover SCSI scanners (already covered by udev-extra's | ||
23 | 19 | 70-acl.rules). | ||
24 | 20 | + Simplify description and structure. | ||
25 | 21 | - debian/rules: | ||
26 | 22 | - Link using -Bsymbolic-functions (startup time optimization). | ||
27 | 23 | - Saned init script does not need to be started before gdm | ||
28 | 24 | and does not need to be called on shutdown. | ||
29 | 25 | - debian/sane-utils.*: No longer have scanner group. | ||
30 | 26 | - debian/sane-utils.saned.init: Saned init script does not need to | ||
31 | 27 | be started before gdm and does not need to be called on shutdown. | ||
32 | 28 | * debian/patches/ubuntu_udev_noperm.patch: Disabled, complex, needs | ||
33 | 29 | fixing due to sane-desc_udev+acl.patch. | ||
34 | 30 | |||
35 | 31 | -- Artur Rona <ari-tczew@ubuntu.com> Fri, 04 Mar 2011 21:04:56 +0100 | ||
36 | 32 | |||
37 | 33 | sane-backends (1.0.22-1) unstable; urgency=low | ||
38 | 34 | |||
39 | 35 | * New upstream release. | ||
40 | 36 | + epson2: reject scan area settings that would lead to a division by zero | ||
41 | 37 | (closes: #581181). | ||
42 | 38 | |||
43 | 39 | * debian/control: | ||
44 | 40 | + Bump Standards-Version to 3.9.1 (no changes). | ||
45 | 41 | + Demote libsane-extras-* to Recommends again. | ||
46 | 42 | * debian/rules: | ||
47 | 43 | + Add acl (>= 2.2.49-4) to udev substvar for ACL utilities in /bin. | ||
48 | 44 | + Use sane-desc -m udev+acl (closes: #591767, #612815). | ||
49 | 45 | * debian/libsane.README.Debian: | ||
50 | 46 | + Update; mention ConsoleKit and the udev rules now using ACLs. | ||
51 | 47 | |||
52 | 48 | * debian/patches/sane-desc_udev+acl.patch: | ||
53 | 49 | + Added; compared to experimental, setfacl is now in /bin. | ||
54 | 50 | * debian/patches/fix_xerox_mfp_color_mode.patch, | ||
55 | 51 | debian/patches/use_libsane_matched_for_scsi.patch, | ||
56 | 52 | debian/patches/allow_dll.d_symlinks.patch, | ||
57 | 53 | debian/patches/saned_exit_avahi_process.patch, | ||
58 | 54 | debian/patches/xerox_mfp_new_ids.patch, | ||
59 | 55 | debian/patches/scsi_perfection_2450.patch, | ||
60 | 56 | debian/patches/scsi_scanjet_4c.patch, | ||
61 | 57 | debian/patches/genesys_disable_raw_data_log.patch, | ||
62 | 58 | debian/patches/fix_epson2_commands.patch, | ||
63 | 59 | debian/patches/fix_epson2_cancel.patch: | ||
64 | 60 | + Removed; merged upstream. | ||
65 | 61 | |||
66 | 62 | -- Julien BLACHE <jblache@debian.org> Wed, 16 Feb 2011 19:00:55 +0100 | ||
67 | 63 | |||
68 | 1 | sane-backends (1.0.22-0ubuntu1) natty; urgency=low | 64 | sane-backends (1.0.22-0ubuntu1) natty; urgency=low |
69 | 2 | 65 | ||
70 | 3 | * New upstream release | 66 | * New upstream release |
71 | @@ -19,6 +82,27 @@ | |||
72 | 19 | 82 | ||
73 | 20 | -- Robert Ancell <robert.ancell@canonical.com> Mon, 14 Feb 2011 14:28:56 +1100 | 83 | -- Robert Ancell <robert.ancell@canonical.com> Mon, 14 Feb 2011 14:28:56 +1100 |
74 | 21 | 84 | ||
75 | 85 | sane-backends (1.0.22~git1.0.21-157-g126c70d-1) experimental; urgency=low | ||
76 | 86 | |||
77 | 87 | * Git snapshot. | ||
78 | 88 | |||
79 | 89 | * debian/rules: | ||
80 | 90 | + Add dependency on acl to libsane when depending on udev. | ||
81 | 91 | + Use udev+acl mode when generating udev rules. | ||
82 | 92 | |||
83 | 93 | + debian/patches/sane-desc_udev+acl.patch: | ||
84 | 94 | + Added; try using ACLs for USB scanners in an effort to deconflict with | ||
85 | 95 | MFP devices. | ||
86 | 96 | |||
87 | 97 | -- Julien BLACHE <jblache@debian.org> Wed, 21 Jul 2010 18:36:37 +0200 | ||
88 | 98 | |||
89 | 99 | sane-backends (1.0.22~git1.0.21-87-g323ed01-1) experimental; urgency=low | ||
90 | 100 | |||
91 | 101 | * Git snapshot. | ||
92 | 102 | + genesys now has some support for LiDE 100 & 200 (closes: #586189). | ||
93 | 103 | |||
94 | 104 | -- Julien BLACHE <jblache@debian.org> Wed, 23 Jun 2010 18:37:59 +0200 | ||
95 | 105 | |||
96 | 22 | sane-backends (1.0.21-9ubuntu1) natty; urgency=low | 106 | sane-backends (1.0.21-9ubuntu1) natty; urgency=low |
97 | 23 | 107 | ||
98 | 24 | * Merge from debian unstable. Remaining changes: (LP: #693578) | 108 | * Merge from debian unstable. Remaining changes: (LP: #693578) |
99 | 25 | 109 | ||
100 | === modified file 'debian/control' | |||
101 | --- debian/control 2011-02-14 04:37:52 +0000 | |||
102 | +++ debian/control 2011-03-04 20:46:16 +0000 | |||
103 | @@ -1,7 +1,7 @@ | |||
104 | 1 | Source: sane-backends | 1 | Source: sane-backends |
105 | 2 | Section: graphics | 2 | Section: graphics |
106 | 3 | Priority: optional | 3 | Priority: optional |
108 | 4 | Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> | 4 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
109 | 5 | XSBC-Original-Maintainer: Julien BLACHE <jblache@debian.org> | 5 | XSBC-Original-Maintainer: Julien BLACHE <jblache@debian.org> |
110 | 6 | Standards-Version: 3.9.1 | 6 | Standards-Version: 3.9.1 |
111 | 7 | Build-Depends: debhelper (>= 5.0.0), po-debconf, libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libgphoto2-2-dev, libltdl3-dev, libjpeg-dev, libtiff4-dev, libusb-dev (>= 2:0.1.10a-9) [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], libcam-dev [kfreebsd-i386 kfreebsd-amd64], libavahi-client-dev (>= 0.6.4), gettext, texlive, texlive-latex-extra, autotools-dev, pkg-config, chrpath, xutils-dev | 7 | Build-Depends: debhelper (>= 5.0.0), po-debconf, libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libgphoto2-2-dev, libltdl3-dev, libjpeg-dev, libtiff4-dev, libusb-dev (>= 2:0.1.10a-9) [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], libcam-dev [kfreebsd-i386 kfreebsd-amd64], libavahi-client-dev (>= 0.6.4), gettext, texlive, texlive-latex-extra, autotools-dev, pkg-config, chrpath, xutils-dev |
112 | @@ -32,7 +32,7 @@ | |||
113 | 32 | Section: libs | 32 | Section: libs |
114 | 33 | Architecture: any | 33 | Architecture: any |
115 | 34 | Depends: adduser (>= 3.47), ${udev}, ${shlibs:Depends}, ${misc:Depends} | 34 | Depends: adduser (>= 3.47), ${udev}, ${shlibs:Depends}, ${misc:Depends} |
117 | 35 | Suggests: avahi-daemon, hpoj, hplip, libsane-extras (>= 1.0.20.1), sane-utils (>= ${binary:Version}) | 35 | Suggests: avahi-daemon, hpoj, hplip, libsane-extras (>= 1.0.22.1), sane-utils (>= ${binary:Version}) |
118 | 36 | Replaces: libsane-extras (<< 1.0.18.14) | 36 | Replaces: libsane-extras (<< 1.0.18.14) |
119 | 37 | Description: API library for scanners | 37 | Description: API library for scanners |
120 | 38 | SANE stands for "Scanner Access Now Easy" and is an application | 38 | SANE stands for "Scanner Access Now Easy" and is an application |
121 | @@ -56,8 +56,8 @@ | |||
122 | 56 | Section: libdevel | 56 | Section: libdevel |
123 | 57 | Architecture: any | 57 | Architecture: any |
124 | 58 | Depends: libsane (= ${binary:Version}), libjpeg-dev, libtiff4-dev, libusb-dev (>= 1:0.1.6a-1) [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], ${libcam-dev}, libgphoto2-2-dev, libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libavahi-client-dev, pkg-config, ${misc:Depends} | 58 | Depends: libsane (= ${binary:Version}), libjpeg-dev, libtiff4-dev, libusb-dev (>= 1:0.1.6a-1) [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], ${libcam-dev}, libgphoto2-2-dev, libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libavahi-client-dev, pkg-config, ${misc:Depends} |
125 | 59 | Suggests: libsane-extras-dev (>= 1.0.22.1) | ||
126 | 59 | Replaces: libsane-extras-dev (<< 1.0.18.14) | 60 | Replaces: libsane-extras-dev (<< 1.0.18.14) |
127 | 60 | Suggests: libsane-extras-dev (>= 1.0.20.1) | ||
128 | 61 | Description: API development library for scanners [development files] | 61 | Description: API development library for scanners [development files] |
129 | 62 | SANE stands for "Scanner Access Now Easy" and is an application | 62 | SANE stands for "Scanner Access Now Easy" and is an application |
130 | 63 | programming interface (API) that provides standardized access to any | 63 | programming interface (API) that provides standardized access to any |
131 | @@ -77,7 +77,7 @@ | |||
132 | 77 | Priority: extra | 77 | Priority: extra |
133 | 78 | Architecture: any | 78 | Architecture: any |
134 | 79 | Depends: libsane (= ${binary:Version}), ${misc:Depends} | 79 | Depends: libsane (= ${binary:Version}), ${misc:Depends} |
136 | 80 | Suggests: libsane-extras-dbg (>= 1.0.20.1) | 80 | Suggests: libsane-extras-dbg (>= 1.0.22.1) |
137 | 81 | Replaces: libsane-extras-dbg (<< 1.0.18.14) | 81 | Replaces: libsane-extras-dbg (<< 1.0.18.14) |
138 | 82 | Description: API development library for scanners [debug symbols] | 82 | Description: API development library for scanners [debug symbols] |
139 | 83 | SANE stands for "Scanner Access Now Easy" and is an application | 83 | SANE stands for "Scanner Access Now Easy" and is an application |
140 | @@ -91,4 +91,3 @@ | |||
141 | 91 | backends are welcome, too, however). | 91 | backends are welcome, too, however). |
142 | 92 | . | 92 | . |
143 | 93 | This package contains the debugging symbols for the SANE backends. | 93 | This package contains the debugging symbols for the SANE backends. |
144 | 94 | |||
145 | 95 | 94 | ||
146 | === modified file 'debian/libsane.README.Debian' | |||
147 | --- debian/libsane.README.Debian 2010-06-17 01:28:18 +0000 | |||
148 | +++ debian/libsane.README.Debian 2011-03-04 20:46:16 +0000 | |||
149 | @@ -6,10 +6,16 @@ | |||
150 | 6 | 6 | ||
151 | 7 | The configuration files for Debian releases of SANE are located in /etc/sane.d. | 7 | The configuration files for Debian releases of SANE are located in /etc/sane.d. |
152 | 8 | 8 | ||
157 | 9 | A Debian-specific patch is applied to the dll backend, so that the backend | 9 | The dll pseudo-backend is responsible for loading other SANE backends that |
158 | 10 | checks for pieces of dll.conf in the /etc/sane.d/dll.d directory; this | 10 | provide support for the actual hardware. Which backends are loaded is |
159 | 11 | facility is used by packages providing external backends (like libsane-extras, | 11 | determined by the contents of the /etc/sane.d/dll.conf file. The dll |
160 | 12 | hpoj or hplip) to "register" the backends they provide without much hassle. | 12 | pseudo-backend also checks for dll.conf snippets in /etc/sane.d/dll.d; any |
161 | 13 | file in this directory that doesn't look like a backup file will be treated | ||
162 | 14 | as a configuration snippet. | ||
163 | 15 | |||
164 | 16 | This facility is used by packages providing external backends (like | ||
165 | 17 | libsane-extras, hpoj or hplip) to "register" the backends they provide without | ||
166 | 18 | much hassle. | ||
167 | 13 | 19 | ||
168 | 14 | Each backend has a configuration file which specifies which devices, | 20 | Each backend has a configuration file which specifies which devices, |
169 | 15 | access methods, options etc. should be used by this backend. The format | 21 | access methods, options etc. should be used by this backend. The format |
170 | @@ -58,27 +64,27 @@ | |||
171 | 58 | SETUP | 64 | SETUP |
172 | 59 | ----- | 65 | ----- |
173 | 60 | 66 | ||
176 | 61 | Note: this is only a proposed solution, you are free to come up and implement | 67 | In this day and age, SANE integrates with udev and ConsoleKit seemlessly; this |
177 | 62 | whatever access control mechanism you see fit (eg. by using saned on localhost). | 68 | means users physically logged into the machine (as opposed to users logged in |
178 | 69 | remotely via SSH) have access to the scanners by default. | ||
179 | 70 | |||
180 | 71 | The solution proposed below is a legacy setup that remains valid for sharing | ||
181 | 72 | scanners with saned or for systems that don't use ConsoleKit. Note that this is | ||
182 | 73 | only a proposed solution, you are free to come up with and implement whatever | ||
183 | 74 | access control mechanism you see fit. | ||
184 | 63 | 75 | ||
185 | 64 | This package added a scanner group to your system. We recommend you add to | 76 | This package added a scanner group to your system. We recommend you add to |
186 | 65 | this group the users that should be able to access your scanner(s), and | 77 | this group the users that should be able to access your scanner(s), and |
187 | 66 | make sure the appropriate device files (eg. /dev/sg0, ...) are owned by root | 78 | make sure the appropriate device files (eg. /dev/sg0, ...) are owned by root |
188 | 67 | and the scanner group, with permissions set to 0660. | 79 | and the scanner group, with permissions set to 0660. |
189 | 68 | 80 | ||
203 | 69 | You can change the ownership and permissions of the device files as follows : | 81 | For USB and SCSI scanners, the permissions will be automatically set by udev; |
204 | 70 | chown root:scanner /dev/.... | 82 | the /lib/udev/rules.d/60-libsane.rules file contains a list of USB and SCSI |
205 | 71 | chmod 0660 /dev/.... | 83 | scanners supported by SANE. |
206 | 72 | 84 | ||
207 | 73 | 85 | The udev rules now use ACLs instead of standard UNIX permissions; the scanner | |
208 | 74 | If you intend to use a USB scanner, it is highly recommended that you install | 86 | group is added to the ACLs for the corresponding device(s) with read+write |
209 | 75 | the udev package, which will help you with setting up the permissions on | 87 | permissions. |
197 | 76 | the device node referring to your scanner (under /dev/bus/usb/ -- libusb is | ||
198 | 77 | used to communicate with the scanner). | ||
199 | 78 | |||
200 | 79 | The /lib/udev/rules.d/60-libsane.rules file contains a list of USB scanners | ||
201 | 80 | supported by SANE, so everything should just work once udev will be running on | ||
202 | 81 | your system. | ||
210 | 82 | 88 | ||
211 | 83 | If your scanner is missing from the list, do NOT modify this file; it is not | 89 | If your scanner is missing from the list, do NOT modify this file; it is not |
212 | 84 | a configuration file, which means your changes WILL be overwritten upon | 90 | a configuration file, which means your changes WILL be overwritten upon |
213 | @@ -167,4 +173,4 @@ | |||
214 | 167 | some backends not yet included in the regular SANE distribution. | 173 | some backends not yet included in the regular SANE distribution. |
215 | 168 | 174 | ||
216 | 169 | 175 | ||
218 | 170 | -- Julien BLACHE <jblache@debian.org>, Sat, 12 Dec 2009 11:29:42 +0100 | 176 | -- Julien BLACHE <jblache@debian.org>, Wed, 16 Feb 2011 19:00:12 +0100 |
219 | 171 | 177 | ||
220 | === added directory 'debian/patches-exp' | |||
221 | === added file 'debian/patches-exp/disable_rpath.patch' | |||
222 | --- debian/patches-exp/disable_rpath.patch 1970-01-01 00:00:00 +0000 | |||
223 | +++ debian/patches-exp/disable_rpath.patch 2011-03-04 20:46:16 +0000 | |||
224 | @@ -0,0 +1,29936 @@ | |||
225 | 1 | Description: Do not set rpath on build products | ||
226 | 2 | Remove SANE_LINKER_RPATH macro and apply | ||
227 | 3 | sed -i -r 's/(hardcode_into_libs)=.*$/\1=no/' | ||
228 | 4 | on the updated configure script. | ||
229 | 5 | Author: Julien BLACHE <jblache@debian.org> | ||
230 | 6 | |||
231 | 7 | Index: sane-backends-1.0.22~git1.0.21-157-g126c70d/configure | ||
232 | 8 | =================================================================== | ||
233 | 9 | --- sane-backends-1.0.22~git1.0.21-157-g126c70d.orig/configure 2010-07-21 18:29:58.194207008 +0200 | ||
234 | 10 | +++ sane-backends-1.0.22~git1.0.21-157-g126c70d/configure 2010-07-21 18:29:53.726205867 +0200 | ||
235 | 11 | @@ -1,20 +1,24 @@ | ||
236 | 12 | #! /bin/sh | ||
237 | 13 | # Guess values for system-dependent variables and create Makefiles. | ||
238 | 14 | -# Generated by GNU Autoconf 2.63 for sane-backends 1.0.22git. | ||
239 | 15 | +# Generated by GNU Autoconf 2.65 for sane-backends 1.0.22git. | ||
240 | 16 | # | ||
241 | 17 | # Report bugs to <sane-devel@lists.alioth.debian.org>. | ||
242 | 18 | # | ||
243 | 19 | +# | ||
244 | 20 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
245 | 21 | -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
246 | 22 | +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
247 | 23 | +# Inc. | ||
248 | 24 | +# | ||
249 | 25 | +# | ||
250 | 26 | # This configure script is free software; the Free Software Foundation | ||
251 | 27 | # gives unlimited permission to copy, distribute and modify it. | ||
252 | 28 | -## --------------------- ## | ||
253 | 29 | -## M4sh Initialization. ## | ||
254 | 30 | -## --------------------- ## | ||
255 | 31 | +## -------------------- ## | ||
256 | 32 | +## M4sh Initialization. ## | ||
257 | 33 | +## -------------------- ## | ||
258 | 34 | |||
259 | 35 | # Be more Bourne compatible | ||
260 | 36 | DUALCASE=1; export DUALCASE # for MKS sh | ||
261 | 37 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
262 | 38 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
263 | 39 | emulate sh | ||
264 | 40 | NULLCMD=: | ||
265 | 41 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
266 | 42 | @@ -22,23 +26,15 @@ | ||
267 | 43 | alias -g '${1+"$@"}'='"$@"' | ||
268 | 44 | setopt NO_GLOB_SUBST | ||
269 | 45 | else | ||
270 | 46 | - case `(set -o) 2>/dev/null` in | ||
271 | 47 | - *posix*) set -o posix ;; | ||
272 | 48 | + case `(set -o) 2>/dev/null` in #( | ||
273 | 49 | + *posix*) : | ||
274 | 50 | + set -o posix ;; #( | ||
275 | 51 | + *) : | ||
276 | 52 | + ;; | ||
277 | 53 | esac | ||
278 | 54 | - | ||
279 | 55 | fi | ||
280 | 56 | |||
281 | 57 | |||
282 | 58 | - | ||
283 | 59 | - | ||
284 | 60 | -# PATH needs CR | ||
285 | 61 | -# Avoid depending upon Character Ranges. | ||
286 | 62 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
287 | 63 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
288 | 64 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
289 | 65 | -as_cr_digits='0123456789' | ||
290 | 66 | -as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
291 | 67 | - | ||
292 | 68 | as_nl=' | ||
293 | 69 | ' | ||
294 | 70 | export as_nl | ||
295 | 71 | @@ -46,7 +42,13 @@ | ||
296 | 72 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
297 | 73 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
298 | 74 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
299 | 75 | -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
300 | 76 | +# Prefer a ksh shell builtin over an external printf program on Solaris, | ||
301 | 77 | +# but without wasting forks for bash or zsh. | ||
302 | 78 | +if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
303 | 79 | + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
304 | 80 | + as_echo='print -r --' | ||
305 | 81 | + as_echo_n='print -rn --' | ||
306 | 82 | +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
307 | 83 | as_echo='printf %s\n' | ||
308 | 84 | as_echo_n='printf %s' | ||
309 | 85 | else | ||
310 | 86 | @@ -57,7 +59,7 @@ | ||
311 | 87 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
312 | 88 | as_echo_n_body='eval | ||
313 | 89 | arg=$1; | ||
314 | 90 | - case $arg in | ||
315 | 91 | + case $arg in #( | ||
316 | 92 | *"$as_nl"*) | ||
317 | 93 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
318 | 94 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
319 | 95 | @@ -80,13 +82,6 @@ | ||
320 | 96 | } | ||
321 | 97 | fi | ||
322 | 98 | |||
323 | 99 | -# Support unset when possible. | ||
324 | 100 | -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
325 | 101 | - as_unset=unset | ||
326 | 102 | -else | ||
327 | 103 | - as_unset=false | ||
328 | 104 | -fi | ||
329 | 105 | - | ||
330 | 106 | |||
331 | 107 | # IFS | ||
332 | 108 | # We need space, tab and new line, in precisely that order. Quoting is | ||
333 | 109 | @@ -96,15 +91,15 @@ | ||
334 | 110 | IFS=" "" $as_nl" | ||
335 | 111 | |||
336 | 112 | # Find who we are. Look in the path if we contain no directory separator. | ||
337 | 113 | -case $0 in | ||
338 | 114 | +case $0 in #(( | ||
339 | 115 | *[\\/]* ) as_myself=$0 ;; | ||
340 | 116 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
341 | 117 | for as_dir in $PATH | ||
342 | 118 | do | ||
343 | 119 | IFS=$as_save_IFS | ||
344 | 120 | test -z "$as_dir" && as_dir=. | ||
345 | 121 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
346 | 122 | -done | ||
347 | 123 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
348 | 124 | + done | ||
349 | 125 | IFS=$as_save_IFS | ||
350 | 126 | |||
351 | 127 | ;; | ||
352 | 128 | @@ -116,12 +111,16 @@ | ||
353 | 129 | fi | ||
354 | 130 | if test ! -f "$as_myself"; then | ||
355 | 131 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
356 | 132 | - { (exit 1); exit 1; } | ||
357 | 133 | + exit 1 | ||
358 | 134 | fi | ||
359 | 135 | |||
360 | 136 | -# Work around bugs in pre-3.0 UWIN ksh. | ||
361 | 137 | -for as_var in ENV MAIL MAILPATH | ||
362 | 138 | -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
363 | 139 | +# Unset variables that we do not need and which cause bugs (e.g. in | ||
364 | 140 | +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
365 | 141 | +# suppresses any "Segmentation fault" message there. '((' could | ||
366 | 142 | +# trigger a bug in pdksh 5.2.14. | ||
367 | 143 | +for as_var in BASH_ENV ENV MAIL MAILPATH | ||
368 | 144 | +do eval test x\${$as_var+set} = xset \ | ||
369 | 145 | + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
370 | 146 | done | ||
371 | 147 | PS1='$ ' | ||
372 | 148 | PS2='> ' | ||
373 | 149 | @@ -133,330 +132,300 @@ | ||
374 | 150 | LANGUAGE=C | ||
375 | 151 | export LANGUAGE | ||
376 | 152 | |||
377 | 153 | -# Required to use basename. | ||
378 | 154 | -if expr a : '\(a\)' >/dev/null 2>&1 && | ||
379 | 155 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
380 | 156 | - as_expr=expr | ||
381 | 157 | -else | ||
382 | 158 | - as_expr=false | ||
383 | 159 | -fi | ||
384 | 160 | - | ||
385 | 161 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
386 | 162 | - as_basename=basename | ||
387 | 163 | -else | ||
388 | 164 | - as_basename=false | ||
389 | 165 | -fi | ||
390 | 166 | - | ||
391 | 167 | - | ||
392 | 168 | -# Name of the executable. | ||
393 | 169 | -as_me=`$as_basename -- "$0" || | ||
394 | 170 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
395 | 171 | - X"$0" : 'X\(//\)$' \| \ | ||
396 | 172 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
397 | 173 | -$as_echo X/"$0" | | ||
398 | 174 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
399 | 175 | - s//\1/ | ||
400 | 176 | - q | ||
401 | 177 | - } | ||
402 | 178 | - /^X\/\(\/\/\)$/{ | ||
403 | 179 | - s//\1/ | ||
404 | 180 | - q | ||
405 | 181 | - } | ||
406 | 182 | - /^X\/\(\/\).*/{ | ||
407 | 183 | - s//\1/ | ||
408 | 184 | - q | ||
409 | 185 | - } | ||
410 | 186 | - s/.*/./; q'` | ||
411 | 187 | - | ||
412 | 188 | # CDPATH. | ||
413 | 189 | -$as_unset CDPATH | ||
414 | 190 | - | ||
415 | 191 | +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
416 | 192 | |||
417 | 193 | if test "x$CONFIG_SHELL" = x; then | ||
418 | 194 | - if (eval ":") 2>/dev/null; then | ||
419 | 195 | - as_have_required=yes | ||
420 | 196 | + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | ||
421 | 197 | + emulate sh | ||
422 | 198 | + NULLCMD=: | ||
423 | 199 | + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
424 | 200 | + # is contrary to our usage. Disable this feature. | ||
425 | 201 | + alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
426 | 202 | + setopt NO_GLOB_SUBST | ||
427 | 203 | else | ||
428 | 204 | - as_have_required=no | ||
429 | 205 | + case \`(set -o) 2>/dev/null\` in #( | ||
430 | 206 | + *posix*) : | ||
431 | 207 | + set -o posix ;; #( | ||
432 | 208 | + *) : | ||
433 | 209 | + ;; | ||
434 | 210 | +esac | ||
435 | 211 | fi | ||
436 | 212 | - | ||
437 | 213 | - if test $as_have_required = yes && (eval ": | ||
438 | 214 | -(as_func_return () { | ||
439 | 215 | - (exit \$1) | ||
440 | 216 | -} | ||
441 | 217 | -as_func_success () { | ||
442 | 218 | - as_func_return 0 | ||
443 | 219 | -} | ||
444 | 220 | -as_func_failure () { | ||
445 | 221 | - as_func_return 1 | ||
446 | 222 | -} | ||
447 | 223 | -as_func_ret_success () { | ||
448 | 224 | - return 0 | ||
449 | 225 | -} | ||
450 | 226 | -as_func_ret_failure () { | ||
451 | 227 | - return 1 | ||
452 | 228 | -} | ||
453 | 229 | +" | ||
454 | 230 | + as_required="as_fn_return () { (exit \$1); } | ||
455 | 231 | +as_fn_success () { as_fn_return 0; } | ||
456 | 232 | +as_fn_failure () { as_fn_return 1; } | ||
457 | 233 | +as_fn_ret_success () { return 0; } | ||
458 | 234 | +as_fn_ret_failure () { return 1; } | ||
459 | 235 | |||
460 | 236 | exitcode=0 | ||
461 | 237 | -if as_func_success; then | ||
462 | 238 | - : | ||
463 | 239 | -else | ||
464 | 240 | - exitcode=1 | ||
465 | 241 | - echo as_func_success failed. | ||
466 | 242 | -fi | ||
467 | 243 | - | ||
468 | 244 | -if as_func_failure; then | ||
469 | 245 | - exitcode=1 | ||
470 | 246 | - echo as_func_failure succeeded. | ||
471 | 247 | -fi | ||
472 | 248 | - | ||
473 | 249 | -if as_func_ret_success; then | ||
474 | 250 | - : | ||
475 | 251 | -else | ||
476 | 252 | - exitcode=1 | ||
477 | 253 | - echo as_func_ret_success failed. | ||
478 | 254 | -fi | ||
479 | 255 | - | ||
480 | 256 | -if as_func_ret_failure; then | ||
481 | 257 | - exitcode=1 | ||
482 | 258 | - echo as_func_ret_failure succeeded. | ||
483 | 259 | -fi | ||
484 | 260 | - | ||
485 | 261 | -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
486 | 262 | - : | ||
487 | 263 | +as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
488 | 264 | +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
489 | 265 | +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
490 | 266 | +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
491 | 267 | +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
492 | 268 | + | ||
493 | 269 | +else | ||
494 | 270 | + exitcode=1; echo positional parameters were not saved. | ||
495 | 271 | +fi | ||
496 | 272 | +test x\$exitcode = x0 || exit 1" | ||
497 | 273 | + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
498 | 274 | + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
499 | 275 | + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
500 | 276 | + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
501 | 277 | +test \$(( 1 + 1 )) = 2 || exit 1" | ||
502 | 278 | + if (eval "$as_required") 2>/dev/null; then : | ||
503 | 279 | + as_have_required=yes | ||
504 | 280 | else | ||
505 | 281 | - exitcode=1 | ||
506 | 282 | - echo positional parameters were not saved. | ||
507 | 283 | + as_have_required=no | ||
508 | 284 | fi | ||
509 | 285 | + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
510 | 286 | |||
511 | 287 | -test \$exitcode = 0) || { (exit 1); exit 1; } | ||
512 | 288 | - | ||
513 | 289 | -( | ||
514 | 290 | - as_lineno_1=\$LINENO | ||
515 | 291 | - as_lineno_2=\$LINENO | ||
516 | 292 | - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
517 | 293 | - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
518 | 294 | -") 2> /dev/null; then | ||
519 | 295 | - : | ||
520 | 296 | else | ||
521 | 297 | - as_candidate_shells= | ||
522 | 298 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
523 | 299 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
524 | 300 | +as_found=false | ||
525 | 301 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
526 | 302 | do | ||
527 | 303 | IFS=$as_save_IFS | ||
528 | 304 | test -z "$as_dir" && as_dir=. | ||
529 | 305 | - case $as_dir in | ||
530 | 306 | + as_found=: | ||
531 | 307 | + case $as_dir in #( | ||
532 | 308 | /*) | ||
533 | 309 | for as_base in sh bash ksh sh5; do | ||
534 | 310 | - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | ||
535 | 311 | + # Try only shells that exist, to save several forks. | ||
536 | 312 | + as_shell=$as_dir/$as_base | ||
537 | 313 | + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
538 | 314 | + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
539 | 315 | + CONFIG_SHELL=$as_shell as_have_required=yes | ||
540 | 316 | + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
541 | 317 | + break 2 | ||
542 | 318 | +fi | ||
543 | 319 | +fi | ||
544 | 320 | done;; | ||
545 | 321 | esac | ||
546 | 322 | + as_found=false | ||
547 | 323 | done | ||
548 | 324 | +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
549 | 325 | + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
550 | 326 | + CONFIG_SHELL=$SHELL as_have_required=yes | ||
551 | 327 | +fi; } | ||
552 | 328 | IFS=$as_save_IFS | ||
553 | 329 | |||
554 | 330 | |||
555 | 331 | - for as_shell in $as_candidate_shells $SHELL; do | ||
556 | 332 | - # Try only shells that exist, to save several forks. | ||
557 | 333 | - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
558 | 334 | - { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
559 | 335 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
560 | 336 | - emulate sh | ||
561 | 337 | - NULLCMD=: | ||
562 | 338 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
563 | 339 | - # is contrary to our usage. Disable this feature. | ||
564 | 340 | - alias -g '${1+"$@"}'='"$@"' | ||
565 | 341 | - setopt NO_GLOB_SUBST | ||
566 | 342 | -else | ||
567 | 343 | - case `(set -o) 2>/dev/null` in | ||
568 | 344 | - *posix*) set -o posix ;; | ||
569 | 345 | -esac | ||
570 | 346 | - | ||
571 | 347 | -fi | ||
572 | 348 | - | ||
573 | 349 | - | ||
574 | 350 | -: | ||
575 | 351 | -_ASEOF | ||
576 | 352 | -}; then | ||
577 | 353 | - CONFIG_SHELL=$as_shell | ||
578 | 354 | - as_have_required=yes | ||
579 | 355 | - if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
580 | 356 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
581 | 357 | - emulate sh | ||
582 | 358 | - NULLCMD=: | ||
583 | 359 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
584 | 360 | - # is contrary to our usage. Disable this feature. | ||
585 | 361 | - alias -g '${1+"$@"}'='"$@"' | ||
586 | 362 | - setopt NO_GLOB_SUBST | ||
587 | 363 | -else | ||
588 | 364 | - case `(set -o) 2>/dev/null` in | ||
589 | 365 | - *posix*) set -o posix ;; | ||
590 | 366 | -esac | ||
591 | 367 | - | ||
592 | 368 | -fi | ||
593 | 369 | - | ||
594 | 370 | - | ||
595 | 371 | -: | ||
596 | 372 | -(as_func_return () { | ||
597 | 373 | - (exit $1) | ||
598 | 374 | -} | ||
599 | 375 | -as_func_success () { | ||
600 | 376 | - as_func_return 0 | ||
601 | 377 | -} | ||
602 | 378 | -as_func_failure () { | ||
603 | 379 | - as_func_return 1 | ||
604 | 380 | -} | ||
605 | 381 | -as_func_ret_success () { | ||
606 | 382 | - return 0 | ||
607 | 383 | -} | ||
608 | 384 | -as_func_ret_failure () { | ||
609 | 385 | - return 1 | ||
610 | 386 | -} | ||
611 | 387 | - | ||
612 | 388 | -exitcode=0 | ||
613 | 389 | -if as_func_success; then | ||
614 | 390 | - : | ||
615 | 391 | -else | ||
616 | 392 | - exitcode=1 | ||
617 | 393 | - echo as_func_success failed. | ||
618 | 394 | -fi | ||
619 | 395 | - | ||
620 | 396 | -if as_func_failure; then | ||
621 | 397 | - exitcode=1 | ||
622 | 398 | - echo as_func_failure succeeded. | ||
623 | 399 | -fi | ||
624 | 400 | - | ||
625 | 401 | -if as_func_ret_success; then | ||
626 | 402 | - : | ||
627 | 403 | -else | ||
628 | 404 | - exitcode=1 | ||
629 | 405 | - echo as_func_ret_success failed. | ||
630 | 406 | -fi | ||
631 | 407 | - | ||
632 | 408 | -if as_func_ret_failure; then | ||
633 | 409 | - exitcode=1 | ||
634 | 410 | - echo as_func_ret_failure succeeded. | ||
635 | 411 | -fi | ||
636 | 412 | - | ||
637 | 413 | -if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
638 | 414 | - : | ||
639 | 415 | -else | ||
640 | 416 | - exitcode=1 | ||
641 | 417 | - echo positional parameters were not saved. | ||
642 | 418 | -fi | ||
643 | 419 | - | ||
644 | 420 | -test $exitcode = 0) || { (exit 1); exit 1; } | ||
645 | 421 | - | ||
646 | 422 | -( | ||
647 | 423 | - as_lineno_1=$LINENO | ||
648 | 424 | - as_lineno_2=$LINENO | ||
649 | 425 | - test "x$as_lineno_1" != "x$as_lineno_2" && | ||
650 | 426 | - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | ||
651 | 427 | - | ||
652 | 428 | -_ASEOF | ||
653 | 429 | -}; then | ||
654 | 430 | - break | ||
655 | 431 | -fi | ||
656 | 432 | - | ||
657 | 433 | -fi | ||
658 | 434 | - | ||
659 | 435 | - done | ||
660 | 436 | - | ||
661 | 437 | - if test "x$CONFIG_SHELL" != x; then | ||
662 | 438 | - for as_var in BASH_ENV ENV | ||
663 | 439 | - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
664 | 440 | - done | ||
665 | 441 | + if test "x$CONFIG_SHELL" != x; then : | ||
666 | 442 | + # We cannot yet assume a decent shell, so we have to provide a | ||
667 | 443 | + # neutralization value for shells without unset; and this also | ||
668 | 444 | + # works around shells that cannot unset nonexistent variables. | ||
669 | 445 | + BASH_ENV=/dev/null | ||
670 | 446 | + ENV=/dev/null | ||
671 | 447 | + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
672 | 448 | export CONFIG_SHELL | ||
673 | 449 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
674 | 450 | fi | ||
675 | 451 | |||
676 | 452 | - | ||
677 | 453 | - if test $as_have_required = no; then | ||
678 | 454 | - echo This script requires a shell more modern than all the | ||
679 | 455 | - echo shells that I found on your system. Please install a | ||
680 | 456 | - echo modern shell, or manually run the script under such a | ||
681 | 457 | - echo shell if you do have one. | ||
682 | 458 | - { (exit 1); exit 1; } | ||
683 | 459 | + if test x$as_have_required = xno; then : | ||
684 | 460 | + $as_echo "$0: This script requires a shell more modern than all" | ||
685 | 461 | + $as_echo "$0: the shells that I found on your system." | ||
686 | 462 | + if test x${ZSH_VERSION+set} = xset ; then | ||
687 | 463 | + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
688 | 464 | + $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
689 | 465 | + else | ||
690 | 466 | + $as_echo "$0: Please tell bug-autoconf@gnu.org and | ||
691 | 467 | +$0: sane-devel@lists.alioth.debian.org about your system, | ||
692 | 468 | +$0: including any error possibly output before this | ||
693 | 469 | +$0: message. Then install a modern shell, or manually run | ||
694 | 470 | +$0: the script under such a shell if you do have one." | ||
695 | 471 | + fi | ||
696 | 472 | + exit 1 | ||
697 | 473 | fi | ||
698 | 474 | - | ||
699 | 475 | - | ||
700 | 476 | fi | ||
701 | 477 | - | ||
702 | 478 | fi | ||
703 | 479 | +SHELL=${CONFIG_SHELL-/bin/sh} | ||
704 | 480 | +export SHELL | ||
705 | 481 | +# Unset more variables known to interfere with behavior of common tools. | ||
706 | 482 | +CLICOLOR_FORCE= GREP_OPTIONS= | ||
707 | 483 | +unset CLICOLOR_FORCE GREP_OPTIONS | ||
708 | 484 | + | ||
709 | 485 | +## --------------------- ## | ||
710 | 486 | +## M4sh Shell Functions. ## | ||
711 | 487 | +## --------------------- ## | ||
712 | 488 | +# as_fn_unset VAR | ||
713 | 489 | +# --------------- | ||
714 | 490 | +# Portably unset VAR. | ||
715 | 491 | +as_fn_unset () | ||
716 | 492 | +{ | ||
717 | 493 | + { eval $1=; unset $1;} | ||
718 | 494 | +} | ||
719 | 495 | +as_unset=as_fn_unset | ||
720 | 496 | + | ||
721 | 497 | +# as_fn_set_status STATUS | ||
722 | 498 | +# ----------------------- | ||
723 | 499 | +# Set $? to STATUS, without forking. | ||
724 | 500 | +as_fn_set_status () | ||
725 | 501 | +{ | ||
726 | 502 | + return $1 | ||
727 | 503 | +} # as_fn_set_status | ||
728 | 504 | + | ||
729 | 505 | +# as_fn_exit STATUS | ||
730 | 506 | +# ----------------- | ||
731 | 507 | +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
732 | 508 | +as_fn_exit () | ||
733 | 509 | +{ | ||
734 | 510 | + set +e | ||
735 | 511 | + as_fn_set_status $1 | ||
736 | 512 | + exit $1 | ||
737 | 513 | +} # as_fn_exit | ||
738 | 514 | + | ||
739 | 515 | +# as_fn_mkdir_p | ||
740 | 516 | +# ------------- | ||
741 | 517 | +# Create "$as_dir" as a directory, including parents if necessary. | ||
742 | 518 | +as_fn_mkdir_p () | ||
743 | 519 | +{ | ||
744 | 520 | |||
745 | 521 | + case $as_dir in #( | ||
746 | 522 | + -*) as_dir=./$as_dir;; | ||
747 | 523 | + esac | ||
748 | 524 | + test -d "$as_dir" || eval $as_mkdir_p || { | ||
749 | 525 | + as_dirs= | ||
750 | 526 | + while :; do | ||
751 | 527 | + case $as_dir in #( | ||
752 | 528 | + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
753 | 529 | + *) as_qdir=$as_dir;; | ||
754 | 530 | + esac | ||
755 | 531 | + as_dirs="'$as_qdir' $as_dirs" | ||
756 | 532 | + as_dir=`$as_dirname -- "$as_dir" || | ||
757 | 533 | +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
758 | 534 | + X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
759 | 535 | + X"$as_dir" : 'X\(//\)$' \| \ | ||
760 | 536 | + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
761 | 537 | +$as_echo X"$as_dir" | | ||
762 | 538 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
763 | 539 | + s//\1/ | ||
764 | 540 | + q | ||
765 | 541 | + } | ||
766 | 542 | + /^X\(\/\/\)[^/].*/{ | ||
767 | 543 | + s//\1/ | ||
768 | 544 | + q | ||
769 | 545 | + } | ||
770 | 546 | + /^X\(\/\/\)$/{ | ||
771 | 547 | + s//\1/ | ||
772 | 548 | + q | ||
773 | 549 | + } | ||
774 | 550 | + /^X\(\/\).*/{ | ||
775 | 551 | + s//\1/ | ||
776 | 552 | + q | ||
777 | 553 | + } | ||
778 | 554 | + s/.*/./; q'` | ||
779 | 555 | + test -d "$as_dir" && break | ||
780 | 556 | + done | ||
781 | 557 | + test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
782 | 558 | + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
783 | 559 | |||
784 | 560 | |||
785 | 561 | -(eval "as_func_return () { | ||
786 | 562 | - (exit \$1) | ||
787 | 563 | -} | ||
788 | 564 | -as_func_success () { | ||
789 | 565 | - as_func_return 0 | ||
790 | 566 | -} | ||
791 | 567 | -as_func_failure () { | ||
792 | 568 | - as_func_return 1 | ||
793 | 569 | -} | ||
794 | 570 | -as_func_ret_success () { | ||
795 | 571 | - return 0 | ||
796 | 572 | -} | ||
797 | 573 | -as_func_ret_failure () { | ||
798 | 574 | - return 1 | ||
799 | 575 | -} | ||
800 | 576 | +} # as_fn_mkdir_p | ||
801 | 577 | +# as_fn_append VAR VALUE | ||
802 | 578 | +# ---------------------- | ||
803 | 579 | +# Append the text in VALUE to the end of the definition contained in VAR. Take | ||
804 | 580 | +# advantage of any shell optimizations that allow amortized linear growth over | ||
805 | 581 | +# repeated appends, instead of the typical quadratic growth present in naive | ||
806 | 582 | +# implementations. | ||
807 | 583 | +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
808 | 584 | + eval 'as_fn_append () | ||
809 | 585 | + { | ||
810 | 586 | + eval $1+=\$2 | ||
811 | 587 | + }' | ||
812 | 588 | +else | ||
813 | 589 | + as_fn_append () | ||
814 | 590 | + { | ||
815 | 591 | + eval $1=\$$1\$2 | ||
816 | 592 | + } | ||
817 | 593 | +fi # as_fn_append | ||
818 | 594 | |||
819 | 595 | -exitcode=0 | ||
820 | 596 | -if as_func_success; then | ||
821 | 597 | - : | ||
822 | 598 | +# as_fn_arith ARG... | ||
823 | 599 | +# ------------------ | ||
824 | 600 | +# Perform arithmetic evaluation on the ARGs, and store the result in the | ||
825 | 601 | +# global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
826 | 602 | +# must be portable across $(()) and expr. | ||
827 | 603 | +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
828 | 604 | + eval 'as_fn_arith () | ||
829 | 605 | + { | ||
830 | 606 | + as_val=$(( $* )) | ||
831 | 607 | + }' | ||
832 | 608 | else | ||
833 | 609 | - exitcode=1 | ||
834 | 610 | - echo as_func_success failed. | ||
835 | 611 | -fi | ||
836 | 612 | + as_fn_arith () | ||
837 | 613 | + { | ||
838 | 614 | + as_val=`expr "$@" || test $? -eq 1` | ||
839 | 615 | + } | ||
840 | 616 | +fi # as_fn_arith | ||
841 | 617 | |||
842 | 618 | -if as_func_failure; then | ||
843 | 619 | - exitcode=1 | ||
844 | 620 | - echo as_func_failure succeeded. | ||
845 | 621 | -fi | ||
846 | 622 | |||
847 | 623 | -if as_func_ret_success; then | ||
848 | 624 | - : | ||
849 | 625 | +# as_fn_error ERROR [LINENO LOG_FD] | ||
850 | 626 | +# --------------------------------- | ||
851 | 627 | +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
852 | 628 | +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
853 | 629 | +# script with status $?, using 1 if that was 0. | ||
854 | 630 | +as_fn_error () | ||
855 | 631 | +{ | ||
856 | 632 | + as_status=$?; test $as_status -eq 0 && as_status=1 | ||
857 | 633 | + if test "$3"; then | ||
858 | 634 | + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
859 | 635 | + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
860 | 636 | + fi | ||
861 | 637 | + $as_echo "$as_me: error: $1" >&2 | ||
862 | 638 | + as_fn_exit $as_status | ||
863 | 639 | +} # as_fn_error | ||
864 | 640 | + | ||
865 | 641 | +if expr a : '\(a\)' >/dev/null 2>&1 && | ||
866 | 642 | + test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
867 | 643 | + as_expr=expr | ||
868 | 644 | else | ||
869 | 645 | - exitcode=1 | ||
870 | 646 | - echo as_func_ret_success failed. | ||
871 | 647 | + as_expr=false | ||
872 | 648 | fi | ||
873 | 649 | |||
874 | 650 | -if as_func_ret_failure; then | ||
875 | 651 | - exitcode=1 | ||
876 | 652 | - echo as_func_ret_failure succeeded. | ||
877 | 653 | +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
878 | 654 | + as_basename=basename | ||
879 | 655 | +else | ||
880 | 656 | + as_basename=false | ||
881 | 657 | fi | ||
882 | 658 | |||
883 | 659 | -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
884 | 660 | - : | ||
885 | 661 | +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
886 | 662 | + as_dirname=dirname | ||
887 | 663 | else | ||
888 | 664 | - exitcode=1 | ||
889 | 665 | - echo positional parameters were not saved. | ||
890 | 666 | + as_dirname=false | ||
891 | 667 | fi | ||
892 | 668 | |||
893 | 669 | -test \$exitcode = 0") || { | ||
894 | 670 | - echo No shell found that supports shell functions. | ||
895 | 671 | - echo Please tell bug-autoconf@gnu.org about your system, | ||
896 | 672 | - echo including any error possibly output before this message. | ||
897 | 673 | - echo This can help us improve future autoconf versions. | ||
898 | 674 | - echo Configuration will now proceed without shell functions. | ||
899 | 675 | -} | ||
900 | 676 | +as_me=`$as_basename -- "$0" || | ||
901 | 677 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
902 | 678 | + X"$0" : 'X\(//\)$' \| \ | ||
903 | 679 | + X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
904 | 680 | +$as_echo X/"$0" | | ||
905 | 681 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
906 | 682 | + s//\1/ | ||
907 | 683 | + q | ||
908 | 684 | + } | ||
909 | 685 | + /^X\/\(\/\/\)$/{ | ||
910 | 686 | + s//\1/ | ||
911 | 687 | + q | ||
912 | 688 | + } | ||
913 | 689 | + /^X\/\(\/\).*/{ | ||
914 | 690 | + s//\1/ | ||
915 | 691 | + q | ||
916 | 692 | + } | ||
917 | 693 | + s/.*/./; q'` | ||
918 | 694 | |||
919 | 695 | +# Avoid depending upon Character Ranges. | ||
920 | 696 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
921 | 697 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
922 | 698 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
923 | 699 | +as_cr_digits='0123456789' | ||
924 | 700 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
925 | 701 | |||
926 | 702 | |||
927 | 703 | - as_lineno_1=$LINENO | ||
928 | 704 | - as_lineno_2=$LINENO | ||
929 | 705 | - test "x$as_lineno_1" != "x$as_lineno_2" && | ||
930 | 706 | - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
931 | 707 | - | ||
932 | 708 | - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
933 | 709 | - # uniformly replaced by the line number. The first 'sed' inserts a | ||
934 | 710 | - # line-number line after each line using $LINENO; the second 'sed' | ||
935 | 711 | - # does the real work. The second script uses 'N' to pair each | ||
936 | 712 | - # line-number line with the line containing $LINENO, and appends | ||
937 | 713 | - # trailing '-' during substitution so that $LINENO is not a special | ||
938 | 714 | - # case at line end. | ||
939 | 715 | - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
940 | 716 | - # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
941 | 717 | - # E. McMahon (1931-1989) for sed's syntax. :-) | ||
942 | 718 | + as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
943 | 719 | + as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
944 | 720 | + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
945 | 721 | + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
946 | 722 | + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
947 | 723 | sed -n ' | ||
948 | 724 | p | ||
949 | 725 | /[$]LINENO/= | ||
950 | 726 | @@ -473,8 +442,7 @@ | ||
951 | 727 | s/-\n.*// | ||
952 | 728 | ' >$as_me.lineno && | ||
953 | 729 | chmod +x "$as_me.lineno" || | ||
954 | 730 | - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
955 | 731 | - { (exit 1); exit 1; }; } | ||
956 | 732 | + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | ||
957 | 733 | |||
958 | 734 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
959 | 735 | # (the dirname of $[0] is not the place where we might find the | ||
960 | 736 | @@ -484,29 +452,18 @@ | ||
961 | 737 | exit | ||
962 | 738 | } | ||
963 | 739 | |||
964 | 740 | - | ||
965 | 741 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
966 | 742 | - as_dirname=dirname | ||
967 | 743 | -else | ||
968 | 744 | - as_dirname=false | ||
969 | 745 | -fi | ||
970 | 746 | - | ||
971 | 747 | ECHO_C= ECHO_N= ECHO_T= | ||
972 | 748 | -case `echo -n x` in | ||
973 | 749 | +case `echo -n x` in #((((( | ||
974 | 750 | -n*) | ||
975 | 751 | - case `echo 'x\c'` in | ||
976 | 752 | + case `echo 'xy\c'` in | ||
977 | 753 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
978 | 754 | - *) ECHO_C='\c';; | ||
979 | 755 | + xy) ECHO_C='\c';; | ||
980 | 756 | + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
981 | 757 | + ECHO_T=' ';; | ||
982 | 758 | esac;; | ||
983 | 759 | *) | ||
984 | 760 | ECHO_N='-n';; | ||
985 | 761 | esac | ||
986 | 762 | -if expr a : '\(a\)' >/dev/null 2>&1 && | ||
987 | 763 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
988 | 764 | - as_expr=expr | ||
989 | 765 | -else | ||
990 | 766 | - as_expr=false | ||
991 | 767 | -fi | ||
992 | 768 | |||
993 | 769 | rm -f conf$$ conf$$.exe conf$$.file | ||
994 | 770 | if test -d conf$$.dir; then | ||
995 | 771 | @@ -536,7 +493,7 @@ | ||
996 | 772 | rmdir conf$$.dir 2>/dev/null | ||
997 | 773 | |||
998 | 774 | if mkdir -p . 2>/dev/null; then | ||
999 | 775 | - as_mkdir_p=: | ||
1000 | 776 | + as_mkdir_p='mkdir -p "$as_dir"' | ||
1001 | 777 | else | ||
1002 | 778 | test -d ./-p && rmdir ./-p | ||
1003 | 779 | as_mkdir_p=false | ||
1004 | 780 | @@ -555,10 +512,10 @@ | ||
1005 | 781 | if test -d "$1"; then | ||
1006 | 782 | test -d "$1/."; | ||
1007 | 783 | else | ||
1008 | 784 | - case $1 in | ||
1009 | 785 | + case $1 in #( | ||
1010 | 786 | -*)set "./$1";; | ||
1011 | 787 | esac; | ||
1012 | 788 | - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
1013 | 789 | + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | ||
1014 | 790 | ???[sx]*):;;*)false;;esac;fi | ||
1015 | 791 | '\'' sh | ||
1016 | 792 | ' | ||
1017 | 793 | @@ -573,7 +530,6 @@ | ||
1018 | 794 | |||
1019 | 795 | |||
1020 | 796 | |||
1021 | 797 | - | ||
1022 | 798 | # Check that we are running under the correct shell. | ||
1023 | 799 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
1024 | 800 | |||
1025 | 801 | @@ -727,7 +683,8 @@ | ||
1026 | 802 | |||
1027 | 803 | tagnames=${tagnames+${tagnames},}F77 | ||
1028 | 804 | |||
1029 | 805 | -exec 7<&0 </dev/null 6>&1 | ||
1030 | 806 | +test -n "$DJDIR" || exec 7<&0 </dev/null | ||
1031 | 807 | +exec 6>&1 | ||
1032 | 808 | |||
1033 | 809 | # Name of the host. | ||
1034 | 810 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
1035 | 811 | @@ -745,7 +702,6 @@ | ||
1036 | 812 | subdirs= | ||
1037 | 813 | MFLAGS= | ||
1038 | 814 | MAKEFLAGS= | ||
1039 | 815 | -SHELL=${CONFIG_SHELL-/bin/sh} | ||
1040 | 816 | |||
1041 | 817 | # Identity of this package. | ||
1042 | 818 | PACKAGE_NAME='sane-backends' | ||
1043 | 819 | @@ -753,6 +709,7 @@ | ||
1044 | 820 | PACKAGE_VERSION='1.0.22git' | ||
1045 | 821 | PACKAGE_STRING='sane-backends 1.0.22git' | ||
1046 | 822 | PACKAGE_BUGREPORT='sane-devel@lists.alioth.debian.org' | ||
1047 | 823 | +PACKAGE_URL='' | ||
1048 | 824 | |||
1049 | 825 | # Factoring default headers for most tests. | ||
1050 | 826 | ac_includes_default="\ | ||
1051 | 827 | @@ -790,6 +747,7 @@ | ||
1052 | 828 | # include <unistd.h> | ||
1053 | 829 | #endif" | ||
1054 | 830 | |||
1055 | 831 | +ac_header_list= | ||
1056 | 832 | ac_subst_vars='am__EXEEXT_FALSE | ||
1057 | 833 | am__EXEEXT_TRUE | ||
1058 | 834 | LTLIBOBJS | ||
1059 | 835 | @@ -858,7 +816,6 @@ | ||
1060 | 836 | DYNAMIC_FLAG | ||
1061 | 837 | DL_LIBS | ||
1062 | 838 | effective_target | ||
1063 | 839 | -LINKER_RPATH | ||
1064 | 840 | STRICT_LDFLAGS | ||
1065 | 841 | INCLUDES | ||
1066 | 842 | CROSS_COMPILING_FALSE | ||
1067 | 843 | @@ -958,6 +915,7 @@ | ||
1068 | 844 | program_transform_name | ||
1069 | 845 | prefix | ||
1070 | 846 | exec_prefix | ||
1071 | 847 | +PACKAGE_URL | ||
1072 | 848 | PACKAGE_BUGREPORT | ||
1073 | 849 | PACKAGE_STRING | ||
1074 | 850 | PACKAGE_VERSION | ||
1075 | 851 | @@ -972,7 +930,6 @@ | ||
1076 | 852 | with_docdir | ||
1077 | 853 | enable_dependency_tracking | ||
1078 | 854 | enable_warnings | ||
1079 | 855 | -enable_rpath | ||
1080 | 856 | enable_pthread | ||
1081 | 857 | enable_locking | ||
1082 | 858 | with_group | ||
1083 | 859 | @@ -1127,8 +1084,7 @@ | ||
1084 | 860 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
1085 | 861 | # Reject names that are not valid shell variable names. | ||
1086 | 862 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1087 | 863 | - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | ||
1088 | 864 | - { (exit 1); exit 1; }; } | ||
1089 | 865 | + as_fn_error "invalid feature name: $ac_useropt" | ||
1090 | 866 | ac_useropt_orig=$ac_useropt | ||
1091 | 867 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1092 | 868 | case $ac_user_opts in | ||
1093 | 869 | @@ -1154,8 +1110,7 @@ | ||
1094 | 870 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
1095 | 871 | # Reject names that are not valid shell variable names. | ||
1096 | 872 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1097 | 873 | - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | ||
1098 | 874 | - { (exit 1); exit 1; }; } | ||
1099 | 875 | + as_fn_error "invalid feature name: $ac_useropt" | ||
1100 | 876 | ac_useropt_orig=$ac_useropt | ||
1101 | 877 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1102 | 878 | case $ac_user_opts in | ||
1103 | 879 | @@ -1359,8 +1314,7 @@ | ||
1104 | 880 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
1105 | 881 | # Reject names that are not valid shell variable names. | ||
1106 | 882 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1107 | 883 | - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | ||
1108 | 884 | - { (exit 1); exit 1; }; } | ||
1109 | 885 | + as_fn_error "invalid package name: $ac_useropt" | ||
1110 | 886 | ac_useropt_orig=$ac_useropt | ||
1111 | 887 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1112 | 888 | case $ac_user_opts in | ||
1113 | 889 | @@ -1376,8 +1330,7 @@ | ||
1114 | 890 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
1115 | 891 | # Reject names that are not valid shell variable names. | ||
1116 | 892 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1117 | 893 | - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | ||
1118 | 894 | - { (exit 1); exit 1; }; } | ||
1119 | 895 | + as_fn_error "invalid package name: $ac_useropt" | ||
1120 | 896 | ac_useropt_orig=$ac_useropt | ||
1121 | 897 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1122 | 898 | case $ac_user_opts in | ||
1123 | 899 | @@ -1407,17 +1360,17 @@ | ||
1124 | 900 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
1125 | 901 | x_libraries=$ac_optarg ;; | ||
1126 | 902 | |||
1127 | 903 | - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | ||
1128 | 904 | -Try \`$0 --help' for more information." >&2 | ||
1129 | 905 | - { (exit 1); exit 1; }; } | ||
1130 | 906 | + -*) as_fn_error "unrecognized option: \`$ac_option' | ||
1131 | 907 | +Try \`$0 --help' for more information." | ||
1132 | 908 | ;; | ||
1133 | 909 | |||
1134 | 910 | *=*) | ||
1135 | 911 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
1136 | 912 | # Reject names that are not valid shell variable names. | ||
1137 | 913 | - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
1138 | 914 | - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
1139 | 915 | - { (exit 1); exit 1; }; } | ||
1140 | 916 | + case $ac_envvar in #( | ||
1141 | 917 | + '' | [0-9]* | *[!_$as_cr_alnum]* ) | ||
1142 | 918 | + as_fn_error "invalid variable name: \`$ac_envvar'" ;; | ||
1143 | 919 | + esac | ||
1144 | 920 | eval $ac_envvar=\$ac_optarg | ||
1145 | 921 | export $ac_envvar ;; | ||
1146 | 922 | |||
1147 | 923 | @@ -1434,15 +1387,13 @@ | ||
1148 | 924 | |||
1149 | 925 | if test -n "$ac_prev"; then | ||
1150 | 926 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
1151 | 927 | - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | ||
1152 | 928 | - { (exit 1); exit 1; }; } | ||
1153 | 929 | + as_fn_error "missing argument to $ac_option" | ||
1154 | 930 | fi | ||
1155 | 931 | |||
1156 | 932 | if test -n "$ac_unrecognized_opts"; then | ||
1157 | 933 | case $enable_option_checking in | ||
1158 | 934 | no) ;; | ||
1159 | 935 | - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | ||
1160 | 936 | - { (exit 1); exit 1; }; } ;; | ||
1161 | 937 | + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | ||
1162 | 938 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
1163 | 939 | esac | ||
1164 | 940 | fi | ||
1165 | 941 | @@ -1465,8 +1416,7 @@ | ||
1166 | 942 | [\\/$]* | ?:[\\/]* ) continue;; | ||
1167 | 943 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
1168 | 944 | esac | ||
1169 | 945 | - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
1170 | 946 | - { (exit 1); exit 1; }; } | ||
1171 | 947 | + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | ||
1172 | 948 | done | ||
1173 | 949 | |||
1174 | 950 | # There might be people who depend on the old broken behavior: `$host' | ||
1175 | 951 | @@ -1496,11 +1446,9 @@ | ||
1176 | 952 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1177 | 953 | ac_ls_di=`ls -di .` && | ||
1178 | 954 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
1179 | 955 | - { $as_echo "$as_me: error: working directory cannot be determined" >&2 | ||
1180 | 956 | - { (exit 1); exit 1; }; } | ||
1181 | 957 | + as_fn_error "working directory cannot be determined" | ||
1182 | 958 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
1183 | 959 | - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | ||
1184 | 960 | - { (exit 1); exit 1; }; } | ||
1185 | 961 | + as_fn_error "pwd does not report name of working directory" | ||
1186 | 962 | |||
1187 | 963 | |||
1188 | 964 | # Find the source files, if location was not specified. | ||
1189 | 965 | @@ -1539,13 +1487,11 @@ | ||
1190 | 966 | fi | ||
1191 | 967 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1192 | 968 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
1193 | 969 | - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
1194 | 970 | - { (exit 1); exit 1; }; } | ||
1195 | 971 | + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | ||
1196 | 972 | fi | ||
1197 | 973 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1198 | 974 | ac_abs_confdir=`( | ||
1199 | 975 | - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | ||
1200 | 976 | - { (exit 1); exit 1; }; } | ||
1201 | 977 | + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | ||
1202 | 978 | pwd)` | ||
1203 | 979 | # When building in place, set srcdir=. | ||
1204 | 980 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1205 | 981 | @@ -1654,7 +1600,6 @@ | ||
1206 | 982 | --disable-dependency-tracking speeds up one-time build | ||
1207 | 983 | --enable-dependency-tracking do not reject slow dependency extractors | ||
1208 | 984 | --enable-warnings turn on tons of compiler warnings (GCC only) | ||
1209 | 985 | - --enable-rpath use runtime library search path [default=yes] | ||
1210 | 986 | --enable-pthread use pthread instead of fork (default=yes for MacOS | ||
1211 | 987 | X/MINGW, no for everything else) | ||
1212 | 988 | --enable-locking activate device locking (default=yes, but only used | ||
1213 | 989 | @@ -1664,7 +1609,7 @@ | ||
1214 | 990 | --disable-libusb disable support for USB in SANE | ||
1215 | 991 | --enable-scsibuffersize=N | ||
1216 | 992 | specify the default size in bytes of the buffer for | ||
1217 | 993 | - SCSI commands [default=131072] | ||
1218 | 994 | + SCSI commands [[default=131072]] | ||
1219 | 995 | --enable-scsi-directio enable SCSI direct IO (Linux only, dangerous, see | ||
1220 | 996 | README.linux) | ||
1221 | 997 | --disable-ipv6 disable IPv6 support | ||
1222 | 998 | @@ -1702,7 +1647,7 @@ | ||
1223 | 999 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
1224 | 1000 | nonstandard directory <lib dir> | ||
1225 | 1001 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
1226 | 1002 | - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | ||
1227 | 1003 | + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | ||
1228 | 1004 | you have headers in a nonstandard directory <include dir> | ||
1229 | 1005 | CPP C preprocessor | ||
1230 | 1006 | PKG_CONFIG path to pkg-config utility | ||
1231 | 1007 | @@ -1789,9328 +1734,3998 @@ | ||
1232 | 1008 | if $ac_init_version; then | ||
1233 | 1009 | cat <<\_ACEOF | ||
1234 | 1010 | sane-backends configure 1.0.22git | ||
1235 | 1011 | -generated by GNU Autoconf 2.63 | ||
1236 | 1012 | +generated by GNU Autoconf 2.65 | ||
1237 | 1013 | |||
1238 | 1014 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
1239 | 1015 | -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
1240 | 1016 | +Copyright (C) 2009 Free Software Foundation, Inc. | ||
1241 | 1017 | This configure script is free software; the Free Software Foundation | ||
1242 | 1018 | gives unlimited permission to copy, distribute and modify it. | ||
1243 | 1019 | _ACEOF | ||
1244 | 1020 | exit | ||
1245 | 1021 | fi | ||
1246 | 1022 | -cat >config.log <<_ACEOF | ||
1247 | 1023 | -This file contains any messages produced by compilers while | ||
1248 | 1024 | -running configure, to aid debugging if configure makes a mistake. | ||
1249 | 1025 | |||
1250 | 1026 | -It was created by sane-backends $as_me 1.0.22git, which was | ||
1251 | 1027 | -generated by GNU Autoconf 2.63. Invocation command line was | ||
1252 | 1028 | +## ------------------------ ## | ||
1253 | 1029 | +## Autoconf initialization. ## | ||
1254 | 1030 | +## ------------------------ ## | ||
1255 | 1031 | + | ||
1256 | 1032 | +# ac_fn_c_try_compile LINENO | ||
1257 | 1033 | +# -------------------------- | ||
1258 | 1034 | +# Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
1259 | 1035 | +ac_fn_c_try_compile () | ||
1260 | 1036 | +{ | ||
1261 | 1037 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1262 | 1038 | + rm -f conftest.$ac_objext | ||
1263 | 1039 | + if { { ac_try="$ac_compile" | ||
1264 | 1040 | +case "(($ac_try" in | ||
1265 | 1041 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1266 | 1042 | + *) ac_try_echo=$ac_try;; | ||
1267 | 1043 | +esac | ||
1268 | 1044 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1269 | 1045 | +$as_echo "$ac_try_echo"; } >&5 | ||
1270 | 1046 | + (eval "$ac_compile") 2>conftest.err | ||
1271 | 1047 | + ac_status=$? | ||
1272 | 1048 | + if test -s conftest.err; then | ||
1273 | 1049 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
1274 | 1050 | + cat conftest.er1 >&5 | ||
1275 | 1051 | + mv -f conftest.er1 conftest.err | ||
1276 | 1052 | + fi | ||
1277 | 1053 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1278 | 1054 | + test $ac_status = 0; } && { | ||
1279 | 1055 | + test -z "$ac_c_werror_flag" || | ||
1280 | 1056 | + test ! -s conftest.err | ||
1281 | 1057 | + } && test -s conftest.$ac_objext; then : | ||
1282 | 1058 | + ac_retval=0 | ||
1283 | 1059 | +else | ||
1284 | 1060 | + $as_echo "$as_me: failed program was:" >&5 | ||
1285 | 1061 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1286 | 1062 | |||
1287 | 1063 | - $ $0 $@ | ||
1288 | 1064 | + ac_retval=1 | ||
1289 | 1065 | +fi | ||
1290 | 1066 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1291 | 1067 | + as_fn_set_status $ac_retval | ||
1292 | 1068 | |||
1293 | 1069 | -_ACEOF | ||
1294 | 1070 | -exec 5>>config.log | ||
1295 | 1071 | +} # ac_fn_c_try_compile | ||
1296 | 1072 | + | ||
1297 | 1073 | +# ac_fn_c_try_cpp LINENO | ||
1298 | 1074 | +# ---------------------- | ||
1299 | 1075 | +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
1300 | 1076 | +ac_fn_c_try_cpp () | ||
1301 | 1077 | { | ||
1302 | 1078 | -cat <<_ASUNAME | ||
1303 | 1079 | -## --------- ## | ||
1304 | 1080 | -## Platform. ## | ||
1305 | 1081 | -## --------- ## | ||
1306 | 1082 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1307 | 1083 | + if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
1308 | 1084 | +case "(($ac_try" in | ||
1309 | 1085 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1310 | 1086 | + *) ac_try_echo=$ac_try;; | ||
1311 | 1087 | +esac | ||
1312 | 1088 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1313 | 1089 | +$as_echo "$ac_try_echo"; } >&5 | ||
1314 | 1090 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
1315 | 1091 | + ac_status=$? | ||
1316 | 1092 | + if test -s conftest.err; then | ||
1317 | 1093 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
1318 | 1094 | + cat conftest.er1 >&5 | ||
1319 | 1095 | + mv -f conftest.er1 conftest.err | ||
1320 | 1096 | + fi | ||
1321 | 1097 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1322 | 1098 | + test $ac_status = 0; } >/dev/null && { | ||
1323 | 1099 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
1324 | 1100 | + test ! -s conftest.err | ||
1325 | 1101 | + }; then : | ||
1326 | 1102 | + ac_retval=0 | ||
1327 | 1103 | +else | ||
1328 | 1104 | + $as_echo "$as_me: failed program was:" >&5 | ||
1329 | 1105 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1330 | 1106 | |||
1331 | 1107 | -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1332 | 1108 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1333 | 1109 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1334 | 1110 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1335 | 1111 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1336 | 1112 | + ac_retval=1 | ||
1337 | 1113 | +fi | ||
1338 | 1114 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1339 | 1115 | + as_fn_set_status $ac_retval | ||
1340 | 1116 | |||
1341 | 1117 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1342 | 1118 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1343 | 1119 | +} # ac_fn_c_try_cpp | ||
1344 | 1120 | |||
1345 | 1121 | -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1346 | 1122 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1347 | 1123 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1348 | 1124 | -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
1349 | 1125 | -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1350 | 1126 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1351 | 1127 | -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1352 | 1128 | +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
1353 | 1129 | +# ------------------------------------------------------- | ||
1354 | 1130 | +# Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
1355 | 1131 | +# the include files in INCLUDES and setting the cache variable VAR | ||
1356 | 1132 | +# accordingly. | ||
1357 | 1133 | +ac_fn_c_check_header_mongrel () | ||
1358 | 1134 | +{ | ||
1359 | 1135 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1360 | 1136 | + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1361 | 1137 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1362 | 1138 | +$as_echo_n "checking for $2... " >&6; } | ||
1363 | 1139 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1364 | 1140 | + $as_echo_n "(cached) " >&6 | ||
1365 | 1141 | +fi | ||
1366 | 1142 | +eval ac_res=\$$3 | ||
1367 | 1143 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1368 | 1144 | +$as_echo "$ac_res" >&6; } | ||
1369 | 1145 | +else | ||
1370 | 1146 | + # Is the header compilable? | ||
1371 | 1147 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
1372 | 1148 | +$as_echo_n "checking $2 usability... " >&6; } | ||
1373 | 1149 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1374 | 1150 | +/* end confdefs.h. */ | ||
1375 | 1151 | +$4 | ||
1376 | 1152 | +#include <$2> | ||
1377 | 1153 | +_ACEOF | ||
1378 | 1154 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1379 | 1155 | + ac_header_compiler=yes | ||
1380 | 1156 | +else | ||
1381 | 1157 | + ac_header_compiler=no | ||
1382 | 1158 | +fi | ||
1383 | 1159 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1384 | 1160 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
1385 | 1161 | +$as_echo "$ac_header_compiler" >&6; } | ||
1386 | 1162 | |||
1387 | 1163 | -_ASUNAME | ||
1388 | 1164 | +# Is the header present? | ||
1389 | 1165 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
1390 | 1166 | +$as_echo_n "checking $2 presence... " >&6; } | ||
1391 | 1167 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1392 | 1168 | +/* end confdefs.h. */ | ||
1393 | 1169 | +#include <$2> | ||
1394 | 1170 | +_ACEOF | ||
1395 | 1171 | +if ac_fn_c_try_cpp "$LINENO"; then : | ||
1396 | 1172 | + ac_header_preproc=yes | ||
1397 | 1173 | +else | ||
1398 | 1174 | + ac_header_preproc=no | ||
1399 | 1175 | +fi | ||
1400 | 1176 | +rm -f conftest.err conftest.$ac_ext | ||
1401 | 1177 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
1402 | 1178 | +$as_echo "$ac_header_preproc" >&6; } | ||
1403 | 1179 | |||
1404 | 1180 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1405 | 1181 | -for as_dir in $PATH | ||
1406 | 1182 | -do | ||
1407 | 1183 | - IFS=$as_save_IFS | ||
1408 | 1184 | - test -z "$as_dir" && as_dir=. | ||
1409 | 1185 | - $as_echo "PATH: $as_dir" | ||
1410 | 1186 | -done | ||
1411 | 1187 | -IFS=$as_save_IFS | ||
1412 | 1188 | +# So? What about this header? | ||
1413 | 1189 | +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
1414 | 1190 | + yes:no: ) | ||
1415 | 1191 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
1416 | 1192 | +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
1417 | 1193 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1418 | 1194 | +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1419 | 1195 | + ;; | ||
1420 | 1196 | + no:yes:* ) | ||
1421 | 1197 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
1422 | 1198 | +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
1423 | 1199 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
1424 | 1200 | +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
1425 | 1201 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
1426 | 1202 | +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
1427 | 1203 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
1428 | 1204 | +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
1429 | 1205 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1430 | 1206 | +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1431 | 1207 | +( cat <<\_ASBOX | ||
1432 | 1208 | +## ------------------------------------------------- ## | ||
1433 | 1209 | +## Report this to sane-devel@lists.alioth.debian.org ## | ||
1434 | 1210 | +## ------------------------------------------------- ## | ||
1435 | 1211 | +_ASBOX | ||
1436 | 1212 | + ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
1437 | 1213 | + ;; | ||
1438 | 1214 | +esac | ||
1439 | 1215 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1440 | 1216 | +$as_echo_n "checking for $2... " >&6; } | ||
1441 | 1217 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1442 | 1218 | + $as_echo_n "(cached) " >&6 | ||
1443 | 1219 | +else | ||
1444 | 1220 | + eval "$3=\$ac_header_compiler" | ||
1445 | 1221 | +fi | ||
1446 | 1222 | +eval ac_res=\$$3 | ||
1447 | 1223 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1448 | 1224 | +$as_echo "$ac_res" >&6; } | ||
1449 | 1225 | +fi | ||
1450 | 1226 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1451 | 1227 | |||
1452 | 1228 | -} >&5 | ||
1453 | 1229 | +} # ac_fn_c_check_header_mongrel | ||
1454 | 1230 | |||
1455 | 1231 | -cat >&5 <<_ACEOF | ||
1456 | 1232 | +# ac_fn_c_try_run LINENO | ||
1457 | 1233 | +# ---------------------- | ||
1458 | 1234 | +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
1459 | 1235 | +# that executables *can* be run. | ||
1460 | 1236 | +ac_fn_c_try_run () | ||
1461 | 1237 | +{ | ||
1462 | 1238 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1463 | 1239 | + if { { ac_try="$ac_link" | ||
1464 | 1240 | +case "(($ac_try" in | ||
1465 | 1241 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1466 | 1242 | + *) ac_try_echo=$ac_try;; | ||
1467 | 1243 | +esac | ||
1468 | 1244 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1469 | 1245 | +$as_echo "$ac_try_echo"; } >&5 | ||
1470 | 1246 | + (eval "$ac_link") 2>&5 | ||
1471 | 1247 | + ac_status=$? | ||
1472 | 1248 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1473 | 1249 | + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
1474 | 1250 | + { { case "(($ac_try" in | ||
1475 | 1251 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1476 | 1252 | + *) ac_try_echo=$ac_try;; | ||
1477 | 1253 | +esac | ||
1478 | 1254 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1479 | 1255 | +$as_echo "$ac_try_echo"; } >&5 | ||
1480 | 1256 | + (eval "$ac_try") 2>&5 | ||
1481 | 1257 | + ac_status=$? | ||
1482 | 1258 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1483 | 1259 | + test $ac_status = 0; }; }; then : | ||
1484 | 1260 | + ac_retval=0 | ||
1485 | 1261 | +else | ||
1486 | 1262 | + $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
1487 | 1263 | + $as_echo "$as_me: failed program was:" >&5 | ||
1488 | 1264 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1489 | 1265 | |||
1490 | 1266 | + ac_retval=$ac_status | ||
1491 | 1267 | +fi | ||
1492 | 1268 | + rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1493 | 1269 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1494 | 1270 | + as_fn_set_status $ac_retval | ||
1495 | 1271 | |||
1496 | 1272 | -## ----------- ## | ||
1497 | 1273 | -## Core tests. ## | ||
1498 | 1274 | -## ----------- ## | ||
1499 | 1275 | +} # ac_fn_c_try_run | ||
1500 | 1276 | |||
1501 | 1277 | +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
1502 | 1278 | +# ------------------------------------------------------- | ||
1503 | 1279 | +# Tests whether HEADER exists and can be compiled using the include files in | ||
1504 | 1280 | +# INCLUDES, setting the cache variable VAR accordingly. | ||
1505 | 1281 | +ac_fn_c_check_header_compile () | ||
1506 | 1282 | +{ | ||
1507 | 1283 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1508 | 1284 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1509 | 1285 | +$as_echo_n "checking for $2... " >&6; } | ||
1510 | 1286 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1511 | 1287 | + $as_echo_n "(cached) " >&6 | ||
1512 | 1288 | +else | ||
1513 | 1289 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1514 | 1290 | +/* end confdefs.h. */ | ||
1515 | 1291 | +$4 | ||
1516 | 1292 | +#include <$2> | ||
1517 | 1293 | _ACEOF | ||
1518 | 1294 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1519 | 1295 | + eval "$3=yes" | ||
1520 | 1296 | +else | ||
1521 | 1297 | + eval "$3=no" | ||
1522 | 1298 | +fi | ||
1523 | 1299 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1524 | 1300 | +fi | ||
1525 | 1301 | +eval ac_res=\$$3 | ||
1526 | 1302 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1527 | 1303 | +$as_echo "$ac_res" >&6; } | ||
1528 | 1304 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1529 | 1305 | |||
1530 | 1306 | +} # ac_fn_c_check_header_compile | ||
1531 | 1307 | |||
1532 | 1308 | -# Keep a trace of the command line. | ||
1533 | 1309 | -# Strip out --no-create and --no-recursion so they do not pile up. | ||
1534 | 1310 | -# Strip out --silent because we don't want to record it for future runs. | ||
1535 | 1311 | -# Also quote any args containing shell meta-characters. | ||
1536 | 1312 | -# Make two passes to allow for proper duplicate-argument suppression. | ||
1537 | 1313 | -ac_configure_args= | ||
1538 | 1314 | -ac_configure_args0= | ||
1539 | 1315 | -ac_configure_args1= | ||
1540 | 1316 | -ac_must_keep_next=false | ||
1541 | 1317 | -for ac_pass in 1 2 | ||
1542 | 1318 | -do | ||
1543 | 1319 | - for ac_arg | ||
1544 | 1320 | - do | ||
1545 | 1321 | - case $ac_arg in | ||
1546 | 1322 | - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1547 | 1323 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1548 | 1324 | - | -silent | --silent | --silen | --sile | --sil) | ||
1549 | 1325 | - continue ;; | ||
1550 | 1326 | - *\'*) | ||
1551 | 1327 | - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1552 | 1328 | - esac | ||
1553 | 1329 | - case $ac_pass in | ||
1554 | 1330 | - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
1555 | 1331 | - 2) | ||
1556 | 1332 | - ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
1557 | 1333 | - if test $ac_must_keep_next = true; then | ||
1558 | 1334 | - ac_must_keep_next=false # Got value, back to normal. | ||
1559 | 1335 | - else | ||
1560 | 1336 | - case $ac_arg in | ||
1561 | 1337 | - *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1562 | 1338 | - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1563 | 1339 | - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1564 | 1340 | - | -with-* | --with-* | -without-* | --without-* | --x) | ||
1565 | 1341 | - case "$ac_configure_args0 " in | ||
1566 | 1342 | - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1567 | 1343 | - esac | ||
1568 | 1344 | - ;; | ||
1569 | 1345 | - -* ) ac_must_keep_next=true ;; | ||
1570 | 1346 | - esac | ||
1571 | 1347 | - fi | ||
1572 | 1348 | - ac_configure_args="$ac_configure_args '$ac_arg'" | ||
1573 | 1349 | - ;; | ||
1574 | 1350 | - esac | ||
1575 | 1351 | - done | ||
1576 | 1352 | -done | ||
1577 | 1353 | -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
1578 | 1354 | -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
1579 | 1355 | +# ac_fn_c_try_link LINENO | ||
1580 | 1356 | +# ----------------------- | ||
1581 | 1357 | +# Try to link conftest.$ac_ext, and return whether this succeeded. | ||
1582 | 1358 | +ac_fn_c_try_link () | ||
1583 | 1359 | +{ | ||
1584 | 1360 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1585 | 1361 | + rm -f conftest.$ac_objext conftest$ac_exeext | ||
1586 | 1362 | + if { { ac_try="$ac_link" | ||
1587 | 1363 | +case "(($ac_try" in | ||
1588 | 1364 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1589 | 1365 | + *) ac_try_echo=$ac_try;; | ||
1590 | 1366 | +esac | ||
1591 | 1367 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1592 | 1368 | +$as_echo "$ac_try_echo"; } >&5 | ||
1593 | 1369 | + (eval "$ac_link") 2>conftest.err | ||
1594 | 1370 | + ac_status=$? | ||
1595 | 1371 | + if test -s conftest.err; then | ||
1596 | 1372 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
1597 | 1373 | + cat conftest.er1 >&5 | ||
1598 | 1374 | + mv -f conftest.er1 conftest.err | ||
1599 | 1375 | + fi | ||
1600 | 1376 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1601 | 1377 | + test $ac_status = 0; } && { | ||
1602 | 1378 | + test -z "$ac_c_werror_flag" || | ||
1603 | 1379 | + test ! -s conftest.err | ||
1604 | 1380 | + } && test -s conftest$ac_exeext && { | ||
1605 | 1381 | + test "$cross_compiling" = yes || | ||
1606 | 1382 | + $as_test_x conftest$ac_exeext | ||
1607 | 1383 | + }; then : | ||
1608 | 1384 | + ac_retval=0 | ||
1609 | 1385 | +else | ||
1610 | 1386 | + $as_echo "$as_me: failed program was:" >&5 | ||
1611 | 1387 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1612 | 1388 | |||
1613 | 1389 | -# When interrupted or exit'd, cleanup temporary files, and complete | ||
1614 | 1390 | -# config.log. We remove comments because anyway the quotes in there | ||
1615 | 1391 | -# would cause problems or look ugly. | ||
1616 | 1392 | -# WARNING: Use '\'' to represent an apostrophe within the trap. | ||
1617 | 1393 | -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
1618 | 1394 | -trap 'exit_status=$? | ||
1619 | 1395 | - # Save into config.log some information that might help in debugging. | ||
1620 | 1396 | - { | ||
1621 | 1397 | - echo | ||
1622 | 1398 | + ac_retval=1 | ||
1623 | 1399 | +fi | ||
1624 | 1400 | + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
1625 | 1401 | + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
1626 | 1402 | + # interfere with the next link command; also delete a directory that is | ||
1627 | 1403 | + # left behind by Apple's compiler. We do this before executing the actions. | ||
1628 | 1404 | + rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1629 | 1405 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1630 | 1406 | + as_fn_set_status $ac_retval | ||
1631 | 1407 | |||
1632 | 1408 | - cat <<\_ASBOX | ||
1633 | 1409 | -## ---------------- ## | ||
1634 | 1410 | -## Cache variables. ## | ||
1635 | 1411 | -## ---------------- ## | ||
1636 | 1412 | -_ASBOX | ||
1637 | 1413 | - echo | ||
1638 | 1414 | - # The following way of writing the cache mishandles newlines in values, | ||
1639 | 1415 | -( | ||
1640 | 1416 | - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
1641 | 1417 | - eval ac_val=\$$ac_var | ||
1642 | 1418 | - case $ac_val in #( | ||
1643 | 1419 | - *${as_nl}*) | ||
1644 | 1420 | - case $ac_var in #( | ||
1645 | 1421 | - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | ||
1646 | 1422 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
1647 | 1423 | - esac | ||
1648 | 1424 | - case $ac_var in #( | ||
1649 | 1425 | - _ | IFS | as_nl) ;; #( | ||
1650 | 1426 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
1651 | 1427 | - *) $as_unset $ac_var ;; | ||
1652 | 1428 | - esac ;; | ||
1653 | 1429 | - esac | ||
1654 | 1430 | - done | ||
1655 | 1431 | - (set) 2>&1 | | ||
1656 | 1432 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
1657 | 1433 | - *${as_nl}ac_space=\ *) | ||
1658 | 1434 | - sed -n \ | ||
1659 | 1435 | - "s/'\''/'\''\\\\'\'''\''/g; | ||
1660 | 1436 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
1661 | 1437 | - ;; #( | ||
1662 | 1438 | - *) | ||
1663 | 1439 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
1664 | 1440 | - ;; | ||
1665 | 1441 | - esac | | ||
1666 | 1442 | - sort | ||
1667 | 1443 | -) | ||
1668 | 1444 | - echo | ||
1669 | 1445 | +} # ac_fn_c_try_link | ||
1670 | 1446 | |||
1671 | 1447 | - cat <<\_ASBOX | ||
1672 | 1448 | -## ----------------- ## | ||
1673 | 1449 | -## Output variables. ## | ||
1674 | 1450 | -## ----------------- ## | ||
1675 | 1451 | -_ASBOX | ||
1676 | 1452 | - echo | ||
1677 | 1453 | - for ac_var in $ac_subst_vars | ||
1678 | 1454 | - do | ||
1679 | 1455 | - eval ac_val=\$$ac_var | ||
1680 | 1456 | - case $ac_val in | ||
1681 | 1457 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1682 | 1458 | - esac | ||
1683 | 1459 | - $as_echo "$ac_var='\''$ac_val'\''" | ||
1684 | 1460 | - done | sort | ||
1685 | 1461 | - echo | ||
1686 | 1462 | - | ||
1687 | 1463 | - if test -n "$ac_subst_files"; then | ||
1688 | 1464 | - cat <<\_ASBOX | ||
1689 | 1465 | -## ------------------- ## | ||
1690 | 1466 | -## File substitutions. ## | ||
1691 | 1467 | -## ------------------- ## | ||
1692 | 1468 | -_ASBOX | ||
1693 | 1469 | - echo | ||
1694 | 1470 | - for ac_var in $ac_subst_files | ||
1695 | 1471 | - do | ||
1696 | 1472 | - eval ac_val=\$$ac_var | ||
1697 | 1473 | - case $ac_val in | ||
1698 | 1474 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1699 | 1475 | - esac | ||
1700 | 1476 | - $as_echo "$ac_var='\''$ac_val'\''" | ||
1701 | 1477 | - done | sort | ||
1702 | 1478 | - echo | ||
1703 | 1479 | - fi | ||
1704 | 1480 | +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
1705 | 1481 | +# ------------------------------------------- | ||
1706 | 1482 | +# Tests whether TYPE exists after having included INCLUDES, setting cache | ||
1707 | 1483 | +# variable VAR accordingly. | ||
1708 | 1484 | +ac_fn_c_check_type () | ||
1709 | 1485 | +{ | ||
1710 | 1486 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1711 | 1487 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1712 | 1488 | +$as_echo_n "checking for $2... " >&6; } | ||
1713 | 1489 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1714 | 1490 | + $as_echo_n "(cached) " >&6 | ||
1715 | 1491 | +else | ||
1716 | 1492 | + eval "$3=no" | ||
1717 | 1493 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1718 | 1494 | +/* end confdefs.h. */ | ||
1719 | 1495 | +$4 | ||
1720 | 1496 | +int | ||
1721 | 1497 | +main () | ||
1722 | 1498 | +{ | ||
1723 | 1499 | +if (sizeof ($2)) | ||
1724 | 1500 | + return 0; | ||
1725 | 1501 | + ; | ||
1726 | 1502 | + return 0; | ||
1727 | 1503 | +} | ||
1728 | 1504 | +_ACEOF | ||
1729 | 1505 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1730 | 1506 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1731 | 1507 | +/* end confdefs.h. */ | ||
1732 | 1508 | +$4 | ||
1733 | 1509 | +int | ||
1734 | 1510 | +main () | ||
1735 | 1511 | +{ | ||
1736 | 1512 | +if (sizeof (($2))) | ||
1737 | 1513 | + return 0; | ||
1738 | 1514 | + ; | ||
1739 | 1515 | + return 0; | ||
1740 | 1516 | +} | ||
1741 | 1517 | +_ACEOF | ||
1742 | 1518 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1743 | 1519 | |||
1744 | 1520 | - if test -s confdefs.h; then | ||
1745 | 1521 | - cat <<\_ASBOX | ||
1746 | 1522 | -## ----------- ## | ||
1747 | 1523 | -## confdefs.h. ## | ||
1748 | 1524 | -## ----------- ## | ||
1749 | 1525 | -_ASBOX | ||
1750 | 1526 | - echo | ||
1751 | 1527 | - cat confdefs.h | ||
1752 | 1528 | - echo | ||
1753 | 1529 | - fi | ||
1754 | 1530 | - test "$ac_signal" != 0 && | ||
1755 | 1531 | - $as_echo "$as_me: caught signal $ac_signal" | ||
1756 | 1532 | - $as_echo "$as_me: exit $exit_status" | ||
1757 | 1533 | - } >&5 | ||
1758 | 1534 | - rm -f core *.core core.conftest.* && | ||
1759 | 1535 | - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
1760 | 1536 | - exit $exit_status | ||
1761 | 1537 | -' 0 | ||
1762 | 1538 | -for ac_signal in 1 2 13 15; do | ||
1763 | 1539 | - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1764 | 1540 | -done | ||
1765 | 1541 | -ac_signal=0 | ||
1766 | 1542 | +else | ||
1767 | 1543 | + eval "$3=yes" | ||
1768 | 1544 | +fi | ||
1769 | 1545 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1770 | 1546 | +fi | ||
1771 | 1547 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1772 | 1548 | +fi | ||
1773 | 1549 | +eval ac_res=\$$3 | ||
1774 | 1550 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1775 | 1551 | +$as_echo "$ac_res" >&6; } | ||
1776 | 1552 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1777 | 1553 | |||
1778 | 1554 | -# confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1779 | 1555 | -rm -f -r conftest* confdefs.h | ||
1780 | 1556 | +} # ac_fn_c_check_type | ||
1781 | 1557 | |||
1782 | 1558 | -# Predefined preprocessor variables. | ||
1783 | 1559 | +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | ||
1784 | 1560 | +# -------------------------------------------- | ||
1785 | 1561 | +# Tries to find the compile-time value of EXPR in a program that includes | ||
1786 | 1562 | +# INCLUDES, setting VAR accordingly. Returns whether the value could be | ||
1787 | 1563 | +# computed | ||
1788 | 1564 | +ac_fn_c_compute_int () | ||
1789 | 1565 | +{ | ||
1790 | 1566 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1791 | 1567 | + if test "$cross_compiling" = yes; then | ||
1792 | 1568 | + # Depending upon the size, compute the lo and hi bounds. | ||
1793 | 1569 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1794 | 1570 | +/* end confdefs.h. */ | ||
1795 | 1571 | +$4 | ||
1796 | 1572 | +int | ||
1797 | 1573 | +main () | ||
1798 | 1574 | +{ | ||
1799 | 1575 | +static int test_array [1 - 2 * !(($2) >= 0)]; | ||
1800 | 1576 | +test_array [0] = 0 | ||
1801 | 1577 | |||
1802 | 1578 | -cat >>confdefs.h <<_ACEOF | ||
1803 | 1579 | -#define PACKAGE_NAME "$PACKAGE_NAME" | ||
1804 | 1580 | + ; | ||
1805 | 1581 | + return 0; | ||
1806 | 1582 | +} | ||
1807 | 1583 | _ACEOF | ||
1808 | 1584 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1809 | 1585 | + ac_lo=0 ac_mid=0 | ||
1810 | 1586 | + while :; do | ||
1811 | 1587 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1812 | 1588 | +/* end confdefs.h. */ | ||
1813 | 1589 | +$4 | ||
1814 | 1590 | +int | ||
1815 | 1591 | +main () | ||
1816 | 1592 | +{ | ||
1817 | 1593 | +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
1818 | 1594 | +test_array [0] = 0 | ||
1819 | 1595 | |||
1820 | 1596 | - | ||
1821 | 1597 | -cat >>confdefs.h <<_ACEOF | ||
1822 | 1598 | -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1823 | 1599 | + ; | ||
1824 | 1600 | + return 0; | ||
1825 | 1601 | +} | ||
1826 | 1602 | _ACEOF | ||
1827 | 1603 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1828 | 1604 | + ac_hi=$ac_mid; break | ||
1829 | 1605 | +else | ||
1830 | 1606 | + as_fn_arith $ac_mid + 1 && ac_lo=$as_val | ||
1831 | 1607 | + if test $ac_lo -le $ac_mid; then | ||
1832 | 1608 | + ac_lo= ac_hi= | ||
1833 | 1609 | + break | ||
1834 | 1610 | + fi | ||
1835 | 1611 | + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | ||
1836 | 1612 | +fi | ||
1837 | 1613 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1838 | 1614 | + done | ||
1839 | 1615 | +else | ||
1840 | 1616 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1841 | 1617 | +/* end confdefs.h. */ | ||
1842 | 1618 | +$4 | ||
1843 | 1619 | +int | ||
1844 | 1620 | +main () | ||
1845 | 1621 | +{ | ||
1846 | 1622 | +static int test_array [1 - 2 * !(($2) < 0)]; | ||
1847 | 1623 | +test_array [0] = 0 | ||
1848 | 1624 | |||
1849 | 1625 | - | ||
1850 | 1626 | -cat >>confdefs.h <<_ACEOF | ||
1851 | 1627 | -#define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1852 | 1628 | + ; | ||
1853 | 1629 | + return 0; | ||
1854 | 1630 | +} | ||
1855 | 1631 | _ACEOF | ||
1856 | 1632 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1857 | 1633 | + ac_hi=-1 ac_mid=-1 | ||
1858 | 1634 | + while :; do | ||
1859 | 1635 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1860 | 1636 | +/* end confdefs.h. */ | ||
1861 | 1637 | +$4 | ||
1862 | 1638 | +int | ||
1863 | 1639 | +main () | ||
1864 | 1640 | +{ | ||
1865 | 1641 | +static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | ||
1866 | 1642 | +test_array [0] = 0 | ||
1867 | 1643 | |||
1868 | 1644 | - | ||
1869 | 1645 | -cat >>confdefs.h <<_ACEOF | ||
1870 | 1646 | -#define PACKAGE_STRING "$PACKAGE_STRING" | ||
1871 | 1647 | + ; | ||
1872 | 1648 | + return 0; | ||
1873 | 1649 | +} | ||
1874 | 1650 | _ACEOF | ||
1875 | 1651 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1876 | 1652 | + ac_lo=$ac_mid; break | ||
1877 | 1653 | +else | ||
1878 | 1654 | + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | ||
1879 | 1655 | + if test $ac_mid -le $ac_hi; then | ||
1880 | 1656 | + ac_lo= ac_hi= | ||
1881 | 1657 | + break | ||
1882 | 1658 | + fi | ||
1883 | 1659 | + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | ||
1884 | 1660 | +fi | ||
1885 | 1661 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1886 | 1662 | + done | ||
1887 | 1663 | +else | ||
1888 | 1664 | + ac_lo= ac_hi= | ||
1889 | 1665 | +fi | ||
1890 | 1666 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1891 | 1667 | +fi | ||
1892 | 1668 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1893 | 1669 | +# Binary search between lo and hi bounds. | ||
1894 | 1670 | +while test "x$ac_lo" != "x$ac_hi"; do | ||
1895 | 1671 | + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | ||
1896 | 1672 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1897 | 1673 | +/* end confdefs.h. */ | ||
1898 | 1674 | +$4 | ||
1899 | 1675 | +int | ||
1900 | 1676 | +main () | ||
1901 | 1677 | +{ | ||
1902 | 1678 | +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
1903 | 1679 | +test_array [0] = 0 | ||
1904 | 1680 | |||
1905 | 1681 | - | ||
1906 | 1682 | -cat >>confdefs.h <<_ACEOF | ||
1907 | 1683 | -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1908 | 1684 | + ; | ||
1909 | 1685 | + return 0; | ||
1910 | 1686 | +} | ||
1911 | 1687 | _ACEOF | ||
1912 | 1688 | +if ac_fn_c_try_compile "$LINENO"; then : | ||
1913 | 1689 | + ac_hi=$ac_mid | ||
1914 | 1690 | +else | ||
1915 | 1691 | + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | ||
1916 | 1692 | +fi | ||
1917 | 1693 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1918 | 1694 | +done | ||
1919 | 1695 | +case $ac_lo in #(( | ||
1920 | 1696 | +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | ||
1921 | 1697 | +'') ac_retval=1 ;; | ||
1922 | 1698 | +esac | ||
1923 | 1699 | + else | ||
1924 | 1700 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1925 | 1701 | +/* end confdefs.h. */ | ||
1926 | 1702 | +$4 | ||
1927 | 1703 | +static long int longval () { return $2; } | ||
1928 | 1704 | +static unsigned long int ulongval () { return $2; } | ||
1929 | 1705 | +#include <stdio.h> | ||
1930 | 1706 | +#include <stdlib.h> | ||
1931 | 1707 | +int | ||
1932 | 1708 | +main () | ||
1933 | 1709 | +{ | ||
1934 | 1710 | |||
1935 | 1711 | + FILE *f = fopen ("conftest.val", "w"); | ||
1936 | 1712 | + if (! f) | ||
1937 | 1713 | + return 1; | ||
1938 | 1714 | + if (($2) < 0) | ||
1939 | 1715 | + { | ||
1940 | 1716 | + long int i = longval (); | ||
1941 | 1717 | + if (i != ($2)) | ||
1942 | 1718 | + return 1; | ||
1943 | 1719 | + fprintf (f, "%ld", i); | ||
1944 | 1720 | + } | ||
1945 | 1721 | + else | ||
1946 | 1722 | + { | ||
1947 | 1723 | + unsigned long int i = ulongval (); | ||
1948 | 1724 | + if (i != ($2)) | ||
1949 | 1725 | + return 1; | ||
1950 | 1726 | + fprintf (f, "%lu", i); | ||
1951 | 1727 | + } | ||
1952 | 1728 | + /* Do not output a trailing newline, as this causes \r\n confusion | ||
1953 | 1729 | + on some platforms. */ | ||
1954 | 1730 | + return ferror (f) || fclose (f) != 0; | ||
1955 | 1731 | |||
1956 | 1732 | -# Let the site file select an alternate cache file if it wants to. | ||
1957 | 1733 | -# Prefer an explicitly selected file to automatically selected ones. | ||
1958 | 1734 | -ac_site_file1=NONE | ||
1959 | 1735 | -ac_site_file2=NONE | ||
1960 | 1736 | -if test -n "$CONFIG_SITE"; then | ||
1961 | 1737 | - ac_site_file1=$CONFIG_SITE | ||
1962 | 1738 | -elif test "x$prefix" != xNONE; then | ||
1963 | 1739 | - ac_site_file1=$prefix/share/config.site | ||
1964 | 1740 | - ac_site_file2=$prefix/etc/config.site | ||
1965 | 1741 | + ; | ||
1966 | 1742 | + return 0; | ||
1967 | 1743 | +} | ||
1968 | 1744 | +_ACEOF | ||
1969 | 1745 | +if ac_fn_c_try_run "$LINENO"; then : | ||
1970 | 1746 | + echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | ||
1971 | 1747 | else | ||
1972 | 1748 | - ac_site_file1=$ac_default_prefix/share/config.site | ||
1973 | 1749 | - ac_site_file2=$ac_default_prefix/etc/config.site | ||
1974 | 1750 | + ac_retval=1 | ||
1975 | 1751 | fi | ||
1976 | 1752 | -for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
1977 | 1753 | -do | ||
1978 | 1754 | - test "x$ac_site_file" = xNONE && continue | ||
1979 | 1755 | - if test -r "$ac_site_file"; then | ||
1980 | 1756 | - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
1981 | 1757 | -$as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1982 | 1758 | - sed 's/^/| /' "$ac_site_file" >&5 | ||
1983 | 1759 | - . "$ac_site_file" | ||
1984 | 1760 | - fi | ||
1985 | 1761 | -done | ||
1986 | 1762 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
1987 | 1763 | + conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
1988 | 1764 | +rm -f conftest.val | ||
1989 | 1765 | |||
1990 | 1766 | -if test -r "$cache_file"; then | ||
1991 | 1767 | - # Some versions of bash will fail to source /dev/null (special | ||
1992 | 1768 | - # files actually), so we avoid doing that. | ||
1993 | 1769 | - if test -f "$cache_file"; then | ||
1994 | 1770 | - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
1995 | 1771 | -$as_echo "$as_me: loading cache $cache_file" >&6;} | ||
1996 | 1772 | - case $cache_file in | ||
1997 | 1773 | - [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
1998 | 1774 | - *) . "./$cache_file";; | ||
1999 | 1775 | - esac | ||
2000 | 1776 | fi | ||
2001 | 1777 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2002 | 1778 | + as_fn_set_status $ac_retval | ||
2003 | 1779 | + | ||
2004 | 1780 | +} # ac_fn_c_compute_int | ||
2005 | 1781 | + | ||
2006 | 1782 | +# ac_fn_c_check_func LINENO FUNC VAR | ||
2007 | 1783 | +# ---------------------------------- | ||
2008 | 1784 | +# Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
2009 | 1785 | +ac_fn_c_check_func () | ||
2010 | 1786 | +{ | ||
2011 | 1787 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2012 | 1788 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
2013 | 1789 | +$as_echo_n "checking for $2... " >&6; } | ||
2014 | 1790 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2015 | 1791 | + $as_echo_n "(cached) " >&6 | ||
2016 | 1792 | else | ||
2017 | 1793 | - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
2018 | 1794 | -$as_echo "$as_me: creating cache $cache_file" >&6;} | ||
2019 | 1795 | - >$cache_file | ||
2020 | 1796 | -fi | ||
2021 | 1797 | - | ||
2022 | 1798 | -# Check that the precious variables saved in the cache have kept the same | ||
2023 | 1799 | -# value. | ||
2024 | 1800 | -ac_cache_corrupted=false | ||
2025 | 1801 | -for ac_var in $ac_precious_vars; do | ||
2026 | 1802 | - eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
2027 | 1803 | - eval ac_new_set=\$ac_env_${ac_var}_set | ||
2028 | 1804 | - eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
2029 | 1805 | - eval ac_new_val=\$ac_env_${ac_var}_value | ||
2030 | 1806 | - case $ac_old_set,$ac_new_set in | ||
2031 | 1807 | - set,) | ||
2032 | 1808 | - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
2033 | 1809 | -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
2034 | 1810 | - ac_cache_corrupted=: ;; | ||
2035 | 1811 | - ,set) | ||
2036 | 1812 | - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
2037 | 1813 | -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
2038 | 1814 | - ac_cache_corrupted=: ;; | ||
2039 | 1815 | - ,);; | ||
2040 | 1816 | - *) | ||
2041 | 1817 | - if test "x$ac_old_val" != "x$ac_new_val"; then | ||
2042 | 1818 | - # differences in whitespace do not lead to failure. | ||
2043 | 1819 | - ac_old_val_w=`echo x $ac_old_val` | ||
2044 | 1820 | - ac_new_val_w=`echo x $ac_new_val` | ||
2045 | 1821 | - if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
2046 | 1822 | - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
2047 | 1823 | -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
2048 | 1824 | - ac_cache_corrupted=: | ||
2049 | 1825 | - else | ||
2050 | 1826 | - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
2051 | 1827 | -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
2052 | 1828 | - eval $ac_var=\$ac_old_val | ||
2053 | 1829 | - fi | ||
2054 | 1830 | - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | ||
2055 | 1831 | -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
2056 | 1832 | - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | ||
2057 | 1833 | -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
2058 | 1834 | - fi;; | ||
2059 | 1835 | - esac | ||
2060 | 1836 | - # Pass precious variables to config.status. | ||
2061 | 1837 | - if test "$ac_new_set" = set; then | ||
2062 | 1838 | - case $ac_new_val in | ||
2063 | 1839 | - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
2064 | 1840 | - *) ac_arg=$ac_var=$ac_new_val ;; | ||
2065 | 1841 | - esac | ||
2066 | 1842 | - case " $ac_configure_args " in | ||
2067 | 1843 | - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
2068 | 1844 | - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
2069 | 1845 | - esac | ||
2070 | 1846 | - fi | ||
2071 | 1847 | -done | ||
2072 | 1848 | -if $ac_cache_corrupted; then | ||
2073 | 1849 | - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
2074 | 1850 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2075 | 1851 | - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
2076 | 1852 | -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
2077 | 1853 | - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
2078 | 1854 | -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
2079 | 1855 | - { (exit 1); exit 1; }; } | ||
2080 | 1856 | -fi | ||
2081 | 1857 | - | ||
2082 | 1858 | - | ||
2083 | 1859 | - | ||
2084 | 1860 | - | ||
2085 | 1861 | - | ||
2086 | 1862 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2087 | 1863 | +/* end confdefs.h. */ | ||
2088 | 1864 | +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
2089 | 1865 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2090 | 1866 | +#define $2 innocuous_$2 | ||
2091 | 1867 | |||
2092 | 1868 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2093 | 1869 | + which can conflict with char $2 (); below. | ||
2094 | 1870 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2095 | 1871 | + <limits.h> exists even on freestanding compilers. */ | ||
2096 | 1872 | |||
2097 | 1873 | +#ifdef __STDC__ | ||
2098 | 1874 | +# include <limits.h> | ||
2099 | 1875 | +#else | ||
2100 | 1876 | +# include <assert.h> | ||
2101 | 1877 | +#endif | ||
2102 | 1878 | |||
2103 | 1879 | +#undef $2 | ||
2104 | 1880 | |||
2105 | 1881 | +/* Override any GCC internal prototype to avoid an error. | ||
2106 | 1882 | + Use char because int might match the return type of a GCC | ||
2107 | 1883 | + builtin and then its argument prototype would still apply. */ | ||
2108 | 1884 | +#ifdef __cplusplus | ||
2109 | 1885 | +extern "C" | ||
2110 | 1886 | +#endif | ||
2111 | 1887 | +char $2 (); | ||
2112 | 1888 | +/* The GNU C library defines this for functions which it implements | ||
2113 | 1889 | + to always fail with ENOSYS. Some functions are actually named | ||
2114 | 1890 | + something starting with __ and the normal name is an alias. */ | ||
2115 | 1891 | +#if defined __stub_$2 || defined __stub___$2 | ||
2116 | 1892 | +choke me | ||
2117 | 1893 | +#endif | ||
2118 | 1894 | |||
2119 | 1895 | +int | ||
2120 | 1896 | +main () | ||
2121 | 1897 | +{ | ||
2122 | 1898 | +return $2 (); | ||
2123 | 1899 | + ; | ||
2124 | 1900 | + return 0; | ||
2125 | 1901 | +} | ||
2126 | 1902 | +_ACEOF | ||
2127 | 1903 | +if ac_fn_c_try_link "$LINENO"; then : | ||
2128 | 1904 | + eval "$3=yes" | ||
2129 | 1905 | +else | ||
2130 | 1906 | + eval "$3=no" | ||
2131 | 1907 | +fi | ||
2132 | 1908 | +rm -f core conftest.err conftest.$ac_objext \ | ||
2133 | 1909 | + conftest$ac_exeext conftest.$ac_ext | ||
2134 | 1910 | +fi | ||
2135 | 1911 | +eval ac_res=\$$3 | ||
2136 | 1912 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2137 | 1913 | +$as_echo "$ac_res" >&6; } | ||
2138 | 1914 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2139 | 1915 | |||
2140 | 1916 | +} # ac_fn_c_check_func | ||
2141 | 1917 | |||
2142 | 1918 | +# ac_fn_cxx_try_compile LINENO | ||
2143 | 1919 | +# ---------------------------- | ||
2144 | 1920 | +# Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
2145 | 1921 | +ac_fn_cxx_try_compile () | ||
2146 | 1922 | +{ | ||
2147 | 1923 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2148 | 1924 | + rm -f conftest.$ac_objext | ||
2149 | 1925 | + if { { ac_try="$ac_compile" | ||
2150 | 1926 | +case "(($ac_try" in | ||
2151 | 1927 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2152 | 1928 | + *) ac_try_echo=$ac_try;; | ||
2153 | 1929 | +esac | ||
2154 | 1930 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2155 | 1931 | +$as_echo "$ac_try_echo"; } >&5 | ||
2156 | 1932 | + (eval "$ac_compile") 2>conftest.err | ||
2157 | 1933 | + ac_status=$? | ||
2158 | 1934 | + if test -s conftest.err; then | ||
2159 | 1935 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
2160 | 1936 | + cat conftest.er1 >&5 | ||
2161 | 1937 | + mv -f conftest.er1 conftest.err | ||
2162 | 1938 | + fi | ||
2163 | 1939 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2164 | 1940 | + test $ac_status = 0; } && { | ||
2165 | 1941 | + test -z "$ac_cxx_werror_flag" || | ||
2166 | 1942 | + test ! -s conftest.err | ||
2167 | 1943 | + } && test -s conftest.$ac_objext; then : | ||
2168 | 1944 | + ac_retval=0 | ||
2169 | 1945 | +else | ||
2170 | 1946 | + $as_echo "$as_me: failed program was:" >&5 | ||
2171 | 1947 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2172 | 1948 | |||
2173 | 1949 | + ac_retval=1 | ||
2174 | 1950 | +fi | ||
2175 | 1951 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2176 | 1952 | + as_fn_set_status $ac_retval | ||
2177 | 1953 | |||
2178 | 1954 | +} # ac_fn_cxx_try_compile | ||
2179 | 1955 | |||
2180 | 1956 | +# ac_fn_cxx_try_cpp LINENO | ||
2181 | 1957 | +# ------------------------ | ||
2182 | 1958 | +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
2183 | 1959 | +ac_fn_cxx_try_cpp () | ||
2184 | 1960 | +{ | ||
2185 | 1961 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2186 | 1962 | + if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
2187 | 1963 | +case "(($ac_try" in | ||
2188 | 1964 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2189 | 1965 | + *) ac_try_echo=$ac_try;; | ||
2190 | 1966 | +esac | ||
2191 | 1967 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2192 | 1968 | +$as_echo "$ac_try_echo"; } >&5 | ||
2193 | 1969 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
2194 | 1970 | + ac_status=$? | ||
2195 | 1971 | + if test -s conftest.err; then | ||
2196 | 1972 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
2197 | 1973 | + cat conftest.er1 >&5 | ||
2198 | 1974 | + mv -f conftest.er1 conftest.err | ||
2199 | 1975 | + fi | ||
2200 | 1976 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2201 | 1977 | + test $ac_status = 0; } >/dev/null && { | ||
2202 | 1978 | + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | ||
2203 | 1979 | + test ! -s conftest.err | ||
2204 | 1980 | + }; then : | ||
2205 | 1981 | + ac_retval=0 | ||
2206 | 1982 | +else | ||
2207 | 1983 | + $as_echo "$as_me: failed program was:" >&5 | ||
2208 | 1984 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2209 | 1985 | |||
2210 | 1986 | + ac_retval=1 | ||
2211 | 1987 | +fi | ||
2212 | 1988 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2213 | 1989 | + as_fn_set_status $ac_retval | ||
2214 | 1990 | |||
2215 | 1991 | +} # ac_fn_cxx_try_cpp | ||
2216 | 1992 | |||
2217 | 1993 | +# ac_fn_cxx_try_link LINENO | ||
2218 | 1994 | +# ------------------------- | ||
2219 | 1995 | +# Try to link conftest.$ac_ext, and return whether this succeeded. | ||
2220 | 1996 | +ac_fn_cxx_try_link () | ||
2221 | 1997 | +{ | ||
2222 | 1998 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2223 | 1999 | + rm -f conftest.$ac_objext conftest$ac_exeext | ||
2224 | 2000 | + if { { ac_try="$ac_link" | ||
2225 | 2001 | +case "(($ac_try" in | ||
2226 | 2002 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2227 | 2003 | + *) ac_try_echo=$ac_try;; | ||
2228 | 2004 | +esac | ||
2229 | 2005 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2230 | 2006 | +$as_echo "$ac_try_echo"; } >&5 | ||
2231 | 2007 | + (eval "$ac_link") 2>conftest.err | ||
2232 | 2008 | + ac_status=$? | ||
2233 | 2009 | + if test -s conftest.err; then | ||
2234 | 2010 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
2235 | 2011 | + cat conftest.er1 >&5 | ||
2236 | 2012 | + mv -f conftest.er1 conftest.err | ||
2237 | 2013 | + fi | ||
2238 | 2014 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2239 | 2015 | + test $ac_status = 0; } && { | ||
2240 | 2016 | + test -z "$ac_cxx_werror_flag" || | ||
2241 | 2017 | + test ! -s conftest.err | ||
2242 | 2018 | + } && test -s conftest$ac_exeext && { | ||
2243 | 2019 | + test "$cross_compiling" = yes || | ||
2244 | 2020 | + $as_test_x conftest$ac_exeext | ||
2245 | 2021 | + }; then : | ||
2246 | 2022 | + ac_retval=0 | ||
2247 | 2023 | +else | ||
2248 | 2024 | + $as_echo "$as_me: failed program was:" >&5 | ||
2249 | 2025 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2250 | 2026 | |||
2251 | 2027 | + ac_retval=1 | ||
2252 | 2028 | +fi | ||
2253 | 2029 | + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
2254 | 2030 | + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
2255 | 2031 | + # interfere with the next link command; also delete a directory that is | ||
2256 | 2032 | + # left behind by Apple's compiler. We do this before executing the actions. | ||
2257 | 2033 | + rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
2258 | 2034 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2259 | 2035 | + as_fn_set_status $ac_retval | ||
2260 | 2036 | |||
2261 | 2037 | +} # ac_fn_cxx_try_link | ||
2262 | 2038 | |||
2263 | 2039 | +# ac_fn_f77_try_compile LINENO | ||
2264 | 2040 | +# ---------------------------- | ||
2265 | 2041 | +# Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
2266 | 2042 | +ac_fn_f77_try_compile () | ||
2267 | 2043 | +{ | ||
2268 | 2044 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2269 | 2045 | + rm -f conftest.$ac_objext | ||
2270 | 2046 | + if { { ac_try="$ac_compile" | ||
2271 | 2047 | +case "(($ac_try" in | ||
2272 | 2048 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2273 | 2049 | + *) ac_try_echo=$ac_try;; | ||
2274 | 2050 | +esac | ||
2275 | 2051 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2276 | 2052 | +$as_echo "$ac_try_echo"; } >&5 | ||
2277 | 2053 | + (eval "$ac_compile") 2>conftest.err | ||
2278 | 2054 | + ac_status=$? | ||
2279 | 2055 | + if test -s conftest.err; then | ||
2280 | 2056 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
2281 | 2057 | + cat conftest.er1 >&5 | ||
2282 | 2058 | + mv -f conftest.er1 conftest.err | ||
2283 | 2059 | + fi | ||
2284 | 2060 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2285 | 2061 | + test $ac_status = 0; } && { | ||
2286 | 2062 | + test -z "$ac_f77_werror_flag" || | ||
2287 | 2063 | + test ! -s conftest.err | ||
2288 | 2064 | + } && test -s conftest.$ac_objext; then : | ||
2289 | 2065 | + ac_retval=0 | ||
2290 | 2066 | +else | ||
2291 | 2067 | + $as_echo "$as_me: failed program was:" >&5 | ||
2292 | 2068 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2293 | 2069 | |||
2294 | 2070 | + ac_retval=1 | ||
2295 | 2071 | +fi | ||
2296 | 2072 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2297 | 2073 | + as_fn_set_status $ac_retval | ||
2298 | 2074 | |||
2299 | 2075 | +} # ac_fn_f77_try_compile | ||
2300 | 2076 | |||
2301 | 2077 | +# ac_fn_f77_try_link LINENO | ||
2302 | 2078 | +# ------------------------- | ||
2303 | 2079 | +# Try to link conftest.$ac_ext, and return whether this succeeded. | ||
2304 | 2080 | +ac_fn_f77_try_link () | ||
2305 | 2081 | +{ | ||
2306 | 2082 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2307 | 2083 | + rm -f conftest.$ac_objext conftest$ac_exeext | ||
2308 | 2084 | + if { { ac_try="$ac_link" | ||
2309 | 2085 | +case "(($ac_try" in | ||
2310 | 2086 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2311 | 2087 | + *) ac_try_echo=$ac_try;; | ||
2312 | 2088 | +esac | ||
2313 | 2089 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2314 | 2090 | +$as_echo "$ac_try_echo"; } >&5 | ||
2315 | 2091 | + (eval "$ac_link") 2>conftest.err | ||
2316 | 2092 | + ac_status=$? | ||
2317 | 2093 | + if test -s conftest.err; then | ||
2318 | 2094 | + grep -v '^ *+' conftest.err >conftest.er1 | ||
2319 | 2095 | + cat conftest.er1 >&5 | ||
2320 | 2096 | + mv -f conftest.er1 conftest.err | ||
2321 | 2097 | + fi | ||
2322 | 2098 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2323 | 2099 | + test $ac_status = 0; } && { | ||
2324 | 2100 | + test -z "$ac_f77_werror_flag" || | ||
2325 | 2101 | + test ! -s conftest.err | ||
2326 | 2102 | + } && test -s conftest$ac_exeext && { | ||
2327 | 2103 | + test "$cross_compiling" = yes || | ||
2328 | 2104 | + $as_test_x conftest$ac_exeext | ||
2329 | 2105 | + }; then : | ||
2330 | 2106 | + ac_retval=0 | ||
2331 | 2107 | +else | ||
2332 | 2108 | + $as_echo "$as_me: failed program was:" >&5 | ||
2333 | 2109 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2334 | 2110 | |||
2335 | 2111 | -ac_ext=c | ||
2336 | 2112 | -ac_cpp='$CPP $CPPFLAGS' | ||
2337 | 2113 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2338 | 2114 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2339 | 2115 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2340 | 2116 | + ac_retval=1 | ||
2341 | 2117 | +fi | ||
2342 | 2118 | + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
2343 | 2119 | + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
2344 | 2120 | + # interfere with the next link command; also delete a directory that is | ||
2345 | 2121 | + # left behind by Apple's compiler. We do this before executing the actions. | ||
2346 | 2122 | + rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
2347 | 2123 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2348 | 2124 | + as_fn_set_status $ac_retval | ||
2349 | 2125 | |||
2350 | 2126 | +} # ac_fn_f77_try_link | ||
2351 | 2127 | +cat >config.log <<_ACEOF | ||
2352 | 2128 | +This file contains any messages produced by compilers while | ||
2353 | 2129 | +running configure, to aid debugging if configure makes a mistake. | ||
2354 | 2130 | |||
2355 | 2131 | -V_MAJOR=1 | ||
2356 | 2132 | -V_MINOR=0 | ||
2357 | 2133 | -V_REV=22 | ||
2358 | 2134 | -is_release=no | ||
2359 | 2135 | +It was created by sane-backends $as_me 1.0.22git, which was | ||
2360 | 2136 | +generated by GNU Autoconf 2.65. Invocation command line was | ||
2361 | 2137 | |||
2362 | 2138 | + $ $0 $@ | ||
2363 | 2139 | |||
2364 | 2140 | +_ACEOF | ||
2365 | 2141 | +exec 5>>config.log | ||
2366 | 2142 | +{ | ||
2367 | 2143 | +cat <<_ASUNAME | ||
2368 | 2144 | +## --------- ## | ||
2369 | 2145 | +## Platform. ## | ||
2370 | 2146 | +## --------- ## | ||
2371 | 2147 | |||
2372 | 2148 | -am__api_version='1.11' | ||
2373 | 2149 | +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
2374 | 2150 | +uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
2375 | 2151 | +uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
2376 | 2152 | +uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
2377 | 2153 | +uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
2378 | 2154 | |||
2379 | 2155 | -ac_aux_dir= | ||
2380 | 2156 | -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
2381 | 2157 | - if test -f "$ac_dir/install-sh"; then | ||
2382 | 2158 | - ac_aux_dir=$ac_dir | ||
2383 | 2159 | - ac_install_sh="$ac_aux_dir/install-sh -c" | ||
2384 | 2160 | - break | ||
2385 | 2161 | - elif test -f "$ac_dir/install.sh"; then | ||
2386 | 2162 | - ac_aux_dir=$ac_dir | ||
2387 | 2163 | - ac_install_sh="$ac_aux_dir/install.sh -c" | ||
2388 | 2164 | - break | ||
2389 | 2165 | - elif test -f "$ac_dir/shtool"; then | ||
2390 | 2166 | - ac_aux_dir=$ac_dir | ||
2391 | 2167 | - ac_install_sh="$ac_aux_dir/shtool install -c" | ||
2392 | 2168 | - break | ||
2393 | 2169 | - fi | ||
2394 | 2170 | -done | ||
2395 | 2171 | -if test -z "$ac_aux_dir"; then | ||
2396 | 2172 | - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | ||
2397 | 2173 | -$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
2398 | 2174 | - { (exit 1); exit 1; }; } | ||
2399 | 2175 | -fi | ||
2400 | 2176 | +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
2401 | 2177 | +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
2402 | 2178 | |||
2403 | 2179 | -# These three variables are undocumented and unsupported, | ||
2404 | 2180 | -# and are intended to be withdrawn in a future Autoconf release. | ||
2405 | 2181 | -# They can cause serious problems if a builder's source tree is in a directory | ||
2406 | 2182 | -# whose full name contains unusual characters. | ||
2407 | 2183 | -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
2408 | 2184 | -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
2409 | 2185 | -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
2410 | 2186 | +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
2411 | 2187 | +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
2412 | 2188 | +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
2413 | 2189 | +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
2414 | 2190 | +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
2415 | 2191 | +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
2416 | 2192 | +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
2417 | 2193 | |||
2418 | 2194 | +_ASUNAME | ||
2419 | 2195 | |||
2420 | 2196 | -# Find a good install program. We prefer a C program (faster), | ||
2421 | 2197 | -# so one script is as good as another. But avoid the broken or | ||
2422 | 2198 | -# incompatible versions: | ||
2423 | 2199 | -# SysV /etc/install, /usr/sbin/install | ||
2424 | 2200 | -# SunOS /usr/etc/install | ||
2425 | 2201 | -# IRIX /sbin/install | ||
2426 | 2202 | -# AIX /bin/install | ||
2427 | 2203 | -# AmigaOS /C/install, which installs bootblocks on floppy discs | ||
2428 | 2204 | -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
2429 | 2205 | -# AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
2430 | 2206 | -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
2431 | 2207 | -# OS/2's system install, which has a completely different semantic | ||
2432 | 2208 | -# ./install, which can be erroneously created by make from ./install.sh. | ||
2433 | 2209 | -# Reject install programs that cannot install multiple files. | ||
2434 | 2210 | -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
2435 | 2211 | -$as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
2436 | 2212 | -if test -z "$INSTALL"; then | ||
2437 | 2213 | -if test "${ac_cv_path_install+set}" = set; then | ||
2438 | 2214 | - $as_echo_n "(cached) " >&6 | ||
2439 | 2215 | -else | ||
2440 | 2216 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2441 | 2217 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2442 | 2218 | for as_dir in $PATH | ||
2443 | 2219 | do | ||
2444 | 2220 | IFS=$as_save_IFS | ||
2445 | 2221 | test -z "$as_dir" && as_dir=. | ||
2446 | 2222 | - # Account for people who put trailing slashes in PATH elements. | ||
2447 | 2223 | -case $as_dir/ in | ||
2448 | 2224 | - ./ | .// | /cC/* | \ | ||
2449 | 2225 | - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
2450 | 2226 | - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
2451 | 2227 | - /usr/ucb/* ) ;; | ||
2452 | 2228 | - *) | ||
2453 | 2229 | - # OSF1 and SCO ODT 3.0 have their own names for install. | ||
2454 | 2230 | - # Don't use installbsd from OSF since it installs stuff as root | ||
2455 | 2231 | - # by default. | ||
2456 | 2232 | - for ac_prog in ginstall scoinst install; do | ||
2457 | 2233 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
2458 | 2234 | - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | ||
2459 | 2235 | - if test $ac_prog = install && | ||
2460 | 2236 | - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2461 | 2237 | - # AIX install. It has an incompatible calling convention. | ||
2462 | 2238 | - : | ||
2463 | 2239 | - elif test $ac_prog = install && | ||
2464 | 2240 | - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2465 | 2241 | - # program-specific install script used by HP pwplus--don't use. | ||
2466 | 2242 | - : | ||
2467 | 2243 | - else | ||
2468 | 2244 | - rm -rf conftest.one conftest.two conftest.dir | ||
2469 | 2245 | - echo one > conftest.one | ||
2470 | 2246 | - echo two > conftest.two | ||
2471 | 2247 | - mkdir conftest.dir | ||
2472 | 2248 | - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
2473 | 2249 | - test -s conftest.one && test -s conftest.two && | ||
2474 | 2250 | - test -s conftest.dir/conftest.one && | ||
2475 | 2251 | - test -s conftest.dir/conftest.two | ||
2476 | 2252 | - then | ||
2477 | 2253 | - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
2478 | 2254 | - break 3 | ||
2479 | 2255 | - fi | ||
2480 | 2256 | - fi | ||
2481 | 2257 | - fi | ||
2482 | 2258 | - done | ||
2483 | 2259 | - done | ||
2484 | 2260 | - ;; | ||
2485 | 2261 | -esac | ||
2486 | 2262 | - | ||
2487 | 2263 | -done | ||
2488 | 2264 | + $as_echo "PATH: $as_dir" | ||
2489 | 2265 | + done | ||
2490 | 2266 | IFS=$as_save_IFS | ||
2491 | 2267 | |||
2492 | 2268 | -rm -rf conftest.one conftest.two conftest.dir | ||
2493 | 2269 | +} >&5 | ||
2494 | 2270 | |||
2495 | 2271 | -fi | ||
2496 | 2272 | - if test "${ac_cv_path_install+set}" = set; then | ||
2497 | 2273 | - INSTALL=$ac_cv_path_install | ||
2498 | 2274 | - else | ||
2499 | 2275 | - # As a last resort, use the slow shell script. Don't cache a | ||
2500 | 2276 | - # value for INSTALL within a source directory, because that will | ||
2501 | 2277 | - # break other packages using the cache if that directory is | ||
2502 | 2278 | - # removed, or if the value is a relative name. | ||
2503 | 2279 | - INSTALL=$ac_install_sh | ||
2504 | 2280 | - fi | ||
2505 | 2281 | -fi | ||
2506 | 2282 | -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
2507 | 2283 | -$as_echo "$INSTALL" >&6; } | ||
2508 | 2284 | - | ||
2509 | 2285 | -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
2510 | 2286 | -# It thinks the first close brace ends the variable substitution. | ||
2511 | 2287 | -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
2512 | 2288 | - | ||
2513 | 2289 | -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
2514 | 2290 | - | ||
2515 | 2291 | -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
2516 | 2292 | - | ||
2517 | 2293 | -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | ||
2518 | 2294 | -$as_echo_n "checking whether build environment is sane... " >&6; } | ||
2519 | 2295 | -# Just in case | ||
2520 | 2296 | -sleep 1 | ||
2521 | 2297 | -echo timestamp > conftest.file | ||
2522 | 2298 | -# Reject unsafe characters in $srcdir or the absolute working directory | ||
2523 | 2299 | -# name. Accept space and tab only in the latter. | ||
2524 | 2300 | -am_lf=' | ||
2525 | 2301 | -' | ||
2526 | 2302 | -case `pwd` in | ||
2527 | 2303 | - *[\\\"\#\$\&\'\`$am_lf]*) | ||
2528 | 2304 | - { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 | ||
2529 | 2305 | -$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} | ||
2530 | 2306 | - { (exit 1); exit 1; }; };; | ||
2531 | 2307 | -esac | ||
2532 | 2308 | -case $srcdir in | ||
2533 | 2309 | - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | ||
2534 | 2310 | - { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 | ||
2535 | 2311 | -$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} | ||
2536 | 2312 | - { (exit 1); exit 1; }; };; | ||
2537 | 2313 | -esac | ||
2538 | 2314 | - | ||
2539 | 2315 | -# Do `set' in a subshell so we don't clobber the current shell's | ||
2540 | 2316 | -# arguments. Must try -L first in case configure is actually a | ||
2541 | 2317 | -# symlink; some systems play weird games with the mod time of symlinks | ||
2542 | 2318 | -# (eg FreeBSD returns the mod time of the symlink's containing | ||
2543 | 2319 | -# directory). | ||
2544 | 2320 | -if ( | ||
2545 | 2321 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
2546 | 2322 | - if test "$*" = "X"; then | ||
2547 | 2323 | - # -L didn't work. | ||
2548 | 2324 | - set X `ls -t "$srcdir/configure" conftest.file` | ||
2549 | 2325 | - fi | ||
2550 | 2326 | - rm -f conftest.file | ||
2551 | 2327 | - if test "$*" != "X $srcdir/configure conftest.file" \ | ||
2552 | 2328 | - && test "$*" != "X conftest.file $srcdir/configure"; then | ||
2553 | 2329 | - | ||
2554 | 2330 | - # If neither matched, then we have a broken ls. This can happen | ||
2555 | 2331 | - # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
2556 | 2332 | - # broken ls alias from the environment. This has actually | ||
2557 | 2333 | - # happened. Such a system could not be considered "sane". | ||
2558 | 2334 | - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | ||
2559 | 2335 | -alias in your environment" >&5 | ||
2560 | 2336 | -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
2561 | 2337 | -alias in your environment" >&2;} | ||
2562 | 2338 | - { (exit 1); exit 1; }; } | ||
2563 | 2339 | - fi | ||
2564 | 2340 | - | ||
2565 | 2341 | - test "$2" = conftest.file | ||
2566 | 2342 | - ) | ||
2567 | 2343 | -then | ||
2568 | 2344 | - # Ok. | ||
2569 | 2345 | - : | ||
2570 | 2346 | -else | ||
2571 | 2347 | - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | ||
2572 | 2348 | -Check your system clock" >&5 | ||
2573 | 2349 | -$as_echo "$as_me: error: newly created file is older than distributed files! | ||
2574 | 2350 | -Check your system clock" >&2;} | ||
2575 | 2351 | - { (exit 1); exit 1; }; } | ||
2576 | 2352 | -fi | ||
2577 | 2353 | -{ $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2578 | 2354 | -$as_echo "yes" >&6; } | ||
2579 | 2355 | -test "$program_prefix" != NONE && | ||
2580 | 2356 | - program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
2581 | 2357 | -# Use a double $ so make ignores it. | ||
2582 | 2358 | -test "$program_suffix" != NONE && | ||
2583 | 2359 | - program_transform_name="s&\$&$program_suffix&;$program_transform_name" | ||
2584 | 2360 | -# Double any \ or $. | ||
2585 | 2361 | -# By default was `s,x,x', remove it if useless. | ||
2586 | 2362 | -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
2587 | 2363 | -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
2588 | 2364 | - | ||
2589 | 2365 | -# expand $ac_aux_dir to an absolute path | ||
2590 | 2366 | -am_aux_dir=`cd $ac_aux_dir && pwd` | ||
2591 | 2367 | - | ||
2592 | 2368 | -if test x"${MISSING+set}" != xset; then | ||
2593 | 2369 | - case $am_aux_dir in | ||
2594 | 2370 | - *\ * | *\ *) | ||
2595 | 2371 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
2596 | 2372 | - *) | ||
2597 | 2373 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
2598 | 2374 | - esac | ||
2599 | 2375 | -fi | ||
2600 | 2376 | -# Use eval to expand $SHELL | ||
2601 | 2377 | -if eval "$MISSING --run true"; then | ||
2602 | 2378 | - am_missing_run="$MISSING --run " | ||
2603 | 2379 | -else | ||
2604 | 2380 | - am_missing_run= | ||
2605 | 2381 | - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | ||
2606 | 2382 | -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | ||
2607 | 2383 | -fi | ||
2608 | 2384 | - | ||
2609 | 2385 | -if test x"${install_sh}" != xset; then | ||
2610 | 2386 | - case $am_aux_dir in | ||
2611 | 2387 | - *\ * | *\ *) | ||
2612 | 2388 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
2613 | 2389 | - *) | ||
2614 | 2390 | - install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
2615 | 2391 | - esac | ||
2616 | 2392 | -fi | ||
2617 | 2393 | - | ||
2618 | 2394 | -# Installed binaries are usually stripped using `strip' when the user | ||
2619 | 2395 | -# run `make install-strip'. However `strip' might not be the right | ||
2620 | 2396 | -# tool to use in cross-compilation environments, therefore Automake | ||
2621 | 2397 | -# will honor the `STRIP' environment variable to overrule this program. | ||
2622 | 2398 | -if test "$cross_compiling" != no; then | ||
2623 | 2399 | - if test -n "$ac_tool_prefix"; then | ||
2624 | 2400 | - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
2625 | 2401 | -set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
2626 | 2402 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2627 | 2403 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
2628 | 2404 | -if test "${ac_cv_prog_STRIP+set}" = set; then | ||
2629 | 2405 | - $as_echo_n "(cached) " >&6 | ||
2630 | 2406 | -else | ||
2631 | 2407 | - if test -n "$STRIP"; then | ||
2632 | 2408 | - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
2633 | 2409 | -else | ||
2634 | 2410 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2635 | 2411 | -for as_dir in $PATH | ||
2636 | 2412 | -do | ||
2637 | 2413 | - IFS=$as_save_IFS | ||
2638 | 2414 | - test -z "$as_dir" && as_dir=. | ||
2639 | 2415 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
2640 | 2416 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2641 | 2417 | - ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
2642 | 2418 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2643 | 2419 | - break 2 | ||
2644 | 2420 | - fi | ||
2645 | 2421 | -done | ||
2646 | 2422 | -done | ||
2647 | 2423 | -IFS=$as_save_IFS | ||
2648 | 2424 | - | ||
2649 | 2425 | -fi | ||
2650 | 2426 | -fi | ||
2651 | 2427 | -STRIP=$ac_cv_prog_STRIP | ||
2652 | 2428 | -if test -n "$STRIP"; then | ||
2653 | 2429 | - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
2654 | 2430 | -$as_echo "$STRIP" >&6; } | ||
2655 | 2431 | -else | ||
2656 | 2432 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2657 | 2433 | -$as_echo "no" >&6; } | ||
2658 | 2434 | -fi | ||
2659 | 2435 | - | ||
2660 | 2436 | - | ||
2661 | 2437 | -fi | ||
2662 | 2438 | -if test -z "$ac_cv_prog_STRIP"; then | ||
2663 | 2439 | - ac_ct_STRIP=$STRIP | ||
2664 | 2440 | - # Extract the first word of "strip", so it can be a program name with args. | ||
2665 | 2441 | -set dummy strip; ac_word=$2 | ||
2666 | 2442 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2667 | 2443 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
2668 | 2444 | -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
2669 | 2445 | - $as_echo_n "(cached) " >&6 | ||
2670 | 2446 | -else | ||
2671 | 2447 | - if test -n "$ac_ct_STRIP"; then | ||
2672 | 2448 | - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
2673 | 2449 | -else | ||
2674 | 2450 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2675 | 2451 | -for as_dir in $PATH | ||
2676 | 2452 | -do | ||
2677 | 2453 | - IFS=$as_save_IFS | ||
2678 | 2454 | - test -z "$as_dir" && as_dir=. | ||
2679 | 2455 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
2680 | 2456 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2681 | 2457 | - ac_cv_prog_ac_ct_STRIP="strip" | ||
2682 | 2458 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2683 | 2459 | - break 2 | ||
2684 | 2460 | - fi | ||
2685 | 2461 | -done | ||
2686 | 2462 | -done | ||
2687 | 2463 | -IFS=$as_save_IFS | ||
2688 | 2464 | - | ||
2689 | 2465 | -fi | ||
2690 | 2466 | -fi | ||
2691 | 2467 | -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
2692 | 2468 | -if test -n "$ac_ct_STRIP"; then | ||
2693 | 2469 | - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
2694 | 2470 | -$as_echo "$ac_ct_STRIP" >&6; } | ||
2695 | 2471 | -else | ||
2696 | 2472 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2697 | 2473 | -$as_echo "no" >&6; } | ||
2698 | 2474 | -fi | ||
2699 | 2475 | - | ||
2700 | 2476 | - if test "x$ac_ct_STRIP" = x; then | ||
2701 | 2477 | - STRIP=":" | ||
2702 | 2478 | - else | ||
2703 | 2479 | - case $cross_compiling:$ac_tool_warned in | ||
2704 | 2480 | -yes:) | ||
2705 | 2481 | -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2706 | 2482 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2707 | 2483 | -ac_tool_warned=yes ;; | ||
2708 | 2484 | -esac | ||
2709 | 2485 | - STRIP=$ac_ct_STRIP | ||
2710 | 2486 | - fi | ||
2711 | 2487 | -else | ||
2712 | 2488 | - STRIP="$ac_cv_prog_STRIP" | ||
2713 | 2489 | -fi | ||
2714 | 2490 | - | ||
2715 | 2491 | -fi | ||
2716 | 2492 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
2717 | 2493 | - | ||
2718 | 2494 | -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | ||
2719 | 2495 | -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | ||
2720 | 2496 | -if test -z "$MKDIR_P"; then | ||
2721 | 2497 | - if test "${ac_cv_path_mkdir+set}" = set; then | ||
2722 | 2498 | - $as_echo_n "(cached) " >&6 | ||
2723 | 2499 | -else | ||
2724 | 2500 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2725 | 2501 | -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
2726 | 2502 | -do | ||
2727 | 2503 | - IFS=$as_save_IFS | ||
2728 | 2504 | - test -z "$as_dir" && as_dir=. | ||
2729 | 2505 | - for ac_prog in mkdir gmkdir; do | ||
2730 | 2506 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
2731 | 2507 | - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | ||
2732 | 2508 | - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | ||
2733 | 2509 | - 'mkdir (GNU coreutils) '* | \ | ||
2734 | 2510 | - 'mkdir (coreutils) '* | \ | ||
2735 | 2511 | - 'mkdir (fileutils) '4.1*) | ||
2736 | 2512 | - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | ||
2737 | 2513 | - break 3;; | ||
2738 | 2514 | - esac | ||
2739 | 2515 | - done | ||
2740 | 2516 | - done | ||
2741 | 2517 | -done | ||
2742 | 2518 | -IFS=$as_save_IFS | ||
2743 | 2519 | - | ||
2744 | 2520 | -fi | ||
2745 | 2521 | - | ||
2746 | 2522 | - if test "${ac_cv_path_mkdir+set}" = set; then | ||
2747 | 2523 | - MKDIR_P="$ac_cv_path_mkdir -p" | ||
2748 | 2524 | - else | ||
2749 | 2525 | - # As a last resort, use the slow shell script. Don't cache a | ||
2750 | 2526 | - # value for MKDIR_P within a source directory, because that will | ||
2751 | 2527 | - # break other packages using the cache if that directory is | ||
2752 | 2528 | - # removed, or if the value is a relative name. | ||
2753 | 2529 | - test -d ./--version && rmdir ./--version | ||
2754 | 2530 | - MKDIR_P="$ac_install_sh -d" | ||
2755 | 2531 | - fi | ||
2756 | 2532 | -fi | ||
2757 | 2533 | -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | ||
2758 | 2534 | -$as_echo "$MKDIR_P" >&6; } | ||
2759 | 2535 | - | ||
2760 | 2536 | -mkdir_p="$MKDIR_P" | ||
2761 | 2537 | -case $mkdir_p in | ||
2762 | 2538 | - [\\/$]* | ?:[\\/]*) ;; | ||
2763 | 2539 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
2764 | 2540 | -esac | ||
2765 | 2541 | - | ||
2766 | 2542 | -for ac_prog in gawk mawk nawk awk | ||
2767 | 2543 | -do | ||
2768 | 2544 | - # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2769 | 2545 | -set dummy $ac_prog; ac_word=$2 | ||
2770 | 2546 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2771 | 2547 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
2772 | 2548 | -if test "${ac_cv_prog_AWK+set}" = set; then | ||
2773 | 2549 | - $as_echo_n "(cached) " >&6 | ||
2774 | 2550 | -else | ||
2775 | 2551 | - if test -n "$AWK"; then | ||
2776 | 2552 | - ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
2777 | 2553 | -else | ||
2778 | 2554 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2779 | 2555 | -for as_dir in $PATH | ||
2780 | 2556 | -do | ||
2781 | 2557 | - IFS=$as_save_IFS | ||
2782 | 2558 | - test -z "$as_dir" && as_dir=. | ||
2783 | 2559 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
2784 | 2560 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
2785 | 2561 | - ac_cv_prog_AWK="$ac_prog" | ||
2786 | 2562 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2787 | 2563 | - break 2 | ||
2788 | 2564 | - fi | ||
2789 | 2565 | -done | ||
2790 | 2566 | -done | ||
2791 | 2567 | -IFS=$as_save_IFS | ||
2792 | 2568 | - | ||
2793 | 2569 | -fi | ||
2794 | 2570 | -fi | ||
2795 | 2571 | -AWK=$ac_cv_prog_AWK | ||
2796 | 2572 | -if test -n "$AWK"; then | ||
2797 | 2573 | - { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | ||
2798 | 2574 | -$as_echo "$AWK" >&6; } | ||
2799 | 2575 | -else | ||
2800 | 2576 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2801 | 2577 | -$as_echo "no" >&6; } | ||
2802 | 2578 | -fi | ||
2803 | 2579 | - | ||
2804 | 2580 | - | ||
2805 | 2581 | - test -n "$AWK" && break | ||
2806 | 2582 | -done | ||
2807 | 2583 | - | ||
2808 | 2584 | -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
2809 | 2585 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | ||
2810 | 2586 | -set x ${MAKE-make} | ||
2811 | 2587 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
2812 | 2588 | -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
2813 | 2589 | - $as_echo_n "(cached) " >&6 | ||
2814 | 2590 | -else | ||
2815 | 2591 | - cat >conftest.make <<\_ACEOF | ||
2816 | 2592 | -SHELL = /bin/sh | ||
2817 | 2593 | -all: | ||
2818 | 2594 | - @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
2819 | 2595 | -_ACEOF | ||
2820 | 2596 | -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
2821 | 2597 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in | ||
2822 | 2598 | - *@@@%%%=?*=@@@%%%*) | ||
2823 | 2599 | - eval ac_cv_prog_make_${ac_make}_set=yes;; | ||
2824 | 2600 | - *) | ||
2825 | 2601 | - eval ac_cv_prog_make_${ac_make}_set=no;; | ||
2826 | 2602 | -esac | ||
2827 | 2603 | -rm -f conftest.make | ||
2828 | 2604 | -fi | ||
2829 | 2605 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | ||
2830 | 2606 | - { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2831 | 2607 | -$as_echo "yes" >&6; } | ||
2832 | 2608 | - SET_MAKE= | ||
2833 | 2609 | -else | ||
2834 | 2610 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2835 | 2611 | -$as_echo "no" >&6; } | ||
2836 | 2612 | - SET_MAKE="MAKE=${MAKE-make}" | ||
2837 | 2613 | -fi | ||
2838 | 2614 | - | ||
2839 | 2615 | -rm -rf .tst 2>/dev/null | ||
2840 | 2616 | -mkdir .tst 2>/dev/null | ||
2841 | 2617 | -if test -d .tst; then | ||
2842 | 2618 | - am__leading_dot=. | ||
2843 | 2619 | -else | ||
2844 | 2620 | - am__leading_dot=_ | ||
2845 | 2621 | -fi | ||
2846 | 2622 | -rmdir .tst 2>/dev/null | ||
2847 | 2623 | - | ||
2848 | 2624 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
2849 | 2625 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
2850 | 2626 | - # is not polluted with repeated "-I." | ||
2851 | 2627 | - am__isrc=' -I$(srcdir)' | ||
2852 | 2628 | - # test to see if srcdir already configured | ||
2853 | 2629 | - if test -f $srcdir/config.status; then | ||
2854 | 2630 | - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | ||
2855 | 2631 | -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | ||
2856 | 2632 | - { (exit 1); exit 1; }; } | ||
2857 | 2633 | - fi | ||
2858 | 2634 | -fi | ||
2859 | 2635 | - | ||
2860 | 2636 | -# test whether we have cygpath | ||
2861 | 2637 | -if test -z "$CYGPATH_W"; then | ||
2862 | 2638 | - if (cygpath --version) >/dev/null 2>/dev/null; then | ||
2863 | 2639 | - CYGPATH_W='cygpath -w' | ||
2864 | 2640 | - else | ||
2865 | 2641 | - CYGPATH_W=echo | ||
2866 | 2642 | - fi | ||
2867 | 2643 | -fi | ||
2868 | 2644 | - | ||
2869 | 2645 | - | ||
2870 | 2646 | -# Define the identity of the package. | ||
2871 | 2647 | - PACKAGE='sane-backends' | ||
2872 | 2648 | - VERSION='1.0.22git' | ||
2873 | 2649 | - | ||
2874 | 2650 | - | ||
2875 | 2651 | -cat >>confdefs.h <<_ACEOF | ||
2876 | 2652 | -#define PACKAGE "$PACKAGE" | ||
2877 | 2653 | -_ACEOF | ||
2878 | 2654 | - | ||
2879 | 2655 | - | ||
2880 | 2656 | -cat >>confdefs.h <<_ACEOF | ||
2881 | 2657 | -#define VERSION "$VERSION" | ||
2882 | 2658 | -_ACEOF | ||
2883 | 2659 | - | ||
2884 | 2660 | -# Some tools Automake needs. | ||
2885 | 2661 | - | ||
2886 | 2662 | -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
2887 | 2663 | - | ||
2888 | 2664 | - | ||
2889 | 2665 | -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
2890 | 2666 | - | ||
2891 | 2667 | - | ||
2892 | 2668 | -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
2893 | 2669 | - | ||
2894 | 2670 | - | ||
2895 | 2671 | -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
2896 | 2672 | - | ||
2897 | 2673 | - | ||
2898 | 2674 | -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
2899 | 2675 | - | ||
2900 | 2676 | -# We need awk for the "check" target. The system "awk" is bad on | ||
2901 | 2677 | -# some platforms. | ||
2902 | 2678 | -# Always define AMTAR for backward compatibility. | ||
2903 | 2679 | - | ||
2904 | 2680 | -AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
2905 | 2681 | - | ||
2906 | 2682 | -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
2907 | 2683 | - | ||
2908 | 2684 | - | ||
2909 | 2685 | - | ||
2910 | 2686 | - | ||
2911 | 2687 | - | ||
2912 | 2688 | - | ||
2913 | 2689 | -{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||
2914 | 2690 | -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | ||
2915 | 2691 | - # Check whether --enable-maintainer-mode was given. | ||
2916 | 2692 | -if test "${enable_maintainer_mode+set}" = set; then | ||
2917 | 2693 | - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | ||
2918 | 2694 | -else | ||
2919 | 2695 | - USE_MAINTAINER_MODE=no | ||
2920 | 2696 | -fi | ||
2921 | 2697 | - | ||
2922 | 2698 | - { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | ||
2923 | 2699 | -$as_echo "$USE_MAINTAINER_MODE" >&6; } | ||
2924 | 2700 | - if test $USE_MAINTAINER_MODE = yes; then | ||
2925 | 2701 | - MAINTAINER_MODE_TRUE= | ||
2926 | 2702 | - MAINTAINER_MODE_FALSE='#' | ||
2927 | 2703 | -else | ||
2928 | 2704 | - MAINTAINER_MODE_TRUE='#' | ||
2929 | 2705 | - MAINTAINER_MODE_FALSE= | ||
2930 | 2706 | -fi | ||
2931 | 2707 | - | ||
2932 | 2708 | - MAINT=$MAINTAINER_MODE_TRUE | ||
2933 | 2709 | - | ||
2934 | 2710 | - | ||
2935 | 2711 | - | ||
2936 | 2712 | -ac_config_headers="$ac_config_headers include/sane/config.h" | ||
2937 | 2713 | - | ||
2938 | 2714 | - | ||
2939 | 2715 | -PACKAGE=sane-backends | ||
2940 | 2716 | -VERSION=1.0.22git | ||
2941 | 2717 | -NUMBER_VERSION=${V_MAJOR}.${V_MINOR}.${V_REV} | ||
2942 | 2718 | - | ||
2943 | 2719 | -cat >>confdefs.h <<_ACEOF | ||
2944 | 2720 | -#define PACKAGE "$PACKAGE" | ||
2945 | 2721 | -_ACEOF | ||
2946 | 2722 | - | ||
2947 | 2723 | - | ||
2948 | 2724 | -cat >>confdefs.h <<_ACEOF | ||
2949 | 2725 | -#define VERSION "$VERSION" | ||
2950 | 2726 | -_ACEOF | ||
2951 | 2727 | - | ||
2952 | 2728 | - | ||
2953 | 2729 | -cat >>confdefs.h <<_ACEOF | ||
2954 | 2730 | -#define SANE_DLL_V_MAJOR $V_MAJOR | ||
2955 | 2731 | -_ACEOF | ||
2956 | 2732 | - | ||
2957 | 2733 | - | ||
2958 | 2734 | -cat >>confdefs.h <<_ACEOF | ||
2959 | 2735 | -#define SANE_DLL_V_MINOR $V_MINOR | ||
2960 | 2736 | -_ACEOF | ||
2961 | 2737 | - | ||
2962 | 2738 | - | ||
2963 | 2739 | -cat >>confdefs.h <<_ACEOF | ||
2964 | 2740 | -#define SANE_DLL_V_BUILD $V_REV | ||
2965 | 2741 | -_ACEOF | ||
2966 | 2742 | - | ||
2967 | 2743 | - | ||
2968 | 2744 | - | ||
2969 | 2745 | - | ||
2970 | 2746 | - | ||
2971 | 2747 | - | ||
2972 | 2748 | - | ||
2973 | 2749 | -# Make sure we can run config.sub. | ||
2974 | 2750 | -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | ||
2975 | 2751 | - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | ||
2976 | 2752 | -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
2977 | 2753 | - { (exit 1); exit 1; }; } | ||
2978 | 2754 | - | ||
2979 | 2755 | -{ $as_echo "$as_me:$LINENO: checking build system type" >&5 | ||
2980 | 2756 | -$as_echo_n "checking build system type... " >&6; } | ||
2981 | 2757 | -if test "${ac_cv_build+set}" = set; then | ||
2982 | 2758 | - $as_echo_n "(cached) " >&6 | ||
2983 | 2759 | -else | ||
2984 | 2760 | - ac_build_alias=$build_alias | ||
2985 | 2761 | -test "x$ac_build_alias" = x && | ||
2986 | 2762 | - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | ||
2987 | 2763 | -test "x$ac_build_alias" = x && | ||
2988 | 2764 | - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | ||
2989 | 2765 | -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2990 | 2766 | - { (exit 1); exit 1; }; } | ||
2991 | 2767 | -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | ||
2992 | 2768 | - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | ||
2993 | 2769 | -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
2994 | 2770 | - { (exit 1); exit 1; }; } | ||
2995 | 2771 | - | ||
2996 | 2772 | -fi | ||
2997 | 2773 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | ||
2998 | 2774 | -$as_echo "$ac_cv_build" >&6; } | ||
2999 | 2775 | -case $ac_cv_build in | ||
3000 | 2776 | -*-*-*) ;; | ||
3001 | 2777 | -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | ||
3002 | 2778 | -$as_echo "$as_me: error: invalid value of canonical build" >&2;} | ||
3003 | 2779 | - { (exit 1); exit 1; }; };; | ||
3004 | 2780 | -esac | ||
3005 | 2781 | -build=$ac_cv_build | ||
3006 | 2782 | -ac_save_IFS=$IFS; IFS='-' | ||
3007 | 2783 | -set x $ac_cv_build | ||
3008 | 2784 | -shift | ||
3009 | 2785 | -build_cpu=$1 | ||
3010 | 2786 | -build_vendor=$2 | ||
3011 | 2787 | -shift; shift | ||
3012 | 2788 | -# Remember, the first character of IFS is used to create $*, | ||
3013 | 2789 | -# except with old shells: | ||
3014 | 2790 | -build_os=$* | ||
3015 | 2791 | -IFS=$ac_save_IFS | ||
3016 | 2792 | -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||
3017 | 2793 | - | ||
3018 | 2794 | - | ||
3019 | 2795 | -{ $as_echo "$as_me:$LINENO: checking host system type" >&5 | ||
3020 | 2796 | -$as_echo_n "checking host system type... " >&6; } | ||
3021 | 2797 | -if test "${ac_cv_host+set}" = set; then | ||
3022 | 2798 | - $as_echo_n "(cached) " >&6 | ||
3023 | 2799 | -else | ||
3024 | 2800 | - if test "x$host_alias" = x; then | ||
3025 | 2801 | - ac_cv_host=$ac_cv_build | ||
3026 | 2802 | -else | ||
3027 | 2803 | - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | ||
3028 | 2804 | - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | ||
3029 | 2805 | -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
3030 | 2806 | - { (exit 1); exit 1; }; } | ||
3031 | 2807 | -fi | ||
3032 | 2808 | - | ||
3033 | 2809 | -fi | ||
3034 | 2810 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | ||
3035 | 2811 | -$as_echo "$ac_cv_host" >&6; } | ||
3036 | 2812 | -case $ac_cv_host in | ||
3037 | 2813 | -*-*-*) ;; | ||
3038 | 2814 | -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | ||
3039 | 2815 | -$as_echo "$as_me: error: invalid value of canonical host" >&2;} | ||
3040 | 2816 | - { (exit 1); exit 1; }; };; | ||
3041 | 2817 | -esac | ||
3042 | 2818 | -host=$ac_cv_host | ||
3043 | 2819 | -ac_save_IFS=$IFS; IFS='-' | ||
3044 | 2820 | -set x $ac_cv_host | ||
3045 | 2821 | -shift | ||
3046 | 2822 | -host_cpu=$1 | ||
3047 | 2823 | -host_vendor=$2 | ||
3048 | 2824 | -shift; shift | ||
3049 | 2825 | -# Remember, the first character of IFS is used to create $*, | ||
3050 | 2826 | -# except with old shells: | ||
3051 | 2827 | -host_os=$* | ||
3052 | 2828 | -IFS=$ac_save_IFS | ||
3053 | 2829 | -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||
3054 | 2830 | - | ||
3055 | 2831 | - | ||
3056 | 2832 | - | ||
3057 | 2833 | - | ||
3058 | 2834 | -# Check whether --with-docdir was given. | ||
3059 | 2835 | -if test "${with_docdir+set}" = set; then | ||
3060 | 2836 | - withval=$with_docdir; | ||
3061 | 2837 | - docdir="${withval}" | ||
3062 | 2838 | - | ||
3063 | 2839 | -else | ||
3064 | 2840 | - | ||
3065 | 2841 | - docdir='${prefix}/doc/sane-${VERSION}' | ||
3066 | 2842 | - | ||
3067 | 2843 | -fi | ||
3068 | 2844 | - | ||
3069 | 2845 | - | ||
3070 | 2846 | -ac_ext=c | ||
3071 | 2847 | -ac_cpp='$CPP $CPPFLAGS' | ||
3072 | 2848 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3073 | 2849 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3074 | 2850 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3075 | 2851 | -if test -n "$ac_tool_prefix"; then | ||
3076 | 2852 | - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
3077 | 2853 | -set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
3078 | 2854 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3079 | 2855 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
3080 | 2856 | -if test "${ac_cv_prog_CC+set}" = set; then | ||
3081 | 2857 | - $as_echo_n "(cached) " >&6 | ||
3082 | 2858 | -else | ||
3083 | 2859 | - if test -n "$CC"; then | ||
3084 | 2860 | - ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3085 | 2861 | -else | ||
3086 | 2862 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3087 | 2863 | -for as_dir in $PATH | ||
3088 | 2864 | -do | ||
3089 | 2865 | - IFS=$as_save_IFS | ||
3090 | 2866 | - test -z "$as_dir" && as_dir=. | ||
3091 | 2867 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
3092 | 2868 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3093 | 2869 | - ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
3094 | 2870 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3095 | 2871 | - break 2 | ||
3096 | 2872 | - fi | ||
3097 | 2873 | -done | ||
3098 | 2874 | -done | ||
3099 | 2875 | -IFS=$as_save_IFS | ||
3100 | 2876 | - | ||
3101 | 2877 | -fi | ||
3102 | 2878 | -fi | ||
3103 | 2879 | -CC=$ac_cv_prog_CC | ||
3104 | 2880 | -if test -n "$CC"; then | ||
3105 | 2881 | - { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3106 | 2882 | -$as_echo "$CC" >&6; } | ||
3107 | 2883 | -else | ||
3108 | 2884 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3109 | 2885 | -$as_echo "no" >&6; } | ||
3110 | 2886 | -fi | ||
3111 | 2887 | - | ||
3112 | 2888 | - | ||
3113 | 2889 | -fi | ||
3114 | 2890 | -if test -z "$ac_cv_prog_CC"; then | ||
3115 | 2891 | - ac_ct_CC=$CC | ||
3116 | 2892 | - # Extract the first word of "gcc", so it can be a program name with args. | ||
3117 | 2893 | -set dummy gcc; ac_word=$2 | ||
3118 | 2894 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3119 | 2895 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
3120 | 2896 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3121 | 2897 | - $as_echo_n "(cached) " >&6 | ||
3122 | 2898 | -else | ||
3123 | 2899 | - if test -n "$ac_ct_CC"; then | ||
3124 | 2900 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3125 | 2901 | -else | ||
3126 | 2902 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3127 | 2903 | -for as_dir in $PATH | ||
3128 | 2904 | -do | ||
3129 | 2905 | - IFS=$as_save_IFS | ||
3130 | 2906 | - test -z "$as_dir" && as_dir=. | ||
3131 | 2907 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
3132 | 2908 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3133 | 2909 | - ac_cv_prog_ac_ct_CC="gcc" | ||
3134 | 2910 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3135 | 2911 | - break 2 | ||
3136 | 2912 | - fi | ||
3137 | 2913 | -done | ||
3138 | 2914 | -done | ||
3139 | 2915 | -IFS=$as_save_IFS | ||
3140 | 2916 | - | ||
3141 | 2917 | -fi | ||
3142 | 2918 | -fi | ||
3143 | 2919 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3144 | 2920 | -if test -n "$ac_ct_CC"; then | ||
3145 | 2921 | - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3146 | 2922 | -$as_echo "$ac_ct_CC" >&6; } | ||
3147 | 2923 | -else | ||
3148 | 2924 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3149 | 2925 | -$as_echo "no" >&6; } | ||
3150 | 2926 | -fi | ||
3151 | 2927 | - | ||
3152 | 2928 | - if test "x$ac_ct_CC" = x; then | ||
3153 | 2929 | - CC="" | ||
3154 | 2930 | - else | ||
3155 | 2931 | - case $cross_compiling:$ac_tool_warned in | ||
3156 | 2932 | -yes:) | ||
3157 | 2933 | -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
3158 | 2934 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
3159 | 2935 | -ac_tool_warned=yes ;; | ||
3160 | 2936 | -esac | ||
3161 | 2937 | - CC=$ac_ct_CC | ||
3162 | 2938 | - fi | ||
3163 | 2939 | -else | ||
3164 | 2940 | - CC="$ac_cv_prog_CC" | ||
3165 | 2941 | -fi | ||
3166 | 2942 | - | ||
3167 | 2943 | -if test -z "$CC"; then | ||
3168 | 2944 | - if test -n "$ac_tool_prefix"; then | ||
3169 | 2945 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
3170 | 2946 | -set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
3171 | 2947 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3172 | 2948 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
3173 | 2949 | -if test "${ac_cv_prog_CC+set}" = set; then | ||
3174 | 2950 | - $as_echo_n "(cached) " >&6 | ||
3175 | 2951 | -else | ||
3176 | 2952 | - if test -n "$CC"; then | ||
3177 | 2953 | - ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3178 | 2954 | -else | ||
3179 | 2955 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3180 | 2956 | -for as_dir in $PATH | ||
3181 | 2957 | -do | ||
3182 | 2958 | - IFS=$as_save_IFS | ||
3183 | 2959 | - test -z "$as_dir" && as_dir=. | ||
3184 | 2960 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
3185 | 2961 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3186 | 2962 | - ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
3187 | 2963 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3188 | 2964 | - break 2 | ||
3189 | 2965 | - fi | ||
3190 | 2966 | -done | ||
3191 | 2967 | -done | ||
3192 | 2968 | -IFS=$as_save_IFS | ||
3193 | 2969 | - | ||
3194 | 2970 | -fi | ||
3195 | 2971 | -fi | ||
3196 | 2972 | -CC=$ac_cv_prog_CC | ||
3197 | 2973 | -if test -n "$CC"; then | ||
3198 | 2974 | - { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3199 | 2975 | -$as_echo "$CC" >&6; } | ||
3200 | 2976 | -else | ||
3201 | 2977 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3202 | 2978 | -$as_echo "no" >&6; } | ||
3203 | 2979 | -fi | ||
3204 | 2980 | - | ||
3205 | 2981 | - | ||
3206 | 2982 | - fi | ||
3207 | 2983 | -fi | ||
3208 | 2984 | -if test -z "$CC"; then | ||
3209 | 2985 | - # Extract the first word of "cc", so it can be a program name with args. | ||
3210 | 2986 | -set dummy cc; ac_word=$2 | ||
3211 | 2987 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3212 | 2988 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
3213 | 2989 | -if test "${ac_cv_prog_CC+set}" = set; then | ||
3214 | 2990 | - $as_echo_n "(cached) " >&6 | ||
3215 | 2991 | -else | ||
3216 | 2992 | - if test -n "$CC"; then | ||
3217 | 2993 | - ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3218 | 2994 | -else | ||
3219 | 2995 | - ac_prog_rejected=no | ||
3220 | 2996 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3221 | 2997 | -for as_dir in $PATH | ||
3222 | 2998 | -do | ||
3223 | 2999 | - IFS=$as_save_IFS | ||
3224 | 3000 | - test -z "$as_dir" && as_dir=. | ||
3225 | 3001 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
3226 | 3002 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3227 | 3003 | - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
3228 | 3004 | - ac_prog_rejected=yes | ||
3229 | 3005 | - continue | ||
3230 | 3006 | - fi | ||
3231 | 3007 | - ac_cv_prog_CC="cc" | ||
3232 | 3008 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3233 | 3009 | - break 2 | ||
3234 | 3010 | - fi | ||
3235 | 3011 | -done | ||
3236 | 3012 | -done | ||
3237 | 3013 | -IFS=$as_save_IFS | ||
3238 | 3014 | - | ||
3239 | 3015 | -if test $ac_prog_rejected = yes; then | ||
3240 | 3016 | - # We found a bogon in the path, so make sure we never use it. | ||
3241 | 3017 | - set dummy $ac_cv_prog_CC | ||
3242 | 3018 | - shift | ||
3243 | 3019 | - if test $# != 0; then | ||
3244 | 3020 | - # We chose a different compiler from the bogus one. | ||
3245 | 3021 | - # However, it has the same basename, so the bogon will be chosen | ||
3246 | 3022 | - # first if we set CC to just the basename; use the full file name. | ||
3247 | 3023 | - shift | ||
3248 | 3024 | - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
3249 | 3025 | - fi | ||
3250 | 3026 | -fi | ||
3251 | 3027 | -fi | ||
3252 | 3028 | -fi | ||
3253 | 3029 | -CC=$ac_cv_prog_CC | ||
3254 | 3030 | -if test -n "$CC"; then | ||
3255 | 3031 | - { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3256 | 3032 | -$as_echo "$CC" >&6; } | ||
3257 | 3033 | -else | ||
3258 | 3034 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3259 | 3035 | -$as_echo "no" >&6; } | ||
3260 | 3036 | -fi | ||
3261 | 3037 | - | ||
3262 | 3038 | - | ||
3263 | 3039 | -fi | ||
3264 | 3040 | -if test -z "$CC"; then | ||
3265 | 3041 | - if test -n "$ac_tool_prefix"; then | ||
3266 | 3042 | - for ac_prog in cl.exe | ||
3267 | 3043 | - do | ||
3268 | 3044 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
3269 | 3045 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
3270 | 3046 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3271 | 3047 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
3272 | 3048 | -if test "${ac_cv_prog_CC+set}" = set; then | ||
3273 | 3049 | - $as_echo_n "(cached) " >&6 | ||
3274 | 3050 | -else | ||
3275 | 3051 | - if test -n "$CC"; then | ||
3276 | 3052 | - ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3277 | 3053 | -else | ||
3278 | 3054 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3279 | 3055 | -for as_dir in $PATH | ||
3280 | 3056 | -do | ||
3281 | 3057 | - IFS=$as_save_IFS | ||
3282 | 3058 | - test -z "$as_dir" && as_dir=. | ||
3283 | 3059 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
3284 | 3060 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3285 | 3061 | - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
3286 | 3062 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3287 | 3063 | - break 2 | ||
3288 | 3064 | - fi | ||
3289 | 3065 | -done | ||
3290 | 3066 | -done | ||
3291 | 3067 | -IFS=$as_save_IFS | ||
3292 | 3068 | - | ||
3293 | 3069 | -fi | ||
3294 | 3070 | -fi | ||
3295 | 3071 | -CC=$ac_cv_prog_CC | ||
3296 | 3072 | -if test -n "$CC"; then | ||
3297 | 3073 | - { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3298 | 3074 | -$as_echo "$CC" >&6; } | ||
3299 | 3075 | -else | ||
3300 | 3076 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3301 | 3077 | -$as_echo "no" >&6; } | ||
3302 | 3078 | -fi | ||
3303 | 3079 | - | ||
3304 | 3080 | - | ||
3305 | 3081 | - test -n "$CC" && break | ||
3306 | 3082 | - done | ||
3307 | 3083 | -fi | ||
3308 | 3084 | -if test -z "$CC"; then | ||
3309 | 3085 | - ac_ct_CC=$CC | ||
3310 | 3086 | - for ac_prog in cl.exe | ||
3311 | 3087 | -do | ||
3312 | 3088 | - # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3313 | 3089 | -set dummy $ac_prog; ac_word=$2 | ||
3314 | 3090 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3315 | 3091 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
3316 | 3092 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3317 | 3093 | - $as_echo_n "(cached) " >&6 | ||
3318 | 3094 | -else | ||
3319 | 3095 | - if test -n "$ac_ct_CC"; then | ||
3320 | 3096 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3321 | 3097 | -else | ||
3322 | 3098 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3323 | 3099 | -for as_dir in $PATH | ||
3324 | 3100 | -do | ||
3325 | 3101 | - IFS=$as_save_IFS | ||
3326 | 3102 | - test -z "$as_dir" && as_dir=. | ||
3327 | 3103 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
3328 | 3104 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
3329 | 3105 | - ac_cv_prog_ac_ct_CC="$ac_prog" | ||
3330 | 3106 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3331 | 3107 | - break 2 | ||
3332 | 3108 | - fi | ||
3333 | 3109 | -done | ||
3334 | 3110 | -done | ||
3335 | 3111 | -IFS=$as_save_IFS | ||
3336 | 3112 | - | ||
3337 | 3113 | -fi | ||
3338 | 3114 | -fi | ||
3339 | 3115 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3340 | 3116 | -if test -n "$ac_ct_CC"; then | ||
3341 | 3117 | - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3342 | 3118 | -$as_echo "$ac_ct_CC" >&6; } | ||
3343 | 3119 | -else | ||
3344 | 3120 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3345 | 3121 | -$as_echo "no" >&6; } | ||
3346 | 3122 | -fi | ||
3347 | 3123 | - | ||
3348 | 3124 | - | ||
3349 | 3125 | - test -n "$ac_ct_CC" && break | ||
3350 | 3126 | -done | ||
3351 | 3127 | - | ||
3352 | 3128 | - if test "x$ac_ct_CC" = x; then | ||
3353 | 3129 | - CC="" | ||
3354 | 3130 | - else | ||
3355 | 3131 | - case $cross_compiling:$ac_tool_warned in | ||
3356 | 3132 | -yes:) | ||
3357 | 3133 | -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
3358 | 3134 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
3359 | 3135 | -ac_tool_warned=yes ;; | ||
3360 | 3136 | -esac | ||
3361 | 3137 | - CC=$ac_ct_CC | ||
3362 | 3138 | - fi | ||
3363 | 3139 | -fi | ||
3364 | 3140 | - | ||
3365 | 3141 | -fi | ||
3366 | 3142 | - | ||
3367 | 3143 | - | ||
3368 | 3144 | -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
3369 | 3145 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3370 | 3146 | -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
3371 | 3147 | -See \`config.log' for more details." >&5 | ||
3372 | 3148 | -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
3373 | 3149 | -See \`config.log' for more details." >&2;} | ||
3374 | 3150 | - { (exit 1); exit 1; }; }; } | ||
3375 | 3151 | - | ||
3376 | 3152 | -# Provide some information about the compiler. | ||
3377 | 3153 | -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | ||
3378 | 3154 | -set X $ac_compile | ||
3379 | 3155 | -ac_compiler=$2 | ||
3380 | 3156 | -{ (ac_try="$ac_compiler --version >&5" | ||
3381 | 3157 | -case "(($ac_try" in | ||
3382 | 3158 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3383 | 3159 | - *) ac_try_echo=$ac_try;; | ||
3384 | 3160 | -esac | ||
3385 | 3161 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3386 | 3162 | -$as_echo "$ac_try_echo") >&5 | ||
3387 | 3163 | - (eval "$ac_compiler --version >&5") 2>&5 | ||
3388 | 3164 | - ac_status=$? | ||
3389 | 3165 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3390 | 3166 | - (exit $ac_status); } | ||
3391 | 3167 | -{ (ac_try="$ac_compiler -v >&5" | ||
3392 | 3168 | -case "(($ac_try" in | ||
3393 | 3169 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3394 | 3170 | - *) ac_try_echo=$ac_try;; | ||
3395 | 3171 | -esac | ||
3396 | 3172 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3397 | 3173 | -$as_echo "$ac_try_echo") >&5 | ||
3398 | 3174 | - (eval "$ac_compiler -v >&5") 2>&5 | ||
3399 | 3175 | - ac_status=$? | ||
3400 | 3176 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3401 | 3177 | - (exit $ac_status); } | ||
3402 | 3178 | -{ (ac_try="$ac_compiler -V >&5" | ||
3403 | 3179 | -case "(($ac_try" in | ||
3404 | 3180 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3405 | 3181 | - *) ac_try_echo=$ac_try;; | ||
3406 | 3182 | -esac | ||
3407 | 3183 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3408 | 3184 | -$as_echo "$ac_try_echo") >&5 | ||
3409 | 3185 | - (eval "$ac_compiler -V >&5") 2>&5 | ||
3410 | 3186 | - ac_status=$? | ||
3411 | 3187 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3412 | 3188 | - (exit $ac_status); } | ||
3413 | 3189 | - | ||
3414 | 3190 | -cat >conftest.$ac_ext <<_ACEOF | ||
3415 | 3191 | -/* confdefs.h. */ | ||
3416 | 3192 | -_ACEOF | ||
3417 | 3193 | -cat confdefs.h >>conftest.$ac_ext | ||
3418 | 3194 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3419 | 3195 | -/* end confdefs.h. */ | ||
3420 | 3196 | - | ||
3421 | 3197 | -int | ||
3422 | 3198 | -main () | ||
3423 | 3199 | -{ | ||
3424 | 3200 | - | ||
3425 | 3201 | - ; | ||
3426 | 3202 | - return 0; | ||
3427 | 3203 | -} | ||
3428 | 3204 | -_ACEOF | ||
3429 | 3205 | -ac_clean_files_save=$ac_clean_files | ||
3430 | 3206 | -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | ||
3431 | 3207 | -# Try to create an executable without -o first, disregard a.out. | ||
3432 | 3208 | -# It will help us diagnose broken compilers, and finding out an intuition | ||
3433 | 3209 | -# of exeext. | ||
3434 | 3210 | -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | ||
3435 | 3211 | -$as_echo_n "checking for C compiler default output file name... " >&6; } | ||
3436 | 3212 | -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
3437 | 3213 | - | ||
3438 | 3214 | -# The possible output files: | ||
3439 | 3215 | -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
3440 | 3216 | - | ||
3441 | 3217 | -ac_rmfiles= | ||
3442 | 3218 | -for ac_file in $ac_files | ||
3443 | 3219 | -do | ||
3444 | 3220 | - case $ac_file in | ||
3445 | 3221 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
3446 | 3222 | - * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
3447 | 3223 | - esac | ||
3448 | 3224 | -done | ||
3449 | 3225 | -rm -f $ac_rmfiles | ||
3450 | 3226 | - | ||
3451 | 3227 | -if { (ac_try="$ac_link_default" | ||
3452 | 3228 | -case "(($ac_try" in | ||
3453 | 3229 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3454 | 3230 | - *) ac_try_echo=$ac_try;; | ||
3455 | 3231 | -esac | ||
3456 | 3232 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3457 | 3233 | -$as_echo "$ac_try_echo") >&5 | ||
3458 | 3234 | - (eval "$ac_link_default") 2>&5 | ||
3459 | 3235 | - ac_status=$? | ||
3460 | 3236 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3461 | 3237 | - (exit $ac_status); }; then | ||
3462 | 3238 | - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | ||
3463 | 3239 | -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
3464 | 3240 | -# in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
3465 | 3241 | -# so that the user can short-circuit this test for compilers unknown to | ||
3466 | 3242 | -# Autoconf. | ||
3467 | 3243 | -for ac_file in $ac_files '' | ||
3468 | 3244 | -do | ||
3469 | 3245 | - test -f "$ac_file" || continue | ||
3470 | 3246 | - case $ac_file in | ||
3471 | 3247 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | ||
3472 | 3248 | - ;; | ||
3473 | 3249 | - [ab].out ) | ||
3474 | 3250 | - # We found the default executable, but exeext='' is most | ||
3475 | 3251 | - # certainly right. | ||
3476 | 3252 | - break;; | ||
3477 | 3253 | - *.* ) | ||
3478 | 3254 | - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | ||
3479 | 3255 | - then :; else | ||
3480 | 3256 | - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
3481 | 3257 | - fi | ||
3482 | 3258 | - # We set ac_cv_exeext here because the later test for it is not | ||
3483 | 3259 | - # safe: cross compilers may not add the suffix if given an `-o' | ||
3484 | 3260 | - # argument, so we may need to know it at that point already. | ||
3485 | 3261 | - # Even if this section looks crufty: it has the advantage of | ||
3486 | 3262 | - # actually working. | ||
3487 | 3263 | - break;; | ||
3488 | 3264 | - * ) | ||
3489 | 3265 | - break;; | ||
3490 | 3266 | - esac | ||
3491 | 3267 | -done | ||
3492 | 3268 | -test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
3493 | 3269 | - | ||
3494 | 3270 | -else | ||
3495 | 3271 | - ac_file='' | ||
3496 | 3272 | -fi | ||
3497 | 3273 | - | ||
3498 | 3274 | -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
3499 | 3275 | -$as_echo "$ac_file" >&6; } | ||
3500 | 3276 | -if test -z "$ac_file"; then | ||
3501 | 3277 | - $as_echo "$as_me: failed program was:" >&5 | ||
3502 | 3278 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3503 | 3279 | - | ||
3504 | 3280 | -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
3505 | 3281 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3506 | 3282 | -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
3507 | 3283 | -See \`config.log' for more details." >&5 | ||
3508 | 3284 | -$as_echo "$as_me: error: C compiler cannot create executables | ||
3509 | 3285 | -See \`config.log' for more details." >&2;} | ||
3510 | 3286 | - { (exit 77); exit 77; }; }; } | ||
3511 | 3287 | -fi | ||
3512 | 3288 | - | ||
3513 | 3289 | -ac_exeext=$ac_cv_exeext | ||
3514 | 3290 | - | ||
3515 | 3291 | -# Check that the compiler produces executables we can run. If not, either | ||
3516 | 3292 | -# the compiler is broken, or we cross compile. | ||
3517 | 3293 | -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
3518 | 3294 | -$as_echo_n "checking whether the C compiler works... " >&6; } | ||
3519 | 3295 | -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
3520 | 3296 | -# If not cross compiling, check that we can run a simple program. | ||
3521 | 3297 | -if test "$cross_compiling" != yes; then | ||
3522 | 3298 | - if { ac_try='./$ac_file' | ||
3523 | 3299 | - { (case "(($ac_try" in | ||
3524 | 3300 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3525 | 3301 | - *) ac_try_echo=$ac_try;; | ||
3526 | 3302 | -esac | ||
3527 | 3303 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3528 | 3304 | -$as_echo "$ac_try_echo") >&5 | ||
3529 | 3305 | - (eval "$ac_try") 2>&5 | ||
3530 | 3306 | - ac_status=$? | ||
3531 | 3307 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3532 | 3308 | - (exit $ac_status); }; }; then | ||
3533 | 3309 | - cross_compiling=no | ||
3534 | 3310 | - else | ||
3535 | 3311 | - if test "$cross_compiling" = maybe; then | ||
3536 | 3312 | - cross_compiling=yes | ||
3537 | 3313 | - else | ||
3538 | 3314 | - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
3539 | 3315 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3540 | 3316 | -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
3541 | 3317 | -If you meant to cross compile, use \`--host'. | ||
3542 | 3318 | -See \`config.log' for more details." >&5 | ||
3543 | 3319 | -$as_echo "$as_me: error: cannot run C compiled programs. | ||
3544 | 3320 | -If you meant to cross compile, use \`--host'. | ||
3545 | 3321 | -See \`config.log' for more details." >&2;} | ||
3546 | 3322 | - { (exit 1); exit 1; }; }; } | ||
3547 | 3323 | - fi | ||
3548 | 3324 | - fi | ||
3549 | 3325 | -fi | ||
3550 | 3326 | -{ $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
3551 | 3327 | -$as_echo "yes" >&6; } | ||
3552 | 3328 | - | ||
3553 | 3329 | -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
3554 | 3330 | -ac_clean_files=$ac_clean_files_save | ||
3555 | 3331 | -# Check that the compiler produces executables we can run. If not, either | ||
3556 | 3332 | -# the compiler is broken, or we cross compile. | ||
3557 | 3333 | -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
3558 | 3334 | -$as_echo_n "checking whether we are cross compiling... " >&6; } | ||
3559 | 3335 | -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
3560 | 3336 | -$as_echo "$cross_compiling" >&6; } | ||
3561 | 3337 | - | ||
3562 | 3338 | -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
3563 | 3339 | -$as_echo_n "checking for suffix of executables... " >&6; } | ||
3564 | 3340 | -if { (ac_try="$ac_link" | ||
3565 | 3341 | -case "(($ac_try" in | ||
3566 | 3342 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3567 | 3343 | - *) ac_try_echo=$ac_try;; | ||
3568 | 3344 | -esac | ||
3569 | 3345 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3570 | 3346 | -$as_echo "$ac_try_echo") >&5 | ||
3571 | 3347 | - (eval "$ac_link") 2>&5 | ||
3572 | 3348 | - ac_status=$? | ||
3573 | 3349 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3574 | 3350 | - (exit $ac_status); }; then | ||
3575 | 3351 | - # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
3576 | 3352 | -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
3577 | 3353 | -# work properly (i.e., refer to `conftest.exe'), while it won't with | ||
3578 | 3354 | -# `rm'. | ||
3579 | 3355 | -for ac_file in conftest.exe conftest conftest.*; do | ||
3580 | 3356 | - test -f "$ac_file" || continue | ||
3581 | 3357 | - case $ac_file in | ||
3582 | 3358 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
3583 | 3359 | - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
3584 | 3360 | - break;; | ||
3585 | 3361 | - * ) break;; | ||
3586 | 3362 | - esac | ||
3587 | 3363 | -done | ||
3588 | 3364 | -else | ||
3589 | 3365 | - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
3590 | 3366 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3591 | 3367 | -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
3592 | 3368 | -See \`config.log' for more details." >&5 | ||
3593 | 3369 | -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
3594 | 3370 | -See \`config.log' for more details." >&2;} | ||
3595 | 3371 | - { (exit 1); exit 1; }; }; } | ||
3596 | 3372 | -fi | ||
3597 | 3373 | - | ||
3598 | 3374 | -rm -f conftest$ac_cv_exeext | ||
3599 | 3375 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
3600 | 3376 | -$as_echo "$ac_cv_exeext" >&6; } | ||
3601 | 3377 | - | ||
3602 | 3378 | -rm -f conftest.$ac_ext | ||
3603 | 3379 | -EXEEXT=$ac_cv_exeext | ||
3604 | 3380 | -ac_exeext=$EXEEXT | ||
3605 | 3381 | -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
3606 | 3382 | -$as_echo_n "checking for suffix of object files... " >&6; } | ||
3607 | 3383 | -if test "${ac_cv_objext+set}" = set; then | ||
3608 | 3384 | - $as_echo_n "(cached) " >&6 | ||
3609 | 3385 | -else | ||
3610 | 3386 | - cat >conftest.$ac_ext <<_ACEOF | ||
3611 | 3387 | -/* confdefs.h. */ | ||
3612 | 3388 | -_ACEOF | ||
3613 | 3389 | -cat confdefs.h >>conftest.$ac_ext | ||
3614 | 3390 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3615 | 3391 | -/* end confdefs.h. */ | ||
3616 | 3392 | - | ||
3617 | 3393 | -int | ||
3618 | 3394 | -main () | ||
3619 | 3395 | -{ | ||
3620 | 3396 | - | ||
3621 | 3397 | - ; | ||
3622 | 3398 | - return 0; | ||
3623 | 3399 | -} | ||
3624 | 3400 | -_ACEOF | ||
3625 | 3401 | -rm -f conftest.o conftest.obj | ||
3626 | 3402 | -if { (ac_try="$ac_compile" | ||
3627 | 3403 | -case "(($ac_try" in | ||
3628 | 3404 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3629 | 3405 | - *) ac_try_echo=$ac_try;; | ||
3630 | 3406 | -esac | ||
3631 | 3407 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3632 | 3408 | -$as_echo "$ac_try_echo") >&5 | ||
3633 | 3409 | - (eval "$ac_compile") 2>&5 | ||
3634 | 3410 | - ac_status=$? | ||
3635 | 3411 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3636 | 3412 | - (exit $ac_status); }; then | ||
3637 | 3413 | - for ac_file in conftest.o conftest.obj conftest.*; do | ||
3638 | 3414 | - test -f "$ac_file" || continue; | ||
3639 | 3415 | - case $ac_file in | ||
3640 | 3416 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | ||
3641 | 3417 | - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
3642 | 3418 | - break;; | ||
3643 | 3419 | - esac | ||
3644 | 3420 | -done | ||
3645 | 3421 | -else | ||
3646 | 3422 | - $as_echo "$as_me: failed program was:" >&5 | ||
3647 | 3423 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3648 | 3424 | - | ||
3649 | 3425 | -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
3650 | 3426 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3651 | 3427 | -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
3652 | 3428 | -See \`config.log' for more details." >&5 | ||
3653 | 3429 | -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
3654 | 3430 | -See \`config.log' for more details." >&2;} | ||
3655 | 3431 | - { (exit 1); exit 1; }; }; } | ||
3656 | 3432 | -fi | ||
3657 | 3433 | - | ||
3658 | 3434 | -rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
3659 | 3435 | -fi | ||
3660 | 3436 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
3661 | 3437 | -$as_echo "$ac_cv_objext" >&6; } | ||
3662 | 3438 | -OBJEXT=$ac_cv_objext | ||
3663 | 3439 | -ac_objext=$OBJEXT | ||
3664 | 3440 | -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
3665 | 3441 | -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | ||
3666 | 3442 | -if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
3667 | 3443 | - $as_echo_n "(cached) " >&6 | ||
3668 | 3444 | -else | ||
3669 | 3445 | - cat >conftest.$ac_ext <<_ACEOF | ||
3670 | 3446 | -/* confdefs.h. */ | ||
3671 | 3447 | -_ACEOF | ||
3672 | 3448 | -cat confdefs.h >>conftest.$ac_ext | ||
3673 | 3449 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3674 | 3450 | -/* end confdefs.h. */ | ||
3675 | 3451 | - | ||
3676 | 3452 | -int | ||
3677 | 3453 | -main () | ||
3678 | 3454 | -{ | ||
3679 | 3455 | -#ifndef __GNUC__ | ||
3680 | 3456 | - choke me | ||
3681 | 3457 | -#endif | ||
3682 | 3458 | - | ||
3683 | 3459 | - ; | ||
3684 | 3460 | - return 0; | ||
3685 | 3461 | -} | ||
3686 | 3462 | -_ACEOF | ||
3687 | 3463 | -rm -f conftest.$ac_objext | ||
3688 | 3464 | -if { (ac_try="$ac_compile" | ||
3689 | 3465 | -case "(($ac_try" in | ||
3690 | 3466 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3691 | 3467 | - *) ac_try_echo=$ac_try;; | ||
3692 | 3468 | -esac | ||
3693 | 3469 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3694 | 3470 | -$as_echo "$ac_try_echo") >&5 | ||
3695 | 3471 | - (eval "$ac_compile") 2>conftest.er1 | ||
3696 | 3472 | - ac_status=$? | ||
3697 | 3473 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
3698 | 3474 | - rm -f conftest.er1 | ||
3699 | 3475 | - cat conftest.err >&5 | ||
3700 | 3476 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3701 | 3477 | - (exit $ac_status); } && { | ||
3702 | 3478 | - test -z "$ac_c_werror_flag" || | ||
3703 | 3479 | - test ! -s conftest.err | ||
3704 | 3480 | - } && test -s conftest.$ac_objext; then | ||
3705 | 3481 | - ac_compiler_gnu=yes | ||
3706 | 3482 | -else | ||
3707 | 3483 | - $as_echo "$as_me: failed program was:" >&5 | ||
3708 | 3484 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3709 | 3485 | - | ||
3710 | 3486 | - ac_compiler_gnu=no | ||
3711 | 3487 | -fi | ||
3712 | 3488 | - | ||
3713 | 3489 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3714 | 3490 | -ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
3715 | 3491 | - | ||
3716 | 3492 | -fi | ||
3717 | 3493 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
3718 | 3494 | -$as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
3719 | 3495 | -if test $ac_compiler_gnu = yes; then | ||
3720 | 3496 | - GCC=yes | ||
3721 | 3497 | -else | ||
3722 | 3498 | - GCC= | ||
3723 | 3499 | -fi | ||
3724 | 3500 | -ac_test_CFLAGS=${CFLAGS+set} | ||
3725 | 3501 | -ac_save_CFLAGS=$CFLAGS | ||
3726 | 3502 | -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
3727 | 3503 | -$as_echo_n "checking whether $CC accepts -g... " >&6; } | ||
3728 | 3504 | -if test "${ac_cv_prog_cc_g+set}" = set; then | ||
3729 | 3505 | - $as_echo_n "(cached) " >&6 | ||
3730 | 3506 | -else | ||
3731 | 3507 | - ac_save_c_werror_flag=$ac_c_werror_flag | ||
3732 | 3508 | - ac_c_werror_flag=yes | ||
3733 | 3509 | - ac_cv_prog_cc_g=no | ||
3734 | 3510 | - CFLAGS="-g" | ||
3735 | 3511 | - cat >conftest.$ac_ext <<_ACEOF | ||
3736 | 3512 | -/* confdefs.h. */ | ||
3737 | 3513 | -_ACEOF | ||
3738 | 3514 | -cat confdefs.h >>conftest.$ac_ext | ||
3739 | 3515 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3740 | 3516 | -/* end confdefs.h. */ | ||
3741 | 3517 | - | ||
3742 | 3518 | -int | ||
3743 | 3519 | -main () | ||
3744 | 3520 | -{ | ||
3745 | 3521 | - | ||
3746 | 3522 | - ; | ||
3747 | 3523 | - return 0; | ||
3748 | 3524 | -} | ||
3749 | 3525 | -_ACEOF | ||
3750 | 3526 | -rm -f conftest.$ac_objext | ||
3751 | 3527 | -if { (ac_try="$ac_compile" | ||
3752 | 3528 | -case "(($ac_try" in | ||
3753 | 3529 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3754 | 3530 | - *) ac_try_echo=$ac_try;; | ||
3755 | 3531 | -esac | ||
3756 | 3532 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3757 | 3533 | -$as_echo "$ac_try_echo") >&5 | ||
3758 | 3534 | - (eval "$ac_compile") 2>conftest.er1 | ||
3759 | 3535 | - ac_status=$? | ||
3760 | 3536 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
3761 | 3537 | - rm -f conftest.er1 | ||
3762 | 3538 | - cat conftest.err >&5 | ||
3763 | 3539 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3764 | 3540 | - (exit $ac_status); } && { | ||
3765 | 3541 | - test -z "$ac_c_werror_flag" || | ||
3766 | 3542 | - test ! -s conftest.err | ||
3767 | 3543 | - } && test -s conftest.$ac_objext; then | ||
3768 | 3544 | - ac_cv_prog_cc_g=yes | ||
3769 | 3545 | -else | ||
3770 | 3546 | - $as_echo "$as_me: failed program was:" >&5 | ||
3771 | 3547 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3772 | 3548 | - | ||
3773 | 3549 | - CFLAGS="" | ||
3774 | 3550 | - cat >conftest.$ac_ext <<_ACEOF | ||
3775 | 3551 | -/* confdefs.h. */ | ||
3776 | 3552 | -_ACEOF | ||
3777 | 3553 | -cat confdefs.h >>conftest.$ac_ext | ||
3778 | 3554 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3779 | 3555 | -/* end confdefs.h. */ | ||
3780 | 3556 | - | ||
3781 | 3557 | -int | ||
3782 | 3558 | -main () | ||
3783 | 3559 | -{ | ||
3784 | 3560 | - | ||
3785 | 3561 | - ; | ||
3786 | 3562 | - return 0; | ||
3787 | 3563 | -} | ||
3788 | 3564 | -_ACEOF | ||
3789 | 3565 | -rm -f conftest.$ac_objext | ||
3790 | 3566 | -if { (ac_try="$ac_compile" | ||
3791 | 3567 | -case "(($ac_try" in | ||
3792 | 3568 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3793 | 3569 | - *) ac_try_echo=$ac_try;; | ||
3794 | 3570 | -esac | ||
3795 | 3571 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3796 | 3572 | -$as_echo "$ac_try_echo") >&5 | ||
3797 | 3573 | - (eval "$ac_compile") 2>conftest.er1 | ||
3798 | 3574 | - ac_status=$? | ||
3799 | 3575 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
3800 | 3576 | - rm -f conftest.er1 | ||
3801 | 3577 | - cat conftest.err >&5 | ||
3802 | 3578 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3803 | 3579 | - (exit $ac_status); } && { | ||
3804 | 3580 | - test -z "$ac_c_werror_flag" || | ||
3805 | 3581 | - test ! -s conftest.err | ||
3806 | 3582 | - } && test -s conftest.$ac_objext; then | ||
3807 | 3583 | - : | ||
3808 | 3584 | -else | ||
3809 | 3585 | - $as_echo "$as_me: failed program was:" >&5 | ||
3810 | 3586 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3811 | 3587 | - | ||
3812 | 3588 | - ac_c_werror_flag=$ac_save_c_werror_flag | ||
3813 | 3589 | - CFLAGS="-g" | ||
3814 | 3590 | - cat >conftest.$ac_ext <<_ACEOF | ||
3815 | 3591 | -/* confdefs.h. */ | ||
3816 | 3592 | -_ACEOF | ||
3817 | 3593 | -cat confdefs.h >>conftest.$ac_ext | ||
3818 | 3594 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3819 | 3595 | -/* end confdefs.h. */ | ||
3820 | 3596 | - | ||
3821 | 3597 | -int | ||
3822 | 3598 | -main () | ||
3823 | 3599 | -{ | ||
3824 | 3600 | - | ||
3825 | 3601 | - ; | ||
3826 | 3602 | - return 0; | ||
3827 | 3603 | -} | ||
3828 | 3604 | -_ACEOF | ||
3829 | 3605 | -rm -f conftest.$ac_objext | ||
3830 | 3606 | -if { (ac_try="$ac_compile" | ||
3831 | 3607 | -case "(($ac_try" in | ||
3832 | 3608 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3833 | 3609 | - *) ac_try_echo=$ac_try;; | ||
3834 | 3610 | -esac | ||
3835 | 3611 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3836 | 3612 | -$as_echo "$ac_try_echo") >&5 | ||
3837 | 3613 | - (eval "$ac_compile") 2>conftest.er1 | ||
3838 | 3614 | - ac_status=$? | ||
3839 | 3615 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
3840 | 3616 | - rm -f conftest.er1 | ||
3841 | 3617 | - cat conftest.err >&5 | ||
3842 | 3618 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3843 | 3619 | - (exit $ac_status); } && { | ||
3844 | 3620 | - test -z "$ac_c_werror_flag" || | ||
3845 | 3621 | - test ! -s conftest.err | ||
3846 | 3622 | - } && test -s conftest.$ac_objext; then | ||
3847 | 3623 | - ac_cv_prog_cc_g=yes | ||
3848 | 3624 | -else | ||
3849 | 3625 | - $as_echo "$as_me: failed program was:" >&5 | ||
3850 | 3626 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3851 | 3627 | - | ||
3852 | 3628 | - | ||
3853 | 3629 | -fi | ||
3854 | 3630 | - | ||
3855 | 3631 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3856 | 3632 | -fi | ||
3857 | 3633 | - | ||
3858 | 3634 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3859 | 3635 | -fi | ||
3860 | 3636 | - | ||
3861 | 3637 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3862 | 3638 | - ac_c_werror_flag=$ac_save_c_werror_flag | ||
3863 | 3639 | -fi | ||
3864 | 3640 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
3865 | 3641 | -$as_echo "$ac_cv_prog_cc_g" >&6; } | ||
3866 | 3642 | -if test "$ac_test_CFLAGS" = set; then | ||
3867 | 3643 | - CFLAGS=$ac_save_CFLAGS | ||
3868 | 3644 | -elif test $ac_cv_prog_cc_g = yes; then | ||
3869 | 3645 | - if test "$GCC" = yes; then | ||
3870 | 3646 | - CFLAGS="-g -O2" | ||
3871 | 3647 | - else | ||
3872 | 3648 | - CFLAGS="-g" | ||
3873 | 3649 | - fi | ||
3874 | 3650 | -else | ||
3875 | 3651 | - if test "$GCC" = yes; then | ||
3876 | 3652 | - CFLAGS="-O2" | ||
3877 | 3653 | - else | ||
3878 | 3654 | - CFLAGS= | ||
3879 | 3655 | - fi | ||
3880 | 3656 | -fi | ||
3881 | 3657 | -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | ||
3882 | 3658 | -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | ||
3883 | 3659 | -if test "${ac_cv_prog_cc_c89+set}" = set; then | ||
3884 | 3660 | - $as_echo_n "(cached) " >&6 | ||
3885 | 3661 | -else | ||
3886 | 3662 | - ac_cv_prog_cc_c89=no | ||
3887 | 3663 | -ac_save_CC=$CC | ||
3888 | 3664 | -cat >conftest.$ac_ext <<_ACEOF | ||
3889 | 3665 | -/* confdefs.h. */ | ||
3890 | 3666 | -_ACEOF | ||
3891 | 3667 | -cat confdefs.h >>conftest.$ac_ext | ||
3892 | 3668 | -cat >>conftest.$ac_ext <<_ACEOF | ||
3893 | 3669 | -/* end confdefs.h. */ | ||
3894 | 3670 | -#include <stdarg.h> | ||
3895 | 3671 | -#include <stdio.h> | ||
3896 | 3672 | -#include <sys/types.h> | ||
3897 | 3673 | -#include <sys/stat.h> | ||
3898 | 3674 | -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
3899 | 3675 | -struct buf { int x; }; | ||
3900 | 3676 | -FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
3901 | 3677 | -static char *e (p, i) | ||
3902 | 3678 | - char **p; | ||
3903 | 3679 | - int i; | ||
3904 | 3680 | -{ | ||
3905 | 3681 | - return p[i]; | ||
3906 | 3682 | -} | ||
3907 | 3683 | -static char *f (char * (*g) (char **, int), char **p, ...) | ||
3908 | 3684 | -{ | ||
3909 | 3685 | - char *s; | ||
3910 | 3686 | - va_list v; | ||
3911 | 3687 | - va_start (v,p); | ||
3912 | 3688 | - s = g (p, va_arg (v,int)); | ||
3913 | 3689 | - va_end (v); | ||
3914 | 3690 | - return s; | ||
3915 | 3691 | -} | ||
3916 | 3692 | - | ||
3917 | 3693 | -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
3918 | 3694 | - function prototypes and stuff, but not '\xHH' hex character constants. | ||
3919 | 3695 | - These don't provoke an error unfortunately, instead are silently treated | ||
3920 | 3696 | - as 'x'. The following induces an error, until -std is added to get | ||
3921 | 3697 | - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
3922 | 3698 | - array size at least. It's necessary to write '\x00'==0 to get something | ||
3923 | 3699 | - that's true only with -std. */ | ||
3924 | 3700 | -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
3925 | 3701 | - | ||
3926 | 3702 | -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
3927 | 3703 | - inside strings and character constants. */ | ||
3928 | 3704 | -#define FOO(x) 'x' | ||
3929 | 3705 | -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
3930 | 3706 | - | ||
3931 | 3707 | -int test (int i, double x); | ||
3932 | 3708 | -struct s1 {int (*f) (int a);}; | ||
3933 | 3709 | -struct s2 {int (*f) (double a);}; | ||
3934 | 3710 | -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
3935 | 3711 | -int argc; | ||
3936 | 3712 | -char **argv; | ||
3937 | 3713 | -int | ||
3938 | 3714 | -main () | ||
3939 | 3715 | -{ | ||
3940 | 3716 | -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
3941 | 3717 | - ; | ||
3942 | 3718 | - return 0; | ||
3943 | 3719 | -} | ||
3944 | 3720 | -_ACEOF | ||
3945 | 3721 | -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
3946 | 3722 | - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3947 | 3723 | -do | ||
3948 | 3724 | - CC="$ac_save_CC $ac_arg" | ||
3949 | 3725 | - rm -f conftest.$ac_objext | ||
3950 | 3726 | -if { (ac_try="$ac_compile" | ||
3951 | 3727 | -case "(($ac_try" in | ||
3952 | 3728 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3953 | 3729 | - *) ac_try_echo=$ac_try;; | ||
3954 | 3730 | -esac | ||
3955 | 3731 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
3956 | 3732 | -$as_echo "$ac_try_echo") >&5 | ||
3957 | 3733 | - (eval "$ac_compile") 2>conftest.er1 | ||
3958 | 3734 | - ac_status=$? | ||
3959 | 3735 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
3960 | 3736 | - rm -f conftest.er1 | ||
3961 | 3737 | - cat conftest.err >&5 | ||
3962 | 3738 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3963 | 3739 | - (exit $ac_status); } && { | ||
3964 | 3740 | - test -z "$ac_c_werror_flag" || | ||
3965 | 3741 | - test ! -s conftest.err | ||
3966 | 3742 | - } && test -s conftest.$ac_objext; then | ||
3967 | 3743 | - ac_cv_prog_cc_c89=$ac_arg | ||
3968 | 3744 | -else | ||
3969 | 3745 | - $as_echo "$as_me: failed program was:" >&5 | ||
3970 | 3746 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
3971 | 3747 | - | ||
3972 | 3748 | - | ||
3973 | 3749 | -fi | ||
3974 | 3750 | - | ||
3975 | 3751 | -rm -f core conftest.err conftest.$ac_objext | ||
3976 | 3752 | - test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
3977 | 3753 | -done | ||
3978 | 3754 | -rm -f conftest.$ac_ext | ||
3979 | 3755 | -CC=$ac_save_CC | ||
3980 | 3756 | - | ||
3981 | 3757 | -fi | ||
3982 | 3758 | -# AC_CACHE_VAL | ||
3983 | 3759 | -case "x$ac_cv_prog_cc_c89" in | ||
3984 | 3760 | - x) | ||
3985 | 3761 | - { $as_echo "$as_me:$LINENO: result: none needed" >&5 | ||
3986 | 3762 | -$as_echo "none needed" >&6; } ;; | ||
3987 | 3763 | - xno) | ||
3988 | 3764 | - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | ||
3989 | 3765 | -$as_echo "unsupported" >&6; } ;; | ||
3990 | 3766 | - *) | ||
3991 | 3767 | - CC="$CC $ac_cv_prog_cc_c89" | ||
3992 | 3768 | - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | ||
3993 | 3769 | -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | ||
3994 | 3770 | -esac | ||
3995 | 3771 | - | ||
3996 | 3772 | - | ||
3997 | 3773 | -ac_ext=c | ||
3998 | 3774 | -ac_cpp='$CPP $CPPFLAGS' | ||
3999 | 3775 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4000 | 3776 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4001 | 3777 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
4002 | 3778 | -DEPDIR="${am__leading_dot}deps" | ||
4003 | 3779 | - | ||
4004 | 3780 | -ac_config_commands="$ac_config_commands depfiles" | ||
4005 | 3781 | - | ||
4006 | 3782 | - | ||
4007 | 3783 | -am_make=${MAKE-make} | ||
4008 | 3784 | -cat > confinc << 'END' | ||
4009 | 3785 | -am__doit: | ||
4010 | 3786 | - @echo this is the am__doit target | ||
4011 | 3787 | -.PHONY: am__doit | ||
4012 | 3788 | -END | ||
4013 | 3789 | -# If we don't find an include directive, just comment out the code. | ||
4014 | 3790 | -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | ||
4015 | 3791 | -$as_echo_n "checking for style of include used by $am_make... " >&6; } | ||
4016 | 3792 | -am__include="#" | ||
4017 | 3793 | -am__quote= | ||
4018 | 3794 | -_am_result=none | ||
4019 | 3795 | -# First try GNU make style include. | ||
4020 | 3796 | -echo "include confinc" > confmf | ||
4021 | 3797 | -# Ignore all kinds of additional output from `make'. | ||
4022 | 3798 | -case `$am_make -s -f confmf 2> /dev/null` in #( | ||
4023 | 3799 | -*the\ am__doit\ target*) | ||
4024 | 3800 | - am__include=include | ||
4025 | 3801 | - am__quote= | ||
4026 | 3802 | - _am_result=GNU | ||
4027 | 3803 | - ;; | ||
4028 | 3804 | -esac | ||
4029 | 3805 | -# Now try BSD make style include. | ||
4030 | 3806 | -if test "$am__include" = "#"; then | ||
4031 | 3807 | - echo '.include "confinc"' > confmf | ||
4032 | 3808 | - case `$am_make -s -f confmf 2> /dev/null` in #( | ||
4033 | 3809 | - *the\ am__doit\ target*) | ||
4034 | 3810 | - am__include=.include | ||
4035 | 3811 | - am__quote="\"" | ||
4036 | 3812 | - _am_result=BSD | ||
4037 | 3813 | - ;; | ||
4038 | 3814 | - esac | ||
4039 | 3815 | -fi | ||
4040 | 3816 | - | ||
4041 | 3817 | - | ||
4042 | 3818 | -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | ||
4043 | 3819 | -$as_echo "$_am_result" >&6; } | ||
4044 | 3820 | -rm -f confinc confmf | ||
4045 | 3821 | - | ||
4046 | 3822 | -# Check whether --enable-dependency-tracking was given. | ||
4047 | 3823 | -if test "${enable_dependency_tracking+set}" = set; then | ||
4048 | 3824 | - enableval=$enable_dependency_tracking; | ||
4049 | 3825 | -fi | ||
4050 | 3826 | - | ||
4051 | 3827 | -if test "x$enable_dependency_tracking" != xno; then | ||
4052 | 3828 | - am_depcomp="$ac_aux_dir/depcomp" | ||
4053 | 3829 | - AMDEPBACKSLASH='\' | ||
4054 | 3830 | -fi | ||
4055 | 3831 | - if test "x$enable_dependency_tracking" != xno; then | ||
4056 | 3832 | - AMDEP_TRUE= | ||
4057 | 3833 | - AMDEP_FALSE='#' | ||
4058 | 3834 | -else | ||
4059 | 3835 | - AMDEP_TRUE='#' | ||
4060 | 3836 | - AMDEP_FALSE= | ||
4061 | 3837 | -fi | ||
4062 | 3838 | - | ||
4063 | 3839 | - | ||
4064 | 3840 | - | ||
4065 | 3841 | -depcc="$CC" am_compiler_list= | ||
4066 | 3842 | - | ||
4067 | 3843 | -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | ||
4068 | 3844 | -$as_echo_n "checking dependency style of $depcc... " >&6; } | ||
4069 | 3845 | -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | ||
4070 | 3846 | - $as_echo_n "(cached) " >&6 | ||
4071 | 3847 | -else | ||
4072 | 3848 | - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
4073 | 3849 | - # We make a subdir and do the tests there. Otherwise we can end up | ||
4074 | 3850 | - # making bogus files that we don't know about and never remove. For | ||
4075 | 3851 | - # instance it was reported that on HP-UX the gcc test will end up | ||
4076 | 3852 | - # making a dummy file named `D' -- because `-MD' means `put the output | ||
4077 | 3853 | - # in D'. | ||
4078 | 3854 | - mkdir conftest.dir | ||
4079 | 3855 | - # Copy depcomp to subdir because otherwise we won't find it if we're | ||
4080 | 3856 | - # using a relative directory. | ||
4081 | 3857 | - cp "$am_depcomp" conftest.dir | ||
4082 | 3858 | - cd conftest.dir | ||
4083 | 3859 | - # We will build objects and dependencies in a subdirectory because | ||
4084 | 3860 | - # it helps to detect inapplicable dependency modes. For instance | ||
4085 | 3861 | - # both Tru64's cc and ICC support -MD to output dependencies as a | ||
4086 | 3862 | - # side effect of compilation, but ICC will put the dependencies in | ||
4087 | 3863 | - # the current directory while Tru64 will put them in the object | ||
4088 | 3864 | - # directory. | ||
4089 | 3865 | - mkdir sub | ||
4090 | 3866 | - | ||
4091 | 3867 | - am_cv_CC_dependencies_compiler_type=none | ||
4092 | 3868 | - if test "$am_compiler_list" = ""; then | ||
4093 | 3869 | - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | ||
4094 | 3870 | - fi | ||
4095 | 3871 | - am__universal=false | ||
4096 | 3872 | - case " $depcc " in #( | ||
4097 | 3873 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
4098 | 3874 | - esac | ||
4099 | 3875 | - | ||
4100 | 3876 | - for depmode in $am_compiler_list; do | ||
4101 | 3877 | - # Setup a source with many dependencies, because some compilers | ||
4102 | 3878 | - # like to wrap large dependency lists on column 80 (with \), and | ||
4103 | 3879 | - # we should not choose a depcomp mode which is confused by this. | ||
4104 | 3880 | - # | ||
4105 | 3881 | - # We need to recreate these files for each test, as the compiler may | ||
4106 | 3882 | - # overwrite some of them when testing with obscure command lines. | ||
4107 | 3883 | - # This happens at least with the AIX C compiler. | ||
4108 | 3884 | - : > sub/conftest.c | ||
4109 | 3885 | - for i in 1 2 3 4 5 6; do | ||
4110 | 3886 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
4111 | 3887 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
4112 | 3888 | - # Solaris 8's {/usr,}/bin/sh. | ||
4113 | 3889 | - touch sub/conftst$i.h | ||
4114 | 3890 | - done | ||
4115 | 3891 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
4116 | 3892 | - | ||
4117 | 3893 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
4118 | 3894 | - # mode. It turns out that the SunPro C++ compiler does not properly | ||
4119 | 3895 | - # handle `-M -o', and we need to detect this. Also, some Intel | ||
4120 | 3896 | - # versions had trouble with output in subdirs | ||
4121 | 3897 | - am__obj=sub/conftest.${OBJEXT-o} | ||
4122 | 3898 | - am__minus_obj="-o $am__obj" | ||
4123 | 3899 | - case $depmode in | ||
4124 | 3900 | - gcc) | ||
4125 | 3901 | - # This depmode causes a compiler race in universal mode. | ||
4126 | 3902 | - test "$am__universal" = false || continue | ||
4127 | 3903 | - ;; | ||
4128 | 3904 | - nosideeffect) | ||
4129 | 3905 | - # after this tag, mechanisms are not by side-effect, so they'll | ||
4130 | 3906 | - # only be used when explicitly requested | ||
4131 | 3907 | - if test "x$enable_dependency_tracking" = xyes; then | ||
4132 | 3908 | - continue | ||
4133 | 3909 | - else | ||
4134 | 3910 | - break | ||
4135 | 3911 | - fi | ||
4136 | 3912 | - ;; | ||
4137 | 3913 | - msvisualcpp | msvcmsys) | ||
4138 | 3914 | - # This compiler won't grok `-c -o', but also, the minuso test has | ||
4139 | 3915 | - # not run yet. These depmodes are late enough in the game, and | ||
4140 | 3916 | - # so weak that their functioning should not be impacted. | ||
4141 | 3917 | - am__obj=conftest.${OBJEXT-o} | ||
4142 | 3918 | - am__minus_obj= | ||
4143 | 3919 | - ;; | ||
4144 | 3920 | - none) break ;; | ||
4145 | 3921 | - esac | ||
4146 | 3922 | - if depmode=$depmode \ | ||
4147 | 3923 | - source=sub/conftest.c object=$am__obj \ | ||
4148 | 3924 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
4149 | 3925 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
4150 | 3926 | - >/dev/null 2>conftest.err && | ||
4151 | 3927 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
4152 | 3928 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
4153 | 3929 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
4154 | 3930 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
4155 | 3931 | - # icc doesn't choke on unknown options, it will just issue warnings | ||
4156 | 3932 | - # or remarks (even with -Werror). So we grep stderr for any message | ||
4157 | 3933 | - # that says an option was ignored or not supported. | ||
4158 | 3934 | - # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
4159 | 3935 | - # icc: Command line warning: ignoring option '-M'; no argument required | ||
4160 | 3936 | - # The diagnosis changed in icc 8.0: | ||
4161 | 3937 | - # icc: Command line remark: option '-MP' not supported | ||
4162 | 3938 | - if (grep 'ignoring option' conftest.err || | ||
4163 | 3939 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
4164 | 3940 | - am_cv_CC_dependencies_compiler_type=$depmode | ||
4165 | 3941 | - break | ||
4166 | 3942 | - fi | ||
4167 | 3943 | - fi | ||
4168 | 3944 | - done | ||
4169 | 3945 | - | ||
4170 | 3946 | - cd .. | ||
4171 | 3947 | - rm -rf conftest.dir | ||
4172 | 3948 | -else | ||
4173 | 3949 | - am_cv_CC_dependencies_compiler_type=none | ||
4174 | 3950 | -fi | ||
4175 | 3951 | - | ||
4176 | 3952 | -fi | ||
4177 | 3953 | -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
4178 | 3954 | -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
4179 | 3955 | -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | ||
4180 | 3956 | - | ||
4181 | 3957 | - if | ||
4182 | 3958 | - test "x$enable_dependency_tracking" != xno \ | ||
4183 | 3959 | - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | ||
4184 | 3960 | - am__fastdepCC_TRUE= | ||
4185 | 3961 | - am__fastdepCC_FALSE='#' | ||
4186 | 3962 | -else | ||
4187 | 3963 | - am__fastdepCC_TRUE='#' | ||
4188 | 3964 | - am__fastdepCC_FALSE= | ||
4189 | 3965 | -fi | ||
4190 | 3966 | - | ||
4191 | 3967 | - | ||
4192 | 3968 | -if test "x$CC" != xcc; then | ||
4193 | 3969 | - { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 | ||
4194 | 3970 | -$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } | ||
4195 | 3971 | -else | ||
4196 | 3972 | - { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 | ||
4197 | 3973 | -$as_echo_n "checking whether cc understands -c and -o together... " >&6; } | ||
4198 | 3974 | -fi | ||
4199 | 3975 | -set dummy $CC; ac_cc=`$as_echo "$2" | | ||
4200 | 3976 | - sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` | ||
4201 | 3977 | -if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then | ||
4202 | 3978 | - $as_echo_n "(cached) " >&6 | ||
4203 | 3979 | -else | ||
4204 | 3980 | - cat >conftest.$ac_ext <<_ACEOF | ||
4205 | 3981 | -/* confdefs.h. */ | ||
4206 | 3982 | -_ACEOF | ||
4207 | 3983 | -cat confdefs.h >>conftest.$ac_ext | ||
4208 | 3984 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4209 | 3985 | -/* end confdefs.h. */ | ||
4210 | 3986 | - | ||
4211 | 3987 | -int | ||
4212 | 3988 | -main () | ||
4213 | 3989 | -{ | ||
4214 | 3990 | - | ||
4215 | 3991 | - ; | ||
4216 | 3992 | - return 0; | ||
4217 | 3993 | -} | ||
4218 | 3994 | -_ACEOF | ||
4219 | 3995 | -# Make sure it works both with $CC and with simple cc. | ||
4220 | 3996 | -# We do the test twice because some compilers refuse to overwrite an | ||
4221 | 3997 | -# existing .o file with -o, though they will create one. | ||
4222 | 3998 | -ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' | ||
4223 | 3999 | -rm -f conftest2.* | ||
4224 | 4000 | -if { (case "(($ac_try" in | ||
4225 | 4001 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4226 | 4002 | - *) ac_try_echo=$ac_try;; | ||
4227 | 4003 | -esac | ||
4228 | 4004 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4229 | 4005 | -$as_echo "$ac_try_echo") >&5 | ||
4230 | 4006 | - (eval "$ac_try") 2>&5 | ||
4231 | 4007 | - ac_status=$? | ||
4232 | 4008 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4233 | 4009 | - (exit $ac_status); } && | ||
4234 | 4010 | - test -f conftest2.$ac_objext && { (case "(($ac_try" in | ||
4235 | 4011 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4236 | 4012 | - *) ac_try_echo=$ac_try;; | ||
4237 | 4013 | -esac | ||
4238 | 4014 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4239 | 4015 | -$as_echo "$ac_try_echo") >&5 | ||
4240 | 4016 | - (eval "$ac_try") 2>&5 | ||
4241 | 4017 | - ac_status=$? | ||
4242 | 4018 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4243 | 4019 | - (exit $ac_status); }; | ||
4244 | 4020 | -then | ||
4245 | 4021 | - eval ac_cv_prog_cc_${ac_cc}_c_o=yes | ||
4246 | 4022 | - if test "x$CC" != xcc; then | ||
4247 | 4023 | - # Test first that cc exists at all. | ||
4248 | 4024 | - if { ac_try='cc -c conftest.$ac_ext >&5' | ||
4249 | 4025 | - { (case "(($ac_try" in | ||
4250 | 4026 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4251 | 4027 | - *) ac_try_echo=$ac_try;; | ||
4252 | 4028 | -esac | ||
4253 | 4029 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4254 | 4030 | -$as_echo "$ac_try_echo") >&5 | ||
4255 | 4031 | - (eval "$ac_try") 2>&5 | ||
4256 | 4032 | - ac_status=$? | ||
4257 | 4033 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4258 | 4034 | - (exit $ac_status); }; }; then | ||
4259 | 4035 | - ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' | ||
4260 | 4036 | - rm -f conftest2.* | ||
4261 | 4037 | - if { (case "(($ac_try" in | ||
4262 | 4038 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4263 | 4039 | - *) ac_try_echo=$ac_try;; | ||
4264 | 4040 | -esac | ||
4265 | 4041 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4266 | 4042 | -$as_echo "$ac_try_echo") >&5 | ||
4267 | 4043 | - (eval "$ac_try") 2>&5 | ||
4268 | 4044 | - ac_status=$? | ||
4269 | 4045 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4270 | 4046 | - (exit $ac_status); } && | ||
4271 | 4047 | - test -f conftest2.$ac_objext && { (case "(($ac_try" in | ||
4272 | 4048 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4273 | 4049 | - *) ac_try_echo=$ac_try;; | ||
4274 | 4050 | -esac | ||
4275 | 4051 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4276 | 4052 | -$as_echo "$ac_try_echo") >&5 | ||
4277 | 4053 | - (eval "$ac_try") 2>&5 | ||
4278 | 4054 | - ac_status=$? | ||
4279 | 4055 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4280 | 4056 | - (exit $ac_status); }; | ||
4281 | 4057 | - then | ||
4282 | 4058 | - # cc works too. | ||
4283 | 4059 | - : | ||
4284 | 4060 | - else | ||
4285 | 4061 | - # cc exists but doesn't like -o. | ||
4286 | 4062 | - eval ac_cv_prog_cc_${ac_cc}_c_o=no | ||
4287 | 4063 | - fi | ||
4288 | 4064 | - fi | ||
4289 | 4065 | - fi | ||
4290 | 4066 | -else | ||
4291 | 4067 | - eval ac_cv_prog_cc_${ac_cc}_c_o=no | ||
4292 | 4068 | -fi | ||
4293 | 4069 | -rm -f core conftest* | ||
4294 | 4070 | - | ||
4295 | 4071 | -fi | ||
4296 | 4072 | -if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then | ||
4297 | 4073 | - { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
4298 | 4074 | -$as_echo "yes" >&6; } | ||
4299 | 4075 | -else | ||
4300 | 4076 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4301 | 4077 | -$as_echo "no" >&6; } | ||
4302 | 4078 | - | ||
4303 | 4079 | -cat >>confdefs.h <<\_ACEOF | ||
4304 | 4080 | -#define NO_MINUS_C_MINUS_O 1 | ||
4305 | 4081 | -_ACEOF | ||
4306 | 4082 | - | ||
4307 | 4083 | -fi | ||
4308 | 4084 | - | ||
4309 | 4085 | -# FIXME: we rely on the cache variable name because | ||
4310 | 4086 | -# there is no other way. | ||
4311 | 4087 | -set dummy $CC | ||
4312 | 4088 | -am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` | ||
4313 | 4089 | -eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o | ||
4314 | 4090 | -if test "$am_t" != yes; then | ||
4315 | 4091 | - # Losing compiler, so override with the script. | ||
4316 | 4092 | - # FIXME: It is wrong to rewrite CC. | ||
4317 | 4093 | - # But if we don't then we get into trouble of one sort or another. | ||
4318 | 4094 | - # A longer-term fix would be to have automake use am__CC in this case, | ||
4319 | 4095 | - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||
4320 | 4096 | - CC="$am_aux_dir/compile $CC" | ||
4321 | 4097 | -fi | ||
4322 | 4098 | - | ||
4323 | 4099 | - | ||
4324 | 4100 | -# Find a good install program. We prefer a C program (faster), | ||
4325 | 4101 | -# so one script is as good as another. But avoid the broken or | ||
4326 | 4102 | -# incompatible versions: | ||
4327 | 4103 | -# SysV /etc/install, /usr/sbin/install | ||
4328 | 4104 | -# SunOS /usr/etc/install | ||
4329 | 4105 | -# IRIX /sbin/install | ||
4330 | 4106 | -# AIX /bin/install | ||
4331 | 4107 | -# AmigaOS /C/install, which installs bootblocks on floppy discs | ||
4332 | 4108 | -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
4333 | 4109 | -# AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
4334 | 4110 | -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
4335 | 4111 | -# OS/2's system install, which has a completely different semantic | ||
4336 | 4112 | -# ./install, which can be erroneously created by make from ./install.sh. | ||
4337 | 4113 | -# Reject install programs that cannot install multiple files. | ||
4338 | 4114 | -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
4339 | 4115 | -$as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
4340 | 4116 | -if test -z "$INSTALL"; then | ||
4341 | 4117 | -if test "${ac_cv_path_install+set}" = set; then | ||
4342 | 4118 | - $as_echo_n "(cached) " >&6 | ||
4343 | 4119 | -else | ||
4344 | 4120 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4345 | 4121 | -for as_dir in $PATH | ||
4346 | 4122 | -do | ||
4347 | 4123 | - IFS=$as_save_IFS | ||
4348 | 4124 | - test -z "$as_dir" && as_dir=. | ||
4349 | 4125 | - # Account for people who put trailing slashes in PATH elements. | ||
4350 | 4126 | -case $as_dir/ in | ||
4351 | 4127 | - ./ | .// | /cC/* | \ | ||
4352 | 4128 | - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
4353 | 4129 | - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
4354 | 4130 | - /usr/ucb/* ) ;; | ||
4355 | 4131 | - *) | ||
4356 | 4132 | - # OSF1 and SCO ODT 3.0 have their own names for install. | ||
4357 | 4133 | - # Don't use installbsd from OSF since it installs stuff as root | ||
4358 | 4134 | - # by default. | ||
4359 | 4135 | - for ac_prog in ginstall scoinst install; do | ||
4360 | 4136 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
4361 | 4137 | - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | ||
4362 | 4138 | - if test $ac_prog = install && | ||
4363 | 4139 | - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
4364 | 4140 | - # AIX install. It has an incompatible calling convention. | ||
4365 | 4141 | - : | ||
4366 | 4142 | - elif test $ac_prog = install && | ||
4367 | 4143 | - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
4368 | 4144 | - # program-specific install script used by HP pwplus--don't use. | ||
4369 | 4145 | - : | ||
4370 | 4146 | - else | ||
4371 | 4147 | - rm -rf conftest.one conftest.two conftest.dir | ||
4372 | 4148 | - echo one > conftest.one | ||
4373 | 4149 | - echo two > conftest.two | ||
4374 | 4150 | - mkdir conftest.dir | ||
4375 | 4151 | - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
4376 | 4152 | - test -s conftest.one && test -s conftest.two && | ||
4377 | 4153 | - test -s conftest.dir/conftest.one && | ||
4378 | 4154 | - test -s conftest.dir/conftest.two | ||
4379 | 4155 | - then | ||
4380 | 4156 | - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
4381 | 4157 | - break 3 | ||
4382 | 4158 | - fi | ||
4383 | 4159 | - fi | ||
4384 | 4160 | - fi | ||
4385 | 4161 | - done | ||
4386 | 4162 | - done | ||
4387 | 4163 | - ;; | ||
4388 | 4164 | -esac | ||
4389 | 4165 | - | ||
4390 | 4166 | -done | ||
4391 | 4167 | -IFS=$as_save_IFS | ||
4392 | 4168 | - | ||
4393 | 4169 | -rm -rf conftest.one conftest.two conftest.dir | ||
4394 | 4170 | - | ||
4395 | 4171 | -fi | ||
4396 | 4172 | - if test "${ac_cv_path_install+set}" = set; then | ||
4397 | 4173 | - INSTALL=$ac_cv_path_install | ||
4398 | 4174 | - else | ||
4399 | 4175 | - # As a last resort, use the slow shell script. Don't cache a | ||
4400 | 4176 | - # value for INSTALL within a source directory, because that will | ||
4401 | 4177 | - # break other packages using the cache if that directory is | ||
4402 | 4178 | - # removed, or if the value is a relative name. | ||
4403 | 4179 | - INSTALL=$ac_install_sh | ||
4404 | 4180 | - fi | ||
4405 | 4181 | -fi | ||
4406 | 4182 | -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
4407 | 4183 | -$as_echo "$INSTALL" >&6; } | ||
4408 | 4184 | - | ||
4409 | 4185 | -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
4410 | 4186 | -# It thinks the first close brace ends the variable substitution. | ||
4411 | 4187 | -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
4412 | 4188 | - | ||
4413 | 4189 | -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
4414 | 4190 | - | ||
4415 | 4191 | -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
4416 | 4192 | - | ||
4417 | 4193 | -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
4418 | 4194 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | ||
4419 | 4195 | -set x ${MAKE-make} | ||
4420 | 4196 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
4421 | 4197 | -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
4422 | 4198 | - $as_echo_n "(cached) " >&6 | ||
4423 | 4199 | -else | ||
4424 | 4200 | - cat >conftest.make <<\_ACEOF | ||
4425 | 4201 | -SHELL = /bin/sh | ||
4426 | 4202 | -all: | ||
4427 | 4203 | - @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
4428 | 4204 | -_ACEOF | ||
4429 | 4205 | -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
4430 | 4206 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in | ||
4431 | 4207 | - *@@@%%%=?*=@@@%%%*) | ||
4432 | 4208 | - eval ac_cv_prog_make_${ac_make}_set=yes;; | ||
4433 | 4209 | - *) | ||
4434 | 4210 | - eval ac_cv_prog_make_${ac_make}_set=no;; | ||
4435 | 4211 | -esac | ||
4436 | 4212 | -rm -f conftest.make | ||
4437 | 4213 | -fi | ||
4438 | 4214 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | ||
4439 | 4215 | - { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
4440 | 4216 | -$as_echo "yes" >&6; } | ||
4441 | 4217 | - SET_MAKE= | ||
4442 | 4218 | -else | ||
4443 | 4219 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4444 | 4220 | -$as_echo "no" >&6; } | ||
4445 | 4221 | - SET_MAKE="MAKE=${MAKE-make}" | ||
4446 | 4222 | -fi | ||
4447 | 4223 | - | ||
4448 | 4224 | -ac_ext=c | ||
4449 | 4225 | -ac_cpp='$CPP $CPPFLAGS' | ||
4450 | 4226 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4451 | 4227 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4452 | 4228 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
4453 | 4229 | -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
4454 | 4230 | -$as_echo_n "checking how to run the C preprocessor... " >&6; } | ||
4455 | 4231 | -# On Suns, sometimes $CPP names a directory. | ||
4456 | 4232 | -if test -n "$CPP" && test -d "$CPP"; then | ||
4457 | 4233 | - CPP= | ||
4458 | 4234 | -fi | ||
4459 | 4235 | -if test -z "$CPP"; then | ||
4460 | 4236 | - if test "${ac_cv_prog_CPP+set}" = set; then | ||
4461 | 4237 | - $as_echo_n "(cached) " >&6 | ||
4462 | 4238 | -else | ||
4463 | 4239 | - # Double quotes because CPP needs to be expanded | ||
4464 | 4240 | - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
4465 | 4241 | - do | ||
4466 | 4242 | - ac_preproc_ok=false | ||
4467 | 4243 | -for ac_c_preproc_warn_flag in '' yes | ||
4468 | 4244 | -do | ||
4469 | 4245 | - # Use a header file that comes with gcc, so configuring glibc | ||
4470 | 4246 | - # with a fresh cross-compiler works. | ||
4471 | 4247 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4472 | 4248 | - # <limits.h> exists even on freestanding compilers. | ||
4473 | 4249 | - # On the NeXT, cc -E runs the code through the compiler's parser, | ||
4474 | 4250 | - # not just through cpp. "Syntax error" is here to catch this case. | ||
4475 | 4251 | - cat >conftest.$ac_ext <<_ACEOF | ||
4476 | 4252 | -/* confdefs.h. */ | ||
4477 | 4253 | -_ACEOF | ||
4478 | 4254 | -cat confdefs.h >>conftest.$ac_ext | ||
4479 | 4255 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4480 | 4256 | -/* end confdefs.h. */ | ||
4481 | 4257 | -#ifdef __STDC__ | ||
4482 | 4258 | -# include <limits.h> | ||
4483 | 4259 | -#else | ||
4484 | 4260 | -# include <assert.h> | ||
4485 | 4261 | -#endif | ||
4486 | 4262 | - Syntax error | ||
4487 | 4263 | -_ACEOF | ||
4488 | 4264 | -if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4489 | 4265 | -case "(($ac_try" in | ||
4490 | 4266 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4491 | 4267 | - *) ac_try_echo=$ac_try;; | ||
4492 | 4268 | -esac | ||
4493 | 4269 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4494 | 4270 | -$as_echo "$ac_try_echo") >&5 | ||
4495 | 4271 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4496 | 4272 | - ac_status=$? | ||
4497 | 4273 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
4498 | 4274 | - rm -f conftest.er1 | ||
4499 | 4275 | - cat conftest.err >&5 | ||
4500 | 4276 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4501 | 4277 | - (exit $ac_status); } >/dev/null && { | ||
4502 | 4278 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4503 | 4279 | - test ! -s conftest.err | ||
4504 | 4280 | - }; then | ||
4505 | 4281 | - : | ||
4506 | 4282 | -else | ||
4507 | 4283 | - $as_echo "$as_me: failed program was:" >&5 | ||
4508 | 4284 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
4509 | 4285 | - | ||
4510 | 4286 | - # Broken: fails on valid input. | ||
4511 | 4287 | -continue | ||
4512 | 4288 | -fi | ||
4513 | 4289 | - | ||
4514 | 4290 | -rm -f conftest.err conftest.$ac_ext | ||
4515 | 4291 | - | ||
4516 | 4292 | - # OK, works on sane cases. Now check whether nonexistent headers | ||
4517 | 4293 | - # can be detected and how. | ||
4518 | 4294 | - cat >conftest.$ac_ext <<_ACEOF | ||
4519 | 4295 | -/* confdefs.h. */ | ||
4520 | 4296 | -_ACEOF | ||
4521 | 4297 | -cat confdefs.h >>conftest.$ac_ext | ||
4522 | 4298 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4523 | 4299 | -/* end confdefs.h. */ | ||
4524 | 4300 | -#include <ac_nonexistent.h> | ||
4525 | 4301 | -_ACEOF | ||
4526 | 4302 | -if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4527 | 4303 | -case "(($ac_try" in | ||
4528 | 4304 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4529 | 4305 | - *) ac_try_echo=$ac_try;; | ||
4530 | 4306 | -esac | ||
4531 | 4307 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4532 | 4308 | -$as_echo "$ac_try_echo") >&5 | ||
4533 | 4309 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4534 | 4310 | - ac_status=$? | ||
4535 | 4311 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
4536 | 4312 | - rm -f conftest.er1 | ||
4537 | 4313 | - cat conftest.err >&5 | ||
4538 | 4314 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4539 | 4315 | - (exit $ac_status); } >/dev/null && { | ||
4540 | 4316 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4541 | 4317 | - test ! -s conftest.err | ||
4542 | 4318 | - }; then | ||
4543 | 4319 | - # Broken: success on invalid input. | ||
4544 | 4320 | -continue | ||
4545 | 4321 | -else | ||
4546 | 4322 | - $as_echo "$as_me: failed program was:" >&5 | ||
4547 | 4323 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
4548 | 4324 | - | ||
4549 | 4325 | - # Passes both tests. | ||
4550 | 4326 | -ac_preproc_ok=: | ||
4551 | 4327 | -break | ||
4552 | 4328 | -fi | ||
4553 | 4329 | - | ||
4554 | 4330 | -rm -f conftest.err conftest.$ac_ext | ||
4555 | 4331 | - | ||
4556 | 4332 | -done | ||
4557 | 4333 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4558 | 4334 | -rm -f conftest.err conftest.$ac_ext | ||
4559 | 4335 | -if $ac_preproc_ok; then | ||
4560 | 4336 | - break | ||
4561 | 4337 | -fi | ||
4562 | 4338 | - | ||
4563 | 4339 | - done | ||
4564 | 4340 | - ac_cv_prog_CPP=$CPP | ||
4565 | 4341 | - | ||
4566 | 4342 | -fi | ||
4567 | 4343 | - CPP=$ac_cv_prog_CPP | ||
4568 | 4344 | -else | ||
4569 | 4345 | - ac_cv_prog_CPP=$CPP | ||
4570 | 4346 | -fi | ||
4571 | 4347 | -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 | ||
4572 | 4348 | -$as_echo "$CPP" >&6; } | ||
4573 | 4349 | -ac_preproc_ok=false | ||
4574 | 4350 | -for ac_c_preproc_warn_flag in '' yes | ||
4575 | 4351 | -do | ||
4576 | 4352 | - # Use a header file that comes with gcc, so configuring glibc | ||
4577 | 4353 | - # with a fresh cross-compiler works. | ||
4578 | 4354 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4579 | 4355 | - # <limits.h> exists even on freestanding compilers. | ||
4580 | 4356 | - # On the NeXT, cc -E runs the code through the compiler's parser, | ||
4581 | 4357 | - # not just through cpp. "Syntax error" is here to catch this case. | ||
4582 | 4358 | - cat >conftest.$ac_ext <<_ACEOF | ||
4583 | 4359 | -/* confdefs.h. */ | ||
4584 | 4360 | -_ACEOF | ||
4585 | 4361 | -cat confdefs.h >>conftest.$ac_ext | ||
4586 | 4362 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4587 | 4363 | -/* end confdefs.h. */ | ||
4588 | 4364 | -#ifdef __STDC__ | ||
4589 | 4365 | -# include <limits.h> | ||
4590 | 4366 | -#else | ||
4591 | 4367 | -# include <assert.h> | ||
4592 | 4368 | -#endif | ||
4593 | 4369 | - Syntax error | ||
4594 | 4370 | -_ACEOF | ||
4595 | 4371 | -if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4596 | 4372 | -case "(($ac_try" in | ||
4597 | 4373 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4598 | 4374 | - *) ac_try_echo=$ac_try;; | ||
4599 | 4375 | -esac | ||
4600 | 4376 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4601 | 4377 | -$as_echo "$ac_try_echo") >&5 | ||
4602 | 4378 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4603 | 4379 | - ac_status=$? | ||
4604 | 4380 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
4605 | 4381 | - rm -f conftest.er1 | ||
4606 | 4382 | - cat conftest.err >&5 | ||
4607 | 4383 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4608 | 4384 | - (exit $ac_status); } >/dev/null && { | ||
4609 | 4385 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4610 | 4386 | - test ! -s conftest.err | ||
4611 | 4387 | - }; then | ||
4612 | 4388 | - : | ||
4613 | 4389 | -else | ||
4614 | 4390 | - $as_echo "$as_me: failed program was:" >&5 | ||
4615 | 4391 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
4616 | 4392 | - | ||
4617 | 4393 | - # Broken: fails on valid input. | ||
4618 | 4394 | -continue | ||
4619 | 4395 | -fi | ||
4620 | 4396 | - | ||
4621 | 4397 | -rm -f conftest.err conftest.$ac_ext | ||
4622 | 4398 | - | ||
4623 | 4399 | - # OK, works on sane cases. Now check whether nonexistent headers | ||
4624 | 4400 | - # can be detected and how. | ||
4625 | 4401 | - cat >conftest.$ac_ext <<_ACEOF | ||
4626 | 4402 | -/* confdefs.h. */ | ||
4627 | 4403 | -_ACEOF | ||
4628 | 4404 | -cat confdefs.h >>conftest.$ac_ext | ||
4629 | 4405 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4630 | 4406 | -/* end confdefs.h. */ | ||
4631 | 4407 | -#include <ac_nonexistent.h> | ||
4632 | 4408 | -_ACEOF | ||
4633 | 4409 | -if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4634 | 4410 | -case "(($ac_try" in | ||
4635 | 4411 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4636 | 4412 | - *) ac_try_echo=$ac_try;; | ||
4637 | 4413 | -esac | ||
4638 | 4414 | -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4639 | 4415 | -$as_echo "$ac_try_echo") >&5 | ||
4640 | 4416 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
4641 | 4417 | - ac_status=$? | ||
4642 | 4418 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
4643 | 4419 | - rm -f conftest.er1 | ||
4644 | 4420 | - cat conftest.err >&5 | ||
4645 | 4421 | - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4646 | 4422 | - (exit $ac_status); } >/dev/null && { | ||
4647 | 4423 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
4648 | 4424 | - test ! -s conftest.err | ||
4649 | 4425 | - }; then | ||
4650 | 4426 | - # Broken: success on invalid input. | ||
4651 | 4427 | -continue | ||
4652 | 4428 | -else | ||
4653 | 4429 | - $as_echo "$as_me: failed program was:" >&5 | ||
4654 | 4430 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
4655 | 4431 | - | ||
4656 | 4432 | - # Passes both tests. | ||
4657 | 4433 | -ac_preproc_ok=: | ||
4658 | 4434 | -break | ||
4659 | 4435 | -fi | ||
4660 | 4436 | - | ||
4661 | 4437 | -rm -f conftest.err conftest.$ac_ext | ||
4662 | 4438 | - | ||
4663 | 4439 | -done | ||
4664 | 4440 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4665 | 4441 | -rm -f conftest.err conftest.$ac_ext | ||
4666 | 4442 | -if $ac_preproc_ok; then | ||
4667 | 4443 | - : | ||
4668 | 4444 | -else | ||
4669 | 4445 | - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
4670 | 4446 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4671 | 4447 | -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
4672 | 4448 | -See \`config.log' for more details." >&5 | ||
4673 | 4449 | -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
4674 | 4450 | -See \`config.log' for more details." >&2;} | ||
4675 | 4451 | - { (exit 1); exit 1; }; }; } | ||
4676 | 4452 | -fi | ||
4677 | 4453 | - | ||
4678 | 4454 | -ac_ext=c | ||
4679 | 4455 | -ac_cpp='$CPP $CPPFLAGS' | ||
4680 | 4456 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4681 | 4457 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4682 | 4458 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
4683 | 4459 | - | ||
4684 | 4460 | - | ||
4685 | 4461 | - | ||
4686 | 4462 | -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | ||
4687 | 4463 | -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||
4688 | 4464 | -if test "${ac_cv_path_GREP+set}" = set; then | ||
4689 | 4465 | - $as_echo_n "(cached) " >&6 | ||
4690 | 4466 | -else | ||
4691 | 4467 | - if test -z "$GREP"; then | ||
4692 | 4468 | - ac_path_GREP_found=false | ||
4693 | 4469 | - # Loop through the user's path and test for each of PROGNAME-LIST | ||
4694 | 4470 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4695 | 4471 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4696 | 4472 | -do | ||
4697 | 4473 | - IFS=$as_save_IFS | ||
4698 | 4474 | - test -z "$as_dir" && as_dir=. | ||
4699 | 4475 | - for ac_prog in grep ggrep; do | ||
4700 | 4476 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
4701 | 4477 | - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
4702 | 4478 | - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | ||
4703 | 4479 | -# Check for GNU ac_path_GREP and select it if it is found. | ||
4704 | 4480 | - # Check for GNU $ac_path_GREP | ||
4705 | 4481 | -case `"$ac_path_GREP" --version 2>&1` in | ||
4706 | 4482 | -*GNU*) | ||
4707 | 4483 | - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
4708 | 4484 | -*) | ||
4709 | 4485 | - ac_count=0 | ||
4710 | 4486 | - $as_echo_n 0123456789 >"conftest.in" | ||
4711 | 4487 | - while : | ||
4712 | 4488 | - do | ||
4713 | 4489 | - cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
4714 | 4490 | - mv "conftest.tmp" "conftest.in" | ||
4715 | 4491 | - cp "conftest.in" "conftest.nl" | ||
4716 | 4492 | - $as_echo 'GREP' >> "conftest.nl" | ||
4717 | 4493 | - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
4718 | 4494 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
4719 | 4495 | - ac_count=`expr $ac_count + 1` | ||
4720 | 4496 | - if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
4721 | 4497 | - # Best one so far, save it but keep looking for a better one | ||
4722 | 4498 | - ac_cv_path_GREP="$ac_path_GREP" | ||
4723 | 4499 | - ac_path_GREP_max=$ac_count | ||
4724 | 4500 | - fi | ||
4725 | 4501 | - # 10*(2^10) chars as input seems more than enough | ||
4726 | 4502 | - test $ac_count -gt 10 && break | ||
4727 | 4503 | - done | ||
4728 | 4504 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
4729 | 4505 | -esac | ||
4730 | 4506 | - | ||
4731 | 4507 | - $ac_path_GREP_found && break 3 | ||
4732 | 4508 | - done | ||
4733 | 4509 | - done | ||
4734 | 4510 | -done | ||
4735 | 4511 | -IFS=$as_save_IFS | ||
4736 | 4512 | - if test -z "$ac_cv_path_GREP"; then | ||
4737 | 4513 | - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4738 | 4514 | -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4739 | 4515 | - { (exit 1); exit 1; }; } | ||
4740 | 4516 | - fi | ||
4741 | 4517 | -else | ||
4742 | 4518 | - ac_cv_path_GREP=$GREP | ||
4743 | 4519 | -fi | ||
4744 | 4520 | - | ||
4745 | 4521 | -fi | ||
4746 | 4522 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | ||
4747 | 4523 | -$as_echo "$ac_cv_path_GREP" >&6; } | ||
4748 | 4524 | - GREP="$ac_cv_path_GREP" | ||
4749 | 4525 | - | ||
4750 | 4526 | - | ||
4751 | 4527 | -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 | ||
4752 | 4528 | -$as_echo_n "checking for egrep... " >&6; } | ||
4753 | 4529 | -if test "${ac_cv_path_EGREP+set}" = set; then | ||
4754 | 4530 | - $as_echo_n "(cached) " >&6 | ||
4755 | 4531 | -else | ||
4756 | 4532 | - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
4757 | 4533 | - then ac_cv_path_EGREP="$GREP -E" | ||
4758 | 4534 | - else | ||
4759 | 4535 | - if test -z "$EGREP"; then | ||
4760 | 4536 | - ac_path_EGREP_found=false | ||
4761 | 4537 | - # Loop through the user's path and test for each of PROGNAME-LIST | ||
4762 | 4538 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4763 | 4539 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4764 | 4540 | -do | ||
4765 | 4541 | - IFS=$as_save_IFS | ||
4766 | 4542 | - test -z "$as_dir" && as_dir=. | ||
4767 | 4543 | - for ac_prog in egrep; do | ||
4768 | 4544 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
4769 | 4545 | - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
4770 | 4546 | - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | ||
4771 | 4547 | -# Check for GNU ac_path_EGREP and select it if it is found. | ||
4772 | 4548 | - # Check for GNU $ac_path_EGREP | ||
4773 | 4549 | -case `"$ac_path_EGREP" --version 2>&1` in | ||
4774 | 4550 | -*GNU*) | ||
4775 | 4551 | - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
4776 | 4552 | -*) | ||
4777 | 4553 | - ac_count=0 | ||
4778 | 4554 | - $as_echo_n 0123456789 >"conftest.in" | ||
4779 | 4555 | - while : | ||
4780 | 4556 | - do | ||
4781 | 4557 | - cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
4782 | 4558 | - mv "conftest.tmp" "conftest.in" | ||
4783 | 4559 | - cp "conftest.in" "conftest.nl" | ||
4784 | 4560 | - $as_echo 'EGREP' >> "conftest.nl" | ||
4785 | 4561 | - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
4786 | 4562 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
4787 | 4563 | - ac_count=`expr $ac_count + 1` | ||
4788 | 4564 | - if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
4789 | 4565 | - # Best one so far, save it but keep looking for a better one | ||
4790 | 4566 | - ac_cv_path_EGREP="$ac_path_EGREP" | ||
4791 | 4567 | - ac_path_EGREP_max=$ac_count | ||
4792 | 4568 | - fi | ||
4793 | 4569 | - # 10*(2^10) chars as input seems more than enough | ||
4794 | 4570 | - test $ac_count -gt 10 && break | ||
4795 | 4571 | - done | ||
4796 | 4572 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
4797 | 4573 | -esac | ||
4798 | 4574 | - | ||
4799 | 4575 | - $ac_path_EGREP_found && break 3 | ||
4800 | 4576 | - done | ||
4801 | 4577 | - done | ||
4802 | 4578 | -done | ||
4803 | 4579 | -IFS=$as_save_IFS | ||
4804 | 4580 | - if test -z "$ac_cv_path_EGREP"; then | ||
4805 | 4581 | - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4806 | 4582 | -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4807 | 4583 | - { (exit 1); exit 1; }; } | ||
4808 | 4584 | - fi | ||
4809 | 4585 | -else | ||
4810 | 4586 | - ac_cv_path_EGREP=$EGREP | ||
4811 | 4587 | -fi | ||
4812 | 4588 | - | ||
4813 | 4589 | - fi | ||
4814 | 4590 | -fi | ||
4815 | 4591 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | ||
4816 | 4592 | -$as_echo "$ac_cv_path_EGREP" >&6; } | ||
4817 | 4593 | - EGREP="$ac_cv_path_EGREP" | ||
4818 | 4594 | - | ||
4819 | 4595 | - | ||
4820 | 4596 | -if test $ac_cv_c_compiler_gnu = yes; then | ||
4821 | 4597 | - { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | ||
4822 | 4598 | -$as_echo_n "checking whether $CC needs -traditional... " >&6; } | ||
4823 | 4599 | -if test "${ac_cv_prog_gcc_traditional+set}" = set; then | ||
4824 | 4600 | - $as_echo_n "(cached) " >&6 | ||
4825 | 4601 | -else | ||
4826 | 4602 | - ac_pattern="Autoconf.*'x'" | ||
4827 | 4603 | - cat >conftest.$ac_ext <<_ACEOF | ||
4828 | 4604 | -/* confdefs.h. */ | ||
4829 | 4605 | -_ACEOF | ||
4830 | 4606 | -cat confdefs.h >>conftest.$ac_ext | ||
4831 | 4607 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4832 | 4608 | -/* end confdefs.h. */ | ||
4833 | 4609 | -#include <sgtty.h> | ||
4834 | 4610 | -Autoconf TIOCGETP | ||
4835 | 4611 | -_ACEOF | ||
4836 | 4612 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4837 | 4613 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then | ||
4838 | 4614 | - ac_cv_prog_gcc_traditional=yes | ||
4839 | 4615 | -else | ||
4840 | 4616 | - ac_cv_prog_gcc_traditional=no | ||
4841 | 4617 | -fi | ||
4842 | 4618 | -rm -f conftest* | ||
4843 | 4619 | - | ||
4844 | 4620 | - | ||
4845 | 4621 | - if test $ac_cv_prog_gcc_traditional = no; then | ||
4846 | 4622 | - cat >conftest.$ac_ext <<_ACEOF | ||
4847 | 4623 | -/* confdefs.h. */ | ||
4848 | 4624 | -_ACEOF | ||
4849 | 4625 | -cat confdefs.h >>conftest.$ac_ext | ||
4850 | 4626 | -cat >>conftest.$ac_ext <<_ACEOF | ||
4851 | 4627 | -/* end confdefs.h. */ | ||
4852 | 4628 | -#include <termio.h> | ||
4853 | 4629 | -Autoconf TCGETA | ||
4854 | 4630 | -_ACEOF | ||
4855 | 4631 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4856 | 4632 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then | ||
4857 | 4633 | - ac_cv_prog_gcc_traditional=yes | ||
4858 | 4634 | -fi | ||
4859 | 4635 | -rm -f conftest* | ||
4860 | 4636 | - | ||
4861 | 4637 | - fi | ||
4862 | 4638 | -fi | ||
4863 | 4639 | -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | ||
4864 | 4640 | -$as_echo "$ac_cv_prog_gcc_traditional" >&6; } | ||
4865 | 4641 | - if test $ac_cv_prog_gcc_traditional = yes; then | ||
4866 | 4642 | - CC="$CC -traditional" | ||
4867 | 4643 | - fi | ||
4868 | 4644 | -fi | ||
4869 | 4645 | - | ||
4870 | 4646 | -# Extract the first word of "sane-config", so it can be a program name with args. | ||
4871 | 4647 | -set dummy sane-config; ac_word=$2 | ||
4872 | 4648 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4873 | 4649 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
4874 | 4650 | -if test "${ac_cv_path_SANE_CONFIG_PATH+set}" = set; then | ||
4875 | 4651 | - $as_echo_n "(cached) " >&6 | ||
4876 | 4652 | -else | ||
4877 | 4653 | - case $SANE_CONFIG_PATH in | ||
4878 | 4654 | - [\\/]* | ?:[\\/]*) | ||
4879 | 4655 | - ac_cv_path_SANE_CONFIG_PATH="$SANE_CONFIG_PATH" # Let the user override the test with a path. | ||
4880 | 4656 | - ;; | ||
4881 | 4657 | - *) | ||
4882 | 4658 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4883 | 4659 | -for as_dir in $PATH | ||
4884 | 4660 | -do | ||
4885 | 4661 | - IFS=$as_save_IFS | ||
4886 | 4662 | - test -z "$as_dir" && as_dir=. | ||
4887 | 4663 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
4888 | 4664 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
4889 | 4665 | - ac_cv_path_SANE_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" | ||
4890 | 4666 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4891 | 4667 | - break 2 | ||
4892 | 4668 | - fi | ||
4893 | 4669 | -done | ||
4894 | 4670 | -done | ||
4895 | 4671 | -IFS=$as_save_IFS | ||
4896 | 4672 | - | ||
4897 | 4673 | - test -z "$ac_cv_path_SANE_CONFIG_PATH" && ac_cv_path_SANE_CONFIG_PATH="no" | ||
4898 | 4674 | - ;; | ||
4899 | 4675 | -esac | ||
4900 | 4676 | -fi | ||
4901 | 4677 | -SANE_CONFIG_PATH=$ac_cv_path_SANE_CONFIG_PATH | ||
4902 | 4678 | -if test -n "$SANE_CONFIG_PATH"; then | ||
4903 | 4679 | - { $as_echo "$as_me:$LINENO: result: $SANE_CONFIG_PATH" >&5 | ||
4904 | 4680 | -$as_echo "$SANE_CONFIG_PATH" >&6; } | ||
4905 | 4681 | -else | ||
4906 | 4682 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4907 | 4683 | -$as_echo "no" >&6; } | ||
4908 | 4684 | -fi | ||
4909 | 4685 | - | ||
4910 | 4686 | - | ||
4911 | 4687 | -# Extract the first word of "msgfmt$EXEEXT", so it can be a program name with args. | ||
4912 | 4688 | -set dummy msgfmt$EXEEXT; ac_word=$2 | ||
4913 | 4689 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4914 | 4690 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
4915 | 4691 | -if test "${ac_cv_path_MSGFMT+set}" = set; then | ||
4916 | 4692 | - $as_echo_n "(cached) " >&6 | ||
4917 | 4693 | -else | ||
4918 | 4694 | - case $MSGFMT in | ||
4919 | 4695 | - [\\/]* | ?:[\\/]*) | ||
4920 | 4696 | - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | ||
4921 | 4697 | - ;; | ||
4922 | 4698 | - *) | ||
4923 | 4699 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4924 | 4700 | -for as_dir in $PATH | ||
4925 | 4701 | -do | ||
4926 | 4702 | - IFS=$as_save_IFS | ||
4927 | 4703 | - test -z "$as_dir" && as_dir=. | ||
4928 | 4704 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
4929 | 4705 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
4930 | 4706 | - ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" | ||
4931 | 4707 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4932 | 4708 | - break 2 | ||
4933 | 4709 | - fi | ||
4934 | 4710 | -done | ||
4935 | 4711 | -done | ||
4936 | 4712 | -IFS=$as_save_IFS | ||
4937 | 4713 | - | ||
4938 | 4714 | - test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" | ||
4939 | 4715 | - ;; | ||
4940 | 4716 | -esac | ||
4941 | 4717 | -fi | ||
4942 | 4718 | -MSGFMT=$ac_cv_path_MSGFMT | ||
4943 | 4719 | -if test -n "$MSGFMT"; then | ||
4944 | 4720 | - { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 | ||
4945 | 4721 | -$as_echo "$MSGFMT" >&6; } | ||
4946 | 4722 | -else | ||
4947 | 4723 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4948 | 4724 | -$as_echo "no" >&6; } | ||
4949 | 4725 | -fi | ||
4950 | 4726 | - | ||
4951 | 4727 | - | ||
4952 | 4728 | -# Extract the first word of "xgettext$EXEEXT", so it can be a program name with args. | ||
4953 | 4729 | -set dummy xgettext$EXEEXT; ac_word=$2 | ||
4954 | 4730 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4955 | 4731 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
4956 | 4732 | -if test "${ac_cv_path_XGETTEXT+set}" = set; then | ||
4957 | 4733 | - $as_echo_n "(cached) " >&6 | ||
4958 | 4734 | -else | ||
4959 | 4735 | - case $XGETTEXT in | ||
4960 | 4736 | - [\\/]* | ?:[\\/]*) | ||
4961 | 4737 | - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. | ||
4962 | 4738 | - ;; | ||
4963 | 4739 | - *) | ||
4964 | 4740 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4965 | 4741 | -for as_dir in $PATH | ||
4966 | 4742 | -do | ||
4967 | 4743 | - IFS=$as_save_IFS | ||
4968 | 4744 | - test -z "$as_dir" && as_dir=. | ||
4969 | 4745 | - for ac_exec_ext in '' $ac_executable_extensions; do | ||
4970 | 4746 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
4971 | 4747 | - ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" | ||
4972 | 4748 | - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4973 | 4749 | - break 2 | ||
4974 | 4750 | - fi | ||
4975 | 4751 | -done | ||
4976 | 4752 | -done | ||
4977 | 4753 | -IFS=$as_save_IFS | ||
4978 | 4754 | - | ||
4979 | 4755 | - test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="no" | ||
4980 | 4756 | - ;; | ||
4981 | 4757 | -esac | ||
4982 | 4758 | -fi | ||
4983 | 4759 | -XGETTEXT=$ac_cv_path_XGETTEXT | ||
4984 | 4760 | -if test -n "$XGETTEXT"; then | ||
4985 | 4761 | - { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 | ||
4986 | 4762 | -$as_echo "$XGETTEXT" >&6; } | ||
4987 | 4763 | -else | ||
4988 | 4764 | - { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4989 | 4765 | -$as_echo "no" >&6; } | ||
4990 | 4766 | -fi | ||
4991 | 4767 | - | ||
4992 | 4768 | - | ||
4993 | 4769 | -# Extract the first word of "msgmerge$EXEEXT", so it can be a program name with args. | ||
4994 | 4770 | -set dummy msgmerge$EXEEXT; ac_word=$2 | ||
4995 | 4771 | -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4996 | 4772 | -$as_echo_n "checking for $ac_word... " >&6; } | ||
4997 | 4773 | -if test "${ac_cv_path_MSGMERGE+set}" = set; then | ||
4998 | 4774 | - $as_echo_n "(cached) " >&6 | ||
4999 | 4775 | -else | ||
5000 | 4776 | - case $MSGMERGE in |
Everything should be OK, apart from ubuntu_ udev_noperm. patch. It's complex to merge due to sane-desc_ udev+acl. patch. I'd like to get it review and rewrite (if possible) by author, Martin Pitt. If someone can do it, go ahead.