re PR libfortran/90374 (Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and...
[official-gcc.git] / libada / configure
bloba28be4068f09ff08c39d1fe388157b6d2c18e92c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
585 ac_unique_file="Makefile.in"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
622 ac_subst_vars='LTLIBOBJS
623 LIBOBJS
624 get_gcc_base_ver
625 have_capability
626 EGREP
627 GREP
629 have_getipinfo
630 default_gnatlib_target
631 LN_S
633 PICFLAG
634 enable_shared
635 OBJEXT
636 EXEEXT
637 ac_ct_CC
638 CPPFLAGS
639 LDFLAGS
640 CFLAGS
642 toolexeclibdir
643 toolexecdir
644 multi_basedir
645 MAINT
646 target_subdir
647 host_subdir
648 build_subdir
649 build_libsubdir
650 target_noncanonical
651 target_os
652 target_vendor
653 target_cpu
654 target
655 host_os
656 host_vendor
657 host_cpu
658 host
659 build_os
660 build_vendor
661 build_cpu
662 build
663 target_alias
664 host_alias
665 build_alias
666 LIBS
667 ECHO_T
668 ECHO_N
669 ECHO_C
670 DEFS
671 mandir
672 localedir
673 libdir
674 psdir
675 pdfdir
676 dvidir
677 htmldir
678 infodir
679 docdir
680 oldincludedir
681 includedir
682 localstatedir
683 sharedstatedir
684 sysconfdir
685 datadir
686 datarootdir
687 libexecdir
688 sbindir
689 bindir
690 program_transform_name
691 prefix
692 exec_prefix
693 PACKAGE_URL
694 PACKAGE_BUGREPORT
695 PACKAGE_STRING
696 PACKAGE_VERSION
697 PACKAGE_TARNAME
698 PACKAGE_NAME
699 PATH_SEPARATOR
700 SHELL'
701 ac_subst_files=''
702 ac_user_opts='
703 enable_option_checking
704 with_build_libsubdir
705 enable_version_specific_runtime_libs
706 enable_maintainer_mode
707 enable_multilib
708 enable_shared
709 with_system_libunwind
710 with_gcc_major_version_only
712 ac_precious_vars='build_alias
713 host_alias
714 target_alias
716 CPPFLAGS'
719 # Initialize some variables set by options.
720 ac_init_help=
721 ac_init_version=false
722 ac_unrecognized_opts=
723 ac_unrecognized_sep=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
726 cache_file=/dev/null
727 exec_prefix=NONE
728 no_create=
729 no_recursion=
730 prefix=NONE
731 program_prefix=NONE
732 program_suffix=NONE
733 program_transform_name=s,x,x,
734 silent=
735 site=
736 srcdir=
737 verbose=
738 x_includes=NONE
739 x_libraries=NONE
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE}'
758 infodir='${datarootdir}/info'
759 htmldir='${docdir}'
760 dvidir='${docdir}'
761 pdfdir='${docdir}'
762 psdir='${docdir}'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
767 ac_prev=
768 ac_dashdash=
769 for ac_option
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
774 ac_prev=
775 continue
778 case $ac_option in
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780 *=) ac_optarg= ;;
781 *) ac_optarg=yes ;;
782 esac
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
788 ac_dashdash=yes ;;
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
791 ac_prev=bindir ;;
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793 bindir=$ac_optarg ;;
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
807 --config-cache | -C)
808 cache_file=config.cache ;;
810 -datadir | --datadir | --datadi | --datad)
811 ac_prev=datadir ;;
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
831 "enable_$ac_useropt"
832 "*) ;;
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
835 esac
836 eval enable_$ac_useropt=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
839 ac_prev=docdir ;;
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 docdir=$ac_optarg ;;
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844 ac_prev=dvidir ;;
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 dvidir=$ac_optarg ;;
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
857 "enable_$ac_useropt"
858 "*) ;;
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
861 esac
862 eval enable_$ac_useropt=\$ac_optarg ;;
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
875 with_gas=yes ;;
877 -help | --help | --hel | --he | -h)
878 ac_init_help=long ;;
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890 ac_prev=htmldir ;;
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892 | --ht=*)
893 htmldir=$ac_optarg ;;
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
903 ac_prev=infodir ;;
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
907 -libdir | --libdir | --libdi | --libd)
908 ac_prev=libdir ;;
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 libdir=$ac_optarg ;;
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
919 -localedir | --localedir | --localedi | --localed | --locale)
920 ac_prev=localedir ;;
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932 ac_prev=mandir ;;
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 mandir=$ac_optarg ;;
936 -nfp | --nfp | --nf)
937 # Obsolete; use --without-fp.
938 with_fp=no ;;
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
942 no_create=yes ;;
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 no_recursion=yes ;;
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958 ac_prev=prefix ;;
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 prefix=$ac_optarg ;;
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
976 -program-transform-name | --program-transform-name \
977 | --program-transform-nam | --program-transform-na \
978 | --program-transform-n | --program-transform- \
979 | --program-transform | --program-transfor \
980 | --program-transfo | --program-transf \
981 | --program-trans | --program-tran \
982 | --progr-tra | --program-tr | --program-t)
983 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994 ac_prev=pdfdir ;;
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 pdfdir=$ac_optarg ;;
998 -psdir | --psdir | --psdi | --psd | --ps)
999 ac_prev=psdir ;;
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 psdir=$ac_optarg ;;
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1005 silent=yes ;;
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008 ac_prev=sbindir ;;
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010 | --sbi=* | --sb=*)
1011 sbindir=$ac_optarg ;;
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1016 | --sha | --sh)
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021 | --sha=* | --sh=*)
1022 sharedstatedir=$ac_optarg ;;
1024 -site | --site | --sit)
1025 ac_prev=site ;;
1026 -site=* | --site=* | --sit=*)
1027 site=$ac_optarg ;;
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030 ac_prev=srcdir ;;
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 verbose=yes ;;
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1052 -with-* | --with-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "with_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=\$ac_optarg ;;
1068 -without-* | --without-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid package name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1077 "with_$ac_useropt"
1078 "*) ;;
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1081 esac
1082 eval with_$ac_useropt=no ;;
1084 --x)
1085 # Obsolete; use --with-x.
1086 with_x=yes ;;
1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089 | --x-incl | --x-inc | --x-in | --x-i)
1090 ac_prev=x_includes ;;
1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093 x_includes=$ac_optarg ;;
1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097 ac_prev=x_libraries ;;
1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100 x_libraries=$ac_optarg ;;
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1106 *=*)
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1112 esac
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1124 esac
1125 done
1127 if test -n "$ac_prev"; then
1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $? "missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1134 no) ;;
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 esac
1140 # Check all directory arguments for consistency.
1141 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1148 case $ac_val in
1149 */ )
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1152 esac
1153 # Be sure to have absolute directory names.
1154 case $ac_val in
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157 esac
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1159 done
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1164 build=$build_alias
1165 host=$host_alias
1166 target=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170 if test "x$build_alias" = x; then
1171 cross_compiling=maybe
1172 elif test "x$build_alias" != "x$host_alias"; then
1173 cross_compiling=yes
1177 ac_tool_prefix=
1178 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1180 test "$silent" = yes && exec 6>/dev/null
1183 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di=`ls -di .` &&
1185 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1186 as_fn_error $? "working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 as_fn_error $? "pwd does not report name of working directory"
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 $as_echo X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 s//\1/
1205 /^X\(\/\/\)[^/].*/{
1206 s//\1/
1209 /^X\(\/\/\)$/{
1210 s//\1/
1213 /^X\(\/\).*/{
1214 s//\1/
1217 s/.*/./; q'`
1218 srcdir=$ac_confdir
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 srcdir=..
1222 else
1223 ac_srcdir_defaulted=no
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1229 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 ac_abs_confdir=`(
1231 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232 pwd)`
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1235 srcdir=.
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1240 case $srcdir in
1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 esac
1243 for ac_var in $ac_precious_vars; do
1244 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_${ac_var}_value=\$${ac_var}
1246 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1248 done
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1256 cat <<_ACEOF
1257 \`configure' configures this package to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1266 Configuration:
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking ...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1281 [PREFIX]
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1306 --htmldir=DIR html documentation [DOCDIR]
1307 --dvidir=DIR dvi documentation [DOCDIR]
1308 --pdfdir=DIR pdf documentation [DOCDIR]
1309 --psdir=DIR ps documentation [DOCDIR]
1310 _ACEOF
1312 cat <<\_ACEOF
1314 System types:
1315 --build=BUILD configure for building on BUILD [guessed]
1316 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1317 --target=TARGET configure for building compilers for TARGET [HOST]
1318 _ACEOF
1321 if test -n "$ac_init_help"; then
1323 cat <<\_ACEOF
1325 Optional Features:
1326 --disable-option-checking ignore unrecognized --enable/--with options
1327 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1328 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1329 --enable-version-specific-runtime-libs
1330 specify that runtime libraries should be installed
1331 in a compiler-specific directory
1332 --enable-maintainer-mode
1333 enable make rules and dependencies not useful (and
1334 sometimes confusing) to the casual installer
1335 --enable-multilib build many library versions (default)
1336 --disable-shared don't provide a shared libgnat
1338 Optional Packages:
1339 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1340 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1341 --with-build-libsubdir=DIR Directory where to find libraries for build system
1342 --with-system-libunwind use installed libunwind
1343 --with-gcc-major-version-only
1344 use only GCC major number in filesystem paths
1346 Some influential environment variables:
1347 CC C compiler command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1350 nonstandard directory <lib dir>
1351 LIBS libraries to pass to the linker, e.g. -l<library>
1352 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1353 you have headers in a nonstandard directory <include dir>
1354 CPP C preprocessor
1356 Use these variables to override the choices made by `configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1359 Report bugs to the package provider.
1360 _ACEOF
1361 ac_status=$?
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367 test -d "$ac_dir" ||
1368 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369 continue
1370 ac_builddir=.
1372 case "$ac_dir" in
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1376 # A ".." for each directory in $ac_dir_suffix.
1377 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1378 case $ac_top_builddir_sub in
1379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381 esac ;;
1382 esac
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1388 case $srcdir in
1389 .) # We are building in place.
1390 ac_srcdir=.
1391 ac_top_srcdir=$ac_top_builddir_sub
1392 ac_abs_top_srcdir=$ac_pwd ;;
1393 [\\/]* | ?:[\\/]* ) # Absolute name.
1394 ac_srcdir=$srcdir$ac_dir_suffix;
1395 ac_top_srcdir=$srcdir
1396 ac_abs_top_srcdir=$srcdir ;;
1397 *) # Relative name.
1398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399 ac_top_srcdir=$ac_top_build_prefix$srcdir
1400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 esac
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1404 cd "$ac_dir" || { ac_status=$?; continue; }
1405 # Check for guested configure.
1406 if test -f "$ac_srcdir/configure.gnu"; then
1407 echo &&
1408 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409 elif test -f "$ac_srcdir/configure"; then
1410 echo &&
1411 $SHELL "$ac_srcdir/configure" --help=recursive
1412 else
1413 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414 fi || ac_status=$?
1415 cd "$ac_pwd" || { ac_status=$?; break; }
1416 done
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1421 cat <<\_ACEOF
1422 configure
1423 generated by GNU Autoconf 2.69
1425 Copyright (C) 2012 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1428 _ACEOF
1429 exit
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
1436 # ac_fn_c_try_compile LINENO
1437 # --------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_c_try_compile ()
1441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442 rm -f conftest.$ac_objext
1443 if { { ac_try="$ac_compile"
1444 case "(($ac_try" in
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1447 esac
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_compile") 2>conftest.err
1451 ac_status=$?
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } && {
1459 test -z "$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1461 } && test -s conftest.$ac_objext; then :
1462 ac_retval=0
1463 else
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1467 ac_retval=1
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status $ac_retval
1472 } # ac_fn_c_try_compile
1474 # ac_fn_c_try_cpp LINENO
1475 # ----------------------
1476 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1477 ac_fn_c_try_cpp ()
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480 if { { ac_try="$ac_cpp conftest.$ac_ext"
1481 case "(($ac_try" in
1482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1483 *) ac_try_echo=$ac_try;;
1484 esac
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1488 ac_status=$?
1489 if test -s conftest.err; then
1490 grep -v '^ *+' conftest.err >conftest.er1
1491 cat conftest.er1 >&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } > conftest.i && {
1496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1498 }; then :
1499 ac_retval=0
1500 else
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1504 ac_retval=1
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status $ac_retval
1509 } # ac_fn_c_try_cpp
1511 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1512 # -------------------------------------------------------
1513 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1514 # the include files in INCLUDES and setting the cache variable VAR
1515 # accordingly.
1516 ac_fn_c_check_header_mongrel ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 if eval \${$3+:} false; then :
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1521 $as_echo_n "checking for $2... " >&6; }
1522 if eval \${$3+:} false; then :
1523 $as_echo_n "(cached) " >&6
1525 eval ac_res=\$$3
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1527 $as_echo "$ac_res" >&6; }
1528 else
1529 # Is the header compilable?
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1531 $as_echo_n "checking $2 usability... " >&6; }
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1535 #include <$2>
1536 _ACEOF
1537 if ac_fn_c_try_compile "$LINENO"; then :
1538 ac_header_compiler=yes
1539 else
1540 ac_header_compiler=no
1542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1544 $as_echo "$ac_header_compiler" >&6; }
1546 # Is the header present?
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1548 $as_echo_n "checking $2 presence... " >&6; }
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1550 /* end confdefs.h. */
1551 #include <$2>
1552 _ACEOF
1553 if ac_fn_c_try_cpp "$LINENO"; then :
1554 ac_header_preproc=yes
1555 else
1556 ac_header_preproc=no
1558 rm -f conftest.err conftest.i conftest.$ac_ext
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1560 $as_echo "$ac_header_preproc" >&6; }
1562 # So? What about this header?
1563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1564 yes:no: )
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1566 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1568 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 no:yes:* )
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1572 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1574 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1576 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1578 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1580 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1582 esac
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if eval \${$3+:} false; then :
1586 $as_echo_n "(cached) " >&6
1587 else
1588 eval "$3=\$ac_header_compiler"
1590 eval ac_res=\$$3
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 } # ac_fn_c_check_header_mongrel
1598 # ac_fn_c_try_run LINENO
1599 # ----------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1601 # that executables *can* be run.
1602 ac_fn_c_try_run ()
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { { ac_try="$ac_link"
1606 case "(($ac_try" in
1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1609 esac
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>&5
1613 ac_status=$?
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1616 { { case "(($ac_try" in
1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1619 esac
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_try") 2>&5
1623 ac_status=$?
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; }; }; then :
1626 ac_retval=0
1627 else
1628 $as_echo "$as_me: program exited with status $ac_status" >&5
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=$ac_status
1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1638 } # ac_fn_c_try_run
1640 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1641 # -------------------------------------------------------
1642 # Tests whether HEADER exists and can be compiled using the include files in
1643 # INCLUDES, setting the cache variable VAR accordingly.
1644 ac_fn_c_check_header_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if eval \${$3+:} false; then :
1650 $as_echo_n "(cached) " >&6
1651 else
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1655 #include <$2>
1656 _ACEOF
1657 if ac_fn_c_try_compile "$LINENO"; then :
1658 eval "$3=yes"
1659 else
1660 eval "$3=no"
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 eval ac_res=\$$3
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 } # ac_fn_c_check_header_compile
1670 cat >config.log <<_ACEOF
1671 This file contains any messages produced by compilers while
1672 running configure, to aid debugging if configure makes a mistake.
1674 It was created by $as_me, which was
1675 generated by GNU Autoconf 2.69. Invocation command line was
1677 $ $0 $@
1679 _ACEOF
1680 exec 5>>config.log
1682 cat <<_ASUNAME
1683 ## --------- ##
1684 ## Platform. ##
1685 ## --------- ##
1687 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1688 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1689 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1690 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1691 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1693 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1694 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1696 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1697 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1698 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1699 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1700 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1701 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1702 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1704 _ASUNAME
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707 for as_dir in $PATH
1709 IFS=$as_save_IFS
1710 test -z "$as_dir" && as_dir=.
1711 $as_echo "PATH: $as_dir"
1712 done
1713 IFS=$as_save_IFS
1715 } >&5
1717 cat >&5 <<_ACEOF
1720 ## ----------- ##
1721 ## Core tests. ##
1722 ## ----------- ##
1724 _ACEOF
1727 # Keep a trace of the command line.
1728 # Strip out --no-create and --no-recursion so they do not pile up.
1729 # Strip out --silent because we don't want to record it for future runs.
1730 # Also quote any args containing shell meta-characters.
1731 # Make two passes to allow for proper duplicate-argument suppression.
1732 ac_configure_args=
1733 ac_configure_args0=
1734 ac_configure_args1=
1735 ac_must_keep_next=false
1736 for ac_pass in 1 2
1738 for ac_arg
1740 case $ac_arg in
1741 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1743 | -silent | --silent | --silen | --sile | --sil)
1744 continue ;;
1745 *\'*)
1746 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1747 esac
1748 case $ac_pass in
1749 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1751 as_fn_append ac_configure_args1 " '$ac_arg'"
1752 if test $ac_must_keep_next = true; then
1753 ac_must_keep_next=false # Got value, back to normal.
1754 else
1755 case $ac_arg in
1756 *=* | --config-cache | -C | -disable-* | --disable-* \
1757 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1758 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1759 | -with-* | --with-* | -without-* | --without-* | --x)
1760 case "$ac_configure_args0 " in
1761 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1762 esac
1764 -* ) ac_must_keep_next=true ;;
1765 esac
1767 as_fn_append ac_configure_args " '$ac_arg'"
1769 esac
1770 done
1771 done
1772 { ac_configure_args0=; unset ac_configure_args0;}
1773 { ac_configure_args1=; unset ac_configure_args1;}
1775 # When interrupted or exit'd, cleanup temporary files, and complete
1776 # config.log. We remove comments because anyway the quotes in there
1777 # would cause problems or look ugly.
1778 # WARNING: Use '\'' to represent an apostrophe within the trap.
1779 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1780 trap 'exit_status=$?
1781 # Save into config.log some information that might help in debugging.
1783 echo
1785 $as_echo "## ---------------- ##
1786 ## Cache variables. ##
1787 ## ---------------- ##"
1788 echo
1789 # The following way of writing the cache mishandles newlines in values,
1791 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1792 eval ac_val=\$$ac_var
1793 case $ac_val in #(
1794 *${as_nl}*)
1795 case $ac_var in #(
1796 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1797 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1798 esac
1799 case $ac_var in #(
1800 _ | IFS | as_nl) ;; #(
1801 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1802 *) { eval $ac_var=; unset $ac_var;} ;;
1803 esac ;;
1804 esac
1805 done
1806 (set) 2>&1 |
1807 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1808 *${as_nl}ac_space=\ *)
1809 sed -n \
1810 "s/'\''/'\''\\\\'\'''\''/g;
1811 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1812 ;; #(
1814 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1816 esac |
1817 sort
1819 echo
1821 $as_echo "## ----------------- ##
1822 ## Output variables. ##
1823 ## ----------------- ##"
1824 echo
1825 for ac_var in $ac_subst_vars
1827 eval ac_val=\$$ac_var
1828 case $ac_val in
1829 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830 esac
1831 $as_echo "$ac_var='\''$ac_val'\''"
1832 done | sort
1833 echo
1835 if test -n "$ac_subst_files"; then
1836 $as_echo "## ------------------- ##
1837 ## File substitutions. ##
1838 ## ------------------- ##"
1839 echo
1840 for ac_var in $ac_subst_files
1842 eval ac_val=\$$ac_var
1843 case $ac_val in
1844 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1845 esac
1846 $as_echo "$ac_var='\''$ac_val'\''"
1847 done | sort
1848 echo
1851 if test -s confdefs.h; then
1852 $as_echo "## ----------- ##
1853 ## confdefs.h. ##
1854 ## ----------- ##"
1855 echo
1856 cat confdefs.h
1857 echo
1859 test "$ac_signal" != 0 &&
1860 $as_echo "$as_me: caught signal $ac_signal"
1861 $as_echo "$as_me: exit $exit_status"
1862 } >&5
1863 rm -f core *.core core.conftest.* &&
1864 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865 exit $exit_status
1867 for ac_signal in 1 2 13 15; do
1868 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1869 done
1870 ac_signal=0
1872 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1873 rm -f -r conftest* confdefs.h
1875 $as_echo "/* confdefs.h */" > confdefs.h
1877 # Predefined preprocessor variables.
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_NAME "$PACKAGE_NAME"
1881 _ACEOF
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1885 _ACEOF
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1889 _ACEOF
1891 cat >>confdefs.h <<_ACEOF
1892 #define PACKAGE_STRING "$PACKAGE_STRING"
1893 _ACEOF
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1897 _ACEOF
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_URL "$PACKAGE_URL"
1901 _ACEOF
1904 # Let the site file select an alternate cache file if it wants to.
1905 # Prefer an explicitly selected file to automatically selected ones.
1906 ac_site_file1=NONE
1907 ac_site_file2=NONE
1908 if test -n "$CONFIG_SITE"; then
1909 # We do not want a PATH search for config.site.
1910 case $CONFIG_SITE in #((
1911 -*) ac_site_file1=./$CONFIG_SITE;;
1912 */*) ac_site_file1=$CONFIG_SITE;;
1913 *) ac_site_file1=./$CONFIG_SITE;;
1914 esac
1915 elif test "x$prefix" != xNONE; then
1916 ac_site_file1=$prefix/share/config.site
1917 ac_site_file2=$prefix/etc/config.site
1918 else
1919 ac_site_file1=$ac_default_prefix/share/config.site
1920 ac_site_file2=$ac_default_prefix/etc/config.site
1922 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1924 test "x$ac_site_file" = xNONE && continue
1925 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1927 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1928 sed 's/^/| /' "$ac_site_file" >&5
1929 . "$ac_site_file" \
1930 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1932 as_fn_error $? "failed to load site script $ac_site_file
1933 See \`config.log' for more details" "$LINENO" 5; }
1935 done
1937 if test -r "$cache_file"; then
1938 # Some versions of bash will fail to source /dev/null (special files
1939 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1940 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1942 $as_echo "$as_me: loading cache $cache_file" >&6;}
1943 case $cache_file in
1944 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1945 *) . "./$cache_file";;
1946 esac
1948 else
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1950 $as_echo "$as_me: creating cache $cache_file" >&6;}
1951 >$cache_file
1954 # Check that the precious variables saved in the cache have kept the same
1955 # value.
1956 ac_cache_corrupted=false
1957 for ac_var in $ac_precious_vars; do
1958 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1959 eval ac_new_set=\$ac_env_${ac_var}_set
1960 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1961 eval ac_new_val=\$ac_env_${ac_var}_value
1962 case $ac_old_set,$ac_new_set in
1963 set,)
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1965 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1966 ac_cache_corrupted=: ;;
1967 ,set)
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1969 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1970 ac_cache_corrupted=: ;;
1971 ,);;
1973 if test "x$ac_old_val" != "x$ac_new_val"; then
1974 # differences in whitespace do not lead to failure.
1975 ac_old_val_w=`echo x $ac_old_val`
1976 ac_new_val_w=`echo x $ac_new_val`
1977 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1979 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1980 ac_cache_corrupted=:
1981 else
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1983 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1984 eval $ac_var=\$ac_old_val
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1987 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1989 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1990 fi;;
1991 esac
1992 # Pass precious variables to config.status.
1993 if test "$ac_new_set" = set; then
1994 case $ac_new_val in
1995 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1996 *) ac_arg=$ac_var=$ac_new_val ;;
1997 esac
1998 case " $ac_configure_args " in
1999 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2000 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2001 esac
2003 done
2004 if $ac_cache_corrupted; then
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2008 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2009 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2011 ## -------------------- ##
2012 ## Main body of script. ##
2013 ## -------------------- ##
2015 ac_ext=c
2016 ac_cpp='$CPP $CPPFLAGS'
2017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 # Determine the host, build, and target systems
2029 ac_aux_dir=
2030 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2031 if test -f "$ac_dir/install-sh"; then
2032 ac_aux_dir=$ac_dir
2033 ac_install_sh="$ac_aux_dir/install-sh -c"
2034 break
2035 elif test -f "$ac_dir/install.sh"; then
2036 ac_aux_dir=$ac_dir
2037 ac_install_sh="$ac_aux_dir/install.sh -c"
2038 break
2039 elif test -f "$ac_dir/shtool"; then
2040 ac_aux_dir=$ac_dir
2041 ac_install_sh="$ac_aux_dir/shtool install -c"
2042 break
2044 done
2045 if test -z "$ac_aux_dir"; then
2046 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2049 # These three variables are undocumented and unsupported,
2050 # and are intended to be withdrawn in a future Autoconf release.
2051 # They can cause serious problems if a builder's source tree is in a directory
2052 # whose full name contains unusual characters.
2053 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2054 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2055 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2058 # Make sure we can run config.sub.
2059 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2060 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2063 $as_echo_n "checking build system type... " >&6; }
2064 if ${ac_cv_build+:} false; then :
2065 $as_echo_n "(cached) " >&6
2066 else
2067 ac_build_alias=$build_alias
2068 test "x$ac_build_alias" = x &&
2069 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2070 test "x$ac_build_alias" = x &&
2071 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2072 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2073 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2077 $as_echo "$ac_cv_build" >&6; }
2078 case $ac_cv_build in
2079 *-*-*) ;;
2080 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2081 esac
2082 build=$ac_cv_build
2083 ac_save_IFS=$IFS; IFS='-'
2084 set x $ac_cv_build
2085 shift
2086 build_cpu=$1
2087 build_vendor=$2
2088 shift; shift
2089 # Remember, the first character of IFS is used to create $*,
2090 # except with old shells:
2091 build_os=$*
2092 IFS=$ac_save_IFS
2093 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2097 $as_echo_n "checking host system type... " >&6; }
2098 if ${ac_cv_host+:} false; then :
2099 $as_echo_n "(cached) " >&6
2100 else
2101 if test "x$host_alias" = x; then
2102 ac_cv_host=$ac_cv_build
2103 else
2104 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2105 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2110 $as_echo "$ac_cv_host" >&6; }
2111 case $ac_cv_host in
2112 *-*-*) ;;
2113 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2114 esac
2115 host=$ac_cv_host
2116 ac_save_IFS=$IFS; IFS='-'
2117 set x $ac_cv_host
2118 shift
2119 host_cpu=$1
2120 host_vendor=$2
2121 shift; shift
2122 # Remember, the first character of IFS is used to create $*,
2123 # except with old shells:
2124 host_os=$*
2125 IFS=$ac_save_IFS
2126 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2130 $as_echo_n "checking target system type... " >&6; }
2131 if ${ac_cv_target+:} false; then :
2132 $as_echo_n "(cached) " >&6
2133 else
2134 if test "x$target_alias" = x; then
2135 ac_cv_target=$ac_cv_host
2136 else
2137 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2138 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2143 $as_echo "$ac_cv_target" >&6; }
2144 case $ac_cv_target in
2145 *-*-*) ;;
2146 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2147 esac
2148 target=$ac_cv_target
2149 ac_save_IFS=$IFS; IFS='-'
2150 set x $ac_cv_target
2151 shift
2152 target_cpu=$1
2153 target_vendor=$2
2154 shift; shift
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2157 target_os=$*
2158 IFS=$ac_save_IFS
2159 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2162 # The aliases save the names the user supplied, while $host etc.
2163 # will get canonicalized.
2164 test -n "$target_alias" &&
2165 test "$program_prefix$program_suffix$program_transform_name" = \
2166 NONENONEs,x,x, &&
2167 program_prefix=${target_alias}-
2168 target_alias=${target_alias-$host_alias}
2170 # Determine the noncanonical target name, for directory use.
2171 case ${build_alias} in
2172 "") build_noncanonical=${build} ;;
2173 *) build_noncanonical=${build_alias} ;;
2174 esac
2176 case ${host_alias} in
2177 "") host_noncanonical=${build_noncanonical} ;;
2178 *) host_noncanonical=${host_alias} ;;
2179 esac
2181 case ${target_alias} in
2182 "") target_noncanonical=${host_noncanonical} ;;
2183 *) target_noncanonical=${target_alias} ;;
2184 esac
2189 # Determine the target- and build-specific subdirectories
2191 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2192 # have matching libraries, they should use host libraries: Makefile.tpl
2193 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2194 # However, they still use the build modules, because the corresponding
2195 # host modules (e.g. bison) are only built for the host when bootstrap
2196 # finishes. So:
2197 # - build_subdir is where we find build modules, and never changes.
2198 # - build_libsubdir is where we find build libraries, and can be overridden.
2200 # Prefix 'build-' so this never conflicts with target_subdir.
2201 build_subdir="build-${build_noncanonical}"
2203 # Check whether --with-build-libsubdir was given.
2204 if test "${with_build_libsubdir+set}" = set; then :
2205 withval=$with_build_libsubdir; build_libsubdir="$withval"
2206 else
2207 build_libsubdir="$build_subdir"
2210 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2211 if ( test $srcdir = . && test -d gcc ) \
2212 || test -d $srcdir/../host-${host_noncanonical}; then
2213 host_subdir="host-${host_noncanonical}"
2214 else
2215 host_subdir=.
2217 # No prefix.
2218 target_subdir=${target_noncanonical}
2221 # Command-line options.
2223 # Check whether --enable-version-specific-runtime-libs was given.
2224 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2225 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2226 yes|no)
2229 as_fn_error $? "--enable-version-specific-runtime-libs must be yes or no" "$LINENO" 5
2231 esac
2232 else
2233 enable_version_specific_runtime_libs=yes
2238 # Very limited version of AC_MAINTAINER_MODE.
2239 # Check whether --enable-maintainer-mode was given.
2240 if test "${enable_maintainer_mode+set}" = set; then :
2241 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2242 yes) MAINT='' ;;
2243 no) MAINT='#' ;;
2244 *) as_fn_error $? "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2245 esac
2246 maintainer_mode=${enableval}
2247 else
2248 MAINT='#'
2252 # Default to --enable-multilib
2253 # Check whether --enable-multilib was given.
2254 if test "${enable_multilib+set}" = set; then :
2255 enableval=$enable_multilib; case "$enableval" in
2256 yes) multilib=yes ;;
2257 no) multilib=no ;;
2258 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2259 esac
2260 else
2261 multilib=yes
2265 # We may get other options which we leave undocumented:
2266 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2267 # See config-ml.in if you want the gory details.
2269 if test "$srcdir" = "."; then
2270 if test "$with_target_subdir" != "."; then
2271 multi_basedir="$srcdir/$with_multisrctop../.."
2272 else
2273 multi_basedir="$srcdir/$with_multisrctop.."
2275 else
2276 multi_basedir="$srcdir/.."
2280 # Even if the default multilib is not a cross compilation,
2281 # it may be that some of the other multilibs are.
2282 if test $cross_compiling = no && test $multilib = yes \
2283 && test "x${with_multisubdir}" != x ; then
2284 cross_compiling=maybe
2287 ac_config_commands="$ac_config_commands default-1"
2289 # Calculate toolexeclibdir
2290 # Also toolexecdir, though it's only used in toolexeclibdir
2291 case ${enable_version_specific_runtime_libs} in
2292 yes)
2293 # Need the gcc compiler version to know where to install libraries
2294 # and header files if --enable-version-specific-runtime-libs option
2295 # is selected.
2296 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2297 toolexeclibdir='$(toolexecdir)/$(version)$(MULTISUBDIR)/adalib'
2300 if test -n "$with_cross_host" &&
2301 test x"$with_cross_host" != x"no"; then
2302 # Install a library built with a cross compiler in tooldir, not libdir.
2303 toolexecdir='$(exec_prefix)/$(target_alias)'
2304 toolexeclibdir='$(toolexecdir)/lib'
2305 else
2306 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2307 toolexeclibdir='$(libdir)'
2309 multi_os_directory=`$CC -print-multi-os-directory`
2310 case $multi_os_directory in
2311 .) ;; # Avoid trailing /.
2312 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2313 esac
2315 esac
2319 # Check the compiler.
2320 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2321 # We must force CC to /not/ be precious variables; otherwise
2322 # the wrong, non-multilib-adjusted value will be used in multilibs.
2323 # As a side effect, we have to subst CFLAGS ourselves.
2327 ac_ext=c
2328 ac_cpp='$CPP $CPPFLAGS'
2329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2332 if test -n "$ac_tool_prefix"; then
2333 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2334 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2336 $as_echo_n "checking for $ac_word... " >&6; }
2337 if ${ac_cv_prog_CC+:} false; then :
2338 $as_echo_n "(cached) " >&6
2339 else
2340 if test -n "$CC"; then
2341 ac_cv_prog_CC="$CC" # Let the user override the test.
2342 else
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 for as_dir in $PATH
2346 IFS=$as_save_IFS
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 break 2
2354 done
2355 done
2356 IFS=$as_save_IFS
2360 CC=$ac_cv_prog_CC
2361 if test -n "$CC"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2363 $as_echo "$CC" >&6; }
2364 else
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366 $as_echo "no" >&6; }
2371 if test -z "$ac_cv_prog_CC"; then
2372 ac_ct_CC=$CC
2373 # Extract the first word of "gcc", so it can be a program name with args.
2374 set dummy gcc; ac_word=$2
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2376 $as_echo_n "checking for $ac_word... " >&6; }
2377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2378 $as_echo_n "(cached) " >&6
2379 else
2380 if test -n "$ac_ct_CC"; then
2381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2382 else
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 for as_dir in $PATH
2386 IFS=$as_save_IFS
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_ac_ct_CC="gcc"
2391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 break 2
2394 done
2395 done
2396 IFS=$as_save_IFS
2400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2401 if test -n "$ac_ct_CC"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2403 $as_echo "$ac_ct_CC" >&6; }
2404 else
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2406 $as_echo "no" >&6; }
2409 if test "x$ac_ct_CC" = x; then
2410 CC=""
2411 else
2412 case $cross_compiling:$ac_tool_warned in
2413 yes:)
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2416 ac_tool_warned=yes ;;
2417 esac
2418 CC=$ac_ct_CC
2420 else
2421 CC="$ac_cv_prog_CC"
2424 if test -z "$CC"; then
2425 if test -n "$ac_tool_prefix"; then
2426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2427 set dummy ${ac_tool_prefix}cc; ac_word=$2
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2429 $as_echo_n "checking for $ac_word... " >&6; }
2430 if ${ac_cv_prog_CC+:} false; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC="$CC" # Let the user override the test.
2435 else
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 ac_cv_prog_CC="${ac_tool_prefix}cc"
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 2
2447 done
2448 done
2449 IFS=$as_save_IFS
2453 CC=$ac_cv_prog_CC
2454 if test -n "$CC"; then
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2456 $as_echo "$CC" >&6; }
2457 else
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459 $as_echo "no" >&6; }
2465 if test -z "$CC"; then
2466 # Extract the first word of "cc", so it can be a program name with args.
2467 set dummy cc; ac_word=$2
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469 $as_echo_n "checking for $ac_word... " >&6; }
2470 if ${ac_cv_prog_CC+:} false; then :
2471 $as_echo_n "(cached) " >&6
2472 else
2473 if test -n "$CC"; then
2474 ac_cv_prog_CC="$CC" # Let the user override the test.
2475 else
2476 ac_prog_rejected=no
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 for as_dir in $PATH
2480 IFS=$as_save_IFS
2481 test -z "$as_dir" && as_dir=.
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2484 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2485 ac_prog_rejected=yes
2486 continue
2488 ac_cv_prog_CC="cc"
2489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 break 2
2492 done
2493 done
2494 IFS=$as_save_IFS
2496 if test $ac_prog_rejected = yes; then
2497 # We found a bogon in the path, so make sure we never use it.
2498 set dummy $ac_cv_prog_CC
2499 shift
2500 if test $# != 0; then
2501 # We chose a different compiler from the bogus one.
2502 # However, it has the same basename, so the bogon will be chosen
2503 # first if we set CC to just the basename; use the full file name.
2504 shift
2505 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2510 CC=$ac_cv_prog_CC
2511 if test -n "$CC"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2513 $as_echo "$CC" >&6; }
2514 else
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2521 if test -z "$CC"; then
2522 if test -n "$ac_tool_prefix"; then
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if ${ac_cv_prog_CC+:} false; then :
2530 $as_echo_n "(cached) " >&6
2531 else
2532 if test -n "$CC"; then
2533 ac_cv_prog_CC="$CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 break 2
2546 done
2547 done
2548 IFS=$as_save_IFS
2552 CC=$ac_cv_prog_CC
2553 if test -n "$CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555 $as_echo "$CC" >&6; }
2556 else
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2562 test -n "$CC" && break
2563 done
2565 if test -z "$CC"; then
2566 ac_ct_CC=$CC
2567 for ac_prog in cl.exe
2569 # Extract the first word of "$ac_prog", so it can be a program name with args.
2570 set dummy $ac_prog; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 if test -n "$ac_ct_CC"; then
2577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2578 else
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 for as_dir in $PATH
2582 IFS=$as_save_IFS
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_ac_ct_CC="$ac_prog"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 break 2
2590 done
2591 done
2592 IFS=$as_save_IFS
2596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2597 if test -n "$ac_ct_CC"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2599 $as_echo "$ac_ct_CC" >&6; }
2600 else
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2606 test -n "$ac_ct_CC" && break
2607 done
2609 if test "x$ac_ct_CC" = x; then
2610 CC=""
2611 else
2612 case $cross_compiling:$ac_tool_warned in
2613 yes:)
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616 ac_tool_warned=yes ;;
2617 esac
2618 CC=$ac_ct_CC
2625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627 as_fn_error $? "no acceptable C compiler found in \$PATH
2628 See \`config.log' for more details" "$LINENO" 5; }
2630 # Provide some information about the compiler.
2631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2632 set X $ac_compile
2633 ac_compiler=$2
2634 for ac_option in --version -v -V -qversion; do
2635 { { ac_try="$ac_compiler $ac_option >&5"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2643 ac_status=$?
2644 if test -s conftest.err; then
2645 sed '10a\
2646 ... rest of stderr output deleted ...
2647 10q' conftest.err >conftest.er1
2648 cat conftest.er1 >&5
2650 rm -f conftest.er1 conftest.err
2651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652 test $ac_status = 0; }
2653 done
2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2656 /* end confdefs.h. */
2659 main ()
2663 return 0;
2665 _ACEOF
2666 ac_clean_files_save=$ac_clean_files
2667 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2668 # Try to create an executable without -o first, disregard a.out.
2669 # It will help us diagnose broken compilers, and finding out an intuition
2670 # of exeext.
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2672 $as_echo_n "checking whether the C compiler works... " >&6; }
2673 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2675 # The possible output files:
2676 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2678 ac_rmfiles=
2679 for ac_file in $ac_files
2681 case $ac_file in
2682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2683 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2684 esac
2685 done
2686 rm -f $ac_rmfiles
2688 if { { ac_try="$ac_link_default"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_link_default") 2>&5
2696 ac_status=$?
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; }; then :
2699 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2700 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2701 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2702 # so that the user can short-circuit this test for compilers unknown to
2703 # Autoconf.
2704 for ac_file in $ac_files ''
2706 test -f "$ac_file" || continue
2707 case $ac_file in
2708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2710 [ab].out )
2711 # We found the default executable, but exeext='' is most
2712 # certainly right.
2713 break;;
2714 *.* )
2715 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2716 then :; else
2717 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2719 # We set ac_cv_exeext here because the later test for it is not
2720 # safe: cross compilers may not add the suffix if given an `-o'
2721 # argument, so we may need to know it at that point already.
2722 # Even if this section looks crufty: it has the advantage of
2723 # actually working.
2724 break;;
2726 break;;
2727 esac
2728 done
2729 test "$ac_cv_exeext" = no && ac_cv_exeext=
2731 else
2732 ac_file=''
2734 if test -z "$ac_file"; then :
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2737 $as_echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2742 as_fn_error 77 "C compiler cannot create executables
2743 See \`config.log' for more details" "$LINENO" 5; }
2744 else
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2746 $as_echo "yes" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2749 $as_echo_n "checking for C compiler default output file name... " >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2751 $as_echo "$ac_file" >&6; }
2752 ac_exeext=$ac_cv_exeext
2754 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2755 ac_clean_files=$ac_clean_files_save
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2757 $as_echo_n "checking for suffix of executables... " >&6; }
2758 if { { ac_try="$ac_link"
2759 case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2762 esac
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 $as_echo "$ac_try_echo"; } >&5
2765 (eval "$ac_link") 2>&5
2766 ac_status=$?
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; }; then :
2769 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2770 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2771 # work properly (i.e., refer to `conftest.exe'), while it won't with
2772 # `rm'.
2773 for ac_file in conftest.exe conftest conftest.*; do
2774 test -f "$ac_file" || continue
2775 case $ac_file in
2776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2777 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2778 break;;
2779 * ) break;;
2780 esac
2781 done
2782 else
2783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2785 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2786 See \`config.log' for more details" "$LINENO" 5; }
2788 rm -f conftest conftest$ac_cv_exeext
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2790 $as_echo "$ac_cv_exeext" >&6; }
2792 rm -f conftest.$ac_ext
2793 EXEEXT=$ac_cv_exeext
2794 ac_exeext=$EXEEXT
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2797 #include <stdio.h>
2799 main ()
2801 FILE *f = fopen ("conftest.out", "w");
2802 return ferror (f) || fclose (f) != 0;
2805 return 0;
2807 _ACEOF
2808 ac_clean_files="$ac_clean_files conftest.out"
2809 # Check that the compiler produces executables we can run. If not, either
2810 # the compiler is broken, or we cross compile.
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2812 $as_echo_n "checking whether we are cross compiling... " >&6; }
2813 if test "$cross_compiling" != yes; then
2814 { { ac_try="$ac_link"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_link") 2>&5
2822 ac_status=$?
2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; }
2825 if { ac_try='./conftest$ac_cv_exeext'
2826 { { case "(($ac_try" in
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2829 esac
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832 (eval "$ac_try") 2>&5
2833 ac_status=$?
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; }; }; then
2836 cross_compiling=no
2837 else
2838 if test "$cross_compiling" = maybe; then
2839 cross_compiling=yes
2840 else
2841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2843 as_fn_error $? "cannot run C compiled programs.
2844 If you meant to cross compile, use \`--host'.
2845 See \`config.log' for more details" "$LINENO" 5; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2850 $as_echo "$cross_compiling" >&6; }
2852 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2853 ac_clean_files=$ac_clean_files_save
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2855 $as_echo_n "checking for suffix of object files... " >&6; }
2856 if ${ac_cv_objext+:} false; then :
2857 $as_echo_n "(cached) " >&6
2858 else
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2863 main ()
2867 return 0;
2869 _ACEOF
2870 rm -f conftest.o conftest.obj
2871 if { { ac_try="$ac_compile"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_compile") 2>&5
2879 ac_status=$?
2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2881 test $ac_status = 0; }; then :
2882 for ac_file in conftest.o conftest.obj conftest.*; do
2883 test -f "$ac_file" || continue;
2884 case $ac_file in
2885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2886 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2887 break;;
2888 esac
2889 done
2890 else
2891 $as_echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2896 as_fn_error $? "cannot compute suffix of object files: cannot compile
2897 See \`config.log' for more details" "$LINENO" 5; }
2899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2902 $as_echo "$ac_cv_objext" >&6; }
2903 OBJEXT=$ac_cv_objext
2904 ac_objext=$OBJEXT
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2906 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2907 if ${ac_cv_c_compiler_gnu+:} false; then :
2908 $as_echo_n "(cached) " >&6
2909 else
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2914 main ()
2916 #ifndef __GNUC__
2917 choke me
2918 #endif
2921 return 0;
2923 _ACEOF
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 ac_compiler_gnu=yes
2926 else
2927 ac_compiler_gnu=no
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2934 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2935 if test $ac_compiler_gnu = yes; then
2936 GCC=yes
2937 else
2938 GCC=
2940 ac_test_CFLAGS=${CFLAGS+set}
2941 ac_save_CFLAGS=$CFLAGS
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2943 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2944 if ${ac_cv_prog_cc_g+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 ac_save_c_werror_flag=$ac_c_werror_flag
2948 ac_c_werror_flag=yes
2949 ac_cv_prog_cc_g=no
2950 CFLAGS="-g"
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2955 main ()
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 ac_cv_prog_cc_g=yes
2964 else
2965 CFLAGS=""
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2970 main ()
2974 return 0;
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2979 else
2980 ac_c_werror_flag=$ac_save_c_werror_flag
2981 CFLAGS="-g"
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2986 main ()
2990 return 0;
2992 _ACEOF
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 ac_cv_prog_cc_g=yes
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 ac_c_werror_flag=$ac_save_c_werror_flag
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3004 $as_echo "$ac_cv_prog_cc_g" >&6; }
3005 if test "$ac_test_CFLAGS" = set; then
3006 CFLAGS=$ac_save_CFLAGS
3007 elif test $ac_cv_prog_cc_g = yes; then
3008 if test "$GCC" = yes; then
3009 CFLAGS="-g -O2"
3010 else
3011 CFLAGS="-g"
3013 else
3014 if test "$GCC" = yes; then
3015 CFLAGS="-O2"
3016 else
3017 CFLAGS=
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3021 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3022 if ${ac_cv_prog_cc_c89+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 ac_cv_prog_cc_c89=no
3026 ac_save_CC=$CC
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3029 #include <stdarg.h>
3030 #include <stdio.h>
3031 struct stat;
3032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3033 struct buf { int x; };
3034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3035 static char *e (p, i)
3036 char **p;
3037 int i;
3039 return p[i];
3041 static char *f (char * (*g) (char **, int), char **p, ...)
3043 char *s;
3044 va_list v;
3045 va_start (v,p);
3046 s = g (p, va_arg (v,int));
3047 va_end (v);
3048 return s;
3051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3052 function prototypes and stuff, but not '\xHH' hex character constants.
3053 These don't provoke an error unfortunately, instead are silently treated
3054 as 'x'. The following induces an error, until -std is added to get
3055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3056 array size at least. It's necessary to write '\x00'==0 to get something
3057 that's true only with -std. */
3058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3061 inside strings and character constants. */
3062 #define FOO(x) 'x'
3063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3065 int test (int i, double x);
3066 struct s1 {int (*f) (int a);};
3067 struct s2 {int (*f) (double a);};
3068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3069 int argc;
3070 char **argv;
3072 main ()
3074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3076 return 0;
3078 _ACEOF
3079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3082 CC="$ac_save_CC $ac_arg"
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 ac_cv_prog_cc_c89=$ac_arg
3086 rm -f core conftest.err conftest.$ac_objext
3087 test "x$ac_cv_prog_cc_c89" != "xno" && break
3088 done
3089 rm -f conftest.$ac_ext
3090 CC=$ac_save_CC
3093 # AC_CACHE_VAL
3094 case "x$ac_cv_prog_cc_c89" in
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3097 $as_echo "none needed" >&6; } ;;
3098 xno)
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3100 $as_echo "unsupported" >&6; } ;;
3102 CC="$CC $ac_cv_prog_cc_c89"
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3104 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3105 esac
3106 if test "x$ac_cv_prog_cc_c89" != xno; then :
3110 ac_ext=c
3111 ac_cpp='$CPP $CPPFLAGS'
3112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120 # Check whether --enable-shared was given.
3121 if test "${enable_shared+set}" = set; then :
3122 enableval=$enable_shared;
3123 case $enable_shared in
3124 yes | no) ;;
3126 enable_shared=no
3127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3128 for pkg in $enableval; do
3129 case $pkg in
3130 ada | libada)
3131 enable_shared=yes ;;
3132 esac
3133 done
3134 IFS="$ac_save_ifs"
3136 esac
3138 else
3139 enable_shared=yes
3148 case "${host}" in
3149 # PIC is the default on some targets or must not be used.
3150 *-*-darwin*)
3151 # For darwin, common symbols are not allowed in MH_DYLIB files
3152 case "${CFLAGS}" in
3153 # If we are using a compiler supporting mdynamic-no-pic
3154 # and the option has been tested as safe to add, then cancel
3155 # it here, since the code generated is incompatible with shared
3156 # libs.
3157 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
3158 *) PICFLAG=-fno-common ;;
3159 esac
3161 alpha*-dec-osf5*)
3162 # PIC is the default.
3164 hppa*64*-*-hpux*)
3165 # PIC is the default for 64-bit PA HP-UX.
3167 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
3169 i[34567]86-*-mingw* | x86_64-*-mingw*)
3171 i[34567]86-*-interix[3-9]*)
3172 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3173 # Instead, we relocate shared libraries at runtime.
3175 i[34567]86-*-nto-qnx*)
3176 # QNX uses GNU C++, but need to define -shared option too, otherwise
3177 # it will coredump.
3178 PICFLAG='-fPIC -shared'
3180 i[34567]86-pc-msdosdjgpp*)
3181 # DJGPP does not support shared libraries at all.
3183 ia64*-*-hpux*)
3184 # On IA64 HP-UX, PIC is the default but the pic flag
3185 # sets the default TLS model and affects inlining.
3186 PICFLAG=-fPIC
3188 mips-sgi-irix6*)
3189 # PIC is the default.
3191 rs6000-ibm-aix* | powerpc-ibm-aix*)
3192 # All AIX code is PIC.
3195 # Some targets support both -fPIC and -fpic, but prefer the latter.
3196 # FIXME: Why?
3197 i[34567]86-*-* | x86_64-*-*)
3198 PICFLAG=-fpic
3200 # FIXME: Override -fPIC default in libgcc only?
3201 sh-*-linux* | sh[2346lbe]*-*-linux*)
3202 PICFLAG=-fpic
3204 # FIXME: Simplify to sh*-*-netbsd*?
3205 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
3206 sh64-*-netbsd* | sh64l*-*-netbsd*)
3207 PICFLAG=-fpic
3209 # Default to -fPIC unless specified otherwise.
3211 PICFLAG=-fPIC
3213 esac
3215 # If the user explicitly uses -fpic/-fPIC, keep that.
3216 case "${CFLAGS}" in
3217 *-fpic*)
3218 PICFLAG=-fpic
3220 *-fPIC*)
3221 PICFLAG=-fPIC
3223 esac
3227 # These must be passed down, or are needed by gcc/libgcc.mvars
3228 for ac_prog in gawk mawk nawk awk
3230 # Extract the first word of "$ac_prog", so it can be a program name with args.
3231 set dummy $ac_prog; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if ${ac_cv_prog_AWK+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 if test -n "$AWK"; then
3238 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3239 else
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in $PATH
3243 IFS=$as_save_IFS
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247 ac_cv_prog_AWK="$ac_prog"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 break 2
3251 done
3252 done
3253 IFS=$as_save_IFS
3257 AWK=$ac_cv_prog_AWK
3258 if test -n "$AWK"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3260 $as_echo "$AWK" >&6; }
3261 else
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3267 test -n "$AWK" && break
3268 done
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3271 $as_echo_n "checking whether ln -s works... " >&6; }
3272 LN_S=$as_ln_s
3273 if test "$LN_S" = "ln -s"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3275 $as_echo "yes" >&6; }
3276 else
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3278 $as_echo "no, using $LN_S" >&6; }
3282 # Determine what to build for 'gnatlib'
3283 if test ${enable_shared} = yes; then
3284 default_gnatlib_target="gnatlib-shared"
3285 else
3286 default_gnatlib_target="gnatlib"
3290 # Check for _Unwind_GetIPInfo
3293 # Check whether --with-system-libunwind was given.
3294 if test "${with_system_libunwind+set}" = set; then :
3295 withval=$with_system_libunwind;
3298 # If system-libunwind was not specifically set, pick a default setting.
3299 if test x$with_system_libunwind = x; then
3300 case ${target} in
3301 ia64-*-hpux*) with_system_libunwind=yes ;;
3302 *) with_system_libunwind=no ;;
3303 esac
3305 # Based on system-libunwind and target, do we have ipinfo?
3306 if test x$with_system_libunwind = xyes; then
3307 case ${target} in
3308 ia64-*-*) have_unwind_getipinfo=no ;;
3309 *) have_unwind_getipinfo=yes ;;
3310 esac
3311 else
3312 # Darwin before version 9 does not have _Unwind_GetIPInfo.
3314 case ${target} in
3315 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
3316 *) have_unwind_getipinfo=yes ;;
3317 esac
3321 if test x$have_unwind_getipinfo = xyes; then
3323 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
3327 if test x$have_unwind_getipinfo = xyes; then
3328 have_getipinfo=-DHAVE_GETIPINFO
3329 else
3330 have_getipinfo=
3334 # Check for <sys/capability.h>
3336 ac_ext=c
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3342 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3343 # On Suns, sometimes $CPP names a directory.
3344 if test -n "$CPP" && test -d "$CPP"; then
3345 CPP=
3347 if test -z "$CPP"; then
3348 if ${ac_cv_prog_CPP+:} false; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 # Double quotes because CPP needs to be expanded
3352 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3354 ac_preproc_ok=false
3355 for ac_c_preproc_warn_flag in '' yes
3357 # Use a header file that comes with gcc, so configuring glibc
3358 # with a fresh cross-compiler works.
3359 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3360 # <limits.h> exists even on freestanding compilers.
3361 # On the NeXT, cc -E runs the code through the compiler's parser,
3362 # not just through cpp. "Syntax error" is here to catch this case.
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 #ifdef __STDC__
3366 # include <limits.h>
3367 #else
3368 # include <assert.h>
3369 #endif
3370 Syntax error
3371 _ACEOF
3372 if ac_fn_c_try_cpp "$LINENO"; then :
3374 else
3375 # Broken: fails on valid input.
3376 continue
3378 rm -f conftest.err conftest.i conftest.$ac_ext
3380 # OK, works on sane cases. Now check whether nonexistent headers
3381 # can be detected and how.
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3384 #include <ac_nonexistent.h>
3385 _ACEOF
3386 if ac_fn_c_try_cpp "$LINENO"; then :
3387 # Broken: success on invalid input.
3388 continue
3389 else
3390 # Passes both tests.
3391 ac_preproc_ok=:
3392 break
3394 rm -f conftest.err conftest.i conftest.$ac_ext
3396 done
3397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3398 rm -f conftest.i conftest.err conftest.$ac_ext
3399 if $ac_preproc_ok; then :
3400 break
3403 done
3404 ac_cv_prog_CPP=$CPP
3407 CPP=$ac_cv_prog_CPP
3408 else
3409 ac_cv_prog_CPP=$CPP
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3412 $as_echo "$CPP" >&6; }
3413 ac_preproc_ok=false
3414 for ac_c_preproc_warn_flag in '' yes
3416 # Use a header file that comes with gcc, so configuring glibc
3417 # with a fresh cross-compiler works.
3418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3419 # <limits.h> exists even on freestanding compilers.
3420 # On the NeXT, cc -E runs the code through the compiler's parser,
3421 # not just through cpp. "Syntax error" is here to catch this case.
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3424 #ifdef __STDC__
3425 # include <limits.h>
3426 #else
3427 # include <assert.h>
3428 #endif
3429 Syntax error
3430 _ACEOF
3431 if ac_fn_c_try_cpp "$LINENO"; then :
3433 else
3434 # Broken: fails on valid input.
3435 continue
3437 rm -f conftest.err conftest.i conftest.$ac_ext
3439 # OK, works on sane cases. Now check whether nonexistent headers
3440 # can be detected and how.
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3443 #include <ac_nonexistent.h>
3444 _ACEOF
3445 if ac_fn_c_try_cpp "$LINENO"; then :
3446 # Broken: success on invalid input.
3447 continue
3448 else
3449 # Passes both tests.
3450 ac_preproc_ok=:
3451 break
3453 rm -f conftest.err conftest.i conftest.$ac_ext
3455 done
3456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3457 rm -f conftest.i conftest.err conftest.$ac_ext
3458 if $ac_preproc_ok; then :
3460 else
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3464 See \`config.log' for more details" "$LINENO" 5; }
3467 ac_ext=c
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3475 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3476 if ${ac_cv_path_GREP+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 if test -z "$GREP"; then
3480 ac_path_GREP_found=false
3481 # Loop through the user's path and test for each of PROGNAME-LIST
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3485 IFS=$as_save_IFS
3486 test -z "$as_dir" && as_dir=.
3487 for ac_prog in grep ggrep; do
3488 for ac_exec_ext in '' $ac_executable_extensions; do
3489 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3490 as_fn_executable_p "$ac_path_GREP" || continue
3491 # Check for GNU ac_path_GREP and select it if it is found.
3492 # Check for GNU $ac_path_GREP
3493 case `"$ac_path_GREP" --version 2>&1` in
3494 *GNU*)
3495 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3497 ac_count=0
3498 $as_echo_n 0123456789 >"conftest.in"
3499 while :
3501 cat "conftest.in" "conftest.in" >"conftest.tmp"
3502 mv "conftest.tmp" "conftest.in"
3503 cp "conftest.in" "conftest.nl"
3504 $as_echo 'GREP' >> "conftest.nl"
3505 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3507 as_fn_arith $ac_count + 1 && ac_count=$as_val
3508 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3509 # Best one so far, save it but keep looking for a better one
3510 ac_cv_path_GREP="$ac_path_GREP"
3511 ac_path_GREP_max=$ac_count
3513 # 10*(2^10) chars as input seems more than enough
3514 test $ac_count -gt 10 && break
3515 done
3516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3517 esac
3519 $ac_path_GREP_found && break 3
3520 done
3521 done
3522 done
3523 IFS=$as_save_IFS
3524 if test -z "$ac_cv_path_GREP"; then
3525 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3527 else
3528 ac_cv_path_GREP=$GREP
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3533 $as_echo "$ac_cv_path_GREP" >&6; }
3534 GREP="$ac_cv_path_GREP"
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3538 $as_echo_n "checking for egrep... " >&6; }
3539 if ${ac_cv_path_EGREP+:} false; then :
3540 $as_echo_n "(cached) " >&6
3541 else
3542 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3543 then ac_cv_path_EGREP="$GREP -E"
3544 else
3545 if test -z "$EGREP"; then
3546 ac_path_EGREP_found=false
3547 # Loop through the user's path and test for each of PROGNAME-LIST
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3551 IFS=$as_save_IFS
3552 test -z "$as_dir" && as_dir=.
3553 for ac_prog in egrep; do
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3556 as_fn_executable_p "$ac_path_EGREP" || continue
3557 # Check for GNU ac_path_EGREP and select it if it is found.
3558 # Check for GNU $ac_path_EGREP
3559 case `"$ac_path_EGREP" --version 2>&1` in
3560 *GNU*)
3561 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3563 ac_count=0
3564 $as_echo_n 0123456789 >"conftest.in"
3565 while :
3567 cat "conftest.in" "conftest.in" >"conftest.tmp"
3568 mv "conftest.tmp" "conftest.in"
3569 cp "conftest.in" "conftest.nl"
3570 $as_echo 'EGREP' >> "conftest.nl"
3571 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3572 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3573 as_fn_arith $ac_count + 1 && ac_count=$as_val
3574 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3575 # Best one so far, save it but keep looking for a better one
3576 ac_cv_path_EGREP="$ac_path_EGREP"
3577 ac_path_EGREP_max=$ac_count
3579 # 10*(2^10) chars as input seems more than enough
3580 test $ac_count -gt 10 && break
3581 done
3582 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3583 esac
3585 $ac_path_EGREP_found && break 3
3586 done
3587 done
3588 done
3589 IFS=$as_save_IFS
3590 if test -z "$ac_cv_path_EGREP"; then
3591 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3593 else
3594 ac_cv_path_EGREP=$EGREP
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3600 $as_echo "$ac_cv_path_EGREP" >&6; }
3601 EGREP="$ac_cv_path_EGREP"
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3605 $as_echo_n "checking for ANSI C header files... " >&6; }
3606 if ${ac_cv_header_stdc+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3611 #include <stdlib.h>
3612 #include <stdarg.h>
3613 #include <string.h>
3614 #include <float.h>
3617 main ()
3621 return 0;
3623 _ACEOF
3624 if ac_fn_c_try_compile "$LINENO"; then :
3625 ac_cv_header_stdc=yes
3626 else
3627 ac_cv_header_stdc=no
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 if test $ac_cv_header_stdc = yes; then
3632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3635 #include <string.h>
3637 _ACEOF
3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3639 $EGREP "memchr" >/dev/null 2>&1; then :
3641 else
3642 ac_cv_header_stdc=no
3644 rm -f conftest*
3648 if test $ac_cv_header_stdc = yes; then
3649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3652 #include <stdlib.h>
3654 _ACEOF
3655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3656 $EGREP "free" >/dev/null 2>&1; then :
3658 else
3659 ac_cv_header_stdc=no
3661 rm -f conftest*
3665 if test $ac_cv_header_stdc = yes; then
3666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3667 if test "$cross_compiling" = yes; then :
3669 else
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3672 #include <ctype.h>
3673 #include <stdlib.h>
3674 #if ((' ' & 0x0FF) == 0x020)
3675 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3676 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3677 #else
3678 # define ISLOWER(c) \
3679 (('a' <= (c) && (c) <= 'i') \
3680 || ('j' <= (c) && (c) <= 'r') \
3681 || ('s' <= (c) && (c) <= 'z'))
3682 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3683 #endif
3685 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3687 main ()
3689 int i;
3690 for (i = 0; i < 256; i++)
3691 if (XOR (islower (i), ISLOWER (i))
3692 || toupper (i) != TOUPPER (i))
3693 return 2;
3694 return 0;
3696 _ACEOF
3697 if ac_fn_c_try_run "$LINENO"; then :
3699 else
3700 ac_cv_header_stdc=no
3702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3703 conftest.$ac_objext conftest.beam conftest.$ac_ext
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3709 $as_echo "$ac_cv_header_stdc" >&6; }
3710 if test $ac_cv_header_stdc = yes; then
3712 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3716 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3717 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3718 inttypes.h stdint.h unistd.h
3719 do :
3720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3721 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3724 cat >>confdefs.h <<_ACEOF
3725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3726 _ACEOF
3730 done
3733 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
3734 if test "x$ac_cv_header_sys_capability_h" = xyes; then :
3735 have_capability=-DHAVE_CAPABILITY
3736 else
3737 have_capability=
3743 # Determine what GCC version number to use in filesystem paths.
3745 get_gcc_base_ver="cat"
3747 # Check whether --with-gcc-major-version-only was given.
3748 if test "${with_gcc_major_version_only+set}" = set; then :
3749 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
3750 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
3758 # Output: create a Makefile.
3759 ac_config_files="$ac_config_files Makefile"
3762 cat >confcache <<\_ACEOF
3763 # This file is a shell script that caches the results of configure
3764 # tests run on this system so they can be shared between configure
3765 # scripts and configure runs, see configure's option --config-cache.
3766 # It is not useful on other systems. If it contains results you don't
3767 # want to keep, you may remove or edit it.
3769 # config.status only pays attention to the cache file if you give it
3770 # the --recheck option to rerun configure.
3772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3774 # following values.
3776 _ACEOF
3778 # The following way of writing the cache mishandles newlines in values,
3779 # but we know of no workaround that is simple, portable, and efficient.
3780 # So, we kill variables containing newlines.
3781 # Ultrix sh set writes to stderr and can't be redirected directly,
3782 # and sets the high bit in the cache file unless we assign to the vars.
3784 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3785 eval ac_val=\$$ac_var
3786 case $ac_val in #(
3787 *${as_nl}*)
3788 case $ac_var in #(
3789 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3791 esac
3792 case $ac_var in #(
3793 _ | IFS | as_nl) ;; #(
3794 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3795 *) { eval $ac_var=; unset $ac_var;} ;;
3796 esac ;;
3797 esac
3798 done
3800 (set) 2>&1 |
3801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3802 *${as_nl}ac_space=\ *)
3803 # `set' does not quote correctly, so add quotes: double-quote
3804 # substitution turns \\\\ into \\, and sed turns \\ into \.
3805 sed -n \
3806 "s/'/'\\\\''/g;
3807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3808 ;; #(
3810 # `set' quotes correctly as required by POSIX, so do not add quotes.
3811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3813 esac |
3814 sort
3816 sed '
3817 /^ac_cv_env_/b end
3818 t clear
3819 :clear
3820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3821 t end
3822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3823 :end' >>confcache
3824 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3825 if test -w "$cache_file"; then
3826 if test "x$cache_file" != "x/dev/null"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3828 $as_echo "$as_me: updating cache $cache_file" >&6;}
3829 if test ! -f "$cache_file" || test -h "$cache_file"; then
3830 cat confcache >"$cache_file"
3831 else
3832 case $cache_file in #(
3833 */* | ?:*)
3834 mv -f confcache "$cache_file"$$ &&
3835 mv -f "$cache_file"$$ "$cache_file" ;; #(
3837 mv -f confcache "$cache_file" ;;
3838 esac
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3846 rm -f confcache
3848 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3849 # Let make expand exec_prefix.
3850 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3852 # Transform confdefs.h into DEFS.
3853 # Protect against shell expansion while executing Makefile rules.
3854 # Protect against Makefile macro expansion.
3856 # If the first sed substitution is executed (which looks for macros that
3857 # take arguments), then branch to the quote section. Otherwise,
3858 # look for a macro that doesn't take arguments.
3859 ac_script='
3860 :mline
3861 /\\$/{
3863 s,\\\n,,
3864 b mline
3866 t clear
3867 :clear
3868 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3869 t quote
3870 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3871 t quote
3872 b any
3873 :quote
3874 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3875 s/\[/\\&/g
3876 s/\]/\\&/g
3877 s/\$/$$/g
3879 :any
3882 s/^\n//
3883 s/\n/ /g
3887 DEFS=`sed -n "$ac_script" confdefs.h`
3890 ac_libobjs=
3891 ac_ltlibobjs=
3893 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3894 # 1. Remove the extension, and $U if already installed.
3895 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3896 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3897 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3898 # will be set to the directory where LIBOBJS objects are built.
3899 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3900 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3901 done
3902 LIBOBJS=$ac_libobjs
3904 LTLIBOBJS=$ac_ltlibobjs
3908 : "${CONFIG_STATUS=./config.status}"
3909 ac_write_fail=0
3910 ac_clean_files_save=$ac_clean_files
3911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3913 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3914 as_write_fail=0
3915 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3916 #! $SHELL
3917 # Generated by $as_me.
3918 # Run this file to recreate the current configuration.
3919 # Compiler output produced by configure, useful for debugging
3920 # configure, is in config.log if it exists.
3922 debug=false
3923 ac_cs_recheck=false
3924 ac_cs_silent=false
3926 SHELL=\${CONFIG_SHELL-$SHELL}
3927 export SHELL
3928 _ASEOF
3929 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3930 ## -------------------- ##
3931 ## M4sh Initialization. ##
3932 ## -------------------- ##
3934 # Be more Bourne compatible
3935 DUALCASE=1; export DUALCASE # for MKS sh
3936 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3937 emulate sh
3938 NULLCMD=:
3939 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3940 # is contrary to our usage. Disable this feature.
3941 alias -g '${1+"$@"}'='"$@"'
3942 setopt NO_GLOB_SUBST
3943 else
3944 case `(set -o) 2>/dev/null` in #(
3945 *posix*) :
3946 set -o posix ;; #(
3947 *) :
3949 esac
3953 as_nl='
3955 export as_nl
3956 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3957 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3958 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3959 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3960 # Prefer a ksh shell builtin over an external printf program on Solaris,
3961 # but without wasting forks for bash or zsh.
3962 if test -z "$BASH_VERSION$ZSH_VERSION" \
3963 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3964 as_echo='print -r --'
3965 as_echo_n='print -rn --'
3966 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3967 as_echo='printf %s\n'
3968 as_echo_n='printf %s'
3969 else
3970 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3971 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3972 as_echo_n='/usr/ucb/echo -n'
3973 else
3974 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3975 as_echo_n_body='eval
3976 arg=$1;
3977 case $arg in #(
3978 *"$as_nl"*)
3979 expr "X$arg" : "X\\(.*\\)$as_nl";
3980 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3981 esac;
3982 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3984 export as_echo_n_body
3985 as_echo_n='sh -c $as_echo_n_body as_echo'
3987 export as_echo_body
3988 as_echo='sh -c $as_echo_body as_echo'
3991 # The user is always right.
3992 if test "${PATH_SEPARATOR+set}" != set; then
3993 PATH_SEPARATOR=:
3994 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3995 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3996 PATH_SEPARATOR=';'
4001 # IFS
4002 # We need space, tab and new line, in precisely that order. Quoting is
4003 # there to prevent editors from complaining about space-tab.
4004 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4005 # splitting by setting IFS to empty value.)
4006 IFS=" "" $as_nl"
4008 # Find who we are. Look in the path if we contain no directory separator.
4009 as_myself=
4010 case $0 in #((
4011 *[\\/]* ) as_myself=$0 ;;
4012 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4018 done
4019 IFS=$as_save_IFS
4022 esac
4023 # We did not find ourselves, most probably we were run as `sh COMMAND'
4024 # in which case we are not to be found in the path.
4025 if test "x$as_myself" = x; then
4026 as_myself=$0
4028 if test ! -f "$as_myself"; then
4029 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4030 exit 1
4033 # Unset variables that we do not need and which cause bugs (e.g. in
4034 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4035 # suppresses any "Segmentation fault" message there. '((' could
4036 # trigger a bug in pdksh 5.2.14.
4037 for as_var in BASH_ENV ENV MAIL MAILPATH
4038 do eval test x\${$as_var+set} = xset \
4039 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4040 done
4041 PS1='$ '
4042 PS2='> '
4043 PS4='+ '
4045 # NLS nuisances.
4046 LC_ALL=C
4047 export LC_ALL
4048 LANGUAGE=C
4049 export LANGUAGE
4051 # CDPATH.
4052 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4055 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4056 # ----------------------------------------
4057 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4058 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4059 # script with STATUS, using 1 if that was 0.
4060 as_fn_error ()
4062 as_status=$1; test $as_status -eq 0 && as_status=1
4063 if test "$4"; then
4064 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4065 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4067 $as_echo "$as_me: error: $2" >&2
4068 as_fn_exit $as_status
4069 } # as_fn_error
4072 # as_fn_set_status STATUS
4073 # -----------------------
4074 # Set $? to STATUS, without forking.
4075 as_fn_set_status ()
4077 return $1
4078 } # as_fn_set_status
4080 # as_fn_exit STATUS
4081 # -----------------
4082 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4083 as_fn_exit ()
4085 set +e
4086 as_fn_set_status $1
4087 exit $1
4088 } # as_fn_exit
4090 # as_fn_unset VAR
4091 # ---------------
4092 # Portably unset VAR.
4093 as_fn_unset ()
4095 { eval $1=; unset $1;}
4097 as_unset=as_fn_unset
4098 # as_fn_append VAR VALUE
4099 # ----------------------
4100 # Append the text in VALUE to the end of the definition contained in VAR. Take
4101 # advantage of any shell optimizations that allow amortized linear growth over
4102 # repeated appends, instead of the typical quadratic growth present in naive
4103 # implementations.
4104 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4105 eval 'as_fn_append ()
4107 eval $1+=\$2
4109 else
4110 as_fn_append ()
4112 eval $1=\$$1\$2
4114 fi # as_fn_append
4116 # as_fn_arith ARG...
4117 # ------------------
4118 # Perform arithmetic evaluation on the ARGs, and store the result in the
4119 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4120 # must be portable across $(()) and expr.
4121 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4122 eval 'as_fn_arith ()
4124 as_val=$(( $* ))
4126 else
4127 as_fn_arith ()
4129 as_val=`expr "$@" || test $? -eq 1`
4131 fi # as_fn_arith
4134 if expr a : '\(a\)' >/dev/null 2>&1 &&
4135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4136 as_expr=expr
4137 else
4138 as_expr=false
4141 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4142 as_basename=basename
4143 else
4144 as_basename=false
4147 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4148 as_dirname=dirname
4149 else
4150 as_dirname=false
4153 as_me=`$as_basename -- "$0" ||
4154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4155 X"$0" : 'X\(//\)$' \| \
4156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4157 $as_echo X/"$0" |
4158 sed '/^.*\/\([^/][^/]*\)\/*$/{
4159 s//\1/
4162 /^X\/\(\/\/\)$/{
4163 s//\1/
4166 /^X\/\(\/\).*/{
4167 s//\1/
4170 s/.*/./; q'`
4172 # Avoid depending upon Character Ranges.
4173 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4174 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4175 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4176 as_cr_digits='0123456789'
4177 as_cr_alnum=$as_cr_Letters$as_cr_digits
4179 ECHO_C= ECHO_N= ECHO_T=
4180 case `echo -n x` in #(((((
4181 -n*)
4182 case `echo 'xy\c'` in
4183 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4184 xy) ECHO_C='\c';;
4185 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4186 ECHO_T=' ';;
4187 esac;;
4189 ECHO_N='-n';;
4190 esac
4192 rm -f conf$$ conf$$.exe conf$$.file
4193 if test -d conf$$.dir; then
4194 rm -f conf$$.dir/conf$$.file
4195 else
4196 rm -f conf$$.dir
4197 mkdir conf$$.dir 2>/dev/null
4199 if (echo >conf$$.file) 2>/dev/null; then
4200 if ln -s conf$$.file conf$$ 2>/dev/null; then
4201 as_ln_s='ln -s'
4202 # ... but there are two gotchas:
4203 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4204 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4205 # In both cases, we have to default to `cp -pR'.
4206 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4207 as_ln_s='cp -pR'
4208 elif ln conf$$.file conf$$ 2>/dev/null; then
4209 as_ln_s=ln
4210 else
4211 as_ln_s='cp -pR'
4213 else
4214 as_ln_s='cp -pR'
4216 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4217 rmdir conf$$.dir 2>/dev/null
4220 # as_fn_mkdir_p
4221 # -------------
4222 # Create "$as_dir" as a directory, including parents if necessary.
4223 as_fn_mkdir_p ()
4226 case $as_dir in #(
4227 -*) as_dir=./$as_dir;;
4228 esac
4229 test -d "$as_dir" || eval $as_mkdir_p || {
4230 as_dirs=
4231 while :; do
4232 case $as_dir in #(
4233 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4234 *) as_qdir=$as_dir;;
4235 esac
4236 as_dirs="'$as_qdir' $as_dirs"
4237 as_dir=`$as_dirname -- "$as_dir" ||
4238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4239 X"$as_dir" : 'X\(//\)[^/]' \| \
4240 X"$as_dir" : 'X\(//\)$' \| \
4241 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4242 $as_echo X"$as_dir" |
4243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4244 s//\1/
4247 /^X\(\/\/\)[^/].*/{
4248 s//\1/
4251 /^X\(\/\/\)$/{
4252 s//\1/
4255 /^X\(\/\).*/{
4256 s//\1/
4259 s/.*/./; q'`
4260 test -d "$as_dir" && break
4261 done
4262 test -z "$as_dirs" || eval "mkdir $as_dirs"
4263 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4266 } # as_fn_mkdir_p
4267 if mkdir -p . 2>/dev/null; then
4268 as_mkdir_p='mkdir -p "$as_dir"'
4269 else
4270 test -d ./-p && rmdir ./-p
4271 as_mkdir_p=false
4275 # as_fn_executable_p FILE
4276 # -----------------------
4277 # Test if FILE is an executable regular file.
4278 as_fn_executable_p ()
4280 test -f "$1" && test -x "$1"
4281 } # as_fn_executable_p
4282 as_test_x='test -x'
4283 as_executable_p=as_fn_executable_p
4285 # Sed expression to map a string onto a valid CPP name.
4286 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4288 # Sed expression to map a string onto a valid variable name.
4289 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4292 exec 6>&1
4293 ## ----------------------------------- ##
4294 ## Main body of $CONFIG_STATUS script. ##
4295 ## ----------------------------------- ##
4296 _ASEOF
4297 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4300 # Save the log message, to keep $0 and so on meaningful, and to
4301 # report actual input values of CONFIG_FILES etc. instead of their
4302 # values after options handling.
4303 ac_log="
4304 This file was extended by $as_me, which was
4305 generated by GNU Autoconf 2.69. Invocation command line was
4307 CONFIG_FILES = $CONFIG_FILES
4308 CONFIG_HEADERS = $CONFIG_HEADERS
4309 CONFIG_LINKS = $CONFIG_LINKS
4310 CONFIG_COMMANDS = $CONFIG_COMMANDS
4311 $ $0 $@
4313 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4316 _ACEOF
4318 case $ac_config_files in *"
4319 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4320 esac
4324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4325 # Files that config.status was made for.
4326 config_files="$ac_config_files"
4327 config_commands="$ac_config_commands"
4329 _ACEOF
4331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4332 ac_cs_usage="\
4333 \`$as_me' instantiates files and other configuration actions
4334 from templates according to the current configuration. Unless the files
4335 and actions are specified as TAGs, all are instantiated by default.
4337 Usage: $0 [OPTION]... [TAG]...
4339 -h, --help print this help, then exit
4340 -V, --version print version number and configuration settings, then exit
4341 --config print configuration, then exit
4342 -q, --quiet, --silent
4343 do not print progress messages
4344 -d, --debug don't remove temporary files
4345 --recheck update $as_me by reconfiguring in the same conditions
4346 --file=FILE[:TEMPLATE]
4347 instantiate the configuration file FILE
4349 Configuration files:
4350 $config_files
4352 Configuration commands:
4353 $config_commands
4355 Report bugs to the package provider."
4357 _ACEOF
4358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4359 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4360 ac_cs_version="\\
4361 config.status
4362 configured by $0, generated by GNU Autoconf 2.69,
4363 with options \\"\$ac_cs_config\\"
4365 Copyright (C) 2012 Free Software Foundation, Inc.
4366 This config.status script is free software; the Free Software Foundation
4367 gives unlimited permission to copy, distribute and modify it."
4369 ac_pwd='$ac_pwd'
4370 srcdir='$srcdir'
4371 AWK='$AWK'
4372 test -n "\$AWK" || AWK=awk
4373 _ACEOF
4375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4376 # The default lists apply if the user does not specify any file.
4377 ac_need_defaults=:
4378 while test $# != 0
4380 case $1 in
4381 --*=?*)
4382 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4383 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4384 ac_shift=:
4386 --*=)
4387 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4388 ac_optarg=
4389 ac_shift=:
4392 ac_option=$1
4393 ac_optarg=$2
4394 ac_shift=shift
4396 esac
4398 case $ac_option in
4399 # Handling of the options.
4400 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4401 ac_cs_recheck=: ;;
4402 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4403 $as_echo "$ac_cs_version"; exit ;;
4404 --config | --confi | --conf | --con | --co | --c )
4405 $as_echo "$ac_cs_config"; exit ;;
4406 --debug | --debu | --deb | --de | --d | -d )
4407 debug=: ;;
4408 --file | --fil | --fi | --f )
4409 $ac_shift
4410 case $ac_optarg in
4411 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4412 '') as_fn_error $? "missing file argument" ;;
4413 esac
4414 as_fn_append CONFIG_FILES " '$ac_optarg'"
4415 ac_need_defaults=false;;
4416 --he | --h | --help | --hel | -h )
4417 $as_echo "$ac_cs_usage"; exit ;;
4418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4419 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4420 ac_cs_silent=: ;;
4422 # This is an error.
4423 -*) as_fn_error $? "unrecognized option: \`$1'
4424 Try \`$0 --help' for more information." ;;
4426 *) as_fn_append ac_config_targets " $1"
4427 ac_need_defaults=false ;;
4429 esac
4430 shift
4431 done
4433 ac_configure_extra_args=
4435 if $ac_cs_silent; then
4436 exec 6>/dev/null
4437 ac_configure_extra_args="$ac_configure_extra_args --silent"
4440 _ACEOF
4441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4442 if \$ac_cs_recheck; then
4443 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4444 shift
4445 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4446 CONFIG_SHELL='$SHELL'
4447 export CONFIG_SHELL
4448 exec "\$@"
4451 _ACEOF
4452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4453 exec 5>>config.log
4455 echo
4456 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4457 ## Running $as_me. ##
4458 _ASBOX
4459 $as_echo "$ac_log"
4460 } >&5
4462 _ACEOF
4463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4465 # INIT-COMMANDS
4468 srcdir="$srcdir"
4469 host="$host"
4470 target="$target"
4471 with_multisubdir="$with_multisubdir"
4472 with_multisrctop="$with_multisrctop"
4473 with_target_subdir="$with_target_subdir"
4474 ac_configure_args="${multilib_arg} ${ac_configure_args}"
4475 multi_basedir="$multi_basedir"
4476 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4477 CC="$CC"
4478 CXX="$CXX"
4479 GFORTRAN="$GFORTRAN"
4480 GDC="$GDC"
4482 _ACEOF
4484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4486 # Handling of arguments.
4487 for ac_config_target in $ac_config_targets
4489 case $ac_config_target in
4490 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4491 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4493 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4494 esac
4495 done
4498 # If the user did not use the arguments to specify the items to instantiate,
4499 # then the envvar interface is used. Set only those that are not.
4500 # We use the long form for the default assignment because of an extremely
4501 # bizarre bug on SunOS 4.1.3.
4502 if $ac_need_defaults; then
4503 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4507 # Have a temporary directory for convenience. Make it in the build tree
4508 # simply because there is no reason against having it here, and in addition,
4509 # creating and moving files from /tmp can sometimes cause problems.
4510 # Hook for its removal unless debugging.
4511 # Note that there is a small window in which the directory will not be cleaned:
4512 # after its creation but before its name has been assigned to `$tmp'.
4513 $debug ||
4515 tmp= ac_tmp=
4516 trap 'exit_status=$?
4517 : "${ac_tmp:=$tmp}"
4518 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4520 trap 'as_fn_exit 1' 1 2 13 15
4522 # Create a (secure) tmp directory for tmp files.
4525 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4526 test -d "$tmp"
4527 } ||
4529 tmp=./conf$$-$RANDOM
4530 (umask 077 && mkdir "$tmp")
4531 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4532 ac_tmp=$tmp
4534 # Set up the scripts for CONFIG_FILES section.
4535 # No need to generate them if there are no CONFIG_FILES.
4536 # This happens for instance with `./config.status config.h'.
4537 if test -n "$CONFIG_FILES"; then
4540 ac_cr=`echo X | tr X '\015'`
4541 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4542 # But we know of no other shell where ac_cr would be empty at this
4543 # point, so we can use a bashism as a fallback.
4544 if test "x$ac_cr" = x; then
4545 eval ac_cr=\$\'\\r\'
4547 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4548 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4549 ac_cs_awk_cr='\\r'
4550 else
4551 ac_cs_awk_cr=$ac_cr
4554 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4555 _ACEOF
4559 echo "cat >conf$$subs.awk <<_ACEOF" &&
4560 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4561 echo "_ACEOF"
4562 } >conf$$subs.sh ||
4563 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4564 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4565 ac_delim='%!_!# '
4566 for ac_last_try in false false false false false :; do
4567 . ./conf$$subs.sh ||
4568 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4570 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4571 if test $ac_delim_n = $ac_delim_num; then
4572 break
4573 elif $ac_last_try; then
4574 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4575 else
4576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4578 done
4579 rm -f conf$$subs.sh
4581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4582 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4583 _ACEOF
4584 sed -n '
4586 s/^/S["/; s/!.*/"]=/
4589 s/^[^!]*!//
4590 :repl
4591 t repl
4592 s/'"$ac_delim"'$//
4593 t delim
4596 s/\(.\{148\}\)..*/\1/
4597 t more1
4598 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4601 b repl
4602 :more1
4603 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4606 s/.\{148\}//
4607 t nl
4608 :delim
4610 s/\(.\{148\}\)..*/\1/
4611 t more2
4612 s/["\\]/\\&/g; s/^/"/; s/$/"/
4615 :more2
4616 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4619 s/.\{148\}//
4620 t delim
4621 ' <conf$$subs.awk | sed '
4622 /^[^""]/{
4624 s/\n//
4626 ' >>$CONFIG_STATUS || ac_write_fail=1
4627 rm -f conf$$subs.awk
4628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4629 _ACAWK
4630 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4631 for (key in S) S_is_set[key] = 1
4632 FS = "\a"
4636 line = $ 0
4637 nfields = split(line, field, "@")
4638 substed = 0
4639 len = length(field[1])
4640 for (i = 2; i < nfields; i++) {
4641 key = field[i]
4642 keylen = length(key)
4643 if (S_is_set[key]) {
4644 value = S[key]
4645 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4646 len += length(value) + length(field[++i])
4647 substed = 1
4648 } else
4649 len += 1 + keylen
4652 print line
4655 _ACAWK
4656 _ACEOF
4657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4658 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4659 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4660 else
4662 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4663 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4664 _ACEOF
4666 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4667 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4668 # trailing colons and then remove the whole line if VPATH becomes empty
4669 # (actually we leave an empty line to preserve line numbers).
4670 if test "x$srcdir" = x.; then
4671 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4673 s///
4674 s/^/:/
4675 s/[ ]*$/:/
4676 s/:\$(srcdir):/:/g
4677 s/:\${srcdir}:/:/g
4678 s/:@srcdir@:/:/g
4679 s/^:*//
4680 s/:*$//
4682 s/\(=[ ]*\).*/\1/
4684 s/\n//
4685 s/^[^=]*=[ ]*$//
4689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4690 fi # test -n "$CONFIG_FILES"
4693 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4694 shift
4695 for ac_tag
4697 case $ac_tag in
4698 :[FHLC]) ac_mode=$ac_tag; continue;;
4699 esac
4700 case $ac_mode$ac_tag in
4701 :[FHL]*:*);;
4702 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4703 :[FH]-) ac_tag=-:-;;
4704 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4705 esac
4706 ac_save_IFS=$IFS
4707 IFS=:
4708 set x $ac_tag
4709 IFS=$ac_save_IFS
4710 shift
4711 ac_file=$1
4712 shift
4714 case $ac_mode in
4715 :L) ac_source=$1;;
4716 :[FH])
4717 ac_file_inputs=
4718 for ac_f
4720 case $ac_f in
4721 -) ac_f="$ac_tmp/stdin";;
4722 *) # Look for the file first in the build tree, then in the source tree
4723 # (if the path is not absolute). The absolute path cannot be DOS-style,
4724 # because $ac_f cannot contain `:'.
4725 test -f "$ac_f" ||
4726 case $ac_f in
4727 [\\/$]*) false;;
4728 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4729 esac ||
4730 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4731 esac
4732 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4733 as_fn_append ac_file_inputs " '$ac_f'"
4734 done
4736 # Let's still pretend it is `configure' which instantiates (i.e., don't
4737 # use $as_me), people would be surprised to read:
4738 # /* config.h. Generated by config.status. */
4739 configure_input='Generated from '`
4740 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4741 `' by configure.'
4742 if test x"$ac_file" != x-; then
4743 configure_input="$ac_file. $configure_input"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4745 $as_echo "$as_me: creating $ac_file" >&6;}
4747 # Neutralize special characters interpreted by sed in replacement strings.
4748 case $configure_input in #(
4749 *\&* | *\|* | *\\* )
4750 ac_sed_conf_input=`$as_echo "$configure_input" |
4751 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4752 *) ac_sed_conf_input=$configure_input;;
4753 esac
4755 case $ac_tag in
4756 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4758 esac
4760 esac
4762 ac_dir=`$as_dirname -- "$ac_file" ||
4763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4764 X"$ac_file" : 'X\(//\)[^/]' \| \
4765 X"$ac_file" : 'X\(//\)$' \| \
4766 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4767 $as_echo X"$ac_file" |
4768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4769 s//\1/
4772 /^X\(\/\/\)[^/].*/{
4773 s//\1/
4776 /^X\(\/\/\)$/{
4777 s//\1/
4780 /^X\(\/\).*/{
4781 s//\1/
4784 s/.*/./; q'`
4785 as_dir="$ac_dir"; as_fn_mkdir_p
4786 ac_builddir=.
4788 case "$ac_dir" in
4789 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4791 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4792 # A ".." for each directory in $ac_dir_suffix.
4793 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4794 case $ac_top_builddir_sub in
4795 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4796 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4797 esac ;;
4798 esac
4799 ac_abs_top_builddir=$ac_pwd
4800 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4801 # for backward compatibility:
4802 ac_top_builddir=$ac_top_build_prefix
4804 case $srcdir in
4805 .) # We are building in place.
4806 ac_srcdir=.
4807 ac_top_srcdir=$ac_top_builddir_sub
4808 ac_abs_top_srcdir=$ac_pwd ;;
4809 [\\/]* | ?:[\\/]* ) # Absolute name.
4810 ac_srcdir=$srcdir$ac_dir_suffix;
4811 ac_top_srcdir=$srcdir
4812 ac_abs_top_srcdir=$srcdir ;;
4813 *) # Relative name.
4814 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4815 ac_top_srcdir=$ac_top_build_prefix$srcdir
4816 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4817 esac
4818 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4821 case $ac_mode in
4824 # CONFIG_FILE
4827 _ACEOF
4829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4830 # If the template does not know about datarootdir, expand it.
4831 # FIXME: This hack should be removed a few years after 2.60.
4832 ac_datarootdir_hack=; ac_datarootdir_seen=
4833 ac_sed_dataroot='
4834 /datarootdir/ {
4838 /@datadir@/p
4839 /@docdir@/p
4840 /@infodir@/p
4841 /@localedir@/p
4842 /@mandir@/p'
4843 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4844 *datarootdir*) ac_datarootdir_seen=yes;;
4845 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4847 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4848 _ACEOF
4849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4850 ac_datarootdir_hack='
4851 s&@datadir@&$datadir&g
4852 s&@docdir@&$docdir&g
4853 s&@infodir@&$infodir&g
4854 s&@localedir@&$localedir&g
4855 s&@mandir@&$mandir&g
4856 s&\\\${datarootdir}&$datarootdir&g' ;;
4857 esac
4858 _ACEOF
4860 # Neutralize VPATH when `$srcdir' = `.'.
4861 # Shell code in configure.ac might set extrasub.
4862 # FIXME: do we really want to maintain this feature?
4863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4864 ac_sed_extra="$ac_vpsub
4865 $extrasub
4866 _ACEOF
4867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4869 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4870 s|@configure_input@|$ac_sed_conf_input|;t t
4871 s&@top_builddir@&$ac_top_builddir_sub&;t t
4872 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4873 s&@srcdir@&$ac_srcdir&;t t
4874 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4875 s&@top_srcdir@&$ac_top_srcdir&;t t
4876 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4877 s&@builddir@&$ac_builddir&;t t
4878 s&@abs_builddir@&$ac_abs_builddir&;t t
4879 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4880 $ac_datarootdir_hack
4882 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4883 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4885 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4886 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4887 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4888 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4890 which seems to be undefined. Please make sure it is defined" >&5
4891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4892 which seems to be undefined. Please make sure it is defined" >&2;}
4894 rm -f "$ac_tmp/stdin"
4895 case $ac_file in
4896 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4897 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4898 esac \
4899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4903 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4904 $as_echo "$as_me: executing $ac_file commands" >&6;}
4906 esac
4909 case $ac_file$ac_mode in
4910 "default-1":C)
4911 # Only add multilib support code if we just rebuilt the top-level
4912 # Makefile.
4913 case " $CONFIG_FILES " in
4914 *" Makefile "*)
4915 ac_file=Makefile . ${multi_basedir}/config-ml.in
4917 esac ;;
4919 esac
4920 done # for ac_tag
4923 as_fn_exit 0
4924 _ACEOF
4925 ac_clean_files=$ac_clean_files_save
4927 test $ac_write_fail = 0 ||
4928 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4931 # configure is writing to config.log, and then calls config.status.
4932 # config.status does its own redirection, appending to config.log.
4933 # Unfortunately, on DOS this fails, as config.log is still kept open
4934 # by configure, so config.status won't be able to write to it; its
4935 # output is simply discarded. So we exec the FD to /dev/null,
4936 # effectively closing config.log, so it can be properly (re)opened and
4937 # appended to by config.status. When coming back to configure, we
4938 # need to make the FD available again.
4939 if test "$no_create" != yes; then
4940 ac_cs_success=:
4941 ac_config_status_args=
4942 test "$silent" = yes &&
4943 ac_config_status_args="$ac_config_status_args --quiet"
4944 exec 5>/dev/null
4945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4946 exec 5>>config.log
4947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4948 # would make configure fail if this is the last instruction.
4949 $ac_cs_success || as_fn_exit 1
4951 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4953 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}