* configure.ac: Add new --with-gold-ldadd and --with-gold-ldflags
[platform/upstream/binutils.git] / gold / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gold 0.1.
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   if (eval "$as_required") 2>/dev/null; then :
174   as_have_required=yes
175 else
176   as_have_required=no
177 fi
178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185   IFS=$as_save_IFS
186   test -z "$as_dir" && as_dir=.
187   as_found=:
188   case $as_dir in #(
189          /*)
190            for as_base in sh bash ksh sh5; do
191              # Try only shells that exist, to save several forks.
192              as_shell=$as_dir/$as_base
193              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195   CONFIG_SHELL=$as_shell as_have_required=yes
196                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   break 2
198 fi
199 fi
200            done;;
201        esac
202   as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206   CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211       if test "x$CONFIG_SHELL" != x; then :
212   # We cannot yet assume a decent shell, so we have to provide a
213         # neutralization value for shells without unset; and this also
214         # works around shells that cannot unset nonexistent variables.
215         BASH_ENV=/dev/null
216         ENV=/dev/null
217         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218         export CONFIG_SHELL
219         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222     if test x$as_have_required = xno; then :
223   $as_echo "$0: This script requires a shell more modern than all"
224   $as_echo "$0: the shells that I found on your system."
225   if test x${ZSH_VERSION+set} = xset ; then
226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228   else
229     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233   fi
234   exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252   { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261   return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269   set +e
270   as_fn_set_status $1
271   exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280   case $as_dir in #(
281   -*) as_dir=./$as_dir;;
282   esac
283   test -d "$as_dir" || eval $as_mkdir_p || {
284     as_dirs=
285     while :; do
286       case $as_dir in #(
287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288       *) as_qdir=$as_dir;;
289       esac
290       as_dirs="'$as_qdir' $as_dirs"
291       as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293          X"$as_dir" : 'X\(//\)[^/]' \| \
294          X"$as_dir" : 'X\(//\)$' \| \
295          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298             s//\1/
299             q
300           }
301           /^X\(\/\/\)[^/].*/{
302             s//\1/
303             q
304           }
305           /^X\(\/\/\)$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\).*/{
310             s//\1/
311             q
312           }
313           s/.*/./; q'`
314       test -d "$as_dir" && break
315     done
316     test -z "$as_dirs" || eval "mkdir $as_dirs"
317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328   eval 'as_fn_append ()
329   {
330     eval $1+=\$2
331   }'
332 else
333   as_fn_append ()
334   {
335     eval $1=\$$1\$2
336   }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345   eval 'as_fn_arith ()
346   {
347     as_val=$(( $* ))
348   }'
349 else
350   as_fn_arith ()
351   {
352     as_val=`expr "$@" || test $? -eq 1`
353   }
354 fi # as_fn_arith
355
356
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
363 {
364   as_status=$?; test $as_status -eq 0 && as_status=1
365   if test "$3"; then
366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368   fi
369   $as_echo "$as_me: error: $1" >&2
370   as_fn_exit $as_status
371 } # as_fn_error
372
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
375   as_expr=expr
376 else
377   as_expr=false
378 fi
379
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381   as_basename=basename
382 else
383   as_basename=false
384 fi
385
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387   as_dirname=dirname
388 else
389   as_dirname=false
390 fi
391
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394          X"$0" : 'X\(//\)$' \| \
395          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397     sed '/^.*\/\([^/][^/]*\)\/*$/{
398             s//\1/
399             q
400           }
401           /^X\/\(\/\/\)$/{
402             s//\1/
403             q
404           }
405           /^X\/\(\/\).*/{
406             s//\1/
407             q
408           }
409           s/.*/./; q'`
410
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424   sed -n '
425     p
426     /[$]LINENO/=
427   ' <$as_myself |
428     sed '
429       s/[$]LINENO.*/&-/
430       t lineno
431       b
432       :lineno
433       N
434       :loop
435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436       t loop
437       s/-\n.*//
438     ' >$as_me.lineno &&
439   chmod +x "$as_me.lineno" ||
440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441
442   # Don't try to exec as it changes $[0], causing all sort of problems
443   # (the dirname of $[0] is not the place where we might find the
444   # original and so on.  Autoconf is especially sensitive to this).
445   . "./$as_me.lineno"
446   # Exit status is that of the last command.
447   exit
448 }
449
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453   case `echo 'xy\c'` in
454   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455   xy)  ECHO_C='\c';;
456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457        ECHO_T=' ';;
458   esac;;
459 *)
460   ECHO_N='-n';;
461 esac
462
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465   rm -f conf$$.dir/conf$$.file
466 else
467   rm -f conf$$.dir
468   mkdir conf$$.dir 2>/dev/null
469 fi
470 if (echo >conf$$.file) 2>/dev/null; then
471   if ln -s conf$$.file conf$$ 2>/dev/null; then
472     as_ln_s='ln -s'
473     # ... but there are two gotchas:
474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476     # In both cases, we have to default to `cp -p'.
477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478       as_ln_s='cp -p'
479   elif ln conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s=ln
481   else
482     as_ln_s='cp -p'
483   fi
484 else
485   as_ln_s='cp -p'
486 fi
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
489
490 if mkdir -p . 2>/dev/null; then
491   as_mkdir_p='mkdir -p "$as_dir"'
492 else
493   test -d ./-p && rmdir ./-p
494   as_mkdir_p=false
495 fi
496
497 if test -x / >/dev/null 2>&1; then
498   as_test_x='test -x'
499 else
500   if ls -dL / >/dev/null 2>&1; then
501     as_ls_L_option=L
502   else
503     as_ls_L_option=
504   fi
505   as_test_x='
506     eval sh -c '\''
507       if test -d "$1"; then
508         test -d "$1/.";
509       else
510         case $1 in #(
511         -*)set "./$1";;
512         esac;
513         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514         ???[sx]*):;;*)false;;esac;fi
515     '\'' sh
516   '
517 fi
518 as_executable_p=$as_test_x
519
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
526
527 exec 7<&0 </dev/null 6>&1
528
529 # Name of the host.
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533
534 #
535 # Initializations.
536 #
537 ac_default_prefix=/usr/local
538 ac_clean_files=
539 ac_config_libobj_dir=.
540 LIBOBJS=
541 cross_compiling=no
542 subdirs=
543 MFLAGS=
544 MAKEFLAGS=
545
546 # Identity of this package.
547 PACKAGE_NAME='gold'
548 PACKAGE_TARNAME='gold'
549 PACKAGE_VERSION='0.1'
550 PACKAGE_STRING='gold 0.1'
551 PACKAGE_BUGREPORT=''
552 PACKAGE_URL=''
553
554 ac_unique_file="gold.cc"
555 # Factoring default headers for most tests.
556 ac_includes_default="\
557 #include <stdio.h>
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
560 #endif
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
563 #endif
564 #ifdef STDC_HEADERS
565 # include <stdlib.h>
566 # include <stddef.h>
567 #else
568 # ifdef HAVE_STDLIB_H
569 #  include <stdlib.h>
570 # endif
571 #endif
572 #ifdef HAVE_STRING_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
574 #  include <memory.h>
575 # endif
576 # include <string.h>
577 #endif
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
580 #endif
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
583 #endif
584 #ifdef HAVE_STDINT_H
585 # include <stdint.h>
586 #endif
587 #ifdef HAVE_UNISTD_H
588 # include <unistd.h>
589 #endif"
590
591 ac_subst_vars='am__EXEEXT_FALSE
592 am__EXEEXT_TRUE
593 LTLIBOBJS
594 MAINT
595 MAINTAINER_MODE_FALSE
596 MAINTAINER_MODE_TRUE
597 CXXCPP
598 HAVE_ZLIB_FALSE
599 HAVE_ZLIB_TRUE
600 LIBOBJS
601 LFS_CFLAGS
602 GOLD_LDADD
603 GOLD_LDFLAGS
604 WARN_CXXFLAGS
605 NO_WERROR
606 WARN_CFLAGS
607 IFUNC_STATIC_FALSE
608 IFUNC_STATIC_TRUE
609 IFUNC_FALSE
610 IFUNC_TRUE
611 RANDOM_SEED_CFLAGS
612 TLS_DESCRIPTORS_FALSE
613 TLS_DESCRIPTORS_TRUE
614 TLS_GNU2_DIALECT_FALSE
615 TLS_GNU2_DIALECT_TRUE
616 OMP_SUPPORT_FALSE
617 OMP_SUPPORT_TRUE
618 STATIC_TLS_FALSE
619 STATIC_TLS_TRUE
620 TLS_FALSE
621 TLS_TRUE
622 MCMODEL_MEDIUM_FALSE
623 MCMODEL_MEDIUM_TRUE
624 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
625 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
626 HAVE_STATIC_FALSE
627 HAVE_STATIC_TRUE
628 NATIVE_OR_CROSS_LINKER_FALSE
629 NATIVE_OR_CROSS_LINKER_TRUE
630 GCC_FALSE
631 GCC_TRUE
632 NATIVE_LINKER_FALSE
633 NATIVE_LINKER_TRUE
634 MSGMERGE
635 MSGFMT
636 MKINSTALLDIRS
637 CATOBJEXT
638 GENCAT
639 INSTOBJEXT
640 DATADIRNAME
641 CATALOGS
642 POSUB
643 GMSGFMT
644 XGETTEXT
645 INCINTL
646 LIBINTL_DEP
647 LIBINTL
648 USE_NLS
649 EGREP
650 GREP
651 CPP
652 LN_S
653 RANLIB
654 YFLAGS
655 YACC
656 am__fastdepCXX_FALSE
657 am__fastdepCXX_TRUE
658 CXXDEPMODE
659 ac_ct_CXX
660 CXXFLAGS
661 CXX
662 am__fastdepCC_FALSE
663 am__fastdepCC_TRUE
664 CCDEPMODE
665 AMDEPBACKSLASH
666 AMDEP_FALSE
667 AMDEP_TRUE
668 am__quote
669 am__include
670 DEPDIR
671 OBJEXT
672 EXEEXT
673 ac_ct_CC
674 CPPFLAGS
675 LDFLAGS
676 CFLAGS
677 CC
678 NM
679 TARGETOBJS
680 DEFAULT_TARGET_X86_64_FALSE
681 DEFAULT_TARGET_X86_64_TRUE
682 DEFAULT_TARGET_SPARC_FALSE
683 DEFAULT_TARGET_SPARC_TRUE
684 DEFAULT_TARGET_POWERPC_FALSE
685 DEFAULT_TARGET_POWERPC_TRUE
686 DEFAULT_TARGET_I386_FALSE
687 DEFAULT_TARGET_I386_TRUE
688 DEFAULT_TARGET_ARM_FALSE
689 DEFAULT_TARGET_ARM_TRUE
690 PLUGINS_FALSE
691 PLUGINS_TRUE
692 THREADS_FALSE
693 THREADS_TRUE
694 installed_linker
695 install_as_default
696 am__untar
697 am__tar
698 AMTAR
699 am__leading_dot
700 SET_MAKE
701 AWK
702 mkdir_p
703 MKDIR_P
704 INSTALL_STRIP_PROGRAM
705 STRIP
706 install_sh
707 MAKEINFO
708 AUTOHEADER
709 AUTOMAKE
710 AUTOCONF
711 ACLOCAL
712 VERSION
713 PACKAGE
714 CYGPATH_W
715 am__isrc
716 INSTALL_DATA
717 INSTALL_SCRIPT
718 INSTALL_PROGRAM
719 target_os
720 target_vendor
721 target_cpu
722 target
723 host_os
724 host_vendor
725 host_cpu
726 host
727 build_os
728 build_vendor
729 build_cpu
730 build
731 target_alias
732 host_alias
733 build_alias
734 LIBS
735 ECHO_T
736 ECHO_N
737 ECHO_C
738 DEFS
739 mandir
740 localedir
741 libdir
742 psdir
743 pdfdir
744 dvidir
745 htmldir
746 infodir
747 docdir
748 oldincludedir
749 includedir
750 localstatedir
751 sharedstatedir
752 sysconfdir
753 datadir
754 datarootdir
755 libexecdir
756 sbindir
757 bindir
758 program_transform_name
759 prefix
760 exec_prefix
761 PACKAGE_URL
762 PACKAGE_BUGREPORT
763 PACKAGE_STRING
764 PACKAGE_VERSION
765 PACKAGE_TARNAME
766 PACKAGE_NAME
767 PATH_SEPARATOR
768 SHELL'
769 ac_subst_files=''
770 ac_user_opts='
771 enable_option_checking
772 with_sysroot
773 enable_ld
774 enable_gold
775 enable_threads
776 enable_plugins
777 enable_targets
778 enable_dependency_tracking
779 enable_nls
780 enable_werror
781 enable_build_warnings
782 with_gold_ldflags
783 with_gold_ldadd
784 enable_maintainer_mode
785 '
786       ac_precious_vars='build_alias
787 host_alias
788 target_alias
789 CC
790 CFLAGS
791 LDFLAGS
792 LIBS
793 CPPFLAGS
794 CXX
795 CXXFLAGS
796 CCC
797 YACC
798 YFLAGS
799 CPP
800 CXXCPP'
801
802
803 # Initialize some variables set by options.
804 ac_init_help=
805 ac_init_version=false
806 ac_unrecognized_opts=
807 ac_unrecognized_sep=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
810 cache_file=/dev/null
811 exec_prefix=NONE
812 no_create=
813 no_recursion=
814 prefix=NONE
815 program_prefix=NONE
816 program_suffix=NONE
817 program_transform_name=s,x,x,
818 silent=
819 site=
820 srcdir=
821 verbose=
822 x_includes=NONE
823 x_libraries=NONE
824
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir='${exec_prefix}/bin'
832 sbindir='${exec_prefix}/sbin'
833 libexecdir='${exec_prefix}/libexec'
834 datarootdir='${prefix}/share'
835 datadir='${datarootdir}'
836 sysconfdir='${prefix}/etc'
837 sharedstatedir='${prefix}/com'
838 localstatedir='${prefix}/var'
839 includedir='${prefix}/include'
840 oldincludedir='/usr/include'
841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir='${datarootdir}/info'
843 htmldir='${docdir}'
844 dvidir='${docdir}'
845 pdfdir='${docdir}'
846 psdir='${docdir}'
847 libdir='${exec_prefix}/lib'
848 localedir='${datarootdir}/locale'
849 mandir='${datarootdir}/man'
850
851 ac_prev=
852 ac_dashdash=
853 for ac_option
854 do
855   # If the previous option needs an argument, assign it.
856   if test -n "$ac_prev"; then
857     eval $ac_prev=\$ac_option
858     ac_prev=
859     continue
860   fi
861
862   case $ac_option in
863   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
864   *)    ac_optarg=yes ;;
865   esac
866
867   # Accept the important Cygnus configure options, so we can diagnose typos.
868
869   case $ac_dashdash$ac_option in
870   --)
871     ac_dashdash=yes ;;
872
873   -bindir | --bindir | --bindi | --bind | --bin | --bi)
874     ac_prev=bindir ;;
875   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
876     bindir=$ac_optarg ;;
877
878   -build | --build | --buil | --bui | --bu)
879     ac_prev=build_alias ;;
880   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
881     build_alias=$ac_optarg ;;
882
883   -cache-file | --cache-file | --cache-fil | --cache-fi \
884   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
885     ac_prev=cache_file ;;
886   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
887   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
888     cache_file=$ac_optarg ;;
889
890   --config-cache | -C)
891     cache_file=config.cache ;;
892
893   -datadir | --datadir | --datadi | --datad)
894     ac_prev=datadir ;;
895   -datadir=* | --datadir=* | --datadi=* | --datad=*)
896     datadir=$ac_optarg ;;
897
898   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
899   | --dataroo | --dataro | --datar)
900     ac_prev=datarootdir ;;
901   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
902   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
903     datarootdir=$ac_optarg ;;
904
905   -disable-* | --disable-*)
906     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907     # Reject names that are not valid shell variable names.
908     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909       as_fn_error "invalid feature name: $ac_useropt"
910     ac_useropt_orig=$ac_useropt
911     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912     case $ac_user_opts in
913       *"
914 "enable_$ac_useropt"
915 "*) ;;
916       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917          ac_unrecognized_sep=', ';;
918     esac
919     eval enable_$ac_useropt=no ;;
920
921   -docdir | --docdir | --docdi | --doc | --do)
922     ac_prev=docdir ;;
923   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
924     docdir=$ac_optarg ;;
925
926   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
927     ac_prev=dvidir ;;
928   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
929     dvidir=$ac_optarg ;;
930
931   -enable-* | --enable-*)
932     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933     # Reject names that are not valid shell variable names.
934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935       as_fn_error "invalid feature name: $ac_useropt"
936     ac_useropt_orig=$ac_useropt
937     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938     case $ac_user_opts in
939       *"
940 "enable_$ac_useropt"
941 "*) ;;
942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943          ac_unrecognized_sep=', ';;
944     esac
945     eval enable_$ac_useropt=\$ac_optarg ;;
946
947   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
948   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
949   | --exec | --exe | --ex)
950     ac_prev=exec_prefix ;;
951   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
952   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
953   | --exec=* | --exe=* | --ex=*)
954     exec_prefix=$ac_optarg ;;
955
956   -gas | --gas | --ga | --g)
957     # Obsolete; use --with-gas.
958     with_gas=yes ;;
959
960   -help | --help | --hel | --he | -h)
961     ac_init_help=long ;;
962   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
963     ac_init_help=recursive ;;
964   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
965     ac_init_help=short ;;
966
967   -host | --host | --hos | --ho)
968     ac_prev=host_alias ;;
969   -host=* | --host=* | --hos=* | --ho=*)
970     host_alias=$ac_optarg ;;
971
972   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
973     ac_prev=htmldir ;;
974   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
975   | --ht=*)
976     htmldir=$ac_optarg ;;
977
978   -includedir | --includedir | --includedi | --included | --include \
979   | --includ | --inclu | --incl | --inc)
980     ac_prev=includedir ;;
981   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
982   | --includ=* | --inclu=* | --incl=* | --inc=*)
983     includedir=$ac_optarg ;;
984
985   -infodir | --infodir | --infodi | --infod | --info | --inf)
986     ac_prev=infodir ;;
987   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
988     infodir=$ac_optarg ;;
989
990   -libdir | --libdir | --libdi | --libd)
991     ac_prev=libdir ;;
992   -libdir=* | --libdir=* | --libdi=* | --libd=*)
993     libdir=$ac_optarg ;;
994
995   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
996   | --libexe | --libex | --libe)
997     ac_prev=libexecdir ;;
998   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
999   | --libexe=* | --libex=* | --libe=*)
1000     libexecdir=$ac_optarg ;;
1001
1002   -localedir | --localedir | --localedi | --localed | --locale)
1003     ac_prev=localedir ;;
1004   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1005     localedir=$ac_optarg ;;
1006
1007   -localstatedir | --localstatedir | --localstatedi | --localstated \
1008   | --localstate | --localstat | --localsta | --localst | --locals)
1009     ac_prev=localstatedir ;;
1010   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1011   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1012     localstatedir=$ac_optarg ;;
1013
1014   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1015     ac_prev=mandir ;;
1016   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1017     mandir=$ac_optarg ;;
1018
1019   -nfp | --nfp | --nf)
1020     # Obsolete; use --without-fp.
1021     with_fp=no ;;
1022
1023   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1024   | --no-cr | --no-c | -n)
1025     no_create=yes ;;
1026
1027   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1028   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1029     no_recursion=yes ;;
1030
1031   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1032   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1033   | --oldin | --oldi | --old | --ol | --o)
1034     ac_prev=oldincludedir ;;
1035   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1036   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1037   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1038     oldincludedir=$ac_optarg ;;
1039
1040   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1041     ac_prev=prefix ;;
1042   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1043     prefix=$ac_optarg ;;
1044
1045   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1046   | --program-pre | --program-pr | --program-p)
1047     ac_prev=program_prefix ;;
1048   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1049   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1050     program_prefix=$ac_optarg ;;
1051
1052   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1053   | --program-suf | --program-su | --program-s)
1054     ac_prev=program_suffix ;;
1055   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1056   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1057     program_suffix=$ac_optarg ;;
1058
1059   -program-transform-name | --program-transform-name \
1060   | --program-transform-nam | --program-transform-na \
1061   | --program-transform-n | --program-transform- \
1062   | --program-transform | --program-transfor \
1063   | --program-transfo | --program-transf \
1064   | --program-trans | --program-tran \
1065   | --progr-tra | --program-tr | --program-t)
1066     ac_prev=program_transform_name ;;
1067   -program-transform-name=* | --program-transform-name=* \
1068   | --program-transform-nam=* | --program-transform-na=* \
1069   | --program-transform-n=* | --program-transform-=* \
1070   | --program-transform=* | --program-transfor=* \
1071   | --program-transfo=* | --program-transf=* \
1072   | --program-trans=* | --program-tran=* \
1073   | --progr-tra=* | --program-tr=* | --program-t=*)
1074     program_transform_name=$ac_optarg ;;
1075
1076   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1077     ac_prev=pdfdir ;;
1078   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1079     pdfdir=$ac_optarg ;;
1080
1081   -psdir | --psdir | --psdi | --psd | --ps)
1082     ac_prev=psdir ;;
1083   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1084     psdir=$ac_optarg ;;
1085
1086   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1087   | -silent | --silent | --silen | --sile | --sil)
1088     silent=yes ;;
1089
1090   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1091     ac_prev=sbindir ;;
1092   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1093   | --sbi=* | --sb=*)
1094     sbindir=$ac_optarg ;;
1095
1096   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1097   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1098   | --sharedst | --shareds | --shared | --share | --shar \
1099   | --sha | --sh)
1100     ac_prev=sharedstatedir ;;
1101   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1102   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1103   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1104   | --sha=* | --sh=*)
1105     sharedstatedir=$ac_optarg ;;
1106
1107   -site | --site | --sit)
1108     ac_prev=site ;;
1109   -site=* | --site=* | --sit=*)
1110     site=$ac_optarg ;;
1111
1112   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1113     ac_prev=srcdir ;;
1114   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1115     srcdir=$ac_optarg ;;
1116
1117   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1118   | --syscon | --sysco | --sysc | --sys | --sy)
1119     ac_prev=sysconfdir ;;
1120   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1121   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1122     sysconfdir=$ac_optarg ;;
1123
1124   -target | --target | --targe | --targ | --tar | --ta | --t)
1125     ac_prev=target_alias ;;
1126   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1127     target_alias=$ac_optarg ;;
1128
1129   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1130     verbose=yes ;;
1131
1132   -version | --version | --versio | --versi | --vers | -V)
1133     ac_init_version=: ;;
1134
1135   -with-* | --with-*)
1136     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137     # Reject names that are not valid shell variable names.
1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139       as_fn_error "invalid package name: $ac_useropt"
1140     ac_useropt_orig=$ac_useropt
1141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142     case $ac_user_opts in
1143       *"
1144 "with_$ac_useropt"
1145 "*) ;;
1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147          ac_unrecognized_sep=', ';;
1148     esac
1149     eval with_$ac_useropt=\$ac_optarg ;;
1150
1151   -without-* | --without-*)
1152     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153     # Reject names that are not valid shell variable names.
1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155       as_fn_error "invalid package name: $ac_useropt"
1156     ac_useropt_orig=$ac_useropt
1157     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158     case $ac_user_opts in
1159       *"
1160 "with_$ac_useropt"
1161 "*) ;;
1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163          ac_unrecognized_sep=', ';;
1164     esac
1165     eval with_$ac_useropt=no ;;
1166
1167   --x)
1168     # Obsolete; use --with-x.
1169     with_x=yes ;;
1170
1171   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1172   | --x-incl | --x-inc | --x-in | --x-i)
1173     ac_prev=x_includes ;;
1174   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1175   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1176     x_includes=$ac_optarg ;;
1177
1178   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1179   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1180     ac_prev=x_libraries ;;
1181   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1182   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1183     x_libraries=$ac_optarg ;;
1184
1185   -*) as_fn_error "unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information."
1187     ;;
1188
1189   *=*)
1190     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1191     # Reject names that are not valid shell variable names.
1192     case $ac_envvar in #(
1193       '' | [0-9]* | *[!_$as_cr_alnum]* )
1194       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1195     esac
1196     eval $ac_envvar=\$ac_optarg
1197     export $ac_envvar ;;
1198
1199   *)
1200     # FIXME: should be removed in autoconf 3.0.
1201     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205     ;;
1206
1207   esac
1208 done
1209
1210 if test -n "$ac_prev"; then
1211   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1212   as_fn_error "missing argument to $ac_option"
1213 fi
1214
1215 if test -n "$ac_unrecognized_opts"; then
1216   case $enable_option_checking in
1217     no) ;;
1218     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1219     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1220   esac
1221 fi
1222
1223 # Check all directory arguments for consistency.
1224 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225                 datadir sysconfdir sharedstatedir localstatedir includedir \
1226                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227                 libdir localedir mandir
1228 do
1229   eval ac_val=\$$ac_var
1230   # Remove trailing slashes.
1231   case $ac_val in
1232     */ )
1233       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234       eval $ac_var=\$ac_val;;
1235   esac
1236   # Be sure to have absolute directory names.
1237   case $ac_val in
1238     [\\/$]* | ?:[\\/]* )  continue;;
1239     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1240   esac
1241   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1242 done
1243
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1247 build=$build_alias
1248 host=$host_alias
1249 target=$target_alias
1250
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x; then
1253   if test "x$build_alias" = x; then
1254     cross_compiling=maybe
1255     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1256     If a cross compiler is detected then cross compile mode will be used." >&2
1257   elif test "x$build_alias" != "x$host_alias"; then
1258     cross_compiling=yes
1259   fi
1260 fi
1261
1262 ac_tool_prefix=
1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264
1265 test "$silent" = yes && exec 6>/dev/null
1266
1267
1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di=`ls -di .` &&
1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271   as_fn_error "working directory cannot be determined"
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273   as_fn_error "pwd does not report name of working directory"
1274
1275
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278   ac_srcdir_defaulted=yes
1279   # Try the directory containing this script, then the parent directory.
1280   ac_confdir=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282          X"$as_myself" : 'X\(//\)[^/]' \| \
1283          X"$as_myself" : 'X\(//\)$' \| \
1284          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287             s//\1/
1288             q
1289           }
1290           /^X\(\/\/\)[^/].*/{
1291             s//\1/
1292             q
1293           }
1294           /^X\(\/\/\)$/{
1295             s//\1/
1296             q
1297           }
1298           /^X\(\/\).*/{
1299             s//\1/
1300             q
1301           }
1302           s/.*/./; q'`
1303   srcdir=$ac_confdir
1304   if test ! -r "$srcdir/$ac_unique_file"; then
1305     srcdir=..
1306   fi
1307 else
1308   ac_srcdir_defaulted=no
1309 fi
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1313 fi
1314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 ac_abs_confdir=`(
1316         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1317         pwd)`
1318 # When building in place, set srcdir=.
1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320   srcdir=.
1321 fi
1322 # Remove unnecessary trailing slashes from srcdir.
1323 # Double slashes in file names in object file debugging info
1324 # mess up M-x gdb in Emacs.
1325 case $srcdir in
1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 esac
1328 for ac_var in $ac_precious_vars; do
1329   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330   eval ac_env_${ac_var}_value=\$${ac_var}
1331   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1333 done
1334
1335 #
1336 # Report the --help message.
1337 #
1338 if test "$ac_init_help" = "long"; then
1339   # Omit some internal or obsolete options to make the list less imposing.
1340   # This message is too long to be a string in the A/UX 3.1 sh.
1341   cat <<_ACEOF
1342 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1343
1344 Usage: $0 [OPTION]... [VAR=VALUE]...
1345
1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347 VAR=VALUE.  See below for descriptions of some of the useful variables.
1348
1349 Defaults for the options are specified in brackets.
1350
1351 Configuration:
1352   -h, --help              display this help and exit
1353       --help=short        display options specific to this package
1354       --help=recursive    display the short help of all the included packages
1355   -V, --version           display version information and exit
1356   -q, --quiet, --silent   do not print \`checking...' messages
1357       --cache-file=FILE   cache test results in FILE [disabled]
1358   -C, --config-cache      alias for \`--cache-file=config.cache'
1359   -n, --no-create         do not create output files
1360       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1361
1362 Installation directories:
1363   --prefix=PREFIX         install architecture-independent files in PREFIX
1364                           [$ac_default_prefix]
1365   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1366                           [PREFIX]
1367
1368 By default, \`make install' will install all the files in
1369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371 for instance \`--prefix=\$HOME'.
1372
1373 For better control, use the options below.
1374
1375 Fine tuning of the installation directories:
1376   --bindir=DIR            user executables [EPREFIX/bin]
1377   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1378   --libexecdir=DIR        program executables [EPREFIX/libexec]
1379   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1380   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1381   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1382   --libdir=DIR            object code libraries [EPREFIX/lib]
1383   --includedir=DIR        C header files [PREFIX/include]
1384   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1385   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1386   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1387   --infodir=DIR           info documentation [DATAROOTDIR/info]
1388   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1389   --mandir=DIR            man documentation [DATAROOTDIR/man]
1390   --docdir=DIR            documentation root [DATAROOTDIR/doc/gold]
1391   --htmldir=DIR           html documentation [DOCDIR]
1392   --dvidir=DIR            dvi documentation [DOCDIR]
1393   --pdfdir=DIR            pdf documentation [DOCDIR]
1394   --psdir=DIR             ps documentation [DOCDIR]
1395 _ACEOF
1396
1397   cat <<\_ACEOF
1398
1399 Program names:
1400   --program-prefix=PREFIX            prepend PREFIX to installed program names
1401   --program-suffix=SUFFIX            append SUFFIX to installed program names
1402   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1403
1404 System types:
1405   --build=BUILD     configure for building on BUILD [guessed]
1406   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1407   --target=TARGET   configure for building compilers for TARGET [HOST]
1408 _ACEOF
1409 fi
1410
1411 if test -n "$ac_init_help"; then
1412   case $ac_init_help in
1413      short | recursive ) echo "Configuration of gold 0.1:";;
1414    esac
1415   cat <<\_ACEOF
1416
1417 Optional Features:
1418   --disable-option-checking  ignore unrecognized --enable/--with options
1419   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1420   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1421   --enable-ld[=ARG]     build ld [ARG={default,yes,no}]
1422   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
1423   --enable-threads        multi-threaded linking
1424   --enable-plugins        linker plugins
1425   --enable-targets        alternative target configurations
1426   --disable-dependency-tracking  speeds up one-time build
1427   --enable-dependency-tracking   do not reject slow dependency extractors
1428   --disable-nls           do not use Native Language Support
1429   --enable-werror         treat compile warnings as errors
1430   --enable-build-warnings enable build-time compiler warnings
1431   --enable-maintainer-mode  enable make rules and dependencies not useful
1432                           (and sometimes confusing) to the casual installer
1433
1434 Optional Packages:
1435   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1436   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1437   --with-sysroot=DIR    search for usr/lib et al within DIR
1438   --with-gold-ldflags=FLAGS  additional link flags for gold
1439   --with-gold-ldadd=LIBS     additional libraries for gold
1440
1441 Some influential environment variables:
1442   CC          C compiler command
1443   CFLAGS      C compiler flags
1444   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1445               nonstandard directory <lib dir>
1446   LIBS        libraries to pass to the linker, e.g. -l<library>
1447   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1448               you have headers in a nonstandard directory <include dir>
1449   CXX         C++ compiler command
1450   CXXFLAGS    C++ compiler flags
1451   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1452               the first program found out of: `bison -y', `byacc', `yacc'.
1453   YFLAGS      The list of arguments that will be passed by default to $YACC.
1454               This script will default YFLAGS to the empty string to avoid a
1455               default value of `-d' given by some make applications.
1456   CPP         C preprocessor
1457   CXXCPP      C++ preprocessor
1458
1459 Use these variables to override the choices made by `configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1461
1462 Report bugs to the package provider.
1463 _ACEOF
1464 ac_status=$?
1465 fi
1466
1467 if test "$ac_init_help" = "recursive"; then
1468   # If there are subdirs, report their specific --help.
1469   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470     test -d "$ac_dir" ||
1471       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1472       continue
1473     ac_builddir=.
1474
1475 case "$ac_dir" in
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 *)
1478   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1479   # A ".." for each directory in $ac_dir_suffix.
1480   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1481   case $ac_top_builddir_sub in
1482   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1484   esac ;;
1485 esac
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1490
1491 case $srcdir in
1492   .)  # We are building in place.
1493     ac_srcdir=.
1494     ac_top_srcdir=$ac_top_builddir_sub
1495     ac_abs_top_srcdir=$ac_pwd ;;
1496   [\\/]* | ?:[\\/]* )  # Absolute name.
1497     ac_srcdir=$srcdir$ac_dir_suffix;
1498     ac_top_srcdir=$srcdir
1499     ac_abs_top_srcdir=$srcdir ;;
1500   *) # Relative name.
1501     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502     ac_top_srcdir=$ac_top_build_prefix$srcdir
1503     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 esac
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506
1507     cd "$ac_dir" || { ac_status=$?; continue; }
1508     # Check for guested configure.
1509     if test -f "$ac_srcdir/configure.gnu"; then
1510       echo &&
1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512     elif test -f "$ac_srcdir/configure"; then
1513       echo &&
1514       $SHELL "$ac_srcdir/configure" --help=recursive
1515     else
1516       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517     fi || ac_status=$?
1518     cd "$ac_pwd" || { ac_status=$?; break; }
1519   done
1520 fi
1521
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1524   cat <<\_ACEOF
1525 gold configure 0.1
1526 generated by GNU Autoconf 2.64
1527
1528 Copyright (C) 2009 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1531 _ACEOF
1532   exit
1533 fi
1534
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1538
1539 # ac_fn_c_try_compile LINENO
1540 # --------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile ()
1543 {
1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545   rm -f conftest.$ac_objext
1546   if { { ac_try="$ac_compile"
1547 case "(($ac_try" in
1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549   *) ac_try_echo=$ac_try;;
1550 esac
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553   (eval "$ac_compile") 2>conftest.err
1554   ac_status=$?
1555   if test -s conftest.err; then
1556     grep -v '^ *+' conftest.err >conftest.er1
1557     cat conftest.er1 >&5
1558     mv -f conftest.er1 conftest.err
1559   fi
1560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561   test $ac_status = 0; } && {
1562          test -z "$ac_c_werror_flag" ||
1563          test ! -s conftest.err
1564        } && test -s conftest.$ac_objext; then :
1565   ac_retval=0
1566 else
1567   $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1569
1570         ac_retval=1
1571 fi
1572   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1573   return $ac_retval
1574
1575 } # ac_fn_c_try_compile
1576
1577 # ac_fn_cxx_try_compile LINENO
1578 # ----------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_cxx_try_compile ()
1581 {
1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583   rm -f conftest.$ac_objext
1584   if { { ac_try="$ac_compile"
1585 case "(($ac_try" in
1586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587   *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591   (eval "$ac_compile") 2>conftest.err
1592   ac_status=$?
1593   if test -s conftest.err; then
1594     grep -v '^ *+' conftest.err >conftest.er1
1595     cat conftest.er1 >&5
1596     mv -f conftest.er1 conftest.err
1597   fi
1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599   test $ac_status = 0; } && {
1600          test -z "$ac_cxx_werror_flag" ||
1601          test ! -s conftest.err
1602        } && test -s conftest.$ac_objext; then :
1603   ac_retval=0
1604 else
1605   $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1607
1608         ac_retval=1
1609 fi
1610   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611   return $ac_retval
1612
1613 } # ac_fn_cxx_try_compile
1614
1615 # ac_fn_c_try_cpp LINENO
1616 # ----------------------
1617 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_cpp ()
1619 {
1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621   if { { ac_try="$ac_cpp conftest.$ac_ext"
1622 case "(($ac_try" in
1623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624   *) ac_try_echo=$ac_try;;
1625 esac
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1629   ac_status=$?
1630   if test -s conftest.err; then
1631     grep -v '^ *+' conftest.err >conftest.er1
1632     cat conftest.er1 >&5
1633     mv -f conftest.er1 conftest.err
1634   fi
1635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636   test $ac_status = 0; } >/dev/null && {
1637          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1638          test ! -s conftest.err
1639        }; then :
1640   ac_retval=0
1641 else
1642   $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645     ac_retval=1
1646 fi
1647   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1648   return $ac_retval
1649
1650 } # ac_fn_c_try_cpp
1651
1652 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1653 # -------------------------------------------------------
1654 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1655 # the include files in INCLUDES and setting the cache variable VAR
1656 # accordingly.
1657 ac_fn_c_check_header_mongrel ()
1658 {
1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1664   $as_echo_n "(cached) " >&6
1665 fi
1666 eval ac_res=\$$3
1667                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 else
1670   # Is the header compilable?
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1672 $as_echo_n "checking $2 usability... " >&6; }
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h.  */
1675 $4
1676 #include <$2>
1677 _ACEOF
1678 if ac_fn_c_try_compile "$LINENO"; then :
1679   ac_header_compiler=yes
1680 else
1681   ac_header_compiler=no
1682 fi
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1685 $as_echo "$ac_header_compiler" >&6; }
1686
1687 # Is the header present?
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1689 $as_echo_n "checking $2 presence... " >&6; }
1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h.  */
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_cpp "$LINENO"; then :
1695   ac_header_preproc=yes
1696 else
1697   ac_header_preproc=no
1698 fi
1699 rm -f conftest.err conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1701 $as_echo "$ac_header_preproc" >&6; }
1702
1703 # So?  What about this header?
1704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1705   yes:no: )
1706     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1707 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1708     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1709 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1710     ;;
1711   no:yes:* )
1712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1713 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1714     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1715 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1716     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1717 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1718     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1719 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1720     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722     ;;
1723 esac
1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1727   $as_echo_n "(cached) " >&6
1728 else
1729   eval "$3=\$ac_header_compiler"
1730 fi
1731 eval ac_res=\$$3
1732                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 fi
1735   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736
1737 } # ac_fn_c_check_header_mongrel
1738
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1743 ac_fn_c_try_run ()
1744 {
1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746   if { { ac_try="$ac_link"
1747 case "(($ac_try" in
1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749   *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753   (eval "$ac_link") 2>&5
1754   ac_status=$?
1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757   { { case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_try") 2>&5
1764   ac_status=$?
1765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766   test $ac_status = 0; }; }; then :
1767   ac_retval=0
1768 else
1769   $as_echo "$as_me: program exited with status $ac_status" >&5
1770        $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1772
1773        ac_retval=$ac_status
1774 fi
1775   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777   return $ac_retval
1778
1779 } # ac_fn_c_try_run
1780
1781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1782 # -------------------------------------------------------
1783 # Tests whether HEADER exists and can be compiled using the include files in
1784 # INCLUDES, setting the cache variable VAR accordingly.
1785 ac_fn_c_check_header_compile ()
1786 {
1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1791   $as_echo_n "(cached) " >&6
1792 else
1793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h.  */
1795 $4
1796 #include <$2>
1797 _ACEOF
1798 if ac_fn_c_try_compile "$LINENO"; then :
1799   eval "$3=yes"
1800 else
1801   eval "$3=no"
1802 fi
1803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1804 fi
1805 eval ac_res=\$$3
1806                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809
1810 } # ac_fn_c_check_header_compile
1811
1812 # ac_fn_c_try_link LINENO
1813 # -----------------------
1814 # Try to link conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_c_try_link ()
1816 {
1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818   rm -f conftest.$ac_objext conftest$ac_exeext
1819   if { { ac_try="$ac_link"
1820 case "(($ac_try" in
1821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822   *) ac_try_echo=$ac_try;;
1823 esac
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826   (eval "$ac_link") 2>conftest.err
1827   ac_status=$?
1828   if test -s conftest.err; then
1829     grep -v '^ *+' conftest.err >conftest.er1
1830     cat conftest.er1 >&5
1831     mv -f conftest.er1 conftest.err
1832   fi
1833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834   test $ac_status = 0; } && {
1835          test -z "$ac_c_werror_flag" ||
1836          test ! -s conftest.err
1837        } && test -s conftest$ac_exeext && {
1838          test "$cross_compiling" = yes ||
1839          $as_test_x conftest$ac_exeext
1840        }; then :
1841   ac_retval=0
1842 else
1843   $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1845
1846         ac_retval=1
1847 fi
1848   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1849   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1850   # interfere with the next link command; also delete a directory that is
1851   # left behind by Apple's compiler.  We do this before executing the actions.
1852   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854   return $ac_retval
1855
1856 } # ac_fn_c_try_link
1857
1858 # ac_fn_c_check_func LINENO FUNC VAR
1859 # ----------------------------------
1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1861 ac_fn_c_check_func ()
1862 {
1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867   $as_echo_n "(cached) " >&6
1868 else
1869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h.  */
1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1873 #define $2 innocuous_$2
1874
1875 /* System header to define __stub macros and hopefully few prototypes,
1876     which can conflict with char $2 (); below.
1877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1878     <limits.h> exists even on freestanding compilers.  */
1879
1880 #ifdef __STDC__
1881 # include <limits.h>
1882 #else
1883 # include <assert.h>
1884 #endif
1885
1886 #undef $2
1887
1888 /* Override any GCC internal prototype to avoid an error.
1889    Use char because int might match the return type of a GCC
1890    builtin and then its argument prototype would still apply.  */
1891 #ifdef __cplusplus
1892 extern "C"
1893 #endif
1894 char $2 ();
1895 /* The GNU C library defines this for functions which it implements
1896     to always fail with ENOSYS.  Some functions are actually named
1897     something starting with __ and the normal name is an alias.  */
1898 #if defined __stub_$2 || defined __stub___$2
1899 choke me
1900 #endif
1901
1902 int
1903 main ()
1904 {
1905 return $2 ();
1906   ;
1907   return 0;
1908 }
1909 _ACEOF
1910 if ac_fn_c_try_link "$LINENO"; then :
1911   eval "$3=yes"
1912 else
1913   eval "$3=no"
1914 fi
1915 rm -f core conftest.err conftest.$ac_objext \
1916     conftest$ac_exeext conftest.$ac_ext
1917 fi
1918 eval ac_res=\$$3
1919                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1921   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1922
1923 } # ac_fn_c_check_func
1924
1925 # ac_fn_c_check_decl LINENO SYMBOL VAR
1926 # ------------------------------------
1927 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1928 ac_fn_c_check_decl ()
1929 {
1930   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931   as_decl_name=`echo $2|sed 's/ *(.*//'`
1932   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1934 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1935 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1936   $as_echo_n "(cached) " >&6
1937 else
1938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h.  */
1940 $4
1941 int
1942 main ()
1943 {
1944 #ifndef $as_decl_name
1945 #ifdef __cplusplus
1946   (void) $as_decl_use;
1947 #else
1948   (void) $as_decl_name;
1949 #endif
1950 #endif
1951
1952   ;
1953   return 0;
1954 }
1955 _ACEOF
1956 if ac_fn_c_try_compile "$LINENO"; then :
1957   eval "$3=yes"
1958 else
1959   eval "$3=no"
1960 fi
1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1962 fi
1963 eval ac_res=\$$3
1964                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967
1968 } # ac_fn_c_check_decl
1969
1970 # ac_fn_cxx_try_cpp LINENO
1971 # ------------------------
1972 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1973 ac_fn_cxx_try_cpp ()
1974 {
1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976   if { { ac_try="$ac_cpp conftest.$ac_ext"
1977 case "(($ac_try" in
1978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979   *) ac_try_echo=$ac_try;;
1980 esac
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1984   ac_status=$?
1985   if test -s conftest.err; then
1986     grep -v '^ *+' conftest.err >conftest.er1
1987     cat conftest.er1 >&5
1988     mv -f conftest.er1 conftest.err
1989   fi
1990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991   test $ac_status = 0; } >/dev/null && {
1992          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1993          test ! -s conftest.err
1994        }; then :
1995   ac_retval=0
1996 else
1997   $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
1999
2000     ac_retval=1
2001 fi
2002   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003   return $ac_retval
2004
2005 } # ac_fn_cxx_try_cpp
2006
2007 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2008 # ---------------------------------------------------------
2009 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2010 # the include files in INCLUDES and setting the cache variable VAR
2011 # accordingly.
2012 ac_fn_cxx_check_header_mongrel ()
2013 {
2014   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2019   $as_echo_n "(cached) " >&6
2020 fi
2021 eval ac_res=\$$3
2022                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 else
2025   # Is the header compilable?
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2027 $as_echo_n "checking $2 usability... " >&6; }
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h.  */
2030 $4
2031 #include <$2>
2032 _ACEOF
2033 if ac_fn_cxx_try_compile "$LINENO"; then :
2034   ac_header_compiler=yes
2035 else
2036   ac_header_compiler=no
2037 fi
2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2040 $as_echo "$ac_header_compiler" >&6; }
2041
2042 # Is the header present?
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2044 $as_echo_n "checking $2 presence... " >&6; }
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h.  */
2047 #include <$2>
2048 _ACEOF
2049 if ac_fn_cxx_try_cpp "$LINENO"; then :
2050   ac_header_preproc=yes
2051 else
2052   ac_header_preproc=no
2053 fi
2054 rm -f conftest.err conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2056 $as_echo "$ac_header_preproc" >&6; }
2057
2058 # So?  What about this header?
2059 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2060   yes:no: )
2061     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2062 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2065     ;;
2066   no:yes:* )
2067     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2068 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2069     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2070 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2071     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2072 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2073     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2074 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2075     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2077     ;;
2078 esac
2079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 $as_echo_n "checking for $2... " >&6; }
2081 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2082   $as_echo_n "(cached) " >&6
2083 else
2084   eval "$3=\$ac_header_compiler"
2085 fi
2086 eval ac_res=\$$3
2087                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089 fi
2090   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2091
2092 } # ac_fn_cxx_check_header_mongrel
2093
2094 # ac_fn_cxx_try_link LINENO
2095 # -------------------------
2096 # Try to link conftest.$ac_ext, and return whether this succeeded.
2097 ac_fn_cxx_try_link ()
2098 {
2099   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100   rm -f conftest.$ac_objext conftest$ac_exeext
2101   if { { ac_try="$ac_link"
2102 case "(($ac_try" in
2103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2104   *) ac_try_echo=$ac_try;;
2105 esac
2106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2107 $as_echo "$ac_try_echo"; } >&5
2108   (eval "$ac_link") 2>conftest.err
2109   ac_status=$?
2110   if test -s conftest.err; then
2111     grep -v '^ *+' conftest.err >conftest.er1
2112     cat conftest.er1 >&5
2113     mv -f conftest.er1 conftest.err
2114   fi
2115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2116   test $ac_status = 0; } && {
2117          test -z "$ac_cxx_werror_flag" ||
2118          test ! -s conftest.err
2119        } && test -s conftest$ac_exeext && {
2120          test "$cross_compiling" = yes ||
2121          $as_test_x conftest$ac_exeext
2122        }; then :
2123   ac_retval=0
2124 else
2125   $as_echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.$ac_ext >&5
2127
2128         ac_retval=1
2129 fi
2130   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2131   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2132   # interfere with the next link command; also delete a directory that is
2133   # left behind by Apple's compiler.  We do this before executing the actions.
2134   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2135   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2136   return $ac_retval
2137
2138 } # ac_fn_cxx_try_link
2139
2140 # ac_fn_cxx_check_func LINENO FUNC VAR
2141 # ------------------------------------
2142 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2143 ac_fn_cxx_check_func ()
2144 {
2145   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2149   $as_echo_n "(cached) " >&6
2150 else
2151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h.  */
2153 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2155 #define $2 innocuous_$2
2156
2157 /* System header to define __stub macros and hopefully few prototypes,
2158     which can conflict with char $2 (); below.
2159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2160     <limits.h> exists even on freestanding compilers.  */
2161
2162 #ifdef __STDC__
2163 # include <limits.h>
2164 #else
2165 # include <assert.h>
2166 #endif
2167
2168 #undef $2
2169
2170 /* Override any GCC internal prototype to avoid an error.
2171    Use char because int might match the return type of a GCC
2172    builtin and then its argument prototype would still apply.  */
2173 #ifdef __cplusplus
2174 extern "C"
2175 #endif
2176 char $2 ();
2177 /* The GNU C library defines this for functions which it implements
2178     to always fail with ENOSYS.  Some functions are actually named
2179     something starting with __ and the normal name is an alias.  */
2180 #if defined __stub_$2 || defined __stub___$2
2181 choke me
2182 #endif
2183
2184 int
2185 main ()
2186 {
2187 return $2 ();
2188   ;
2189   return 0;
2190 }
2191 _ACEOF
2192 if ac_fn_cxx_try_link "$LINENO"; then :
2193   eval "$3=yes"
2194 else
2195   eval "$3=no"
2196 fi
2197 rm -f core conftest.err conftest.$ac_objext \
2198     conftest$ac_exeext conftest.$ac_ext
2199 fi
2200 eval ac_res=\$$3
2201                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2204
2205 } # ac_fn_cxx_check_func
2206
2207 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2208 # --------------------------------------
2209 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2210 ac_fn_cxx_check_decl ()
2211 {
2212   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213   as_decl_name=`echo $2|sed 's/ *(.*//'`
2214   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2216 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2217 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2218   $as_echo_n "(cached) " >&6
2219 else
2220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h.  */
2222 $4
2223 int
2224 main ()
2225 {
2226 #ifndef $as_decl_name
2227 #ifdef __cplusplus
2228   (void) $as_decl_use;
2229 #else
2230   (void) $as_decl_name;
2231 #endif
2232 #endif
2233
2234   ;
2235   return 0;
2236 }
2237 _ACEOF
2238 if ac_fn_cxx_try_compile "$LINENO"; then :
2239   eval "$3=yes"
2240 else
2241   eval "$3=no"
2242 fi
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 fi
2245 eval ac_res=\$$3
2246                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2249
2250 } # ac_fn_cxx_check_decl
2251 cat >config.log <<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2254
2255 It was created by gold $as_me 0.1, which was
2256 generated by GNU Autoconf 2.64.  Invocation command line was
2257
2258   $ $0 $@
2259
2260 _ACEOF
2261 exec 5>>config.log
2262 {
2263 cat <<_ASUNAME
2264 ## --------- ##
2265 ## Platform. ##
2266 ## --------- ##
2267
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2273
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2276
2277 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2278 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2281 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2282 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2283 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2284
2285 _ASUNAME
2286
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 for as_dir in $PATH
2289 do
2290   IFS=$as_save_IFS
2291   test -z "$as_dir" && as_dir=.
2292     $as_echo "PATH: $as_dir"
2293   done
2294 IFS=$as_save_IFS
2295
2296 } >&5
2297
2298 cat >&5 <<_ACEOF
2299
2300
2301 ## ----------- ##
2302 ## Core tests. ##
2303 ## ----------- ##
2304
2305 _ACEOF
2306
2307
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2313 ac_configure_args=
2314 ac_configure_args0=
2315 ac_configure_args1=
2316 ac_must_keep_next=false
2317 for ac_pass in 1 2
2318 do
2319   for ac_arg
2320   do
2321     case $ac_arg in
2322     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324     | -silent | --silent | --silen | --sile | --sil)
2325       continue ;;
2326     *\'*)
2327       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328     esac
2329     case $ac_pass in
2330     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2331     2)
2332       as_fn_append ac_configure_args1 " '$ac_arg'"
2333       if test $ac_must_keep_next = true; then
2334         ac_must_keep_next=false # Got value, back to normal.
2335       else
2336         case $ac_arg in
2337           *=* | --config-cache | -C | -disable-* | --disable-* \
2338           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340           | -with-* | --with-* | -without-* | --without-* | --x)
2341             case "$ac_configure_args0 " in
2342               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2343             esac
2344             ;;
2345           -* ) ac_must_keep_next=true ;;
2346         esac
2347       fi
2348       as_fn_append ac_configure_args " '$ac_arg'"
2349       ;;
2350     esac
2351   done
2352 done
2353 { ac_configure_args0=; unset ac_configure_args0;}
2354 { ac_configure_args1=; unset ac_configure_args1;}
2355
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log.  We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362   # Save into config.log some information that might help in debugging.
2363   {
2364     echo
2365
2366     cat <<\_ASBOX
2367 ## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##
2370 _ASBOX
2371     echo
2372     # The following way of writing the cache mishandles newlines in values,
2373 (
2374   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375     eval ac_val=\$$ac_var
2376     case $ac_val in #(
2377     *${as_nl}*)
2378       case $ac_var in #(
2379       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2381       esac
2382       case $ac_var in #(
2383       _ | IFS | as_nl) ;; #(
2384       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385       *) { eval $ac_var=; unset $ac_var;} ;;
2386       esac ;;
2387     esac
2388   done
2389   (set) 2>&1 |
2390     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391     *${as_nl}ac_space=\ *)
2392       sed -n \
2393         "s/'\''/'\''\\\\'\'''\''/g;
2394           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2395       ;; #(
2396     *)
2397       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2398       ;;
2399     esac |
2400     sort
2401 )
2402     echo
2403
2404     cat <<\_ASBOX
2405 ## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##
2408 _ASBOX
2409     echo
2410     for ac_var in $ac_subst_vars
2411     do
2412       eval ac_val=\$$ac_var
2413       case $ac_val in
2414       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415       esac
2416       $as_echo "$ac_var='\''$ac_val'\''"
2417     done | sort
2418     echo
2419
2420     if test -n "$ac_subst_files"; then
2421       cat <<\_ASBOX
2422 ## ------------------- ##
2423 ## File substitutions. ##
2424 ## ------------------- ##
2425 _ASBOX
2426       echo
2427       for ac_var in $ac_subst_files
2428       do
2429         eval ac_val=\$$ac_var
2430         case $ac_val in
2431         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432         esac
2433         $as_echo "$ac_var='\''$ac_val'\''"
2434       done | sort
2435       echo
2436     fi
2437
2438     if test -s confdefs.h; then
2439       cat <<\_ASBOX
2440 ## ----------- ##
2441 ## confdefs.h. ##
2442 ## ----------- ##
2443 _ASBOX
2444       echo
2445       cat confdefs.h
2446       echo
2447     fi
2448     test "$ac_signal" != 0 &&
2449       $as_echo "$as_me: caught signal $ac_signal"
2450     $as_echo "$as_me: exit $exit_status"
2451   } >&5
2452   rm -f core *.core core.conftest.* &&
2453     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2454     exit $exit_status
2455 ' 0
2456 for ac_signal in 1 2 13 15; do
2457   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2458 done
2459 ac_signal=0
2460
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest* confdefs.h
2463
2464 $as_echo "/* confdefs.h */" > confdefs.h
2465
2466 # Predefined preprocessor variables.
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2474 _ACEOF
2475
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2478 _ACEOF
2479
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2482 _ACEOF
2483
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2486 _ACEOF
2487
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2490 _ACEOF
2491
2492
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2495 ac_site_file1=NONE
2496 ac_site_file2=NONE
2497 if test -n "$CONFIG_SITE"; then
2498   ac_site_file1=$CONFIG_SITE
2499 elif test "x$prefix" != xNONE; then
2500   ac_site_file1=$prefix/share/config.site
2501   ac_site_file2=$prefix/etc/config.site
2502 else
2503   ac_site_file1=$ac_default_prefix/share/config.site
2504   ac_site_file2=$ac_default_prefix/etc/config.site
2505 fi
2506 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2507 do
2508   test "x$ac_site_file" = xNONE && continue
2509   if test -r "$ac_site_file"; then
2510     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512     sed 's/^/| /' "$ac_site_file" >&5
2513     . "$ac_site_file"
2514   fi
2515 done
2516
2517 if test -r "$cache_file"; then
2518   # Some versions of bash will fail to source /dev/null (special
2519   # files actually), so we avoid doing that.
2520   if test -f "$cache_file"; then
2521     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522 $as_echo "$as_me: loading cache $cache_file" >&6;}
2523     case $cache_file in
2524       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2525       *)                      . "./$cache_file";;
2526     esac
2527   fi
2528 else
2529   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530 $as_echo "$as_me: creating cache $cache_file" >&6;}
2531   >$cache_file
2532 fi
2533
2534 # Check that the precious variables saved in the cache have kept the same
2535 # value.
2536 ac_cache_corrupted=false
2537 for ac_var in $ac_precious_vars; do
2538   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2539   eval ac_new_set=\$ac_env_${ac_var}_set
2540   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2541   eval ac_new_val=\$ac_env_${ac_var}_value
2542   case $ac_old_set,$ac_new_set in
2543     set,)
2544       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2545 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2546       ac_cache_corrupted=: ;;
2547     ,set)
2548       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2549 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2550       ac_cache_corrupted=: ;;
2551     ,);;
2552     *)
2553       if test "x$ac_old_val" != "x$ac_new_val"; then
2554         # differences in whitespace do not lead to failure.
2555         ac_old_val_w=`echo x $ac_old_val`
2556         ac_new_val_w=`echo x $ac_new_val`
2557         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2558           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2559 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2560           ac_cache_corrupted=:
2561         else
2562           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2563 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2564           eval $ac_var=\$ac_old_val
2565         fi
2566         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2567 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2568         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2569 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2570       fi;;
2571   esac
2572   # Pass precious variables to config.status.
2573   if test "$ac_new_set" = set; then
2574     case $ac_new_val in
2575     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2576     *) ac_arg=$ac_var=$ac_new_val ;;
2577     esac
2578     case " $ac_configure_args " in
2579       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2580       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2581     esac
2582   fi
2583 done
2584 if $ac_cache_corrupted; then
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2588 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2589   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2590 fi
2591 ## -------------------- ##
2592 ## Main body of script. ##
2593 ## -------------------- ##
2594
2595 ac_ext=c
2596 ac_cpp='$CPP $CPPFLAGS'
2597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2600
2601
2602
2603
2604
2605
2606
2607 ac_aux_dir=
2608 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2609   for ac_t in install-sh install.sh shtool; do
2610     if test -f "$ac_dir/$ac_t"; then
2611       ac_aux_dir=$ac_dir
2612       ac_install_sh="$ac_aux_dir/$ac_t -c"
2613       break 2
2614     fi
2615   done
2616 done
2617 if test -z "$ac_aux_dir"; then
2618   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2619 fi
2620
2621 # These three variables are undocumented and unsupported,
2622 # and are intended to be withdrawn in a future Autoconf release.
2623 # They can cause serious problems if a builder's source tree is in a directory
2624 # whose full name contains unusual characters.
2625 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2626 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2627 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2628
2629
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2632   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2633
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2635 $as_echo_n "checking build system type... " >&6; }
2636 if test "${ac_cv_build+set}" = set; then :
2637   $as_echo_n "(cached) " >&6
2638 else
2639   ac_build_alias=$build_alias
2640 test "x$ac_build_alias" = x &&
2641   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2642 test "x$ac_build_alias" = x &&
2643   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2644 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2645   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2646
2647 fi
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2649 $as_echo "$ac_cv_build" >&6; }
2650 case $ac_cv_build in
2651 *-*-*) ;;
2652 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2653 esac
2654 build=$ac_cv_build
2655 ac_save_IFS=$IFS; IFS='-'
2656 set x $ac_cv_build
2657 shift
2658 build_cpu=$1
2659 build_vendor=$2
2660 shift; shift
2661 # Remember, the first character of IFS is used to create $*,
2662 # except with old shells:
2663 build_os=$*
2664 IFS=$ac_save_IFS
2665 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2666
2667
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2669 $as_echo_n "checking host system type... " >&6; }
2670 if test "${ac_cv_host+set}" = set; then :
2671   $as_echo_n "(cached) " >&6
2672 else
2673   if test "x$host_alias" = x; then
2674   ac_cv_host=$ac_cv_build
2675 else
2676   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2677     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2678 fi
2679
2680 fi
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2682 $as_echo "$ac_cv_host" >&6; }
2683 case $ac_cv_host in
2684 *-*-*) ;;
2685 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2686 esac
2687 host=$ac_cv_host
2688 ac_save_IFS=$IFS; IFS='-'
2689 set x $ac_cv_host
2690 shift
2691 host_cpu=$1
2692 host_vendor=$2
2693 shift; shift
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2696 host_os=$*
2697 IFS=$ac_save_IFS
2698 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2699
2700
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2702 $as_echo_n "checking target system type... " >&6; }
2703 if test "${ac_cv_target+set}" = set; then :
2704   $as_echo_n "(cached) " >&6
2705 else
2706   if test "x$target_alias" = x; then
2707   ac_cv_target=$ac_cv_host
2708 else
2709   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2710     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2711 fi
2712
2713 fi
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2715 $as_echo "$ac_cv_target" >&6; }
2716 case $ac_cv_target in
2717 *-*-*) ;;
2718 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2719 esac
2720 target=$ac_cv_target
2721 ac_save_IFS=$IFS; IFS='-'
2722 set x $ac_cv_target
2723 shift
2724 target_cpu=$1
2725 target_vendor=$2
2726 shift; shift
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2729 target_os=$*
2730 IFS=$ac_save_IFS
2731 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2732
2733
2734 # The aliases save the names the user supplied, while $host etc.
2735 # will get canonicalized.
2736 test -n "$target_alias" &&
2737   test "$program_prefix$program_suffix$program_transform_name" = \
2738     NONENONEs,x,x, &&
2739   program_prefix=${target_alias}-
2740
2741 am__api_version='1.11'
2742
2743 # Find a good install program.  We prefer a C program (faster),
2744 # so one script is as good as another.  But avoid the broken or
2745 # incompatible versions:
2746 # SysV /etc/install, /usr/sbin/install
2747 # SunOS /usr/etc/install
2748 # IRIX /sbin/install
2749 # AIX /bin/install
2750 # AmigaOS /C/install, which installs bootblocks on floppy discs
2751 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2754 # OS/2's system install, which has a completely different semantic
2755 # ./install, which can be erroneously created by make from ./install.sh.
2756 # Reject install programs that cannot install multiple files.
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2758 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2759 if test -z "$INSTALL"; then
2760 if test "${ac_cv_path_install+set}" = set; then :
2761   $as_echo_n "(cached) " >&6
2762 else
2763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764 for as_dir in $PATH
2765 do
2766   IFS=$as_save_IFS
2767   test -z "$as_dir" && as_dir=.
2768     # Account for people who put trailing slashes in PATH elements.
2769 case $as_dir/ in #((
2770   ./ | .// | /[cC]/* | \
2771   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2772   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2773   /usr/ucb/* ) ;;
2774   *)
2775     # OSF1 and SCO ODT 3.0 have their own names for install.
2776     # Don't use installbsd from OSF since it installs stuff as root
2777     # by default.
2778     for ac_prog in ginstall scoinst install; do
2779       for ac_exec_ext in '' $ac_executable_extensions; do
2780         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2781           if test $ac_prog = install &&
2782             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2783             # AIX install.  It has an incompatible calling convention.
2784             :
2785           elif test $ac_prog = install &&
2786             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2787             # program-specific install script used by HP pwplus--don't use.
2788             :
2789           else
2790             rm -rf conftest.one conftest.two conftest.dir
2791             echo one > conftest.one
2792             echo two > conftest.two
2793             mkdir conftest.dir
2794             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2795               test -s conftest.one && test -s conftest.two &&
2796               test -s conftest.dir/conftest.one &&
2797               test -s conftest.dir/conftest.two
2798             then
2799               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2800               break 3
2801             fi
2802           fi
2803         fi
2804       done
2805     done
2806     ;;
2807 esac
2808
2809   done
2810 IFS=$as_save_IFS
2811
2812 rm -rf conftest.one conftest.two conftest.dir
2813
2814 fi
2815   if test "${ac_cv_path_install+set}" = set; then
2816     INSTALL=$ac_cv_path_install
2817   else
2818     # As a last resort, use the slow shell script.  Don't cache a
2819     # value for INSTALL within a source directory, because that will
2820     # break other packages using the cache if that directory is
2821     # removed, or if the value is a relative name.
2822     INSTALL=$ac_install_sh
2823   fi
2824 fi
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2826 $as_echo "$INSTALL" >&6; }
2827
2828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2829 # It thinks the first close brace ends the variable substitution.
2830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2831
2832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2833
2834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2835
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2837 $as_echo_n "checking whether build environment is sane... " >&6; }
2838 # Just in case
2839 sleep 1
2840 echo timestamp > conftest.file
2841 # Reject unsafe characters in $srcdir or the absolute working directory
2842 # name.  Accept space and tab only in the latter.
2843 am_lf='
2844 '
2845 case `pwd` in
2846   *[\\\"\#\$\&\'\`$am_lf]*)
2847     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2848 esac
2849 case $srcdir in
2850   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2851     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2852 esac
2853
2854 # Do `set' in a subshell so we don't clobber the current shell's
2855 # arguments.  Must try -L first in case configure is actually a
2856 # symlink; some systems play weird games with the mod time of symlinks
2857 # (eg FreeBSD returns the mod time of the symlink's containing
2858 # directory).
2859 if (
2860    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2861    if test "$*" = "X"; then
2862       # -L didn't work.
2863       set X `ls -t "$srcdir/configure" conftest.file`
2864    fi
2865    rm -f conftest.file
2866    if test "$*" != "X $srcdir/configure conftest.file" \
2867       && test "$*" != "X conftest.file $srcdir/configure"; then
2868
2869       # If neither matched, then we have a broken ls.  This can happen
2870       # if, for instance, CONFIG_SHELL is bash and it inherits a
2871       # broken ls alias from the environment.  This has actually
2872       # happened.  Such a system could not be considered "sane".
2873       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2874 alias in your environment" "$LINENO" 5
2875    fi
2876
2877    test "$2" = conftest.file
2878    )
2879 then
2880    # Ok.
2881    :
2882 else
2883    as_fn_error "newly created file is older than distributed files!
2884 Check your system clock" "$LINENO" 5
2885 fi
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2888 test "$program_prefix" != NONE &&
2889   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2890 # Use a double $ so make ignores it.
2891 test "$program_suffix" != NONE &&
2892   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2893 # Double any \ or $.
2894 # By default was `s,x,x', remove it if useless.
2895 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2896 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2897
2898 # expand $ac_aux_dir to an absolute path
2899 am_aux_dir=`cd $ac_aux_dir && pwd`
2900
2901 if test x"${MISSING+set}" != xset; then
2902   case $am_aux_dir in
2903   *\ * | *\     *)
2904     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2905   *)
2906     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2907   esac
2908 fi
2909 # Use eval to expand $SHELL
2910 if eval "$MISSING --run true"; then
2911   am_missing_run="$MISSING --run "
2912 else
2913   am_missing_run=
2914   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2915 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2916 fi
2917
2918 if test x"${install_sh}" != xset; then
2919   case $am_aux_dir in
2920   *\ * | *\     *)
2921     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2922   *)
2923     install_sh="\${SHELL} $am_aux_dir/install-sh"
2924   esac
2925 fi
2926
2927 # Installed binaries are usually stripped using `strip' when the user
2928 # run `make install-strip'.  However `strip' might not be the right
2929 # tool to use in cross-compilation environments, therefore Automake
2930 # will honor the `STRIP' environment variable to overrule this program.
2931 if test "$cross_compiling" != no; then
2932   if test -n "$ac_tool_prefix"; then
2933   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2934 set dummy ${ac_tool_prefix}strip; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if test "${ac_cv_prog_STRIP+set}" = set; then :
2938   $as_echo_n "(cached) " >&6
2939 else
2940   if test -n "$STRIP"; then
2941   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2942 else
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2945 do
2946   IFS=$as_save_IFS
2947   test -z "$as_dir" && as_dir=.
2948     for ac_exec_ext in '' $ac_executable_extensions; do
2949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952     break 2
2953   fi
2954 done
2955   done
2956 IFS=$as_save_IFS
2957
2958 fi
2959 fi
2960 STRIP=$ac_cv_prog_STRIP
2961 if test -n "$STRIP"; then
2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2963 $as_echo "$STRIP" >&6; }
2964 else
2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2967 fi
2968
2969
2970 fi
2971 if test -z "$ac_cv_prog_STRIP"; then
2972   ac_ct_STRIP=$STRIP
2973   # Extract the first word of "strip", so it can be a program name with args.
2974 set dummy strip; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2978   $as_echo_n "(cached) " >&6
2979 else
2980   if test -n "$ac_ct_STRIP"; then
2981   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2982 else
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 for as_dir in $PATH
2985 do
2986   IFS=$as_save_IFS
2987   test -z "$as_dir" && as_dir=.
2988     for ac_exec_ext in '' $ac_executable_extensions; do
2989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990     ac_cv_prog_ac_ct_STRIP="strip"
2991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992     break 2
2993   fi
2994 done
2995   done
2996 IFS=$as_save_IFS
2997
2998 fi
2999 fi
3000 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3001 if test -n "$ac_ct_STRIP"; then
3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3003 $as_echo "$ac_ct_STRIP" >&6; }
3004 else
3005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3007 fi
3008
3009   if test "x$ac_ct_STRIP" = x; then
3010     STRIP=":"
3011   else
3012     case $cross_compiling:$ac_tool_warned in
3013 yes:)
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016 ac_tool_warned=yes ;;
3017 esac
3018     STRIP=$ac_ct_STRIP
3019   fi
3020 else
3021   STRIP="$ac_cv_prog_STRIP"
3022 fi
3023
3024 fi
3025 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3026
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3028 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3029 if test -z "$MKDIR_P"; then
3030   if test "${ac_cv_path_mkdir+set}" = set; then :
3031   $as_echo_n "(cached) " >&6
3032 else
3033   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3035 do
3036   IFS=$as_save_IFS
3037   test -z "$as_dir" && as_dir=.
3038     for ac_prog in mkdir gmkdir; do
3039          for ac_exec_ext in '' $ac_executable_extensions; do
3040            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3041            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3042              'mkdir (GNU coreutils) '* | \
3043              'mkdir (coreutils) '* | \
3044              'mkdir (fileutils) '4.1*)
3045                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3046                break 3;;
3047            esac
3048          done
3049        done
3050   done
3051 IFS=$as_save_IFS
3052
3053 fi
3054
3055   if test "${ac_cv_path_mkdir+set}" = set; then
3056     MKDIR_P="$ac_cv_path_mkdir -p"
3057   else
3058     # As a last resort, use the slow shell script.  Don't cache a
3059     # value for MKDIR_P within a source directory, because that will
3060     # break other packages using the cache if that directory is
3061     # removed, or if the value is a relative name.
3062     test -d ./--version && rmdir ./--version
3063     MKDIR_P="$ac_install_sh -d"
3064   fi
3065 fi
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3067 $as_echo "$MKDIR_P" >&6; }
3068
3069 mkdir_p="$MKDIR_P"
3070 case $mkdir_p in
3071   [\\/$]* | ?:[\\/]*) ;;
3072   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3073 esac
3074
3075 for ac_prog in gawk mawk nawk awk
3076 do
3077   # Extract the first word of "$ac_prog", so it can be a program name with args.
3078 set dummy $ac_prog; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if test "${ac_cv_prog_AWK+set}" = set; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   if test -n "$AWK"; then
3085   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3086 else
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 for as_dir in $PATH
3089 do
3090   IFS=$as_save_IFS
3091   test -z "$as_dir" && as_dir=.
3092     for ac_exec_ext in '' $ac_executable_extensions; do
3093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3094     ac_cv_prog_AWK="$ac_prog"
3095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096     break 2
3097   fi
3098 done
3099   done
3100 IFS=$as_save_IFS
3101
3102 fi
3103 fi
3104 AWK=$ac_cv_prog_AWK
3105 if test -n "$AWK"; then
3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3107 $as_echo "$AWK" >&6; }
3108 else
3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 fi
3112
3113
3114   test -n "$AWK" && break
3115 done
3116
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3118 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3119 set x ${MAKE-make}
3120 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3121 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3122   $as_echo_n "(cached) " >&6
3123 else
3124   cat >conftest.make <<\_ACEOF
3125 SHELL = /bin/sh
3126 all:
3127         @echo '@@@%%%=$(MAKE)=@@@%%%'
3128 _ACEOF
3129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3130 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3131   *@@@%%%=?*=@@@%%%*)
3132     eval ac_cv_prog_make_${ac_make}_set=yes;;
3133   *)
3134     eval ac_cv_prog_make_${ac_make}_set=no;;
3135 esac
3136 rm -f conftest.make
3137 fi
3138 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3140 $as_echo "yes" >&6; }
3141   SET_MAKE=
3142 else
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145   SET_MAKE="MAKE=${MAKE-make}"
3146 fi
3147
3148 rm -rf .tst 2>/dev/null
3149 mkdir .tst 2>/dev/null
3150 if test -d .tst; then
3151   am__leading_dot=.
3152 else
3153   am__leading_dot=_
3154 fi
3155 rmdir .tst 2>/dev/null
3156
3157 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3158   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3159   # is not polluted with repeated "-I."
3160   am__isrc=' -I$(srcdir)'
3161   # test to see if srcdir already configured
3162   if test -f $srcdir/config.status; then
3163     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3164   fi
3165 fi
3166
3167 # test whether we have cygpath
3168 if test -z "$CYGPATH_W"; then
3169   if (cygpath --version) >/dev/null 2>/dev/null; then
3170     CYGPATH_W='cygpath -w'
3171   else
3172     CYGPATH_W=echo
3173   fi
3174 fi
3175
3176
3177 # Define the identity of the package.
3178  PACKAGE='gold'
3179  VERSION='0.1'
3180
3181
3182 cat >>confdefs.h <<_ACEOF
3183 #define PACKAGE "$PACKAGE"
3184 _ACEOF
3185
3186
3187 cat >>confdefs.h <<_ACEOF
3188 #define VERSION "$VERSION"
3189 _ACEOF
3190
3191 # Some tools Automake needs.
3192
3193 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3194
3195
3196 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3197
3198
3199 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3200
3201
3202 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3203
3204
3205 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3206
3207 # We need awk for the "check" target.  The system "awk" is bad on
3208 # some platforms.
3209 # Always define AMTAR for backward compatibility.
3210
3211 AMTAR=${AMTAR-"${am_missing_run}tar"}
3212
3213 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3214
3215
3216
3217
3218
3219
3220 ac_config_headers="$ac_config_headers config.h:config.in"
3221
3222
3223
3224 # Check whether --with-sysroot was given.
3225 if test "${with_sysroot+set}" = set; then :
3226   withval=$with_sysroot; sysroot=$withval
3227 else
3228   sysroot=no
3229 fi
3230
3231
3232 if test "$sysroot" = "yes"; then
3233   sysroot='${exec_prefix}/${target_alias}/sys-root'
3234 elif test "$sysroot" = "no"; then
3235   sysroot=
3236 fi
3237
3238 sysroot_relocatable=0
3239 if test -n "$sysroot"; then
3240   case "sysroot" in
3241     "${prefix}" | "${prefix}/"* | \
3242     "${exec_prefix}" | "${exec_prefix}/"* | \
3243     '${prefix}' | '${prefix}/'*| \
3244     '${exec_prefix}' | '${exec_prefix}/'*)
3245       sysroot_relocatable=1
3246       ;;
3247   esac
3248 fi
3249
3250
3251 cat >>confdefs.h <<_ACEOF
3252 #define TARGET_SYSTEM_ROOT "$sysroot"
3253 _ACEOF
3254
3255
3256 cat >>confdefs.h <<_ACEOF
3257 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3258 _ACEOF
3259
3260
3261
3262 default_ld=
3263 # Check whether --enable-ld was given.
3264 if test "${enable_ld+set}" = set; then :
3265   enableval=$enable_ld; case "${enableval}" in
3266   default)
3267     default_ld=ld.bfd
3268     ;;
3269 esac
3270 fi
3271
3272
3273 # Check whether --enable-gold was given.
3274 if test "${enable_gold+set}" = set; then :
3275   enableval=$enable_gold; case "${enableval}" in
3276  yes|default)
3277    if test x${default_ld} = x; then
3278      install_as_default=yes
3279    fi
3280    installed_linker=ld.gold
3281    ;;
3282  no)
3283    ;;
3284  *)
3285    as_fn_error "invalid --enable-gold argument" "$LINENO" 5
3286    ;;
3287  esac
3288 else
3289   install_as_default=no
3290  installed_linker=ld.gold
3291 fi
3292
3293
3294
3295
3296 # Check whether --enable-threads was given.
3297 if test "${enable_threads+set}" = set; then :
3298   enableval=$enable_threads; case "${enableval}" in
3299   yes | "") threads=yes ;;
3300   no) threads=no ;;
3301   *) threads=yes ;;
3302  esac
3303 else
3304   threads=no
3305 fi
3306
3307 if test "$threads" = "yes"; then
3308
3309 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3310
3311 fi
3312  if test "$threads" = "yes"; then
3313   THREADS_TRUE=
3314   THREADS_FALSE='#'
3315 else
3316   THREADS_TRUE='#'
3317   THREADS_FALSE=
3318 fi
3319
3320
3321 # Check whether --enable-plugins was given.
3322 if test "${enable_plugins+set}" = set; then :
3323   enableval=$enable_plugins; case "${enableval}" in
3324   yes | "") plugins=yes ;;
3325   no) plugins=no ;;
3326   *) plugins=yes ;;
3327  esac
3328 else
3329   plugins=no
3330 fi
3331
3332 if test "$plugins" = "yes"; then
3333
3334 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3335
3336 fi
3337  if test "$plugins" = "yes"; then
3338   PLUGINS_TRUE=
3339   PLUGINS_FALSE='#'
3340 else
3341   PLUGINS_TRUE='#'
3342   PLUGINS_FALSE=
3343 fi
3344
3345
3346 # Check whether --enable-targets was given.
3347 if test "${enable_targets+set}" = set; then :
3348   enableval=$enable_targets; case "${enableval}" in
3349   yes | "")
3350     as_fn_error "--enable-targets option must specify target names or 'all'" "$LINENO" 5
3351     ;;
3352   no)
3353     enable_targets=
3354     ;;
3355   *)
3356     enable_targets=$enableval
3357     ;;
3358 esac
3359 else
3360   # For now, enable all targets by default
3361  enable_targets=all
3362
3363 fi
3364
3365
3366 # Canonicalize the enabled targets.
3367 if test -n "$enable_targets"; then
3368   for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
3369     result=`$ac_config_sub $targ 2>/dev/null`
3370     if test -n "$result"; then
3371       canon_targets="$canon_targets $result"
3372     else
3373       # Permit unrecognized target names, like "all".
3374       canon_targets="$canon_targets $targ"
3375     fi
3376   done
3377 fi
3378
3379 # See which specific instantiations we need.
3380 targetobjs=
3381 all_targets=
3382 default_machine=
3383 default_size=
3384 default_big_endian=
3385 default_osabi=ELFOSABI_NONE
3386 targ_32_little=
3387 targ_32_big=
3388 targ_64_little=
3389 targ_64_big=
3390 for targ in $target $canon_targets; do
3391   if test "$targ" = "all"; then
3392     targ_32_little=yes
3393     targ_32_big=yes
3394     targ_64_little=yes
3395     targ_64_big=yes
3396     all_targets=yes
3397   else
3398     . ${srcdir}/configure.tgt
3399
3400     if test "$targ_obj" = "UNKNOWN"; then
3401       as_fn_error "\"unsupported target $targ\"" "$LINENO" 5
3402     else
3403       targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
3404       if test "$targ_extra_obj" != ""; then
3405         targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3406       fi
3407       if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3408           if test "$targ_big_endian" = "true" \
3409               -o "$targ_extra_big_endian" = "true"; then
3410               targ_32_big=yes
3411           fi
3412           if test "$targ_big_endian" = "false" \
3413               -o "$targ_extra_big_endian" = "false"; then
3414               targ_32_little=yes
3415           fi
3416       fi
3417       if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3418           if test "$targ_big_endian" = "true" \
3419               -o "$targ_extra_big_endian" = "true"; then
3420               targ_64_big=yes
3421           fi
3422           if test "$targ_big_endian" = "false" \
3423               -o "$targ_extra_big_endian" = "false"; then
3424               targ_64_little=yes
3425           fi
3426       fi
3427
3428       if test "$target" = "$targ"; then
3429         default_machine=$targ_machine
3430         default_size=$targ_size
3431         default_big_endian=$targ_big_endian
3432         default_osabi=$targ_osabi
3433
3434          if test "$targ_obj" = "arm"; then
3435   DEFAULT_TARGET_ARM_TRUE=
3436   DEFAULT_TARGET_ARM_FALSE='#'
3437 else
3438   DEFAULT_TARGET_ARM_TRUE='#'
3439   DEFAULT_TARGET_ARM_FALSE=
3440 fi
3441
3442          if test "$targ_obj" = "i386"; then
3443   DEFAULT_TARGET_I386_TRUE=
3444   DEFAULT_TARGET_I386_FALSE='#'
3445 else
3446   DEFAULT_TARGET_I386_TRUE='#'
3447   DEFAULT_TARGET_I386_FALSE=
3448 fi
3449
3450          if test "$targ_obj" = "powerpc"; then
3451   DEFAULT_TARGET_POWERPC_TRUE=
3452   DEFAULT_TARGET_POWERPC_FALSE='#'
3453 else
3454   DEFAULT_TARGET_POWERPC_TRUE='#'
3455   DEFAULT_TARGET_POWERPC_FALSE=
3456 fi
3457
3458          if test "$targ_obj" = "sparc"; then
3459   DEFAULT_TARGET_SPARC_TRUE=
3460   DEFAULT_TARGET_SPARC_FALSE='#'
3461 else
3462   DEFAULT_TARGET_SPARC_TRUE='#'
3463   DEFAULT_TARGET_SPARC_FALSE=
3464 fi
3465
3466          if test "$targ_obj" = "x86_64"; then
3467   DEFAULT_TARGET_X86_64_TRUE=
3468   DEFAULT_TARGET_X86_64_FALSE='#'
3469 else
3470   DEFAULT_TARGET_X86_64_TRUE='#'
3471   DEFAULT_TARGET_X86_64_FALSE=
3472 fi
3473
3474       fi
3475     fi
3476   fi
3477 done
3478
3479 # Remove any duplicates.
3480 to=""
3481 for t in $targetobjs; do
3482   case " $to " in
3483   *" $t "*) ;;
3484   *) to="$to $t" ;;
3485   esac
3486 done
3487 targetobjs=$to
3488
3489 if test -n "$targ_32_little"; then
3490
3491 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3492
3493 fi
3494 if test -n "$targ_32_big"; then
3495
3496 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3497
3498 fi
3499 if test -n "$targ_64_little"; then
3500
3501 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3502
3503 fi
3504 if test -n "$targ_64_big"; then
3505
3506 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3507
3508 fi
3509
3510 if test -n "$all_targets"; then
3511   TARGETOBJS='$(ALL_TARGETOBJS)'
3512 else
3513   TARGETOBJS="$targetobjs"
3514 fi
3515
3516
3517
3518 cat >>confdefs.h <<_ACEOF
3519 #define GOLD_DEFAULT_MACHINE $default_machine
3520 _ACEOF
3521
3522
3523 cat >>confdefs.h <<_ACEOF
3524 #define GOLD_DEFAULT_SIZE $default_size
3525 _ACEOF
3526
3527
3528 cat >>confdefs.h <<_ACEOF
3529 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3530 _ACEOF
3531
3532
3533 cat >>confdefs.h <<_ACEOF
3534 #define GOLD_DEFAULT_OSABI $default_osabi
3535 _ACEOF
3536
3537
3538 if test -n "$ac_tool_prefix"; then
3539   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}nm; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_NM+set}" = set; then :
3544   $as_echo_n "(cached) " >&6
3545 else
3546   if test -n "$NM"; then
3547   ac_cv_prog_NM="$NM" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3551 do
3552   IFS=$as_save_IFS
3553   test -z "$as_dir" && as_dir=.
3554     for ac_exec_ext in '' $ac_executable_extensions; do
3555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556     ac_cv_prog_NM="${ac_tool_prefix}nm"
3557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558     break 2
3559   fi
3560 done
3561   done
3562 IFS=$as_save_IFS
3563
3564 fi
3565 fi
3566 NM=$ac_cv_prog_NM
3567 if test -n "$NM"; then
3568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3569 $as_echo "$NM" >&6; }
3570 else
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 fi
3574
3575
3576 fi
3577 if test -z "$ac_cv_prog_NM"; then
3578   ac_ct_NM=$NM
3579   # Extract the first word of "nm", so it can be a program name with args.
3580 set dummy nm; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3584   $as_echo_n "(cached) " >&6
3585 else
3586   if test -n "$ac_ct_NM"; then
3587   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3591 do
3592   IFS=$as_save_IFS
3593   test -z "$as_dir" && as_dir=.
3594     for ac_exec_ext in '' $ac_executable_extensions; do
3595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596     ac_cv_prog_ac_ct_NM="nm"
3597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598     break 2
3599   fi
3600 done
3601   done
3602 IFS=$as_save_IFS
3603
3604 fi
3605 fi
3606 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3607 if test -n "$ac_ct_NM"; then
3608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3609 $as_echo "$ac_ct_NM" >&6; }
3610 else
3611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3613 fi
3614
3615   if test "x$ac_ct_NM" = x; then
3616     NM=""
3617   else
3618     case $cross_compiling:$ac_tool_warned in
3619 yes:)
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned=yes ;;
3623 esac
3624     NM=$ac_ct_NM
3625   fi
3626 else
3627   NM="$ac_cv_prog_NM"
3628 fi
3629
3630
3631 ac_ext=c
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 if test -n "$ac_tool_prefix"; then
3637   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3638 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642   $as_echo_n "(cached) " >&6
3643 else
3644   if test -n "$CC"; then
3645   ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3649 do
3650   IFS=$as_save_IFS
3651   test -z "$as_dir" && as_dir=.
3652     for ac_exec_ext in '' $ac_executable_extensions; do
3653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656     break 2
3657   fi
3658 done
3659   done
3660 IFS=$as_save_IFS
3661
3662 fi
3663 fi
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3671 fi
3672
3673
3674 fi
3675 if test -z "$ac_cv_prog_CC"; then
3676   ac_ct_CC=$CC
3677   # Extract the first word of "gcc", so it can be a program name with args.
3678 set dummy gcc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3682   $as_echo_n "(cached) " >&6
3683 else
3684   if test -n "$ac_ct_CC"; then
3685   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3686 else
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3689 do
3690   IFS=$as_save_IFS
3691   test -z "$as_dir" && as_dir=.
3692     for ac_exec_ext in '' $ac_executable_extensions; do
3693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694     ac_cv_prog_ac_ct_CC="gcc"
3695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696     break 2
3697   fi
3698 done
3699   done
3700 IFS=$as_save_IFS
3701
3702 fi
3703 fi
3704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3705 if test -n "$ac_ct_CC"; then
3706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707 $as_echo "$ac_ct_CC" >&6; }
3708 else
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3711 fi
3712
3713   if test "x$ac_ct_CC" = x; then
3714     CC=""
3715   else
3716     case $cross_compiling:$ac_tool_warned in
3717 yes:)
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720 ac_tool_warned=yes ;;
3721 esac
3722     CC=$ac_ct_CC
3723   fi
3724 else
3725   CC="$ac_cv_prog_CC"
3726 fi
3727
3728 if test -z "$CC"; then
3729           if test -n "$ac_tool_prefix"; then
3730     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}cc; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if test "${ac_cv_prog_CC+set}" = set; then :
3735   $as_echo_n "(cached) " >&6
3736 else
3737   if test -n "$CC"; then
3738   ac_cv_prog_CC="$CC" # Let the user override the test.
3739 else
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3742 do
3743   IFS=$as_save_IFS
3744   test -z "$as_dir" && as_dir=.
3745     for ac_exec_ext in '' $ac_executable_extensions; do
3746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747     ac_cv_prog_CC="${ac_tool_prefix}cc"
3748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749     break 2
3750   fi
3751 done
3752   done
3753 IFS=$as_save_IFS
3754
3755 fi
3756 fi
3757 CC=$ac_cv_prog_CC
3758 if test -n "$CC"; then
3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3761 else
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 fi
3765
3766
3767   fi
3768 fi
3769 if test -z "$CC"; then
3770   # Extract the first word of "cc", so it can be a program name with args.
3771 set dummy cc; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if test "${ac_cv_prog_CC+set}" = set; then :
3775   $as_echo_n "(cached) " >&6
3776 else
3777   if test -n "$CC"; then
3778   ac_cv_prog_CC="$CC" # Let the user override the test.
3779 else
3780   ac_prog_rejected=no
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3783 do
3784   IFS=$as_save_IFS
3785   test -z "$as_dir" && as_dir=.
3786     for ac_exec_ext in '' $ac_executable_extensions; do
3787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3788     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3789        ac_prog_rejected=yes
3790        continue
3791      fi
3792     ac_cv_prog_CC="cc"
3793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794     break 2
3795   fi
3796 done
3797   done
3798 IFS=$as_save_IFS
3799
3800 if test $ac_prog_rejected = yes; then
3801   # We found a bogon in the path, so make sure we never use it.
3802   set dummy $ac_cv_prog_CC
3803   shift
3804   if test $# != 0; then
3805     # We chose a different compiler from the bogus one.
3806     # However, it has the same basename, so the bogon will be chosen
3807     # first if we set CC to just the basename; use the full file name.
3808     shift
3809     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3810   fi
3811 fi
3812 fi
3813 fi
3814 CC=$ac_cv_prog_CC
3815 if test -n "$CC"; then
3816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3818 else
3819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3821 fi
3822
3823
3824 fi
3825 if test -z "$CC"; then
3826   if test -n "$ac_tool_prefix"; then
3827   for ac_prog in cl.exe
3828   do
3829     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_prog_CC+set}" = set; then :
3834   $as_echo_n "(cached) " >&6
3835 else
3836   if test -n "$CC"; then
3837   ac_cv_prog_CC="$CC" # Let the user override the test.
3838 else
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3841 do
3842   IFS=$as_save_IFS
3843   test -z "$as_dir" && as_dir=.
3844     for ac_exec_ext in '' $ac_executable_extensions; do
3845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848     break 2
3849   fi
3850 done
3851   done
3852 IFS=$as_save_IFS
3853
3854 fi
3855 fi
3856 CC=$ac_cv_prog_CC
3857 if test -n "$CC"; then
3858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3860 else
3861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3863 fi
3864
3865
3866     test -n "$CC" && break
3867   done
3868 fi
3869 if test -z "$CC"; then
3870   ac_ct_CC=$CC
3871   for ac_prog in cl.exe
3872 do
3873   # Extract the first word of "$ac_prog", so it can be a program name with args.
3874 set dummy $ac_prog; ac_word=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3878   $as_echo_n "(cached) " >&6
3879 else
3880   if test -n "$ac_ct_CC"; then
3881   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3882 else
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 for as_dir in $PATH
3885 do
3886   IFS=$as_save_IFS
3887   test -z "$as_dir" && as_dir=.
3888     for ac_exec_ext in '' $ac_executable_extensions; do
3889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890     ac_cv_prog_ac_ct_CC="$ac_prog"
3891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892     break 2
3893   fi
3894 done
3895   done
3896 IFS=$as_save_IFS
3897
3898 fi
3899 fi
3900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3901 if test -n "$ac_ct_CC"; then
3902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3903 $as_echo "$ac_ct_CC" >&6; }
3904 else
3905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3907 fi
3908
3909
3910   test -n "$ac_ct_CC" && break
3911 done
3912
3913   if test "x$ac_ct_CC" = x; then
3914     CC=""
3915   else
3916     case $cross_compiling:$ac_tool_warned in
3917 yes:)
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3920 ac_tool_warned=yes ;;
3921 esac
3922     CC=$ac_ct_CC
3923   fi
3924 fi
3925
3926 fi
3927
3928
3929 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error "no acceptable C compiler found in \$PATH
3932 See \`config.log' for more details." "$LINENO" 5; }
3933
3934 # Provide some information about the compiler.
3935 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3936 set X $ac_compile
3937 ac_compiler=$2
3938 for ac_option in --version -v -V -qversion; do
3939   { { ac_try="$ac_compiler $ac_option >&5"
3940 case "(($ac_try" in
3941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942   *) ac_try_echo=$ac_try;;
3943 esac
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3947   ac_status=$?
3948   if test -s conftest.err; then
3949     sed '10a\
3950 ... rest of stderr output deleted ...
3951          10q' conftest.err >conftest.er1
3952     cat conftest.er1 >&5
3953     rm -f conftest.er1 conftest.err
3954   fi
3955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3956   test $ac_status = 0; }
3957 done
3958
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h.  */
3961
3962 int
3963 main ()
3964 {
3965
3966   ;
3967   return 0;
3968 }
3969 _ACEOF
3970 ac_clean_files_save=$ac_clean_files
3971 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3972 # Try to create an executable without -o first, disregard a.out.
3973 # It will help us diagnose broken compilers, and finding out an intuition
3974 # of exeext.
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3976 $as_echo_n "checking for C compiler default output file name... " >&6; }
3977 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3978
3979 # The possible output files:
3980 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3981
3982 ac_rmfiles=
3983 for ac_file in $ac_files
3984 do
3985   case $ac_file in
3986     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3987     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3988   esac
3989 done
3990 rm -f $ac_rmfiles
3991
3992 if { { ac_try="$ac_link_default"
3993 case "(($ac_try" in
3994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995   *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999   (eval "$ac_link_default") 2>&5
4000   ac_status=$?
4001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002   test $ac_status = 0; }; then :
4003   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4004 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4005 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4006 # so that the user can short-circuit this test for compilers unknown to
4007 # Autoconf.
4008 for ac_file in $ac_files ''
4009 do
4010   test -f "$ac_file" || continue
4011   case $ac_file in
4012     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4013         ;;
4014     [ab].out )
4015         # We found the default executable, but exeext='' is most
4016         # certainly right.
4017         break;;
4018     *.* )
4019         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4020         then :; else
4021            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022         fi
4023         # We set ac_cv_exeext here because the later test for it is not
4024         # safe: cross compilers may not add the suffix if given an `-o'
4025         # argument, so we may need to know it at that point already.
4026         # Even if this section looks crufty: it has the advantage of
4027         # actually working.
4028         break;;
4029     * )
4030         break;;
4031   esac
4032 done
4033 test "$ac_cv_exeext" = no && ac_cv_exeext=
4034
4035 else
4036   ac_file=''
4037 fi
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4039 $as_echo "$ac_file" >&6; }
4040 if test -z "$ac_file"; then :
4041   $as_echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4043
4044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 { as_fn_set_status 77
4047 as_fn_error "C compiler cannot create executables
4048 See \`config.log' for more details." "$LINENO" 5; }; }
4049 fi
4050 ac_exeext=$ac_cv_exeext
4051
4052 # Check that the compiler produces executables we can run.  If not, either
4053 # the compiler is broken, or we cross compile.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4055 $as_echo_n "checking whether the C compiler works... " >&6; }
4056 # If not cross compiling, check that we can run a simple program.
4057 if test "$cross_compiling" != yes; then
4058   if { ac_try='./$ac_file'
4059   { { case "(($ac_try" in
4060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061   *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065   (eval "$ac_try") 2>&5
4066   ac_status=$?
4067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068   test $ac_status = 0; }; }; then
4069     cross_compiling=no
4070   else
4071     if test "$cross_compiling" = maybe; then
4072         cross_compiling=yes
4073     else
4074         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error "cannot run C compiled programs.
4077 If you meant to cross compile, use \`--host'.
4078 See \`config.log' for more details." "$LINENO" 5; }
4079     fi
4080   fi
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4083 $as_echo "yes" >&6; }
4084
4085 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4086 ac_clean_files=$ac_clean_files_save
4087 # Check that the compiler produces executables we can run.  If not, either
4088 # the compiler is broken, or we cross compile.
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4090 $as_echo_n "checking whether we are cross compiling... " >&6; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4092 $as_echo "$cross_compiling" >&6; }
4093
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4095 $as_echo_n "checking for suffix of executables... " >&6; }
4096 if { { ac_try="$ac_link"
4097 case "(($ac_try" in
4098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099   *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103   (eval "$ac_link") 2>&5
4104   ac_status=$?
4105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106   test $ac_status = 0; }; then :
4107   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4108 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4109 # work properly (i.e., refer to `conftest.exe'), while it won't with
4110 # `rm'.
4111 for ac_file in conftest.exe conftest conftest.*; do
4112   test -f "$ac_file" || continue
4113   case $ac_file in
4114     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4115     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4116           break;;
4117     * ) break;;
4118   esac
4119 done
4120 else
4121   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error "cannot compute suffix of executables: cannot compile and link
4124 See \`config.log' for more details." "$LINENO" 5; }
4125 fi
4126 rm -f conftest$ac_cv_exeext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4128 $as_echo "$ac_cv_exeext" >&6; }
4129
4130 rm -f conftest.$ac_ext
4131 EXEEXT=$ac_cv_exeext
4132 ac_exeext=$EXEEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4134 $as_echo_n "checking for suffix of object files... " >&6; }
4135 if test "${ac_cv_objext+set}" = set; then :
4136   $as_echo_n "(cached) " >&6
4137 else
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h.  */
4140
4141 int
4142 main ()
4143 {
4144
4145   ;
4146   return 0;
4147 }
4148 _ACEOF
4149 rm -f conftest.o conftest.obj
4150 if { { ac_try="$ac_compile"
4151 case "(($ac_try" in
4152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153   *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157   (eval "$ac_compile") 2>&5
4158   ac_status=$?
4159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160   test $ac_status = 0; }; then :
4161   for ac_file in conftest.o conftest.obj conftest.*; do
4162   test -f "$ac_file" || continue;
4163   case $ac_file in
4164     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4165     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4166        break;;
4167   esac
4168 done
4169 else
4170   $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4172
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error "cannot compute suffix of object files: cannot compile
4176 See \`config.log' for more details." "$LINENO" 5; }
4177 fi
4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4179 fi
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4181 $as_echo "$ac_cv_objext" >&6; }
4182 OBJEXT=$ac_cv_objext
4183 ac_objext=$OBJEXT
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4186 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4187   $as_echo_n "(cached) " >&6
4188 else
4189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h.  */
4191
4192 int
4193 main ()
4194 {
4195 #ifndef __GNUC__
4196        choke me
4197 #endif
4198
4199   ;
4200   return 0;
4201 }
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204   ac_compiler_gnu=yes
4205 else
4206   ac_compiler_gnu=no
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4214 if test $ac_compiler_gnu = yes; then
4215   GCC=yes
4216 else
4217   GCC=
4218 fi
4219 ac_test_CFLAGS=${CFLAGS+set}
4220 ac_save_CFLAGS=$CFLAGS
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4223 if test "${ac_cv_prog_cc_g+set}" = set; then :
4224   $as_echo_n "(cached) " >&6
4225 else
4226   ac_save_c_werror_flag=$ac_c_werror_flag
4227    ac_c_werror_flag=yes
4228    ac_cv_prog_cc_g=no
4229    CFLAGS="-g"
4230    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h.  */
4232
4233 int
4234 main ()
4235 {
4236
4237   ;
4238   return 0;
4239 }
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242   ac_cv_prog_cc_g=yes
4243 else
4244   CFLAGS=""
4245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h.  */
4247
4248 int
4249 main ()
4250 {
4251
4252   ;
4253   return 0;
4254 }
4255 _ACEOF
4256 if ac_fn_c_try_compile "$LINENO"; then :
4257
4258 else
4259   ac_c_werror_flag=$ac_save_c_werror_flag
4260          CFLAGS="-g"
4261          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h.  */
4263
4264 int
4265 main ()
4266 {
4267
4268   ;
4269   return 0;
4270 }
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273   ac_cv_prog_cc_g=yes
4274 fi
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 fi
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 fi
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280    ac_c_werror_flag=$ac_save_c_werror_flag
4281 fi
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
4284 if test "$ac_test_CFLAGS" = set; then
4285   CFLAGS=$ac_save_CFLAGS
4286 elif test $ac_cv_prog_cc_g = yes; then
4287   if test "$GCC" = yes; then
4288     CFLAGS="-g -O2"
4289   else
4290     CFLAGS="-g"
4291   fi
4292 else
4293   if test "$GCC" = yes; then
4294     CFLAGS="-O2"
4295   else
4296     CFLAGS=
4297   fi
4298 fi
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4301 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4302   $as_echo_n "(cached) " >&6
4303 else
4304   ac_cv_prog_cc_c89=no
4305 ac_save_CC=$CC
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h.  */
4308 #include <stdarg.h>
4309 #include <stdio.h>
4310 #include <sys/types.h>
4311 #include <sys/stat.h>
4312 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4313 struct buf { int x; };
4314 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4315 static char *e (p, i)
4316      char **p;
4317      int i;
4318 {
4319   return p[i];
4320 }
4321 static char *f (char * (*g) (char **, int), char **p, ...)
4322 {
4323   char *s;
4324   va_list v;
4325   va_start (v,p);
4326   s = g (p, va_arg (v,int));
4327   va_end (v);
4328   return s;
4329 }
4330
4331 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4332    function prototypes and stuff, but not '\xHH' hex character constants.
4333    These don't provoke an error unfortunately, instead are silently treated
4334    as 'x'.  The following induces an error, until -std is added to get
4335    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4336    array size at least.  It's necessary to write '\x00'==0 to get something
4337    that's true only with -std.  */
4338 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4339
4340 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4341    inside strings and character constants.  */
4342 #define FOO(x) 'x'
4343 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4344
4345 int test (int i, double x);
4346 struct s1 {int (*f) (int a);};
4347 struct s2 {int (*f) (double a);};
4348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4349 int argc;
4350 char **argv;
4351 int
4352 main ()
4353 {
4354 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4355   ;
4356   return 0;
4357 }
4358 _ACEOF
4359 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4360         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4361 do
4362   CC="$ac_save_CC $ac_arg"
4363   if ac_fn_c_try_compile "$LINENO"; then :
4364   ac_cv_prog_cc_c89=$ac_arg
4365 fi
4366 rm -f core conftest.err conftest.$ac_objext
4367   test "x$ac_cv_prog_cc_c89" != "xno" && break
4368 done
4369 rm -f conftest.$ac_ext
4370 CC=$ac_save_CC
4371
4372 fi
4373 # AC_CACHE_VAL
4374 case "x$ac_cv_prog_cc_c89" in
4375   x)
4376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4377 $as_echo "none needed" >&6; } ;;
4378   xno)
4379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4380 $as_echo "unsupported" >&6; } ;;
4381   *)
4382     CC="$CC $ac_cv_prog_cc_c89"
4383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4384 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4385 esac
4386 if test "x$ac_cv_prog_cc_c89" != xno; then :
4387
4388 fi
4389
4390 ac_ext=c
4391 ac_cpp='$CPP $CPPFLAGS'
4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4395 DEPDIR="${am__leading_dot}deps"
4396
4397 ac_config_commands="$ac_config_commands depfiles"
4398
4399
4400 am_make=${MAKE-make}
4401 cat > confinc << 'END'
4402 am__doit:
4403         @echo this is the am__doit target
4404 .PHONY: am__doit
4405 END
4406 # If we don't find an include directive, just comment out the code.
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4408 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4409 am__include="#"
4410 am__quote=
4411 _am_result=none
4412 # First try GNU make style include.
4413 echo "include confinc" > confmf
4414 # Ignore all kinds of additional output from `make'.
4415 case `$am_make -s -f confmf 2> /dev/null` in #(
4416 *the\ am__doit\ target*)
4417   am__include=include
4418   am__quote=
4419   _am_result=GNU
4420   ;;
4421 esac
4422 # Now try BSD make style include.
4423 if test "$am__include" = "#"; then
4424    echo '.include "confinc"' > confmf
4425    case `$am_make -s -f confmf 2> /dev/null` in #(
4426    *the\ am__doit\ target*)
4427      am__include=.include
4428      am__quote="\""
4429      _am_result=BSD
4430      ;;
4431    esac
4432 fi
4433
4434
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4436 $as_echo "$_am_result" >&6; }
4437 rm -f confinc confmf
4438
4439 # Check whether --enable-dependency-tracking was given.
4440 if test "${enable_dependency_tracking+set}" = set; then :
4441   enableval=$enable_dependency_tracking;
4442 fi
4443
4444 if test "x$enable_dependency_tracking" != xno; then
4445   am_depcomp="$ac_aux_dir/depcomp"
4446   AMDEPBACKSLASH='\'
4447 fi
4448  if test "x$enable_dependency_tracking" != xno; then
4449   AMDEP_TRUE=
4450   AMDEP_FALSE='#'
4451 else
4452   AMDEP_TRUE='#'
4453   AMDEP_FALSE=
4454 fi
4455
4456
4457
4458 depcc="$CC"   am_compiler_list=
4459
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461 $as_echo_n "checking dependency style of $depcc... " >&6; }
4462 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4463   $as_echo_n "(cached) " >&6
4464 else
4465   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466   # We make a subdir and do the tests there.  Otherwise we can end up
4467   # making bogus files that we don't know about and never remove.  For
4468   # instance it was reported that on HP-UX the gcc test will end up
4469   # making a dummy file named `D' -- because `-MD' means `put the output
4470   # in D'.
4471   mkdir conftest.dir
4472   # Copy depcomp to subdir because otherwise we won't find it if we're
4473   # using a relative directory.
4474   cp "$am_depcomp" conftest.dir
4475   cd conftest.dir
4476   # We will build objects and dependencies in a subdirectory because
4477   # it helps to detect inapplicable dependency modes.  For instance
4478   # both Tru64's cc and ICC support -MD to output dependencies as a
4479   # side effect of compilation, but ICC will put the dependencies in
4480   # the current directory while Tru64 will put them in the object
4481   # directory.
4482   mkdir sub
4483
4484   am_cv_CC_dependencies_compiler_type=none
4485   if test "$am_compiler_list" = ""; then
4486      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4487   fi
4488   am__universal=false
4489   case " $depcc " in #(
4490      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4491      esac
4492
4493   for depmode in $am_compiler_list; do
4494     # Setup a source with many dependencies, because some compilers
4495     # like to wrap large dependency lists on column 80 (with \), and
4496     # we should not choose a depcomp mode which is confused by this.
4497     #
4498     # We need to recreate these files for each test, as the compiler may
4499     # overwrite some of them when testing with obscure command lines.
4500     # This happens at least with the AIX C compiler.
4501     : > sub/conftest.c
4502     for i in 1 2 3 4 5 6; do
4503       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4504       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4505       # Solaris 8's {/usr,}/bin/sh.
4506       touch sub/conftst$i.h
4507     done
4508     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4509
4510     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4511     # mode.  It turns out that the SunPro C++ compiler does not properly
4512     # handle `-M -o', and we need to detect this.  Also, some Intel
4513     # versions had trouble with output in subdirs
4514     am__obj=sub/conftest.${OBJEXT-o}
4515     am__minus_obj="-o $am__obj"
4516     case $depmode in
4517     gcc)
4518       # This depmode causes a compiler race in universal mode.
4519       test "$am__universal" = false || continue
4520       ;;
4521     nosideeffect)
4522       # after this tag, mechanisms are not by side-effect, so they'll
4523       # only be used when explicitly requested
4524       if test "x$enable_dependency_tracking" = xyes; then
4525         continue
4526       else
4527         break
4528       fi
4529       ;;
4530     msvisualcpp | msvcmsys)
4531       # This compiler won't grok `-c -o', but also, the minuso test has
4532       # not run yet.  These depmodes are late enough in the game, and
4533       # so weak that their functioning should not be impacted.
4534       am__obj=conftest.${OBJEXT-o}
4535       am__minus_obj=
4536       ;;
4537     none) break ;;
4538     esac
4539     if depmode=$depmode \
4540        source=sub/conftest.c object=$am__obj \
4541        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4542        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4543          >/dev/null 2>conftest.err &&
4544        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4545        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4546        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4547        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4548       # icc doesn't choke on unknown options, it will just issue warnings
4549       # or remarks (even with -Werror).  So we grep stderr for any message
4550       # that says an option was ignored or not supported.
4551       # When given -MP, icc 7.0 and 7.1 complain thusly:
4552       #   icc: Command line warning: ignoring option '-M'; no argument required
4553       # The diagnosis changed in icc 8.0:
4554       #   icc: Command line remark: option '-MP' not supported
4555       if (grep 'ignoring option' conftest.err ||
4556           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4557         am_cv_CC_dependencies_compiler_type=$depmode
4558         break
4559       fi
4560     fi
4561   done
4562
4563   cd ..
4564   rm -rf conftest.dir
4565 else
4566   am_cv_CC_dependencies_compiler_type=none
4567 fi
4568
4569 fi
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4571 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4572 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4573
4574  if
4575   test "x$enable_dependency_tracking" != xno \
4576   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4577   am__fastdepCC_TRUE=
4578   am__fastdepCC_FALSE='#'
4579 else
4580   am__fastdepCC_TRUE='#'
4581   am__fastdepCC_FALSE=
4582 fi
4583
4584
4585 ac_ext=cpp
4586 ac_cpp='$CXXCPP $CPPFLAGS'
4587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4590 if test -z "$CXX"; then
4591   if test -n "$CCC"; then
4592     CXX=$CCC
4593   else
4594     if test -n "$ac_tool_prefix"; then
4595   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4596   do
4597     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_CXX+set}" = set; then :
4602   $as_echo_n "(cached) " >&6
4603 else
4604   if test -n "$CXX"; then
4605   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4606 else
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 for as_dir in $PATH
4609 do
4610   IFS=$as_save_IFS
4611   test -z "$as_dir" && as_dir=.
4612     for ac_exec_ext in '' $ac_executable_extensions; do
4613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616     break 2
4617   fi
4618 done
4619   done
4620 IFS=$as_save_IFS
4621
4622 fi
4623 fi
4624 CXX=$ac_cv_prog_CXX
4625 if test -n "$CXX"; then
4626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4627 $as_echo "$CXX" >&6; }
4628 else
4629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4631 fi
4632
4633
4634     test -n "$CXX" && break
4635   done
4636 fi
4637 if test -z "$CXX"; then
4638   ac_ct_CXX=$CXX
4639   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4640 do
4641   # Extract the first word of "$ac_prog", so it can be a program name with args.
4642 set dummy $ac_prog; ac_word=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4646   $as_echo_n "(cached) " >&6
4647 else
4648   if test -n "$ac_ct_CXX"; then
4649   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4650 else
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH
4653 do
4654   IFS=$as_save_IFS
4655   test -z "$as_dir" && as_dir=.
4656     for ac_exec_ext in '' $ac_executable_extensions; do
4657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658     ac_cv_prog_ac_ct_CXX="$ac_prog"
4659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660     break 2
4661   fi
4662 done
4663   done
4664 IFS=$as_save_IFS
4665
4666 fi
4667 fi
4668 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4669 if test -n "$ac_ct_CXX"; then
4670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4671 $as_echo "$ac_ct_CXX" >&6; }
4672 else
4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4675 fi
4676
4677
4678   test -n "$ac_ct_CXX" && break
4679 done
4680
4681   if test "x$ac_ct_CXX" = x; then
4682     CXX="g++"
4683   else
4684     case $cross_compiling:$ac_tool_warned in
4685 yes:)
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688 ac_tool_warned=yes ;;
4689 esac
4690     CXX=$ac_ct_CXX
4691   fi
4692 fi
4693
4694   fi
4695 fi
4696 # Provide some information about the compiler.
4697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4698 set X $ac_compile
4699 ac_compiler=$2
4700 for ac_option in --version -v -V -qversion; do
4701   { { ac_try="$ac_compiler $ac_option >&5"
4702 case "(($ac_try" in
4703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4704   *) ac_try_echo=$ac_try;;
4705 esac
4706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4707 $as_echo "$ac_try_echo"; } >&5
4708   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4709   ac_status=$?
4710   if test -s conftest.err; then
4711     sed '10a\
4712 ... rest of stderr output deleted ...
4713          10q' conftest.err >conftest.er1
4714     cat conftest.er1 >&5
4715     rm -f conftest.er1 conftest.err
4716   fi
4717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4718   test $ac_status = 0; }
4719 done
4720
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4722 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4723 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4724   $as_echo_n "(cached) " >&6
4725 else
4726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h.  */
4728
4729 int
4730 main ()
4731 {
4732 #ifndef __GNUC__
4733        choke me
4734 #endif
4735
4736   ;
4737   return 0;
4738 }
4739 _ACEOF
4740 if ac_fn_cxx_try_compile "$LINENO"; then :
4741   ac_compiler_gnu=yes
4742 else
4743   ac_compiler_gnu=no
4744 fi
4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4747
4748 fi
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4750 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4751 if test $ac_compiler_gnu = yes; then
4752   GXX=yes
4753 else
4754   GXX=
4755 fi
4756 ac_test_CXXFLAGS=${CXXFLAGS+set}
4757 ac_save_CXXFLAGS=$CXXFLAGS
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4759 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4760 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4761   $as_echo_n "(cached) " >&6
4762 else
4763   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4764    ac_cxx_werror_flag=yes
4765    ac_cv_prog_cxx_g=no
4766    CXXFLAGS="-g"
4767    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h.  */
4769
4770 int
4771 main ()
4772 {
4773
4774   ;
4775   return 0;
4776 }
4777 _ACEOF
4778 if ac_fn_cxx_try_compile "$LINENO"; then :
4779   ac_cv_prog_cxx_g=yes
4780 else
4781   CXXFLAGS=""
4782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h.  */
4784
4785 int
4786 main ()
4787 {
4788
4789   ;
4790   return 0;
4791 }
4792 _ACEOF
4793 if ac_fn_cxx_try_compile "$LINENO"; then :
4794
4795 else
4796   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4797          CXXFLAGS="-g"
4798          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h.  */
4800
4801 int
4802 main ()
4803 {
4804
4805   ;
4806   return 0;
4807 }
4808 _ACEOF
4809 if ac_fn_cxx_try_compile "$LINENO"; then :
4810   ac_cv_prog_cxx_g=yes
4811 fi
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 fi
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 fi
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4818 fi
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4820 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4821 if test "$ac_test_CXXFLAGS" = set; then
4822   CXXFLAGS=$ac_save_CXXFLAGS
4823 elif test $ac_cv_prog_cxx_g = yes; then
4824   if test "$GXX" = yes; then
4825     CXXFLAGS="-g -O2"
4826   else
4827     CXXFLAGS="-g"
4828   fi
4829 else
4830   if test "$GXX" = yes; then
4831     CXXFLAGS="-O2"
4832   else
4833     CXXFLAGS=
4834   fi
4835 fi
4836 ac_ext=c
4837 ac_cpp='$CPP $CPPFLAGS'
4838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4841
4842 depcc="$CXX"  am_compiler_list=
4843
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4845 $as_echo_n "checking dependency style of $depcc... " >&6; }
4846 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4847   $as_echo_n "(cached) " >&6
4848 else
4849   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4850   # We make a subdir and do the tests there.  Otherwise we can end up
4851   # making bogus files that we don't know about and never remove.  For
4852   # instance it was reported that on HP-UX the gcc test will end up
4853   # making a dummy file named `D' -- because `-MD' means `put the output
4854   # in D'.
4855   mkdir conftest.dir
4856   # Copy depcomp to subdir because otherwise we won't find it if we're
4857   # using a relative directory.
4858   cp "$am_depcomp" conftest.dir
4859   cd conftest.dir
4860   # We will build objects and dependencies in a subdirectory because
4861   # it helps to detect inapplicable dependency modes.  For instance
4862   # both Tru64's cc and ICC support -MD to output dependencies as a
4863   # side effect of compilation, but ICC will put the dependencies in
4864   # the current directory while Tru64 will put them in the object
4865   # directory.
4866   mkdir sub
4867
4868   am_cv_CXX_dependencies_compiler_type=none
4869   if test "$am_compiler_list" = ""; then
4870      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4871   fi
4872   am__universal=false
4873   case " $depcc " in #(
4874      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4875      esac
4876
4877   for depmode in $am_compiler_list; do
4878     # Setup a source with many dependencies, because some compilers
4879     # like to wrap large dependency lists on column 80 (with \), and
4880     # we should not choose a depcomp mode which is confused by this.
4881     #
4882     # We need to recreate these files for each test, as the compiler may
4883     # overwrite some of them when testing with obscure command lines.
4884     # This happens at least with the AIX C compiler.
4885     : > sub/conftest.c
4886     for i in 1 2 3 4 5 6; do
4887       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4888       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4889       # Solaris 8's {/usr,}/bin/sh.
4890       touch sub/conftst$i.h
4891     done
4892     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4893
4894     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4895     # mode.  It turns out that the SunPro C++ compiler does not properly
4896     # handle `-M -o', and we need to detect this.  Also, some Intel
4897     # versions had trouble with output in subdirs
4898     am__obj=sub/conftest.${OBJEXT-o}
4899     am__minus_obj="-o $am__obj"
4900     case $depmode in
4901     gcc)
4902       # This depmode causes a compiler race in universal mode.
4903       test "$am__universal" = false || continue
4904       ;;
4905     nosideeffect)
4906       # after this tag, mechanisms are not by side-effect, so they'll
4907       # only be used when explicitly requested
4908       if test "x$enable_dependency_tracking" = xyes; then
4909         continue
4910       else
4911         break
4912       fi
4913       ;;
4914     msvisualcpp | msvcmsys)
4915       # This compiler won't grok `-c -o', but also, the minuso test has
4916       # not run yet.  These depmodes are late enough in the game, and
4917       # so weak that their functioning should not be impacted.
4918       am__obj=conftest.${OBJEXT-o}
4919       am__minus_obj=
4920       ;;
4921     none) break ;;
4922     esac
4923     if depmode=$depmode \
4924        source=sub/conftest.c object=$am__obj \
4925        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4926        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4927          >/dev/null 2>conftest.err &&
4928        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4929        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4930        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4931        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4932       # icc doesn't choke on unknown options, it will just issue warnings
4933       # or remarks (even with -Werror).  So we grep stderr for any message
4934       # that says an option was ignored or not supported.
4935       # When given -MP, icc 7.0 and 7.1 complain thusly:
4936       #   icc: Command line warning: ignoring option '-M'; no argument required
4937       # The diagnosis changed in icc 8.0:
4938       #   icc: Command line remark: option '-MP' not supported
4939       if (grep 'ignoring option' conftest.err ||
4940           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4941         am_cv_CXX_dependencies_compiler_type=$depmode
4942         break
4943       fi
4944     fi
4945   done
4946
4947   cd ..
4948   rm -rf conftest.dir
4949 else
4950   am_cv_CXX_dependencies_compiler_type=none
4951 fi
4952
4953 fi
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4955 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4956 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4957
4958  if
4959   test "x$enable_dependency_tracking" != xno \
4960   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4961   am__fastdepCXX_TRUE=
4962   am__fastdepCXX_FALSE='#'
4963 else
4964   am__fastdepCXX_TRUE='#'
4965   am__fastdepCXX_FALSE=
4966 fi
4967
4968
4969 for ac_prog in 'bison -y' byacc
4970 do
4971   # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy $ac_prog; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_YACC+set}" = set; then :
4976   $as_echo_n "(cached) " >&6
4977 else
4978   if test -n "$YACC"; then
4979   ac_cv_prog_YACC="$YACC" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4983 do
4984   IFS=$as_save_IFS
4985   test -z "$as_dir" && as_dir=.
4986     for ac_exec_ext in '' $ac_executable_extensions; do
4987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988     ac_cv_prog_YACC="$ac_prog"
4989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990     break 2
4991   fi
4992 done
4993   done
4994 IFS=$as_save_IFS
4995
4996 fi
4997 fi
4998 YACC=$ac_cv_prog_YACC
4999 if test -n "$YACC"; then
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5001 $as_echo "$YACC" >&6; }
5002 else
5003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5005 fi
5006
5007
5008   test -n "$YACC" && break
5009 done
5010 test -n "$YACC" || YACC="yacc"
5011
5012 if test -n "$ac_tool_prefix"; then
5013   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5018   $as_echo_n "(cached) " >&6
5019 else
5020   if test -n "$RANLIB"; then
5021   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5025 do
5026   IFS=$as_save_IFS
5027   test -z "$as_dir" && as_dir=.
5028     for ac_exec_ext in '' $ac_executable_extensions; do
5029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032     break 2
5033   fi
5034 done
5035   done
5036 IFS=$as_save_IFS
5037
5038 fi
5039 fi
5040 RANLIB=$ac_cv_prog_RANLIB
5041 if test -n "$RANLIB"; then
5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5043 $as_echo "$RANLIB" >&6; }
5044 else
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5047 fi
5048
5049
5050 fi
5051 if test -z "$ac_cv_prog_RANLIB"; then
5052   ac_ct_RANLIB=$RANLIB
5053   # Extract the first word of "ranlib", so it can be a program name with args.
5054 set dummy ranlib; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5058   $as_echo_n "(cached) " >&6
5059 else
5060   if test -n "$ac_ct_RANLIB"; then
5061   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066   IFS=$as_save_IFS
5067   test -z "$as_dir" && as_dir=.
5068     for ac_exec_ext in '' $ac_executable_extensions; do
5069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070     ac_cv_prog_ac_ct_RANLIB="ranlib"
5071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072     break 2
5073   fi
5074 done
5075   done
5076 IFS=$as_save_IFS
5077
5078 fi
5079 fi
5080 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5081 if test -n "$ac_ct_RANLIB"; then
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5083 $as_echo "$ac_ct_RANLIB" >&6; }
5084 else
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 fi
5088
5089   if test "x$ac_ct_RANLIB" = x; then
5090     RANLIB=":"
5091   else
5092     case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098     RANLIB=$ac_ct_RANLIB
5099   fi
5100 else
5101   RANLIB="$ac_cv_prog_RANLIB"
5102 fi
5103
5104
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5106 $as_echo_n "checking whether ln -s works... " >&6; }
5107 LN_S=$as_ln_s
5108 if test "$LN_S" = "ln -s"; then
5109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5110 $as_echo "yes" >&6; }
5111 else
5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5113 $as_echo "no, using $LN_S" >&6; }
5114 fi
5115
5116
5117
5118 ac_ext=c
5119 ac_cpp='$CPP $CPPFLAGS'
5120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5124 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5125 # On Suns, sometimes $CPP names a directory.
5126 if test -n "$CPP" && test -d "$CPP"; then
5127   CPP=
5128 fi
5129 if test -z "$CPP"; then
5130   if test "${ac_cv_prog_CPP+set}" = set; then :
5131   $as_echo_n "(cached) " >&6
5132 else
5133       # Double quotes because CPP needs to be expanded
5134     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5135     do
5136       ac_preproc_ok=false
5137 for ac_c_preproc_warn_flag in '' yes
5138 do
5139   # Use a header file that comes with gcc, so configuring glibc
5140   # with a fresh cross-compiler works.
5141   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5142   # <limits.h> exists even on freestanding compilers.
5143   # On the NeXT, cc -E runs the code through the compiler's parser,
5144   # not just through cpp. "Syntax error" is here to catch this case.
5145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h.  */
5147 #ifdef __STDC__
5148 # include <limits.h>
5149 #else
5150 # include <assert.h>
5151 #endif
5152                      Syntax error
5153 _ACEOF
5154 if ac_fn_c_try_cpp "$LINENO"; then :
5155
5156 else
5157   # Broken: fails on valid input.
5158 continue
5159 fi
5160 rm -f conftest.err conftest.$ac_ext
5161
5162   # OK, works on sane cases.  Now check whether nonexistent headers
5163   # can be detected and how.
5164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h.  */
5166 #include <ac_nonexistent.h>
5167 _ACEOF
5168 if ac_fn_c_try_cpp "$LINENO"; then :
5169   # Broken: success on invalid input.
5170 continue
5171 else
5172   # Passes both tests.
5173 ac_preproc_ok=:
5174 break
5175 fi
5176 rm -f conftest.err conftest.$ac_ext
5177
5178 done
5179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5180 rm -f conftest.err conftest.$ac_ext
5181 if $ac_preproc_ok; then :
5182   break
5183 fi
5184
5185     done
5186     ac_cv_prog_CPP=$CPP
5187
5188 fi
5189   CPP=$ac_cv_prog_CPP
5190 else
5191   ac_cv_prog_CPP=$CPP
5192 fi
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5194 $as_echo "$CPP" >&6; }
5195 ac_preproc_ok=false
5196 for ac_c_preproc_warn_flag in '' yes
5197 do
5198   # Use a header file that comes with gcc, so configuring glibc
5199   # with a fresh cross-compiler works.
5200   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5201   # <limits.h> exists even on freestanding compilers.
5202   # On the NeXT, cc -E runs the code through the compiler's parser,
5203   # not just through cpp. "Syntax error" is here to catch this case.
5204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h.  */
5206 #ifdef __STDC__
5207 # include <limits.h>
5208 #else
5209 # include <assert.h>
5210 #endif
5211                      Syntax error
5212 _ACEOF
5213 if ac_fn_c_try_cpp "$LINENO"; then :
5214
5215 else
5216   # Broken: fails on valid input.
5217 continue
5218 fi
5219 rm -f conftest.err conftest.$ac_ext
5220
5221   # OK, works on sane cases.  Now check whether nonexistent headers
5222   # can be detected and how.
5223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h.  */
5225 #include <ac_nonexistent.h>
5226 _ACEOF
5227 if ac_fn_c_try_cpp "$LINENO"; then :
5228   # Broken: success on invalid input.
5229 continue
5230 else
5231   # Passes both tests.
5232 ac_preproc_ok=:
5233 break
5234 fi
5235 rm -f conftest.err conftest.$ac_ext
5236
5237 done
5238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5239 rm -f conftest.err conftest.$ac_ext
5240 if $ac_preproc_ok; then :
5241
5242 else
5243   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5245 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5246 See \`config.log' for more details." "$LINENO" 5; }
5247 fi
5248
5249 ac_ext=c
5250 ac_cpp='$CPP $CPPFLAGS'
5251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5254
5255
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5257 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5258 if test "${ac_cv_path_GREP+set}" = set; then :
5259   $as_echo_n "(cached) " >&6
5260 else
5261   if test -z "$GREP"; then
5262   ac_path_GREP_found=false
5263   # Loop through the user's path and test for each of PROGNAME-LIST
5264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5266 do
5267   IFS=$as_save_IFS
5268   test -z "$as_dir" && as_dir=.
5269     for ac_prog in grep ggrep; do
5270     for ac_exec_ext in '' $ac_executable_extensions; do
5271       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5272       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5273 # Check for GNU ac_path_GREP and select it if it is found.
5274   # Check for GNU $ac_path_GREP
5275 case `"$ac_path_GREP" --version 2>&1` in
5276 *GNU*)
5277   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5278 *)
5279   ac_count=0
5280   $as_echo_n 0123456789 >"conftest.in"
5281   while :
5282   do
5283     cat "conftest.in" "conftest.in" >"conftest.tmp"
5284     mv "conftest.tmp" "conftest.in"
5285     cp "conftest.in" "conftest.nl"
5286     $as_echo 'GREP' >> "conftest.nl"
5287     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5288     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5289     as_fn_arith $ac_count + 1 && ac_count=$as_val
5290     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5291       # Best one so far, save it but keep looking for a better one
5292       ac_cv_path_GREP="$ac_path_GREP"
5293       ac_path_GREP_max=$ac_count
5294     fi
5295     # 10*(2^10) chars as input seems more than enough
5296     test $ac_count -gt 10 && break
5297   done
5298   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5299 esac
5300
5301       $ac_path_GREP_found && break 3
5302     done
5303   done
5304   done
5305 IFS=$as_save_IFS
5306   if test -z "$ac_cv_path_GREP"; then
5307     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5308   fi
5309 else
5310   ac_cv_path_GREP=$GREP
5311 fi
5312
5313 fi
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5315 $as_echo "$ac_cv_path_GREP" >&6; }
5316  GREP="$ac_cv_path_GREP"
5317
5318
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5320 $as_echo_n "checking for egrep... " >&6; }
5321 if test "${ac_cv_path_EGREP+set}" = set; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5325    then ac_cv_path_EGREP="$GREP -E"
5326    else
5327      if test -z "$EGREP"; then
5328   ac_path_EGREP_found=false
5329   # Loop through the user's path and test for each of PROGNAME-LIST
5330   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5332 do
5333   IFS=$as_save_IFS
5334   test -z "$as_dir" && as_dir=.
5335     for ac_prog in egrep; do
5336     for ac_exec_ext in '' $ac_executable_extensions; do
5337       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5338       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5339 # Check for GNU ac_path_EGREP and select it if it is found.
5340   # Check for GNU $ac_path_EGREP
5341 case `"$ac_path_EGREP" --version 2>&1` in
5342 *GNU*)
5343   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5344 *)
5345   ac_count=0
5346   $as_echo_n 0123456789 >"conftest.in"
5347   while :
5348   do
5349     cat "conftest.in" "conftest.in" >"conftest.tmp"
5350     mv "conftest.tmp" "conftest.in"
5351     cp "conftest.in" "conftest.nl"
5352     $as_echo 'EGREP' >> "conftest.nl"
5353     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5354     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5355     as_fn_arith $ac_count + 1 && ac_count=$as_val
5356     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5357       # Best one so far, save it but keep looking for a better one
5358       ac_cv_path_EGREP="$ac_path_EGREP"
5359       ac_path_EGREP_max=$ac_count
5360     fi
5361     # 10*(2^10) chars as input seems more than enough
5362     test $ac_count -gt 10 && break
5363   done
5364   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5365 esac
5366
5367       $ac_path_EGREP_found && break 3
5368     done
5369   done
5370   done
5371 IFS=$as_save_IFS
5372   if test -z "$ac_cv_path_EGREP"; then
5373     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5374   fi
5375 else
5376   ac_cv_path_EGREP=$EGREP
5377 fi
5378
5379    fi
5380 fi
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5382 $as_echo "$ac_cv_path_EGREP" >&6; }
5383  EGREP="$ac_cv_path_EGREP"
5384
5385
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5387 $as_echo_n "checking for ANSI C header files... " >&6; }
5388 if test "${ac_cv_header_stdc+set}" = set; then :
5389   $as_echo_n "(cached) " >&6
5390 else
5391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h.  */
5393 #include <stdlib.h>
5394 #include <stdarg.h>
5395 #include <string.h>
5396 #include <float.h>
5397
5398 int
5399 main ()
5400 {
5401
5402   ;
5403   return 0;
5404 }
5405 _ACEOF
5406 if ac_fn_c_try_compile "$LINENO"; then :
5407   ac_cv_header_stdc=yes
5408 else
5409   ac_cv_header_stdc=no
5410 fi
5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412
5413 if test $ac_cv_header_stdc = yes; then
5414   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h.  */
5417 #include <string.h>
5418
5419 _ACEOF
5420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5421   $EGREP "memchr" >/dev/null 2>&1; then :
5422
5423 else
5424   ac_cv_header_stdc=no
5425 fi
5426 rm -f conftest*
5427
5428 fi
5429
5430 if test $ac_cv_header_stdc = yes; then
5431   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h.  */
5434 #include <stdlib.h>
5435
5436 _ACEOF
5437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5438   $EGREP "free" >/dev/null 2>&1; then :
5439
5440 else
5441   ac_cv_header_stdc=no
5442 fi
5443 rm -f conftest*
5444
5445 fi
5446
5447 if test $ac_cv_header_stdc = yes; then
5448   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5449   if test "$cross_compiling" = yes; then :
5450   :
5451 else
5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h.  */
5454 #include <ctype.h>
5455 #include <stdlib.h>
5456 #if ((' ' & 0x0FF) == 0x020)
5457 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5458 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5459 #else
5460 # define ISLOWER(c) \
5461                    (('a' <= (c) && (c) <= 'i') \
5462                      || ('j' <= (c) && (c) <= 'r') \
5463                      || ('s' <= (c) && (c) <= 'z'))
5464 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5465 #endif
5466
5467 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5468 int
5469 main ()
5470 {
5471   int i;
5472   for (i = 0; i < 256; i++)
5473     if (XOR (islower (i), ISLOWER (i))
5474         || toupper (i) != TOUPPER (i))
5475       return 2;
5476   return 0;
5477 }
5478 _ACEOF
5479 if ac_fn_c_try_run "$LINENO"; then :
5480
5481 else
5482   ac_cv_header_stdc=no
5483 fi
5484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5485   conftest.$ac_objext conftest.beam conftest.$ac_ext
5486 fi
5487
5488 fi
5489 fi
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5491 $as_echo "$ac_cv_header_stdc" >&6; }
5492 if test $ac_cv_header_stdc = yes; then
5493
5494 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5495
5496 fi
5497
5498 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5499 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5500                   inttypes.h stdint.h unistd.h
5501 do :
5502   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5503 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5504 "
5505 eval as_val=\$$as_ac_Header
5506    if test "x$as_val" = x""yes; then :
5507   cat >>confdefs.h <<_ACEOF
5508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5509 _ACEOF
5510
5511 fi
5512
5513 done
5514
5515
5516
5517   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5518 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5519   MINIX=yes
5520 else
5521   MINIX=
5522 fi
5523
5524
5525   if test "$MINIX" = yes; then
5526
5527 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5528
5529
5530 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5531
5532
5533 $as_echo "#define _MINIX 1" >>confdefs.h
5534
5535   fi
5536
5537
5538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5539 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5540 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5541   $as_echo_n "(cached) " >&6
5542 else
5543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h.  */
5545
5546 #         define __EXTENSIONS__ 1
5547           $ac_includes_default
5548 int
5549 main ()
5550 {
5551
5552   ;
5553   return 0;
5554 }
5555 _ACEOF
5556 if ac_fn_c_try_compile "$LINENO"; then :
5557   ac_cv_safe_to_define___extensions__=yes
5558 else
5559   ac_cv_safe_to_define___extensions__=no
5560 fi
5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5562 fi
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5564 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5565   test $ac_cv_safe_to_define___extensions__ = yes &&
5566     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5567
5568   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5569
5570   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5571
5572   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5573
5574   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5575
5576
5577
5578
5579 # If we haven't got the data from the intl directory,
5580 # assume NLS is disabled.
5581 USE_NLS=no
5582 LIBINTL=
5583 LIBINTL_DEP=
5584 INCINTL=
5585 XGETTEXT=
5586 GMSGFMT=
5587 POSUB=
5588
5589 if test -f  ../intl/config.intl; then
5590   .  ../intl/config.intl
5591 fi
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5593 $as_echo_n "checking whether NLS is requested... " >&6; }
5594 if test x"$USE_NLS" != xyes; then
5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5597 else
5598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5599 $as_echo "yes" >&6; }
5600
5601 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5602
5603
5604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5605 $as_echo_n "checking for catalogs to be installed... " >&6; }
5606   # Look for .po and .gmo files in the source directory.
5607   CATALOGS=
5608   XLINGUAS=
5609   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5610     # If there aren't any .gmo files the shell will give us the
5611     # literal string "../path/to/srcdir/po/*.gmo" which has to be
5612     # weeded out.
5613     case "$cat" in *\**)
5614       continue;;
5615     esac
5616     # The quadruple backslash is collapsed to a double backslash
5617     # by the backticks, then collapsed again by the double quotes,
5618     # leaving us with one backslash in the sed expression (right
5619     # before the dot that mustn't act as a wildcard).
5620     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5621     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
5622     # The user is allowed to set LINGUAS to a list of languages to
5623     # install catalogs for.  If it's empty that means "all of them."
5624     if test "x$LINGUAS" = x; then
5625       CATALOGS="$CATALOGS $cat"
5626       XLINGUAS="$XLINGUAS $lang"
5627     else
5628       case "$LINGUAS" in *$lang*)
5629         CATALOGS="$CATALOGS $cat"
5630         XLINGUAS="$XLINGUAS $lang"
5631         ;;
5632       esac
5633     fi
5634   done
5635   LINGUAS="$XLINGUAS"
5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5637 $as_echo "$LINGUAS" >&6; }
5638
5639
5640     DATADIRNAME=share
5641
5642   INSTOBJEXT=.mo
5643
5644   GENCAT=gencat
5645
5646   CATOBJEXT=.gmo
5647
5648 fi
5649
5650         MKINSTALLDIRS=
5651   if test -n "$ac_aux_dir"; then
5652     case "$ac_aux_dir" in
5653       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5654       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5655     esac
5656   fi
5657   if test -z "$MKINSTALLDIRS"; then
5658     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5659   fi
5660
5661
5662
5663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5664 $as_echo_n "checking whether NLS is requested... " >&6; }
5665     # Check whether --enable-nls was given.
5666 if test "${enable_nls+set}" = set; then :
5667   enableval=$enable_nls; USE_NLS=$enableval
5668 else
5669   USE_NLS=yes
5670 fi
5671
5672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5673 $as_echo "$USE_NLS" >&6; }
5674
5675
5676
5677
5678
5679
5680 # Prepare PATH_SEPARATOR.
5681 # The user is always right.
5682 if test "${PATH_SEPARATOR+set}" != set; then
5683   echo "#! /bin/sh" >conf$$.sh
5684   echo  "exit 0"   >>conf$$.sh
5685   chmod +x conf$$.sh
5686   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5687     PATH_SEPARATOR=';'
5688   else
5689     PATH_SEPARATOR=:
5690   fi
5691   rm -f conf$$.sh
5692 fi
5693
5694 # Find out how to test for executable files. Don't use a zero-byte file,
5695 # as systems may use methods other than mode bits to determine executability.
5696 cat >conf$$.file <<_ASEOF
5697 #! /bin/sh
5698 exit 0
5699 _ASEOF
5700 chmod +x conf$$.file
5701 if test -x conf$$.file >/dev/null 2>&1; then
5702   ac_executable_p="test -x"
5703 else
5704   ac_executable_p="test -f"
5705 fi
5706 rm -f conf$$.file
5707
5708 # Extract the first word of "msgfmt", so it can be a program name with args.
5709 set dummy msgfmt; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5713   $as_echo_n "(cached) " >&6
5714 else
5715   case "$MSGFMT" in
5716   [\\/]* | ?:[\\/]*)
5717     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5718     ;;
5719   *)
5720     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5721     for ac_dir in $PATH; do
5722       IFS="$ac_save_IFS"
5723       test -z "$ac_dir" && ac_dir=.
5724       for ac_exec_ext in '' $ac_executable_extensions; do
5725         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5726           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5727      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5728             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5729             break 2
5730           fi
5731         fi
5732       done
5733     done
5734     IFS="$ac_save_IFS"
5735   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5736     ;;
5737 esac
5738 fi
5739 MSGFMT="$ac_cv_path_MSGFMT"
5740 if test "$MSGFMT" != ":"; then
5741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5742 $as_echo "$MSGFMT" >&6; }
5743 else
5744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5746 fi
5747
5748   # Extract the first word of "gmsgfmt", so it can be a program name with args.
5749 set dummy gmsgfmt; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   case $GMSGFMT in
5756   [\\/]* | ?:[\\/]*)
5757   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5758   ;;
5759   *)
5760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5762 do
5763   IFS=$as_save_IFS
5764   test -z "$as_dir" && as_dir=.
5765     for ac_exec_ext in '' $ac_executable_extensions; do
5766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769     break 2
5770   fi
5771 done
5772   done
5773 IFS=$as_save_IFS
5774
5775   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5776   ;;
5777 esac
5778 fi
5779 GMSGFMT=$ac_cv_path_GMSGFMT
5780 if test -n "$GMSGFMT"; then
5781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5782 $as_echo "$GMSGFMT" >&6; }
5783 else
5784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5786 fi
5787
5788
5789
5790
5791 # Prepare PATH_SEPARATOR.
5792 # The user is always right.
5793 if test "${PATH_SEPARATOR+set}" != set; then
5794   echo "#! /bin/sh" >conf$$.sh
5795   echo  "exit 0"   >>conf$$.sh
5796   chmod +x conf$$.sh
5797   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5798     PATH_SEPARATOR=';'
5799   else
5800     PATH_SEPARATOR=:
5801   fi
5802   rm -f conf$$.sh
5803 fi
5804
5805 # Find out how to test for executable files. Don't use a zero-byte file,
5806 # as systems may use methods other than mode bits to determine executability.
5807 cat >conf$$.file <<_ASEOF
5808 #! /bin/sh
5809 exit 0
5810 _ASEOF
5811 chmod +x conf$$.file
5812 if test -x conf$$.file >/dev/null 2>&1; then
5813   ac_executable_p="test -x"
5814 else
5815   ac_executable_p="test -f"
5816 fi
5817 rm -f conf$$.file
5818
5819 # Extract the first word of "xgettext", so it can be a program name with args.
5820 set dummy xgettext; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5824   $as_echo_n "(cached) " >&6
5825 else
5826   case "$XGETTEXT" in
5827   [\\/]* | ?:[\\/]*)
5828     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5829     ;;
5830   *)
5831     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5832     for ac_dir in $PATH; do
5833       IFS="$ac_save_IFS"
5834       test -z "$ac_dir" && ac_dir=.
5835       for ac_exec_ext in '' $ac_executable_extensions; do
5836         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5837           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5838      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5839             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5840             break 2
5841           fi
5842         fi
5843       done
5844     done
5845     IFS="$ac_save_IFS"
5846   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5847     ;;
5848 esac
5849 fi
5850 XGETTEXT="$ac_cv_path_XGETTEXT"
5851 if test "$XGETTEXT" != ":"; then
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5853 $as_echo "$XGETTEXT" >&6; }
5854 else
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5857 fi
5858
5859     rm -f messages.po
5860
5861
5862 # Prepare PATH_SEPARATOR.
5863 # The user is always right.
5864 if test "${PATH_SEPARATOR+set}" != set; then
5865   echo "#! /bin/sh" >conf$$.sh
5866   echo  "exit 0"   >>conf$$.sh
5867   chmod +x conf$$.sh
5868   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5869     PATH_SEPARATOR=';'
5870   else
5871     PATH_SEPARATOR=:
5872   fi
5873   rm -f conf$$.sh
5874 fi
5875
5876 # Find out how to test for executable files. Don't use a zero-byte file,
5877 # as systems may use methods other than mode bits to determine executability.
5878 cat >conf$$.file <<_ASEOF
5879 #! /bin/sh
5880 exit 0
5881 _ASEOF
5882 chmod +x conf$$.file
5883 if test -x conf$$.file >/dev/null 2>&1; then
5884   ac_executable_p="test -x"
5885 else
5886   ac_executable_p="test -f"
5887 fi
5888 rm -f conf$$.file
5889
5890 # Extract the first word of "msgmerge", so it can be a program name with args.
5891 set dummy msgmerge; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5895   $as_echo_n "(cached) " >&6
5896 else
5897   case "$MSGMERGE" in
5898   [\\/]* | ?:[\\/]*)
5899     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5900     ;;
5901   *)
5902     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5903     for ac_dir in $PATH; do
5904       IFS="$ac_save_IFS"
5905       test -z "$ac_dir" && ac_dir=.
5906       for ac_exec_ext in '' $ac_executable_extensions; do
5907         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5908           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5909             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5910             break 2
5911           fi
5912         fi
5913       done
5914     done
5915     IFS="$ac_save_IFS"
5916   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5917     ;;
5918 esac
5919 fi
5920 MSGMERGE="$ac_cv_path_MSGMERGE"
5921 if test "$MSGMERGE" != ":"; then
5922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5923 $as_echo "$MSGMERGE" >&6; }
5924 else
5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5927 fi
5928
5929
5930       if test "$GMSGFMT" != ":"; then
5931             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5932        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5933       : ;
5934     else
5935       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5936       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5937 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5938       GMSGFMT=":"
5939     fi
5940   fi
5941
5942       if test "$XGETTEXT" != ":"; then
5943             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5944        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5945       : ;
5946     else
5947       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5948 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5949       XGETTEXT=":"
5950     fi
5951         rm -f messages.po
5952   fi
5953
5954   ac_config_commands="$ac_config_commands default-1"
5955
5956
5957
5958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5959 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5960 if test "${ac_cv_c_bigendian+set}" = set; then :
5961   $as_echo_n "(cached) " >&6
5962 else
5963   ac_cv_c_bigendian=unknown
5964     # See if we're dealing with a universal compiler.
5965     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h.  */
5967 #ifndef __APPLE_CC__
5968                not a universal capable compiler
5969              #endif
5970              typedef int dummy;
5971
5972 _ACEOF
5973 if ac_fn_c_try_compile "$LINENO"; then :
5974
5975         # Check for potential -arch flags.  It is not universal unless
5976         # there are at least two -arch flags with different values.
5977         ac_arch=
5978         ac_prev=
5979         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5980          if test -n "$ac_prev"; then
5981            case $ac_word in
5982              i?86 | x86_64 | ppc | ppc64)
5983                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5984                  ac_arch=$ac_word
5985                else
5986                  ac_cv_c_bigendian=universal
5987                  break
5988                fi
5989                ;;
5990            esac
5991            ac_prev=
5992          elif test "x$ac_word" = "x-arch"; then
5993            ac_prev=arch
5994          fi
5995        done
5996 fi
5997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5998     if test $ac_cv_c_bigendian = unknown; then
5999       # See if sys/param.h defines the BYTE_ORDER macro.
6000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6001 /* end confdefs.h.  */
6002 #include <sys/types.h>
6003              #include <sys/param.h>
6004
6005 int
6006 main ()
6007 {
6008 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6009                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6010                      && LITTLE_ENDIAN)
6011               bogus endian macros
6012              #endif
6013
6014   ;
6015   return 0;
6016 }
6017 _ACEOF
6018 if ac_fn_c_try_compile "$LINENO"; then :
6019   # It does; now see whether it defined to BIG_ENDIAN or not.
6020          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h.  */
6022 #include <sys/types.h>
6023                 #include <sys/param.h>
6024
6025 int
6026 main ()
6027 {
6028 #if BYTE_ORDER != BIG_ENDIAN
6029                  not big endian
6030                 #endif
6031
6032   ;
6033   return 0;
6034 }
6035 _ACEOF
6036 if ac_fn_c_try_compile "$LINENO"; then :
6037   ac_cv_c_bigendian=yes
6038 else
6039   ac_cv_c_bigendian=no
6040 fi
6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 fi
6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6044     fi
6045     if test $ac_cv_c_bigendian = unknown; then
6046       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h.  */
6049 #include <limits.h>
6050
6051 int
6052 main ()
6053 {
6054 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6055               bogus endian macros
6056              #endif
6057
6058   ;
6059   return 0;
6060 }
6061 _ACEOF
6062 if ac_fn_c_try_compile "$LINENO"; then :
6063   # It does; now see whether it defined to _BIG_ENDIAN or not.
6064          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h.  */
6066 #include <limits.h>
6067
6068 int
6069 main ()
6070 {
6071 #ifndef _BIG_ENDIAN
6072                  not big endian
6073                 #endif
6074
6075   ;
6076   return 0;
6077 }
6078 _ACEOF
6079 if ac_fn_c_try_compile "$LINENO"; then :
6080   ac_cv_c_bigendian=yes
6081 else
6082   ac_cv_c_bigendian=no
6083 fi
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 fi
6086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6087     fi
6088     if test $ac_cv_c_bigendian = unknown; then
6089       # Compile a test program.
6090       if test "$cross_compiling" = yes; then :
6091   # Try to guess by grepping values from an object file.
6092          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h.  */
6094 short int ascii_mm[] =
6095                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6096                 short int ascii_ii[] =
6097                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6098                 int use_ascii (int i) {
6099                   return ascii_mm[i] + ascii_ii[i];
6100                 }
6101                 short int ebcdic_ii[] =
6102                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6103                 short int ebcdic_mm[] =
6104                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6105                 int use_ebcdic (int i) {
6106                   return ebcdic_mm[i] + ebcdic_ii[i];
6107                 }
6108                 extern int foo;
6109
6110 int
6111 main ()
6112 {
6113 return use_ascii (foo) == use_ebcdic (foo);
6114   ;
6115   return 0;
6116 }
6117 _ACEOF
6118 if ac_fn_c_try_compile "$LINENO"; then :
6119   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6120               ac_cv_c_bigendian=yes
6121             fi
6122             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6123               if test "$ac_cv_c_bigendian" = unknown; then
6124                 ac_cv_c_bigendian=no
6125               else
6126                 # finding both strings is unlikely to happen, but who knows?
6127                 ac_cv_c_bigendian=unknown
6128               fi
6129             fi
6130 fi
6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132 else
6133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h.  */
6135 $ac_includes_default
6136 int
6137 main ()
6138 {
6139
6140              /* Are we little or big endian?  From Harbison&Steele.  */
6141              union
6142              {
6143                long int l;
6144                char c[sizeof (long int)];
6145              } u;
6146              u.l = 1;
6147              return u.c[sizeof (long int) - 1] == 1;
6148
6149   ;
6150   return 0;
6151 }
6152 _ACEOF
6153 if ac_fn_c_try_run "$LINENO"; then :
6154   ac_cv_c_bigendian=no
6155 else
6156   ac_cv_c_bigendian=yes
6157 fi
6158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6159   conftest.$ac_objext conftest.beam conftest.$ac_ext
6160 fi
6161
6162     fi
6163 fi
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6165 $as_echo "$ac_cv_c_bigendian" >&6; }
6166  case $ac_cv_c_bigendian in #(
6167    yes)
6168      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6169 ;; #(
6170    no)
6171       ;; #(
6172    universal)
6173
6174 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6175
6176      ;; #(
6177    *)
6178      as_fn_error "unknown endianness
6179  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6180  esac
6181
6182
6183
6184
6185  if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6186   NATIVE_LINKER_TRUE=
6187   NATIVE_LINKER_FALSE='#'
6188 else
6189   NATIVE_LINKER_TRUE='#'
6190   NATIVE_LINKER_FALSE=
6191 fi
6192
6193  if test "$GCC" = yes; then
6194   GCC_TRUE=
6195   GCC_FALSE='#'
6196 else
6197   GCC_TRUE='#'
6198   GCC_FALSE=
6199 fi
6200
6201
6202  if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6203   NATIVE_OR_CROSS_LINKER_TRUE=
6204   NATIVE_OR_CROSS_LINKER_FALSE='#'
6205 else
6206   NATIVE_OR_CROSS_LINKER_TRUE='#'
6207   NATIVE_OR_CROSS_LINKER_FALSE=
6208 fi
6209
6210
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6212 $as_echo_n "checking whether static linking works... " >&6; }
6213 if test "${gold_cv_lib_static+set}" = set; then :
6214   $as_echo_n "(cached) " >&6
6215 else
6216   LDFLAGS_hold=$LDFLAGS
6217 LDFLAGS="$LDFLAGS -static"
6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h.  */
6220
6221 void f() { }
6222 int
6223 main ()
6224 {
6225
6226   ;
6227   return 0;
6228 }
6229 _ACEOF
6230 if ac_fn_c_try_link "$LINENO"; then :
6231   gold_cv_lib_static=yes
6232 else
6233   gold_cv_lib_static=no
6234 fi
6235 rm -f core conftest.err conftest.$ac_objext \
6236     conftest$ac_exeext conftest.$ac_ext
6237 LDFLAGS=$LDFLAGS_hold
6238 fi
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6240 $as_echo "$gold_cv_lib_static" >&6; }
6241  if test "$gold_cv_lib_static" = "yes"; then
6242   HAVE_STATIC_TRUE=
6243   HAVE_STATIC_FALSE='#'
6244 else
6245   HAVE_STATIC_TRUE='#'
6246   HAVE_STATIC_FALSE=
6247 fi
6248
6249
6250  if
6251   case $target_cpu in
6252     i?86) true;;
6253     x86_64) false;;
6254     sparc64) false;;
6255     *) true;;
6256   esac; then
6257   FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
6258   FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
6259 else
6260   FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
6261   FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
6262 fi
6263
6264
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6266 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6267 if test "${gold_cv_prog_gcc41+set}" = set; then :
6268   $as_echo_n "(cached) " >&6
6269 else
6270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h.  */
6272
6273 #if !defined __GNUC__
6274 error
6275 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6276 error
6277 #endif
6278
6279 _ACEOF
6280 if ac_fn_c_try_compile "$LINENO"; then :
6281   gold_cv_prog_gcc41=yes
6282 else
6283   gold_cv_prog_gcc41=no
6284 fi
6285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286 fi
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6288 $as_echo "$gold_cv_prog_gcc41" >&6; }
6289
6290  if test "$target_cpu" = "x86_64" -a "$gold_cv_prog_gcc41" = "yes"; then
6291   MCMODEL_MEDIUM_TRUE=
6292   MCMODEL_MEDIUM_FALSE='#'
6293 else
6294   MCMODEL_MEDIUM_TRUE='#'
6295   MCMODEL_MEDIUM_FALSE=
6296 fi
6297
6298
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6300 $as_echo_n "checking for thread support... " >&6; }
6301 if test "${gold_cv_c_thread+set}" = set; then :
6302   $as_echo_n "(cached) " >&6
6303 else
6304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h.  */
6306 __thread int i = 1;
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309   gold_cv_c_thread=yes
6310 else
6311   gold_cv_c_thread=no
6312 fi
6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6314 fi
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6316 $as_echo "$gold_cv_c_thread" >&6; }
6317
6318  if test "$gold_cv_c_thread" = "yes"; then
6319   TLS_TRUE=
6320   TLS_FALSE='#'
6321 else
6322   TLS_TRUE='#'
6323   TLS_FALSE=
6324 fi
6325
6326
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6328 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6329 if test "${gold_cv_lib_glibc24+set}" = set; then :
6330   $as_echo_n "(cached) " >&6
6331 else
6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h.  */
6334
6335 #include <features.h>
6336 #if !defined __GLIBC__
6337 error
6338 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6339 error
6340 #endif
6341
6342 _ACEOF
6343 if ac_fn_c_try_compile "$LINENO"; then :
6344   gold_cv_lib_glibc24=yes
6345 else
6346   gold_cv_lib_glibc24=no
6347 fi
6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6349 fi
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6351 $as_echo "$gold_cv_lib_glibc24" >&6; }
6352
6353  if test "$gold_cv_lib_glibc24" = "yes"; then
6354   STATIC_TLS_TRUE=
6355   STATIC_TLS_FALSE='#'
6356 else
6357   STATIC_TLS_TRUE='#'
6358   STATIC_TLS_FALSE=
6359 fi
6360
6361
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6363 $as_echo_n "checking for omp support... " >&6; }
6364 if test "${gold_cv_c_threadprivate+set}" = set; then :
6365   $as_echo_n "(cached) " >&6
6366 else
6367   save_CFLAGS="$CFLAGS"
6368 CFLAGS="$CFLAGS -fopenmp"
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h.  */
6371
6372 #include <omp.h>
6373 int i;
6374 #pragma omp threadprivate (i)
6375
6376 _ACEOF
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378   gold_cv_c_threadprivate=yes
6379 else
6380   gold_cv_c_threadprivate=no
6381 fi
6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6383 CFLAGS="$save_CFLAGS"
6384 fi
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6386 $as_echo "$gold_cv_c_threadprivate" >&6; }
6387 if test "$gold_cv_c_threadprivate" = "yes"; then
6388
6389 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6390
6391 fi
6392  if test "$gold_cv_c_threadprivate" = "yes"; then
6393   OMP_SUPPORT_TRUE=
6394   OMP_SUPPORT_FALSE='#'
6395 else
6396   OMP_SUPPORT_TRUE='#'
6397   OMP_SUPPORT_FALSE=
6398 fi
6399
6400
6401 save_CFLAGS="$CFLAGS"
6402 CFLAGS="$CFLAGS -mtls-dialect=gnu2"
6403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h.  */
6405 int i;
6406 _ACEOF
6407 if ac_fn_c_try_compile "$LINENO"; then :
6408   have_tls_gnu2=yes
6409 else
6410   have_tls_gnu2=no
6411 fi
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6413 CFLAGS="$save_CFLAGS"
6414  if test "$have_tls_gnu2" = "yes"; then
6415   TLS_GNU2_DIALECT_TRUE=
6416   TLS_GNU2_DIALECT_FALSE='#'
6417 else
6418   TLS_GNU2_DIALECT_TRUE='#'
6419   TLS_GNU2_DIALECT_FALSE=
6420 fi
6421
6422
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6424 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6425 if test "${gold_cv_lib_glibc29+set}" = set; then :
6426   $as_echo_n "(cached) " >&6
6427 else
6428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h.  */
6430
6431 #include <features.h>
6432 #if !defined __GLIBC__
6433 error
6434 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6435 error
6436 #endif
6437
6438 _ACEOF
6439 if ac_fn_c_try_compile "$LINENO"; then :
6440   gold_cv_lib_glibc29=yes
6441 else
6442   gold_cv_lib_glibc29=no
6443 fi
6444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445 fi
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6447 $as_echo "$gold_cv_lib_glibc29" >&6; }
6448
6449  if test "$gold_cv_lib_glibc29" = "yes"; then
6450   TLS_DESCRIPTORS_TRUE=
6451   TLS_DESCRIPTORS_FALSE='#'
6452 else
6453   TLS_DESCRIPTORS_TRUE='#'
6454   TLS_DESCRIPTORS_FALSE=
6455 fi
6456
6457
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6459 $as_echo_n "checking for -frandom-seed support... " >&6; }
6460 if test "${gold_cv_c_random_seed+set}" = set; then :
6461   $as_echo_n "(cached) " >&6
6462 else
6463   save_CFLAGS="$CFLAGS"
6464 CFLAGS="$CFLAGS -frandom-seed=foo"
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h.  */
6467 int i;
6468 _ACEOF
6469 if ac_fn_c_try_compile "$LINENO"; then :
6470   gold_cv_c_random_seed=yes
6471 else
6472   gold_cv_c_random_seed=no
6473 fi
6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475 CFLAGS="$save_CFLAGS"
6476 fi
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6478 $as_echo "$gold_cv_c_random_seed" >&6; }
6479 if test "$gold_cv_c_random_seed" = "yes"; then
6480   # In Makefile, '$@' will be expanded to be the name of the file
6481   # being built, providing a unique seed for each file.
6482   RANDOM_SEED_CFLAGS=-frandom-seed=\$@
6483 fi
6484
6485
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6487 $as_echo_n "checking for glibc ifunc support... " >&6; }
6488 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6489   $as_echo_n "(cached) " >&6
6490 else
6491   save_LDFLAGS="$LDFLAGS"
6492 LDFLAGS="$LDFLAGS -static"
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h.  */
6495
6496 #include <features.h>
6497 #if !defined __GLIBC__
6498 error
6499 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6500 error
6501 #endif
6502 void func (void) { }
6503 void invoke (void);
6504 __asm__(".type invoke, %gnu_indirect_function");
6505 typedef void (*funcptr) (void);
6506 funcptr dispatch (void) __asm__ ("invoke");
6507 funcptr dispatch (void) { return &func; }
6508 int
6509 main ()
6510 {
6511 invoke();
6512   ;
6513   return 0;
6514 }
6515
6516 _ACEOF
6517 if ac_fn_c_try_link "$LINENO"; then :
6518
6519 if ${NM} conftest$EXEEXT | grep "__rela\?_iplt_start" >/dev/null 2>&1; then
6520   gold_cv_lib_glibc_ifunc=both
6521 else
6522   gold_cv_lib_glibc_ifunc=dyn
6523 fi
6524 else
6525   gold_cv_lib_glibc_ifunc=no
6526 fi
6527 rm -f core conftest.err conftest.$ac_objext \
6528     conftest$ac_exeext conftest.$ac_ext
6529 LDFLAGS="$save_LDFLAGS"
6530 fi
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6532 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6533
6534  if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6535   IFUNC_TRUE=
6536   IFUNC_FALSE='#'
6537 else
6538   IFUNC_TRUE='#'
6539   IFUNC_FALSE=
6540 fi
6541
6542  if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6543   IFUNC_STATIC_TRUE=
6544   IFUNC_STATIC_FALSE='#'
6545 else
6546   IFUNC_STATIC_TRUE='#'
6547   IFUNC_STATIC_FALSE=
6548 fi
6549
6550
6551
6552 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h.  */
6555 __GNUC__
6556 _ACEOF
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558   $EGREP "^[0-3]$" >/dev/null 2>&1; then :
6559
6560 else
6561   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
6562 fi
6563 rm -f conftest*
6564
6565
6566 # Check whether --enable-werror was given.
6567 if test "${enable_werror+set}" = set; then :
6568   enableval=$enable_werror; case "${enableval}" in
6569      yes | y) ERROR_ON_WARNING="yes" ;;
6570      no | n)  ERROR_ON_WARNING="no" ;;
6571      *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6572    esac
6573 fi
6574
6575
6576 # Disable -Wformat by default when using gcc on mingw
6577 case "${host}" in
6578   *-*-mingw32*)
6579     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6580       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
6581     fi
6582     ;;
6583   *) ;;
6584 esac
6585
6586 # Enable -Werror by default when using gcc
6587 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6588     ERROR_ON_WARNING=yes
6589 fi
6590
6591 NO_WERROR=
6592 if test "${ERROR_ON_WARNING}" = yes ; then
6593     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
6594     NO_WERROR="-Wno-error"
6595 fi
6596
6597 if test "${GCC}" = yes ; then
6598   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
6599 fi
6600
6601 # Check whether --enable-build-warnings was given.
6602 if test "${enable_build_warnings+set}" = set; then :
6603   enableval=$enable_build_warnings; case "${enableval}" in
6604   yes)  WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
6605   no)   if test "${GCC}" = yes ; then
6606           WARN_CFLAGS="-w"
6607         fi;;
6608   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
6609         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
6610   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
6611         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
6612   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6613 esac
6614 fi
6615
6616
6617 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
6618   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6619 fi
6620
6621
6622
6623
6624
6625 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6626
6627
6628
6629 # Check whether --with-gold-ldflags was given.
6630 if test "${with_gold_ldflags+set}" = set; then :
6631   withval=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6632    GOLD_LDFLAGS=
6633  else
6634    GOLD_LDFLAGS=$withval
6635  fi
6636 else
6637   GOLD_LDFLAGS=
6638 fi
6639
6640
6641
6642
6643 # Check whether --with-gold-ldadd was given.
6644 if test "${with_gold_ldadd+set}" = set; then :
6645   withval=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6646    GOLD_LDADD=
6647  else
6648    GOLD_LDADD=$withval
6649  fi
6650 else
6651   GOLD_LDADD=
6652 fi
6653
6654
6655
6656 LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6657
6658
6659 for ac_header in sys/mman.h
6660 do :
6661   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6662 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
6663   cat >>confdefs.h <<_ACEOF
6664 #define HAVE_SYS_MMAN_H 1
6665 _ACEOF
6666
6667 fi
6668
6669 done
6670
6671 for ac_func in chsize mmap
6672 do :
6673   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6675 eval as_val=\$$as_ac_var
6676    if test "x$as_val" = x""yes; then :
6677   cat >>confdefs.h <<_ACEOF
6678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6679 _ACEOF
6680
6681 fi
6682 done
6683
6684 for ac_func in pread ftruncate ffsll
6685 do :
6686   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6688 eval as_val=\$$as_ac_var
6689    if test "x$as_val" = x""yes; then :
6690   cat >>confdefs.h <<_ACEOF
6691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6692 _ACEOF
6693
6694 else
6695   case " $LIBOBJS " in
6696   *" $ac_func.$ac_objext "* ) ;;
6697   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
6698  ;;
6699 esac
6700
6701 fi
6702 done
6703
6704
6705
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6707 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6708 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6709   $as_echo_n "(cached) " >&6
6710 else
6711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h.  */
6713
6714
6715 #include <sys/mman.h>
6716 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6717
6718 int
6719 main ()
6720 {
6721
6722   ;
6723   return 0;
6724 }
6725 _ACEOF
6726 if ac_fn_c_try_link "$LINENO"; then :
6727   gold_cv_lib_mremap_maymove=yes
6728 else
6729   gold_cv_lib_mremap_maymove=no
6730 fi
6731 rm -f core conftest.err conftest.$ac_objext \
6732     conftest$ac_exeext conftest.$ac_ext
6733 fi
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6735 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6736 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6737
6738 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6739
6740 else
6741   case " $LIBOBJS " in
6742   *" mremap.$ac_objext "* ) ;;
6743   *) LIBOBJS="$LIBOBJS mremap.$ac_objext"
6744  ;;
6745 esac
6746
6747 fi
6748
6749 # Link in zlib if we can.  This allows us to write compressed sections.
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6751 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6752 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6753   $as_echo_n "(cached) " >&6
6754 else
6755   ac_func_search_save_LIBS=$LIBS
6756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h.  */
6758
6759 /* Override any GCC internal prototype to avoid an error.
6760    Use char because int might match the return type of a GCC
6761    builtin and then its argument prototype would still apply.  */
6762 #ifdef __cplusplus
6763 extern "C"
6764 #endif
6765 char zlibVersion ();
6766 int
6767 main ()
6768 {
6769 return zlibVersion ();
6770   ;
6771   return 0;
6772 }
6773 _ACEOF
6774 for ac_lib in '' z; do
6775   if test -z "$ac_lib"; then
6776     ac_res="none required"
6777   else
6778     ac_res=-l$ac_lib
6779     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6780   fi
6781   if ac_fn_c_try_link "$LINENO"; then :
6782   ac_cv_search_zlibVersion=$ac_res
6783 fi
6784 rm -f core conftest.err conftest.$ac_objext \
6785     conftest$ac_exeext
6786   if test "${ac_cv_search_zlibVersion+set}" = set; then :
6787   break
6788 fi
6789 done
6790 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6791
6792 else
6793   ac_cv_search_zlibVersion=no
6794 fi
6795 rm conftest.$ac_ext
6796 LIBS=$ac_func_search_save_LIBS
6797 fi
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6799 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6800 ac_res=$ac_cv_search_zlibVersion
6801 if test "$ac_res" != no; then :
6802   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6803   for ac_header in zlib.h
6804 do :
6805   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6806 if test "x$ac_cv_header_zlib_h" = x""yes; then :
6807   cat >>confdefs.h <<_ACEOF
6808 #define HAVE_ZLIB_H 1
6809 _ACEOF
6810
6811 fi
6812
6813 done
6814
6815 fi
6816
6817  if test "$ac_cv_search_zlibVersion" != "no"; then
6818   HAVE_ZLIB_TRUE=
6819   HAVE_ZLIB_FALSE='#'
6820 else
6821   HAVE_ZLIB_TRUE='#'
6822   HAVE_ZLIB_FALSE=
6823 fi
6824
6825
6826 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6827 if test "x$ac_cv_have_decl_basename" = x""yes; then :
6828   ac_have_decl=1
6829 else
6830   ac_have_decl=0
6831 fi
6832
6833 cat >>confdefs.h <<_ACEOF
6834 #define HAVE_DECL_BASENAME $ac_have_decl
6835 _ACEOF
6836 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6837 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
6838   ac_have_decl=1
6839 else
6840   ac_have_decl=0
6841 fi
6842
6843 cat >>confdefs.h <<_ACEOF
6844 #define HAVE_DECL_FFS $ac_have_decl
6845 _ACEOF
6846 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6847 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
6848   ac_have_decl=1
6849 else
6850   ac_have_decl=0
6851 fi
6852
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_DECL_ASPRINTF $ac_have_decl
6855 _ACEOF
6856 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6857 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
6858   ac_have_decl=1
6859 else
6860   ac_have_decl=0
6861 fi
6862
6863 cat >>confdefs.h <<_ACEOF
6864 #define HAVE_DECL_VASPRINTF $ac_have_decl
6865 _ACEOF
6866 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6867 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
6868   ac_have_decl=1
6869 else
6870   ac_have_decl=0
6871 fi
6872
6873 cat >>confdefs.h <<_ACEOF
6874 #define HAVE_DECL_SNPRINTF $ac_have_decl
6875 _ACEOF
6876 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6877 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
6878   ac_have_decl=1
6879 else
6880   ac_have_decl=0
6881 fi
6882
6883 cat >>confdefs.h <<_ACEOF
6884 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6885 _ACEOF
6886 ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6887 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
6888   ac_have_decl=1
6889 else
6890   ac_have_decl=0
6891 fi
6892
6893 cat >>confdefs.h <<_ACEOF
6894 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6895 _ACEOF
6896
6897
6898 ac_ext=cpp
6899 ac_cpp='$CXXCPP $CPPFLAGS'
6900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6903
6904
6905
6906 ac_ext=cpp
6907 ac_cpp='$CXXCPP $CPPFLAGS'
6908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6912 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6913 if test -z "$CXXCPP"; then
6914   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6915   $as_echo_n "(cached) " >&6
6916 else
6917       # Double quotes because CXXCPP needs to be expanded
6918     for CXXCPP in "$CXX -E" "/lib/cpp"
6919     do
6920       ac_preproc_ok=false
6921 for ac_cxx_preproc_warn_flag in '' yes
6922 do
6923   # Use a header file that comes with gcc, so configuring glibc
6924   # with a fresh cross-compiler works.
6925   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6926   # <limits.h> exists even on freestanding compilers.
6927   # On the NeXT, cc -E runs the code through the compiler's parser,
6928   # not just through cpp. "Syntax error" is here to catch this case.
6929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h.  */
6931 #ifdef __STDC__
6932 # include <limits.h>
6933 #else
6934 # include <assert.h>
6935 #endif
6936                      Syntax error
6937 _ACEOF
6938 if ac_fn_cxx_try_cpp "$LINENO"; then :
6939
6940 else
6941   # Broken: fails on valid input.
6942 continue
6943 fi
6944 rm -f conftest.err conftest.$ac_ext
6945
6946   # OK, works on sane cases.  Now check whether nonexistent headers
6947   # can be detected and how.
6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h.  */
6950 #include <ac_nonexistent.h>
6951 _ACEOF
6952 if ac_fn_cxx_try_cpp "$LINENO"; then :
6953   # Broken: success on invalid input.
6954 continue
6955 else
6956   # Passes both tests.
6957 ac_preproc_ok=:
6958 break
6959 fi
6960 rm -f conftest.err conftest.$ac_ext
6961
6962 done
6963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6964 rm -f conftest.err conftest.$ac_ext
6965 if $ac_preproc_ok; then :
6966   break
6967 fi
6968
6969     done
6970     ac_cv_prog_CXXCPP=$CXXCPP
6971
6972 fi
6973   CXXCPP=$ac_cv_prog_CXXCPP
6974 else
6975   ac_cv_prog_CXXCPP=$CXXCPP
6976 fi
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6978 $as_echo "$CXXCPP" >&6; }
6979 ac_preproc_ok=false
6980 for ac_cxx_preproc_warn_flag in '' yes
6981 do
6982   # Use a header file that comes with gcc, so configuring glibc
6983   # with a fresh cross-compiler works.
6984   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6985   # <limits.h> exists even on freestanding compilers.
6986   # On the NeXT, cc -E runs the code through the compiler's parser,
6987   # not just through cpp. "Syntax error" is here to catch this case.
6988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h.  */
6990 #ifdef __STDC__
6991 # include <limits.h>
6992 #else
6993 # include <assert.h>
6994 #endif
6995                      Syntax error
6996 _ACEOF
6997 if ac_fn_cxx_try_cpp "$LINENO"; then :
6998
6999 else
7000   # Broken: fails on valid input.
7001 continue
7002 fi
7003 rm -f conftest.err conftest.$ac_ext
7004
7005   # OK, works on sane cases.  Now check whether nonexistent headers
7006   # can be detected and how.
7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h.  */
7009 #include <ac_nonexistent.h>
7010 _ACEOF
7011 if ac_fn_cxx_try_cpp "$LINENO"; then :
7012   # Broken: success on invalid input.
7013 continue
7014 else
7015   # Passes both tests.
7016 ac_preproc_ok=:
7017 break
7018 fi
7019 rm -f conftest.err conftest.$ac_ext
7020
7021 done
7022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7023 rm -f conftest.err conftest.$ac_ext
7024 if $ac_preproc_ok; then :
7025
7026 else
7027   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7029 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
7030 See \`config.log' for more details." "$LINENO" 5; }
7031 fi
7032
7033 ac_ext=cpp
7034 ac_cpp='$CXXCPP $CPPFLAGS'
7035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7038
7039
7040 for ac_header in tr1/unordered_set tr1/unordered_map
7041 do :
7042   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7044 eval as_val=\$$as_ac_Header
7045    if test "x$as_val" = x""yes; then :
7046   cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7049
7050 fi
7051
7052 done
7053
7054 for ac_header in ext/hash_map ext/hash_set
7055 do :
7056   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7058 eval as_val=\$$as_ac_Header
7059    if test "x$as_val" = x""yes; then :
7060   cat >>confdefs.h <<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7062 _ACEOF
7063
7064 fi
7065
7066 done
7067
7068 for ac_header in byteswap.h
7069 do :
7070   ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7071 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
7072   cat >>confdefs.h <<_ACEOF
7073 #define HAVE_BYTESWAP_H 1
7074 _ACEOF
7075
7076 fi
7077
7078 done
7079
7080 for ac_func in mallinfo posix_fallocate readv sysconf times
7081 do :
7082   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7083 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7084 eval as_val=\$$as_ac_var
7085    if test "x$as_val" = x""yes; then :
7086   cat >>confdefs.h <<_ACEOF
7087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7088 _ACEOF
7089
7090 fi
7091 done
7092
7093 ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7094 if test "x$ac_cv_have_decl_basename" = x""yes; then :
7095   ac_have_decl=1
7096 else
7097   ac_have_decl=0
7098 fi
7099
7100 cat >>confdefs.h <<_ACEOF
7101 #define HAVE_DECL_BASENAME $ac_have_decl
7102 _ACEOF
7103 ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7104 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
7105   ac_have_decl=1
7106 else
7107   ac_have_decl=0
7108 fi
7109
7110 cat >>confdefs.h <<_ACEOF
7111 #define HAVE_DECL_FFS $ac_have_decl
7112 _ACEOF
7113 ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7114 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
7115   ac_have_decl=1
7116 else
7117   ac_have_decl=0
7118 fi
7119
7120 cat >>confdefs.h <<_ACEOF
7121 #define HAVE_DECL_ASPRINTF $ac_have_decl
7122 _ACEOF
7123 ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7124 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
7125   ac_have_decl=1
7126 else
7127   ac_have_decl=0
7128 fi
7129
7130 cat >>confdefs.h <<_ACEOF
7131 #define HAVE_DECL_VASPRINTF $ac_have_decl
7132 _ACEOF
7133 ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7134 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
7135   ac_have_decl=1
7136 else
7137   ac_have_decl=0
7138 fi
7139
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_DECL_SNPRINTF $ac_have_decl
7142 _ACEOF
7143 ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7144 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
7145   ac_have_decl=1
7146 else
7147   ac_have_decl=0
7148 fi
7149
7150 cat >>confdefs.h <<_ACEOF
7151 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7152 _ACEOF
7153 ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7154 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
7155   ac_have_decl=1
7156 else
7157   ac_have_decl=0
7158 fi
7159
7160 cat >>confdefs.h <<_ACEOF
7161 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7162 _ACEOF
7163 ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7164 if test "x$ac_cv_have_decl_strndup" = x""yes; then :
7165   ac_have_decl=1
7166 else
7167   ac_have_decl=0
7168 fi
7169
7170 cat >>confdefs.h <<_ACEOF
7171 #define HAVE_DECL_STRNDUP $ac_have_decl
7172 _ACEOF
7173 ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7174 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
7175   ac_have_decl=1
7176 else
7177   ac_have_decl=0
7178 fi
7179
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_DECL_MEMMEM $ac_have_decl
7182 _ACEOF
7183
7184
7185 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7186 # at link time with some versions of GCC.
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7188 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7189 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7190   $as_echo_n "(cached) " >&6
7191 else
7192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h.  */
7194
7195 #include <tr1/unordered_map>
7196 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7197
7198 int
7199 main ()
7200 {
7201
7202   ;
7203   return 0;
7204 }
7205 _ACEOF
7206 if ac_fn_cxx_try_link "$LINENO"; then :
7207   gold_cv_unordered_map_rehash=yes
7208 else
7209   gold_cv_unordered_map_rehash=no
7210 fi
7211 rm -f core conftest.err conftest.$ac_objext \
7212     conftest$ac_exeext conftest.$ac_ext
7213 fi
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7215 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7216 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7217
7218 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7219
7220 fi
7221
7222 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7223 # function.  Check for that.  This is gcc bug 35546.  This test can
7224 # probably be removed after the bug has been fixed for a while.
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7226 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7227 if test "${gold_cv_template_attribute+set}" = set; then :
7228   $as_echo_n "(cached) " >&6
7229 else
7230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h.  */
7232
7233 template<typename T> extern void foo(const char*, ...)
7234   __attribute__ ((__format__ (__printf__, 1, 2)));
7235 template<typename T> void foo(const char* format, ...) {}
7236 void bar() { foo<int>("%s\n", "foo"); }
7237
7238 _ACEOF
7239 if ac_fn_cxx_try_compile "$LINENO"; then :
7240   gold_cv_template_attribute=yes
7241 else
7242   gold_cv_template_attribute=no
7243 fi
7244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245 fi
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7247 $as_echo "$gold_cv_template_attribute" >&6; }
7248 if test "$gold_cv_template_attribute" = "yes"; then
7249
7250 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7251
7252 fi
7253
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7255 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7256 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7257   $as_echo_n "(cached) " >&6
7258 else
7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h.  */
7261
7262 #include <sys/stat.h>
7263 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7264
7265 int
7266 main ()
7267 {
7268
7269   ;
7270   return 0;
7271 }
7272 _ACEOF
7273 if ac_fn_cxx_try_compile "$LINENO"; then :
7274   gold_cv_stat_st_mtim=yes
7275 else
7276   gold_cv_stat_st_mtim=no
7277 fi
7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7279 fi
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7281 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7282 if test "$gold_cv_stat_st_mtim" = "yes"; then
7283
7284 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7285
7286 fi
7287
7288 ac_ext=c
7289 ac_cpp='$CPP $CPPFLAGS'
7290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7293
7294
7295
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7297 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7298     # Check whether --enable-maintainer-mode was given.
7299 if test "${enable_maintainer_mode+set}" = set; then :
7300   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7301 else
7302   USE_MAINTAINER_MODE=no
7303 fi
7304
7305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7306 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7307    if test $USE_MAINTAINER_MODE = yes; then
7308   MAINTAINER_MODE_TRUE=
7309   MAINTAINER_MODE_FALSE='#'
7310 else
7311   MAINTAINER_MODE_TRUE='#'
7312   MAINTAINER_MODE_FALSE=
7313 fi
7314
7315   MAINT=$MAINTAINER_MODE_TRUE
7316
7317
7318
7319 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7320
7321 cat >confcache <<\_ACEOF
7322 # This file is a shell script that caches the results of configure
7323 # tests run on this system so they can be shared between configure
7324 # scripts and configure runs, see configure's option --config-cache.
7325 # It is not useful on other systems.  If it contains results you don't
7326 # want to keep, you may remove or edit it.
7327 #
7328 # config.status only pays attention to the cache file if you give it
7329 # the --recheck option to rerun configure.
7330 #
7331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7333 # following values.
7334
7335 _ACEOF
7336
7337 # The following way of writing the cache mishandles newlines in values,
7338 # but we know of no workaround that is simple, portable, and efficient.
7339 # So, we kill variables containing newlines.
7340 # Ultrix sh set writes to stderr and can't be redirected directly,
7341 # and sets the high bit in the cache file unless we assign to the vars.
7342 (
7343   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7344     eval ac_val=\$$ac_var
7345     case $ac_val in #(
7346     *${as_nl}*)
7347       case $ac_var in #(
7348       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7350       esac
7351       case $ac_var in #(
7352       _ | IFS | as_nl) ;; #(
7353       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7354       *) { eval $ac_var=; unset $ac_var;} ;;
7355       esac ;;
7356     esac
7357   done
7358
7359   (set) 2>&1 |
7360     case $as_nl`(ac_space=' '; set) 2>&1` in #(
7361     *${as_nl}ac_space=\ *)
7362       # `set' does not quote correctly, so add quotes: double-quote
7363       # substitution turns \\\\ into \\, and sed turns \\ into \.
7364       sed -n \
7365         "s/'/'\\\\''/g;
7366           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7367       ;; #(
7368     *)
7369       # `set' quotes correctly as required by POSIX, so do not add quotes.
7370       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7371       ;;
7372     esac |
7373     sort
7374 ) |
7375   sed '
7376      /^ac_cv_env_/b end
7377      t clear
7378      :clear
7379      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7380      t end
7381      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7382      :end' >>confcache
7383 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7384   if test -w "$cache_file"; then
7385     test "x$cache_file" != "x/dev/null" &&
7386       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7387 $as_echo "$as_me: updating cache $cache_file" >&6;}
7388     cat confcache >$cache_file
7389   else
7390     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7392   fi
7393 fi
7394 rm -f confcache
7395
7396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7397 # Let make expand exec_prefix.
7398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7399
7400 DEFS=-DHAVE_CONFIG_H
7401
7402 ac_libobjs=
7403 ac_ltlibobjs=
7404 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7405   # 1. Remove the extension, and $U if already installed.
7406   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7407   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7408   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7409   #    will be set to the directory where LIBOBJS objects are built.
7410   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7411   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7412 done
7413 LIBOBJS=$ac_libobjs
7414
7415 LTLIBOBJS=$ac_ltlibobjs
7416
7417
7418  if test -n "$EXEEXT"; then
7419   am__EXEEXT_TRUE=
7420   am__EXEEXT_FALSE='#'
7421 else
7422   am__EXEEXT_TRUE='#'
7423   am__EXEEXT_FALSE=
7424 fi
7425
7426 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7427   as_fn_error "conditional \"THREADS\" was never defined.
7428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7429 fi
7430 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7431   as_fn_error "conditional \"PLUGINS\" was never defined.
7432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7433 fi
7434 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7435   as_fn_error "conditional \"DEFAULT_TARGET_ARM\" was never defined.
7436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7437 fi
7438 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7439   as_fn_error "conditional \"DEFAULT_TARGET_I386\" was never defined.
7440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7441 fi
7442 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7443   as_fn_error "conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7445 fi
7446 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7447   as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7449 fi
7450 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7451   as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7453 fi
7454 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7455   as_fn_error "conditional \"AMDEP\" was never defined.
7456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7457 fi
7458 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7459   as_fn_error "conditional \"am__fastdepCC\" was never defined.
7460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7461 fi
7462 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7463   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
7464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7465 fi
7466
7467 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7468   as_fn_error "conditional \"NATIVE_LINKER\" was never defined.
7469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7470 fi
7471 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7472   as_fn_error "conditional \"GCC\" was never defined.
7473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7474 fi
7475 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7476   as_fn_error "conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7478 fi
7479 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7480   as_fn_error "conditional \"HAVE_STATIC\" was never defined.
7481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7482 fi
7483 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7484   as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7486 fi
7487 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7488   as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined.
7489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7490 fi
7491 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7492   as_fn_error "conditional \"TLS\" was never defined.
7493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7494 fi
7495 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7496   as_fn_error "conditional \"STATIC_TLS\" was never defined.
7497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7498 fi
7499 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7500   as_fn_error "conditional \"OMP_SUPPORT\" was never defined.
7501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7502 fi
7503 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7504   as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined.
7505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7506 fi
7507 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7508   as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined.
7509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7510 fi
7511 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7512   as_fn_error "conditional \"IFUNC\" was never defined.
7513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7514 fi
7515 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7516   as_fn_error "conditional \"IFUNC_STATIC\" was never defined.
7517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7518 fi
7519 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7520   as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
7521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7522 fi
7523 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7524   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
7525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7526 fi
7527
7528 : ${CONFIG_STATUS=./config.status}
7529 ac_write_fail=0
7530 ac_clean_files_save=$ac_clean_files
7531 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7534 as_write_fail=0
7535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7536 #! $SHELL
7537 # Generated by $as_me.
7538 # Run this file to recreate the current configuration.
7539 # Compiler output produced by configure, useful for debugging
7540 # configure, is in config.log if it exists.
7541
7542 debug=false
7543 ac_cs_recheck=false
7544 ac_cs_silent=false
7545
7546 SHELL=\${CONFIG_SHELL-$SHELL}
7547 export SHELL
7548 _ASEOF
7549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7550 ## -------------------- ##
7551 ## M4sh Initialization. ##
7552 ## -------------------- ##
7553
7554 # Be more Bourne compatible
7555 DUALCASE=1; export DUALCASE # for MKS sh
7556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7557   emulate sh
7558   NULLCMD=:
7559   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7560   # is contrary to our usage.  Disable this feature.
7561   alias -g '${1+"$@"}'='"$@"'
7562   setopt NO_GLOB_SUBST
7563 else
7564   case `(set -o) 2>/dev/null` in #(
7565   *posix*) :
7566     set -o posix ;; #(
7567   *) :
7568      ;;
7569 esac
7570 fi
7571
7572
7573 as_nl='
7574 '
7575 export as_nl
7576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7577 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7580 # Prefer a ksh shell builtin over an external printf program on Solaris,
7581 # but without wasting forks for bash or zsh.
7582 if test -z "$BASH_VERSION$ZSH_VERSION" \
7583     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7584   as_echo='print -r --'
7585   as_echo_n='print -rn --'
7586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7587   as_echo='printf %s\n'
7588   as_echo_n='printf %s'
7589 else
7590   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7591     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7592     as_echo_n='/usr/ucb/echo -n'
7593   else
7594     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7595     as_echo_n_body='eval
7596       arg=$1;
7597       case $arg in #(
7598       *"$as_nl"*)
7599         expr "X$arg" : "X\\(.*\\)$as_nl";
7600         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7601       esac;
7602       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7603     '
7604     export as_echo_n_body
7605     as_echo_n='sh -c $as_echo_n_body as_echo'
7606   fi
7607   export as_echo_body
7608   as_echo='sh -c $as_echo_body as_echo'
7609 fi
7610
7611 # The user is always right.
7612 if test "${PATH_SEPARATOR+set}" != set; then
7613   PATH_SEPARATOR=:
7614   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7615     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7616       PATH_SEPARATOR=';'
7617   }
7618 fi
7619
7620
7621 # IFS
7622 # We need space, tab and new line, in precisely that order.  Quoting is
7623 # there to prevent editors from complaining about space-tab.
7624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7625 # splitting by setting IFS to empty value.)
7626 IFS=" ""        $as_nl"
7627
7628 # Find who we are.  Look in the path if we contain no directory separator.
7629 case $0 in #((
7630   *[\\/]* ) as_myself=$0 ;;
7631   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 for as_dir in $PATH
7633 do
7634   IFS=$as_save_IFS
7635   test -z "$as_dir" && as_dir=.
7636     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7637   done
7638 IFS=$as_save_IFS
7639
7640      ;;
7641 esac
7642 # We did not find ourselves, most probably we were run as `sh COMMAND'
7643 # in which case we are not to be found in the path.
7644 if test "x$as_myself" = x; then
7645   as_myself=$0
7646 fi
7647 if test ! -f "$as_myself"; then
7648   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7649   exit 1
7650 fi
7651
7652 # Unset variables that we do not need and which cause bugs (e.g. in
7653 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7654 # suppresses any "Segmentation fault" message there.  '((' could
7655 # trigger a bug in pdksh 5.2.14.
7656 for as_var in BASH_ENV ENV MAIL MAILPATH
7657 do eval test x\${$as_var+set} = xset \
7658   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7659 done
7660 PS1='$ '
7661 PS2='> '
7662 PS4='+ '
7663
7664 # NLS nuisances.
7665 LC_ALL=C
7666 export LC_ALL
7667 LANGUAGE=C
7668 export LANGUAGE
7669
7670 # CDPATH.
7671 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7672
7673
7674 # as_fn_error ERROR [LINENO LOG_FD]
7675 # ---------------------------------
7676 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7677 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7678 # script with status $?, using 1 if that was 0.
7679 as_fn_error ()
7680 {
7681   as_status=$?; test $as_status -eq 0 && as_status=1
7682   if test "$3"; then
7683     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7684     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7685   fi
7686   $as_echo "$as_me: error: $1" >&2
7687   as_fn_exit $as_status
7688 } # as_fn_error
7689
7690
7691 # as_fn_set_status STATUS
7692 # -----------------------
7693 # Set $? to STATUS, without forking.
7694 as_fn_set_status ()
7695 {
7696   return $1
7697 } # as_fn_set_status
7698
7699 # as_fn_exit STATUS
7700 # -----------------
7701 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7702 as_fn_exit ()
7703 {
7704   set +e
7705   as_fn_set_status $1
7706   exit $1
7707 } # as_fn_exit
7708
7709 # as_fn_unset VAR
7710 # ---------------
7711 # Portably unset VAR.
7712 as_fn_unset ()
7713 {
7714   { eval $1=; unset $1;}
7715 }
7716 as_unset=as_fn_unset
7717 # as_fn_append VAR VALUE
7718 # ----------------------
7719 # Append the text in VALUE to the end of the definition contained in VAR. Take
7720 # advantage of any shell optimizations that allow amortized linear growth over
7721 # repeated appends, instead of the typical quadratic growth present in naive
7722 # implementations.
7723 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7724   eval 'as_fn_append ()
7725   {
7726     eval $1+=\$2
7727   }'
7728 else
7729   as_fn_append ()
7730   {
7731     eval $1=\$$1\$2
7732   }
7733 fi # as_fn_append
7734
7735 # as_fn_arith ARG...
7736 # ------------------
7737 # Perform arithmetic evaluation on the ARGs, and store the result in the
7738 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7739 # must be portable across $(()) and expr.
7740 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7741   eval 'as_fn_arith ()
7742   {
7743     as_val=$(( $* ))
7744   }'
7745 else
7746   as_fn_arith ()
7747   {
7748     as_val=`expr "$@" || test $? -eq 1`
7749   }
7750 fi # as_fn_arith
7751
7752
7753 if expr a : '\(a\)' >/dev/null 2>&1 &&
7754    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7755   as_expr=expr
7756 else
7757   as_expr=false
7758 fi
7759
7760 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7761   as_basename=basename
7762 else
7763   as_basename=false
7764 fi
7765
7766 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7767   as_dirname=dirname
7768 else
7769   as_dirname=false
7770 fi
7771
7772 as_me=`$as_basename -- "$0" ||
7773 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7774          X"$0" : 'X\(//\)$' \| \
7775          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7776 $as_echo X/"$0" |
7777     sed '/^.*\/\([^/][^/]*\)\/*$/{
7778             s//\1/
7779             q
7780           }
7781           /^X\/\(\/\/\)$/{
7782             s//\1/
7783             q
7784           }
7785           /^X\/\(\/\).*/{
7786             s//\1/
7787             q
7788           }
7789           s/.*/./; q'`
7790
7791 # Avoid depending upon Character Ranges.
7792 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7793 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7794 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7795 as_cr_digits='0123456789'
7796 as_cr_alnum=$as_cr_Letters$as_cr_digits
7797
7798 ECHO_C= ECHO_N= ECHO_T=
7799 case `echo -n x` in #(((((
7800 -n*)
7801   case `echo 'xy\c'` in
7802   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7803   xy)  ECHO_C='\c';;
7804   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7805        ECHO_T=' ';;
7806   esac;;
7807 *)
7808   ECHO_N='-n';;
7809 esac
7810
7811 rm -f conf$$ conf$$.exe conf$$.file
7812 if test -d conf$$.dir; then
7813   rm -f conf$$.dir/conf$$.file
7814 else
7815   rm -f conf$$.dir
7816   mkdir conf$$.dir 2>/dev/null
7817 fi
7818 if (echo >conf$$.file) 2>/dev/null; then
7819   if ln -s conf$$.file conf$$ 2>/dev/null; then
7820     as_ln_s='ln -s'
7821     # ... but there are two gotchas:
7822     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7823     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7824     # In both cases, we have to default to `cp -p'.
7825     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7826       as_ln_s='cp -p'
7827   elif ln conf$$.file conf$$ 2>/dev/null; then
7828     as_ln_s=ln
7829   else
7830     as_ln_s='cp -p'
7831   fi
7832 else
7833   as_ln_s='cp -p'
7834 fi
7835 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7836 rmdir conf$$.dir 2>/dev/null
7837
7838
7839 # as_fn_mkdir_p
7840 # -------------
7841 # Create "$as_dir" as a directory, including parents if necessary.
7842 as_fn_mkdir_p ()
7843 {
7844
7845   case $as_dir in #(
7846   -*) as_dir=./$as_dir;;
7847   esac
7848   test -d "$as_dir" || eval $as_mkdir_p || {
7849     as_dirs=
7850     while :; do
7851       case $as_dir in #(
7852       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7853       *) as_qdir=$as_dir;;
7854       esac
7855       as_dirs="'$as_qdir' $as_dirs"
7856       as_dir=`$as_dirname -- "$as_dir" ||
7857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7858          X"$as_dir" : 'X\(//\)[^/]' \| \
7859          X"$as_dir" : 'X\(//\)$' \| \
7860          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7861 $as_echo X"$as_dir" |
7862     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7863             s//\1/
7864             q
7865           }
7866           /^X\(\/\/\)[^/].*/{
7867             s//\1/
7868             q
7869           }
7870           /^X\(\/\/\)$/{
7871             s//\1/
7872             q
7873           }
7874           /^X\(\/\).*/{
7875             s//\1/
7876             q
7877           }
7878           s/.*/./; q'`
7879       test -d "$as_dir" && break
7880     done
7881     test -z "$as_dirs" || eval "mkdir $as_dirs"
7882   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
7883
7884
7885 } # as_fn_mkdir_p
7886 if mkdir -p . 2>/dev/null; then
7887   as_mkdir_p='mkdir -p "$as_dir"'
7888 else
7889   test -d ./-p && rmdir ./-p
7890   as_mkdir_p=false
7891 fi
7892
7893 if test -x / >/dev/null 2>&1; then
7894   as_test_x='test -x'
7895 else
7896   if ls -dL / >/dev/null 2>&1; then
7897     as_ls_L_option=L
7898   else
7899     as_ls_L_option=
7900   fi
7901   as_test_x='
7902     eval sh -c '\''
7903       if test -d "$1"; then
7904         test -d "$1/.";
7905       else
7906         case $1 in #(
7907         -*)set "./$1";;
7908         esac;
7909         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7910         ???[sx]*):;;*)false;;esac;fi
7911     '\'' sh
7912   '
7913 fi
7914 as_executable_p=$as_test_x
7915
7916 # Sed expression to map a string onto a valid CPP name.
7917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7918
7919 # Sed expression to map a string onto a valid variable name.
7920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7921
7922
7923 exec 6>&1
7924 ## ----------------------------------- ##
7925 ## Main body of $CONFIG_STATUS script. ##
7926 ## ----------------------------------- ##
7927 _ASEOF
7928 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7929
7930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7931 # Save the log message, to keep $0 and so on meaningful, and to
7932 # report actual input values of CONFIG_FILES etc. instead of their
7933 # values after options handling.
7934 ac_log="
7935 This file was extended by gold $as_me 0.1, which was
7936 generated by GNU Autoconf 2.64.  Invocation command line was
7937
7938   CONFIG_FILES    = $CONFIG_FILES
7939   CONFIG_HEADERS  = $CONFIG_HEADERS
7940   CONFIG_LINKS    = $CONFIG_LINKS
7941   CONFIG_COMMANDS = $CONFIG_COMMANDS
7942   $ $0 $@
7943
7944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7945 "
7946
7947 _ACEOF
7948
7949 case $ac_config_files in *"
7950 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7951 esac
7952
7953 case $ac_config_headers in *"
7954 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7955 esac
7956
7957
7958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7959 # Files that config.status was made for.
7960 config_files="$ac_config_files"
7961 config_headers="$ac_config_headers"
7962 config_commands="$ac_config_commands"
7963
7964 _ACEOF
7965
7966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7967 ac_cs_usage="\
7968 \`$as_me' instantiates files and other configuration actions
7969 from templates according to the current configuration.  Unless the files
7970 and actions are specified as TAGs, all are instantiated by default.
7971
7972 Usage: $0 [OPTION]... [TAG]...
7973
7974   -h, --help       print this help, then exit
7975   -V, --version    print version number and configuration settings, then exit
7976   -q, --quiet, --silent
7977                    do not print progress messages
7978   -d, --debug      don't remove temporary files
7979       --recheck    update $as_me by reconfiguring in the same conditions
7980       --file=FILE[:TEMPLATE]
7981                    instantiate the configuration file FILE
7982       --header=FILE[:TEMPLATE]
7983                    instantiate the configuration header FILE
7984
7985 Configuration files:
7986 $config_files
7987
7988 Configuration headers:
7989 $config_headers
7990
7991 Configuration commands:
7992 $config_commands
7993
7994 Report bugs to the package provider."
7995
7996 _ACEOF
7997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7998 ac_cs_version="\\
7999 gold config.status 0.1
8000 configured by $0, generated by GNU Autoconf 2.64,
8001   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8002
8003 Copyright (C) 2009 Free Software Foundation, Inc.
8004 This config.status script is free software; the Free Software Foundation
8005 gives unlimited permission to copy, distribute and modify it."
8006
8007 ac_pwd='$ac_pwd'
8008 srcdir='$srcdir'
8009 INSTALL='$INSTALL'
8010 MKDIR_P='$MKDIR_P'
8011 AWK='$AWK'
8012 test -n "\$AWK" || AWK=awk
8013 _ACEOF
8014
8015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8016 # The default lists apply if the user does not specify any file.
8017 ac_need_defaults=:
8018 while test $# != 0
8019 do
8020   case $1 in
8021   --*=*)
8022     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8023     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8024     ac_shift=:
8025     ;;
8026   *)
8027     ac_option=$1
8028     ac_optarg=$2
8029     ac_shift=shift
8030     ;;
8031   esac
8032
8033   case $ac_option in
8034   # Handling of the options.
8035   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8036     ac_cs_recheck=: ;;
8037   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8038     $as_echo "$ac_cs_version"; exit ;;
8039   --debug | --debu | --deb | --de | --d | -d )
8040     debug=: ;;
8041   --file | --fil | --fi | --f )
8042     $ac_shift
8043     case $ac_optarg in
8044     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8045     esac
8046     as_fn_append CONFIG_FILES " '$ac_optarg'"
8047     ac_need_defaults=false;;
8048   --header | --heade | --head | --hea )
8049     $ac_shift
8050     case $ac_optarg in
8051     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8052     esac
8053     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8054     ac_need_defaults=false;;
8055   --he | --h)
8056     # Conflict between --help and --header
8057     as_fn_error "ambiguous option: \`$1'
8058 Try \`$0 --help' for more information.";;
8059   --help | --hel | -h )
8060     $as_echo "$ac_cs_usage"; exit ;;
8061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8062   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8063     ac_cs_silent=: ;;
8064
8065   # This is an error.
8066   -*) as_fn_error "unrecognized option: \`$1'
8067 Try \`$0 --help' for more information." ;;
8068
8069   *) as_fn_append ac_config_targets " $1"
8070      ac_need_defaults=false ;;
8071
8072   esac
8073   shift
8074 done
8075
8076 ac_configure_extra_args=
8077
8078 if $ac_cs_silent; then
8079   exec 6>/dev/null
8080   ac_configure_extra_args="$ac_configure_extra_args --silent"
8081 fi
8082
8083 _ACEOF
8084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8085 if \$ac_cs_recheck; then
8086   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8087   shift
8088   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8089   CONFIG_SHELL='$SHELL'
8090   export CONFIG_SHELL
8091   exec "\$@"
8092 fi
8093
8094 _ACEOF
8095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8096 exec 5>>config.log
8097 {
8098   echo
8099   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8100 ## Running $as_me. ##
8101 _ASBOX
8102   $as_echo "$ac_log"
8103 } >&5
8104
8105 _ACEOF
8106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8107 #
8108 # INIT-COMMANDS
8109 #
8110 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8111 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8112     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8113     # from automake.
8114     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8115     # Capture the value of LINGUAS because we need it to compute CATALOGS.
8116     LINGUAS="${LINGUAS-%UNSET%}"
8117
8118
8119 _ACEOF
8120
8121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8122
8123 # Handling of arguments.
8124 for ac_config_target in $ac_config_targets
8125 do
8126   case $ac_config_target in
8127     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8128     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8129     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8130     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8131     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
8132     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8133
8134   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8135   esac
8136 done
8137
8138
8139 # If the user did not use the arguments to specify the items to instantiate,
8140 # then the envvar interface is used.  Set only those that are not.
8141 # We use the long form for the default assignment because of an extremely
8142 # bizarre bug on SunOS 4.1.3.
8143 if $ac_need_defaults; then
8144   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8145   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8146   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8147 fi
8148
8149 # Have a temporary directory for convenience.  Make it in the build tree
8150 # simply because there is no reason against having it here, and in addition,
8151 # creating and moving files from /tmp can sometimes cause problems.
8152 # Hook for its removal unless debugging.
8153 # Note that there is a small window in which the directory will not be cleaned:
8154 # after its creation but before its name has been assigned to `$tmp'.
8155 $debug ||
8156 {
8157   tmp=
8158   trap 'exit_status=$?
8159   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8160 ' 0
8161   trap 'as_fn_exit 1' 1 2 13 15
8162 }
8163 # Create a (secure) tmp directory for tmp files.
8164
8165 {
8166   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8167   test -n "$tmp" && test -d "$tmp"
8168 }  ||
8169 {
8170   tmp=./conf$$-$RANDOM
8171   (umask 077 && mkdir "$tmp")
8172 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8173
8174 # Set up the scripts for CONFIG_FILES section.
8175 # No need to generate them if there are no CONFIG_FILES.
8176 # This happens for instance with `./config.status config.h'.
8177 if test -n "$CONFIG_FILES"; then
8178
8179
8180 ac_cr=`echo X | tr X '\015'`
8181 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8182 # But we know of no other shell where ac_cr would be empty at this
8183 # point, so we can use a bashism as a fallback.
8184 if test "x$ac_cr" = x; then
8185   eval ac_cr=\$\'\\r\'
8186 fi
8187 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8188 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8189   ac_cs_awk_cr='\r'
8190 else
8191   ac_cs_awk_cr=$ac_cr
8192 fi
8193
8194 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8195 _ACEOF
8196
8197
8198 {
8199   echo "cat >conf$$subs.awk <<_ACEOF" &&
8200   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8201   echo "_ACEOF"
8202 } >conf$$subs.sh ||
8203   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8204 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8205 ac_delim='%!_!# '
8206 for ac_last_try in false false false false false :; do
8207   . ./conf$$subs.sh ||
8208     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8209
8210   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8211   if test $ac_delim_n = $ac_delim_num; then
8212     break
8213   elif $ac_last_try; then
8214     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8215   else
8216     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8217   fi
8218 done
8219 rm -f conf$$subs.sh
8220
8221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8222 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8223 _ACEOF
8224 sed -n '
8225 h
8226 s/^/S["/; s/!.*/"]=/
8227 p
8228 g
8229 s/^[^!]*!//
8230 :repl
8231 t repl
8232 s/'"$ac_delim"'$//
8233 t delim
8234 :nl
8235 h
8236 s/\(.\{148\}\).*/\1/
8237 t more1
8238 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8239 p
8240 n
8241 b repl
8242 :more1
8243 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8244 p
8245 g
8246 s/.\{148\}//
8247 t nl
8248 :delim
8249 h
8250 s/\(.\{148\}\).*/\1/
8251 t more2
8252 s/["\\]/\\&/g; s/^/"/; s/$/"/
8253 p
8254 b
8255 :more2
8256 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8257 p
8258 g
8259 s/.\{148\}//
8260 t delim
8261 ' <conf$$subs.awk | sed '
8262 /^[^""]/{
8263   N
8264   s/\n//
8265 }
8266 ' >>$CONFIG_STATUS || ac_write_fail=1
8267 rm -f conf$$subs.awk
8268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8269 _ACAWK
8270 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8271   for (key in S) S_is_set[key] = 1
8272   FS = "\a"
8273
8274 }
8275 {
8276   line = $ 0
8277   nfields = split(line, field, "@")
8278   substed = 0
8279   len = length(field[1])
8280   for (i = 2; i < nfields; i++) {
8281     key = field[i]
8282     keylen = length(key)
8283     if (S_is_set[key]) {
8284       value = S[key]
8285       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8286       len += length(value) + length(field[++i])
8287       substed = 1
8288     } else
8289       len += 1 + keylen
8290   }
8291
8292   print line
8293 }
8294
8295 _ACAWK
8296 _ACEOF
8297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8298 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8299   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8300 else
8301   cat
8302 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8303   || as_fn_error "could not setup config files machinery" "$LINENO" 5
8304 _ACEOF
8305
8306 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8307 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8308 # trailing colons and then remove the whole line if VPATH becomes empty
8309 # (actually we leave an empty line to preserve line numbers).
8310 if test "x$srcdir" = x.; then
8311   ac_vpsub='/^[  ]*VPATH[        ]*=/{
8312 s/:*\$(srcdir):*/:/
8313 s/:*\${srcdir}:*/:/
8314 s/:*@srcdir@:*/:/
8315 s/^\([^=]*=[     ]*\):*/\1/
8316 s/:*$//
8317 s/^[^=]*=[       ]*$//
8318 }'
8319 fi
8320
8321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8322 fi # test -n "$CONFIG_FILES"
8323
8324 # Set up the scripts for CONFIG_HEADERS section.
8325 # No need to generate them if there are no CONFIG_HEADERS.
8326 # This happens for instance with `./config.status Makefile'.
8327 if test -n "$CONFIG_HEADERS"; then
8328 cat >"$tmp/defines.awk" <<\_ACAWK ||
8329 BEGIN {
8330 _ACEOF
8331
8332 # Transform confdefs.h into an awk script `defines.awk', embedded as
8333 # here-document in config.status, that substitutes the proper values into
8334 # config.h.in to produce config.h.
8335
8336 # Create a delimiter string that does not exist in confdefs.h, to ease
8337 # handling of long lines.
8338 ac_delim='%!_!# '
8339 for ac_last_try in false false :; do
8340   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8341   if test -z "$ac_t"; then
8342     break
8343   elif $ac_last_try; then
8344     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8345   else
8346     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8347   fi
8348 done
8349
8350 # For the awk script, D is an array of macro values keyed by name,
8351 # likewise P contains macro parameters if any.  Preserve backslash
8352 # newline sequences.
8353
8354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8355 sed -n '
8356 s/.\{148\}/&'"$ac_delim"'/g
8357 t rset
8358 :rset
8359 s/^[     ]*#[    ]*define[       ][      ]*/ /
8360 t def
8361 d
8362 :def
8363 s/\\$//
8364 t bsnl
8365 s/["\\]/\\&/g
8366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8367 D["\1"]=" \3"/p
8368 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
8369 d
8370 :bsnl
8371 s/["\\]/\\&/g
8372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8373 D["\1"]=" \3\\\\\\n"\\/p
8374 t cont
8375 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8376 t cont
8377 d
8378 :cont
8379 n
8380 s/.\{148\}/&'"$ac_delim"'/g
8381 t clear
8382 :clear
8383 s/\\$//
8384 t bsnlc
8385 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8386 d
8387 :bsnlc
8388 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8389 b cont
8390 ' <confdefs.h | sed '
8391 s/'"$ac_delim"'/"\\\
8392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8393
8394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8395   for (key in D) D_is_set[key] = 1
8396   FS = "\a"
8397 }
8398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8399   line = \$ 0
8400   split(line, arg, " ")
8401   if (arg[1] == "#") {
8402     defundef = arg[2]
8403     mac1 = arg[3]
8404   } else {
8405     defundef = substr(arg[1], 2)
8406     mac1 = arg[2]
8407   }
8408   split(mac1, mac2, "(") #)
8409   macro = mac2[1]
8410   prefix = substr(line, 1, index(line, defundef) - 1)
8411   if (D_is_set[macro]) {
8412     # Preserve the white space surrounding the "#".
8413     print prefix "define", macro P[macro] D[macro]
8414     next
8415   } else {
8416     # Replace #undef with comments.  This is necessary, for example,
8417     # in the case of _POSIX_SOURCE, which is predefined and required
8418     # on some systems where configure will not decide to define it.
8419     if (defundef == "undef") {
8420       print "/*", prefix defundef, macro, "*/"
8421       next
8422     }
8423   }
8424 }
8425 { print }
8426 _ACAWK
8427 _ACEOF
8428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8429   as_fn_error "could not setup config headers machinery" "$LINENO" 5
8430 fi # test -n "$CONFIG_HEADERS"
8431
8432
8433 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8434 shift
8435 for ac_tag
8436 do
8437   case $ac_tag in
8438   :[FHLC]) ac_mode=$ac_tag; continue;;
8439   esac
8440   case $ac_mode$ac_tag in
8441   :[FHL]*:*);;
8442   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8443   :[FH]-) ac_tag=-:-;;
8444   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8445   esac
8446   ac_save_IFS=$IFS
8447   IFS=:
8448   set x $ac_tag
8449   IFS=$ac_save_IFS
8450   shift
8451   ac_file=$1
8452   shift
8453
8454   case $ac_mode in
8455   :L) ac_source=$1;;
8456   :[FH])
8457     ac_file_inputs=
8458     for ac_f
8459     do
8460       case $ac_f in
8461       -) ac_f="$tmp/stdin";;
8462       *) # Look for the file first in the build tree, then in the source tree
8463          # (if the path is not absolute).  The absolute path cannot be DOS-style,
8464          # because $ac_f cannot contain `:'.
8465          test -f "$ac_f" ||
8466            case $ac_f in
8467            [\\/$]*) false;;
8468            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8469            esac ||
8470            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8471       esac
8472       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8473       as_fn_append ac_file_inputs " '$ac_f'"
8474     done
8475
8476     # Let's still pretend it is `configure' which instantiates (i.e., don't
8477     # use $as_me), people would be surprised to read:
8478     #    /* config.h.  Generated by config.status.  */
8479     configure_input='Generated from '`
8480           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8481         `' by configure.'
8482     if test x"$ac_file" != x-; then
8483       configure_input="$ac_file.  $configure_input"
8484       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8485 $as_echo "$as_me: creating $ac_file" >&6;}
8486     fi
8487     # Neutralize special characters interpreted by sed in replacement strings.
8488     case $configure_input in #(
8489     *\&* | *\|* | *\\* )
8490        ac_sed_conf_input=`$as_echo "$configure_input" |
8491        sed 's/[\\\\&|]/\\\\&/g'`;; #(
8492     *) ac_sed_conf_input=$configure_input;;
8493     esac
8494
8495     case $ac_tag in
8496     *:-:* | *:-) cat >"$tmp/stdin" \
8497       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8498     esac
8499     ;;
8500   esac
8501
8502   ac_dir=`$as_dirname -- "$ac_file" ||
8503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8504          X"$ac_file" : 'X\(//\)[^/]' \| \
8505          X"$ac_file" : 'X\(//\)$' \| \
8506          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8507 $as_echo X"$ac_file" |
8508     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8509             s//\1/
8510             q
8511           }
8512           /^X\(\/\/\)[^/].*/{
8513             s//\1/
8514             q
8515           }
8516           /^X\(\/\/\)$/{
8517             s//\1/
8518             q
8519           }
8520           /^X\(\/\).*/{
8521             s//\1/
8522             q
8523           }
8524           s/.*/./; q'`
8525   as_dir="$ac_dir"; as_fn_mkdir_p
8526   ac_builddir=.
8527
8528 case "$ac_dir" in
8529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8530 *)
8531   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8532   # A ".." for each directory in $ac_dir_suffix.
8533   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8534   case $ac_top_builddir_sub in
8535   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8536   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8537   esac ;;
8538 esac
8539 ac_abs_top_builddir=$ac_pwd
8540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8541 # for backward compatibility:
8542 ac_top_builddir=$ac_top_build_prefix
8543
8544 case $srcdir in
8545   .)  # We are building in place.
8546     ac_srcdir=.
8547     ac_top_srcdir=$ac_top_builddir_sub
8548     ac_abs_top_srcdir=$ac_pwd ;;
8549   [\\/]* | ?:[\\/]* )  # Absolute name.
8550     ac_srcdir=$srcdir$ac_dir_suffix;
8551     ac_top_srcdir=$srcdir
8552     ac_abs_top_srcdir=$srcdir ;;
8553   *) # Relative name.
8554     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8555     ac_top_srcdir=$ac_top_build_prefix$srcdir
8556     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8557 esac
8558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8559
8560
8561   case $ac_mode in
8562   :F)
8563   #
8564   # CONFIG_FILE
8565   #
8566
8567   case $INSTALL in
8568   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8569   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8570   esac
8571   ac_MKDIR_P=$MKDIR_P
8572   case $MKDIR_P in
8573   [\\/$]* | ?:[\\/]* ) ;;
8574   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8575   esac
8576 _ACEOF
8577
8578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8579 # If the template does not know about datarootdir, expand it.
8580 # FIXME: This hack should be removed a few years after 2.60.
8581 ac_datarootdir_hack=; ac_datarootdir_seen=
8582 ac_sed_dataroot='
8583 /datarootdir/ {
8584   p
8585   q
8586 }
8587 /@datadir@/p
8588 /@docdir@/p
8589 /@infodir@/p
8590 /@localedir@/p
8591 /@mandir@/p'
8592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8593 *datarootdir*) ac_datarootdir_seen=yes;;
8594 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8595   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8597 _ACEOF
8598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8599   ac_datarootdir_hack='
8600   s&@datadir@&$datadir&g
8601   s&@docdir@&$docdir&g
8602   s&@infodir@&$infodir&g
8603   s&@localedir@&$localedir&g
8604   s&@mandir@&$mandir&g
8605   s&\\\${datarootdir}&$datarootdir&g' ;;
8606 esac
8607 _ACEOF
8608
8609 # Neutralize VPATH when `$srcdir' = `.'.
8610 # Shell code in configure.ac might set extrasub.
8611 # FIXME: do we really want to maintain this feature?
8612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8613 ac_sed_extra="$ac_vpsub
8614 $extrasub
8615 _ACEOF
8616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8617 :t
8618 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8619 s|@configure_input@|$ac_sed_conf_input|;t t
8620 s&@top_builddir@&$ac_top_builddir_sub&;t t
8621 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8622 s&@srcdir@&$ac_srcdir&;t t
8623 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8624 s&@top_srcdir@&$ac_top_srcdir&;t t
8625 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8626 s&@builddir@&$ac_builddir&;t t
8627 s&@abs_builddir@&$ac_abs_builddir&;t t
8628 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8629 s&@INSTALL@&$ac_INSTALL&;t t
8630 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8631 $ac_datarootdir_hack
8632 "
8633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8634   || as_fn_error "could not create $ac_file" "$LINENO" 5
8635
8636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8637   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8638   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8640 which seems to be undefined.  Please make sure it is defined." >&5
8641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8642 which seems to be undefined.  Please make sure it is defined." >&2;}
8643
8644   rm -f "$tmp/stdin"
8645   case $ac_file in
8646   -) cat "$tmp/out" && rm -f "$tmp/out";;
8647   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8648   esac \
8649   || as_fn_error "could not create $ac_file" "$LINENO" 5
8650  ;;
8651   :H)
8652   #
8653   # CONFIG_HEADER
8654   #
8655   if test x"$ac_file" != x-; then
8656     {
8657       $as_echo "/* $configure_input  */" \
8658       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8659     } >"$tmp/config.h" \
8660       || as_fn_error "could not create $ac_file" "$LINENO" 5
8661     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8662       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8664     else
8665       rm -f "$ac_file"
8666       mv "$tmp/config.h" "$ac_file" \
8667         || as_fn_error "could not create $ac_file" "$LINENO" 5
8668     fi
8669   else
8670     $as_echo "/* $configure_input  */" \
8671       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8672       || as_fn_error "could not create -" "$LINENO" 5
8673   fi
8674 # Compute "$ac_file"'s index in $config_headers.
8675 _am_arg="$ac_file"
8676 _am_stamp_count=1
8677 for _am_header in $config_headers :; do
8678   case $_am_header in
8679     $_am_arg | $_am_arg:* )
8680       break ;;
8681     * )
8682       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8683   esac
8684 done
8685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8687          X"$_am_arg" : 'X\(//\)[^/]' \| \
8688          X"$_am_arg" : 'X\(//\)$' \| \
8689          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8690 $as_echo X"$_am_arg" |
8691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8692             s//\1/
8693             q
8694           }
8695           /^X\(\/\/\)[^/].*/{
8696             s//\1/
8697             q
8698           }
8699           /^X\(\/\/\)$/{
8700             s//\1/
8701             q
8702           }
8703           /^X\(\/\).*/{
8704             s//\1/
8705             q
8706           }
8707           s/.*/./; q'`/stamp-h$_am_stamp_count
8708  ;;
8709
8710   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8711 $as_echo "$as_me: executing $ac_file commands" >&6;}
8712  ;;
8713   esac
8714
8715
8716   case $ac_file$ac_mode in
8717     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8718   # Autoconf 2.62 quotes --file arguments for eval, but not when files
8719   # are listed without --file.  Let's play safe and only enable the eval
8720   # if we detect the quoting.
8721   case $CONFIG_FILES in
8722   *\'*) eval set x "$CONFIG_FILES" ;;
8723   *)   set x $CONFIG_FILES ;;
8724   esac
8725   shift
8726   for mf
8727   do
8728     # Strip MF so we end up with the name of the file.
8729     mf=`echo "$mf" | sed -e 's/:.*$//'`
8730     # Check whether this is an Automake generated Makefile or not.
8731     # We used to match only the files named `Makefile.in', but
8732     # some people rename them; so instead we look at the file content.
8733     # Grep'ing the first line is not enough: some people post-process
8734     # each Makefile.in and add a new line on top of each file to say so.
8735     # Grep'ing the whole file is not good either: AIX grep has a line
8736     # limit of 2048, but all sed's we know have understand at least 4000.
8737     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8738       dirpart=`$as_dirname -- "$mf" ||
8739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8740          X"$mf" : 'X\(//\)[^/]' \| \
8741          X"$mf" : 'X\(//\)$' \| \
8742          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8743 $as_echo X"$mf" |
8744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8745             s//\1/
8746             q
8747           }
8748           /^X\(\/\/\)[^/].*/{
8749             s//\1/
8750             q
8751           }
8752           /^X\(\/\/\)$/{
8753             s//\1/
8754             q
8755           }
8756           /^X\(\/\).*/{
8757             s//\1/
8758             q
8759           }
8760           s/.*/./; q'`
8761     else
8762       continue
8763     fi
8764     # Extract the definition of DEPDIR, am__include, and am__quote
8765     # from the Makefile without running `make'.
8766     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8767     test -z "$DEPDIR" && continue
8768     am__include=`sed -n 's/^am__include = //p' < "$mf"`
8769     test -z "am__include" && continue
8770     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8771     # When using ansi2knr, U may be empty or an underscore; expand it
8772     U=`sed -n 's/^U = //p' < "$mf"`
8773     # Find all dependency output files, they are included files with
8774     # $(DEPDIR) in their names.  We invoke sed twice because it is the
8775     # simplest approach to changing $(DEPDIR) to its actual value in the
8776     # expansion.
8777     for file in `sed -n "
8778       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8779          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8780       # Make sure the directory exists.
8781       test -f "$dirpart/$file" && continue
8782       fdir=`$as_dirname -- "$file" ||
8783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8784          X"$file" : 'X\(//\)[^/]' \| \
8785          X"$file" : 'X\(//\)$' \| \
8786          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8787 $as_echo X"$file" |
8788     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8789             s//\1/
8790             q
8791           }
8792           /^X\(\/\/\)[^/].*/{
8793             s//\1/
8794             q
8795           }
8796           /^X\(\/\/\)$/{
8797             s//\1/
8798             q
8799           }
8800           /^X\(\/\).*/{
8801             s//\1/
8802             q
8803           }
8804           s/.*/./; q'`
8805       as_dir=$dirpart/$fdir; as_fn_mkdir_p
8806       # echo "creating $dirpart/$file"
8807       echo '# dummy' > "$dirpart/$file"
8808     done
8809   done
8810 }
8811  ;;
8812     "default-1":C)
8813     for ac_file in $CONFIG_FILES; do
8814       # Support "outfile[:infile[:infile...]]"
8815       case "$ac_file" in
8816         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8817       esac
8818       # PO directories have a Makefile.in generated from Makefile.in.in.
8819       case "$ac_file" in */Makefile.in)
8820         # Adjust a relative srcdir.
8821         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8822         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
8823         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8824         # In autoconf-2.13 it is called $ac_given_srcdir.
8825         # In autoconf-2.50 it is called $srcdir.
8826         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8827         case "$ac_given_srcdir" in
8828           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8829           /*) top_srcdir="$ac_given_srcdir" ;;
8830           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
8831         esac
8832         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8833           rm -f "$ac_dir/POTFILES"
8834           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8835           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8836           POMAKEFILEDEPS="POTFILES.in"
8837           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8838           # on $ac_dir but don't depend on user-specified configuration
8839           # parameters.
8840           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8841             # The LINGUAS file contains the set of available languages.
8842             if test -n "$OBSOLETE_ALL_LINGUAS"; then
8843               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8844             fi
8845             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8846             # Hide the ALL_LINGUAS assigment from automake.
8847             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8848             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8849           else
8850             # The set of available languages was given in configure.in.
8851             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8852           fi
8853           case "$ac_given_srcdir" in
8854             .) srcdirpre= ;;
8855             *) srcdirpre='$(srcdir)/' ;;
8856           esac
8857           POFILES=
8858           GMOFILES=
8859           UPDATEPOFILES=
8860           DUMMYPOFILES=
8861           for lang in $ALL_LINGUAS; do
8862             POFILES="$POFILES $srcdirpre$lang.po"
8863             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8864             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8865             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8866           done
8867           # CATALOGS depends on both $ac_dir and the user's LINGUAS
8868           # environment variable.
8869           INST_LINGUAS=
8870           if test -n "$ALL_LINGUAS"; then
8871             for presentlang in $ALL_LINGUAS; do
8872               useit=no
8873               if test "%UNSET%" != "$LINGUAS"; then
8874                 desiredlanguages="$LINGUAS"
8875               else
8876                 desiredlanguages="$ALL_LINGUAS"
8877               fi
8878               for desiredlang in $desiredlanguages; do
8879                 # Use the presentlang catalog if desiredlang is
8880                 #   a. equal to presentlang, or
8881                 #   b. a variant of presentlang (because in this case,
8882                 #      presentlang can be used as a fallback for messages
8883                 #      which are not translated in the desiredlang catalog).
8884                 case "$desiredlang" in
8885                   "$presentlang"*) useit=yes;;
8886                 esac
8887               done
8888               if test $useit = yes; then
8889                 INST_LINGUAS="$INST_LINGUAS $presentlang"
8890               fi
8891             done
8892           fi
8893           CATALOGS=
8894           if test -n "$INST_LINGUAS"; then
8895             for lang in $INST_LINGUAS; do
8896               CATALOGS="$CATALOGS $lang.gmo"
8897             done
8898           fi
8899           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8900           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8901           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8902             if test -f "$f"; then
8903               case "$f" in
8904                 *.orig | *.bak | *~) ;;
8905                 *) cat "$f" >> "$ac_dir/Makefile" ;;
8906               esac
8907             fi
8908           done
8909         fi
8910         ;;
8911       esac
8912     done ;;
8913
8914   esac
8915 done # for ac_tag
8916
8917
8918 as_fn_exit 0
8919 _ACEOF
8920 ac_clean_files=$ac_clean_files_save
8921
8922 test $ac_write_fail = 0 ||
8923   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8924
8925
8926 # configure is writing to config.log, and then calls config.status.
8927 # config.status does its own redirection, appending to config.log.
8928 # Unfortunately, on DOS this fails, as config.log is still kept open
8929 # by configure, so config.status won't be able to write to it; its
8930 # output is simply discarded.  So we exec the FD to /dev/null,
8931 # effectively closing config.log, so it can be properly (re)opened and
8932 # appended to by config.status.  When coming back to configure, we
8933 # need to make the FD available again.
8934 if test "$no_create" != yes; then
8935   ac_cs_success=:
8936   ac_config_status_args=
8937   test "$silent" = yes &&
8938     ac_config_status_args="$ac_config_status_args --quiet"
8939   exec 5>/dev/null
8940   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8941   exec 5>>config.log
8942   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8943   # would make configure fail if this is the last instruction.
8944   $ac_cs_success || as_fn_exit $?
8945 fi
8946 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8947   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8948 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8949 fi
8950