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