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