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