* configure.ac: Apply 2012-09-10 change to config.in here.
[external/binutils.git] / gold / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gold 0.1.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173   if (eval "$as_required") 2>/dev/null; then :
174   as_have_required=yes
175 else
176   as_have_required=no
177 fi
178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185   IFS=$as_save_IFS
186   test -z "$as_dir" && as_dir=.
187   as_found=:
188   case $as_dir in #(
189          /*)
190            for as_base in sh bash ksh sh5; do
191              # Try only shells that exist, to save several forks.
192              as_shell=$as_dir/$as_base
193              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195   CONFIG_SHELL=$as_shell as_have_required=yes
196                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   break 2
198 fi
199 fi
200            done;;
201        esac
202   as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206   CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211       if test "x$CONFIG_SHELL" != x; then :
212   # We cannot yet assume a decent shell, so we have to provide a
213         # neutralization value for shells without unset; and this also
214         # works around shells that cannot unset nonexistent variables.
215         BASH_ENV=/dev/null
216         ENV=/dev/null
217         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218         export CONFIG_SHELL
219         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222     if test x$as_have_required = xno; then :
223   $as_echo "$0: This script requires a shell more modern than all"
224   $as_echo "$0: the shells that I found on your system."
225   if test x${ZSH_VERSION+set} = xset ; then
226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228   else
229     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233   fi
234   exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252   { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261   return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269   set +e
270   as_fn_set_status $1
271   exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280   case $as_dir in #(
281   -*) as_dir=./$as_dir;;
282   esac
283   test -d "$as_dir" || eval $as_mkdir_p || {
284     as_dirs=
285     while :; do
286       case $as_dir in #(
287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288       *) as_qdir=$as_dir;;
289       esac
290       as_dirs="'$as_qdir' $as_dirs"
291       as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293          X"$as_dir" : 'X\(//\)[^/]' \| \
294          X"$as_dir" : 'X\(//\)$' \| \
295          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298             s//\1/
299             q
300           }
301           /^X\(\/\/\)[^/].*/{
302             s//\1/
303             q
304           }
305           /^X\(\/\/\)$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\).*/{
310             s//\1/
311             q
312           }
313           s/.*/./; q'`
314       test -d "$as_dir" && break
315     done
316     test -z "$as_dirs" || eval "mkdir $as_dirs"
317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328   eval 'as_fn_append ()
329   {
330     eval $1+=\$2
331   }'
332 else
333   as_fn_append ()
334   {
335     eval $1=\$$1\$2
336   }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345   eval 'as_fn_arith ()
346   {
347     as_val=$(( $* ))
348   }'
349 else
350   as_fn_arith ()
351   {
352     as_val=`expr "$@" || test $? -eq 1`
353   }
354 fi # as_fn_arith
355
356
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
363 {
364   as_status=$?; test $as_status -eq 0 && as_status=1
365   if test "$3"; then
366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368   fi
369   $as_echo "$as_me: error: $1" >&2
370   as_fn_exit $as_status
371 } # as_fn_error
372
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
375   as_expr=expr
376 else
377   as_expr=false
378 fi
379
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381   as_basename=basename
382 else
383   as_basename=false
384 fi
385
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387   as_dirname=dirname
388 else
389   as_dirname=false
390 fi
391
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394          X"$0" : 'X\(//\)$' \| \
395          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397     sed '/^.*\/\([^/][^/]*\)\/*$/{
398             s//\1/
399             q
400           }
401           /^X\/\(\/\/\)$/{
402             s//\1/
403             q
404           }
405           /^X\/\(\/\).*/{
406             s//\1/
407             q
408           }
409           s/.*/./; q'`
410
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424   sed -n '
425     p
426     /[$]LINENO/=
427   ' <$as_myself |
428     sed '
429       s/[$]LINENO.*/&-/
430       t lineno
431       b
432       :lineno
433       N
434       :loop
435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436       t loop
437       s/-\n.*//
438     ' >$as_me.lineno &&
439   chmod +x "$as_me.lineno" ||
440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441
442   # Don't try to exec as it changes $[0], causing all sort of problems
443   # (the dirname of $[0] is not the place where we might find the
444   # original and so on.  Autoconf is especially sensitive to this).
445   . "./$as_me.lineno"
446   # Exit status is that of the last command.
447   exit
448 }
449
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453   case `echo 'xy\c'` in
454   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455   xy)  ECHO_C='\c';;
456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457        ECHO_T=' ';;
458   esac;;
459 *)
460   ECHO_N='-n';;
461 esac
462
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465   rm -f conf$$.dir/conf$$.file
466 else
467   rm -f conf$$.dir
468   mkdir conf$$.dir 2>/dev/null
469 fi
470 if (echo >conf$$.file) 2>/dev/null; then
471   if ln -s conf$$.file conf$$ 2>/dev/null; then
472     as_ln_s='ln -s'
473     # ... but there are two gotchas:
474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476     # In both cases, we have to default to `cp -p'.
477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478       as_ln_s='cp -p'
479   elif ln conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s=ln
481   else
482     as_ln_s='cp -p'
483   fi
484 else
485   as_ln_s='cp -p'
486 fi
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
489
490 if mkdir -p . 2>/dev/null; then
491   as_mkdir_p='mkdir -p "$as_dir"'
492 else
493   test -d ./-p && rmdir ./-p
494   as_mkdir_p=false
495 fi
496
497 if test -x / >/dev/null 2>&1; then
498   as_test_x='test -x'
499 else
500   if ls -dL / >/dev/null 2>&1; then
501     as_ls_L_option=L
502   else
503     as_ls_L_option=
504   fi
505   as_test_x='
506     eval sh -c '\''
507       if test -d "$1"; then
508         test -d "$1/.";
509       else
510         case $1 in #(
511         -*)set "./$1";;
512         esac;
513         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514         ???[sx]*):;;*)false;;esac;fi
515     '\'' sh
516   '
517 fi
518 as_executable_p=$as_test_x
519
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
526
527 exec 7<&0 </dev/null 6>&1
528
529 # Name of the host.
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533
534 #
535 # Initializations.
536 #
537 ac_default_prefix=/usr/local
538 ac_clean_files=
539 ac_config_libobj_dir=.
540 LIBOBJS=
541 cross_compiling=no
542 subdirs=
543 MFLAGS=
544 MAKEFLAGS=
545
546 # Identity of this package.
547 PACKAGE_NAME='gold'
548 PACKAGE_TARNAME='gold'
549 PACKAGE_VERSION='0.1'
550 PACKAGE_STRING='gold 0.1'
551 PACKAGE_BUGREPORT=''
552 PACKAGE_URL=''
553
554 ac_unique_file="gold.cc"
555 # Factoring default headers for most tests.
556 ac_includes_default="\
557 #include <stdio.h>
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
560 #endif
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
563 #endif
564 #ifdef STDC_HEADERS
565 # include <stdlib.h>
566 # include <stddef.h>
567 #else
568 # ifdef HAVE_STDLIB_H
569 #  include <stdlib.h>
570 # endif
571 #endif
572 #ifdef HAVE_STRING_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
574 #  include <memory.h>
575 # endif
576 # include <string.h>
577 #endif
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
580 #endif
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
583 #endif
584 #ifdef HAVE_STDINT_H
585 # include <stdint.h>
586 #endif
587 #ifdef HAVE_UNISTD_H
588 # include <unistd.h>
589 #endif"
590
591 ac_subst_vars='am__EXEEXT_FALSE
592 am__EXEEXT_TRUE
593 LTLIBOBJS
594 MAINT
595 MAINTAINER_MODE_FALSE
596 MAINTAINER_MODE_TRUE
597 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_TILEGX_FALSE
683 DEFAULT_TARGET_TILEGX_TRUE
684 DEFAULT_TARGET_X86_64_FALSE
685 DEFAULT_TARGET_X86_64_TRUE
686 DEFAULT_TARGET_SPARC_FALSE
687 DEFAULT_TARGET_SPARC_TRUE
688 DEFAULT_TARGET_POWERPC_FALSE
689 DEFAULT_TARGET_POWERPC_TRUE
690 DEFAULT_TARGET_I386_FALSE
691 DEFAULT_TARGET_I386_TRUE
692 DEFAULT_TARGET_ARM_FALSE
693 DEFAULT_TARGET_ARM_TRUE
694 PLUGINS_FALSE
695 PLUGINS_TRUE
696 THREADS_FALSE
697 THREADS_TRUE
698 installed_linker
699 install_as_default
700 am__untar
701 am__tar
702 AMTAR
703 am__leading_dot
704 SET_MAKE
705 AWK
706 mkdir_p
707 MKDIR_P
708 INSTALL_STRIP_PROGRAM
709 STRIP
710 install_sh
711 MAKEINFO
712 AUTOHEADER
713 AUTOMAKE
714 AUTOCONF
715 ACLOCAL
716 VERSION
717 PACKAGE
718 CYGPATH_W
719 am__isrc
720 INSTALL_DATA
721 INSTALL_SCRIPT
722 INSTALL_PROGRAM
723 target_os
724 target_vendor
725 target_cpu
726 target
727 host_os
728 host_vendor
729 host_cpu
730 host
731 build_os
732 build_vendor
733 build_cpu
734 build
735 target_alias
736 host_alias
737 build_alias
738 LIBS
739 ECHO_T
740 ECHO_N
741 ECHO_C
742 DEFS
743 mandir
744 localedir
745 libdir
746 psdir
747 pdfdir
748 dvidir
749 htmldir
750 infodir
751 docdir
752 oldincludedir
753 includedir
754 localstatedir
755 sharedstatedir
756 sysconfdir
757 datadir
758 datarootdir
759 libexecdir
760 sbindir
761 bindir
762 program_transform_name
763 prefix
764 exec_prefix
765 PACKAGE_URL
766 PACKAGE_BUGREPORT
767 PACKAGE_STRING
768 PACKAGE_VERSION
769 PACKAGE_TARNAME
770 PACKAGE_NAME
771 PATH_SEPARATOR
772 SHELL'
773 ac_subst_files=''
774 ac_user_opts='
775 enable_option_checking
776 with_sysroot
777 enable_ld
778 enable_gold
779 enable_threads
780 enable_plugins
781 enable_targets
782 with_lib_path
783 enable_dependency_tracking
784 enable_nls
785 enable_werror
786 enable_build_warnings
787 with_gold_ldflags
788 with_gold_ldadd
789 enable_maintainer_mode
790 '
791       ac_precious_vars='build_alias
792 host_alias
793 target_alias
794 CC
795 CFLAGS
796 LDFLAGS
797 LIBS
798 CPPFLAGS
799 CXX
800 CXXFLAGS
801 CCC
802 YACC
803 YFLAGS
804 CPP
805 CXXCPP'
806
807
808 # Initialize some variables set by options.
809 ac_init_help=
810 ac_init_version=false
811 ac_unrecognized_opts=
812 ac_unrecognized_sep=
813 # The variables have the same names as the options, with
814 # dashes changed to underlines.
815 cache_file=/dev/null
816 exec_prefix=NONE
817 no_create=
818 no_recursion=
819 prefix=NONE
820 program_prefix=NONE
821 program_suffix=NONE
822 program_transform_name=s,x,x,
823 silent=
824 site=
825 srcdir=
826 verbose=
827 x_includes=NONE
828 x_libraries=NONE
829
830 # Installation directory options.
831 # These are left unexpanded so users can "make install exec_prefix=/foo"
832 # and all the variables that are supposed to be based on exec_prefix
833 # by default will actually change.
834 # Use braces instead of parens because sh, perl, etc. also accept them.
835 # (The list follows the same order as the GNU Coding Standards.)
836 bindir='${exec_prefix}/bin'
837 sbindir='${exec_prefix}/sbin'
838 libexecdir='${exec_prefix}/libexec'
839 datarootdir='${prefix}/share'
840 datadir='${datarootdir}'
841 sysconfdir='${prefix}/etc'
842 sharedstatedir='${prefix}/com'
843 localstatedir='${prefix}/var'
844 includedir='${prefix}/include'
845 oldincludedir='/usr/include'
846 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
847 infodir='${datarootdir}/info'
848 htmldir='${docdir}'
849 dvidir='${docdir}'
850 pdfdir='${docdir}'
851 psdir='${docdir}'
852 libdir='${exec_prefix}/lib'
853 localedir='${datarootdir}/locale'
854 mandir='${datarootdir}/man'
855
856 ac_prev=
857 ac_dashdash=
858 for ac_option
859 do
860   # If the previous option needs an argument, assign it.
861   if test -n "$ac_prev"; then
862     eval $ac_prev=\$ac_option
863     ac_prev=
864     continue
865   fi
866
867   case $ac_option in
868   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
869   *)    ac_optarg=yes ;;
870   esac
871
872   # Accept the important Cygnus configure options, so we can diagnose typos.
873
874   case $ac_dashdash$ac_option in
875   --)
876     ac_dashdash=yes ;;
877
878   -bindir | --bindir | --bindi | --bind | --bin | --bi)
879     ac_prev=bindir ;;
880   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
881     bindir=$ac_optarg ;;
882
883   -build | --build | --buil | --bui | --bu)
884     ac_prev=build_alias ;;
885   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
886     build_alias=$ac_optarg ;;
887
888   -cache-file | --cache-file | --cache-fil | --cache-fi \
889   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
890     ac_prev=cache_file ;;
891   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
892   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
893     cache_file=$ac_optarg ;;
894
895   --config-cache | -C)
896     cache_file=config.cache ;;
897
898   -datadir | --datadir | --datadi | --datad)
899     ac_prev=datadir ;;
900   -datadir=* | --datadir=* | --datadi=* | --datad=*)
901     datadir=$ac_optarg ;;
902
903   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
904   | --dataroo | --dataro | --datar)
905     ac_prev=datarootdir ;;
906   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
907   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
908     datarootdir=$ac_optarg ;;
909
910   -disable-* | --disable-*)
911     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912     # Reject names that are not valid shell variable names.
913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914       as_fn_error "invalid feature name: $ac_useropt"
915     ac_useropt_orig=$ac_useropt
916     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917     case $ac_user_opts in
918       *"
919 "enable_$ac_useropt"
920 "*) ;;
921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922          ac_unrecognized_sep=', ';;
923     esac
924     eval enable_$ac_useropt=no ;;
925
926   -docdir | --docdir | --docdi | --doc | --do)
927     ac_prev=docdir ;;
928   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
929     docdir=$ac_optarg ;;
930
931   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932     ac_prev=dvidir ;;
933   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
934     dvidir=$ac_optarg ;;
935
936   -enable-* | --enable-*)
937     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938     # Reject names that are not valid shell variable names.
939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940       as_fn_error "invalid feature name: $ac_useropt"
941     ac_useropt_orig=$ac_useropt
942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943     case $ac_user_opts in
944       *"
945 "enable_$ac_useropt"
946 "*) ;;
947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948          ac_unrecognized_sep=', ';;
949     esac
950     eval enable_$ac_useropt=\$ac_optarg ;;
951
952   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
953   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
954   | --exec | --exe | --ex)
955     ac_prev=exec_prefix ;;
956   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
957   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
958   | --exec=* | --exe=* | --ex=*)
959     exec_prefix=$ac_optarg ;;
960
961   -gas | --gas | --ga | --g)
962     # Obsolete; use --with-gas.
963     with_gas=yes ;;
964
965   -help | --help | --hel | --he | -h)
966     ac_init_help=long ;;
967   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
968     ac_init_help=recursive ;;
969   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
970     ac_init_help=short ;;
971
972   -host | --host | --hos | --ho)
973     ac_prev=host_alias ;;
974   -host=* | --host=* | --hos=* | --ho=*)
975     host_alias=$ac_optarg ;;
976
977   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978     ac_prev=htmldir ;;
979   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980   | --ht=*)
981     htmldir=$ac_optarg ;;
982
983   -includedir | --includedir | --includedi | --included | --include \
984   | --includ | --inclu | --incl | --inc)
985     ac_prev=includedir ;;
986   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
987   | --includ=* | --inclu=* | --incl=* | --inc=*)
988     includedir=$ac_optarg ;;
989
990   -infodir | --infodir | --infodi | --infod | --info | --inf)
991     ac_prev=infodir ;;
992   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
993     infodir=$ac_optarg ;;
994
995   -libdir | --libdir | --libdi | --libd)
996     ac_prev=libdir ;;
997   -libdir=* | --libdir=* | --libdi=* | --libd=*)
998     libdir=$ac_optarg ;;
999
1000   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1001   | --libexe | --libex | --libe)
1002     ac_prev=libexecdir ;;
1003   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1004   | --libexe=* | --libex=* | --libe=*)
1005     libexecdir=$ac_optarg ;;
1006
1007   -localedir | --localedir | --localedi | --localed | --locale)
1008     ac_prev=localedir ;;
1009   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1010     localedir=$ac_optarg ;;
1011
1012   -localstatedir | --localstatedir | --localstatedi | --localstated \
1013   | --localstate | --localstat | --localsta | --localst | --locals)
1014     ac_prev=localstatedir ;;
1015   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1016   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1017     localstatedir=$ac_optarg ;;
1018
1019   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020     ac_prev=mandir ;;
1021   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1022     mandir=$ac_optarg ;;
1023
1024   -nfp | --nfp | --nf)
1025     # Obsolete; use --without-fp.
1026     with_fp=no ;;
1027
1028   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1029   | --no-cr | --no-c | -n)
1030     no_create=yes ;;
1031
1032   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1033   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034     no_recursion=yes ;;
1035
1036   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1037   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1038   | --oldin | --oldi | --old | --ol | --o)
1039     ac_prev=oldincludedir ;;
1040   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1041   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1042   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1043     oldincludedir=$ac_optarg ;;
1044
1045   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046     ac_prev=prefix ;;
1047   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1048     prefix=$ac_optarg ;;
1049
1050   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1051   | --program-pre | --program-pr | --program-p)
1052     ac_prev=program_prefix ;;
1053   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1054   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1055     program_prefix=$ac_optarg ;;
1056
1057   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1058   | --program-suf | --program-su | --program-s)
1059     ac_prev=program_suffix ;;
1060   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1061   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1062     program_suffix=$ac_optarg ;;
1063
1064   -program-transform-name | --program-transform-name \
1065   | --program-transform-nam | --program-transform-na \
1066   | --program-transform-n | --program-transform- \
1067   | --program-transform | --program-transfor \
1068   | --program-transfo | --program-transf \
1069   | --program-trans | --program-tran \
1070   | --progr-tra | --program-tr | --program-t)
1071     ac_prev=program_transform_name ;;
1072   -program-transform-name=* | --program-transform-name=* \
1073   | --program-transform-nam=* | --program-transform-na=* \
1074   | --program-transform-n=* | --program-transform-=* \
1075   | --program-transform=* | --program-transfor=* \
1076   | --program-transfo=* | --program-transf=* \
1077   | --program-trans=* | --program-tran=* \
1078   | --progr-tra=* | --program-tr=* | --program-t=*)
1079     program_transform_name=$ac_optarg ;;
1080
1081   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082     ac_prev=pdfdir ;;
1083   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1084     pdfdir=$ac_optarg ;;
1085
1086   -psdir | --psdir | --psdi | --psd | --ps)
1087     ac_prev=psdir ;;
1088   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089     psdir=$ac_optarg ;;
1090
1091   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092   | -silent | --silent | --silen | --sile | --sil)
1093     silent=yes ;;
1094
1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096     ac_prev=sbindir ;;
1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098   | --sbi=* | --sb=*)
1099     sbindir=$ac_optarg ;;
1100
1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103   | --sharedst | --shareds | --shared | --share | --shar \
1104   | --sha | --sh)
1105     ac_prev=sharedstatedir ;;
1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109   | --sha=* | --sh=*)
1110     sharedstatedir=$ac_optarg ;;
1111
1112   -site | --site | --sit)
1113     ac_prev=site ;;
1114   -site=* | --site=* | --sit=*)
1115     site=$ac_optarg ;;
1116
1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118     ac_prev=srcdir ;;
1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120     srcdir=$ac_optarg ;;
1121
1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123   | --syscon | --sysco | --sysc | --sys | --sy)
1124     ac_prev=sysconfdir ;;
1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127     sysconfdir=$ac_optarg ;;
1128
1129   -target | --target | --targe | --targ | --tar | --ta | --t)
1130     ac_prev=target_alias ;;
1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132     target_alias=$ac_optarg ;;
1133
1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135     verbose=yes ;;
1136
1137   -version | --version | --versio | --versi | --vers | -V)
1138     ac_init_version=: ;;
1139
1140   -with-* | --with-*)
1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142     # Reject names that are not valid shell variable names.
1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144       as_fn_error "invalid package name: $ac_useropt"
1145     ac_useropt_orig=$ac_useropt
1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147     case $ac_user_opts in
1148       *"
1149 "with_$ac_useropt"
1150 "*) ;;
1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152          ac_unrecognized_sep=', ';;
1153     esac
1154     eval with_$ac_useropt=\$ac_optarg ;;
1155
1156   -without-* | --without-*)
1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158     # Reject names that are not valid shell variable names.
1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160       as_fn_error "invalid package name: $ac_useropt"
1161     ac_useropt_orig=$ac_useropt
1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163     case $ac_user_opts in
1164       *"
1165 "with_$ac_useropt"
1166 "*) ;;
1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168          ac_unrecognized_sep=', ';;
1169     esac
1170     eval with_$ac_useropt=no ;;
1171
1172   --x)
1173     # Obsolete; use --with-x.
1174     with_x=yes ;;
1175
1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177   | --x-incl | --x-inc | --x-in | --x-i)
1178     ac_prev=x_includes ;;
1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181     x_includes=$ac_optarg ;;
1182
1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185     ac_prev=x_libraries ;;
1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188     x_libraries=$ac_optarg ;;
1189
1190   -*) as_fn_error "unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information."
1192     ;;
1193
1194   *=*)
1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196     # Reject names that are not valid shell variable names.
1197     case $ac_envvar in #(
1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
1199       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1200     esac
1201     eval $ac_envvar=\$ac_optarg
1202     export $ac_envvar ;;
1203
1204   *)
1205     # FIXME: should be removed in autoconf 3.0.
1206     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1210     ;;
1211
1212   esac
1213 done
1214
1215 if test -n "$ac_prev"; then
1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217   as_fn_error "missing argument to $ac_option"
1218 fi
1219
1220 if test -n "$ac_unrecognized_opts"; then
1221   case $enable_option_checking in
1222     no) ;;
1223     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1224     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225   esac
1226 fi
1227
1228 # Check all directory arguments for consistency.
1229 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230                 datadir sysconfdir sharedstatedir localstatedir includedir \
1231                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232                 libdir localedir mandir
1233 do
1234   eval ac_val=\$$ac_var
1235   # Remove trailing slashes.
1236   case $ac_val in
1237     */ )
1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239       eval $ac_var=\$ac_val;;
1240   esac
1241   # Be sure to have absolute directory names.
1242   case $ac_val in
1243     [\\/$]* | ?:[\\/]* )  continue;;
1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245   esac
1246   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1247 done
1248
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1252 build=$build_alias
1253 host=$host_alias
1254 target=$target_alias
1255
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x; then
1258   if test "x$build_alias" = x; then
1259     cross_compiling=maybe
1260     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1261     If a cross compiler is detected then cross compile mode will be used." >&2
1262   elif test "x$build_alias" != "x$host_alias"; then
1263     cross_compiling=yes
1264   fi
1265 fi
1266
1267 ac_tool_prefix=
1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
1270 test "$silent" = yes && exec 6>/dev/null
1271
1272
1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di=`ls -di .` &&
1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276   as_fn_error "working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278   as_fn_error "pwd does not report name of working directory"
1279
1280
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283   ac_srcdir_defaulted=yes
1284   # Try the directory containing this script, then the parent directory.
1285   ac_confdir=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287          X"$as_myself" : 'X\(//\)[^/]' \| \
1288          X"$as_myself" : 'X\(//\)$' \| \
1289          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292             s//\1/
1293             q
1294           }
1295           /^X\(\/\/\)[^/].*/{
1296             s//\1/
1297             q
1298           }
1299           /^X\(\/\/\)$/{
1300             s//\1/
1301             q
1302           }
1303           /^X\(\/\).*/{
1304             s//\1/
1305             q
1306           }
1307           s/.*/./; q'`
1308   srcdir=$ac_confdir
1309   if test ! -r "$srcdir/$ac_unique_file"; then
1310     srcdir=..
1311   fi
1312 else
1313   ac_srcdir_defaulted=no
1314 fi
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1318 fi
1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 ac_abs_confdir=`(
1321         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1322         pwd)`
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325   srcdir=.
1326 fi
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1330 case $srcdir in
1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 esac
1333 for ac_var in $ac_precious_vars; do
1334   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335   eval ac_env_${ac_var}_value=\$${ac_var}
1336   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338 done
1339
1340 #
1341 # Report the --help message.
1342 #
1343 if test "$ac_init_help" = "long"; then
1344   # Omit some internal or obsolete options to make the list less imposing.
1345   # This message is too long to be a string in the A/UX 3.1 sh.
1346   cat <<_ACEOF
1347 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1348
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1350
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE.  See below for descriptions of some of the useful variables.
1353
1354 Defaults for the options are specified in brackets.
1355
1356 Configuration:
1357   -h, --help              display this help and exit
1358       --help=short        display options specific to this package
1359       --help=recursive    display the short help of all the included packages
1360   -V, --version           display version information and exit
1361   -q, --quiet, --silent   do not print \`checking...' messages
1362       --cache-file=FILE   cache test results in FILE [disabled]
1363   -C, --config-cache      alias for \`--cache-file=config.cache'
1364   -n, --no-create         do not create output files
1365       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1366
1367 Installation directories:
1368   --prefix=PREFIX         install architecture-independent files in PREFIX
1369                           [$ac_default_prefix]
1370   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1371                           [PREFIX]
1372
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1377
1378 For better control, use the options below.
1379
1380 Fine tuning of the installation directories:
1381   --bindir=DIR            user executables [EPREFIX/bin]
1382   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1383   --libexecdir=DIR        program executables [EPREFIX/libexec]
1384   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1385   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1386   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1387   --libdir=DIR            object code libraries [EPREFIX/lib]
1388   --includedir=DIR        C header files [PREFIX/include]
1389   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1390   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1391   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1392   --infodir=DIR           info documentation [DATAROOTDIR/info]
1393   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1394   --mandir=DIR            man documentation [DATAROOTDIR/man]
1395   --docdir=DIR            documentation root [DATAROOTDIR/doc/gold]
1396   --htmldir=DIR           html documentation [DOCDIR]
1397   --dvidir=DIR            dvi documentation [DOCDIR]
1398   --pdfdir=DIR            pdf documentation [DOCDIR]
1399   --psdir=DIR             ps documentation [DOCDIR]
1400 _ACEOF
1401
1402   cat <<\_ACEOF
1403
1404 Program names:
1405   --program-prefix=PREFIX            prepend PREFIX to installed program names
1406   --program-suffix=SUFFIX            append SUFFIX to installed program names
1407   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1408
1409 System types:
1410   --build=BUILD     configure for building on BUILD [guessed]
1411   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1412   --target=TARGET   configure for building compilers for TARGET [HOST]
1413 _ACEOF
1414 fi
1415
1416 if test -n "$ac_init_help"; then
1417   case $ac_init_help in
1418      short | recursive ) echo "Configuration of gold 0.1:";;
1419    esac
1420   cat <<\_ACEOF
1421
1422 Optional Features:
1423   --disable-option-checking  ignore unrecognized --enable/--with options
1424   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1425   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1426   --enable-ld[=ARG]     build ld [ARG={default,yes,no}]
1427   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
1428   --enable-threads        multi-threaded linking
1429   --enable-plugins        linker plugins
1430   --enable-targets        alternative target configurations
1431   --disable-dependency-tracking  speeds up one-time build
1432   --enable-dependency-tracking   do not reject slow dependency extractors
1433   --disable-nls           do not use Native Language Support
1434   --enable-werror         treat compile warnings as errors
1435   --enable-build-warnings enable build-time compiler warnings
1436   --enable-maintainer-mode  enable make rules and dependencies not useful
1437                           (and sometimes confusing) to the casual installer
1438
1439 Optional Packages:
1440   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1441   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1442   --with-sysroot=DIR    search for usr/lib et al within DIR
1443   --with-lib-path=dir1:dir2...  set default LIB_PATH
1444   --with-gold-ldflags=FLAGS  additional link flags for gold
1445   --with-gold-ldadd=LIBS     additional libraries for gold
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          if test "$targ_obj" = "tilegx"; then
3484   DEFAULT_TARGET_TILEGX_TRUE=
3485   DEFAULT_TARGET_TILEGX_FALSE='#'
3486 else
3487   DEFAULT_TARGET_TILEGX_TRUE='#'
3488   DEFAULT_TARGET_TILEGX_FALSE=
3489 fi
3490
3491       fi
3492     fi
3493   fi
3494 done
3495
3496 # Remove any duplicates.
3497 to=""
3498 for t in $targetobjs; do
3499   case " $to " in
3500   *" $t "*) ;;
3501   *) to="$to $t" ;;
3502   esac
3503 done
3504 targetobjs=$to
3505
3506 if test -n "$targ_32_little"; then
3507
3508 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3509
3510 fi
3511 if test -n "$targ_32_big"; then
3512
3513 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3514
3515 fi
3516 if test -n "$targ_64_little"; then
3517
3518 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3519
3520 fi
3521 if test -n "$targ_64_big"; then
3522
3523 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3524
3525 fi
3526
3527 if test -n "$all_targets"; then
3528   TARGETOBJS='$(ALL_TARGETOBJS)'
3529 else
3530   TARGETOBJS="$targetobjs"
3531 fi
3532
3533
3534
3535 cat >>confdefs.h <<_ACEOF
3536 #define GOLD_DEFAULT_MACHINE $default_machine
3537 _ACEOF
3538
3539
3540 cat >>confdefs.h <<_ACEOF
3541 #define GOLD_DEFAULT_SIZE $default_size
3542 _ACEOF
3543
3544
3545 cat >>confdefs.h <<_ACEOF
3546 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3547 _ACEOF
3548
3549
3550 cat >>confdefs.h <<_ACEOF
3551 #define GOLD_DEFAULT_OSABI $default_osabi
3552 _ACEOF
3553
3554
3555
3556 # Check whether --with-lib-path was given.
3557 if test "${with_lib_path+set}" = set; then :
3558   withval=$with_lib_path; case "$withval" in
3559  yes) LIB_PATH='"/lib:/usr/lib"' ;;
3560  no) LIB_PATH='""' ;;
3561  *) LIB_PATH='"'"$withval"'"' ;;
3562  esac
3563 else
3564   LIB_PATH='"::DEFAULT::"'
3565 fi
3566
3567
3568 cat >>confdefs.h <<_ACEOF
3569 #define LIB_PATH $LIB_PATH
3570 _ACEOF
3571
3572 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3573
3574 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3575
3576 fi
3577
3578 if test -n "$ac_tool_prefix"; then
3579   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3580 set dummy ${ac_tool_prefix}nm; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_NM+set}" = set; then :
3584   $as_echo_n "(cached) " >&6
3585 else
3586   if test -n "$NM"; then
3587   ac_cv_prog_NM="$NM" # Let the user override the test.
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3591 do
3592   IFS=$as_save_IFS
3593   test -z "$as_dir" && as_dir=.
3594     for ac_exec_ext in '' $ac_executable_extensions; do
3595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596     ac_cv_prog_NM="${ac_tool_prefix}nm"
3597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598     break 2
3599   fi
3600 done
3601   done
3602 IFS=$as_save_IFS
3603
3604 fi
3605 fi
3606 NM=$ac_cv_prog_NM
3607 if test -n "$NM"; then
3608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3609 $as_echo "$NM" >&6; }
3610 else
3611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3613 fi
3614
3615
3616 fi
3617 if test -z "$ac_cv_prog_NM"; then
3618   ac_ct_NM=$NM
3619   # Extract the first word of "nm", so it can be a program name with args.
3620 set dummy nm; ac_word=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3624   $as_echo_n "(cached) " >&6
3625 else
3626   if test -n "$ac_ct_NM"; then
3627   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3628 else
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 for as_dir in $PATH
3631 do
3632   IFS=$as_save_IFS
3633   test -z "$as_dir" && as_dir=.
3634     for ac_exec_ext in '' $ac_executable_extensions; do
3635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3636     ac_cv_prog_ac_ct_NM="nm"
3637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638     break 2
3639   fi
3640 done
3641   done
3642 IFS=$as_save_IFS
3643
3644 fi
3645 fi
3646 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3647 if test -n "$ac_ct_NM"; then
3648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3649 $as_echo "$ac_ct_NM" >&6; }
3650 else
3651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3653 fi
3654
3655   if test "x$ac_ct_NM" = x; then
3656     NM=""
3657   else
3658     case $cross_compiling:$ac_tool_warned in
3659 yes:)
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3662 ac_tool_warned=yes ;;
3663 esac
3664     NM=$ac_ct_NM
3665   fi
3666 else
3667   NM="$ac_cv_prog_NM"
3668 fi
3669
3670
3671 ac_ext=c
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676 if test -n "$ac_tool_prefix"; then
3677   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3678 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then :
3682   $as_echo_n "(cached) " >&6
3683 else
3684   if test -n "$CC"; then
3685   ac_cv_prog_CC="$CC" # Let the user override the test.
3686 else
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3689 do
3690   IFS=$as_save_IFS
3691   test -z "$as_dir" && as_dir=.
3692     for ac_exec_ext in '' $ac_executable_extensions; do
3693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696     break 2
3697   fi
3698 done
3699   done
3700 IFS=$as_save_IFS
3701
3702 fi
3703 fi
3704 CC=$ac_cv_prog_CC
3705 if test -n "$CC"; then
3706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3707 $as_echo "$CC" >&6; }
3708 else
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3711 fi
3712
3713
3714 fi
3715 if test -z "$ac_cv_prog_CC"; then
3716   ac_ct_CC=$CC
3717   # Extract the first word of "gcc", so it can be a program name with args.
3718 set dummy gcc; ac_word=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3722   $as_echo_n "(cached) " >&6
3723 else
3724   if test -n "$ac_ct_CC"; then
3725   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3726 else
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728 for as_dir in $PATH
3729 do
3730   IFS=$as_save_IFS
3731   test -z "$as_dir" && as_dir=.
3732     for ac_exec_ext in '' $ac_executable_extensions; do
3733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734     ac_cv_prog_ac_ct_CC="gcc"
3735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736     break 2
3737   fi
3738 done
3739   done
3740 IFS=$as_save_IFS
3741
3742 fi
3743 fi
3744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3745 if test -n "$ac_ct_CC"; then
3746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3747 $as_echo "$ac_ct_CC" >&6; }
3748 else
3749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3751 fi
3752
3753   if test "x$ac_ct_CC" = x; then
3754     CC=""
3755   else
3756     case $cross_compiling:$ac_tool_warned in
3757 yes:)
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3760 ac_tool_warned=yes ;;
3761 esac
3762     CC=$ac_ct_CC
3763   fi
3764 else
3765   CC="$ac_cv_prog_CC"
3766 fi
3767
3768 if test -z "$CC"; then
3769           if test -n "$ac_tool_prefix"; then
3770     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3771 set dummy ${ac_tool_prefix}cc; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if test "${ac_cv_prog_CC+set}" = set; then :
3775   $as_echo_n "(cached) " >&6
3776 else
3777   if test -n "$CC"; then
3778   ac_cv_prog_CC="$CC" # Let the user override the test.
3779 else
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3782 do
3783   IFS=$as_save_IFS
3784   test -z "$as_dir" && as_dir=.
3785     for ac_exec_ext in '' $ac_executable_extensions; do
3786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3787     ac_cv_prog_CC="${ac_tool_prefix}cc"
3788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789     break 2
3790   fi
3791 done
3792   done
3793 IFS=$as_save_IFS
3794
3795 fi
3796 fi
3797 CC=$ac_cv_prog_CC
3798 if test -n "$CC"; then
3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3801 else
3802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3804 fi
3805
3806
3807   fi
3808 fi
3809 if test -z "$CC"; then
3810   # Extract the first word of "cc", so it can be a program name with args.
3811 set dummy cc; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if test "${ac_cv_prog_CC+set}" = set; then :
3815   $as_echo_n "(cached) " >&6
3816 else
3817   if test -n "$CC"; then
3818   ac_cv_prog_CC="$CC" # Let the user override the test.
3819 else
3820   ac_prog_rejected=no
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3823 do
3824   IFS=$as_save_IFS
3825   test -z "$as_dir" && as_dir=.
3826     for ac_exec_ext in '' $ac_executable_extensions; do
3827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3828     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3829        ac_prog_rejected=yes
3830        continue
3831      fi
3832     ac_cv_prog_CC="cc"
3833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834     break 2
3835   fi
3836 done
3837   done
3838 IFS=$as_save_IFS
3839
3840 if test $ac_prog_rejected = yes; then
3841   # We found a bogon in the path, so make sure we never use it.
3842   set dummy $ac_cv_prog_CC
3843   shift
3844   if test $# != 0; then
3845     # We chose a different compiler from the bogus one.
3846     # However, it has the same basename, so the bogon will be chosen
3847     # first if we set CC to just the basename; use the full file name.
3848     shift
3849     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3850   fi
3851 fi
3852 fi
3853 fi
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3861 fi
3862
3863
3864 fi
3865 if test -z "$CC"; then
3866   if test -n "$ac_tool_prefix"; then
3867   for ac_prog in cl.exe
3868   do
3869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_CC+set}" = set; then :
3874   $as_echo_n "(cached) " >&6
3875 else
3876   if test -n "$CC"; then
3877   ac_cv_prog_CC="$CC" # Let the user override the test.
3878 else
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH
3881 do
3882   IFS=$as_save_IFS
3883   test -z "$as_dir" && as_dir=.
3884     for ac_exec_ext in '' $ac_executable_extensions; do
3885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888     break 2
3889   fi
3890 done
3891   done
3892 IFS=$as_save_IFS
3893
3894 fi
3895 fi
3896 CC=$ac_cv_prog_CC
3897 if test -n "$CC"; then
3898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3899 $as_echo "$CC" >&6; }
3900 else
3901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3903 fi
3904
3905
3906     test -n "$CC" && break
3907   done
3908 fi
3909 if test -z "$CC"; then
3910   ac_ct_CC=$CC
3911   for ac_prog in cl.exe
3912 do
3913   # Extract the first word of "$ac_prog", so it can be a program name with args.
3914 set dummy $ac_prog; ac_word=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3918   $as_echo_n "(cached) " >&6
3919 else
3920   if test -n "$ac_ct_CC"; then
3921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3922 else
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH
3925 do
3926   IFS=$as_save_IFS
3927   test -z "$as_dir" && as_dir=.
3928     for ac_exec_ext in '' $ac_executable_extensions; do
3929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930     ac_cv_prog_ac_ct_CC="$ac_prog"
3931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932     break 2
3933   fi
3934 done
3935   done
3936 IFS=$as_save_IFS
3937
3938 fi
3939 fi
3940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3941 if test -n "$ac_ct_CC"; then
3942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3943 $as_echo "$ac_ct_CC" >&6; }
3944 else
3945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3947 fi
3948
3949
3950   test -n "$ac_ct_CC" && break
3951 done
3952
3953   if test "x$ac_ct_CC" = x; then
3954     CC=""
3955   else
3956     case $cross_compiling:$ac_tool_warned in
3957 yes:)
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3960 ac_tool_warned=yes ;;
3961 esac
3962     CC=$ac_ct_CC
3963   fi
3964 fi
3965
3966 fi
3967
3968
3969 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 as_fn_error "no acceptable C compiler found in \$PATH
3972 See \`config.log' for more details." "$LINENO" 5; }
3973
3974 # Provide some information about the compiler.
3975 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3976 set X $ac_compile
3977 ac_compiler=$2
3978 for ac_option in --version -v -V -qversion; do
3979   { { ac_try="$ac_compiler $ac_option >&5"
3980 case "(($ac_try" in
3981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982   *) ac_try_echo=$ac_try;;
3983 esac
3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3987   ac_status=$?
3988   if test -s conftest.err; then
3989     sed '10a\
3990 ... rest of stderr output deleted ...
3991          10q' conftest.err >conftest.er1
3992     cat conftest.er1 >&5
3993     rm -f conftest.er1 conftest.err
3994   fi
3995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996   test $ac_status = 0; }
3997 done
3998
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h.  */
4001
4002 int
4003 main ()
4004 {
4005
4006   ;
4007   return 0;
4008 }
4009 _ACEOF
4010 ac_clean_files_save=$ac_clean_files
4011 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4012 # Try to create an executable without -o first, disregard a.out.
4013 # It will help us diagnose broken compilers, and finding out an intuition
4014 # of exeext.
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4016 $as_echo_n "checking for C compiler default output file name... " >&6; }
4017 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4018
4019 # The possible output files:
4020 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4021
4022 ac_rmfiles=
4023 for ac_file in $ac_files
4024 do
4025   case $ac_file in
4026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4027     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4028   esac
4029 done
4030 rm -f $ac_rmfiles
4031
4032 if { { ac_try="$ac_link_default"
4033 case "(($ac_try" in
4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035   *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039   (eval "$ac_link_default") 2>&5
4040   ac_status=$?
4041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042   test $ac_status = 0; }; then :
4043   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4044 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4045 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4046 # so that the user can short-circuit this test for compilers unknown to
4047 # Autoconf.
4048 for ac_file in $ac_files ''
4049 do
4050   test -f "$ac_file" || continue
4051   case $ac_file in
4052     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4053         ;;
4054     [ab].out )
4055         # We found the default executable, but exeext='' is most
4056         # certainly right.
4057         break;;
4058     *.* )
4059         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4060         then :; else
4061            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4062         fi
4063         # We set ac_cv_exeext here because the later test for it is not
4064         # safe: cross compilers may not add the suffix if given an `-o'
4065         # argument, so we may need to know it at that point already.
4066         # Even if this section looks crufty: it has the advantage of
4067         # actually working.
4068         break;;
4069     * )
4070         break;;
4071   esac
4072 done
4073 test "$ac_cv_exeext" = no && ac_cv_exeext=
4074
4075 else
4076   ac_file=''
4077 fi
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4079 $as_echo "$ac_file" >&6; }
4080 if test -z "$ac_file"; then :
4081   $as_echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.$ac_ext >&5
4083
4084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 { as_fn_set_status 77
4087 as_fn_error "C compiler cannot create executables
4088 See \`config.log' for more details." "$LINENO" 5; }; }
4089 fi
4090 ac_exeext=$ac_cv_exeext
4091
4092 # Check that the compiler produces executables we can run.  If not, either
4093 # the compiler is broken, or we cross compile.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4095 $as_echo_n "checking whether the C compiler works... " >&6; }
4096 # If not cross compiling, check that we can run a simple program.
4097 if test "$cross_compiling" != yes; then
4098   if { ac_try='./$ac_file'
4099   { { case "(($ac_try" in
4100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101   *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105   (eval "$ac_try") 2>&5
4106   ac_status=$?
4107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108   test $ac_status = 0; }; }; then
4109     cross_compiling=no
4110   else
4111     if test "$cross_compiling" = maybe; then
4112         cross_compiling=yes
4113     else
4114         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116 as_fn_error "cannot run C compiled programs.
4117 If you meant to cross compile, use \`--host'.
4118 See \`config.log' for more details." "$LINENO" 5; }
4119     fi
4120   fi
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123 $as_echo "yes" >&6; }
4124
4125 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4126 ac_clean_files=$ac_clean_files_save
4127 # Check that the compiler produces executables we can run.  If not, either
4128 # the compiler is broken, or we cross compile.
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4130 $as_echo_n "checking whether we are cross compiling... " >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4132 $as_echo "$cross_compiling" >&6; }
4133
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4135 $as_echo_n "checking for suffix of executables... " >&6; }
4136 if { { ac_try="$ac_link"
4137 case "(($ac_try" in
4138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139   *) ac_try_echo=$ac_try;;
4140 esac
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143   (eval "$ac_link") 2>&5
4144   ac_status=$?
4145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4146   test $ac_status = 0; }; then :
4147   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4148 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4149 # work properly (i.e., refer to `conftest.exe'), while it won't with
4150 # `rm'.
4151 for ac_file in conftest.exe conftest conftest.*; do
4152   test -f "$ac_file" || continue
4153   case $ac_file in
4154     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4155     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4156           break;;
4157     * ) break;;
4158   esac
4159 done
4160 else
4161   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error "cannot compute suffix of executables: cannot compile and link
4164 See \`config.log' for more details." "$LINENO" 5; }
4165 fi
4166 rm -f conftest$ac_cv_exeext
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4168 $as_echo "$ac_cv_exeext" >&6; }
4169
4170 rm -f conftest.$ac_ext
4171 EXEEXT=$ac_cv_exeext
4172 ac_exeext=$EXEEXT
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4174 $as_echo_n "checking for suffix of object files... " >&6; }
4175 if test "${ac_cv_objext+set}" = set; then :
4176   $as_echo_n "(cached) " >&6
4177 else
4178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h.  */
4180
4181 int
4182 main ()
4183 {
4184
4185   ;
4186   return 0;
4187 }
4188 _ACEOF
4189 rm -f conftest.o conftest.obj
4190 if { { ac_try="$ac_compile"
4191 case "(($ac_try" in
4192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193   *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197   (eval "$ac_compile") 2>&5
4198   ac_status=$?
4199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200   test $ac_status = 0; }; then :
4201   for ac_file in conftest.o conftest.obj conftest.*; do
4202   test -f "$ac_file" || continue;
4203   case $ac_file in
4204     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4205     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4206        break;;
4207   esac
4208 done
4209 else
4210   $as_echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4212
4213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4215 as_fn_error "cannot compute suffix of object files: cannot compile
4216 See \`config.log' for more details." "$LINENO" 5; }
4217 fi
4218 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4219 fi
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4221 $as_echo "$ac_cv_objext" >&6; }
4222 OBJEXT=$ac_cv_objext
4223 ac_objext=$OBJEXT
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4225 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4226 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4227   $as_echo_n "(cached) " >&6
4228 else
4229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h.  */
4231
4232 int
4233 main ()
4234 {
4235 #ifndef __GNUC__
4236        choke me
4237 #endif
4238
4239   ;
4240   return 0;
4241 }
4242 _ACEOF
4243 if ac_fn_c_try_compile "$LINENO"; then :
4244   ac_compiler_gnu=yes
4245 else
4246   ac_compiler_gnu=no
4247 fi
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4250
4251 fi
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4253 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4254 if test $ac_compiler_gnu = yes; then
4255   GCC=yes
4256 else
4257   GCC=
4258 fi
4259 ac_test_CFLAGS=${CFLAGS+set}
4260 ac_save_CFLAGS=$CFLAGS
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4262 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4263 if test "${ac_cv_prog_cc_g+set}" = set; then :
4264   $as_echo_n "(cached) " >&6
4265 else
4266   ac_save_c_werror_flag=$ac_c_werror_flag
4267    ac_c_werror_flag=yes
4268    ac_cv_prog_cc_g=no
4269    CFLAGS="-g"
4270    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h.  */
4272
4273 int
4274 main ()
4275 {
4276
4277   ;
4278   return 0;
4279 }
4280 _ACEOF
4281 if ac_fn_c_try_compile "$LINENO"; then :
4282   ac_cv_prog_cc_g=yes
4283 else
4284   CFLAGS=""
4285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h.  */
4287
4288 int
4289 main ()
4290 {
4291
4292   ;
4293   return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297
4298 else
4299   ac_c_werror_flag=$ac_save_c_werror_flag
4300          CFLAGS="-g"
4301          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h.  */
4303
4304 int
4305 main ()
4306 {
4307
4308   ;
4309   return 0;
4310 }
4311 _ACEOF
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313   ac_cv_prog_cc_g=yes
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 fi
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 fi
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320    ac_c_werror_flag=$ac_save_c_werror_flag
4321 fi
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4323 $as_echo "$ac_cv_prog_cc_g" >&6; }
4324 if test "$ac_test_CFLAGS" = set; then
4325   CFLAGS=$ac_save_CFLAGS
4326 elif test $ac_cv_prog_cc_g = yes; then
4327   if test "$GCC" = yes; then
4328     CFLAGS="-g -O2"
4329   else
4330     CFLAGS="-g"
4331   fi
4332 else
4333   if test "$GCC" = yes; then
4334     CFLAGS="-O2"
4335   else
4336     CFLAGS=
4337   fi
4338 fi
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4340 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4341 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4342   $as_echo_n "(cached) " >&6
4343 else
4344   ac_cv_prog_cc_c89=no
4345 ac_save_CC=$CC
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h.  */
4348 #include <stdarg.h>
4349 #include <stdio.h>
4350 #include <sys/types.h>
4351 #include <sys/stat.h>
4352 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4353 struct buf { int x; };
4354 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4355 static char *e (p, i)
4356      char **p;
4357      int i;
4358 {
4359   return p[i];
4360 }
4361 static char *f (char * (*g) (char **, int), char **p, ...)
4362 {
4363   char *s;
4364   va_list v;
4365   va_start (v,p);
4366   s = g (p, va_arg (v,int));
4367   va_end (v);
4368   return s;
4369 }
4370
4371 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4372    function prototypes and stuff, but not '\xHH' hex character constants.
4373    These don't provoke an error unfortunately, instead are silently treated
4374    as 'x'.  The following induces an error, until -std is added to get
4375    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4376    array size at least.  It's necessary to write '\x00'==0 to get something
4377    that's true only with -std.  */
4378 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4379
4380 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4381    inside strings and character constants.  */
4382 #define FOO(x) 'x'
4383 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4384
4385 int test (int i, double x);
4386 struct s1 {int (*f) (int a);};
4387 struct s2 {int (*f) (double a);};
4388 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4389 int argc;
4390 char **argv;
4391 int
4392 main ()
4393 {
4394 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4395   ;
4396   return 0;
4397 }
4398 _ACEOF
4399 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4400         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4401 do
4402   CC="$ac_save_CC $ac_arg"
4403   if ac_fn_c_try_compile "$LINENO"; then :
4404   ac_cv_prog_cc_c89=$ac_arg
4405 fi
4406 rm -f core conftest.err conftest.$ac_objext
4407   test "x$ac_cv_prog_cc_c89" != "xno" && break
4408 done
4409 rm -f conftest.$ac_ext
4410 CC=$ac_save_CC
4411
4412 fi
4413 # AC_CACHE_VAL
4414 case "x$ac_cv_prog_cc_c89" in
4415   x)
4416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4417 $as_echo "none needed" >&6; } ;;
4418   xno)
4419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4420 $as_echo "unsupported" >&6; } ;;
4421   *)
4422     CC="$CC $ac_cv_prog_cc_c89"
4423     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4424 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4425 esac
4426 if test "x$ac_cv_prog_cc_c89" != xno; then :
4427
4428 fi
4429
4430 ac_ext=c
4431 ac_cpp='$CPP $CPPFLAGS'
4432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4435 DEPDIR="${am__leading_dot}deps"
4436
4437 ac_config_commands="$ac_config_commands depfiles"
4438
4439
4440 am_make=${MAKE-make}
4441 cat > confinc << 'END'
4442 am__doit:
4443         @echo this is the am__doit target
4444 .PHONY: am__doit
4445 END
4446 # If we don't find an include directive, just comment out the code.
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4448 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4449 am__include="#"
4450 am__quote=
4451 _am_result=none
4452 # First try GNU make style include.
4453 echo "include confinc" > confmf
4454 # Ignore all kinds of additional output from `make'.
4455 case `$am_make -s -f confmf 2> /dev/null` in #(
4456 *the\ am__doit\ target*)
4457   am__include=include
4458   am__quote=
4459   _am_result=GNU
4460   ;;
4461 esac
4462 # Now try BSD make style include.
4463 if test "$am__include" = "#"; then
4464    echo '.include "confinc"' > confmf
4465    case `$am_make -s -f confmf 2> /dev/null` in #(
4466    *the\ am__doit\ target*)
4467      am__include=.include
4468      am__quote="\""
4469      _am_result=BSD
4470      ;;
4471    esac
4472 fi
4473
4474
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4476 $as_echo "$_am_result" >&6; }
4477 rm -f confinc confmf
4478
4479 # Check whether --enable-dependency-tracking was given.
4480 if test "${enable_dependency_tracking+set}" = set; then :
4481   enableval=$enable_dependency_tracking;
4482 fi
4483
4484 if test "x$enable_dependency_tracking" != xno; then
4485   am_depcomp="$ac_aux_dir/depcomp"
4486   AMDEPBACKSLASH='\'
4487 fi
4488  if test "x$enable_dependency_tracking" != xno; then
4489   AMDEP_TRUE=
4490   AMDEP_FALSE='#'
4491 else
4492   AMDEP_TRUE='#'
4493   AMDEP_FALSE=
4494 fi
4495
4496
4497
4498 depcc="$CC"   am_compiler_list=
4499
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4501 $as_echo_n "checking dependency style of $depcc... " >&6; }
4502 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4503   $as_echo_n "(cached) " >&6
4504 else
4505   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4506   # We make a subdir and do the tests there.  Otherwise we can end up
4507   # making bogus files that we don't know about and never remove.  For
4508   # instance it was reported that on HP-UX the gcc test will end up
4509   # making a dummy file named `D' -- because `-MD' means `put the output
4510   # in D'.
4511   mkdir conftest.dir
4512   # Copy depcomp to subdir because otherwise we won't find it if we're
4513   # using a relative directory.
4514   cp "$am_depcomp" conftest.dir
4515   cd conftest.dir
4516   # We will build objects and dependencies in a subdirectory because
4517   # it helps to detect inapplicable dependency modes.  For instance
4518   # both Tru64's cc and ICC support -MD to output dependencies as a
4519   # side effect of compilation, but ICC will put the dependencies in
4520   # the current directory while Tru64 will put them in the object
4521   # directory.
4522   mkdir sub
4523
4524   am_cv_CC_dependencies_compiler_type=none
4525   if test "$am_compiler_list" = ""; then
4526      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4527   fi
4528   am__universal=false
4529   case " $depcc " in #(
4530      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4531      esac
4532
4533   for depmode in $am_compiler_list; do
4534     # Setup a source with many dependencies, because some compilers
4535     # like to wrap large dependency lists on column 80 (with \), and
4536     # we should not choose a depcomp mode which is confused by this.
4537     #
4538     # We need to recreate these files for each test, as the compiler may
4539     # overwrite some of them when testing with obscure command lines.
4540     # This happens at least with the AIX C compiler.
4541     : > sub/conftest.c
4542     for i in 1 2 3 4 5 6; do
4543       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4544       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4545       # Solaris 8's {/usr,}/bin/sh.
4546       touch sub/conftst$i.h
4547     done
4548     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4549
4550     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4551     # mode.  It turns out that the SunPro C++ compiler does not properly
4552     # handle `-M -o', and we need to detect this.  Also, some Intel
4553     # versions had trouble with output in subdirs
4554     am__obj=sub/conftest.${OBJEXT-o}
4555     am__minus_obj="-o $am__obj"
4556     case $depmode in
4557     gcc)
4558       # This depmode causes a compiler race in universal mode.
4559       test "$am__universal" = false || continue
4560       ;;
4561     nosideeffect)
4562       # after this tag, mechanisms are not by side-effect, so they'll
4563       # only be used when explicitly requested
4564       if test "x$enable_dependency_tracking" = xyes; then
4565         continue
4566       else
4567         break
4568       fi
4569       ;;
4570     msvisualcpp | msvcmsys)
4571       # This compiler won't grok `-c -o', but also, the minuso test has
4572       # not run yet.  These depmodes are late enough in the game, and
4573       # so weak that their functioning should not be impacted.
4574       am__obj=conftest.${OBJEXT-o}
4575       am__minus_obj=
4576       ;;
4577     none) break ;;
4578     esac
4579     if depmode=$depmode \
4580        source=sub/conftest.c object=$am__obj \
4581        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4582        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4583          >/dev/null 2>conftest.err &&
4584        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4585        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4586        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4587        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4588       # icc doesn't choke on unknown options, it will just issue warnings
4589       # or remarks (even with -Werror).  So we grep stderr for any message
4590       # that says an option was ignored or not supported.
4591       # When given -MP, icc 7.0 and 7.1 complain thusly:
4592       #   icc: Command line warning: ignoring option '-M'; no argument required
4593       # The diagnosis changed in icc 8.0:
4594       #   icc: Command line remark: option '-MP' not supported
4595       if (grep 'ignoring option' conftest.err ||
4596           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4597         am_cv_CC_dependencies_compiler_type=$depmode
4598         break
4599       fi
4600     fi
4601   done
4602
4603   cd ..
4604   rm -rf conftest.dir
4605 else
4606   am_cv_CC_dependencies_compiler_type=none
4607 fi
4608
4609 fi
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4611 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4612 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4613
4614  if
4615   test "x$enable_dependency_tracking" != xno \
4616   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4617   am__fastdepCC_TRUE=
4618   am__fastdepCC_FALSE='#'
4619 else
4620   am__fastdepCC_TRUE='#'
4621   am__fastdepCC_FALSE=
4622 fi
4623
4624
4625 ac_ext=cpp
4626 ac_cpp='$CXXCPP $CPPFLAGS'
4627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4630 if test -z "$CXX"; then
4631   if test -n "$CCC"; then
4632     CXX=$CCC
4633   else
4634     if test -n "$ac_tool_prefix"; then
4635   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4636   do
4637     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if test "${ac_cv_prog_CXX+set}" = set; then :
4642   $as_echo_n "(cached) " >&6
4643 else
4644   if test -n "$CXX"; then
4645   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4646 else
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH
4649 do
4650   IFS=$as_save_IFS
4651   test -z "$as_dir" && as_dir=.
4652     for ac_exec_ext in '' $ac_executable_extensions; do
4653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4654     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656     break 2
4657   fi
4658 done
4659   done
4660 IFS=$as_save_IFS
4661
4662 fi
4663 fi
4664 CXX=$ac_cv_prog_CXX
4665 if test -n "$CXX"; then
4666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4667 $as_echo "$CXX" >&6; }
4668 else
4669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4671 fi
4672
4673
4674     test -n "$CXX" && break
4675   done
4676 fi
4677 if test -z "$CXX"; then
4678   ac_ct_CXX=$CXX
4679   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4680 do
4681   # Extract the first word of "$ac_prog", so it can be a program name with args.
4682 set dummy $ac_prog; ac_word=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4686   $as_echo_n "(cached) " >&6
4687 else
4688   if test -n "$ac_ct_CXX"; then
4689   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4690 else
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH
4693 do
4694   IFS=$as_save_IFS
4695   test -z "$as_dir" && as_dir=.
4696     for ac_exec_ext in '' $ac_executable_extensions; do
4697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4698     ac_cv_prog_ac_ct_CXX="$ac_prog"
4699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700     break 2
4701   fi
4702 done
4703   done
4704 IFS=$as_save_IFS
4705
4706 fi
4707 fi
4708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4709 if test -n "$ac_ct_CXX"; then
4710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4711 $as_echo "$ac_ct_CXX" >&6; }
4712 else
4713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4715 fi
4716
4717
4718   test -n "$ac_ct_CXX" && break
4719 done
4720
4721   if test "x$ac_ct_CXX" = x; then
4722     CXX="g++"
4723   else
4724     case $cross_compiling:$ac_tool_warned in
4725 yes:)
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned=yes ;;
4729 esac
4730     CXX=$ac_ct_CXX
4731   fi
4732 fi
4733
4734   fi
4735 fi
4736 # Provide some information about the compiler.
4737 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4738 set X $ac_compile
4739 ac_compiler=$2
4740 for ac_option in --version -v -V -qversion; do
4741   { { ac_try="$ac_compiler $ac_option >&5"
4742 case "(($ac_try" in
4743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744   *) ac_try_echo=$ac_try;;
4745 esac
4746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4747 $as_echo "$ac_try_echo"; } >&5
4748   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4749   ac_status=$?
4750   if test -s conftest.err; then
4751     sed '10a\
4752 ... rest of stderr output deleted ...
4753          10q' conftest.err >conftest.er1
4754     cat conftest.er1 >&5
4755     rm -f conftest.er1 conftest.err
4756   fi
4757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4758   test $ac_status = 0; }
4759 done
4760
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4762 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4763 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4764   $as_echo_n "(cached) " >&6
4765 else
4766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h.  */
4768
4769 int
4770 main ()
4771 {
4772 #ifndef __GNUC__
4773        choke me
4774 #endif
4775
4776   ;
4777   return 0;
4778 }
4779 _ACEOF
4780 if ac_fn_cxx_try_compile "$LINENO"; then :
4781   ac_compiler_gnu=yes
4782 else
4783   ac_compiler_gnu=no
4784 fi
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4787
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4790 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4791 if test $ac_compiler_gnu = yes; then
4792   GXX=yes
4793 else
4794   GXX=
4795 fi
4796 ac_test_CXXFLAGS=${CXXFLAGS+set}
4797 ac_save_CXXFLAGS=$CXXFLAGS
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4799 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4800 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4804    ac_cxx_werror_flag=yes
4805    ac_cv_prog_cxx_g=no
4806    CXXFLAGS="-g"
4807    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h.  */
4809
4810 int
4811 main ()
4812 {
4813
4814   ;
4815   return 0;
4816 }
4817 _ACEOF
4818 if ac_fn_cxx_try_compile "$LINENO"; then :
4819   ac_cv_prog_cxx_g=yes
4820 else
4821   CXXFLAGS=""
4822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h.  */
4824
4825 int
4826 main ()
4827 {
4828
4829   ;
4830   return 0;
4831 }
4832 _ACEOF
4833 if ac_fn_cxx_try_compile "$LINENO"; then :
4834
4835 else
4836   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4837          CXXFLAGS="-g"
4838          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h.  */
4840
4841 int
4842 main ()
4843 {
4844
4845   ;
4846   return 0;
4847 }
4848 _ACEOF
4849 if ac_fn_cxx_try_compile "$LINENO"; then :
4850   ac_cv_prog_cxx_g=yes
4851 fi
4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853 fi
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 fi
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4858 fi
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4860 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4861 if test "$ac_test_CXXFLAGS" = set; then
4862   CXXFLAGS=$ac_save_CXXFLAGS
4863 elif test $ac_cv_prog_cxx_g = yes; then
4864   if test "$GXX" = yes; then
4865     CXXFLAGS="-g -O2"
4866   else
4867     CXXFLAGS="-g"
4868   fi
4869 else
4870   if test "$GXX" = yes; then
4871     CXXFLAGS="-O2"
4872   else
4873     CXXFLAGS=
4874   fi
4875 fi
4876 ac_ext=c
4877 ac_cpp='$CPP $CPPFLAGS'
4878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4881
4882 depcc="$CXX"  am_compiler_list=
4883
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4885 $as_echo_n "checking dependency style of $depcc... " >&6; }
4886 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4887   $as_echo_n "(cached) " >&6
4888 else
4889   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4890   # We make a subdir and do the tests there.  Otherwise we can end up
4891   # making bogus files that we don't know about and never remove.  For
4892   # instance it was reported that on HP-UX the gcc test will end up
4893   # making a dummy file named `D' -- because `-MD' means `put the output
4894   # in D'.
4895   mkdir conftest.dir
4896   # Copy depcomp to subdir because otherwise we won't find it if we're
4897   # using a relative directory.
4898   cp "$am_depcomp" conftest.dir
4899   cd conftest.dir
4900   # We will build objects and dependencies in a subdirectory because
4901   # it helps to detect inapplicable dependency modes.  For instance
4902   # both Tru64's cc and ICC support -MD to output dependencies as a
4903   # side effect of compilation, but ICC will put the dependencies in
4904   # the current directory while Tru64 will put them in the object
4905   # directory.
4906   mkdir sub
4907
4908   am_cv_CXX_dependencies_compiler_type=none
4909   if test "$am_compiler_list" = ""; then
4910      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4911   fi
4912   am__universal=false
4913   case " $depcc " in #(
4914      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4915      esac
4916
4917   for depmode in $am_compiler_list; do
4918     # Setup a source with many dependencies, because some compilers
4919     # like to wrap large dependency lists on column 80 (with \), and
4920     # we should not choose a depcomp mode which is confused by this.
4921     #
4922     # We need to recreate these files for each test, as the compiler may
4923     # overwrite some of them when testing with obscure command lines.
4924     # This happens at least with the AIX C compiler.
4925     : > sub/conftest.c
4926     for i in 1 2 3 4 5 6; do
4927       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4928       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4929       # Solaris 8's {/usr,}/bin/sh.
4930       touch sub/conftst$i.h
4931     done
4932     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4933
4934     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4935     # mode.  It turns out that the SunPro C++ compiler does not properly
4936     # handle `-M -o', and we need to detect this.  Also, some Intel
4937     # versions had trouble with output in subdirs
4938     am__obj=sub/conftest.${OBJEXT-o}
4939     am__minus_obj="-o $am__obj"
4940     case $depmode in
4941     gcc)
4942       # This depmode causes a compiler race in universal mode.
4943       test "$am__universal" = false || continue
4944       ;;
4945     nosideeffect)
4946       # after this tag, mechanisms are not by side-effect, so they'll
4947       # only be used when explicitly requested
4948       if test "x$enable_dependency_tracking" = xyes; then
4949         continue
4950       else
4951         break
4952       fi
4953       ;;
4954     msvisualcpp | msvcmsys)
4955       # This compiler won't grok `-c -o', but also, the minuso test has
4956       # not run yet.  These depmodes are late enough in the game, and
4957       # so weak that their functioning should not be impacted.
4958       am__obj=conftest.${OBJEXT-o}
4959       am__minus_obj=
4960       ;;
4961     none) break ;;
4962     esac
4963     if depmode=$depmode \
4964        source=sub/conftest.c object=$am__obj \
4965        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4966        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4967          >/dev/null 2>conftest.err &&
4968        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4969        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4970        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4971        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4972       # icc doesn't choke on unknown options, it will just issue warnings
4973       # or remarks (even with -Werror).  So we grep stderr for any message
4974       # that says an option was ignored or not supported.
4975       # When given -MP, icc 7.0 and 7.1 complain thusly:
4976       #   icc: Command line warning: ignoring option '-M'; no argument required
4977       # The diagnosis changed in icc 8.0:
4978       #   icc: Command line remark: option '-MP' not supported
4979       if (grep 'ignoring option' conftest.err ||
4980           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4981         am_cv_CXX_dependencies_compiler_type=$depmode
4982         break
4983       fi
4984     fi
4985   done
4986
4987   cd ..
4988   rm -rf conftest.dir
4989 else
4990   am_cv_CXX_dependencies_compiler_type=none
4991 fi
4992
4993 fi
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4995 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4996 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4997
4998  if
4999   test "x$enable_dependency_tracking" != xno \
5000   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5001   am__fastdepCXX_TRUE=
5002   am__fastdepCXX_FALSE='#'
5003 else
5004   am__fastdepCXX_TRUE='#'
5005   am__fastdepCXX_FALSE=
5006 fi
5007
5008
5009 for ac_prog in 'bison -y' byacc
5010 do
5011   # Extract the first word of "$ac_prog", so it can be a program name with args.
5012 set dummy $ac_prog; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_YACC+set}" = set; then :
5016   $as_echo_n "(cached) " >&6
5017 else
5018   if test -n "$YACC"; then
5019   ac_cv_prog_YACC="$YACC" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024   IFS=$as_save_IFS
5025   test -z "$as_dir" && as_dir=.
5026     for ac_exec_ext in '' $ac_executable_extensions; do
5027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028     ac_cv_prog_YACC="$ac_prog"
5029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030     break 2
5031   fi
5032 done
5033   done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 YACC=$ac_cv_prog_YACC
5039 if test -n "$YACC"; then
5040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5041 $as_echo "$YACC" >&6; }
5042 else
5043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047
5048   test -n "$YACC" && break
5049 done
5050 test -n "$YACC" || YACC="yacc"
5051
5052 if test -n "$ac_tool_prefix"; then
5053   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5054 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5058   $as_echo_n "(cached) " >&6
5059 else
5060   if test -n "$RANLIB"; then
5061   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066   IFS=$as_save_IFS
5067   test -z "$as_dir" && as_dir=.
5068     for ac_exec_ext in '' $ac_executable_extensions; do
5069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072     break 2
5073   fi
5074 done
5075   done
5076 IFS=$as_save_IFS
5077
5078 fi
5079 fi
5080 RANLIB=$ac_cv_prog_RANLIB
5081 if test -n "$RANLIB"; then
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5083 $as_echo "$RANLIB" >&6; }
5084 else
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 fi
5088
5089
5090 fi
5091 if test -z "$ac_cv_prog_RANLIB"; then
5092   ac_ct_RANLIB=$RANLIB
5093   # Extract the first word of "ranlib", so it can be a program name with args.
5094 set dummy ranlib; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5098   $as_echo_n "(cached) " >&6
5099 else
5100   if test -n "$ac_ct_RANLIB"; then
5101   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5102 else
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 for as_dir in $PATH
5105 do
5106   IFS=$as_save_IFS
5107   test -z "$as_dir" && as_dir=.
5108     for ac_exec_ext in '' $ac_executable_extensions; do
5109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110     ac_cv_prog_ac_ct_RANLIB="ranlib"
5111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112     break 2
5113   fi
5114 done
5115   done
5116 IFS=$as_save_IFS
5117
5118 fi
5119 fi
5120 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5121 if test -n "$ac_ct_RANLIB"; then
5122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5123 $as_echo "$ac_ct_RANLIB" >&6; }
5124 else
5125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5127 fi
5128
5129   if test "x$ac_ct_RANLIB" = x; then
5130     RANLIB=":"
5131   else
5132     case $cross_compiling:$ac_tool_warned in
5133 yes:)
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5136 ac_tool_warned=yes ;;
5137 esac
5138     RANLIB=$ac_ct_RANLIB
5139   fi
5140 else
5141   RANLIB="$ac_cv_prog_RANLIB"
5142 fi
5143
5144
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5146 $as_echo_n "checking whether ln -s works... " >&6; }
5147 LN_S=$as_ln_s
5148 if test "$LN_S" = "ln -s"; then
5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 $as_echo "yes" >&6; }
5151 else
5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5153 $as_echo "no, using $LN_S" >&6; }
5154 fi
5155
5156
5157
5158 ac_ext=c
5159 ac_cpp='$CPP $CPPFLAGS'
5160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5164 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5165 # On Suns, sometimes $CPP names a directory.
5166 if test -n "$CPP" && test -d "$CPP"; then
5167   CPP=
5168 fi
5169 if test -z "$CPP"; then
5170   if test "${ac_cv_prog_CPP+set}" = set; then :
5171   $as_echo_n "(cached) " >&6
5172 else
5173       # Double quotes because CPP needs to be expanded
5174     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5175     do
5176       ac_preproc_ok=false
5177 for ac_c_preproc_warn_flag in '' yes
5178 do
5179   # Use a header file that comes with gcc, so configuring glibc
5180   # with a fresh cross-compiler works.
5181   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5182   # <limits.h> exists even on freestanding compilers.
5183   # On the NeXT, cc -E runs the code through the compiler's parser,
5184   # not just through cpp. "Syntax error" is here to catch this case.
5185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h.  */
5187 #ifdef __STDC__
5188 # include <limits.h>
5189 #else
5190 # include <assert.h>
5191 #endif
5192                      Syntax error
5193 _ACEOF
5194 if ac_fn_c_try_cpp "$LINENO"; then :
5195
5196 else
5197   # Broken: fails on valid input.
5198 continue
5199 fi
5200 rm -f conftest.err conftest.$ac_ext
5201
5202   # OK, works on sane cases.  Now check whether nonexistent headers
5203   # can be detected and how.
5204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h.  */
5206 #include <ac_nonexistent.h>
5207 _ACEOF
5208 if ac_fn_c_try_cpp "$LINENO"; then :
5209   # Broken: success on invalid input.
5210 continue
5211 else
5212   # Passes both tests.
5213 ac_preproc_ok=:
5214 break
5215 fi
5216 rm -f conftest.err conftest.$ac_ext
5217
5218 done
5219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5220 rm -f conftest.err conftest.$ac_ext
5221 if $ac_preproc_ok; then :
5222   break
5223 fi
5224
5225     done
5226     ac_cv_prog_CPP=$CPP
5227
5228 fi
5229   CPP=$ac_cv_prog_CPP
5230 else
5231   ac_cv_prog_CPP=$CPP
5232 fi
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5234 $as_echo "$CPP" >&6; }
5235 ac_preproc_ok=false
5236 for ac_c_preproc_warn_flag in '' yes
5237 do
5238   # Use a header file that comes with gcc, so configuring glibc
5239   # with a fresh cross-compiler works.
5240   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5241   # <limits.h> exists even on freestanding compilers.
5242   # On the NeXT, cc -E runs the code through the compiler's parser,
5243   # not just through cpp. "Syntax error" is here to catch this case.
5244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h.  */
5246 #ifdef __STDC__
5247 # include <limits.h>
5248 #else
5249 # include <assert.h>
5250 #endif
5251                      Syntax error
5252 _ACEOF
5253 if ac_fn_c_try_cpp "$LINENO"; then :
5254
5255 else
5256   # Broken: fails on valid input.
5257 continue
5258 fi
5259 rm -f conftest.err conftest.$ac_ext
5260
5261   # OK, works on sane cases.  Now check whether nonexistent headers
5262   # can be detected and how.
5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h.  */
5265 #include <ac_nonexistent.h>
5266 _ACEOF
5267 if ac_fn_c_try_cpp "$LINENO"; then :
5268   # Broken: success on invalid input.
5269 continue
5270 else
5271   # Passes both tests.
5272 ac_preproc_ok=:
5273 break
5274 fi
5275 rm -f conftest.err conftest.$ac_ext
5276
5277 done
5278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5279 rm -f conftest.err conftest.$ac_ext
5280 if $ac_preproc_ok; then :
5281
5282 else
5283   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5285 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5286 See \`config.log' for more details." "$LINENO" 5; }
5287 fi
5288
5289 ac_ext=c
5290 ac_cpp='$CPP $CPPFLAGS'
5291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5294
5295
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5297 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5298 if test "${ac_cv_path_GREP+set}" = set; then :
5299   $as_echo_n "(cached) " >&6
5300 else
5301   if test -z "$GREP"; then
5302   ac_path_GREP_found=false
5303   # Loop through the user's path and test for each of PROGNAME-LIST
5304   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5306 do
5307   IFS=$as_save_IFS
5308   test -z "$as_dir" && as_dir=.
5309     for ac_prog in grep ggrep; do
5310     for ac_exec_ext in '' $ac_executable_extensions; do
5311       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5312       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5313 # Check for GNU ac_path_GREP and select it if it is found.
5314   # Check for GNU $ac_path_GREP
5315 case `"$ac_path_GREP" --version 2>&1` in
5316 *GNU*)
5317   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5318 *)
5319   ac_count=0
5320   $as_echo_n 0123456789 >"conftest.in"
5321   while :
5322   do
5323     cat "conftest.in" "conftest.in" >"conftest.tmp"
5324     mv "conftest.tmp" "conftest.in"
5325     cp "conftest.in" "conftest.nl"
5326     $as_echo 'GREP' >> "conftest.nl"
5327     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5328     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5329     as_fn_arith $ac_count + 1 && ac_count=$as_val
5330     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5331       # Best one so far, save it but keep looking for a better one
5332       ac_cv_path_GREP="$ac_path_GREP"
5333       ac_path_GREP_max=$ac_count
5334     fi
5335     # 10*(2^10) chars as input seems more than enough
5336     test $ac_count -gt 10 && break
5337   done
5338   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5339 esac
5340
5341       $ac_path_GREP_found && break 3
5342     done
5343   done
5344   done
5345 IFS=$as_save_IFS
5346   if test -z "$ac_cv_path_GREP"; then
5347     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5348   fi
5349 else
5350   ac_cv_path_GREP=$GREP
5351 fi
5352
5353 fi
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5355 $as_echo "$ac_cv_path_GREP" >&6; }
5356  GREP="$ac_cv_path_GREP"
5357
5358
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5360 $as_echo_n "checking for egrep... " >&6; }
5361 if test "${ac_cv_path_EGREP+set}" = set; then :
5362   $as_echo_n "(cached) " >&6
5363 else
5364   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5365    then ac_cv_path_EGREP="$GREP -E"
5366    else
5367      if test -z "$EGREP"; then
5368   ac_path_EGREP_found=false
5369   # Loop through the user's path and test for each of PROGNAME-LIST
5370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5372 do
5373   IFS=$as_save_IFS
5374   test -z "$as_dir" && as_dir=.
5375     for ac_prog in egrep; do
5376     for ac_exec_ext in '' $ac_executable_extensions; do
5377       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5378       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5379 # Check for GNU ac_path_EGREP and select it if it is found.
5380   # Check for GNU $ac_path_EGREP
5381 case `"$ac_path_EGREP" --version 2>&1` in
5382 *GNU*)
5383   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5384 *)
5385   ac_count=0
5386   $as_echo_n 0123456789 >"conftest.in"
5387   while :
5388   do
5389     cat "conftest.in" "conftest.in" >"conftest.tmp"
5390     mv "conftest.tmp" "conftest.in"
5391     cp "conftest.in" "conftest.nl"
5392     $as_echo 'EGREP' >> "conftest.nl"
5393     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5394     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5395     as_fn_arith $ac_count + 1 && ac_count=$as_val
5396     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5397       # Best one so far, save it but keep looking for a better one
5398       ac_cv_path_EGREP="$ac_path_EGREP"
5399       ac_path_EGREP_max=$ac_count
5400     fi
5401     # 10*(2^10) chars as input seems more than enough
5402     test $ac_count -gt 10 && break
5403   done
5404   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5405 esac
5406
5407       $ac_path_EGREP_found && break 3
5408     done
5409   done
5410   done
5411 IFS=$as_save_IFS
5412   if test -z "$ac_cv_path_EGREP"; then
5413     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5414   fi
5415 else
5416   ac_cv_path_EGREP=$EGREP
5417 fi
5418
5419    fi
5420 fi
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5422 $as_echo "$ac_cv_path_EGREP" >&6; }
5423  EGREP="$ac_cv_path_EGREP"
5424
5425
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5427 $as_echo_n "checking for ANSI C header files... " >&6; }
5428 if test "${ac_cv_header_stdc+set}" = set; then :
5429   $as_echo_n "(cached) " >&6
5430 else
5431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h.  */
5433 #include <stdlib.h>
5434 #include <stdarg.h>
5435 #include <string.h>
5436 #include <float.h>
5437
5438 int
5439 main ()
5440 {
5441
5442   ;
5443   return 0;
5444 }
5445 _ACEOF
5446 if ac_fn_c_try_compile "$LINENO"; then :
5447   ac_cv_header_stdc=yes
5448 else
5449   ac_cv_header_stdc=no
5450 fi
5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5452
5453 if test $ac_cv_header_stdc = yes; then
5454   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h.  */
5457 #include <string.h>
5458
5459 _ACEOF
5460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5461   $EGREP "memchr" >/dev/null 2>&1; then :
5462
5463 else
5464   ac_cv_header_stdc=no
5465 fi
5466 rm -f conftest*
5467
5468 fi
5469
5470 if test $ac_cv_header_stdc = yes; then
5471   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h.  */
5474 #include <stdlib.h>
5475
5476 _ACEOF
5477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5478   $EGREP "free" >/dev/null 2>&1; then :
5479
5480 else
5481   ac_cv_header_stdc=no
5482 fi
5483 rm -f conftest*
5484
5485 fi
5486
5487 if test $ac_cv_header_stdc = yes; then
5488   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5489   if test "$cross_compiling" = yes; then :
5490   :
5491 else
5492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h.  */
5494 #include <ctype.h>
5495 #include <stdlib.h>
5496 #if ((' ' & 0x0FF) == 0x020)
5497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5499 #else
5500 # define ISLOWER(c) \
5501                    (('a' <= (c) && (c) <= 'i') \
5502                      || ('j' <= (c) && (c) <= 'r') \
5503                      || ('s' <= (c) && (c) <= 'z'))
5504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5505 #endif
5506
5507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5508 int
5509 main ()
5510 {
5511   int i;
5512   for (i = 0; i < 256; i++)
5513     if (XOR (islower (i), ISLOWER (i))
5514         || toupper (i) != TOUPPER (i))
5515       return 2;
5516   return 0;
5517 }
5518 _ACEOF
5519 if ac_fn_c_try_run "$LINENO"; then :
5520
5521 else
5522   ac_cv_header_stdc=no
5523 fi
5524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5525   conftest.$ac_objext conftest.beam conftest.$ac_ext
5526 fi
5527
5528 fi
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5531 $as_echo "$ac_cv_header_stdc" >&6; }
5532 if test $ac_cv_header_stdc = yes; then
5533
5534 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5535
5536 fi
5537
5538 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5539 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5540                   inttypes.h stdint.h unistd.h
5541 do :
5542   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5543 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5544 "
5545 eval as_val=\$$as_ac_Header
5546    if test "x$as_val" = x""yes; then :
5547   cat >>confdefs.h <<_ACEOF
5548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5549 _ACEOF
5550
5551 fi
5552
5553 done
5554
5555
5556
5557   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5558 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5559   MINIX=yes
5560 else
5561   MINIX=
5562 fi
5563
5564
5565   if test "$MINIX" = yes; then
5566
5567 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5568
5569
5570 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5571
5572
5573 $as_echo "#define _MINIX 1" >>confdefs.h
5574
5575   fi
5576
5577
5578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5579 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5580 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5581   $as_echo_n "(cached) " >&6
5582 else
5583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h.  */
5585
5586 #         define __EXTENSIONS__ 1
5587           $ac_includes_default
5588 int
5589 main ()
5590 {
5591
5592   ;
5593   return 0;
5594 }
5595 _ACEOF
5596 if ac_fn_c_try_compile "$LINENO"; then :
5597   ac_cv_safe_to_define___extensions__=yes
5598 else
5599   ac_cv_safe_to_define___extensions__=no
5600 fi
5601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5602 fi
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5604 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5605   test $ac_cv_safe_to_define___extensions__ = yes &&
5606     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5607
5608   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5609
5610   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5611
5612   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5613
5614   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5615
5616
5617
5618
5619 # If we haven't got the data from the intl directory,
5620 # assume NLS is disabled.
5621 USE_NLS=no
5622 LIBINTL=
5623 LIBINTL_DEP=
5624 INCINTL=
5625 XGETTEXT=
5626 GMSGFMT=
5627 POSUB=
5628
5629 if test -f  ../intl/config.intl; then
5630   .  ../intl/config.intl
5631 fi
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5633 $as_echo_n "checking whether NLS is requested... " >&6; }
5634 if test x"$USE_NLS" != xyes; then
5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5637 else
5638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5640
5641 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5642
5643
5644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5645 $as_echo_n "checking for catalogs to be installed... " >&6; }
5646   # Look for .po and .gmo files in the source directory.
5647   CATALOGS=
5648   XLINGUAS=
5649   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5650     # If there aren't any .gmo files the shell will give us the
5651     # literal string "../path/to/srcdir/po/*.gmo" which has to be
5652     # weeded out.
5653     case "$cat" in *\**)
5654       continue;;
5655     esac
5656     # The quadruple backslash is collapsed to a double backslash
5657     # by the backticks, then collapsed again by the double quotes,
5658     # leaving us with one backslash in the sed expression (right
5659     # before the dot that mustn't act as a wildcard).
5660     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5661     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
5662     # The user is allowed to set LINGUAS to a list of languages to
5663     # install catalogs for.  If it's empty that means "all of them."
5664     if test "x$LINGUAS" = x; then
5665       CATALOGS="$CATALOGS $cat"
5666       XLINGUAS="$XLINGUAS $lang"
5667     else
5668       case "$LINGUAS" in *$lang*)
5669         CATALOGS="$CATALOGS $cat"
5670         XLINGUAS="$XLINGUAS $lang"
5671         ;;
5672       esac
5673     fi
5674   done
5675   LINGUAS="$XLINGUAS"
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5677 $as_echo "$LINGUAS" >&6; }
5678
5679
5680     DATADIRNAME=share
5681
5682   INSTOBJEXT=.mo
5683
5684   GENCAT=gencat
5685
5686   CATOBJEXT=.gmo
5687
5688 fi
5689
5690         MKINSTALLDIRS=
5691   if test -n "$ac_aux_dir"; then
5692     case "$ac_aux_dir" in
5693       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5694       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5695     esac
5696   fi
5697   if test -z "$MKINSTALLDIRS"; then
5698     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5699   fi
5700
5701
5702
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5704 $as_echo_n "checking whether NLS is requested... " >&6; }
5705     # Check whether --enable-nls was given.
5706 if test "${enable_nls+set}" = set; then :
5707   enableval=$enable_nls; USE_NLS=$enableval
5708 else
5709   USE_NLS=yes
5710 fi
5711
5712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5713 $as_echo "$USE_NLS" >&6; }
5714
5715
5716
5717
5718
5719
5720 # Prepare PATH_SEPARATOR.
5721 # The user is always right.
5722 if test "${PATH_SEPARATOR+set}" != set; then
5723   echo "#! /bin/sh" >conf$$.sh
5724   echo  "exit 0"   >>conf$$.sh
5725   chmod +x conf$$.sh
5726   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5727     PATH_SEPARATOR=';'
5728   else
5729     PATH_SEPARATOR=:
5730   fi
5731   rm -f conf$$.sh
5732 fi
5733
5734 # Find out how to test for executable files. Don't use a zero-byte file,
5735 # as systems may use methods other than mode bits to determine executability.
5736 cat >conf$$.file <<_ASEOF
5737 #! /bin/sh
5738 exit 0
5739 _ASEOF
5740 chmod +x conf$$.file
5741 if test -x conf$$.file >/dev/null 2>&1; then
5742   ac_executable_p="test -x"
5743 else
5744   ac_executable_p="test -f"
5745 fi
5746 rm -f conf$$.file
5747
5748 # Extract the first word of "msgfmt", so it can be a program name with args.
5749 set dummy msgfmt; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   case "$MSGFMT" in
5756   [\\/]* | ?:[\\/]*)
5757     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5758     ;;
5759   *)
5760     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5761     for ac_dir in $PATH; do
5762       IFS="$ac_save_IFS"
5763       test -z "$ac_dir" && ac_dir=.
5764       for ac_exec_ext in '' $ac_executable_extensions; do
5765         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5766           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5767      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5768             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5769             break 2
5770           fi
5771         fi
5772       done
5773     done
5774     IFS="$ac_save_IFS"
5775   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5776     ;;
5777 esac
5778 fi
5779 MSGFMT="$ac_cv_path_MSGFMT"
5780 if test "$MSGFMT" != ":"; then
5781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5782 $as_echo "$MSGFMT" >&6; }
5783 else
5784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5786 fi
5787
5788   # Extract the first word of "gmsgfmt", so it can be a program name with args.
5789 set dummy gmsgfmt; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5793   $as_echo_n "(cached) " >&6
5794 else
5795   case $GMSGFMT in
5796   [\\/]* | ?:[\\/]*)
5797   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5798   ;;
5799   *)
5800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5802 do
5803   IFS=$as_save_IFS
5804   test -z "$as_dir" && as_dir=.
5805     for ac_exec_ext in '' $ac_executable_extensions; do
5806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809     break 2
5810   fi
5811 done
5812   done
5813 IFS=$as_save_IFS
5814
5815   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5816   ;;
5817 esac
5818 fi
5819 GMSGFMT=$ac_cv_path_GMSGFMT
5820 if test -n "$GMSGFMT"; then
5821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5822 $as_echo "$GMSGFMT" >&6; }
5823 else
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5826 fi
5827
5828
5829
5830
5831 # Prepare PATH_SEPARATOR.
5832 # The user is always right.
5833 if test "${PATH_SEPARATOR+set}" != set; then
5834   echo "#! /bin/sh" >conf$$.sh
5835   echo  "exit 0"   >>conf$$.sh
5836   chmod +x conf$$.sh
5837   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5838     PATH_SEPARATOR=';'
5839   else
5840     PATH_SEPARATOR=:
5841   fi
5842   rm -f conf$$.sh
5843 fi
5844
5845 # Find out how to test for executable files. Don't use a zero-byte file,
5846 # as systems may use methods other than mode bits to determine executability.
5847 cat >conf$$.file <<_ASEOF
5848 #! /bin/sh
5849 exit 0
5850 _ASEOF
5851 chmod +x conf$$.file
5852 if test -x conf$$.file >/dev/null 2>&1; then
5853   ac_executable_p="test -x"
5854 else
5855   ac_executable_p="test -f"
5856 fi
5857 rm -f conf$$.file
5858
5859 # Extract the first word of "xgettext", so it can be a program name with args.
5860 set dummy xgettext; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5864   $as_echo_n "(cached) " >&6
5865 else
5866   case "$XGETTEXT" in
5867   [\\/]* | ?:[\\/]*)
5868     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5869     ;;
5870   *)
5871     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5872     for ac_dir in $PATH; do
5873       IFS="$ac_save_IFS"
5874       test -z "$ac_dir" && ac_dir=.
5875       for ac_exec_ext in '' $ac_executable_extensions; do
5876         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5877           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5878      (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
5879             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5880             break 2
5881           fi
5882         fi
5883       done
5884     done
5885     IFS="$ac_save_IFS"
5886   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5887     ;;
5888 esac
5889 fi
5890 XGETTEXT="$ac_cv_path_XGETTEXT"
5891 if test "$XGETTEXT" != ":"; then
5892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5893 $as_echo "$XGETTEXT" >&6; }
5894 else
5895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5897 fi
5898
5899     rm -f messages.po
5900
5901
5902 # Prepare PATH_SEPARATOR.
5903 # The user is always right.
5904 if test "${PATH_SEPARATOR+set}" != set; then
5905   echo "#! /bin/sh" >conf$$.sh
5906   echo  "exit 0"   >>conf$$.sh
5907   chmod +x conf$$.sh
5908   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5909     PATH_SEPARATOR=';'
5910   else
5911     PATH_SEPARATOR=:
5912   fi
5913   rm -f conf$$.sh
5914 fi
5915
5916 # Find out how to test for executable files. Don't use a zero-byte file,
5917 # as systems may use methods other than mode bits to determine executability.
5918 cat >conf$$.file <<_ASEOF
5919 #! /bin/sh
5920 exit 0
5921 _ASEOF
5922 chmod +x conf$$.file
5923 if test -x conf$$.file >/dev/null 2>&1; then
5924   ac_executable_p="test -x"
5925 else
5926   ac_executable_p="test -f"
5927 fi
5928 rm -f conf$$.file
5929
5930 # Extract the first word of "msgmerge", so it can be a program name with args.
5931 set dummy msgmerge; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5935   $as_echo_n "(cached) " >&6
5936 else
5937   case "$MSGMERGE" in
5938   [\\/]* | ?:[\\/]*)
5939     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5940     ;;
5941   *)
5942     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5943     for ac_dir in $PATH; do
5944       IFS="$ac_save_IFS"
5945       test -z "$ac_dir" && ac_dir=.
5946       for ac_exec_ext in '' $ac_executable_extensions; do
5947         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5948           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5949             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5950             break 2
5951           fi
5952         fi
5953       done
5954     done
5955     IFS="$ac_save_IFS"
5956   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5957     ;;
5958 esac
5959 fi
5960 MSGMERGE="$ac_cv_path_MSGMERGE"
5961 if test "$MSGMERGE" != ":"; then
5962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5963 $as_echo "$MSGMERGE" >&6; }
5964 else
5965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5967 fi
5968
5969
5970       if test "$GMSGFMT" != ":"; then
5971             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5972        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5973       : ;
5974     else
5975       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5976       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5977 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5978       GMSGFMT=":"
5979     fi
5980   fi
5981
5982       if test "$XGETTEXT" != ":"; then
5983             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5984        (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
5985       : ;
5986     else
5987       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5988 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5989       XGETTEXT=":"
5990     fi
5991         rm -f messages.po
5992   fi
5993
5994   ac_config_commands="$ac_config_commands default-1"
5995
5996
5997
5998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5999 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6000 if test "${ac_cv_c_bigendian+set}" = set; then :
6001   $as_echo_n "(cached) " >&6
6002 else
6003   ac_cv_c_bigendian=unknown
6004     # See if we're dealing with a universal compiler.
6005     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h.  */
6007 #ifndef __APPLE_CC__
6008                not a universal capable compiler
6009              #endif
6010              typedef int dummy;
6011
6012 _ACEOF
6013 if ac_fn_c_try_compile "$LINENO"; then :
6014
6015         # Check for potential -arch flags.  It is not universal unless
6016         # there are at least two -arch flags with different values.
6017         ac_arch=
6018         ac_prev=
6019         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6020          if test -n "$ac_prev"; then
6021            case $ac_word in
6022              i?86 | x86_64 | ppc | ppc64)
6023                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6024                  ac_arch=$ac_word
6025                else
6026                  ac_cv_c_bigendian=universal
6027                  break
6028                fi
6029                ;;
6030            esac
6031            ac_prev=
6032          elif test "x$ac_word" = "x-arch"; then
6033            ac_prev=arch
6034          fi
6035        done
6036 fi
6037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6038     if test $ac_cv_c_bigendian = unknown; then
6039       # See if sys/param.h defines the BYTE_ORDER macro.
6040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h.  */
6042 #include <sys/types.h>
6043              #include <sys/param.h>
6044
6045 int
6046 main ()
6047 {
6048 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6049                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6050                      && LITTLE_ENDIAN)
6051               bogus endian macros
6052              #endif
6053
6054   ;
6055   return 0;
6056 }
6057 _ACEOF
6058 if ac_fn_c_try_compile "$LINENO"; then :
6059   # It does; now see whether it defined to BIG_ENDIAN or not.
6060          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h.  */
6062 #include <sys/types.h>
6063                 #include <sys/param.h>
6064
6065 int
6066 main ()
6067 {
6068 #if BYTE_ORDER != BIG_ENDIAN
6069                  not big endian
6070                 #endif
6071
6072   ;
6073   return 0;
6074 }
6075 _ACEOF
6076 if ac_fn_c_try_compile "$LINENO"; then :
6077   ac_cv_c_bigendian=yes
6078 else
6079   ac_cv_c_bigendian=no
6080 fi
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 fi
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084     fi
6085     if test $ac_cv_c_bigendian = unknown; then
6086       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h.  */
6089 #include <limits.h>
6090
6091 int
6092 main ()
6093 {
6094 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6095               bogus endian macros
6096              #endif
6097
6098   ;
6099   return 0;
6100 }
6101 _ACEOF
6102 if ac_fn_c_try_compile "$LINENO"; then :
6103   # It does; now see whether it defined to _BIG_ENDIAN or not.
6104          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h.  */
6106 #include <limits.h>
6107
6108 int
6109 main ()
6110 {
6111 #ifndef _BIG_ENDIAN
6112                  not big endian
6113                 #endif
6114
6115   ;
6116   return 0;
6117 }
6118 _ACEOF
6119 if ac_fn_c_try_compile "$LINENO"; then :
6120   ac_cv_c_bigendian=yes
6121 else
6122   ac_cv_c_bigendian=no
6123 fi
6124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6125 fi
6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6127     fi
6128     if test $ac_cv_c_bigendian = unknown; then
6129       # Compile a test program.
6130       if test "$cross_compiling" = yes; then :
6131   # Try to guess by grepping values from an object file.
6132          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h.  */
6134 short int ascii_mm[] =
6135                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6136                 short int ascii_ii[] =
6137                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6138                 int use_ascii (int i) {
6139                   return ascii_mm[i] + ascii_ii[i];
6140                 }
6141                 short int ebcdic_ii[] =
6142                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6143                 short int ebcdic_mm[] =
6144                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6145                 int use_ebcdic (int i) {
6146                   return ebcdic_mm[i] + ebcdic_ii[i];
6147                 }
6148                 extern int foo;
6149
6150 int
6151 main ()
6152 {
6153 return use_ascii (foo) == use_ebcdic (foo);
6154   ;
6155   return 0;
6156 }
6157 _ACEOF
6158 if ac_fn_c_try_compile "$LINENO"; then :
6159   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6160               ac_cv_c_bigendian=yes
6161             fi
6162             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6163               if test "$ac_cv_c_bigendian" = unknown; then
6164                 ac_cv_c_bigendian=no
6165               else
6166                 # finding both strings is unlikely to happen, but who knows?
6167                 ac_cv_c_bigendian=unknown
6168               fi
6169             fi
6170 fi
6171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6172 else
6173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h.  */
6175 $ac_includes_default
6176 int
6177 main ()
6178 {
6179
6180              /* Are we little or big endian?  From Harbison&Steele.  */
6181              union
6182              {
6183                long int l;
6184                char c[sizeof (long int)];
6185              } u;
6186              u.l = 1;
6187              return u.c[sizeof (long int) - 1] == 1;
6188
6189   ;
6190   return 0;
6191 }
6192 _ACEOF
6193 if ac_fn_c_try_run "$LINENO"; then :
6194   ac_cv_c_bigendian=no
6195 else
6196   ac_cv_c_bigendian=yes
6197 fi
6198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6199   conftest.$ac_objext conftest.beam conftest.$ac_ext
6200 fi
6201
6202     fi
6203 fi
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6205 $as_echo "$ac_cv_c_bigendian" >&6; }
6206  case $ac_cv_c_bigendian in #(
6207    yes)
6208      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6209 ;; #(
6210    no)
6211       ;; #(
6212    universal)
6213
6214 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6215
6216      ;; #(
6217    *)
6218      as_fn_error "unknown endianness
6219  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6220  esac
6221
6222
6223
6224
6225  if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6226   NATIVE_LINKER_TRUE=
6227   NATIVE_LINKER_FALSE='#'
6228 else
6229   NATIVE_LINKER_TRUE='#'
6230   NATIVE_LINKER_FALSE=
6231 fi
6232
6233  if test "$GCC" = yes; then
6234   GCC_TRUE=
6235   GCC_FALSE='#'
6236 else
6237   GCC_TRUE='#'
6238   GCC_FALSE=
6239 fi
6240
6241
6242  if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6243   NATIVE_OR_CROSS_LINKER_TRUE=
6244   NATIVE_OR_CROSS_LINKER_FALSE='#'
6245 else
6246   NATIVE_OR_CROSS_LINKER_TRUE='#'
6247   NATIVE_OR_CROSS_LINKER_FALSE=
6248 fi
6249
6250
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6252 $as_echo_n "checking whether static linking works... " >&6; }
6253 if test "${gold_cv_lib_static+set}" = set; then :
6254   $as_echo_n "(cached) " >&6
6255 else
6256   LDFLAGS_hold=$LDFLAGS
6257 LDFLAGS="$LDFLAGS -static"
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h.  */
6260
6261 void f() { }
6262 int
6263 main ()
6264 {
6265
6266   ;
6267   return 0;
6268 }
6269 _ACEOF
6270 if ac_fn_c_try_link "$LINENO"; then :
6271   gold_cv_lib_static=yes
6272 else
6273   gold_cv_lib_static=no
6274 fi
6275 rm -f core conftest.err conftest.$ac_objext \
6276     conftest$ac_exeext conftest.$ac_ext
6277 LDFLAGS=$LDFLAGS_hold
6278 fi
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6280 $as_echo "$gold_cv_lib_static" >&6; }
6281  if test "$gold_cv_lib_static" = "yes"; then
6282   HAVE_STATIC_TRUE=
6283   HAVE_STATIC_FALSE='#'
6284 else
6285   HAVE_STATIC_TRUE='#'
6286   HAVE_STATIC_FALSE=
6287 fi
6288
6289
6290  if
6291   case $target_cpu in
6292     powerpc*) false;;
6293     x86_64) false;;
6294     sparc64) false;;
6295     *) true;;
6296   esac; then
6297   FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
6298   FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
6299 else
6300   FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
6301   FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
6302 fi
6303
6304
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6306 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6307 if test "${gold_cv_prog_gcc41+set}" = set; then :
6308   $as_echo_n "(cached) " >&6
6309 else
6310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h.  */
6312
6313 #if !defined __GNUC__
6314 error
6315 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6316 error
6317 #endif
6318
6319 _ACEOF
6320 if ac_fn_c_try_compile "$LINENO"; then :
6321   gold_cv_prog_gcc41=yes
6322 else
6323   gold_cv_prog_gcc41=no
6324 fi
6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6326 fi
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6328 $as_echo "$gold_cv_prog_gcc41" >&6; }
6329
6330 save_CFLAGS="$CFLAGS"
6331 CFLAGS="$CFLAGS -mcmodel=medium"
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h.  */
6334 int i;
6335 _ACEOF
6336 if ac_fn_c_try_compile "$LINENO"; then :
6337   have_mcmodel_medium=yes
6338 else
6339   have_mcmodel_medium=no
6340 fi
6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6342 CFLAGS="$save_CFLAGS"
6343  if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6344   MCMODEL_MEDIUM_TRUE=
6345   MCMODEL_MEDIUM_FALSE='#'
6346 else
6347   MCMODEL_MEDIUM_TRUE='#'
6348   MCMODEL_MEDIUM_FALSE=
6349 fi
6350
6351
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6353 $as_echo_n "checking for thread support... " >&6; }
6354 if test "${gold_cv_c_thread+set}" = set; then :
6355   $as_echo_n "(cached) " >&6
6356 else
6357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h.  */
6359 __thread int i = 1;
6360 _ACEOF
6361 if ac_fn_c_try_compile "$LINENO"; then :
6362   gold_cv_c_thread=yes
6363 else
6364   gold_cv_c_thread=no
6365 fi
6366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6367 fi
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6369 $as_echo "$gold_cv_c_thread" >&6; }
6370
6371  if test "$gold_cv_c_thread" = "yes"; then
6372   TLS_TRUE=
6373   TLS_FALSE='#'
6374 else
6375   TLS_TRUE='#'
6376   TLS_FALSE=
6377 fi
6378
6379
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6381 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6382 if test "${gold_cv_lib_glibc24+set}" = set; then :
6383   $as_echo_n "(cached) " >&6
6384 else
6385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h.  */
6387
6388 #include <features.h>
6389 #if !defined __GLIBC__
6390 error
6391 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6392 error
6393 #endif
6394
6395 _ACEOF
6396 if ac_fn_c_try_compile "$LINENO"; then :
6397   gold_cv_lib_glibc24=yes
6398 else
6399   gold_cv_lib_glibc24=no
6400 fi
6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6402 fi
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6404 $as_echo "$gold_cv_lib_glibc24" >&6; }
6405
6406  if test "$gold_cv_lib_glibc24" = "yes"; then
6407   STATIC_TLS_TRUE=
6408   STATIC_TLS_FALSE='#'
6409 else
6410   STATIC_TLS_TRUE='#'
6411   STATIC_TLS_FALSE=
6412 fi
6413
6414
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6416 $as_echo_n "checking for omp support... " >&6; }
6417 if test "${gold_cv_c_threadprivate+set}" = set; then :
6418   $as_echo_n "(cached) " >&6
6419 else
6420   save_CFLAGS="$CFLAGS"
6421 CFLAGS="$CFLAGS -fopenmp"
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h.  */
6424
6425 #include <omp.h>
6426 int i;
6427 #pragma omp threadprivate (i)
6428
6429 _ACEOF
6430 if ac_fn_c_try_compile "$LINENO"; then :
6431   gold_cv_c_threadprivate=yes
6432 else
6433   gold_cv_c_threadprivate=no
6434 fi
6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6436 CFLAGS="$save_CFLAGS"
6437 fi
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6439 $as_echo "$gold_cv_c_threadprivate" >&6; }
6440 if test "$gold_cv_c_threadprivate" = "yes"; then
6441
6442 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6443
6444 fi
6445  if test "$gold_cv_c_threadprivate" = "yes"; then
6446   OMP_SUPPORT_TRUE=
6447   OMP_SUPPORT_FALSE='#'
6448 else
6449   OMP_SUPPORT_TRUE='#'
6450   OMP_SUPPORT_FALSE=
6451 fi
6452
6453
6454 save_CFLAGS="$CFLAGS"
6455 CFLAGS="$CFLAGS -fpic -mtls-dialect=gnu2"
6456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h.  */
6458
6459 __thread int i;
6460 void foo (void)
6461 {
6462   i = 10;
6463 }
6464
6465 _ACEOF
6466 if ac_fn_c_try_compile "$LINENO"; then :
6467   have_tls_gnu2=yes
6468 else
6469   have_tls_gnu2=no
6470 fi
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 CFLAGS="$save_CFLAGS"
6473  if test "$have_tls_gnu2" = "yes"; then
6474   TLS_GNU2_DIALECT_TRUE=
6475   TLS_GNU2_DIALECT_FALSE='#'
6476 else
6477   TLS_GNU2_DIALECT_TRUE='#'
6478   TLS_GNU2_DIALECT_FALSE=
6479 fi
6480
6481
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6483 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6484 if test "${gold_cv_lib_glibc29+set}" = set; then :
6485   $as_echo_n "(cached) " >&6
6486 else
6487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h.  */
6489
6490 #include <features.h>
6491 #if !defined __GLIBC__
6492 error
6493 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6494 error
6495 #endif
6496
6497 _ACEOF
6498 if ac_fn_c_try_compile "$LINENO"; then :
6499   gold_cv_lib_glibc29=yes
6500 else
6501   gold_cv_lib_glibc29=no
6502 fi
6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6504 fi
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6506 $as_echo "$gold_cv_lib_glibc29" >&6; }
6507
6508  if test "$gold_cv_lib_glibc29" = "yes"; then
6509   TLS_DESCRIPTORS_TRUE=
6510   TLS_DESCRIPTORS_FALSE='#'
6511 else
6512   TLS_DESCRIPTORS_TRUE='#'
6513   TLS_DESCRIPTORS_FALSE=
6514 fi
6515
6516
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6518 $as_echo_n "checking for -frandom-seed support... " >&6; }
6519 if test "${gold_cv_c_random_seed+set}" = set; then :
6520   $as_echo_n "(cached) " >&6
6521 else
6522   save_CFLAGS="$CFLAGS"
6523 CFLAGS="$CFLAGS -frandom-seed=foo"
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h.  */
6526 int i;
6527 _ACEOF
6528 if ac_fn_c_try_compile "$LINENO"; then :
6529   gold_cv_c_random_seed=yes
6530 else
6531   gold_cv_c_random_seed=no
6532 fi
6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534 CFLAGS="$save_CFLAGS"
6535 fi
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6537 $as_echo "$gold_cv_c_random_seed" >&6; }
6538 if test "$gold_cv_c_random_seed" = "yes"; then
6539   # In Makefile, '$@' will be expanded to be the name of the file
6540   # being built, providing a unique seed for each file.
6541   RANDOM_SEED_CFLAGS=-frandom-seed=\$@
6542 fi
6543
6544
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6546 $as_echo_n "checking for glibc ifunc support... " >&6; }
6547 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6548   $as_echo_n "(cached) " >&6
6549 else
6550   save_LDFLAGS="$LDFLAGS"
6551 LDFLAGS="$LDFLAGS -static"
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h.  */
6554
6555 #include <features.h>
6556 #if !defined __GLIBC__
6557 error
6558 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6559 error
6560 #endif
6561 void func (void) { }
6562 void invoke (void);
6563 __asm__(".type invoke, %gnu_indirect_function");
6564 typedef void (*funcptr) (void);
6565 funcptr dispatch (void) __asm__ ("invoke");
6566 funcptr dispatch (void) { return &func; }
6567 int
6568 main ()
6569 {
6570 invoke();
6571   ;
6572   return 0;
6573 }
6574
6575 _ACEOF
6576 if ac_fn_c_try_link "$LINENO"; then :
6577
6578 if ${NM} conftest$EXEEXT | grep "__rela\?_iplt_start" >/dev/null 2>&1; then
6579   gold_cv_lib_glibc_ifunc=both
6580 else
6581   gold_cv_lib_glibc_ifunc=dyn
6582 fi
6583 else
6584   gold_cv_lib_glibc_ifunc=no
6585 fi
6586 rm -f core conftest.err conftest.$ac_objext \
6587     conftest$ac_exeext conftest.$ac_ext
6588 LDFLAGS="$save_LDFLAGS"
6589 fi
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6591 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6592
6593  if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6594   IFUNC_TRUE=
6595   IFUNC_FALSE='#'
6596 else
6597   IFUNC_TRUE='#'
6598   IFUNC_FALSE=
6599 fi
6600
6601  if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6602   IFUNC_STATIC_TRUE=
6603   IFUNC_STATIC_FALSE='#'
6604 else
6605   IFUNC_STATIC_TRUE='#'
6606   IFUNC_STATIC_FALSE=
6607 fi
6608
6609
6610
6611 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h.  */
6614 __GNUC__
6615 _ACEOF
6616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6617   $EGREP "^[0-3]$" >/dev/null 2>&1; then :
6618
6619 else
6620   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
6621 fi
6622 rm -f conftest*
6623
6624
6625 # Check whether --enable-werror was given.
6626 if test "${enable_werror+set}" = set; then :
6627   enableval=$enable_werror; case "${enableval}" in
6628      yes | y) ERROR_ON_WARNING="yes" ;;
6629      no | n)  ERROR_ON_WARNING="no" ;;
6630      *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6631    esac
6632 fi
6633
6634
6635 # Disable -Wformat by default when using gcc on mingw
6636 case "${host}" in
6637   *-*-mingw32*)
6638     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6639       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
6640     fi
6641     ;;
6642   *) ;;
6643 esac
6644
6645 # Enable -Werror by default when using gcc
6646 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6647     ERROR_ON_WARNING=yes
6648 fi
6649
6650 NO_WERROR=
6651 if test "${ERROR_ON_WARNING}" = yes ; then
6652     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
6653     NO_WERROR="-Wno-error"
6654 fi
6655
6656 if test "${GCC}" = yes ; then
6657   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
6658 fi
6659
6660 # Check whether --enable-build-warnings was given.
6661 if test "${enable_build_warnings+set}" = set; then :
6662   enableval=$enable_build_warnings; case "${enableval}" in
6663   yes)  WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
6664   no)   if test "${GCC}" = yes ; then
6665           WARN_CFLAGS="-w"
6666         fi;;
6667   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
6668         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
6669   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
6670         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
6671   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6672 esac
6673 fi
6674
6675
6676 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
6677   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6678 fi
6679
6680
6681
6682
6683
6684 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6685
6686
6687
6688 # Check whether --with-gold-ldflags was given.
6689 if test "${with_gold_ldflags+set}" = set; then :
6690   withval=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6691    GOLD_LDFLAGS=
6692  else
6693    GOLD_LDFLAGS=$withval
6694  fi
6695 else
6696   GOLD_LDFLAGS=
6697 fi
6698
6699
6700
6701
6702 # Check whether --with-gold-ldadd was given.
6703 if test "${with_gold_ldadd+set}" = set; then :
6704   withval=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6705    GOLD_LDADD=
6706  else
6707    GOLD_LDADD=$withval
6708  fi
6709 else
6710   GOLD_LDADD=
6711 fi
6712
6713
6714
6715 LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6716
6717
6718 for ac_header in sys/mman.h
6719 do :
6720   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6721 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
6722   cat >>confdefs.h <<_ACEOF
6723 #define HAVE_SYS_MMAN_H 1
6724 _ACEOF
6725
6726 fi
6727
6728 done
6729
6730 for ac_func in chsize mmap
6731 do :
6732   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6734 eval as_val=\$$as_ac_var
6735    if test "x$as_val" = x""yes; then :
6736   cat >>confdefs.h <<_ACEOF
6737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6738 _ACEOF
6739
6740 fi
6741 done
6742
6743 for ac_func in pread ftruncate ffsll
6744 do :
6745   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6747 eval as_val=\$$as_ac_var
6748    if test "x$as_val" = x""yes; then :
6749   cat >>confdefs.h <<_ACEOF
6750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6751 _ACEOF
6752
6753 else
6754   case " $LIBOBJS " in
6755   *" $ac_func.$ac_objext "* ) ;;
6756   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
6757  ;;
6758 esac
6759
6760 fi
6761 done
6762
6763
6764
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6766 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6767 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6768   $as_echo_n "(cached) " >&6
6769 else
6770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h.  */
6772
6773
6774 #include <sys/mman.h>
6775 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6776
6777 int
6778 main ()
6779 {
6780
6781   ;
6782   return 0;
6783 }
6784 _ACEOF
6785 if ac_fn_c_try_link "$LINENO"; then :
6786   gold_cv_lib_mremap_maymove=yes
6787 else
6788   gold_cv_lib_mremap_maymove=no
6789 fi
6790 rm -f core conftest.err conftest.$ac_objext \
6791     conftest$ac_exeext conftest.$ac_ext
6792 fi
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6794 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6795 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6796
6797 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6798
6799 else
6800   case " $LIBOBJS " in
6801   *" mremap.$ac_objext "* ) ;;
6802   *) LIBOBJS="$LIBOBJS mremap.$ac_objext"
6803  ;;
6804 esac
6805
6806 fi
6807
6808 # Link in zlib if we can.  This allows us to write compressed sections.
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6810 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6811 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6812   $as_echo_n "(cached) " >&6
6813 else
6814   ac_func_search_save_LIBS=$LIBS
6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6816 /* end confdefs.h.  */
6817
6818 /* Override any GCC internal prototype to avoid an error.
6819    Use char because int might match the return type of a GCC
6820    builtin and then its argument prototype would still apply.  */
6821 #ifdef __cplusplus
6822 extern "C"
6823 #endif
6824 char zlibVersion ();
6825 int
6826 main ()
6827 {
6828 return zlibVersion ();
6829   ;
6830   return 0;
6831 }
6832 _ACEOF
6833 for ac_lib in '' z; do
6834   if test -z "$ac_lib"; then
6835     ac_res="none required"
6836   else
6837     ac_res=-l$ac_lib
6838     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6839   fi
6840   if ac_fn_c_try_link "$LINENO"; then :
6841   ac_cv_search_zlibVersion=$ac_res
6842 fi
6843 rm -f core conftest.err conftest.$ac_objext \
6844     conftest$ac_exeext
6845   if test "${ac_cv_search_zlibVersion+set}" = set; then :
6846   break
6847 fi
6848 done
6849 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6850
6851 else
6852   ac_cv_search_zlibVersion=no
6853 fi
6854 rm conftest.$ac_ext
6855 LIBS=$ac_func_search_save_LIBS
6856 fi
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6858 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6859 ac_res=$ac_cv_search_zlibVersion
6860 if test "$ac_res" != no; then :
6861   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6862   for ac_header in zlib.h
6863 do :
6864   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6865 if test "x$ac_cv_header_zlib_h" = x""yes; then :
6866   cat >>confdefs.h <<_ACEOF
6867 #define HAVE_ZLIB_H 1
6868 _ACEOF
6869
6870 fi
6871
6872 done
6873
6874 fi
6875
6876  if test "$ac_cv_search_zlibVersion" != "no"; then
6877   HAVE_ZLIB_TRUE=
6878   HAVE_ZLIB_FALSE='#'
6879 else
6880   HAVE_ZLIB_TRUE='#'
6881   HAVE_ZLIB_FALSE=
6882 fi
6883
6884
6885 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6886 if test "x$ac_cv_have_decl_basename" = x""yes; then :
6887   ac_have_decl=1
6888 else
6889   ac_have_decl=0
6890 fi
6891
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_DECL_BASENAME $ac_have_decl
6894 _ACEOF
6895 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6896 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
6897   ac_have_decl=1
6898 else
6899   ac_have_decl=0
6900 fi
6901
6902 cat >>confdefs.h <<_ACEOF
6903 #define HAVE_DECL_FFS $ac_have_decl
6904 _ACEOF
6905 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6906 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
6907   ac_have_decl=1
6908 else
6909   ac_have_decl=0
6910 fi
6911
6912 cat >>confdefs.h <<_ACEOF
6913 #define HAVE_DECL_ASPRINTF $ac_have_decl
6914 _ACEOF
6915 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6916 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
6917   ac_have_decl=1
6918 else
6919   ac_have_decl=0
6920 fi
6921
6922 cat >>confdefs.h <<_ACEOF
6923 #define HAVE_DECL_VASPRINTF $ac_have_decl
6924 _ACEOF
6925 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6926 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
6927   ac_have_decl=1
6928 else
6929   ac_have_decl=0
6930 fi
6931
6932 cat >>confdefs.h <<_ACEOF
6933 #define HAVE_DECL_SNPRINTF $ac_have_decl
6934 _ACEOF
6935 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6936 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
6937   ac_have_decl=1
6938 else
6939   ac_have_decl=0
6940 fi
6941
6942 cat >>confdefs.h <<_ACEOF
6943 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6944 _ACEOF
6945 ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6946 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
6947   ac_have_decl=1
6948 else
6949   ac_have_decl=0
6950 fi
6951
6952 cat >>confdefs.h <<_ACEOF
6953 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6954 _ACEOF
6955
6956
6957 ac_ext=cpp
6958 ac_cpp='$CXXCPP $CPPFLAGS'
6959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6962
6963
6964
6965 ac_ext=cpp
6966 ac_cpp='$CXXCPP $CPPFLAGS'
6967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6971 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6972 if test -z "$CXXCPP"; then
6973   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6974   $as_echo_n "(cached) " >&6
6975 else
6976       # Double quotes because CXXCPP needs to be expanded
6977     for CXXCPP in "$CXX -E" "/lib/cpp"
6978     do
6979       ac_preproc_ok=false
6980 for ac_cxx_preproc_warn_flag in '' yes
6981 do
6982   # Use a header file that comes with gcc, so configuring glibc
6983   # with a fresh cross-compiler works.
6984   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6985   # <limits.h> exists even on freestanding compilers.
6986   # On the NeXT, cc -E runs the code through the compiler's parser,
6987   # not just through cpp. "Syntax error" is here to catch this case.
6988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h.  */
6990 #ifdef __STDC__
6991 # include <limits.h>
6992 #else
6993 # include <assert.h>
6994 #endif
6995                      Syntax error
6996 _ACEOF
6997 if ac_fn_cxx_try_cpp "$LINENO"; then :
6998
6999 else
7000   # Broken: fails on valid input.
7001 continue
7002 fi
7003 rm -f conftest.err conftest.$ac_ext
7004
7005   # OK, works on sane cases.  Now check whether nonexistent headers
7006   # can be detected and how.
7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h.  */
7009 #include <ac_nonexistent.h>
7010 _ACEOF
7011 if ac_fn_cxx_try_cpp "$LINENO"; then :
7012   # Broken: success on invalid input.
7013 continue
7014 else
7015   # Passes both tests.
7016 ac_preproc_ok=:
7017 break
7018 fi
7019 rm -f conftest.err conftest.$ac_ext
7020
7021 done
7022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7023 rm -f conftest.err conftest.$ac_ext
7024 if $ac_preproc_ok; then :
7025   break
7026 fi
7027
7028     done
7029     ac_cv_prog_CXXCPP=$CXXCPP
7030
7031 fi
7032   CXXCPP=$ac_cv_prog_CXXCPP
7033 else
7034   ac_cv_prog_CXXCPP=$CXXCPP
7035 fi
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7037 $as_echo "$CXXCPP" >&6; }
7038 ac_preproc_ok=false
7039 for ac_cxx_preproc_warn_flag in '' yes
7040 do
7041   # Use a header file that comes with gcc, so configuring glibc
7042   # with a fresh cross-compiler works.
7043   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7044   # <limits.h> exists even on freestanding compilers.
7045   # On the NeXT, cc -E runs the code through the compiler's parser,
7046   # not just through cpp. "Syntax error" is here to catch this case.
7047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h.  */
7049 #ifdef __STDC__
7050 # include <limits.h>
7051 #else
7052 # include <assert.h>
7053 #endif
7054                      Syntax error
7055 _ACEOF
7056 if ac_fn_cxx_try_cpp "$LINENO"; then :
7057
7058 else
7059   # Broken: fails on valid input.
7060 continue
7061 fi
7062 rm -f conftest.err conftest.$ac_ext
7063
7064   # OK, works on sane cases.  Now check whether nonexistent headers
7065   # can be detected and how.
7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h.  */
7068 #include <ac_nonexistent.h>
7069 _ACEOF
7070 if ac_fn_cxx_try_cpp "$LINENO"; then :
7071   # Broken: success on invalid input.
7072 continue
7073 else
7074   # Passes both tests.
7075 ac_preproc_ok=:
7076 break
7077 fi
7078 rm -f conftest.err conftest.$ac_ext
7079
7080 done
7081 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7082 rm -f conftest.err conftest.$ac_ext
7083 if $ac_preproc_ok; then :
7084
7085 else
7086   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7088 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
7089 See \`config.log' for more details." "$LINENO" 5; }
7090 fi
7091
7092 ac_ext=cpp
7093 ac_cpp='$CXXCPP $CPPFLAGS'
7094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7097
7098
7099 for ac_header in tr1/unordered_set tr1/unordered_map
7100 do :
7101   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7102 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7103 eval as_val=\$$as_ac_Header
7104    if test "x$as_val" = x""yes; then :
7105   cat >>confdefs.h <<_ACEOF
7106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7107 _ACEOF
7108
7109 fi
7110
7111 done
7112
7113 for ac_header in ext/hash_map ext/hash_set
7114 do :
7115   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7116 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7117 eval as_val=\$$as_ac_Header
7118    if test "x$as_val" = x""yes; then :
7119   cat >>confdefs.h <<_ACEOF
7120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7121 _ACEOF
7122
7123 fi
7124
7125 done
7126
7127 for ac_header in byteswap.h
7128 do :
7129   ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7130 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
7131   cat >>confdefs.h <<_ACEOF
7132 #define HAVE_BYTESWAP_H 1
7133 _ACEOF
7134
7135 fi
7136
7137 done
7138
7139 for ac_func in mallinfo posix_fallocate fallocate readv sysconf times
7140 do :
7141   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7142 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7143 eval as_val=\$$as_ac_var
7144    if test "x$as_val" = x""yes; then :
7145   cat >>confdefs.h <<_ACEOF
7146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7147 _ACEOF
7148
7149 fi
7150 done
7151
7152 ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7153 if test "x$ac_cv_have_decl_basename" = x""yes; then :
7154   ac_have_decl=1
7155 else
7156   ac_have_decl=0
7157 fi
7158
7159 cat >>confdefs.h <<_ACEOF
7160 #define HAVE_DECL_BASENAME $ac_have_decl
7161 _ACEOF
7162 ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7163 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
7164   ac_have_decl=1
7165 else
7166   ac_have_decl=0
7167 fi
7168
7169 cat >>confdefs.h <<_ACEOF
7170 #define HAVE_DECL_FFS $ac_have_decl
7171 _ACEOF
7172 ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7173 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
7174   ac_have_decl=1
7175 else
7176   ac_have_decl=0
7177 fi
7178
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_DECL_ASPRINTF $ac_have_decl
7181 _ACEOF
7182 ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7183 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
7184   ac_have_decl=1
7185 else
7186   ac_have_decl=0
7187 fi
7188
7189 cat >>confdefs.h <<_ACEOF
7190 #define HAVE_DECL_VASPRINTF $ac_have_decl
7191 _ACEOF
7192 ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7193 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
7194   ac_have_decl=1
7195 else
7196   ac_have_decl=0
7197 fi
7198
7199 cat >>confdefs.h <<_ACEOF
7200 #define HAVE_DECL_SNPRINTF $ac_have_decl
7201 _ACEOF
7202 ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7203 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
7204   ac_have_decl=1
7205 else
7206   ac_have_decl=0
7207 fi
7208
7209 cat >>confdefs.h <<_ACEOF
7210 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7211 _ACEOF
7212 ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7213 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
7214   ac_have_decl=1
7215 else
7216   ac_have_decl=0
7217 fi
7218
7219 cat >>confdefs.h <<_ACEOF
7220 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7221 _ACEOF
7222 ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7223 if test "x$ac_cv_have_decl_strndup" = x""yes; then :
7224   ac_have_decl=1
7225 else
7226   ac_have_decl=0
7227 fi
7228
7229 cat >>confdefs.h <<_ACEOF
7230 #define HAVE_DECL_STRNDUP $ac_have_decl
7231 _ACEOF
7232 ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7233 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
7234   ac_have_decl=1
7235 else
7236   ac_have_decl=0
7237 fi
7238
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_DECL_MEMMEM $ac_have_decl
7241 _ACEOF
7242
7243
7244 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7245 # at link time with some versions of GCC.
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7247 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7248 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7249   $as_echo_n "(cached) " >&6
7250 else
7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7252 /* end confdefs.h.  */
7253
7254 #include <tr1/unordered_map>
7255 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7256
7257 int
7258 main ()
7259 {
7260
7261   ;
7262   return 0;
7263 }
7264 _ACEOF
7265 if ac_fn_cxx_try_link "$LINENO"; then :
7266   gold_cv_unordered_map_rehash=yes
7267 else
7268   gold_cv_unordered_map_rehash=no
7269 fi
7270 rm -f core conftest.err conftest.$ac_objext \
7271     conftest$ac_exeext conftest.$ac_ext
7272 fi
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7274 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7275 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7276
7277 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7278
7279 fi
7280
7281 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7282 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7284 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7285 if test "${gold_cv_hash_off_t+set}" = set; then :
7286   $as_echo_n "(cached) " >&6
7287 else
7288   CXXFLAGS_hold=$CXXFLAGS
7289 CXXFLAGS="$CXXFLAGS $LFS_CFLAGS"
7290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h.  */
7292
7293 #include <sys/types.h>
7294 #include <tr1/unordered_map>
7295 std::tr1::hash<off_t> h;
7296
7297 _ACEOF
7298 if ac_fn_cxx_try_compile "$LINENO"; then :
7299   gold_cv_hash_off_t=yes
7300 else
7301   gold_cv_hash_off_t=no
7302 fi
7303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7304 CXXFLAGS=$CFLAGS_hold
7305 fi
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7307 $as_echo "$gold_cv_hash_off_t" >&6; }
7308 if test "$gold_cv_hash_off_t" = "yes"; then
7309
7310 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7311
7312 fi
7313
7314 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7315 # function.  Check for that.  This is gcc bug 35546.  This test can
7316 # probably be removed after the bug has been fixed for a while.
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7318 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7319 if test "${gold_cv_template_attribute+set}" = set; then :
7320   $as_echo_n "(cached) " >&6
7321 else
7322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h.  */
7324
7325 template<typename T> extern void foo(const char*, ...)
7326   __attribute__ ((__format__ (__printf__, 1, 2)));
7327 template<typename T> void foo(const char* format, ...) {}
7328 void bar() { foo<int>("%s\n", "foo"); }
7329
7330 _ACEOF
7331 if ac_fn_cxx_try_compile "$LINENO"; then :
7332   gold_cv_template_attribute=yes
7333 else
7334   gold_cv_template_attribute=no
7335 fi
7336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7337 fi
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7339 $as_echo "$gold_cv_template_attribute" >&6; }
7340 if test "$gold_cv_template_attribute" = "yes"; then
7341
7342 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7343
7344 fi
7345
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7347 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7348 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7349   $as_echo_n "(cached) " >&6
7350 else
7351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7352 /* end confdefs.h.  */
7353
7354 #include <sys/stat.h>
7355 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7356
7357 int
7358 main ()
7359 {
7360
7361   ;
7362   return 0;
7363 }
7364 _ACEOF
7365 if ac_fn_cxx_try_compile "$LINENO"; then :
7366   gold_cv_stat_st_mtim=yes
7367 else
7368   gold_cv_stat_st_mtim=no
7369 fi
7370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7371 fi
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7373 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7374 if test "$gold_cv_stat_st_mtim" = "yes"; then
7375
7376 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7377
7378 fi
7379
7380 save_CXXFLAGS="$CXXFLAGS"
7381 CXXFLAGS="$CXXFLAGS -gpubnames"
7382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383 /* end confdefs.h.  */
7384 int i;
7385 _ACEOF
7386 if ac_fn_cxx_try_compile "$LINENO"; then :
7387   have_pubnames=yes
7388 else
7389   have_pubnames=no
7390 fi
7391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7392 CXXFLAGS="$save_CXXFLAGS"
7393  if test "$have_pubnames" = "yes"; then
7394   HAVE_PUBNAMES_TRUE=
7395   HAVE_PUBNAMES_FALSE='#'
7396 else
7397   HAVE_PUBNAMES_TRUE='#'
7398   HAVE_PUBNAMES_FALSE=
7399 fi
7400
7401
7402 ac_ext=c
7403 ac_cpp='$CPP $CPPFLAGS'
7404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7407
7408
7409 for ac_header in locale.h
7410 do :
7411   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7412 if test "x$ac_cv_header_locale_h" = x""yes; then :
7413   cat >>confdefs.h <<_ACEOF
7414 #define HAVE_LOCALE_H 1
7415 _ACEOF
7416
7417 fi
7418
7419 done
7420
7421 for ac_func in setlocale
7422 do :
7423   ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
7424 if test "x$ac_cv_func_setlocale" = x""yes; then :
7425   cat >>confdefs.h <<_ACEOF
7426 #define HAVE_SETLOCALE 1
7427 _ACEOF
7428
7429 fi
7430 done
7431
7432
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7434 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7435 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7436   $as_echo_n "(cached) " >&6
7437 else
7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h.  */
7440 #include <locale.h>
7441 int
7442 main ()
7443 {
7444 return LC_MESSAGES
7445   ;
7446   return 0;
7447 }
7448 _ACEOF
7449 if ac_fn_c_try_link "$LINENO"; then :
7450   am_cv_val_LC_MESSAGES=yes
7451 else
7452   am_cv_val_LC_MESSAGES=no
7453 fi
7454 rm -f core conftest.err conftest.$ac_objext \
7455     conftest$ac_exeext conftest.$ac_ext
7456 fi
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7458 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7459   if test $am_cv_val_LC_MESSAGES = yes; then
7460
7461 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7462
7463   fi
7464
7465
7466
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7468 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7469     # Check whether --enable-maintainer-mode was given.
7470 if test "${enable_maintainer_mode+set}" = set; then :
7471   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7472 else
7473   USE_MAINTAINER_MODE=no
7474 fi
7475
7476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7477 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7478    if test $USE_MAINTAINER_MODE = yes; then
7479   MAINTAINER_MODE_TRUE=
7480   MAINTAINER_MODE_FALSE='#'
7481 else
7482   MAINTAINER_MODE_TRUE='#'
7483   MAINTAINER_MODE_FALSE=
7484 fi
7485
7486   MAINT=$MAINTAINER_MODE_TRUE
7487
7488
7489
7490 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7491
7492 cat >confcache <<\_ACEOF
7493 # This file is a shell script that caches the results of configure
7494 # tests run on this system so they can be shared between configure
7495 # scripts and configure runs, see configure's option --config-cache.
7496 # It is not useful on other systems.  If it contains results you don't
7497 # want to keep, you may remove or edit it.
7498 #
7499 # config.status only pays attention to the cache file if you give it
7500 # the --recheck option to rerun configure.
7501 #
7502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7504 # following values.
7505
7506 _ACEOF
7507
7508 # The following way of writing the cache mishandles newlines in values,
7509 # but we know of no workaround that is simple, portable, and efficient.
7510 # So, we kill variables containing newlines.
7511 # Ultrix sh set writes to stderr and can't be redirected directly,
7512 # and sets the high bit in the cache file unless we assign to the vars.
7513 (
7514   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7515     eval ac_val=\$$ac_var
7516     case $ac_val in #(
7517     *${as_nl}*)
7518       case $ac_var in #(
7519       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7520 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7521       esac
7522       case $ac_var in #(
7523       _ | IFS | as_nl) ;; #(
7524       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7525       *) { eval $ac_var=; unset $ac_var;} ;;
7526       esac ;;
7527     esac
7528   done
7529
7530   (set) 2>&1 |
7531     case $as_nl`(ac_space=' '; set) 2>&1` in #(
7532     *${as_nl}ac_space=\ *)
7533       # `set' does not quote correctly, so add quotes: double-quote
7534       # substitution turns \\\\ into \\, and sed turns \\ into \.
7535       sed -n \
7536         "s/'/'\\\\''/g;
7537           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7538       ;; #(
7539     *)
7540       # `set' quotes correctly as required by POSIX, so do not add quotes.
7541       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7542       ;;
7543     esac |
7544     sort
7545 ) |
7546   sed '
7547      /^ac_cv_env_/b end
7548      t clear
7549      :clear
7550      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7551      t end
7552      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7553      :end' >>confcache
7554 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7555   if test -w "$cache_file"; then
7556     test "x$cache_file" != "x/dev/null" &&
7557       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7558 $as_echo "$as_me: updating cache $cache_file" >&6;}
7559     cat confcache >$cache_file
7560   else
7561     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7563   fi
7564 fi
7565 rm -f confcache
7566
7567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7568 # Let make expand exec_prefix.
7569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7570
7571 DEFS=-DHAVE_CONFIG_H
7572
7573 ac_libobjs=
7574 ac_ltlibobjs=
7575 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7576   # 1. Remove the extension, and $U if already installed.
7577   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7578   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7579   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7580   #    will be set to the directory where LIBOBJS objects are built.
7581   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7582   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7583 done
7584 LIBOBJS=$ac_libobjs
7585
7586 LTLIBOBJS=$ac_ltlibobjs
7587
7588
7589  if test -n "$EXEEXT"; then
7590   am__EXEEXT_TRUE=
7591   am__EXEEXT_FALSE='#'
7592 else
7593   am__EXEEXT_TRUE='#'
7594   am__EXEEXT_FALSE=
7595 fi
7596
7597 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7598   as_fn_error "conditional \"THREADS\" was never defined.
7599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7600 fi
7601 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7602   as_fn_error "conditional \"PLUGINS\" was never defined.
7603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7604 fi
7605 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7606   as_fn_error "conditional \"DEFAULT_TARGET_ARM\" was never defined.
7607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7608 fi
7609 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7610   as_fn_error "conditional \"DEFAULT_TARGET_I386\" was never defined.
7611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7612 fi
7613 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7614   as_fn_error "conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7616 fi
7617 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7618   as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7620 fi
7621 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7622   as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7624 fi
7625 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7626   as_fn_error "conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7628 fi
7629 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7630   as_fn_error "conditional \"AMDEP\" was never defined.
7631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7632 fi
7633 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7634   as_fn_error "conditional \"am__fastdepCC\" was never defined.
7635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7636 fi
7637 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7638   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
7639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7640 fi
7641
7642 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7643   as_fn_error "conditional \"NATIVE_LINKER\" was never defined.
7644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7645 fi
7646 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7647   as_fn_error "conditional \"GCC\" was never defined.
7648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7649 fi
7650 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7651   as_fn_error "conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7653 fi
7654 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7655   as_fn_error "conditional \"HAVE_STATIC\" was never defined.
7656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7657 fi
7658 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7659   as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7661 fi
7662 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7663   as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined.
7664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7665 fi
7666 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7667   as_fn_error "conditional \"TLS\" was never defined.
7668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7669 fi
7670 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7671   as_fn_error "conditional \"STATIC_TLS\" was never defined.
7672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7673 fi
7674 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7675   as_fn_error "conditional \"OMP_SUPPORT\" was never defined.
7676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7677 fi
7678 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7679   as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined.
7680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7681 fi
7682 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7683   as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined.
7684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7685 fi
7686 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7687   as_fn_error "conditional \"IFUNC\" was never defined.
7688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7689 fi
7690 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7691   as_fn_error "conditional \"IFUNC_STATIC\" was never defined.
7692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7693 fi
7694 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7695   as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
7696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7697 fi
7698 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7699   as_fn_error "conditional \"HAVE_PUBNAMES\" was never defined.
7700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7701 fi
7702 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7703   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
7704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7705 fi
7706
7707 : ${CONFIG_STATUS=./config.status}
7708 ac_write_fail=0
7709 ac_clean_files_save=$ac_clean_files
7710 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7712 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7713 as_write_fail=0
7714 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7715 #! $SHELL
7716 # Generated by $as_me.
7717 # Run this file to recreate the current configuration.
7718 # Compiler output produced by configure, useful for debugging
7719 # configure, is in config.log if it exists.
7720
7721 debug=false
7722 ac_cs_recheck=false
7723 ac_cs_silent=false
7724
7725 SHELL=\${CONFIG_SHELL-$SHELL}
7726 export SHELL
7727 _ASEOF
7728 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7729 ## -------------------- ##
7730 ## M4sh Initialization. ##
7731 ## -------------------- ##
7732
7733 # Be more Bourne compatible
7734 DUALCASE=1; export DUALCASE # for MKS sh
7735 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7736   emulate sh
7737   NULLCMD=:
7738   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7739   # is contrary to our usage.  Disable this feature.
7740   alias -g '${1+"$@"}'='"$@"'
7741   setopt NO_GLOB_SUBST
7742 else
7743   case `(set -o) 2>/dev/null` in #(
7744   *posix*) :
7745     set -o posix ;; #(
7746   *) :
7747      ;;
7748 esac
7749 fi
7750
7751
7752 as_nl='
7753 '
7754 export as_nl
7755 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7756 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7757 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7758 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7759 # Prefer a ksh shell builtin over an external printf program on Solaris,
7760 # but without wasting forks for bash or zsh.
7761 if test -z "$BASH_VERSION$ZSH_VERSION" \
7762     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7763   as_echo='print -r --'
7764   as_echo_n='print -rn --'
7765 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7766   as_echo='printf %s\n'
7767   as_echo_n='printf %s'
7768 else
7769   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7770     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7771     as_echo_n='/usr/ucb/echo -n'
7772   else
7773     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7774     as_echo_n_body='eval
7775       arg=$1;
7776       case $arg in #(
7777       *"$as_nl"*)
7778         expr "X$arg" : "X\\(.*\\)$as_nl";
7779         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7780       esac;
7781       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7782     '
7783     export as_echo_n_body
7784     as_echo_n='sh -c $as_echo_n_body as_echo'
7785   fi
7786   export as_echo_body
7787   as_echo='sh -c $as_echo_body as_echo'
7788 fi
7789
7790 # The user is always right.
7791 if test "${PATH_SEPARATOR+set}" != set; then
7792   PATH_SEPARATOR=:
7793   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7794     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7795       PATH_SEPARATOR=';'
7796   }
7797 fi
7798
7799
7800 # IFS
7801 # We need space, tab and new line, in precisely that order.  Quoting is
7802 # there to prevent editors from complaining about space-tab.
7803 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7804 # splitting by setting IFS to empty value.)
7805 IFS=" ""        $as_nl"
7806
7807 # Find who we are.  Look in the path if we contain no directory separator.
7808 case $0 in #((
7809   *[\\/]* ) as_myself=$0 ;;
7810   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 for as_dir in $PATH
7812 do
7813   IFS=$as_save_IFS
7814   test -z "$as_dir" && as_dir=.
7815     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7816   done
7817 IFS=$as_save_IFS
7818
7819      ;;
7820 esac
7821 # We did not find ourselves, most probably we were run as `sh COMMAND'
7822 # in which case we are not to be found in the path.
7823 if test "x$as_myself" = x; then
7824   as_myself=$0
7825 fi
7826 if test ! -f "$as_myself"; then
7827   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7828   exit 1
7829 fi
7830
7831 # Unset variables that we do not need and which cause bugs (e.g. in
7832 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7833 # suppresses any "Segmentation fault" message there.  '((' could
7834 # trigger a bug in pdksh 5.2.14.
7835 for as_var in BASH_ENV ENV MAIL MAILPATH
7836 do eval test x\${$as_var+set} = xset \
7837   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7838 done
7839 PS1='$ '
7840 PS2='> '
7841 PS4='+ '
7842
7843 # NLS nuisances.
7844 LC_ALL=C
7845 export LC_ALL
7846 LANGUAGE=C
7847 export LANGUAGE
7848
7849 # CDPATH.
7850 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7851
7852
7853 # as_fn_error ERROR [LINENO LOG_FD]
7854 # ---------------------------------
7855 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7856 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7857 # script with status $?, using 1 if that was 0.
7858 as_fn_error ()
7859 {
7860   as_status=$?; test $as_status -eq 0 && as_status=1
7861   if test "$3"; then
7862     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7863     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7864   fi
7865   $as_echo "$as_me: error: $1" >&2
7866   as_fn_exit $as_status
7867 } # as_fn_error
7868
7869
7870 # as_fn_set_status STATUS
7871 # -----------------------
7872 # Set $? to STATUS, without forking.
7873 as_fn_set_status ()
7874 {
7875   return $1
7876 } # as_fn_set_status
7877
7878 # as_fn_exit STATUS
7879 # -----------------
7880 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7881 as_fn_exit ()
7882 {
7883   set +e
7884   as_fn_set_status $1
7885   exit $1
7886 } # as_fn_exit
7887
7888 # as_fn_unset VAR
7889 # ---------------
7890 # Portably unset VAR.
7891 as_fn_unset ()
7892 {
7893   { eval $1=; unset $1;}
7894 }
7895 as_unset=as_fn_unset
7896 # as_fn_append VAR VALUE
7897 # ----------------------
7898 # Append the text in VALUE to the end of the definition contained in VAR. Take
7899 # advantage of any shell optimizations that allow amortized linear growth over
7900 # repeated appends, instead of the typical quadratic growth present in naive
7901 # implementations.
7902 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7903   eval 'as_fn_append ()
7904   {
7905     eval $1+=\$2
7906   }'
7907 else
7908   as_fn_append ()
7909   {
7910     eval $1=\$$1\$2
7911   }
7912 fi # as_fn_append
7913
7914 # as_fn_arith ARG...
7915 # ------------------
7916 # Perform arithmetic evaluation on the ARGs, and store the result in the
7917 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7918 # must be portable across $(()) and expr.
7919 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7920   eval 'as_fn_arith ()
7921   {
7922     as_val=$(( $* ))
7923   }'
7924 else
7925   as_fn_arith ()
7926   {
7927     as_val=`expr "$@" || test $? -eq 1`
7928   }
7929 fi # as_fn_arith
7930
7931
7932 if expr a : '\(a\)' >/dev/null 2>&1 &&
7933    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7934   as_expr=expr
7935 else
7936   as_expr=false
7937 fi
7938
7939 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7940   as_basename=basename
7941 else
7942   as_basename=false
7943 fi
7944
7945 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7946   as_dirname=dirname
7947 else
7948   as_dirname=false
7949 fi
7950
7951 as_me=`$as_basename -- "$0" ||
7952 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7953          X"$0" : 'X\(//\)$' \| \
7954          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7955 $as_echo X/"$0" |
7956     sed '/^.*\/\([^/][^/]*\)\/*$/{
7957             s//\1/
7958             q
7959           }
7960           /^X\/\(\/\/\)$/{
7961             s//\1/
7962             q
7963           }
7964           /^X\/\(\/\).*/{
7965             s//\1/
7966             q
7967           }
7968           s/.*/./; q'`
7969
7970 # Avoid depending upon Character Ranges.
7971 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7972 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7973 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7974 as_cr_digits='0123456789'
7975 as_cr_alnum=$as_cr_Letters$as_cr_digits
7976
7977 ECHO_C= ECHO_N= ECHO_T=
7978 case `echo -n x` in #(((((
7979 -n*)
7980   case `echo 'xy\c'` in
7981   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7982   xy)  ECHO_C='\c';;
7983   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7984        ECHO_T=' ';;
7985   esac;;
7986 *)
7987   ECHO_N='-n';;
7988 esac
7989
7990 rm -f conf$$ conf$$.exe conf$$.file
7991 if test -d conf$$.dir; then
7992   rm -f conf$$.dir/conf$$.file
7993 else
7994   rm -f conf$$.dir
7995   mkdir conf$$.dir 2>/dev/null
7996 fi
7997 if (echo >conf$$.file) 2>/dev/null; then
7998   if ln -s conf$$.file conf$$ 2>/dev/null; then
7999     as_ln_s='ln -s'
8000     # ... but there are two gotchas:
8001     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8002     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8003     # In both cases, we have to default to `cp -p'.
8004     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8005       as_ln_s='cp -p'
8006   elif ln conf$$.file conf$$ 2>/dev/null; then
8007     as_ln_s=ln
8008   else
8009     as_ln_s='cp -p'
8010   fi
8011 else
8012   as_ln_s='cp -p'
8013 fi
8014 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8015 rmdir conf$$.dir 2>/dev/null
8016
8017
8018 # as_fn_mkdir_p
8019 # -------------
8020 # Create "$as_dir" as a directory, including parents if necessary.
8021 as_fn_mkdir_p ()
8022 {
8023
8024   case $as_dir in #(
8025   -*) as_dir=./$as_dir;;
8026   esac
8027   test -d "$as_dir" || eval $as_mkdir_p || {
8028     as_dirs=
8029     while :; do
8030       case $as_dir in #(
8031       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8032       *) as_qdir=$as_dir;;
8033       esac
8034       as_dirs="'$as_qdir' $as_dirs"
8035       as_dir=`$as_dirname -- "$as_dir" ||
8036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8037          X"$as_dir" : 'X\(//\)[^/]' \| \
8038          X"$as_dir" : 'X\(//\)$' \| \
8039          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8040 $as_echo X"$as_dir" |
8041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8042             s//\1/
8043             q
8044           }
8045           /^X\(\/\/\)[^/].*/{
8046             s//\1/
8047             q
8048           }
8049           /^X\(\/\/\)$/{
8050             s//\1/
8051             q
8052           }
8053           /^X\(\/\).*/{
8054             s//\1/
8055             q
8056           }
8057           s/.*/./; q'`
8058       test -d "$as_dir" && break
8059     done
8060     test -z "$as_dirs" || eval "mkdir $as_dirs"
8061   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
8062
8063
8064 } # as_fn_mkdir_p
8065 if mkdir -p . 2>/dev/null; then
8066   as_mkdir_p='mkdir -p "$as_dir"'
8067 else
8068   test -d ./-p && rmdir ./-p
8069   as_mkdir_p=false
8070 fi
8071
8072 if test -x / >/dev/null 2>&1; then
8073   as_test_x='test -x'
8074 else
8075   if ls -dL / >/dev/null 2>&1; then
8076     as_ls_L_option=L
8077   else
8078     as_ls_L_option=
8079   fi
8080   as_test_x='
8081     eval sh -c '\''
8082       if test -d "$1"; then
8083         test -d "$1/.";
8084       else
8085         case $1 in #(
8086         -*)set "./$1";;
8087         esac;
8088         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8089         ???[sx]*):;;*)false;;esac;fi
8090     '\'' sh
8091   '
8092 fi
8093 as_executable_p=$as_test_x
8094
8095 # Sed expression to map a string onto a valid CPP name.
8096 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8097
8098 # Sed expression to map a string onto a valid variable name.
8099 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8100
8101
8102 exec 6>&1
8103 ## ----------------------------------- ##
8104 ## Main body of $CONFIG_STATUS script. ##
8105 ## ----------------------------------- ##
8106 _ASEOF
8107 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8108
8109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8110 # Save the log message, to keep $0 and so on meaningful, and to
8111 # report actual input values of CONFIG_FILES etc. instead of their
8112 # values after options handling.
8113 ac_log="
8114 This file was extended by gold $as_me 0.1, which was
8115 generated by GNU Autoconf 2.64.  Invocation command line was
8116
8117   CONFIG_FILES    = $CONFIG_FILES
8118   CONFIG_HEADERS  = $CONFIG_HEADERS
8119   CONFIG_LINKS    = $CONFIG_LINKS
8120   CONFIG_COMMANDS = $CONFIG_COMMANDS
8121   $ $0 $@
8122
8123 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8124 "
8125
8126 _ACEOF
8127
8128 case $ac_config_files in *"
8129 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8130 esac
8131
8132 case $ac_config_headers in *"
8133 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8134 esac
8135
8136
8137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8138 # Files that config.status was made for.
8139 config_files="$ac_config_files"
8140 config_headers="$ac_config_headers"
8141 config_commands="$ac_config_commands"
8142
8143 _ACEOF
8144
8145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8146 ac_cs_usage="\
8147 \`$as_me' instantiates files and other configuration actions
8148 from templates according to the current configuration.  Unless the files
8149 and actions are specified as TAGs, all are instantiated by default.
8150
8151 Usage: $0 [OPTION]... [TAG]...
8152
8153   -h, --help       print this help, then exit
8154   -V, --version    print version number and configuration settings, then exit
8155   -q, --quiet, --silent
8156                    do not print progress messages
8157   -d, --debug      don't remove temporary files
8158       --recheck    update $as_me by reconfiguring in the same conditions
8159       --file=FILE[:TEMPLATE]
8160                    instantiate the configuration file FILE
8161       --header=FILE[:TEMPLATE]
8162                    instantiate the configuration header FILE
8163
8164 Configuration files:
8165 $config_files
8166
8167 Configuration headers:
8168 $config_headers
8169
8170 Configuration commands:
8171 $config_commands
8172
8173 Report bugs to the package provider."
8174
8175 _ACEOF
8176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8177 ac_cs_version="\\
8178 gold config.status 0.1
8179 configured by $0, generated by GNU Autoconf 2.64,
8180   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8181
8182 Copyright (C) 2009 Free Software Foundation, Inc.
8183 This config.status script is free software; the Free Software Foundation
8184 gives unlimited permission to copy, distribute and modify it."
8185
8186 ac_pwd='$ac_pwd'
8187 srcdir='$srcdir'
8188 INSTALL='$INSTALL'
8189 MKDIR_P='$MKDIR_P'
8190 AWK='$AWK'
8191 test -n "\$AWK" || AWK=awk
8192 _ACEOF
8193
8194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8195 # The default lists apply if the user does not specify any file.
8196 ac_need_defaults=:
8197 while test $# != 0
8198 do
8199   case $1 in
8200   --*=*)
8201     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8202     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8203     ac_shift=:
8204     ;;
8205   *)
8206     ac_option=$1
8207     ac_optarg=$2
8208     ac_shift=shift
8209     ;;
8210   esac
8211
8212   case $ac_option in
8213   # Handling of the options.
8214   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8215     ac_cs_recheck=: ;;
8216   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8217     $as_echo "$ac_cs_version"; exit ;;
8218   --debug | --debu | --deb | --de | --d | -d )
8219     debug=: ;;
8220   --file | --fil | --fi | --f )
8221     $ac_shift
8222     case $ac_optarg in
8223     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8224     esac
8225     as_fn_append CONFIG_FILES " '$ac_optarg'"
8226     ac_need_defaults=false;;
8227   --header | --heade | --head | --hea )
8228     $ac_shift
8229     case $ac_optarg in
8230     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8231     esac
8232     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8233     ac_need_defaults=false;;
8234   --he | --h)
8235     # Conflict between --help and --header
8236     as_fn_error "ambiguous option: \`$1'
8237 Try \`$0 --help' for more information.";;
8238   --help | --hel | -h )
8239     $as_echo "$ac_cs_usage"; exit ;;
8240   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8241   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8242     ac_cs_silent=: ;;
8243
8244   # This is an error.
8245   -*) as_fn_error "unrecognized option: \`$1'
8246 Try \`$0 --help' for more information." ;;
8247
8248   *) as_fn_append ac_config_targets " $1"
8249      ac_need_defaults=false ;;
8250
8251   esac
8252   shift
8253 done
8254
8255 ac_configure_extra_args=
8256
8257 if $ac_cs_silent; then
8258   exec 6>/dev/null
8259   ac_configure_extra_args="$ac_configure_extra_args --silent"
8260 fi
8261
8262 _ACEOF
8263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8264 if \$ac_cs_recheck; then
8265   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8266   shift
8267   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8268   CONFIG_SHELL='$SHELL'
8269   export CONFIG_SHELL
8270   exec "\$@"
8271 fi
8272
8273 _ACEOF
8274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8275 exec 5>>config.log
8276 {
8277   echo
8278   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8279 ## Running $as_me. ##
8280 _ASBOX
8281   $as_echo "$ac_log"
8282 } >&5
8283
8284 _ACEOF
8285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8286 #
8287 # INIT-COMMANDS
8288 #
8289 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8290 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8291     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8292     # from automake.
8293     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8294     # Capture the value of LINGUAS because we need it to compute CATALOGS.
8295     LINGUAS="${LINGUAS-%UNSET%}"
8296
8297
8298 _ACEOF
8299
8300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8301
8302 # Handling of arguments.
8303 for ac_config_target in $ac_config_targets
8304 do
8305   case $ac_config_target in
8306     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8307     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8308     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8309     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8310     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
8311     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8312
8313   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8314   esac
8315 done
8316
8317
8318 # If the user did not use the arguments to specify the items to instantiate,
8319 # then the envvar interface is used.  Set only those that are not.
8320 # We use the long form for the default assignment because of an extremely
8321 # bizarre bug on SunOS 4.1.3.
8322 if $ac_need_defaults; then
8323   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8324   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8325   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8326 fi
8327
8328 # Have a temporary directory for convenience.  Make it in the build tree
8329 # simply because there is no reason against having it here, and in addition,
8330 # creating and moving files from /tmp can sometimes cause problems.
8331 # Hook for its removal unless debugging.
8332 # Note that there is a small window in which the directory will not be cleaned:
8333 # after its creation but before its name has been assigned to `$tmp'.
8334 $debug ||
8335 {
8336   tmp=
8337   trap 'exit_status=$?
8338   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8339 ' 0
8340   trap 'as_fn_exit 1' 1 2 13 15
8341 }
8342 # Create a (secure) tmp directory for tmp files.
8343
8344 {
8345   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8346   test -n "$tmp" && test -d "$tmp"
8347 }  ||
8348 {
8349   tmp=./conf$$-$RANDOM
8350   (umask 077 && mkdir "$tmp")
8351 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8352
8353 # Set up the scripts for CONFIG_FILES section.
8354 # No need to generate them if there are no CONFIG_FILES.
8355 # This happens for instance with `./config.status config.h'.
8356 if test -n "$CONFIG_FILES"; then
8357
8358
8359 ac_cr=`echo X | tr X '\015'`
8360 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8361 # But we know of no other shell where ac_cr would be empty at this
8362 # point, so we can use a bashism as a fallback.
8363 if test "x$ac_cr" = x; then
8364   eval ac_cr=\$\'\\r\'
8365 fi
8366 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8367 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8368   ac_cs_awk_cr='\r'
8369 else
8370   ac_cs_awk_cr=$ac_cr
8371 fi
8372
8373 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8374 _ACEOF
8375
8376
8377 {
8378   echo "cat >conf$$subs.awk <<_ACEOF" &&
8379   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8380   echo "_ACEOF"
8381 } >conf$$subs.sh ||
8382   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8383 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8384 ac_delim='%!_!# '
8385 for ac_last_try in false false false false false :; do
8386   . ./conf$$subs.sh ||
8387     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8388
8389   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8390   if test $ac_delim_n = $ac_delim_num; then
8391     break
8392   elif $ac_last_try; then
8393     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8394   else
8395     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8396   fi
8397 done
8398 rm -f conf$$subs.sh
8399
8400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8401 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8402 _ACEOF
8403 sed -n '
8404 h
8405 s/^/S["/; s/!.*/"]=/
8406 p
8407 g
8408 s/^[^!]*!//
8409 :repl
8410 t repl
8411 s/'"$ac_delim"'$//
8412 t delim
8413 :nl
8414 h
8415 s/\(.\{148\}\).*/\1/
8416 t more1
8417 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8418 p
8419 n
8420 b repl
8421 :more1
8422 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8423 p
8424 g
8425 s/.\{148\}//
8426 t nl
8427 :delim
8428 h
8429 s/\(.\{148\}\).*/\1/
8430 t more2
8431 s/["\\]/\\&/g; s/^/"/; s/$/"/
8432 p
8433 b
8434 :more2
8435 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8436 p
8437 g
8438 s/.\{148\}//
8439 t delim
8440 ' <conf$$subs.awk | sed '
8441 /^[^""]/{
8442   N
8443   s/\n//
8444 }
8445 ' >>$CONFIG_STATUS || ac_write_fail=1
8446 rm -f conf$$subs.awk
8447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8448 _ACAWK
8449 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8450   for (key in S) S_is_set[key] = 1
8451   FS = "\a"
8452
8453 }
8454 {
8455   line = $ 0
8456   nfields = split(line, field, "@")
8457   substed = 0
8458   len = length(field[1])
8459   for (i = 2; i < nfields; i++) {
8460     key = field[i]
8461     keylen = length(key)
8462     if (S_is_set[key]) {
8463       value = S[key]
8464       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8465       len += length(value) + length(field[++i])
8466       substed = 1
8467     } else
8468       len += 1 + keylen
8469   }
8470
8471   print line
8472 }
8473
8474 _ACAWK
8475 _ACEOF
8476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8477 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8478   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8479 else
8480   cat
8481 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8482   || as_fn_error "could not setup config files machinery" "$LINENO" 5
8483 _ACEOF
8484
8485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8487 # trailing colons and then remove the whole line if VPATH becomes empty
8488 # (actually we leave an empty line to preserve line numbers).
8489 if test "x$srcdir" = x.; then
8490   ac_vpsub='/^[  ]*VPATH[        ]*=/{
8491 s/:*\$(srcdir):*/:/
8492 s/:*\${srcdir}:*/:/
8493 s/:*@srcdir@:*/:/
8494 s/^\([^=]*=[     ]*\):*/\1/
8495 s/:*$//
8496 s/^[^=]*=[       ]*$//
8497 }'
8498 fi
8499
8500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8501 fi # test -n "$CONFIG_FILES"
8502
8503 # Set up the scripts for CONFIG_HEADERS section.
8504 # No need to generate them if there are no CONFIG_HEADERS.
8505 # This happens for instance with `./config.status Makefile'.
8506 if test -n "$CONFIG_HEADERS"; then
8507 cat >"$tmp/defines.awk" <<\_ACAWK ||
8508 BEGIN {
8509 _ACEOF
8510
8511 # Transform confdefs.h into an awk script `defines.awk', embedded as
8512 # here-document in config.status, that substitutes the proper values into
8513 # config.h.in to produce config.h.
8514
8515 # Create a delimiter string that does not exist in confdefs.h, to ease
8516 # handling of long lines.
8517 ac_delim='%!_!# '
8518 for ac_last_try in false false :; do
8519   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8520   if test -z "$ac_t"; then
8521     break
8522   elif $ac_last_try; then
8523     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8524   else
8525     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8526   fi
8527 done
8528
8529 # For the awk script, D is an array of macro values keyed by name,
8530 # likewise P contains macro parameters if any.  Preserve backslash
8531 # newline sequences.
8532
8533 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8534 sed -n '
8535 s/.\{148\}/&'"$ac_delim"'/g
8536 t rset
8537 :rset
8538 s/^[     ]*#[    ]*define[       ][      ]*/ /
8539 t def
8540 d
8541 :def
8542 s/\\$//
8543 t bsnl
8544 s/["\\]/\\&/g
8545 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8546 D["\1"]=" \3"/p
8547 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
8548 d
8549 :bsnl
8550 s/["\\]/\\&/g
8551 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8552 D["\1"]=" \3\\\\\\n"\\/p
8553 t cont
8554 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8555 t cont
8556 d
8557 :cont
8558 n
8559 s/.\{148\}/&'"$ac_delim"'/g
8560 t clear
8561 :clear
8562 s/\\$//
8563 t bsnlc
8564 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8565 d
8566 :bsnlc
8567 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8568 b cont
8569 ' <confdefs.h | sed '
8570 s/'"$ac_delim"'/"\\\
8571 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8572
8573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8574   for (key in D) D_is_set[key] = 1
8575   FS = "\a"
8576 }
8577 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8578   line = \$ 0
8579   split(line, arg, " ")
8580   if (arg[1] == "#") {
8581     defundef = arg[2]
8582     mac1 = arg[3]
8583   } else {
8584     defundef = substr(arg[1], 2)
8585     mac1 = arg[2]
8586   }
8587   split(mac1, mac2, "(") #)
8588   macro = mac2[1]
8589   prefix = substr(line, 1, index(line, defundef) - 1)
8590   if (D_is_set[macro]) {
8591     # Preserve the white space surrounding the "#".
8592     print prefix "define", macro P[macro] D[macro]
8593     next
8594   } else {
8595     # Replace #undef with comments.  This is necessary, for example,
8596     # in the case of _POSIX_SOURCE, which is predefined and required
8597     # on some systems where configure will not decide to define it.
8598     if (defundef == "undef") {
8599       print "/*", prefix defundef, macro, "*/"
8600       next
8601     }
8602   }
8603 }
8604 { print }
8605 _ACAWK
8606 _ACEOF
8607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8608   as_fn_error "could not setup config headers machinery" "$LINENO" 5
8609 fi # test -n "$CONFIG_HEADERS"
8610
8611
8612 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8613 shift
8614 for ac_tag
8615 do
8616   case $ac_tag in
8617   :[FHLC]) ac_mode=$ac_tag; continue;;
8618   esac
8619   case $ac_mode$ac_tag in
8620   :[FHL]*:*);;
8621   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8622   :[FH]-) ac_tag=-:-;;
8623   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8624   esac
8625   ac_save_IFS=$IFS
8626   IFS=:
8627   set x $ac_tag
8628   IFS=$ac_save_IFS
8629   shift
8630   ac_file=$1
8631   shift
8632
8633   case $ac_mode in
8634   :L) ac_source=$1;;
8635   :[FH])
8636     ac_file_inputs=
8637     for ac_f
8638     do
8639       case $ac_f in
8640       -) ac_f="$tmp/stdin";;
8641       *) # Look for the file first in the build tree, then in the source tree
8642          # (if the path is not absolute).  The absolute path cannot be DOS-style,
8643          # because $ac_f cannot contain `:'.
8644          test -f "$ac_f" ||
8645            case $ac_f in
8646            [\\/$]*) false;;
8647            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8648            esac ||
8649            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8650       esac
8651       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8652       as_fn_append ac_file_inputs " '$ac_f'"
8653     done
8654
8655     # Let's still pretend it is `configure' which instantiates (i.e., don't
8656     # use $as_me), people would be surprised to read:
8657     #    /* config.h.  Generated by config.status.  */
8658     configure_input='Generated from '`
8659           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8660         `' by configure.'
8661     if test x"$ac_file" != x-; then
8662       configure_input="$ac_file.  $configure_input"
8663       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8664 $as_echo "$as_me: creating $ac_file" >&6;}
8665     fi
8666     # Neutralize special characters interpreted by sed in replacement strings.
8667     case $configure_input in #(
8668     *\&* | *\|* | *\\* )
8669        ac_sed_conf_input=`$as_echo "$configure_input" |
8670        sed 's/[\\\\&|]/\\\\&/g'`;; #(
8671     *) ac_sed_conf_input=$configure_input;;
8672     esac
8673
8674     case $ac_tag in
8675     *:-:* | *:-) cat >"$tmp/stdin" \
8676       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8677     esac
8678     ;;
8679   esac
8680
8681   ac_dir=`$as_dirname -- "$ac_file" ||
8682 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8683          X"$ac_file" : 'X\(//\)[^/]' \| \
8684          X"$ac_file" : 'X\(//\)$' \| \
8685          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8686 $as_echo X"$ac_file" |
8687     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8688             s//\1/
8689             q
8690           }
8691           /^X\(\/\/\)[^/].*/{
8692             s//\1/
8693             q
8694           }
8695           /^X\(\/\/\)$/{
8696             s//\1/
8697             q
8698           }
8699           /^X\(\/\).*/{
8700             s//\1/
8701             q
8702           }
8703           s/.*/./; q'`
8704   as_dir="$ac_dir"; as_fn_mkdir_p
8705   ac_builddir=.
8706
8707 case "$ac_dir" in
8708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8709 *)
8710   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8711   # A ".." for each directory in $ac_dir_suffix.
8712   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8713   case $ac_top_builddir_sub in
8714   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8715   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8716   esac ;;
8717 esac
8718 ac_abs_top_builddir=$ac_pwd
8719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8720 # for backward compatibility:
8721 ac_top_builddir=$ac_top_build_prefix
8722
8723 case $srcdir in
8724   .)  # We are building in place.
8725     ac_srcdir=.
8726     ac_top_srcdir=$ac_top_builddir_sub
8727     ac_abs_top_srcdir=$ac_pwd ;;
8728   [\\/]* | ?:[\\/]* )  # Absolute name.
8729     ac_srcdir=$srcdir$ac_dir_suffix;
8730     ac_top_srcdir=$srcdir
8731     ac_abs_top_srcdir=$srcdir ;;
8732   *) # Relative name.
8733     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8734     ac_top_srcdir=$ac_top_build_prefix$srcdir
8735     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8736 esac
8737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8738
8739
8740   case $ac_mode in
8741   :F)
8742   #
8743   # CONFIG_FILE
8744   #
8745
8746   case $INSTALL in
8747   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8748   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8749   esac
8750   ac_MKDIR_P=$MKDIR_P
8751   case $MKDIR_P in
8752   [\\/$]* | ?:[\\/]* ) ;;
8753   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8754   esac
8755 _ACEOF
8756
8757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8758 # If the template does not know about datarootdir, expand it.
8759 # FIXME: This hack should be removed a few years after 2.60.
8760 ac_datarootdir_hack=; ac_datarootdir_seen=
8761 ac_sed_dataroot='
8762 /datarootdir/ {
8763   p
8764   q
8765 }
8766 /@datadir@/p
8767 /@docdir@/p
8768 /@infodir@/p
8769 /@localedir@/p
8770 /@mandir@/p'
8771 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8772 *datarootdir*) ac_datarootdir_seen=yes;;
8773 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8774   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8775 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8776 _ACEOF
8777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8778   ac_datarootdir_hack='
8779   s&@datadir@&$datadir&g
8780   s&@docdir@&$docdir&g
8781   s&@infodir@&$infodir&g
8782   s&@localedir@&$localedir&g
8783   s&@mandir@&$mandir&g
8784   s&\\\${datarootdir}&$datarootdir&g' ;;
8785 esac
8786 _ACEOF
8787
8788 # Neutralize VPATH when `$srcdir' = `.'.
8789 # Shell code in configure.ac might set extrasub.
8790 # FIXME: do we really want to maintain this feature?
8791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8792 ac_sed_extra="$ac_vpsub
8793 $extrasub
8794 _ACEOF
8795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8796 :t
8797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8798 s|@configure_input@|$ac_sed_conf_input|;t t
8799 s&@top_builddir@&$ac_top_builddir_sub&;t t
8800 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8801 s&@srcdir@&$ac_srcdir&;t t
8802 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8803 s&@top_srcdir@&$ac_top_srcdir&;t t
8804 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8805 s&@builddir@&$ac_builddir&;t t
8806 s&@abs_builddir@&$ac_abs_builddir&;t t
8807 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8808 s&@INSTALL@&$ac_INSTALL&;t t
8809 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8810 $ac_datarootdir_hack
8811 "
8812 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8813   || as_fn_error "could not create $ac_file" "$LINENO" 5
8814
8815 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8816   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8817   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8818   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8819 which seems to be undefined.  Please make sure it is defined." >&5
8820 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8821 which seems to be undefined.  Please make sure it is defined." >&2;}
8822
8823   rm -f "$tmp/stdin"
8824   case $ac_file in
8825   -) cat "$tmp/out" && rm -f "$tmp/out";;
8826   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8827   esac \
8828   || as_fn_error "could not create $ac_file" "$LINENO" 5
8829  ;;
8830   :H)
8831   #
8832   # CONFIG_HEADER
8833   #
8834   if test x"$ac_file" != x-; then
8835     {
8836       $as_echo "/* $configure_input  */" \
8837       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8838     } >"$tmp/config.h" \
8839       || as_fn_error "could not create $ac_file" "$LINENO" 5
8840     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8841       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8842 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8843     else
8844       rm -f "$ac_file"
8845       mv "$tmp/config.h" "$ac_file" \
8846         || as_fn_error "could not create $ac_file" "$LINENO" 5
8847     fi
8848   else
8849     $as_echo "/* $configure_input  */" \
8850       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8851       || as_fn_error "could not create -" "$LINENO" 5
8852   fi
8853 # Compute "$ac_file"'s index in $config_headers.
8854 _am_arg="$ac_file"
8855 _am_stamp_count=1
8856 for _am_header in $config_headers :; do
8857   case $_am_header in
8858     $_am_arg | $_am_arg:* )
8859       break ;;
8860     * )
8861       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8862   esac
8863 done
8864 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8865 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8866          X"$_am_arg" : 'X\(//\)[^/]' \| \
8867          X"$_am_arg" : 'X\(//\)$' \| \
8868          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8869 $as_echo X"$_am_arg" |
8870     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8871             s//\1/
8872             q
8873           }
8874           /^X\(\/\/\)[^/].*/{
8875             s//\1/
8876             q
8877           }
8878           /^X\(\/\/\)$/{
8879             s//\1/
8880             q
8881           }
8882           /^X\(\/\).*/{
8883             s//\1/
8884             q
8885           }
8886           s/.*/./; q'`/stamp-h$_am_stamp_count
8887  ;;
8888
8889   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8890 $as_echo "$as_me: executing $ac_file commands" >&6;}
8891  ;;
8892   esac
8893
8894
8895   case $ac_file$ac_mode in
8896     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8897   # Autoconf 2.62 quotes --file arguments for eval, but not when files
8898   # are listed without --file.  Let's play safe and only enable the eval
8899   # if we detect the quoting.
8900   case $CONFIG_FILES in
8901   *\'*) eval set x "$CONFIG_FILES" ;;
8902   *)   set x $CONFIG_FILES ;;
8903   esac
8904   shift
8905   for mf
8906   do
8907     # Strip MF so we end up with the name of the file.
8908     mf=`echo "$mf" | sed -e 's/:.*$//'`
8909     # Check whether this is an Automake generated Makefile or not.
8910     # We used to match only the files named `Makefile.in', but
8911     # some people rename them; so instead we look at the file content.
8912     # Grep'ing the first line is not enough: some people post-process
8913     # each Makefile.in and add a new line on top of each file to say so.
8914     # Grep'ing the whole file is not good either: AIX grep has a line
8915     # limit of 2048, but all sed's we know have understand at least 4000.
8916     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8917       dirpart=`$as_dirname -- "$mf" ||
8918 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8919          X"$mf" : 'X\(//\)[^/]' \| \
8920          X"$mf" : 'X\(//\)$' \| \
8921          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8922 $as_echo X"$mf" |
8923     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8924             s//\1/
8925             q
8926           }
8927           /^X\(\/\/\)[^/].*/{
8928             s//\1/
8929             q
8930           }
8931           /^X\(\/\/\)$/{
8932             s//\1/
8933             q
8934           }
8935           /^X\(\/\).*/{
8936             s//\1/
8937             q
8938           }
8939           s/.*/./; q'`
8940     else
8941       continue
8942     fi
8943     # Extract the definition of DEPDIR, am__include, and am__quote
8944     # from the Makefile without running `make'.
8945     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8946     test -z "$DEPDIR" && continue
8947     am__include=`sed -n 's/^am__include = //p' < "$mf"`
8948     test -z "am__include" && continue
8949     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8950     # When using ansi2knr, U may be empty or an underscore; expand it
8951     U=`sed -n 's/^U = //p' < "$mf"`
8952     # Find all dependency output files, they are included files with
8953     # $(DEPDIR) in their names.  We invoke sed twice because it is the
8954     # simplest approach to changing $(DEPDIR) to its actual value in the
8955     # expansion.
8956     for file in `sed -n "
8957       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8958          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8959       # Make sure the directory exists.
8960       test -f "$dirpart/$file" && continue
8961       fdir=`$as_dirname -- "$file" ||
8962 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8963          X"$file" : 'X\(//\)[^/]' \| \
8964          X"$file" : 'X\(//\)$' \| \
8965          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8966 $as_echo X"$file" |
8967     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8968             s//\1/
8969             q
8970           }
8971           /^X\(\/\/\)[^/].*/{
8972             s//\1/
8973             q
8974           }
8975           /^X\(\/\/\)$/{
8976             s//\1/
8977             q
8978           }
8979           /^X\(\/\).*/{
8980             s//\1/
8981             q
8982           }
8983           s/.*/./; q'`
8984       as_dir=$dirpart/$fdir; as_fn_mkdir_p
8985       # echo "creating $dirpart/$file"
8986       echo '# dummy' > "$dirpart/$file"
8987     done
8988   done
8989 }
8990  ;;
8991     "default-1":C)
8992     for ac_file in $CONFIG_FILES; do
8993       # Support "outfile[:infile[:infile...]]"
8994       case "$ac_file" in
8995         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8996       esac
8997       # PO directories have a Makefile.in generated from Makefile.in.in.
8998       case "$ac_file" in */Makefile.in)
8999         # Adjust a relative srcdir.
9000         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9001         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
9002         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9003         # In autoconf-2.13 it is called $ac_given_srcdir.
9004         # In autoconf-2.50 it is called $srcdir.
9005         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9006         case "$ac_given_srcdir" in
9007           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9008           /*) top_srcdir="$ac_given_srcdir" ;;
9009           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
9010         esac
9011         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9012           rm -f "$ac_dir/POTFILES"
9013           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9014           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9015           POMAKEFILEDEPS="POTFILES.in"
9016           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9017           # on $ac_dir but don't depend on user-specified configuration
9018           # parameters.
9019           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9020             # The LINGUAS file contains the set of available languages.
9021             if test -n "$OBSOLETE_ALL_LINGUAS"; then
9022               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9023             fi
9024             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9025             # Hide the ALL_LINGUAS assigment from automake.
9026             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9027             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9028           else
9029             # The set of available languages was given in configure.in.
9030             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9031           fi
9032           case "$ac_given_srcdir" in
9033             .) srcdirpre= ;;
9034             *) srcdirpre='$(srcdir)/' ;;
9035           esac
9036           POFILES=
9037           GMOFILES=
9038           UPDATEPOFILES=
9039           DUMMYPOFILES=
9040           for lang in $ALL_LINGUAS; do
9041             POFILES="$POFILES $srcdirpre$lang.po"
9042             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9043             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9044             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9045           done
9046           # CATALOGS depends on both $ac_dir and the user's LINGUAS
9047           # environment variable.
9048           INST_LINGUAS=
9049           if test -n "$ALL_LINGUAS"; then
9050             for presentlang in $ALL_LINGUAS; do
9051               useit=no
9052               if test "%UNSET%" != "$LINGUAS"; then
9053                 desiredlanguages="$LINGUAS"
9054               else
9055                 desiredlanguages="$ALL_LINGUAS"
9056               fi
9057               for desiredlang in $desiredlanguages; do
9058                 # Use the presentlang catalog if desiredlang is
9059                 #   a. equal to presentlang, or
9060                 #   b. a variant of presentlang (because in this case,
9061                 #      presentlang can be used as a fallback for messages
9062                 #      which are not translated in the desiredlang catalog).
9063                 case "$desiredlang" in
9064                   "$presentlang"*) useit=yes;;
9065                 esac
9066               done
9067               if test $useit = yes; then
9068                 INST_LINGUAS="$INST_LINGUAS $presentlang"
9069               fi
9070             done
9071           fi
9072           CATALOGS=
9073           if test -n "$INST_LINGUAS"; then
9074             for lang in $INST_LINGUAS; do
9075               CATALOGS="$CATALOGS $lang.gmo"
9076             done
9077           fi
9078           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9079           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"
9080           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9081             if test -f "$f"; then
9082               case "$f" in
9083                 *.orig | *.bak | *~) ;;
9084                 *) cat "$f" >> "$ac_dir/Makefile" ;;
9085               esac
9086             fi
9087           done
9088         fi
9089         ;;
9090       esac
9091     done ;;
9092
9093   esac
9094 done # for ac_tag
9095
9096
9097 as_fn_exit 0
9098 _ACEOF
9099 ac_clean_files=$ac_clean_files_save
9100
9101 test $ac_write_fail = 0 ||
9102   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9103
9104
9105 # configure is writing to config.log, and then calls config.status.
9106 # config.status does its own redirection, appending to config.log.
9107 # Unfortunately, on DOS this fails, as config.log is still kept open
9108 # by configure, so config.status won't be able to write to it; its
9109 # output is simply discarded.  So we exec the FD to /dev/null,
9110 # effectively closing config.log, so it can be properly (re)opened and
9111 # appended to by config.status.  When coming back to configure, we
9112 # need to make the FD available again.
9113 if test "$no_create" != yes; then
9114   ac_cs_success=:
9115   ac_config_status_args=
9116   test "$silent" = yes &&
9117     ac_config_status_args="$ac_config_status_args --quiet"
9118   exec 5>/dev/null
9119   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9120   exec 5>>config.log
9121   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9122   # would make configure fail if this is the last instruction.
9123   $ac_cs_success || as_fn_exit $?
9124 fi
9125 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9126   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9127 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9128 fi
9129