Merge lp:~cosmos-door/ubuntu/quantal/avarice/fix-ftbfs-1058667 into lp:ubuntu/quantal/avarice

Proposed by Mitsuya Shibata
Status: Merged
Merged at revision: 11
Proposed branch: lp:~cosmos-door/ubuntu/quantal/avarice/fix-ftbfs-1058667
Merge into: lp:ubuntu/quantal/avarice
Diff against target: 12033 lines
To merge this branch: bzr merge lp:~cosmos-door/ubuntu/quantal/avarice/fix-ftbfs-1058667
Reviewer Review Type Date Requested Status
Andrew Starr-Bochicchio (community) Approve
Mitsuya Shibata (community) Needs Resubmitting
Dimitri John Ledkov Needs Fixing
Ubuntu branches Pending
Review via email: mp+127105@code.launchpad.net

Description of the change

Fix FTBFS for avarice 2.10-3ubuntu1 in LP:1058667

New bfd.h of binutils depends to include autoconf.h.

For more information please see:
http://sourceware.org/bugzilla/show_bug.cgi?id=14072
http://sourceware.org/bugzilla/show_bug.cgi?id=14243

To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The fixes themselves are good. The package is currently using no patch system and source format 1.0. That means that patches are not automatically applied/unapplied by either dpkg-source or during build time.

There are two options:
- convert the package to 3.0 (quilt) format
- include quilt.mk snippet in the rules to apply / unapply the patches.

I'd recommend you do the first as it's easier and better supported in the future.

review: Needs Fixing
12. By Mitsuya Shibata

* Switch to dpkg-source 3.0 (quilt) format
  - 00_debian_origin.patch
    split already applied patch to upstream source by debian package

Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

> - convert the package to 3.0 (quilt) format
> - include quilt.mk snippet in the rules to apply / unapply the patches.
>
> I'd recommend you do the first as it's easier and better supported in the
> future.

Thank you for your reviewing!

I updated branch to convert to 3.0 (quilt) format.
Additionally, original debian package modified upstream source, split it to patch file.

Please re-review it.

review: Needs Resubmitting
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Thanks for your work on this. Everything looks good, and I can confirm that this allows the package to build on quantal.

I'm not sure if I actually agree with Dmitrijs' suggestion though. While it is a best practice to keep changes to the upstream source in quilt packages, for packages that originate in Debian we try to stay as close as possible. Usually this includes respecting the patch system, or lack thereof, that the Debian maintainer has chosen to use. That said, I'm going to go ahead and upload it. No reason to make you jump through anymore hoops.

review: Approve
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

On 7 October 2012 03:53, Andrew Starr-Bochicchio <email address hidden> wrote:
> Review: Approve
>
> Thanks for your work on this. Everything looks good, and I can confirm that this allows the package to build on quantal.
>
> I'm not sure if I actually agree with Dmitrijs' suggestion though. While it is a best practice to keep changes to the upstream source in quilt packages, for packages that originate in Debian we try to stay as close as possible. Usually this includes respecting the patch system, or lack thereof, that the Debian maintainer has chosen to use. That said, I'm going to go ahead and upload it. No reason to make you jump through anymore hoops.

Well it was status quo: package format 1.0 & no patches in debian.
Therefore no obvious way to add patches. The first iteration had .pc/*
and quilt patches applied all in a diff.gz. Witch is a bad mix. If a
package doesn't have any patch system today, the only sane way to add
a patch system is by converting to 3.0 (quilt) format, as it is the
most minimal way to add patches (one line + series&patches) with no
additional build dependencies or changes to debian/rules and no
conflicts at merges (well... almost ;) ).

Regards,

Dmitrijs.

Preview Diff

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

Subscribers

People subscribed via source and target branches