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