OSDN Git Service

runtime: If no sem_timedwait, use pthread_cond_timedwait.
[pf3gnuchains/gcc-fork.git] / libgo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libgo'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="Makefile.am"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 STRUCT_EPOLL_EVENT_FD_OFFSET
606 SIZEOF_STRUCT_EPOLL_EVENT
607 STRINGOPS_FLAG
608 HAVE_WAIT4_FALSE
609 HAVE_WAIT4_TRUE
610 HAVE_STRERROR_R_FALSE
611 HAVE_STRERROR_R_TRUE
612 HAVE_SYS_MMAN_H_FALSE
613 HAVE_SYS_MMAN_H_TRUE
614 PTHREAD_LIBS
615 PTHREAD_CFLAGS
616 NET_LIBS
617 MATH_LIBS
618 USING_SPLIT_STACK_FALSE
619 USING_SPLIT_STACK_TRUE
620 SPLIT_STACK
621 OSCFLAGS
622 GO_SYSCALL_OS_ARCH_FILE
623 GO_SYSCALL_OS_FILE
624 GO_LIBCALL_OS_ARCH_FILE
625 GO_LIBCALL_OS_FILE
626 GOARCH
627 LIBGO_IS_X86_64_FALSE
628 LIBGO_IS_X86_64_TRUE
629 LIBGO_IS_SPARC64_FALSE
630 LIBGO_IS_SPARC64_TRUE
631 LIBGO_IS_SPARC_FALSE
632 LIBGO_IS_SPARC_TRUE
633 LIBGO_IS_PPC64_FALSE
634 LIBGO_IS_PPC64_TRUE
635 LIBGO_IS_PPC_FALSE
636 LIBGO_IS_PPC_TRUE
637 LIBGO_IS_MIPSO64_FALSE
638 LIBGO_IS_MIPSO64_TRUE
639 LIBGO_IS_MIPSN64_FALSE
640 LIBGO_IS_MIPSN64_TRUE
641 LIBGO_IS_MIPSN32_FALSE
642 LIBGO_IS_MIPSN32_TRUE
643 LIBGO_IS_MIPSO32_FALSE
644 LIBGO_IS_MIPSO32_TRUE
645 LIBGO_IS_MIPS_FALSE
646 LIBGO_IS_MIPS_TRUE
647 LIBGO_IS_M68K_FALSE
648 LIBGO_IS_M68K_TRUE
649 LIBGO_IS_ARM_FALSE
650 LIBGO_IS_ARM_TRUE
651 LIBGO_IS_ALPHA_FALSE
652 LIBGO_IS_ALPHA_TRUE
653 LIBGO_IS_386_FALSE
654 LIBGO_IS_386_TRUE
655 GOOS
656 LIBGO_IS_SOLARIS_FALSE
657 LIBGO_IS_SOLARIS_TRUE
658 LIBGO_IS_RTEMS_FALSE
659 LIBGO_IS_RTEMS_TRUE
660 LIBGO_IS_LINUX_FALSE
661 LIBGO_IS_LINUX_TRUE
662 LIBGO_IS_IRIX_FALSE
663 LIBGO_IS_IRIX_TRUE
664 LIBGO_IS_FREEBSD_FALSE
665 LIBGO_IS_FREEBSD_TRUE
666 LIBGO_IS_DARWIN_FALSE
667 LIBGO_IS_DARWIN_TRUE
668 LIBFFIINCS
669 LIBFFI
670 glibgo_toolexeclibdir
671 glibgo_toolexecdir
672 glibgo_prefixdir
673 WERROR
674 WARN_FLAGS
675 CC_FOR_BUILD
676 enable_static
677 enable_shared
678 CPP
679 OTOOL64
680 OTOOL
681 LIPO
682 NMEDIT
683 DSYMUTIL
684 AR
685 OBJDUMP
686 LN_S
687 NM
688 ac_ct_DUMPBIN
689 DUMPBIN
690 LIBTOOL
691 OBJCOPY
692 RANLIB
693 LD
694 FGREP
695 EGREP
696 GREP
697 SED
698 MAINT
699 MAINTAINER_MODE_FALSE
700 MAINTAINER_MODE_TRUE
701 GOCFLAGS
702 GOC
703 am__fastdepCC_FALSE
704 am__fastdepCC_TRUE
705 CCDEPMODE
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__quote
710 am__include
711 DEPDIR
712 OBJEXT
713 EXEEXT
714 ac_ct_CC
715 CPPFLAGS
716 LDFLAGS
717 CFLAGS
718 CC
719 am__untar
720 am__tar
721 AMTAR
722 am__leading_dot
723 SET_MAKE
724 AWK
725 mkdir_p
726 MKDIR_P
727 INSTALL_STRIP_PROGRAM
728 STRIP
729 install_sh
730 MAKEINFO
731 AUTOHEADER
732 AUTOMAKE
733 AUTOCONF
734 ACLOCAL
735 VERSION
736 PACKAGE
737 CYGPATH_W
738 am__isrc
739 INSTALL_DATA
740 INSTALL_SCRIPT
741 INSTALL_PROGRAM
742 target_os
743 target_vendor
744 target_cpu
745 target
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 multi_basedir
755 libtool_VERSION
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_multilib
798 enable_dependency_tracking
799 enable_maintainer_mode
800 with_gnu_ld
801 enable_shared
802 enable_static
803 with_pic
804 enable_fast_install
805 enable_libtool_lock
806 enable_version_specific_runtime_libs
807 with_libffi
808 with_system_libunwind
809 enable_sjlj_exceptions
810 '
811       ac_precious_vars='build_alias
812 host_alias
813 target_alias
814 CPP
815 CPPFLAGS'
816
817
818 # Initialize some variables set by options.
819 ac_init_help=
820 ac_init_version=false
821 ac_unrecognized_opts=
822 ac_unrecognized_sep=
823 # The variables have the same names as the options, with
824 # dashes changed to underlines.
825 cache_file=/dev/null
826 exec_prefix=NONE
827 no_create=
828 no_recursion=
829 prefix=NONE
830 program_prefix=NONE
831 program_suffix=NONE
832 program_transform_name=s,x,x,
833 silent=
834 site=
835 srcdir=
836 verbose=
837 x_includes=NONE
838 x_libraries=NONE
839
840 # Installation directory options.
841 # These are left unexpanded so users can "make install exec_prefix=/foo"
842 # and all the variables that are supposed to be based on exec_prefix
843 # by default will actually change.
844 # Use braces instead of parens because sh, perl, etc. also accept them.
845 # (The list follows the same order as the GNU Coding Standards.)
846 bindir='${exec_prefix}/bin'
847 sbindir='${exec_prefix}/sbin'
848 libexecdir='${exec_prefix}/libexec'
849 datarootdir='${prefix}/share'
850 datadir='${datarootdir}'
851 sysconfdir='${prefix}/etc'
852 sharedstatedir='${prefix}/com'
853 localstatedir='${prefix}/var'
854 includedir='${prefix}/include'
855 oldincludedir='/usr/include'
856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
857 infodir='${datarootdir}/info'
858 htmldir='${docdir}'
859 dvidir='${docdir}'
860 pdfdir='${docdir}'
861 psdir='${docdir}'
862 libdir='${exec_prefix}/lib'
863 localedir='${datarootdir}/locale'
864 mandir='${datarootdir}/man'
865
866 ac_prev=
867 ac_dashdash=
868 for ac_option
869 do
870   # If the previous option needs an argument, assign it.
871   if test -n "$ac_prev"; then
872     eval $ac_prev=\$ac_option
873     ac_prev=
874     continue
875   fi
876
877   case $ac_option in
878   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879   *)    ac_optarg=yes ;;
880   esac
881
882   # Accept the important Cygnus configure options, so we can diagnose typos.
883
884   case $ac_dashdash$ac_option in
885   --)
886     ac_dashdash=yes ;;
887
888   -bindir | --bindir | --bindi | --bind | --bin | --bi)
889     ac_prev=bindir ;;
890   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
891     bindir=$ac_optarg ;;
892
893   -build | --build | --buil | --bui | --bu)
894     ac_prev=build_alias ;;
895   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
896     build_alias=$ac_optarg ;;
897
898   -cache-file | --cache-file | --cache-fil | --cache-fi \
899   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
900     ac_prev=cache_file ;;
901   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
902   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
903     cache_file=$ac_optarg ;;
904
905   --config-cache | -C)
906     cache_file=config.cache ;;
907
908   -datadir | --datadir | --datadi | --datad)
909     ac_prev=datadir ;;
910   -datadir=* | --datadir=* | --datadi=* | --datad=*)
911     datadir=$ac_optarg ;;
912
913   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
914   | --dataroo | --dataro | --datar)
915     ac_prev=datarootdir ;;
916   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
917   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
918     datarootdir=$ac_optarg ;;
919
920   -disable-* | --disable-*)
921     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
922     # Reject names that are not valid shell variable names.
923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924       as_fn_error "invalid feature name: $ac_useropt"
925     ac_useropt_orig=$ac_useropt
926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927     case $ac_user_opts in
928       *"
929 "enable_$ac_useropt"
930 "*) ;;
931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
932          ac_unrecognized_sep=', ';;
933     esac
934     eval enable_$ac_useropt=no ;;
935
936   -docdir | --docdir | --docdi | --doc | --do)
937     ac_prev=docdir ;;
938   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
939     docdir=$ac_optarg ;;
940
941   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
942     ac_prev=dvidir ;;
943   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
944     dvidir=$ac_optarg ;;
945
946   -enable-* | --enable-*)
947     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
948     # Reject names that are not valid shell variable names.
949     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950       as_fn_error "invalid feature name: $ac_useropt"
951     ac_useropt_orig=$ac_useropt
952     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953     case $ac_user_opts in
954       *"
955 "enable_$ac_useropt"
956 "*) ;;
957       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
958          ac_unrecognized_sep=', ';;
959     esac
960     eval enable_$ac_useropt=\$ac_optarg ;;
961
962   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
963   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
964   | --exec | --exe | --ex)
965     ac_prev=exec_prefix ;;
966   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
967   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
968   | --exec=* | --exe=* | --ex=*)
969     exec_prefix=$ac_optarg ;;
970
971   -gas | --gas | --ga | --g)
972     # Obsolete; use --with-gas.
973     with_gas=yes ;;
974
975   -help | --help | --hel | --he | -h)
976     ac_init_help=long ;;
977   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
978     ac_init_help=recursive ;;
979   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
980     ac_init_help=short ;;
981
982   -host | --host | --hos | --ho)
983     ac_prev=host_alias ;;
984   -host=* | --host=* | --hos=* | --ho=*)
985     host_alias=$ac_optarg ;;
986
987   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
988     ac_prev=htmldir ;;
989   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
990   | --ht=*)
991     htmldir=$ac_optarg ;;
992
993   -includedir | --includedir | --includedi | --included | --include \
994   | --includ | --inclu | --incl | --inc)
995     ac_prev=includedir ;;
996   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
997   | --includ=* | --inclu=* | --incl=* | --inc=*)
998     includedir=$ac_optarg ;;
999
1000   -infodir | --infodir | --infodi | --infod | --info | --inf)
1001     ac_prev=infodir ;;
1002   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1003     infodir=$ac_optarg ;;
1004
1005   -libdir | --libdir | --libdi | --libd)
1006     ac_prev=libdir ;;
1007   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1008     libdir=$ac_optarg ;;
1009
1010   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1011   | --libexe | --libex | --libe)
1012     ac_prev=libexecdir ;;
1013   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1014   | --libexe=* | --libex=* | --libe=*)
1015     libexecdir=$ac_optarg ;;
1016
1017   -localedir | --localedir | --localedi | --localed | --locale)
1018     ac_prev=localedir ;;
1019   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1020     localedir=$ac_optarg ;;
1021
1022   -localstatedir | --localstatedir | --localstatedi | --localstated \
1023   | --localstate | --localstat | --localsta | --localst | --locals)
1024     ac_prev=localstatedir ;;
1025   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1026   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1027     localstatedir=$ac_optarg ;;
1028
1029   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1030     ac_prev=mandir ;;
1031   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1032     mandir=$ac_optarg ;;
1033
1034   -nfp | --nfp | --nf)
1035     # Obsolete; use --without-fp.
1036     with_fp=no ;;
1037
1038   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1039   | --no-cr | --no-c | -n)
1040     no_create=yes ;;
1041
1042   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1043   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1044     no_recursion=yes ;;
1045
1046   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1047   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1048   | --oldin | --oldi | --old | --ol | --o)
1049     ac_prev=oldincludedir ;;
1050   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1051   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1052   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1053     oldincludedir=$ac_optarg ;;
1054
1055   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1056     ac_prev=prefix ;;
1057   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1058     prefix=$ac_optarg ;;
1059
1060   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1061   | --program-pre | --program-pr | --program-p)
1062     ac_prev=program_prefix ;;
1063   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1064   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1065     program_prefix=$ac_optarg ;;
1066
1067   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1068   | --program-suf | --program-su | --program-s)
1069     ac_prev=program_suffix ;;
1070   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1071   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1072     program_suffix=$ac_optarg ;;
1073
1074   -program-transform-name | --program-transform-name \
1075   | --program-transform-nam | --program-transform-na \
1076   | --program-transform-n | --program-transform- \
1077   | --program-transform | --program-transfor \
1078   | --program-transfo | --program-transf \
1079   | --program-trans | --program-tran \
1080   | --progr-tra | --program-tr | --program-t)
1081     ac_prev=program_transform_name ;;
1082   -program-transform-name=* | --program-transform-name=* \
1083   | --program-transform-nam=* | --program-transform-na=* \
1084   | --program-transform-n=* | --program-transform-=* \
1085   | --program-transform=* | --program-transfor=* \
1086   | --program-transfo=* | --program-transf=* \
1087   | --program-trans=* | --program-tran=* \
1088   | --progr-tra=* | --program-tr=* | --program-t=*)
1089     program_transform_name=$ac_optarg ;;
1090
1091   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1092     ac_prev=pdfdir ;;
1093   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1094     pdfdir=$ac_optarg ;;
1095
1096   -psdir | --psdir | --psdi | --psd | --ps)
1097     ac_prev=psdir ;;
1098   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1099     psdir=$ac_optarg ;;
1100
1101   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102   | -silent | --silent | --silen | --sile | --sil)
1103     silent=yes ;;
1104
1105   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1106     ac_prev=sbindir ;;
1107   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1108   | --sbi=* | --sb=*)
1109     sbindir=$ac_optarg ;;
1110
1111   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1112   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1113   | --sharedst | --shareds | --shared | --share | --shar \
1114   | --sha | --sh)
1115     ac_prev=sharedstatedir ;;
1116   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1117   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1118   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1119   | --sha=* | --sh=*)
1120     sharedstatedir=$ac_optarg ;;
1121
1122   -site | --site | --sit)
1123     ac_prev=site ;;
1124   -site=* | --site=* | --sit=*)
1125     site=$ac_optarg ;;
1126
1127   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1128     ac_prev=srcdir ;;
1129   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1130     srcdir=$ac_optarg ;;
1131
1132   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1133   | --syscon | --sysco | --sysc | --sys | --sy)
1134     ac_prev=sysconfdir ;;
1135   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1136   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1137     sysconfdir=$ac_optarg ;;
1138
1139   -target | --target | --targe | --targ | --tar | --ta | --t)
1140     ac_prev=target_alias ;;
1141   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1142     target_alias=$ac_optarg ;;
1143
1144   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1145     verbose=yes ;;
1146
1147   -version | --version | --versio | --versi | --vers | -V)
1148     ac_init_version=: ;;
1149
1150   -with-* | --with-*)
1151     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152     # Reject names that are not valid shell variable names.
1153     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154       as_fn_error "invalid package name: $ac_useropt"
1155     ac_useropt_orig=$ac_useropt
1156     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157     case $ac_user_opts in
1158       *"
1159 "with_$ac_useropt"
1160 "*) ;;
1161       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1162          ac_unrecognized_sep=', ';;
1163     esac
1164     eval with_$ac_useropt=\$ac_optarg ;;
1165
1166   -without-* | --without-*)
1167     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1168     # Reject names that are not valid shell variable names.
1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170       as_fn_error "invalid package name: $ac_useropt"
1171     ac_useropt_orig=$ac_useropt
1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173     case $ac_user_opts in
1174       *"
1175 "with_$ac_useropt"
1176 "*) ;;
1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1178          ac_unrecognized_sep=', ';;
1179     esac
1180     eval with_$ac_useropt=no ;;
1181
1182   --x)
1183     # Obsolete; use --with-x.
1184     with_x=yes ;;
1185
1186   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1187   | --x-incl | --x-inc | --x-in | --x-i)
1188     ac_prev=x_includes ;;
1189   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1190   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1191     x_includes=$ac_optarg ;;
1192
1193   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1194   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1195     ac_prev=x_libraries ;;
1196   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1197   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1198     x_libraries=$ac_optarg ;;
1199
1200   -*) as_fn_error "unrecognized option: \`$ac_option'
1201 Try \`$0 --help' for more information."
1202     ;;
1203
1204   *=*)
1205     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1206     # Reject names that are not valid shell variable names.
1207     case $ac_envvar in #(
1208       '' | [0-9]* | *[!_$as_cr_alnum]* )
1209       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1210     esac
1211     eval $ac_envvar=\$ac_optarg
1212     export $ac_envvar ;;
1213
1214   *)
1215     # FIXME: should be removed in autoconf 3.0.
1216     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1218       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1220     ;;
1221
1222   esac
1223 done
1224
1225 if test -n "$ac_prev"; then
1226   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1227   as_fn_error "missing argument to $ac_option"
1228 fi
1229
1230 if test -n "$ac_unrecognized_opts"; then
1231   case $enable_option_checking in
1232     no) ;;
1233     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1234     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235   esac
1236 fi
1237
1238 # Check all directory arguments for consistency.
1239 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240                 datadir sysconfdir sharedstatedir localstatedir includedir \
1241                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242                 libdir localedir mandir
1243 do
1244   eval ac_val=\$$ac_var
1245   # Remove trailing slashes.
1246   case $ac_val in
1247     */ )
1248       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249       eval $ac_var=\$ac_val;;
1250   esac
1251   # Be sure to have absolute directory names.
1252   case $ac_val in
1253     [\\/$]* | ?:[\\/]* )  continue;;
1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1255   esac
1256   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1257 done
1258
1259 # There might be people who depend on the old broken behavior: `$host'
1260 # used to hold the argument of --host etc.
1261 # FIXME: To remove some day.
1262 build=$build_alias
1263 host=$host_alias
1264 target=$target_alias
1265
1266 # FIXME: To remove some day.
1267 if test "x$host_alias" != x; then
1268   if test "x$build_alias" = x; then
1269     cross_compiling=maybe
1270     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1271     If a cross compiler is detected then cross compile mode will be used." >&2
1272   elif test "x$build_alias" != "x$host_alias"; then
1273     cross_compiling=yes
1274   fi
1275 fi
1276
1277 ac_tool_prefix=
1278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1279
1280 test "$silent" = yes && exec 6>/dev/null
1281
1282
1283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di=`ls -di .` &&
1285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286   as_fn_error "working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288   as_fn_error "pwd does not report name of working directory"
1289
1290
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293   ac_srcdir_defaulted=yes
1294   # Try the directory containing this script, then the parent directory.
1295   ac_confdir=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297          X"$as_myself" : 'X\(//\)[^/]' \| \
1298          X"$as_myself" : 'X\(//\)$' \| \
1299          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302             s//\1/
1303             q
1304           }
1305           /^X\(\/\/\)[^/].*/{
1306             s//\1/
1307             q
1308           }
1309           /^X\(\/\/\)$/{
1310             s//\1/
1311             q
1312           }
1313           /^X\(\/\).*/{
1314             s//\1/
1315             q
1316           }
1317           s/.*/./; q'`
1318   srcdir=$ac_confdir
1319   if test ! -r "$srcdir/$ac_unique_file"; then
1320     srcdir=..
1321   fi
1322 else
1323   ac_srcdir_defaulted=no
1324 fi
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1328 fi
1329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 ac_abs_confdir=`(
1331         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332         pwd)`
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1335   srcdir=.
1336 fi
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1340 case $srcdir in
1341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 esac
1343 for ac_var in $ac_precious_vars; do
1344   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1345   eval ac_env_${ac_var}_value=\$${ac_var}
1346   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1347   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348 done
1349
1350 #
1351 # Report the --help message.
1352 #
1353 if test "$ac_init_help" = "long"; then
1354   # Omit some internal or obsolete options to make the list less imposing.
1355   # This message is too long to be a string in the A/UX 3.1 sh.
1356   cat <<_ACEOF
1357 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1358
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1360
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE.  See below for descriptions of some of the useful variables.
1363
1364 Defaults for the options are specified in brackets.
1365
1366 Configuration:
1367   -h, --help              display this help and exit
1368       --help=short        display options specific to this package
1369       --help=recursive    display the short help of all the included packages
1370   -V, --version           display version information and exit
1371   -q, --quiet, --silent   do not print \`checking...' messages
1372       --cache-file=FILE   cache test results in FILE [disabled]
1373   -C, --config-cache      alias for \`--cache-file=config.cache'
1374   -n, --no-create         do not create output files
1375       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1376
1377 Installation directories:
1378   --prefix=PREFIX         install architecture-independent files in PREFIX
1379                           [$ac_default_prefix]
1380   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1381                           [PREFIX]
1382
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1387
1388 For better control, use the options below.
1389
1390 Fine tuning of the installation directories:
1391   --bindir=DIR            user executables [EPREFIX/bin]
1392   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1393   --libexecdir=DIR        program executables [EPREFIX/libexec]
1394   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1395   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1396   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1397   --libdir=DIR            object code libraries [EPREFIX/lib]
1398   --includedir=DIR        C header files [PREFIX/include]
1399   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1400   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1401   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1402   --infodir=DIR           info documentation [DATAROOTDIR/info]
1403   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1404   --mandir=DIR            man documentation [DATAROOTDIR/man]
1405   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgo]
1406   --htmldir=DIR           html documentation [DOCDIR]
1407   --dvidir=DIR            dvi documentation [DOCDIR]
1408   --pdfdir=DIR            pdf documentation [DOCDIR]
1409   --psdir=DIR             ps documentation [DOCDIR]
1410 _ACEOF
1411
1412   cat <<\_ACEOF
1413
1414 Program names:
1415   --program-prefix=PREFIX            prepend PREFIX to installed program names
1416   --program-suffix=SUFFIX            append SUFFIX to installed program names
1417   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1418
1419 System types:
1420   --build=BUILD     configure for building on BUILD [guessed]
1421   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1422   --target=TARGET   configure for building compilers for TARGET [HOST]
1423 _ACEOF
1424 fi
1425
1426 if test -n "$ac_init_help"; then
1427   case $ac_init_help in
1428      short | recursive ) echo "Configuration of package-unused version-unused:";;
1429    esac
1430   cat <<\_ACEOF
1431
1432 Optional Features:
1433   --disable-option-checking  ignore unrecognized --enable/--with options
1434   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1435   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1436   --enable-multilib       build many library versions (default)
1437   --disable-dependency-tracking  speeds up one-time build
1438   --enable-dependency-tracking   do not reject slow dependency extractors
1439   --enable-maintainer-mode  enable make rules and dependencies not useful
1440                           (and sometimes confusing) to the casual installer
1441   --enable-shared[=PKGS]  build shared libraries [default=yes]
1442   --enable-static[=PKGS]  build static libraries [default=yes]
1443   --enable-fast-install[=PKGS]
1444                           optimize for fast installation [default=yes]
1445   --disable-libtool-lock  avoid locking (might break parallel builds)
1446   --enable-version-specific-runtime-libs
1447                           Specify that runtime libraries should be installed
1448                           in a compiler-specific directory
1449   --enable-sjlj-exceptions
1450                           force use of builtin_setjmp for exceptions
1451
1452 Optional Packages:
1453   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1454   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1455   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1456   --with-pic              try to use only PIC/non-PIC objects [default=use
1457                           both]
1458   --without-libffi        don't use libffi
1459   --with-system-libunwind use installed libunwind
1460
1461 Some influential environment variables:
1462   CC          C compiler command
1463   CFLAGS      C compiler flags
1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1465               nonstandard directory <lib dir>
1466   LIBS        libraries to pass to the linker, e.g. -l<library>
1467   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1468               you have headers in a nonstandard directory <include dir>
1469   GOC         Go compiler command
1470   GOCFLAGS    Go compiler flags
1471   CPP         C preprocessor
1472
1473 Use these variables to override the choices made by `configure' or to help
1474 it to find libraries and programs with nonstandard names/locations.
1475
1476 Report bugs to the package provider.
1477 _ACEOF
1478 ac_status=$?
1479 fi
1480
1481 if test "$ac_init_help" = "recursive"; then
1482   # If there are subdirs, report their specific --help.
1483   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1484     test -d "$ac_dir" ||
1485       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1486       continue
1487     ac_builddir=.
1488
1489 case "$ac_dir" in
1490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491 *)
1492   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1493   # A ".." for each directory in $ac_dir_suffix.
1494   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1495   case $ac_top_builddir_sub in
1496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1498   esac ;;
1499 esac
1500 ac_abs_top_builddir=$ac_pwd
1501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1502 # for backward compatibility:
1503 ac_top_builddir=$ac_top_build_prefix
1504
1505 case $srcdir in
1506   .)  # We are building in place.
1507     ac_srcdir=.
1508     ac_top_srcdir=$ac_top_builddir_sub
1509     ac_abs_top_srcdir=$ac_pwd ;;
1510   [\\/]* | ?:[\\/]* )  # Absolute name.
1511     ac_srcdir=$srcdir$ac_dir_suffix;
1512     ac_top_srcdir=$srcdir
1513     ac_abs_top_srcdir=$srcdir ;;
1514   *) # Relative name.
1515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1516     ac_top_srcdir=$ac_top_build_prefix$srcdir
1517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1518 esac
1519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1520
1521     cd "$ac_dir" || { ac_status=$?; continue; }
1522     # Check for guested configure.
1523     if test -f "$ac_srcdir/configure.gnu"; then
1524       echo &&
1525       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1526     elif test -f "$ac_srcdir/configure"; then
1527       echo &&
1528       $SHELL "$ac_srcdir/configure" --help=recursive
1529     else
1530       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531     fi || ac_status=$?
1532     cd "$ac_pwd" || { ac_status=$?; break; }
1533   done
1534 fi
1535
1536 test -n "$ac_init_help" && exit $ac_status
1537 if $ac_init_version; then
1538   cat <<\_ACEOF
1539 package-unused configure version-unused
1540 generated by GNU Autoconf 2.64
1541
1542 Copyright (C) 2009 Free Software Foundation, Inc.
1543 This configure script is free software; the Free Software Foundation
1544 gives unlimited permission to copy, distribute and modify it.
1545 _ACEOF
1546   exit
1547 fi
1548
1549 ## ------------------------ ##
1550 ## Autoconf initialization. ##
1551 ## ------------------------ ##
1552
1553 # ac_fn_c_try_compile LINENO
1554 # --------------------------
1555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1556 ac_fn_c_try_compile ()
1557 {
1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559   rm -f conftest.$ac_objext
1560   if { { ac_try="$ac_compile"
1561 case "(($ac_try" in
1562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563   *) ac_try_echo=$ac_try;;
1564 esac
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567   (eval "$ac_compile") 2>conftest.err
1568   ac_status=$?
1569   if test -s conftest.err; then
1570     grep -v '^ *+' conftest.err >conftest.er1
1571     cat conftest.er1 >&5
1572     mv -f conftest.er1 conftest.err
1573   fi
1574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575   test $ac_status = 0; } && {
1576          test -z "$ac_c_werror_flag" ||
1577          test ! -s conftest.err
1578        } && test -s conftest.$ac_objext; then :
1579   ac_retval=0
1580 else
1581   $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1583
1584         ac_retval=1
1585 fi
1586   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1587   return $ac_retval
1588
1589 } # ac_fn_c_try_compile
1590
1591 # ac_fn_c_try_link LINENO
1592 # -----------------------
1593 # Try to link conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_link ()
1595 {
1596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597   rm -f conftest.$ac_objext conftest$ac_exeext
1598   if { { ac_try="$ac_link"
1599 case "(($ac_try" in
1600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601   *) ac_try_echo=$ac_try;;
1602 esac
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605   (eval "$ac_link") 2>conftest.err
1606   ac_status=$?
1607   if test -s conftest.err; then
1608     grep -v '^ *+' conftest.err >conftest.er1
1609     cat conftest.er1 >&5
1610     mv -f conftest.er1 conftest.err
1611   fi
1612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613   test $ac_status = 0; } && {
1614          test -z "$ac_c_werror_flag" ||
1615          test ! -s conftest.err
1616        } && test -s conftest$ac_exeext && {
1617          test "$cross_compiling" = yes ||
1618          $as_test_x conftest$ac_exeext
1619        }; then :
1620   ac_retval=0
1621 else
1622   $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1624
1625         ac_retval=1
1626 fi
1627   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1628   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1629   # interfere with the next link command; also delete a directory that is
1630   # left behind by Apple's compiler.  We do this before executing the actions.
1631   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1633   return $ac_retval
1634
1635 } # ac_fn_c_try_link
1636
1637 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1638 # -------------------------------------------------------
1639 # Tests whether HEADER exists and can be compiled using the include files in
1640 # INCLUDES, setting the cache variable VAR accordingly.
1641 ac_fn_c_check_header_compile ()
1642 {
1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647   $as_echo_n "(cached) " >&6
1648 else
1649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h.  */
1651 $4
1652 #include <$2>
1653 _ACEOF
1654 if ac_fn_c_try_compile "$LINENO"; then :
1655   eval "$3=yes"
1656 else
1657   eval "$3=no"
1658 fi
1659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1660 fi
1661 eval ac_res=\$$3
1662                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1664   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665
1666 } # ac_fn_c_check_header_compile
1667
1668 # ac_fn_c_try_cpp LINENO
1669 # ----------------------
1670 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_cpp ()
1672 {
1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674   if { { ac_try="$ac_cpp conftest.$ac_ext"
1675 case "(($ac_try" in
1676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677   *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682   ac_status=$?
1683   if test -s conftest.err; then
1684     grep -v '^ *+' conftest.err >conftest.er1
1685     cat conftest.er1 >&5
1686     mv -f conftest.er1 conftest.err
1687   fi
1688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689   test $ac_status = 0; } >/dev/null && {
1690          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1691          test ! -s conftest.err
1692        }; then :
1693   ac_retval=0
1694 else
1695   $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698     ac_retval=1
1699 fi
1700   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701   return $ac_retval
1702
1703 } # ac_fn_c_try_cpp
1704
1705 # ac_fn_c_try_run LINENO
1706 # ----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1708 # that executables *can* be run.
1709 ac_fn_c_try_run ()
1710 {
1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712   if { { ac_try="$ac_link"
1713 case "(($ac_try" in
1714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715   *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719   (eval "$ac_link") 2>&5
1720   ac_status=$?
1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1723   { { case "(($ac_try" in
1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725   *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729   (eval "$ac_try") 2>&5
1730   ac_status=$?
1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732   test $ac_status = 0; }; }; then :
1733   ac_retval=0
1734 else
1735   $as_echo "$as_me: program exited with status $ac_status" >&5
1736        $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1738
1739        ac_retval=$ac_status
1740 fi
1741   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743   return $ac_retval
1744
1745 } # ac_fn_c_try_run
1746
1747 # ac_fn_c_check_func LINENO FUNC VAR
1748 # ----------------------------------
1749 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1750 ac_fn_c_check_func ()
1751 {
1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1756   $as_echo_n "(cached) " >&6
1757 else
1758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h.  */
1760 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1762 #define $2 innocuous_$2
1763
1764 /* System header to define __stub macros and hopefully few prototypes,
1765     which can conflict with char $2 (); below.
1766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1767     <limits.h> exists even on freestanding compilers.  */
1768
1769 #ifdef __STDC__
1770 # include <limits.h>
1771 #else
1772 # include <assert.h>
1773 #endif
1774
1775 #undef $2
1776
1777 /* Override any GCC internal prototype to avoid an error.
1778    Use char because int might match the return type of a GCC
1779    builtin and then its argument prototype would still apply.  */
1780 #ifdef __cplusplus
1781 extern "C"
1782 #endif
1783 char $2 ();
1784 /* The GNU C library defines this for functions which it implements
1785     to always fail with ENOSYS.  Some functions are actually named
1786     something starting with __ and the normal name is an alias.  */
1787 #if defined __stub_$2 || defined __stub___$2
1788 choke me
1789 #endif
1790
1791 int
1792 main ()
1793 {
1794 return $2 ();
1795   ;
1796   return 0;
1797 }
1798 _ACEOF
1799 if ac_fn_c_try_link "$LINENO"; then :
1800   eval "$3=yes"
1801 else
1802   eval "$3=no"
1803 fi
1804 rm -f core conftest.err conftest.$ac_objext \
1805     conftest$ac_exeext conftest.$ac_ext
1806 fi
1807 eval ac_res=\$$3
1808                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811
1812 } # ac_fn_c_check_func
1813
1814 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1815 # -------------------------------------------------------
1816 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1817 # the include files in INCLUDES and setting the cache variable VAR
1818 # accordingly.
1819 ac_fn_c_check_header_mongrel ()
1820 {
1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1826   $as_echo_n "(cached) " >&6
1827 fi
1828 eval ac_res=\$$3
1829                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 else
1832   # Is the header compilable?
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1834 $as_echo_n "checking $2 usability... " >&6; }
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h.  */
1837 $4
1838 #include <$2>
1839 _ACEOF
1840 if ac_fn_c_try_compile "$LINENO"; then :
1841   ac_header_compiler=yes
1842 else
1843   ac_header_compiler=no
1844 fi
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1847 $as_echo "$ac_header_compiler" >&6; }
1848
1849 # Is the header present?
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1851 $as_echo_n "checking $2 presence... " >&6; }
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h.  */
1854 #include <$2>
1855 _ACEOF
1856 if ac_fn_c_try_cpp "$LINENO"; then :
1857   ac_header_preproc=yes
1858 else
1859   ac_header_preproc=no
1860 fi
1861 rm -f conftest.err conftest.$ac_ext
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1863 $as_echo "$ac_header_preproc" >&6; }
1864
1865 # So?  What about this header?
1866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1867   yes:no: )
1868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1869 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1870     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1871 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1872     ;;
1873   no:yes:* )
1874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1875 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1877 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1878     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1879 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1880     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1881 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1882     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1883 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1884     ;;
1885 esac
1886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889   $as_echo_n "(cached) " >&6
1890 else
1891   eval "$3=\$ac_header_compiler"
1892 fi
1893 eval ac_res=\$$3
1894                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1896 fi
1897   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898
1899 } # ac_fn_c_check_header_mongrel
1900
1901 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1902 # -------------------------------------------
1903 # Tests whether TYPE exists after having included INCLUDES, setting cache
1904 # variable VAR accordingly.
1905 ac_fn_c_check_type ()
1906 {
1907   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1911   $as_echo_n "(cached) " >&6
1912 else
1913   eval "$3=no"
1914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h.  */
1916 $4
1917 int
1918 main ()
1919 {
1920 if (sizeof ($2))
1921          return 0;
1922   ;
1923   return 0;
1924 }
1925 _ACEOF
1926 if ac_fn_c_try_compile "$LINENO"; then :
1927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h.  */
1929 $4
1930 int
1931 main ()
1932 {
1933 if (sizeof (($2)))
1934             return 0;
1935   ;
1936   return 0;
1937 }
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940
1941 else
1942   eval "$3=yes"
1943 fi
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 fi
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 fi
1948 eval ac_res=\$$3
1949                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1952
1953 } # ac_fn_c_check_type
1954
1955 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1956 # --------------------------------------------
1957 # Tries to find the compile-time value of EXPR in a program that includes
1958 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1959 # computed
1960 ac_fn_c_compute_int ()
1961 {
1962   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963   if test "$cross_compiling" = yes; then
1964     # Depending upon the size, compute the lo and hi bounds.
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h.  */
1967 $4
1968 int
1969 main ()
1970 {
1971 static int test_array [1 - 2 * !(($2) >= 0)];
1972 test_array [0] = 0
1973
1974   ;
1975   return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_compile "$LINENO"; then :
1979   ac_lo=0 ac_mid=0
1980   while :; do
1981     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h.  */
1983 $4
1984 int
1985 main ()
1986 {
1987 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1988 test_array [0] = 0
1989
1990   ;
1991   return 0;
1992 }
1993 _ACEOF
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995   ac_hi=$ac_mid; break
1996 else
1997   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1998                         if test $ac_lo -le $ac_mid; then
1999                           ac_lo= ac_hi=
2000                           break
2001                         fi
2002                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005   done
2006 else
2007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h.  */
2009 $4
2010 int
2011 main ()
2012 {
2013 static int test_array [1 - 2 * !(($2) < 0)];
2014 test_array [0] = 0
2015
2016   ;
2017   return 0;
2018 }
2019 _ACEOF
2020 if ac_fn_c_try_compile "$LINENO"; then :
2021   ac_hi=-1 ac_mid=-1
2022   while :; do
2023     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h.  */
2025 $4
2026 int
2027 main ()
2028 {
2029 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2030 test_array [0] = 0
2031
2032   ;
2033   return 0;
2034 }
2035 _ACEOF
2036 if ac_fn_c_try_compile "$LINENO"; then :
2037   ac_lo=$ac_mid; break
2038 else
2039   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2040                         if test $ac_mid -le $ac_hi; then
2041                           ac_lo= ac_hi=
2042                           break
2043                         fi
2044                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2045 fi
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047   done
2048 else
2049   ac_lo= ac_hi=
2050 fi
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 # Binary search between lo and hi bounds.
2055 while test "x$ac_lo" != "x$ac_hi"; do
2056   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h.  */
2059 $4
2060 int
2061 main ()
2062 {
2063 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2064 test_array [0] = 0
2065
2066   ;
2067   return 0;
2068 }
2069 _ACEOF
2070 if ac_fn_c_try_compile "$LINENO"; then :
2071   ac_hi=$ac_mid
2072 else
2073   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2074 fi
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 done
2077 case $ac_lo in #((
2078 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2079 '') ac_retval=1 ;;
2080 esac
2081   else
2082     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h.  */
2084 $4
2085 static long int longval () { return $2; }
2086 static unsigned long int ulongval () { return $2; }
2087 #include <stdio.h>
2088 #include <stdlib.h>
2089 int
2090 main ()
2091 {
2092
2093   FILE *f = fopen ("conftest.val", "w");
2094   if (! f)
2095     return 1;
2096   if (($2) < 0)
2097     {
2098       long int i = longval ();
2099       if (i != ($2))
2100         return 1;
2101       fprintf (f, "%ld", i);
2102     }
2103   else
2104     {
2105       unsigned long int i = ulongval ();
2106       if (i != ($2))
2107         return 1;
2108       fprintf (f, "%lu", i);
2109     }
2110   /* Do not output a trailing newline, as this causes \r\n confusion
2111      on some platforms.  */
2112   return ferror (f) || fclose (f) != 0;
2113
2114   ;
2115   return 0;
2116 }
2117 _ACEOF
2118 if ac_fn_c_try_run "$LINENO"; then :
2119   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2120 else
2121   ac_retval=1
2122 fi
2123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2124   conftest.$ac_objext conftest.beam conftest.$ac_ext
2125 rm -f conftest.val
2126
2127   fi
2128   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2129   return $ac_retval
2130
2131 } # ac_fn_c_compute_int
2132 cat >config.log <<_ACEOF
2133 This file contains any messages produced by compilers while
2134 running configure, to aid debugging if configure makes a mistake.
2135
2136 It was created by package-unused $as_me version-unused, which was
2137 generated by GNU Autoconf 2.64.  Invocation command line was
2138
2139   $ $0 $@
2140
2141 _ACEOF
2142 exec 5>>config.log
2143 {
2144 cat <<_ASUNAME
2145 ## --------- ##
2146 ## Platform. ##
2147 ## --------- ##
2148
2149 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2150 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2151 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2152 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2153 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2154
2155 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2156 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2157
2158 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2159 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2160 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2161 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2162 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2163 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2164 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2165
2166 _ASUNAME
2167
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 for as_dir in $PATH
2170 do
2171   IFS=$as_save_IFS
2172   test -z "$as_dir" && as_dir=.
2173     $as_echo "PATH: $as_dir"
2174   done
2175 IFS=$as_save_IFS
2176
2177 } >&5
2178
2179 cat >&5 <<_ACEOF
2180
2181
2182 ## ----------- ##
2183 ## Core tests. ##
2184 ## ----------- ##
2185
2186 _ACEOF
2187
2188
2189 # Keep a trace of the command line.
2190 # Strip out --no-create and --no-recursion so they do not pile up.
2191 # Strip out --silent because we don't want to record it for future runs.
2192 # Also quote any args containing shell meta-characters.
2193 # Make two passes to allow for proper duplicate-argument suppression.
2194 ac_configure_args=
2195 ac_configure_args0=
2196 ac_configure_args1=
2197 ac_must_keep_next=false
2198 for ac_pass in 1 2
2199 do
2200   for ac_arg
2201   do
2202     case $ac_arg in
2203     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2204     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2205     | -silent | --silent | --silen | --sile | --sil)
2206       continue ;;
2207     *\'*)
2208       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2209     esac
2210     case $ac_pass in
2211     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2212     2)
2213       as_fn_append ac_configure_args1 " '$ac_arg'"
2214       if test $ac_must_keep_next = true; then
2215         ac_must_keep_next=false # Got value, back to normal.
2216       else
2217         case $ac_arg in
2218           *=* | --config-cache | -C | -disable-* | --disable-* \
2219           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2220           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2221           | -with-* | --with-* | -without-* | --without-* | --x)
2222             case "$ac_configure_args0 " in
2223               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2224             esac
2225             ;;
2226           -* ) ac_must_keep_next=true ;;
2227         esac
2228       fi
2229       as_fn_append ac_configure_args " '$ac_arg'"
2230       ;;
2231     esac
2232   done
2233 done
2234 { ac_configure_args0=; unset ac_configure_args0;}
2235 { ac_configure_args1=; unset ac_configure_args1;}
2236
2237 # When interrupted or exit'd, cleanup temporary files, and complete
2238 # config.log.  We remove comments because anyway the quotes in there
2239 # would cause problems or look ugly.
2240 # WARNING: Use '\'' to represent an apostrophe within the trap.
2241 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2242 trap 'exit_status=$?
2243   # Save into config.log some information that might help in debugging.
2244   {
2245     echo
2246
2247     cat <<\_ASBOX
2248 ## ---------------- ##
2249 ## Cache variables. ##
2250 ## ---------------- ##
2251 _ASBOX
2252     echo
2253     # The following way of writing the cache mishandles newlines in values,
2254 (
2255   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2256     eval ac_val=\$$ac_var
2257     case $ac_val in #(
2258     *${as_nl}*)
2259       case $ac_var in #(
2260       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2262       esac
2263       case $ac_var in #(
2264       _ | IFS | as_nl) ;; #(
2265       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266       *) { eval $ac_var=; unset $ac_var;} ;;
2267       esac ;;
2268     esac
2269   done
2270   (set) 2>&1 |
2271     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2272     *${as_nl}ac_space=\ *)
2273       sed -n \
2274         "s/'\''/'\''\\\\'\'''\''/g;
2275           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2276       ;; #(
2277     *)
2278       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2279       ;;
2280     esac |
2281     sort
2282 )
2283     echo
2284
2285     cat <<\_ASBOX
2286 ## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##
2289 _ASBOX
2290     echo
2291     for ac_var in $ac_subst_vars
2292     do
2293       eval ac_val=\$$ac_var
2294       case $ac_val in
2295       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296       esac
2297       $as_echo "$ac_var='\''$ac_val'\''"
2298     done | sort
2299     echo
2300
2301     if test -n "$ac_subst_files"; then
2302       cat <<\_ASBOX
2303 ## ------------------- ##
2304 ## File substitutions. ##
2305 ## ------------------- ##
2306 _ASBOX
2307       echo
2308       for ac_var in $ac_subst_files
2309       do
2310         eval ac_val=\$$ac_var
2311         case $ac_val in
2312         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2313         esac
2314         $as_echo "$ac_var='\''$ac_val'\''"
2315       done | sort
2316       echo
2317     fi
2318
2319     if test -s confdefs.h; then
2320       cat <<\_ASBOX
2321 ## ----------- ##
2322 ## confdefs.h. ##
2323 ## ----------- ##
2324 _ASBOX
2325       echo
2326       cat confdefs.h
2327       echo
2328     fi
2329     test "$ac_signal" != 0 &&
2330       $as_echo "$as_me: caught signal $ac_signal"
2331     $as_echo "$as_me: exit $exit_status"
2332   } >&5
2333   rm -f core *.core core.conftest.* &&
2334     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2335     exit $exit_status
2336 ' 0
2337 for ac_signal in 1 2 13 15; do
2338   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2339 done
2340 ac_signal=0
2341
2342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2343 rm -f -r conftest* confdefs.h
2344
2345 $as_echo "/* confdefs.h */" > confdefs.h
2346
2347 # Predefined preprocessor variables.
2348
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_NAME "$PACKAGE_NAME"
2351 _ACEOF
2352
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2355 _ACEOF
2356
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2359 _ACEOF
2360
2361 cat >>confdefs.h <<_ACEOF
2362 #define PACKAGE_STRING "$PACKAGE_STRING"
2363 _ACEOF
2364
2365 cat >>confdefs.h <<_ACEOF
2366 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2367 _ACEOF
2368
2369 cat >>confdefs.h <<_ACEOF
2370 #define PACKAGE_URL "$PACKAGE_URL"
2371 _ACEOF
2372
2373
2374 # Let the site file select an alternate cache file if it wants to.
2375 # Prefer an explicitly selected file to automatically selected ones.
2376 ac_site_file1=NONE
2377 ac_site_file2=NONE
2378 if test -n "$CONFIG_SITE"; then
2379   ac_site_file1=$CONFIG_SITE
2380 elif test "x$prefix" != xNONE; then
2381   ac_site_file1=$prefix/share/config.site
2382   ac_site_file2=$prefix/etc/config.site
2383 else
2384   ac_site_file1=$ac_default_prefix/share/config.site
2385   ac_site_file2=$ac_default_prefix/etc/config.site
2386 fi
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2388 do
2389   test "x$ac_site_file" = xNONE && continue
2390   if test -r "$ac_site_file"; then
2391     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393     sed 's/^/| /' "$ac_site_file" >&5
2394     . "$ac_site_file"
2395   fi
2396 done
2397
2398 if test -r "$cache_file"; then
2399   # Some versions of bash will fail to source /dev/null (special
2400   # files actually), so we avoid doing that.
2401   if test -f "$cache_file"; then
2402     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403 $as_echo "$as_me: loading cache $cache_file" >&6;}
2404     case $cache_file in
2405       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2406       *)                      . "./$cache_file";;
2407     esac
2408   fi
2409 else
2410   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411 $as_echo "$as_me: creating cache $cache_file" >&6;}
2412   >$cache_file
2413 fi
2414
2415 # Check that the precious variables saved in the cache have kept the same
2416 # value.
2417 ac_cache_corrupted=false
2418 for ac_var in $ac_precious_vars; do
2419   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420   eval ac_new_set=\$ac_env_${ac_var}_set
2421   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422   eval ac_new_val=\$ac_env_${ac_var}_value
2423   case $ac_old_set,$ac_new_set in
2424     set,)
2425       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427       ac_cache_corrupted=: ;;
2428     ,set)
2429       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431       ac_cache_corrupted=: ;;
2432     ,);;
2433     *)
2434       if test "x$ac_old_val" != "x$ac_new_val"; then
2435         # differences in whitespace do not lead to failure.
2436         ac_old_val_w=`echo x $ac_old_val`
2437         ac_new_val_w=`echo x $ac_new_val`
2438         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441           ac_cache_corrupted=:
2442         else
2443           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445           eval $ac_var=\$ac_old_val
2446         fi
2447         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2448 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2449         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2450 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2451       fi;;
2452   esac
2453   # Pass precious variables to config.status.
2454   if test "$ac_new_set" = set; then
2455     case $ac_new_val in
2456     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457     *) ac_arg=$ac_var=$ac_new_val ;;
2458     esac
2459     case " $ac_configure_args " in
2460       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2461       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2462     esac
2463   fi
2464 done
2465 if $ac_cache_corrupted; then
2466   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2471 fi
2472 ## -------------------- ##
2473 ## Main body of script. ##
2474 ## -------------------- ##
2475
2476 ac_ext=c
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2481
2482
2483
2484
2485
2486
2487 ac_config_headers="$ac_config_headers config.h"
2488
2489
2490 libtool_VERSION=1:0:0
2491
2492
2493 # Default to --enable-multilib
2494 # Check whether --enable-multilib was given.
2495 if test "${enable_multilib+set}" = set; then :
2496   enableval=$enable_multilib; case "$enableval" in
2497   yes) multilib=yes ;;
2498   no)  multilib=no ;;
2499   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2500  esac
2501 else
2502   multilib=yes
2503 fi
2504
2505
2506 # We may get other options which we leave undocumented:
2507 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2508 # See config-ml.in if you want the gory details.
2509
2510 if test "$srcdir" = "."; then
2511   if test "$with_target_subdir" != "."; then
2512     multi_basedir="$srcdir/$with_multisrctop../.."
2513   else
2514     multi_basedir="$srcdir/$with_multisrctop.."
2515   fi
2516 else
2517   multi_basedir="$srcdir/.."
2518 fi
2519
2520
2521 # Even if the default multilib is not a cross compilation,
2522 # it may be that some of the other multilibs are.
2523 if test $cross_compiling = no && test $multilib = yes \
2524    && test "x${with_multisubdir}" != x ; then
2525    cross_compiling=maybe
2526 fi
2527
2528 ac_config_commands="$ac_config_commands default-1"
2529
2530
2531 ac_aux_dir=
2532 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2533   for ac_t in install-sh install.sh shtool; do
2534     if test -f "$ac_dir/$ac_t"; then
2535       ac_aux_dir=$ac_dir
2536       ac_install_sh="$ac_aux_dir/$ac_t -c"
2537       break 2
2538     fi
2539   done
2540 done
2541 if test -z "$ac_aux_dir"; then
2542   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2543 fi
2544
2545 # These three variables are undocumented and unsupported,
2546 # and are intended to be withdrawn in a future Autoconf release.
2547 # They can cause serious problems if a builder's source tree is in a directory
2548 # whose full name contains unusual characters.
2549 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2550 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2551 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2552
2553
2554 # Make sure we can run config.sub.
2555 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2556   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2557
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2559 $as_echo_n "checking build system type... " >&6; }
2560 if test "${ac_cv_build+set}" = set; then :
2561   $as_echo_n "(cached) " >&6
2562 else
2563   ac_build_alias=$build_alias
2564 test "x$ac_build_alias" = x &&
2565   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2566 test "x$ac_build_alias" = x &&
2567   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2568 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2570
2571 fi
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2573 $as_echo "$ac_cv_build" >&6; }
2574 case $ac_cv_build in
2575 *-*-*) ;;
2576 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2577 esac
2578 build=$ac_cv_build
2579 ac_save_IFS=$IFS; IFS='-'
2580 set x $ac_cv_build
2581 shift
2582 build_cpu=$1
2583 build_vendor=$2
2584 shift; shift
2585 # Remember, the first character of IFS is used to create $*,
2586 # except with old shells:
2587 build_os=$*
2588 IFS=$ac_save_IFS
2589 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2590
2591
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2593 $as_echo_n "checking host system type... " >&6; }
2594 if test "${ac_cv_host+set}" = set; then :
2595   $as_echo_n "(cached) " >&6
2596 else
2597   if test "x$host_alias" = x; then
2598   ac_cv_host=$ac_cv_build
2599 else
2600   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2601     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2602 fi
2603
2604 fi
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2606 $as_echo "$ac_cv_host" >&6; }
2607 case $ac_cv_host in
2608 *-*-*) ;;
2609 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2610 esac
2611 host=$ac_cv_host
2612 ac_save_IFS=$IFS; IFS='-'
2613 set x $ac_cv_host
2614 shift
2615 host_cpu=$1
2616 host_vendor=$2
2617 shift; shift
2618 # Remember, the first character of IFS is used to create $*,
2619 # except with old shells:
2620 host_os=$*
2621 IFS=$ac_save_IFS
2622 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2623
2624
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2626 $as_echo_n "checking target system type... " >&6; }
2627 if test "${ac_cv_target+set}" = set; then :
2628   $as_echo_n "(cached) " >&6
2629 else
2630   if test "x$target_alias" = x; then
2631   ac_cv_target=$ac_cv_host
2632 else
2633   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2634     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2635 fi
2636
2637 fi
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2639 $as_echo "$ac_cv_target" >&6; }
2640 case $ac_cv_target in
2641 *-*-*) ;;
2642 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2643 esac
2644 target=$ac_cv_target
2645 ac_save_IFS=$IFS; IFS='-'
2646 set x $ac_cv_target
2647 shift
2648 target_cpu=$1
2649 target_vendor=$2
2650 shift; shift
2651 # Remember, the first character of IFS is used to create $*,
2652 # except with old shells:
2653 target_os=$*
2654 IFS=$ac_save_IFS
2655 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2656
2657
2658 # The aliases save the names the user supplied, while $host etc.
2659 # will get canonicalized.
2660 test -n "$target_alias" &&
2661   test "$program_prefix$program_suffix$program_transform_name" = \
2662     NONENONEs,x,x, &&
2663   program_prefix=${target_alias}-
2664
2665 target_alias=${target_alias-$host_alias}
2666
2667 am__api_version='1.11'
2668
2669 # Find a good install program.  We prefer a C program (faster),
2670 # so one script is as good as another.  But avoid the broken or
2671 # incompatible versions:
2672 # SysV /etc/install, /usr/sbin/install
2673 # SunOS /usr/etc/install
2674 # IRIX /sbin/install
2675 # AIX /bin/install
2676 # AmigaOS /C/install, which installs bootblocks on floppy discs
2677 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2678 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2679 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2680 # OS/2's system install, which has a completely different semantic
2681 # ./install, which can be erroneously created by make from ./install.sh.
2682 # Reject install programs that cannot install multiple files.
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2684 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2685 if test -z "$INSTALL"; then
2686 if test "${ac_cv_path_install+set}" = set; then :
2687   $as_echo_n "(cached) " >&6
2688 else
2689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH
2691 do
2692   IFS=$as_save_IFS
2693   test -z "$as_dir" && as_dir=.
2694     # Account for people who put trailing slashes in PATH elements.
2695 case $as_dir/ in #((
2696   ./ | .// | /[cC]/* | \
2697   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2698   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2699   /usr/ucb/* ) ;;
2700   *)
2701     # OSF1 and SCO ODT 3.0 have their own names for install.
2702     # Don't use installbsd from OSF since it installs stuff as root
2703     # by default.
2704     for ac_prog in ginstall scoinst install; do
2705       for ac_exec_ext in '' $ac_executable_extensions; do
2706         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2707           if test $ac_prog = install &&
2708             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2709             # AIX install.  It has an incompatible calling convention.
2710             :
2711           elif test $ac_prog = install &&
2712             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2713             # program-specific install script used by HP pwplus--don't use.
2714             :
2715           else
2716             rm -rf conftest.one conftest.two conftest.dir
2717             echo one > conftest.one
2718             echo two > conftest.two
2719             mkdir conftest.dir
2720             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2721               test -s conftest.one && test -s conftest.two &&
2722               test -s conftest.dir/conftest.one &&
2723               test -s conftest.dir/conftest.two
2724             then
2725               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2726               break 3
2727             fi
2728           fi
2729         fi
2730       done
2731     done
2732     ;;
2733 esac
2734
2735   done
2736 IFS=$as_save_IFS
2737
2738 rm -rf conftest.one conftest.two conftest.dir
2739
2740 fi
2741   if test "${ac_cv_path_install+set}" = set; then
2742     INSTALL=$ac_cv_path_install
2743   else
2744     # As a last resort, use the slow shell script.  Don't cache a
2745     # value for INSTALL within a source directory, because that will
2746     # break other packages using the cache if that directory is
2747     # removed, or if the value is a relative name.
2748     INSTALL=$ac_install_sh
2749   fi
2750 fi
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2752 $as_echo "$INSTALL" >&6; }
2753
2754 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2755 # It thinks the first close brace ends the variable substitution.
2756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2757
2758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2759
2760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2761
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2763 $as_echo_n "checking whether build environment is sane... " >&6; }
2764 # Just in case
2765 sleep 1
2766 echo timestamp > conftest.file
2767 # Reject unsafe characters in $srcdir or the absolute working directory
2768 # name.  Accept space and tab only in the latter.
2769 am_lf='
2770 '
2771 case `pwd` in
2772   *[\\\"\#\$\&\'\`$am_lf]*)
2773     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2774 esac
2775 case $srcdir in
2776   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2777     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2778 esac
2779
2780 # Do `set' in a subshell so we don't clobber the current shell's
2781 # arguments.  Must try -L first in case configure is actually a
2782 # symlink; some systems play weird games with the mod time of symlinks
2783 # (eg FreeBSD returns the mod time of the symlink's containing
2784 # directory).
2785 if (
2786    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2787    if test "$*" = "X"; then
2788       # -L didn't work.
2789       set X `ls -t "$srcdir/configure" conftest.file`
2790    fi
2791    rm -f conftest.file
2792    if test "$*" != "X $srcdir/configure conftest.file" \
2793       && test "$*" != "X conftest.file $srcdir/configure"; then
2794
2795       # If neither matched, then we have a broken ls.  This can happen
2796       # if, for instance, CONFIG_SHELL is bash and it inherits a
2797       # broken ls alias from the environment.  This has actually
2798       # happened.  Such a system could not be considered "sane".
2799       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2800 alias in your environment" "$LINENO" 5
2801    fi
2802
2803    test "$2" = conftest.file
2804    )
2805 then
2806    # Ok.
2807    :
2808 else
2809    as_fn_error "newly created file is older than distributed files!
2810 Check your system clock" "$LINENO" 5
2811 fi
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813 $as_echo "yes" >&6; }
2814 test "$program_prefix" != NONE &&
2815   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2816 # Use a double $ so make ignores it.
2817 test "$program_suffix" != NONE &&
2818   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2819 # Double any \ or $.
2820 # By default was `s,x,x', remove it if useless.
2821 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2822 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2823
2824 # expand $ac_aux_dir to an absolute path
2825 am_aux_dir=`cd $ac_aux_dir && pwd`
2826
2827 if test x"${MISSING+set}" != xset; then
2828   case $am_aux_dir in
2829   *\ * | *\     *)
2830     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2831   *)
2832     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2833   esac
2834 fi
2835 # Use eval to expand $SHELL
2836 if eval "$MISSING --run true"; then
2837   am_missing_run="$MISSING --run "
2838 else
2839   am_missing_run=
2840   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2841 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2842 fi
2843
2844 if test x"${install_sh}" != xset; then
2845   case $am_aux_dir in
2846   *\ * | *\     *)
2847     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2848   *)
2849     install_sh="\${SHELL} $am_aux_dir/install-sh"
2850   esac
2851 fi
2852
2853 # Installed binaries are usually stripped using `strip' when the user
2854 # run `make install-strip'.  However `strip' might not be the right
2855 # tool to use in cross-compilation environments, therefore Automake
2856 # will honor the `STRIP' environment variable to overrule this program.
2857 if test "$cross_compiling" != no; then
2858   if test -n "$ac_tool_prefix"; then
2859   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2860 set dummy ${ac_tool_prefix}strip; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if test "${ac_cv_prog_STRIP+set}" = set; then :
2864   $as_echo_n "(cached) " >&6
2865 else
2866   if test -n "$STRIP"; then
2867   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2868 else
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 for as_dir in $PATH
2871 do
2872   IFS=$as_save_IFS
2873   test -z "$as_dir" && as_dir=.
2874     for ac_exec_ext in '' $ac_executable_extensions; do
2875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878     break 2
2879   fi
2880 done
2881   done
2882 IFS=$as_save_IFS
2883
2884 fi
2885 fi
2886 STRIP=$ac_cv_prog_STRIP
2887 if test -n "$STRIP"; then
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2889 $as_echo "$STRIP" >&6; }
2890 else
2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2893 fi
2894
2895
2896 fi
2897 if test -z "$ac_cv_prog_STRIP"; then
2898   ac_ct_STRIP=$STRIP
2899   # Extract the first word of "strip", so it can be a program name with args.
2900 set dummy strip; ac_word=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2904   $as_echo_n "(cached) " >&6
2905 else
2906   if test -n "$ac_ct_STRIP"; then
2907   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2908 else
2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 for as_dir in $PATH
2911 do
2912   IFS=$as_save_IFS
2913   test -z "$as_dir" && as_dir=.
2914     for ac_exec_ext in '' $ac_executable_extensions; do
2915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2916     ac_cv_prog_ac_ct_STRIP="strip"
2917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918     break 2
2919   fi
2920 done
2921   done
2922 IFS=$as_save_IFS
2923
2924 fi
2925 fi
2926 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2927 if test -n "$ac_ct_STRIP"; then
2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2929 $as_echo "$ac_ct_STRIP" >&6; }
2930 else
2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2933 fi
2934
2935   if test "x$ac_ct_STRIP" = x; then
2936     STRIP=":"
2937   else
2938     case $cross_compiling:$ac_tool_warned in
2939 yes:)
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2942 ac_tool_warned=yes ;;
2943 esac
2944     STRIP=$ac_ct_STRIP
2945   fi
2946 else
2947   STRIP="$ac_cv_prog_STRIP"
2948 fi
2949
2950 fi
2951 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2952
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2954 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2955 if test -z "$MKDIR_P"; then
2956   if test "${ac_cv_path_mkdir+set}" = set; then :
2957   $as_echo_n "(cached) " >&6
2958 else
2959   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2961 do
2962   IFS=$as_save_IFS
2963   test -z "$as_dir" && as_dir=.
2964     for ac_prog in mkdir gmkdir; do
2965          for ac_exec_ext in '' $ac_executable_extensions; do
2966            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2967            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2968              'mkdir (GNU coreutils) '* | \
2969              'mkdir (coreutils) '* | \
2970              'mkdir (fileutils) '4.1*)
2971                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2972                break 3;;
2973            esac
2974          done
2975        done
2976   done
2977 IFS=$as_save_IFS
2978
2979 fi
2980
2981   if test "${ac_cv_path_mkdir+set}" = set; then
2982     MKDIR_P="$ac_cv_path_mkdir -p"
2983   else
2984     # As a last resort, use the slow shell script.  Don't cache a
2985     # value for MKDIR_P within a source directory, because that will
2986     # break other packages using the cache if that directory is
2987     # removed, or if the value is a relative name.
2988     test -d ./--version && rmdir ./--version
2989     MKDIR_P="$ac_install_sh -d"
2990   fi
2991 fi
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2993 $as_echo "$MKDIR_P" >&6; }
2994
2995 mkdir_p="$MKDIR_P"
2996 case $mkdir_p in
2997   [\\/$]* | ?:[\\/]*) ;;
2998   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2999 esac
3000
3001 for ac_prog in gawk mawk nawk awk
3002 do
3003   # Extract the first word of "$ac_prog", so it can be a program name with args.
3004 set dummy $ac_prog; ac_word=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if test "${ac_cv_prog_AWK+set}" = set; then :
3008   $as_echo_n "(cached) " >&6
3009 else
3010   if test -n "$AWK"; then
3011   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3012 else
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH
3015 do
3016   IFS=$as_save_IFS
3017   test -z "$as_dir" && as_dir=.
3018     for ac_exec_ext in '' $ac_executable_extensions; do
3019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020     ac_cv_prog_AWK="$ac_prog"
3021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022     break 2
3023   fi
3024 done
3025   done
3026 IFS=$as_save_IFS
3027
3028 fi
3029 fi
3030 AWK=$ac_cv_prog_AWK
3031 if test -n "$AWK"; then
3032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3033 $as_echo "$AWK" >&6; }
3034 else
3035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3037 fi
3038
3039
3040   test -n "$AWK" && break
3041 done
3042
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3044 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3045 set x ${MAKE-make}
3046 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3047 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3048   $as_echo_n "(cached) " >&6
3049 else
3050   cat >conftest.make <<\_ACEOF
3051 SHELL = /bin/sh
3052 all:
3053         @echo '@@@%%%=$(MAKE)=@@@%%%'
3054 _ACEOF
3055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3056 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3057   *@@@%%%=?*=@@@%%%*)
3058     eval ac_cv_prog_make_${ac_make}_set=yes;;
3059   *)
3060     eval ac_cv_prog_make_${ac_make}_set=no;;
3061 esac
3062 rm -f conftest.make
3063 fi
3064 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3066 $as_echo "yes" >&6; }
3067   SET_MAKE=
3068 else
3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3071   SET_MAKE="MAKE=${MAKE-make}"
3072 fi
3073
3074 rm -rf .tst 2>/dev/null
3075 mkdir .tst 2>/dev/null
3076 if test -d .tst; then
3077   am__leading_dot=.
3078 else
3079   am__leading_dot=_
3080 fi
3081 rmdir .tst 2>/dev/null
3082
3083 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3084   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3085   # is not polluted with repeated "-I."
3086   am__isrc=' -I$(srcdir)'
3087   # test to see if srcdir already configured
3088   if test -f $srcdir/config.status; then
3089     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3090   fi
3091 fi
3092
3093 # test whether we have cygpath
3094 if test -z "$CYGPATH_W"; then
3095   if (cygpath --version) >/dev/null 2>/dev/null; then
3096     CYGPATH_W='cygpath -w'
3097   else
3098     CYGPATH_W=echo
3099   fi
3100 fi
3101
3102
3103 # Define the identity of the package.
3104  PACKAGE='libgo'
3105  VERSION='version-unused'
3106
3107
3108 # Some tools Automake needs.
3109
3110 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3111
3112
3113 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3114
3115
3116 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3117
3118
3119 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3120
3121
3122 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3123
3124 # We need awk for the "check" target.  The system "awk" is bad on
3125 # some platforms.
3126 # Always define AMTAR for backward compatibility.
3127
3128 AMTAR=${AMTAR-"${am_missing_run}tar"}
3129
3130 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141 ac_ext=c
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 if test -n "$ac_tool_prefix"; then
3147   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3148 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if test "${ac_cv_prog_CC+set}" = set; then :
3152   $as_echo_n "(cached) " >&6
3153 else
3154   if test -n "$CC"; then
3155   ac_cv_prog_CC="$CC" # Let the user override the test.
3156 else
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 for as_dir in $PATH
3159 do
3160   IFS=$as_save_IFS
3161   test -z "$as_dir" && as_dir=.
3162     for ac_exec_ext in '' $ac_executable_extensions; do
3163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166     break 2
3167   fi
3168 done
3169   done
3170 IFS=$as_save_IFS
3171
3172 fi
3173 fi
3174 CC=$ac_cv_prog_CC
3175 if test -n "$CC"; then
3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3177 $as_echo "$CC" >&6; }
3178 else
3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3181 fi
3182
3183
3184 fi
3185 if test -z "$ac_cv_prog_CC"; then
3186   ac_ct_CC=$CC
3187   # Extract the first word of "gcc", so it can be a program name with args.
3188 set dummy gcc; ac_word=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3192   $as_echo_n "(cached) " >&6
3193 else
3194   if test -n "$ac_ct_CC"; then
3195   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3199 do
3200   IFS=$as_save_IFS
3201   test -z "$as_dir" && as_dir=.
3202     for ac_exec_ext in '' $ac_executable_extensions; do
3203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204     ac_cv_prog_ac_ct_CC="gcc"
3205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206     break 2
3207   fi
3208 done
3209   done
3210 IFS=$as_save_IFS
3211
3212 fi
3213 fi
3214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3215 if test -n "$ac_ct_CC"; then
3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3217 $as_echo "$ac_ct_CC" >&6; }
3218 else
3219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3221 fi
3222
3223   if test "x$ac_ct_CC" = x; then
3224     CC=""
3225   else
3226     case $cross_compiling:$ac_tool_warned in
3227 yes:)
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3230 ac_tool_warned=yes ;;
3231 esac
3232     CC=$ac_ct_CC
3233   fi
3234 else
3235   CC="$ac_cv_prog_CC"
3236 fi
3237
3238 if test -z "$CC"; then
3239           if test -n "$ac_tool_prefix"; then
3240     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3241 set dummy ${ac_tool_prefix}cc; ac_word=$2
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243 $as_echo_n "checking for $ac_word... " >&6; }
3244 if test "${ac_cv_prog_CC+set}" = set; then :
3245   $as_echo_n "(cached) " >&6
3246 else
3247   if test -n "$CC"; then
3248   ac_cv_prog_CC="$CC" # Let the user override the test.
3249 else
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 for as_dir in $PATH
3252 do
3253   IFS=$as_save_IFS
3254   test -z "$as_dir" && as_dir=.
3255     for ac_exec_ext in '' $ac_executable_extensions; do
3256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257     ac_cv_prog_CC="${ac_tool_prefix}cc"
3258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259     break 2
3260   fi
3261 done
3262   done
3263 IFS=$as_save_IFS
3264
3265 fi
3266 fi
3267 CC=$ac_cv_prog_CC
3268 if test -n "$CC"; then
3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3270 $as_echo "$CC" >&6; }
3271 else
3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3274 fi
3275
3276
3277   fi
3278 fi
3279 if test -z "$CC"; then
3280   # Extract the first word of "cc", so it can be a program name with args.
3281 set dummy cc; ac_word=$2
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if test "${ac_cv_prog_CC+set}" = set; then :
3285   $as_echo_n "(cached) " >&6
3286 else
3287   if test -n "$CC"; then
3288   ac_cv_prog_CC="$CC" # Let the user override the test.
3289 else
3290   ac_prog_rejected=no
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH
3293 do
3294   IFS=$as_save_IFS
3295   test -z "$as_dir" && as_dir=.
3296     for ac_exec_ext in '' $ac_executable_extensions; do
3297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3299        ac_prog_rejected=yes
3300        continue
3301      fi
3302     ac_cv_prog_CC="cc"
3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304     break 2
3305   fi
3306 done
3307   done
3308 IFS=$as_save_IFS
3309
3310 if test $ac_prog_rejected = yes; then
3311   # We found a bogon in the path, so make sure we never use it.
3312   set dummy $ac_cv_prog_CC
3313   shift
3314   if test $# != 0; then
3315     # We chose a different compiler from the bogus one.
3316     # However, it has the same basename, so the bogon will be chosen
3317     # first if we set CC to just the basename; use the full file name.
3318     shift
3319     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3320   fi
3321 fi
3322 fi
3323 fi
3324 CC=$ac_cv_prog_CC
3325 if test -n "$CC"; then
3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3327 $as_echo "$CC" >&6; }
3328 else
3329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 fi
3332
3333
3334 fi
3335 if test -z "$CC"; then
3336   if test -n "$ac_tool_prefix"; then
3337   for ac_prog in cl.exe
3338   do
3339     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if test "${ac_cv_prog_CC+set}" = set; then :
3344   $as_echo_n "(cached) " >&6
3345 else
3346   if test -n "$CC"; then
3347   ac_cv_prog_CC="$CC" # Let the user override the test.
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH
3351 do
3352   IFS=$as_save_IFS
3353   test -z "$as_dir" && as_dir=.
3354     for ac_exec_ext in '' $ac_executable_extensions; do
3355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3358     break 2
3359   fi
3360 done
3361   done
3362 IFS=$as_save_IFS
3363
3364 fi
3365 fi
3366 CC=$ac_cv_prog_CC
3367 if test -n "$CC"; then
3368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3369 $as_echo "$CC" >&6; }
3370 else
3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3373 fi
3374
3375
3376     test -n "$CC" && break
3377   done
3378 fi
3379 if test -z "$CC"; then
3380   ac_ct_CC=$CC
3381   for ac_prog in cl.exe
3382 do
3383   # Extract the first word of "$ac_prog", so it can be a program name with args.
3384 set dummy $ac_prog; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3388   $as_echo_n "(cached) " >&6
3389 else
3390   if test -n "$ac_ct_CC"; then
3391   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3395 do
3396   IFS=$as_save_IFS
3397   test -z "$as_dir" && as_dir=.
3398     for ac_exec_ext in '' $ac_executable_extensions; do
3399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400     ac_cv_prog_ac_ct_CC="$ac_prog"
3401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402     break 2
3403   fi
3404 done
3405   done
3406 IFS=$as_save_IFS
3407
3408 fi
3409 fi
3410 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3411 if test -n "$ac_ct_CC"; then
3412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3413 $as_echo "$ac_ct_CC" >&6; }
3414 else
3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3417 fi
3418
3419
3420   test -n "$ac_ct_CC" && break
3421 done
3422
3423   if test "x$ac_ct_CC" = x; then
3424     CC=""
3425   else
3426     case $cross_compiling:$ac_tool_warned in
3427 yes:)
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3430 ac_tool_warned=yes ;;
3431 esac
3432     CC=$ac_ct_CC
3433   fi
3434 fi
3435
3436 fi
3437
3438
3439 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 as_fn_error "no acceptable C compiler found in \$PATH
3442 See \`config.log' for more details." "$LINENO" 5; }
3443
3444 # Provide some information about the compiler.
3445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3446 set X $ac_compile
3447 ac_compiler=$2
3448 for ac_option in --version -v -V -qversion; do
3449   { { ac_try="$ac_compiler $ac_option >&5"
3450 case "(($ac_try" in
3451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452   *) ac_try_echo=$ac_try;;
3453 esac
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3457   ac_status=$?
3458   if test -s conftest.err; then
3459     sed '10a\
3460 ... rest of stderr output deleted ...
3461          10q' conftest.err >conftest.er1
3462     cat conftest.er1 >&5
3463     rm -f conftest.er1 conftest.err
3464   fi
3465   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466   test $ac_status = 0; }
3467 done
3468
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h.  */
3471
3472 int
3473 main ()
3474 {
3475
3476   ;
3477   return 0;
3478 }
3479 _ACEOF
3480 ac_clean_files_save=$ac_clean_files
3481 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3482 # Try to create an executable without -o first, disregard a.out.
3483 # It will help us diagnose broken compilers, and finding out an intuition
3484 # of exeext.
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3486 $as_echo_n "checking for C compiler default output file name... " >&6; }
3487 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3488
3489 # The possible output files:
3490 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3491
3492 ac_rmfiles=
3493 for ac_file in $ac_files
3494 do
3495   case $ac_file in
3496     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3497     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3498   esac
3499 done
3500 rm -f $ac_rmfiles
3501
3502 if { { ac_try="$ac_link_default"
3503 case "(($ac_try" in
3504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505   *) ac_try_echo=$ac_try;;
3506 esac
3507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509   (eval "$ac_link_default") 2>&5
3510   ac_status=$?
3511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512   test $ac_status = 0; }; then :
3513   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3514 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3515 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3516 # so that the user can short-circuit this test for compilers unknown to
3517 # Autoconf.
3518 for ac_file in $ac_files ''
3519 do
3520   test -f "$ac_file" || continue
3521   case $ac_file in
3522     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3523         ;;
3524     [ab].out )
3525         # We found the default executable, but exeext='' is most
3526         # certainly right.
3527         break;;
3528     *.* )
3529         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3530         then :; else
3531            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3532         fi
3533         # We set ac_cv_exeext here because the later test for it is not
3534         # safe: cross compilers may not add the suffix if given an `-o'
3535         # argument, so we may need to know it at that point already.
3536         # Even if this section looks crufty: it has the advantage of
3537         # actually working.
3538         break;;
3539     * )
3540         break;;
3541   esac
3542 done
3543 test "$ac_cv_exeext" = no && ac_cv_exeext=
3544
3545 else
3546   ac_file=''
3547 fi
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3549 $as_echo "$ac_file" >&6; }
3550 if test -z "$ac_file"; then :
3551   $as_echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3553
3554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556 { as_fn_set_status 77
3557 as_fn_error "C compiler cannot create executables
3558 See \`config.log' for more details." "$LINENO" 5; }; }
3559 fi
3560 ac_exeext=$ac_cv_exeext
3561
3562 # Check that the compiler produces executables we can run.  If not, either
3563 # the compiler is broken, or we cross compile.
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3565 $as_echo_n "checking whether the C compiler works... " >&6; }
3566 # If not cross compiling, check that we can run a simple program.
3567 if test "$cross_compiling" != yes; then
3568   if { ac_try='./$ac_file'
3569   { { case "(($ac_try" in
3570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571   *) ac_try_echo=$ac_try;;
3572 esac
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575   (eval "$ac_try") 2>&5
3576   ac_status=$?
3577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578   test $ac_status = 0; }; }; then
3579     cross_compiling=no
3580   else
3581     if test "$cross_compiling" = maybe; then
3582         cross_compiling=yes
3583     else
3584         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error "cannot run C compiled programs.
3587 If you meant to cross compile, use \`--host'.
3588 See \`config.log' for more details." "$LINENO" 5; }
3589     fi
3590   fi
3591 fi
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3594
3595 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3596 ac_clean_files=$ac_clean_files_save
3597 # Check that the compiler produces executables we can run.  If not, either
3598 # the compiler is broken, or we cross compile.
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3600 $as_echo_n "checking whether we are cross compiling... " >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3602 $as_echo "$cross_compiling" >&6; }
3603
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3605 $as_echo_n "checking for suffix of executables... " >&6; }
3606 if { { ac_try="$ac_link"
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:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613   (eval "$ac_link") 2>&5
3614   ac_status=$?
3615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616   test $ac_status = 0; }; then :
3617   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3618 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3619 # work properly (i.e., refer to `conftest.exe'), while it won't with
3620 # `rm'.
3621 for ac_file in conftest.exe conftest conftest.*; do
3622   test -f "$ac_file" || continue
3623   case $ac_file in
3624     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3625     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3626           break;;
3627     * ) break;;
3628   esac
3629 done
3630 else
3631   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 as_fn_error "cannot compute suffix of executables: cannot compile and link
3634 See \`config.log' for more details." "$LINENO" 5; }
3635 fi
3636 rm -f conftest$ac_cv_exeext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3638 $as_echo "$ac_cv_exeext" >&6; }
3639
3640 rm -f conftest.$ac_ext
3641 EXEEXT=$ac_cv_exeext
3642 ac_exeext=$EXEEXT
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3644 $as_echo_n "checking for suffix of object files... " >&6; }
3645 if test "${ac_cv_objext+set}" = set; then :
3646   $as_echo_n "(cached) " >&6
3647 else
3648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h.  */
3650
3651 int
3652 main ()
3653 {
3654
3655   ;
3656   return 0;
3657 }
3658 _ACEOF
3659 rm -f conftest.o conftest.obj
3660 if { { ac_try="$ac_compile"
3661 case "(($ac_try" in
3662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663   *) ac_try_echo=$ac_try;;
3664 esac
3665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666 $as_echo "$ac_try_echo"; } >&5
3667   (eval "$ac_compile") 2>&5
3668   ac_status=$?
3669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670   test $ac_status = 0; }; then :
3671   for ac_file in conftest.o conftest.obj conftest.*; do
3672   test -f "$ac_file" || continue;
3673   case $ac_file in
3674     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3675     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3676        break;;
3677   esac
3678 done
3679 else
3680   $as_echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3682
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error "cannot compute suffix of object files: cannot compile
3686 See \`config.log' for more details." "$LINENO" 5; }
3687 fi
3688 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3689 fi
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3691 $as_echo "$ac_cv_objext" >&6; }
3692 OBJEXT=$ac_cv_objext
3693 ac_objext=$OBJEXT
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3695 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3696 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3697   $as_echo_n "(cached) " >&6
3698 else
3699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h.  */
3701
3702 int
3703 main ()
3704 {
3705 #ifndef __GNUC__
3706        choke me
3707 #endif
3708
3709   ;
3710   return 0;
3711 }
3712 _ACEOF
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714   ac_compiler_gnu=yes
3715 else
3716   ac_compiler_gnu=no
3717 fi
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3720
3721 fi
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3723 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3724 if test $ac_compiler_gnu = yes; then
3725   GCC=yes
3726 else
3727   GCC=
3728 fi
3729 ac_test_CFLAGS=${CFLAGS+set}
3730 ac_save_CFLAGS=$CFLAGS
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3732 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3733 if test "${ac_cv_prog_cc_g+set}" = set; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736   ac_save_c_werror_flag=$ac_c_werror_flag
3737    ac_c_werror_flag=yes
3738    ac_cv_prog_cc_g=no
3739    CFLAGS="-g"
3740    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h.  */
3742
3743 int
3744 main ()
3745 {
3746
3747   ;
3748   return 0;
3749 }
3750 _ACEOF
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752   ac_cv_prog_cc_g=yes
3753 else
3754   CFLAGS=""
3755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h.  */
3757
3758 int
3759 main ()
3760 {
3761
3762   ;