OSDN Git Service

2009-08-30 Paolo Bonzini <bonzini@gnu.org>
[pf3gnuchains/gcc-fork.git] / libada / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172   if (eval "$as_required") 2>/dev/null; then :
173   as_have_required=yes
174 else
175   as_have_required=no
176 fi
177   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
179 else
180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
183 do
184   IFS=$as_save_IFS
185   test -z "$as_dir" && as_dir=.
186   as_found=:
187   case $as_dir in #(
188          /*)
189            for as_base in sh bash ksh sh5; do
190              # Try only shells that exist, to save several forks.
191              as_shell=$as_dir/$as_base
192              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194   CONFIG_SHELL=$as_shell as_have_required=yes
195                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196   break 2
197 fi
198 fi
199            done;;
200        esac
201   as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205   CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
208
209
210       if test "x$CONFIG_SHELL" != x; then :
211   # We cannot yet assume a decent shell, so we have to provide a
212         # neutralization value for shells without unset; and this also
213         # works around shells that cannot unset nonexistent variables.
214         BASH_ENV=/dev/null
215         ENV=/dev/null
216         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217         export CONFIG_SHELL
218         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219 fi
220
221     if test x$as_have_required = xno; then :
222   $as_echo "$0: This script requires a shell more modern than all"
223   $as_echo "$0: the shells that I found on your system."
224   if test x${ZSH_VERSION+set} = xset ; then
225     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227   else
228     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
232   fi
233   exit 1
234 fi
235 fi
236 fi
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
242
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
250 {
251   { eval $1=; unset $1;}
252 }
253 as_unset=as_fn_unset
254
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
259 {
260   return $1
261 } # as_fn_set_status
262
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
267 {
268   set +e
269   as_fn_set_status $1
270   exit $1
271 } # as_fn_exit
272
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
277 {
278
279   case $as_dir in #(
280   -*) as_dir=./$as_dir;;
281   esac
282   test -d "$as_dir" || eval $as_mkdir_p || {
283     as_dirs=
284     while :; do
285       case $as_dir in #(
286       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287       *) as_qdir=$as_dir;;
288       esac
289       as_dirs="'$as_qdir' $as_dirs"
290       as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292          X"$as_dir" : 'X\(//\)[^/]' \| \
293          X"$as_dir" : 'X\(//\)$' \| \
294          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297             s//\1/
298             q
299           }
300           /^X\(\/\/\)[^/].*/{
301             s//\1/
302             q
303           }
304           /^X\(\/\/\)$/{
305             s//\1/
306             q
307           }
308           /^X\(\/\).*/{
309             s//\1/
310             q
311           }
312           s/.*/./; q'`
313       test -d "$as_dir" && break
314     done
315     test -z "$as_dirs" || eval "mkdir $as_dirs"
316   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
318
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327   eval 'as_fn_append ()
328   {
329     eval $1+=\$2
330   }'
331 else
332   as_fn_append ()
333   {
334     eval $1=\$$1\$2
335   }
336 fi # as_fn_append
337
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344   eval 'as_fn_arith ()
345   {
346     as_val=$(( $* ))
347   }'
348 else
349   as_fn_arith ()
350   {
351     as_val=`expr "$@" || test $? -eq 1`
352   }
353 fi # as_fn_arith
354
355
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
362 {
363   as_status=$?; test $as_status -eq 0 && as_status=1
364   if test "$3"; then
365     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367   fi
368   $as_echo "$as_me: error: $1" >&2
369   as_fn_exit $as_status
370 } # as_fn_error
371
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373    test "X`expr 00001 : '.*\(...\)'`" = X001; then
374   as_expr=expr
375 else
376   as_expr=false
377 fi
378
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380   as_basename=basename
381 else
382   as_basename=false
383 fi
384
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386   as_dirname=dirname
387 else
388   as_dirname=false
389 fi
390
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393          X"$0" : 'X\(//\)$' \| \
394          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396     sed '/^.*\/\([^/][^/]*\)\/*$/{
397             s//\1/
398             q
399           }
400           /^X\/\(\/\/\)$/{
401             s//\1/
402             q
403           }
404           /^X\/\(\/\).*/{
405             s//\1/
406             q
407           }
408           s/.*/./; q'`
409
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
416
417
418   as_lineno_1=$LINENO as_lineno_1a=$LINENO
419   as_lineno_2=$LINENO as_lineno_2a=$LINENO
420   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
423   sed -n '
424     p
425     /[$]LINENO/=
426   ' <$as_myself |
427     sed '
428       s/[$]LINENO.*/&-/
429       t lineno
430       b
431       :lineno
432       N
433       :loop
434       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435       t loop
436       s/-\n.*//
437     ' >$as_me.lineno &&
438   chmod +x "$as_me.lineno" ||
439     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
440
441   # Don't try to exec as it changes $[0], causing all sort of problems
442   # (the dirname of $[0] is not the place where we might find the
443   # original and so on.  Autoconf is especially sensitive to this).
444   . "./$as_me.lineno"
445   # Exit status is that of the last command.
446   exit
447 }
448
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452   case `echo 'xy\c'` in
453   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
454   xy)  ECHO_C='\c';;
455   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
456        ECHO_T=' ';;
457   esac;;
458 *)
459   ECHO_N='-n';;
460 esac
461
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464   rm -f conf$$.dir/conf$$.file
465 else
466   rm -f conf$$.dir
467   mkdir conf$$.dir 2>/dev/null
468 fi
469 if (echo >conf$$.file) 2>/dev/null; then
470   if ln -s conf$$.file conf$$ 2>/dev/null; then
471     as_ln_s='ln -s'
472     # ... but there are two gotchas:
473     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475     # In both cases, we have to default to `cp -p'.
476     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477       as_ln_s='cp -p'
478   elif ln conf$$.file conf$$ 2>/dev/null; then
479     as_ln_s=ln
480   else
481     as_ln_s='cp -p'
482   fi
483 else
484   as_ln_s='cp -p'
485 fi
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
488
489 if mkdir -p . 2>/dev/null; then
490   as_mkdir_p='mkdir -p "$as_dir"'
491 else
492   test -d ./-p && rmdir ./-p
493   as_mkdir_p=false
494 fi
495
496 if test -x / >/dev/null 2>&1; then
497   as_test_x='test -x'
498 else
499   if ls -dL / >/dev/null 2>&1; then
500     as_ls_L_option=L
501   else
502     as_ls_L_option=
503   fi
504   as_test_x='
505     eval sh -c '\''
506       if test -d "$1"; then
507         test -d "$1/.";
508       else
509         case $1 in #(
510         -*)set "./$1";;
511         esac;
512         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513         ???[sx]*):;;*)false;;esac;fi
514     '\'' sh
515   '
516 fi
517 as_executable_p=$as_test_x
518
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
525
526 exec 7<&0 </dev/null 6>&1
527
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
533 #
534 # Initializations.
535 #
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
544
545 # Identity of this package.
546 PACKAGE_NAME=
547 PACKAGE_TARNAME=
548 PACKAGE_VERSION=
549 PACKAGE_STRING=
550 PACKAGE_BUGREPORT=
551 PACKAGE_URL=
552
553 ac_unique_file="Makefile.in"
554 ac_subst_vars='LTLIBOBJS
555 LIBOBJS
556 warn_cflags
557 default_gnatlib_target
558 LN_S
559 AWK
560 enable_shared
561 OBJEXT
562 EXEEXT
563 ac_ct_CC
564 CPPFLAGS
565 LDFLAGS
566 CFLAGS
567 CC
568 toolexeclibdir
569 toolexecdir
570 multi_basedir
571 MAINT
572 target_subdir
573 host_subdir
574 build_subdir
575 build_libsubdir
576 target_noncanonical
577 target_os
578 target_vendor
579 target_cpu
580 target
581 host_os
582 host_vendor
583 host_cpu
584 host
585 build_os
586 build_vendor
587 build_cpu
588 build
589 target_alias
590 host_alias
591 build_alias
592 LIBS
593 ECHO_T
594 ECHO_N
595 ECHO_C
596 DEFS
597 mandir
598 localedir
599 libdir
600 psdir
601 pdfdir
602 dvidir
603 htmldir
604 infodir
605 docdir
606 oldincludedir
607 includedir
608 localstatedir
609 sharedstatedir
610 sysconfdir
611 datadir
612 datarootdir
613 libexecdir
614 sbindir
615 bindir
616 program_transform_name
617 prefix
618 exec_prefix
619 PACKAGE_URL
620 PACKAGE_BUGREPORT
621 PACKAGE_STRING
622 PACKAGE_VERSION
623 PACKAGE_TARNAME
624 PACKAGE_NAME
625 PATH_SEPARATOR
626 SHELL'
627 ac_subst_files=''
628 ac_user_opts='
629 enable_option_checking
630 with_build_libsubdir
631 enable_maintainer_mode
632 enable_multilib
633 enable_shared
634 '
635       ac_precious_vars='build_alias
636 host_alias
637 target_alias'
638
639
640 # Initialize some variables set by options.
641 ac_init_help=
642 ac_init_version=false
643 ac_unrecognized_opts=
644 ac_unrecognized_sep=
645 # The variables have the same names as the options, with
646 # dashes changed to underlines.
647 cache_file=/dev/null
648 exec_prefix=NONE
649 no_create=
650 no_recursion=
651 prefix=NONE
652 program_prefix=NONE
653 program_suffix=NONE
654 program_transform_name=s,x,x,
655 silent=
656 site=
657 srcdir=
658 verbose=
659 x_includes=NONE
660 x_libraries=NONE
661
662 # Installation directory options.
663 # These are left unexpanded so users can "make install exec_prefix=/foo"
664 # and all the variables that are supposed to be based on exec_prefix
665 # by default will actually change.
666 # Use braces instead of parens because sh, perl, etc. also accept them.
667 # (The list follows the same order as the GNU Coding Standards.)
668 bindir='${exec_prefix}/bin'
669 sbindir='${exec_prefix}/sbin'
670 libexecdir='${exec_prefix}/libexec'
671 datarootdir='${prefix}/share'
672 datadir='${datarootdir}'
673 sysconfdir='${prefix}/etc'
674 sharedstatedir='${prefix}/com'
675 localstatedir='${prefix}/var'
676 includedir='${prefix}/include'
677 oldincludedir='/usr/include'
678 docdir='${datarootdir}/doc/${PACKAGE}'
679 infodir='${datarootdir}/info'
680 htmldir='${docdir}'
681 dvidir='${docdir}'
682 pdfdir='${docdir}'
683 psdir='${docdir}'
684 libdir='${exec_prefix}/lib'
685 localedir='${datarootdir}/locale'
686 mandir='${datarootdir}/man'
687
688 ac_prev=
689 ac_dashdash=
690 for ac_option
691 do
692   # If the previous option needs an argument, assign it.
693   if test -n "$ac_prev"; then
694     eval $ac_prev=\$ac_option
695     ac_prev=
696     continue
697   fi
698
699   case $ac_option in
700   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
701   *)    ac_optarg=yes ;;
702   esac
703
704   # Accept the important Cygnus configure options, so we can diagnose typos.
705
706   case $ac_dashdash$ac_option in
707   --)
708     ac_dashdash=yes ;;
709
710   -bindir | --bindir | --bindi | --bind | --bin | --bi)
711     ac_prev=bindir ;;
712   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
713     bindir=$ac_optarg ;;
714
715   -build | --build | --buil | --bui | --bu)
716     ac_prev=build_alias ;;
717   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
718     build_alias=$ac_optarg ;;
719
720   -cache-file | --cache-file | --cache-fil | --cache-fi \
721   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
722     ac_prev=cache_file ;;
723   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
724   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
725     cache_file=$ac_optarg ;;
726
727   --config-cache | -C)
728     cache_file=config.cache ;;
729
730   -datadir | --datadir | --datadi | --datad)
731     ac_prev=datadir ;;
732   -datadir=* | --datadir=* | --datadi=* | --datad=*)
733     datadir=$ac_optarg ;;
734
735   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
736   | --dataroo | --dataro | --datar)
737     ac_prev=datarootdir ;;
738   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
739   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
740     datarootdir=$ac_optarg ;;
741
742   -disable-* | --disable-*)
743     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
744     # Reject names that are not valid shell variable names.
745     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
746       as_fn_error "invalid feature name: $ac_useropt"
747     ac_useropt_orig=$ac_useropt
748     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
749     case $ac_user_opts in
750       *"
751 "enable_$ac_useropt"
752 "*) ;;
753       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
754          ac_unrecognized_sep=', ';;
755     esac
756     eval enable_$ac_useropt=no ;;
757
758   -docdir | --docdir | --docdi | --doc | --do)
759     ac_prev=docdir ;;
760   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761     docdir=$ac_optarg ;;
762
763   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764     ac_prev=dvidir ;;
765   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766     dvidir=$ac_optarg ;;
767
768   -enable-* | --enable-*)
769     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770     # Reject names that are not valid shell variable names.
771     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772       as_fn_error "invalid feature name: $ac_useropt"
773     ac_useropt_orig=$ac_useropt
774     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775     case $ac_user_opts in
776       *"
777 "enable_$ac_useropt"
778 "*) ;;
779       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
780          ac_unrecognized_sep=', ';;
781     esac
782     eval enable_$ac_useropt=\$ac_optarg ;;
783
784   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
785   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
786   | --exec | --exe | --ex)
787     ac_prev=exec_prefix ;;
788   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
789   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
790   | --exec=* | --exe=* | --ex=*)
791     exec_prefix=$ac_optarg ;;
792
793   -gas | --gas | --ga | --g)
794     # Obsolete; use --with-gas.
795     with_gas=yes ;;
796
797   -help | --help | --hel | --he | -h)
798     ac_init_help=long ;;
799   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
800     ac_init_help=recursive ;;
801   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
802     ac_init_help=short ;;
803
804   -host | --host | --hos | --ho)
805     ac_prev=host_alias ;;
806   -host=* | --host=* | --hos=* | --ho=*)
807     host_alias=$ac_optarg ;;
808
809   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810     ac_prev=htmldir ;;
811   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812   | --ht=*)
813     htmldir=$ac_optarg ;;
814
815   -includedir | --includedir | --includedi | --included | --include \
816   | --includ | --inclu | --incl | --inc)
817     ac_prev=includedir ;;
818   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
819   | --includ=* | --inclu=* | --incl=* | --inc=*)
820     includedir=$ac_optarg ;;
821
822   -infodir | --infodir | --infodi | --infod | --info | --inf)
823     ac_prev=infodir ;;
824   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
825     infodir=$ac_optarg ;;
826
827   -libdir | --libdir | --libdi | --libd)
828     ac_prev=libdir ;;
829   -libdir=* | --libdir=* | --libdi=* | --libd=*)
830     libdir=$ac_optarg ;;
831
832   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
833   | --libexe | --libex | --libe)
834     ac_prev=libexecdir ;;
835   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
836   | --libexe=* | --libex=* | --libe=*)
837     libexecdir=$ac_optarg ;;
838
839   -localedir | --localedir | --localedi | --localed | --locale)
840     ac_prev=localedir ;;
841   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
842     localedir=$ac_optarg ;;
843
844   -localstatedir | --localstatedir | --localstatedi | --localstated \
845   | --localstate | --localstat | --localsta | --localst | --locals)
846     ac_prev=localstatedir ;;
847   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
848   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
849     localstatedir=$ac_optarg ;;
850
851   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
852     ac_prev=mandir ;;
853   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
854     mandir=$ac_optarg ;;
855
856   -nfp | --nfp | --nf)
857     # Obsolete; use --without-fp.
858     with_fp=no ;;
859
860   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
861   | --no-cr | --no-c | -n)
862     no_create=yes ;;
863
864   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
865   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
866     no_recursion=yes ;;
867
868   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
869   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
870   | --oldin | --oldi | --old | --ol | --o)
871     ac_prev=oldincludedir ;;
872   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
873   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
874   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
875     oldincludedir=$ac_optarg ;;
876
877   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
878     ac_prev=prefix ;;
879   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
880     prefix=$ac_optarg ;;
881
882   -program-prefix | --program-prefix | --program-prefi | --program-pref \
883   | --program-pre | --program-pr | --program-p)
884     ac_prev=program_prefix ;;
885   -program-prefix=* | --program-prefix=* | --program-prefi=* \
886   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
887     program_prefix=$ac_optarg ;;
888
889   -program-suffix | --program-suffix | --program-suffi | --program-suff \
890   | --program-suf | --program-su | --program-s)
891     ac_prev=program_suffix ;;
892   -program-suffix=* | --program-suffix=* | --program-suffi=* \
893   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
894     program_suffix=$ac_optarg ;;
895
896   -program-transform-name | --program-transform-name \
897   | --program-transform-nam | --program-transform-na \
898   | --program-transform-n | --program-transform- \
899   | --program-transform | --program-transfor \
900   | --program-transfo | --program-transf \
901   | --program-trans | --program-tran \
902   | --progr-tra | --program-tr | --program-t)
903     ac_prev=program_transform_name ;;
904   -program-transform-name=* | --program-transform-name=* \
905   | --program-transform-nam=* | --program-transform-na=* \
906   | --program-transform-n=* | --program-transform-=* \
907   | --program-transform=* | --program-transfor=* \
908   | --program-transfo=* | --program-transf=* \
909   | --program-trans=* | --program-tran=* \
910   | --progr-tra=* | --program-tr=* | --program-t=*)
911     program_transform_name=$ac_optarg ;;
912
913   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914     ac_prev=pdfdir ;;
915   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
916     pdfdir=$ac_optarg ;;
917
918   -psdir | --psdir | --psdi | --psd | --ps)
919     ac_prev=psdir ;;
920   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
921     psdir=$ac_optarg ;;
922
923   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
924   | -silent | --silent | --silen | --sile | --sil)
925     silent=yes ;;
926
927   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
928     ac_prev=sbindir ;;
929   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
930   | --sbi=* | --sb=*)
931     sbindir=$ac_optarg ;;
932
933   -sharedstatedir | --sharedstatedir | --sharedstatedi \
934   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
935   | --sharedst | --shareds | --shared | --share | --shar \
936   | --sha | --sh)
937     ac_prev=sharedstatedir ;;
938   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
939   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
940   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
941   | --sha=* | --sh=*)
942     sharedstatedir=$ac_optarg ;;
943
944   -site | --site | --sit)
945     ac_prev=site ;;
946   -site=* | --site=* | --sit=*)
947     site=$ac_optarg ;;
948
949   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
950     ac_prev=srcdir ;;
951   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
952     srcdir=$ac_optarg ;;
953
954   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
955   | --syscon | --sysco | --sysc | --sys | --sy)
956     ac_prev=sysconfdir ;;
957   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
958   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
959     sysconfdir=$ac_optarg ;;
960
961   -target | --target | --targe | --targ | --tar | --ta | --t)
962     ac_prev=target_alias ;;
963   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
964     target_alias=$ac_optarg ;;
965
966   -v | -verbose | --verbose | --verbos | --verbo | --verb)
967     verbose=yes ;;
968
969   -version | --version | --versio | --versi | --vers | -V)
970     ac_init_version=: ;;
971
972   -with-* | --with-*)
973     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
974     # Reject names that are not valid shell variable names.
975     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976       as_fn_error "invalid package name: $ac_useropt"
977     ac_useropt_orig=$ac_useropt
978     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979     case $ac_user_opts in
980       *"
981 "with_$ac_useropt"
982 "*) ;;
983       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
984          ac_unrecognized_sep=', ';;
985     esac
986     eval with_$ac_useropt=\$ac_optarg ;;
987
988   -without-* | --without-*)
989     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
990     # Reject names that are not valid shell variable names.
991     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992       as_fn_error "invalid package name: $ac_useropt"
993     ac_useropt_orig=$ac_useropt
994     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995     case $ac_user_opts in
996       *"
997 "with_$ac_useropt"
998 "*) ;;
999       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1000          ac_unrecognized_sep=', ';;
1001     esac
1002     eval with_$ac_useropt=no ;;
1003
1004   --x)
1005     # Obsolete; use --with-x.
1006     with_x=yes ;;
1007
1008   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1009   | --x-incl | --x-inc | --x-in | --x-i)
1010     ac_prev=x_includes ;;
1011   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1012   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1013     x_includes=$ac_optarg ;;
1014
1015   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1016   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1017     ac_prev=x_libraries ;;
1018   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1019   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020     x_libraries=$ac_optarg ;;
1021
1022   -*) as_fn_error "unrecognized option: \`$ac_option'
1023 Try \`$0 --help' for more information."
1024     ;;
1025
1026   *=*)
1027     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1028     # Reject names that are not valid shell variable names.
1029     case $ac_envvar in #(
1030       '' | [0-9]* | *[!_$as_cr_alnum]* )
1031       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1032     esac
1033     eval $ac_envvar=\$ac_optarg
1034     export $ac_envvar ;;
1035
1036   *)
1037     # FIXME: should be removed in autoconf 3.0.
1038     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1042     ;;
1043
1044   esac
1045 done
1046
1047 if test -n "$ac_prev"; then
1048   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049   as_fn_error "missing argument to $ac_option"
1050 fi
1051
1052 if test -n "$ac_unrecognized_opts"; then
1053   case $enable_option_checking in
1054     no) ;;
1055     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1056     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1057   esac
1058 fi
1059
1060 # Check all directory arguments for consistency.
1061 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1062                 datadir sysconfdir sharedstatedir localstatedir includedir \
1063                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1064                 libdir localedir mandir
1065 do
1066   eval ac_val=\$$ac_var
1067   # Remove trailing slashes.
1068   case $ac_val in
1069     */ )
1070       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1071       eval $ac_var=\$ac_val;;
1072   esac
1073   # Be sure to have absolute directory names.
1074   case $ac_val in
1075     [\\/$]* | ?:[\\/]* )  continue;;
1076     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077   esac
1078   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1079 done
1080
1081 # There might be people who depend on the old broken behavior: `$host'
1082 # used to hold the argument of --host etc.
1083 # FIXME: To remove some day.
1084 build=$build_alias
1085 host=$host_alias
1086 target=$target_alias
1087
1088 # FIXME: To remove some day.
1089 if test "x$host_alias" != x; then
1090   if test "x$build_alias" = x; then
1091     cross_compiling=maybe
1092     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1093     If a cross compiler is detected then cross compile mode will be used." >&2
1094   elif test "x$build_alias" != "x$host_alias"; then
1095     cross_compiling=yes
1096   fi
1097 fi
1098
1099 ac_tool_prefix=
1100 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1101
1102 test "$silent" = yes && exec 6>/dev/null
1103
1104
1105 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1106 ac_ls_di=`ls -di .` &&
1107 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1108   as_fn_error "working directory cannot be determined"
1109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1110   as_fn_error "pwd does not report name of working directory"
1111
1112
1113 # Find the source files, if location was not specified.
1114 if test -z "$srcdir"; then
1115   ac_srcdir_defaulted=yes
1116   # Try the directory containing this script, then the parent directory.
1117   ac_confdir=`$as_dirname -- "$as_myself" ||
1118 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1119          X"$as_myself" : 'X\(//\)[^/]' \| \
1120          X"$as_myself" : 'X\(//\)$' \| \
1121          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1122 $as_echo X"$as_myself" |
1123     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1124             s//\1/
1125             q
1126           }
1127           /^X\(\/\/\)[^/].*/{
1128             s//\1/
1129             q
1130           }
1131           /^X\(\/\/\)$/{
1132             s//\1/
1133             q
1134           }
1135           /^X\(\/\).*/{
1136             s//\1/
1137             q
1138           }
1139           s/.*/./; q'`
1140   srcdir=$ac_confdir
1141   if test ! -r "$srcdir/$ac_unique_file"; then
1142     srcdir=..
1143   fi
1144 else
1145   ac_srcdir_defaulted=no
1146 fi
1147 if test ! -r "$srcdir/$ac_unique_file"; then
1148   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1149   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1150 fi
1151 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1152 ac_abs_confdir=`(
1153         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1154         pwd)`
1155 # When building in place, set srcdir=.
1156 if test "$ac_abs_confdir" = "$ac_pwd"; then
1157   srcdir=.
1158 fi
1159 # Remove unnecessary trailing slashes from srcdir.
1160 # Double slashes in file names in object file debugging info
1161 # mess up M-x gdb in Emacs.
1162 case $srcdir in
1163 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1164 esac
1165 for ac_var in $ac_precious_vars; do
1166   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1167   eval ac_env_${ac_var}_value=\$${ac_var}
1168   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1169   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1170 done
1171
1172 #
1173 # Report the --help message.
1174 #
1175 if test "$ac_init_help" = "long"; then
1176   # Omit some internal or obsolete options to make the list less imposing.
1177   # This message is too long to be a string in the A/UX 3.1 sh.
1178   cat <<_ACEOF
1179 \`configure' configures this package to adapt to many kinds of systems.
1180
1181 Usage: $0 [OPTION]... [VAR=VALUE]...
1182
1183 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1184 VAR=VALUE.  See below for descriptions of some of the useful variables.
1185
1186 Defaults for the options are specified in brackets.
1187
1188 Configuration:
1189   -h, --help              display this help and exit
1190       --help=short        display options specific to this package
1191       --help=recursive    display the short help of all the included packages
1192   -V, --version           display version information and exit
1193   -q, --quiet, --silent   do not print \`checking...' messages
1194       --cache-file=FILE   cache test results in FILE [disabled]
1195   -C, --config-cache      alias for \`--cache-file=config.cache'
1196   -n, --no-create         do not create output files
1197       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1198
1199 Installation directories:
1200   --prefix=PREFIX         install architecture-independent files in PREFIX
1201                           [$ac_default_prefix]
1202   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1203                           [PREFIX]
1204
1205 By default, \`make install' will install all the files in
1206 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1207 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1208 for instance \`--prefix=\$HOME'.
1209
1210 For better control, use the options below.
1211
1212 Fine tuning of the installation directories:
1213   --bindir=DIR            user executables [EPREFIX/bin]
1214   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1215   --libexecdir=DIR        program executables [EPREFIX/libexec]
1216   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1217   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1218   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1219   --libdir=DIR            object code libraries [EPREFIX/lib]
1220   --includedir=DIR        C header files [PREFIX/include]
1221   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1222   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1223   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1224   --infodir=DIR           info documentation [DATAROOTDIR/info]
1225   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1226   --mandir=DIR            man documentation [DATAROOTDIR/man]
1227   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1228   --htmldir=DIR           html documentation [DOCDIR]
1229   --dvidir=DIR            dvi documentation [DOCDIR]
1230   --pdfdir=DIR            pdf documentation [DOCDIR]
1231   --psdir=DIR             ps documentation [DOCDIR]
1232 _ACEOF
1233
1234   cat <<\_ACEOF
1235
1236 System types:
1237   --build=BUILD     configure for building on BUILD [guessed]
1238   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1239   --target=TARGET   configure for building compilers for TARGET [HOST]
1240 _ACEOF
1241 fi
1242
1243 if test -n "$ac_init_help"; then
1244
1245   cat <<\_ACEOF
1246
1247 Optional Features:
1248   --disable-option-checking  ignore unrecognized --enable/--with options
1249   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1250   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1251   --enable-maintainer-mode
1252                           enable make rules and dependencies not useful (and
1253                           sometimes confusing) to the casual installer
1254   --enable-multilib       build many library versions (default)
1255   --disable-shared        don't provide a shared libgnat
1256
1257 Optional Packages:
1258   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1259   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1260   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1261
1262 Some influential environment variables:
1263   CC          C compiler command
1264   CFLAGS      C compiler flags
1265   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1266               nonstandard directory <lib dir>
1267   LIBS        libraries to pass to the linker, e.g. -l<library>
1268   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1269               you have headers in a nonstandard directory <include dir>
1270
1271 Use these variables to override the choices made by `configure' or to help
1272 it to find libraries and programs with nonstandard names/locations.
1273
1274 Report bugs to the package provider.
1275 _ACEOF
1276 ac_status=$?
1277 fi
1278
1279 if test "$ac_init_help" = "recursive"; then
1280   # If there are subdirs, report their specific --help.
1281   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1282     test -d "$ac_dir" ||
1283       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1284       continue
1285     ac_builddir=.
1286
1287 case "$ac_dir" in
1288 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1289 *)
1290   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1291   # A ".." for each directory in $ac_dir_suffix.
1292   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1293   case $ac_top_builddir_sub in
1294   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1296   esac ;;
1297 esac
1298 ac_abs_top_builddir=$ac_pwd
1299 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1300 # for backward compatibility:
1301 ac_top_builddir=$ac_top_build_prefix
1302
1303 case $srcdir in
1304   .)  # We are building in place.
1305     ac_srcdir=.
1306     ac_top_srcdir=$ac_top_builddir_sub
1307     ac_abs_top_srcdir=$ac_pwd ;;
1308   [\\/]* | ?:[\\/]* )  # Absolute name.
1309     ac_srcdir=$srcdir$ac_dir_suffix;
1310     ac_top_srcdir=$srcdir
1311     ac_abs_top_srcdir=$srcdir ;;
1312   *) # Relative name.
1313     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1314     ac_top_srcdir=$ac_top_build_prefix$srcdir
1315     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1316 esac
1317 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1318
1319     cd "$ac_dir" || { ac_status=$?; continue; }
1320     # Check for guested configure.
1321     if test -f "$ac_srcdir/configure.gnu"; then
1322       echo &&
1323       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1324     elif test -f "$ac_srcdir/configure"; then
1325       echo &&
1326       $SHELL "$ac_srcdir/configure" --help=recursive
1327     else
1328       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1329     fi || ac_status=$?
1330     cd "$ac_pwd" || { ac_status=$?; break; }
1331   done
1332 fi
1333
1334 test -n "$ac_init_help" && exit $ac_status
1335 if $ac_init_version; then
1336   cat <<\_ACEOF
1337 configure
1338 generated by GNU Autoconf 2.64
1339
1340 Copyright (C) 2009 Free Software Foundation, Inc.
1341 This configure script is free software; the Free Software Foundation
1342 gives unlimited permission to copy, distribute and modify it.
1343 _ACEOF
1344   exit
1345 fi
1346
1347 ## ------------------------ ##
1348 ## Autoconf initialization. ##
1349 ## ------------------------ ##
1350
1351 # ac_fn_c_try_compile LINENO
1352 # --------------------------
1353 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1354 ac_fn_c_try_compile ()
1355 {
1356   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1357   rm -f conftest.$ac_objext
1358   if { { ac_try="$ac_compile"
1359 case "(($ac_try" in
1360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1361   *) ac_try_echo=$ac_try;;
1362 esac
1363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1364 $as_echo "$ac_try_echo"; } >&5
1365   (eval "$ac_compile") 2>conftest.err
1366   ac_status=$?
1367   if test -s conftest.err; then
1368     grep -v '^ *+' conftest.err >conftest.er1
1369     cat conftest.er1 >&5
1370     mv -f conftest.er1 conftest.err
1371   fi
1372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1373   test $ac_status = 0; } && {
1374          test -z "$ac_c_werror_flag" ||
1375          test ! -s conftest.err
1376        } && test -s conftest.$ac_objext; then :
1377   ac_retval=0
1378 else
1379   $as_echo "$as_me: failed program was:" >&5
1380 sed 's/^/| /' conftest.$ac_ext >&5
1381
1382         ac_retval=1
1383 fi
1384   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1385   return $ac_retval
1386
1387 } # ac_fn_c_try_compile
1388 cat >config.log <<_ACEOF
1389 This file contains any messages produced by compilers while
1390 running configure, to aid debugging if configure makes a mistake.
1391
1392 It was created by $as_me, which was
1393 generated by GNU Autoconf 2.64.  Invocation command line was
1394
1395   $ $0 $@
1396
1397 _ACEOF
1398 exec 5>>config.log
1399 {
1400 cat <<_ASUNAME
1401 ## --------- ##
1402 ## Platform. ##
1403 ## --------- ##
1404
1405 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1406 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1407 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1408 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1409 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1410
1411 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1412 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1413
1414 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1415 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1416 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1417 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1418 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1419 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1420 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1421
1422 _ASUNAME
1423
1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425 for as_dir in $PATH
1426 do
1427   IFS=$as_save_IFS
1428   test -z "$as_dir" && as_dir=.
1429     $as_echo "PATH: $as_dir"
1430   done
1431 IFS=$as_save_IFS
1432
1433 } >&5
1434
1435 cat >&5 <<_ACEOF
1436
1437
1438 ## ----------- ##
1439 ## Core tests. ##
1440 ## ----------- ##
1441
1442 _ACEOF
1443
1444
1445 # Keep a trace of the command line.
1446 # Strip out --no-create and --no-recursion so they do not pile up.
1447 # Strip out --silent because we don't want to record it for future runs.
1448 # Also quote any args containing shell meta-characters.
1449 # Make two passes to allow for proper duplicate-argument suppression.
1450 ac_configure_args=
1451 ac_configure_args0=
1452 ac_configure_args1=
1453 ac_must_keep_next=false
1454 for ac_pass in 1 2
1455 do
1456   for ac_arg
1457   do
1458     case $ac_arg in
1459     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1460     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1461     | -silent | --silent | --silen | --sile | --sil)
1462       continue ;;
1463     *\'*)
1464       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1465     esac
1466     case $ac_pass in
1467     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1468     2)
1469       as_fn_append ac_configure_args1 " '$ac_arg'"
1470       if test $ac_must_keep_next = true; then
1471         ac_must_keep_next=false # Got value, back to normal.
1472       else
1473         case $ac_arg in
1474           *=* | --config-cache | -C | -disable-* | --disable-* \
1475           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1476           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1477           | -with-* | --with-* | -without-* | --without-* | --x)
1478             case "$ac_configure_args0 " in
1479               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1480             esac
1481             ;;
1482           -* ) ac_must_keep_next=true ;;
1483         esac
1484       fi
1485       as_fn_append ac_configure_args " '$ac_arg'"
1486       ;;
1487     esac
1488   done
1489 done
1490 { ac_configure_args0=; unset ac_configure_args0;}
1491 { ac_configure_args1=; unset ac_configure_args1;}
1492
1493 # When interrupted or exit'd, cleanup temporary files, and complete
1494 # config.log.  We remove comments because anyway the quotes in there
1495 # would cause problems or look ugly.
1496 # WARNING: Use '\'' to represent an apostrophe within the trap.
1497 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1498 trap 'exit_status=$?
1499   # Save into config.log some information that might help in debugging.
1500   {
1501     echo
1502
1503     cat <<\_ASBOX
1504 ## ---------------- ##
1505 ## Cache variables. ##
1506 ## ---------------- ##
1507 _ASBOX
1508     echo
1509     # The following way of writing the cache mishandles newlines in values,
1510 (
1511   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1512     eval ac_val=\$$ac_var
1513     case $ac_val in #(
1514     *${as_nl}*)
1515       case $ac_var in #(
1516       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1517 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1518       esac
1519       case $ac_var in #(
1520       _ | IFS | as_nl) ;; #(
1521       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1522       *) { eval $ac_var=; unset $ac_var;} ;;
1523       esac ;;
1524     esac
1525   done
1526   (set) 2>&1 |
1527     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1528     *${as_nl}ac_space=\ *)
1529       sed -n \
1530         "s/'\''/'\''\\\\'\'''\''/g;
1531           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1532       ;; #(
1533     *)
1534       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535       ;;
1536     esac |
1537     sort
1538 )
1539     echo
1540
1541     cat <<\_ASBOX
1542 ## ----------------- ##
1543 ## Output variables. ##
1544 ## ----------------- ##
1545 _ASBOX
1546     echo
1547     for ac_var in $ac_subst_vars
1548     do
1549       eval ac_val=\$$ac_var
1550       case $ac_val in
1551       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1552       esac
1553       $as_echo "$ac_var='\''$ac_val'\''"
1554     done | sort
1555     echo
1556
1557     if test -n "$ac_subst_files"; then
1558       cat <<\_ASBOX
1559 ## ------------------- ##
1560 ## File substitutions. ##
1561 ## ------------------- ##
1562 _ASBOX
1563       echo
1564       for ac_var in $ac_subst_files
1565       do
1566         eval ac_val=\$$ac_var
1567         case $ac_val in
1568         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1569         esac
1570         $as_echo "$ac_var='\''$ac_val'\''"
1571       done | sort
1572       echo
1573     fi
1574
1575     if test -s confdefs.h; then
1576       cat <<\_ASBOX
1577 ## ----------- ##
1578 ## confdefs.h. ##
1579 ## ----------- ##
1580 _ASBOX
1581       echo
1582       cat confdefs.h
1583       echo
1584     fi
1585     test "$ac_signal" != 0 &&
1586       $as_echo "$as_me: caught signal $ac_signal"
1587     $as_echo "$as_me: exit $exit_status"
1588   } >&5
1589   rm -f core *.core core.conftest.* &&
1590     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1591     exit $exit_status
1592 ' 0
1593 for ac_signal in 1 2 13 15; do
1594   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1595 done
1596 ac_signal=0
1597
1598 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1599 rm -f -r conftest* confdefs.h
1600
1601 $as_echo "/* confdefs.h */" > confdefs.h
1602
1603 # Predefined preprocessor variables.
1604
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_NAME "$PACKAGE_NAME"
1607 _ACEOF
1608
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1611 _ACEOF
1612
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1615 _ACEOF
1616
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_STRING "$PACKAGE_STRING"
1619 _ACEOF
1620
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1623 _ACEOF
1624
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_URL "$PACKAGE_URL"
1627 _ACEOF
1628
1629
1630 # Let the site file select an alternate cache file if it wants to.
1631 # Prefer an explicitly selected file to automatically selected ones.
1632 ac_site_file1=NONE
1633 ac_site_file2=NONE
1634 if test -n "$CONFIG_SITE"; then
1635   ac_site_file1=$CONFIG_SITE
1636 elif test "x$prefix" != xNONE; then
1637   ac_site_file1=$prefix/share/config.site
1638   ac_site_file2=$prefix/etc/config.site
1639 else
1640   ac_site_file1=$ac_default_prefix/share/config.site
1641   ac_site_file2=$ac_default_prefix/etc/config.site
1642 fi
1643 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1644 do
1645   test "x$ac_site_file" = xNONE && continue
1646   if test -r "$ac_site_file"; then
1647     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1648 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1649     sed 's/^/| /' "$ac_site_file" >&5
1650     . "$ac_site_file"
1651   fi
1652 done
1653
1654 if test -r "$cache_file"; then
1655   # Some versions of bash will fail to source /dev/null (special
1656   # files actually), so we avoid doing that.
1657   if test -f "$cache_file"; then
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1659 $as_echo "$as_me: loading cache $cache_file" >&6;}
1660     case $cache_file in
1661       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1662       *)                      . "./$cache_file";;
1663     esac
1664   fi
1665 else
1666   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1667 $as_echo "$as_me: creating cache $cache_file" >&6;}
1668   >$cache_file
1669 fi
1670
1671 # Check that the precious variables saved in the cache have kept the same
1672 # value.
1673 ac_cache_corrupted=false
1674 for ac_var in $ac_precious_vars; do
1675   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1676   eval ac_new_set=\$ac_env_${ac_var}_set
1677   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1678   eval ac_new_val=\$ac_env_${ac_var}_value
1679   case $ac_old_set,$ac_new_set in
1680     set,)
1681       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1682 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1683       ac_cache_corrupted=: ;;
1684     ,set)
1685       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1686 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1687       ac_cache_corrupted=: ;;
1688     ,);;
1689     *)
1690       if test "x$ac_old_val" != "x$ac_new_val"; then
1691         # differences in whitespace do not lead to failure.
1692         ac_old_val_w=`echo x $ac_old_val`
1693         ac_new_val_w=`echo x $ac_new_val`
1694         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1695           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1696 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1697           ac_cache_corrupted=:
1698         else
1699           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1700 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1701           eval $ac_var=\$ac_old_val
1702         fi
1703         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1704 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1705         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1706 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1707       fi;;
1708   esac
1709   # Pass precious variables to config.status.
1710   if test "$ac_new_set" = set; then
1711     case $ac_new_val in
1712     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1713     *) ac_arg=$ac_var=$ac_new_val ;;
1714     esac
1715     case " $ac_configure_args " in
1716       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1717       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1718     esac
1719   fi
1720 done
1721 if $ac_cache_corrupted; then
1722   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1724   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1725 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1726   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1727 fi
1728 ## -------------------- ##
1729 ## Main body of script. ##
1730 ## -------------------- ##
1731
1732 ac_ext=c
1733 ac_cpp='$CPP $CPPFLAGS'
1734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746 # Determine the host, build, and target systems
1747 ac_aux_dir=
1748 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1749   for ac_t in install-sh install.sh shtool; do
1750     if test -f "$ac_dir/$ac_t"; then
1751       ac_aux_dir=$ac_dir
1752       ac_install_sh="$ac_aux_dir/$ac_t -c"
1753       break 2
1754     fi
1755   done
1756 done
1757 if test -z "$ac_aux_dir"; then
1758   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1759 fi
1760
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1768
1769
1770 # Make sure we can run config.sub.
1771 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1772   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1773
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1775 $as_echo_n "checking build system type... " >&6; }
1776 if test "${ac_cv_build+set}" = set; then :
1777   $as_echo_n "(cached) " >&6
1778 else
1779   ac_build_alias=$build_alias
1780 test "x$ac_build_alias" = x &&
1781   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1782 test "x$ac_build_alias" = x &&
1783   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1784 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1785   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1786
1787 fi
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1789 $as_echo "$ac_cv_build" >&6; }
1790 case $ac_cv_build in
1791 *-*-*) ;;
1792 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1793 esac
1794 build=$ac_cv_build
1795 ac_save_IFS=$IFS; IFS='-'
1796 set x $ac_cv_build
1797 shift
1798 build_cpu=$1
1799 build_vendor=$2
1800 shift; shift
1801 # Remember, the first character of IFS is used to create $*,
1802 # except with old shells:
1803 build_os=$*
1804 IFS=$ac_save_IFS
1805 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1806
1807
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1809 $as_echo_n "checking host system type... " >&6; }
1810 if test "${ac_cv_host+set}" = set; then :
1811   $as_echo_n "(cached) " >&6
1812 else
1813   if test "x$host_alias" = x; then
1814   ac_cv_host=$ac_cv_build
1815 else
1816   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1817     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1818 fi
1819
1820 fi
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1822 $as_echo "$ac_cv_host" >&6; }
1823 case $ac_cv_host in
1824 *-*-*) ;;
1825 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1826 esac
1827 host=$ac_cv_host
1828 ac_save_IFS=$IFS; IFS='-'
1829 set x $ac_cv_host
1830 shift
1831 host_cpu=$1
1832 host_vendor=$2
1833 shift; shift
1834 # Remember, the first character of IFS is used to create $*,
1835 # except with old shells:
1836 host_os=$*
1837 IFS=$ac_save_IFS
1838 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1839
1840
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1842 $as_echo_n "checking target system type... " >&6; }
1843 if test "${ac_cv_target+set}" = set; then :
1844   $as_echo_n "(cached) " >&6
1845 else
1846   if test "x$target_alias" = x; then
1847   ac_cv_target=$ac_cv_host
1848 else
1849   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1850     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1851 fi
1852
1853 fi
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1855 $as_echo "$ac_cv_target" >&6; }
1856 case $ac_cv_target in
1857 *-*-*) ;;
1858 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1859 esac
1860 target=$ac_cv_target
1861 ac_save_IFS=$IFS; IFS='-'
1862 set x $ac_cv_target
1863 shift
1864 target_cpu=$1
1865 target_vendor=$2
1866 shift; shift
1867 # Remember, the first character of IFS is used to create $*,
1868 # except with old shells:
1869 target_os=$*
1870 IFS=$ac_save_IFS
1871 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1872
1873
1874 # The aliases save the names the user supplied, while $host etc.
1875 # will get canonicalized.
1876 test -n "$target_alias" &&
1877   test "$program_prefix$program_suffix$program_transform_name" = \
1878     NONENONEs,x,x, &&
1879   program_prefix=${target_alias}-
1880 target_alias=${target_alias-$host_alias}
1881
1882 # Determine the noncanonical target name, for directory use.
1883  case ${build_alias} in
1884   "") build_noncanonical=${build} ;;
1885   *) build_noncanonical=${build_alias} ;;
1886 esac
1887
1888  case ${host_alias} in
1889   "") host_noncanonical=${build_noncanonical} ;;
1890   *) host_noncanonical=${host_alias} ;;
1891 esac
1892
1893  case ${target_alias} in
1894   "") target_noncanonical=${host_noncanonical} ;;
1895   *) target_noncanonical=${target_alias} ;;
1896 esac
1897
1898
1899
1900
1901 # Determine the target- and build-specific subdirectories
1902
1903 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1904 # have matching libraries, they should use host libraries: Makefile.tpl
1905 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1906 # However, they still use the build modules, because the corresponding
1907 # host modules (e.g. bison) are only built for the host when bootstrap
1908 # finishes. So:
1909 # - build_subdir is where we find build modules, and never changes.
1910 # - build_libsubdir is where we find build libraries, and can be overridden.
1911
1912 # Prefix 'build-' so this never conflicts with target_subdir.
1913 build_subdir="build-${build_noncanonical}"
1914
1915 # Check whether --with-build-libsubdir was given.
1916 if test "${with_build_libsubdir+set}" = set; then :
1917   withval=$with_build_libsubdir; build_libsubdir="$withval"
1918 else
1919   build_libsubdir="$build_subdir"
1920 fi
1921
1922 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1923 if ( test $srcdir = . && test -d gcc ) \
1924    || test -d $srcdir/../host-${host_noncanonical}; then
1925   host_subdir="host-${host_noncanonical}"
1926 else
1927   host_subdir=.
1928 fi
1929 # No prefix.
1930 target_subdir=${target_noncanonical}
1931
1932
1933 # Command-line options.
1934 # Very limited version of AC_MAINTAINER_MODE.
1935 # Check whether --enable-maintainer-mode was given.
1936 if test "${enable_maintainer_mode+set}" = set; then :
1937   enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1938      yes) MAINT='' ;;
1939      no) MAINT='#' ;;
1940      *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1941    esac
1942    maintainer_mode=${enableval}
1943 else
1944   MAINT='#'
1945 fi
1946
1947
1948 # Default to --enable-multilib
1949 # Check whether --enable-multilib was given.
1950 if test "${enable_multilib+set}" = set; then :
1951   enableval=$enable_multilib; case "$enableval" in
1952   yes) multilib=yes ;;
1953   no)  multilib=no ;;
1954   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
1955  esac
1956 else
1957   multilib=yes
1958 fi
1959
1960
1961 # We may get other options which we leave undocumented:
1962 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1963 # See config-ml.in if you want the gory details.
1964
1965 if test "$srcdir" = "."; then
1966   if test "$with_target_subdir" != "."; then
1967     multi_basedir="$srcdir/$with_multisrctop../.."
1968   else
1969     multi_basedir="$srcdir/$with_multisrctop.."
1970   fi
1971 else
1972   multi_basedir="$srcdir/.."
1973 fi
1974
1975
1976 # Even if the default multilib is not a cross compilation,
1977 # it may be that some of the other multilibs are.
1978 if test $cross_compiling = no && test $multilib = yes \
1979    && test "x${with_multisubdir}" != x ; then
1980    cross_compiling=maybe
1981 fi
1982
1983 ac_config_commands="$ac_config_commands default-1"
1984
1985 # Calculate toolexeclibdir
1986 # Also toolexecdir, though it's only used in toolexeclibdir
1987 case ${enable_version_specific_runtime_libs} in
1988   yes)
1989     # Need the gcc compiler version to know where to install libraries
1990     # and header files if --enable-version-specific-runtime-libs option
1991     # is selected.
1992     toolexecdir='$(libdir)/gcc/$(target_alias)'
1993     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1994     ;;
1995   no)
1996     if test -n "$with_cross_host" &&
1997        test x"$with_cross_host" != x"no"; then
1998       # Install a library built with a cross compiler in tooldir, not libdir.
1999       toolexecdir='$(exec_prefix)/$(target_alias)'
2000       toolexeclibdir='$(toolexecdir)/lib'
2001     else
2002       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2003       toolexeclibdir='$(libdir)'
2004     fi
2005     multi_os_directory=`$CC -print-multi-os-directory`
2006     case $multi_os_directory in
2007       .) ;; # Avoid trailing /.
2008       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2009     esac
2010     ;;
2011 esac
2012
2013
2014 #TODO: toolexeclibdir is currently disregarded
2015
2016 # Check the compiler.
2017 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2018 # We must force CC to /not/ be precious variables; otherwise
2019 # the wrong, non-multilib-adjusted value will be used in multilibs.
2020 # As a side effect, we have to subst CFLAGS ourselves.
2021
2022
2023
2024 ac_ext=c
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2029 if test -n "$ac_tool_prefix"; then
2030   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2033 $as_echo_n "checking for $ac_word... " >&6; }
2034 if test "${ac_cv_prog_CC+set}" = set; then :
2035   $as_echo_n "(cached) " >&6
2036 else
2037   if test -n "$CC"; then
2038   ac_cv_prog_CC="$CC" # Let the user override the test.
2039 else
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 for as_dir in $PATH
2042 do
2043   IFS=$as_save_IFS
2044   test -z "$as_dir" && as_dir=.
2045     for ac_exec_ext in '' $ac_executable_extensions; do
2046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2047     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2049     break 2
2050   fi
2051 done
2052   done
2053 IFS=$as_save_IFS
2054
2055 fi
2056 fi
2057 CC=$ac_cv_prog_CC
2058 if test -n "$CC"; then
2059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2060 $as_echo "$CC" >&6; }
2061 else
2062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2063 $as_echo "no" >&6; }
2064 fi
2065
2066
2067 fi
2068 if test -z "$ac_cv_prog_CC"; then
2069   ac_ct_CC=$CC
2070   # Extract the first word of "gcc", so it can be a program name with args.
2071 set dummy gcc; ac_word=$2
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2073 $as_echo_n "checking for $ac_word... " >&6; }
2074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2075   $as_echo_n "(cached) " >&6
2076 else
2077   if test -n "$ac_ct_CC"; then
2078   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2079 else
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 for as_dir in $PATH
2082 do
2083   IFS=$as_save_IFS
2084   test -z "$as_dir" && as_dir=.
2085     for ac_exec_ext in '' $ac_executable_extensions; do
2086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2087     ac_cv_prog_ac_ct_CC="gcc"
2088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2089     break 2
2090   fi
2091 done
2092   done
2093 IFS=$as_save_IFS
2094
2095 fi
2096 fi
2097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2098 if test -n "$ac_ct_CC"; then
2099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2100 $as_echo "$ac_ct_CC" >&6; }
2101 else
2102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2103 $as_echo "no" >&6; }
2104 fi
2105
2106   if test "x$ac_ct_CC" = x; then
2107     CC=""
2108   else
2109     case $cross_compiling:$ac_tool_warned in
2110 yes:)
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2113 ac_tool_warned=yes ;;
2114 esac
2115     CC=$ac_ct_CC
2116   fi
2117 else
2118   CC="$ac_cv_prog_CC"
2119 fi
2120
2121 if test -z "$CC"; then
2122           if test -n "$ac_tool_prefix"; then
2123     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2124 set dummy ${ac_tool_prefix}cc; ac_word=$2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2126 $as_echo_n "checking for $ac_word... " >&6; }
2127 if test "${ac_cv_prog_CC+set}" = set; then :
2128   $as_echo_n "(cached) " >&6
2129 else
2130   if test -n "$CC"; then
2131   ac_cv_prog_CC="$CC" # Let the user override the test.
2132 else
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH
2135 do
2136   IFS=$as_save_IFS
2137   test -z "$as_dir" && as_dir=.
2138     for ac_exec_ext in '' $ac_executable_extensions; do
2139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140     ac_cv_prog_CC="${ac_tool_prefix}cc"
2141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2142     break 2
2143   fi
2144 done
2145   done
2146 IFS=$as_save_IFS
2147
2148 fi
2149 fi
2150 CC=$ac_cv_prog_CC
2151 if test -n "$CC"; then
2152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2153 $as_echo "$CC" >&6; }
2154 else
2155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156 $as_echo "no" >&6; }
2157 fi
2158
2159
2160   fi
2161 fi
2162 if test -z "$CC"; then
2163   # Extract the first word of "cc", so it can be a program name with args.
2164 set dummy cc; ac_word=$2
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2166 $as_echo_n "checking for $ac_word... " >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then :
2168   $as_echo_n "(cached) " >&6
2169 else
2170   if test -n "$CC"; then
2171   ac_cv_prog_CC="$CC" # Let the user override the test.
2172 else
2173   ac_prog_rejected=no
2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 for as_dir in $PATH
2176 do
2177   IFS=$as_save_IFS
2178   test -z "$as_dir" && as_dir=.
2179     for ac_exec_ext in '' $ac_executable_extensions; do
2180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2182        ac_prog_rejected=yes
2183        continue
2184      fi
2185     ac_cv_prog_CC="cc"
2186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2187     break 2
2188   fi
2189 done
2190   done
2191 IFS=$as_save_IFS
2192
2193 if test $ac_prog_rejected = yes; then
2194   # We found a bogon in the path, so make sure we never use it.
2195   set dummy $ac_cv_prog_CC
2196   shift
2197   if test $# != 0; then
2198     # We chose a different compiler from the bogus one.
2199     # However, it has the same basename, so the bogon will be chosen
2200     # first if we set CC to just the basename; use the full file name.
2201     shift
2202     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2203   fi
2204 fi
2205 fi
2206 fi
2207 CC=$ac_cv_prog_CC
2208 if test -n "$CC"; then
2209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2210 $as_echo "$CC" >&6; }
2211 else
2212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2213 $as_echo "no" >&6; }
2214 fi
2215
2216
2217 fi
2218 if test -z "$CC"; then
2219   if test -n "$ac_tool_prefix"; then
2220   for ac_prog in cl.exe
2221   do
2222     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2225 $as_echo_n "checking for $ac_word... " >&6; }
2226 if test "${ac_cv_prog_CC+set}" = set; then :
2227   $as_echo_n "(cached) " >&6
2228 else
2229   if test -n "$CC"; then
2230   ac_cv_prog_CC="$CC" # Let the user override the test.
2231 else
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2234 do
2235   IFS=$as_save_IFS
2236   test -z "$as_dir" && as_dir=.
2237     for ac_exec_ext in '' $ac_executable_extensions; do
2238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2241     break 2
2242   fi
2243 done
2244   done
2245 IFS=$as_save_IFS
2246
2247 fi
2248 fi
2249 CC=$ac_cv_prog_CC
2250 if test -n "$CC"; then
2251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2252 $as_echo "$CC" >&6; }
2253 else
2254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2255 $as_echo "no" >&6; }
2256 fi
2257
2258
2259     test -n "$CC" && break
2260   done
2261 fi
2262 if test -z "$CC"; then
2263   ac_ct_CC=$CC
2264   for ac_prog in cl.exe
2265 do
2266   # Extract the first word of "$ac_prog", so it can be a program name with args.
2267 set dummy $ac_prog; ac_word=$2
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2269 $as_echo_n "checking for $ac_word... " >&6; }
2270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2271   $as_echo_n "(cached) " >&6
2272 else
2273   if test -n "$ac_ct_CC"; then
2274   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 else
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 for as_dir in $PATH
2278 do
2279   IFS=$as_save_IFS
2280   test -z "$as_dir" && as_dir=.
2281     for ac_exec_ext in '' $ac_executable_extensions; do
2282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283     ac_cv_prog_ac_ct_CC="$ac_prog"
2284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2285     break 2
2286   fi
2287 done
2288   done
2289 IFS=$as_save_IFS
2290
2291 fi
2292 fi
2293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294 if test -n "$ac_ct_CC"; then
2295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2296 $as_echo "$ac_ct_CC" >&6; }
2297 else
2298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299 $as_echo "no" >&6; }
2300 fi
2301
2302
2303   test -n "$ac_ct_CC" && break
2304 done
2305
2306   if test "x$ac_ct_CC" = x; then
2307     CC=""
2308   else
2309     case $cross_compiling:$ac_tool_warned in
2310 yes:)
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2313 ac_tool_warned=yes ;;
2314 esac
2315     CC=$ac_ct_CC
2316   fi
2317 fi
2318
2319 fi
2320
2321
2322 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 as_fn_error "no acceptable C compiler found in \$PATH
2325 See \`config.log' for more details." "$LINENO" 5; }
2326
2327 # Provide some information about the compiler.
2328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2329 set X $ac_compile
2330 ac_compiler=$2
2331 for ac_option in --version -v -V -qversion; do
2332   { { ac_try="$ac_compiler $ac_option >&5"
2333 case "(($ac_try" in
2334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2335   *) ac_try_echo=$ac_try;;
2336 esac
2337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2338 $as_echo "$ac_try_echo"; } >&5
2339   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2340   ac_status=$?
2341   if test -s conftest.err; then
2342     sed '10a\
2343 ... rest of stderr output deleted ...
2344          10q' conftest.err >conftest.er1
2345     cat conftest.er1 >&5
2346     rm -f conftest.er1 conftest.err
2347   fi
2348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349   test $ac_status = 0; }
2350 done
2351
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h.  */
2354
2355 int
2356 main ()
2357 {
2358
2359   ;
2360   return 0;
2361 }
2362 _ACEOF
2363 ac_clean_files_save=$ac_clean_files
2364 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2365 # Try to create an executable without -o first, disregard a.out.
2366 # It will help us diagnose broken compilers, and finding out an intuition
2367 # of exeext.
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2369 $as_echo_n "checking for C compiler default output file name... " >&6; }
2370 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2371
2372 # The possible output files:
2373 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2374
2375 ac_rmfiles=
2376 for ac_file in $ac_files
2377 do
2378   case $ac_file in
2379     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2380     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2381   esac
2382 done
2383 rm -f $ac_rmfiles
2384
2385 if { { ac_try="$ac_link_default"
2386 case "(($ac_try" in
2387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388   *) ac_try_echo=$ac_try;;
2389 esac
2390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392   (eval "$ac_link_default") 2>&5
2393   ac_status=$?
2394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395   test $ac_status = 0; }; then :
2396   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2397 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2398 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2399 # so that the user can short-circuit this test for compilers unknown to
2400 # Autoconf.
2401 for ac_file in $ac_files ''
2402 do
2403   test -f "$ac_file" || continue
2404   case $ac_file in
2405     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2406         ;;
2407     [ab].out )
2408         # We found the default executable, but exeext='' is most
2409         # certainly right.
2410         break;;
2411     *.* )
2412         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2413         then :; else
2414            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2415         fi
2416         # We set ac_cv_exeext here because the later test for it is not
2417         # safe: cross compilers may not add the suffix if given an `-o'
2418         # argument, so we may need to know it at that point already.
2419         # Even if this section looks crufty: it has the advantage of
2420         # actually working.
2421         break;;
2422     * )
2423         break;;
2424   esac
2425 done
2426 test "$ac_cv_exeext" = no && ac_cv_exeext=
2427
2428 else
2429   ac_file=''
2430 fi
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2432 $as_echo "$ac_file" >&6; }
2433 if test -z "$ac_file"; then :
2434   $as_echo "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.$ac_ext >&5
2436
2437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 { as_fn_set_status 77
2440 as_fn_error "C compiler cannot create executables
2441 See \`config.log' for more details." "$LINENO" 5; }; }
2442 fi
2443 ac_exeext=$ac_cv_exeext
2444
2445 # Check that the compiler produces executables we can run.  If not, either
2446 # the compiler is broken, or we cross compile.
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2448 $as_echo_n "checking whether the C compiler works... " >&6; }
2449 # If not cross compiling, check that we can run a simple program.
2450 if test "$cross_compiling" != yes; then
2451   if { ac_try='./$ac_file'
2452   { { case "(($ac_try" in
2453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454   *) ac_try_echo=$ac_try;;
2455 esac
2456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457 $as_echo "$ac_try_echo"; } >&5
2458   (eval "$ac_try") 2>&5
2459   ac_status=$?
2460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461   test $ac_status = 0; }; }; then
2462     cross_compiling=no
2463   else
2464     if test "$cross_compiling" = maybe; then
2465         cross_compiling=yes
2466     else
2467         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2469 as_fn_error "cannot run C compiled programs.
2470 If you meant to cross compile, use \`--host'.
2471 See \`config.log' for more details." "$LINENO" 5; }
2472     fi
2473   fi
2474 fi
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2476 $as_echo "yes" >&6; }
2477
2478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2479 ac_clean_files=$ac_clean_files_save
2480 # Check that the compiler produces executables we can run.  If not, either
2481 # the compiler is broken, or we cross compile.
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2483 $as_echo_n "checking whether we are cross compiling... " >&6; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2485 $as_echo "$cross_compiling" >&6; }
2486
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2488 $as_echo_n "checking for suffix of executables... " >&6; }
2489 if { { ac_try="$ac_link"
2490 case "(($ac_try" in
2491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2492   *) ac_try_echo=$ac_try;;
2493 esac
2494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2495 $as_echo "$ac_try_echo"; } >&5
2496   (eval "$ac_link") 2>&5
2497   ac_status=$?
2498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2499   test $ac_status = 0; }; then :
2500   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2501 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2502 # work properly (i.e., refer to `conftest.exe'), while it won't with
2503 # `rm'.
2504 for ac_file in conftest.exe conftest conftest.*; do
2505   test -f "$ac_file" || continue
2506   case $ac_file in
2507     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2508     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2509           break;;
2510     * ) break;;
2511   esac
2512 done
2513 else
2514   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516 as_fn_error "cannot compute suffix of executables: cannot compile and link
2517 See \`config.log' for more details." "$LINENO" 5; }
2518 fi
2519 rm -f conftest$ac_cv_exeext
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2521 $as_echo "$ac_cv_exeext" >&6; }
2522
2523 rm -f conftest.$ac_ext
2524 EXEEXT=$ac_cv_exeext
2525 ac_exeext=$EXEEXT
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2527 $as_echo_n "checking for suffix of object files... " >&6; }
2528 if test "${ac_cv_objext+set}" = set; then :
2529   $as_echo_n "(cached) " >&6
2530 else
2531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h.  */
2533
2534 int
2535 main ()
2536 {
2537
2538   ;
2539   return 0;
2540 }
2541 _ACEOF
2542 rm -f conftest.o conftest.obj
2543 if { { ac_try="$ac_compile"
2544 case "(($ac_try" in
2545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546   *) ac_try_echo=$ac_try;;
2547 esac
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550   (eval "$ac_compile") 2>&5
2551   ac_status=$?
2552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553   test $ac_status = 0; }; then :
2554   for ac_file in conftest.o conftest.obj conftest.*; do
2555   test -f "$ac_file" || continue;
2556   case $ac_file in
2557     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2558     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2559        break;;
2560   esac
2561 done
2562 else
2563   $as_echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2565
2566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2568 as_fn_error "cannot compute suffix of object files: cannot compile
2569 See \`config.log' for more details." "$LINENO" 5; }
2570 fi
2571 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2572 fi
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2574 $as_echo "$ac_cv_objext" >&6; }
2575 OBJEXT=$ac_cv_objext
2576 ac_objext=$OBJEXT
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2579 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2580   $as_echo_n "(cached) " >&6
2581 else
2582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h.  */
2584
2585 int
2586 main ()
2587 {
2588 #ifndef __GNUC__
2589        choke me
2590 #endif
2591
2592   ;
2593   return 0;
2594 }
2595 _ACEOF
2596 if ac_fn_c_try_compile "$LINENO"; then :
2597   ac_compiler_gnu=yes
2598 else
2599   ac_compiler_gnu=no
2600 fi
2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2603
2604 fi
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2606 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2607 if test $ac_compiler_gnu = yes; then
2608   GCC=yes
2609 else
2610   GCC=
2611 fi
2612 ac_test_CFLAGS=${CFLAGS+set}
2613 ac_save_CFLAGS=$CFLAGS
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2615 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2616 if test "${ac_cv_prog_cc_g+set}" = set; then :
2617   $as_echo_n "(cached) " >&6
2618 else
2619   ac_save_c_werror_flag=$ac_c_werror_flag
2620    ac_c_werror_flag=yes
2621    ac_cv_prog_cc_g=no
2622    CFLAGS="-g"
2623    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h.  */
2625
2626 int
2627 main ()
2628 {
2629
2630   ;
2631   return 0;
2632 }
2633 _ACEOF
2634 if ac_fn_c_try_compile "$LINENO"; then :
2635   ac_cv_prog_cc_g=yes
2636 else
2637   CFLAGS=""
2638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h.  */
2640
2641 int
2642 main ()
2643 {
2644
2645   ;
2646   return 0;
2647 }
2648 _ACEOF
2649 if ac_fn_c_try_compile "$LINENO"; then :
2650
2651 else
2652   ac_c_werror_flag=$ac_save_c_werror_flag
2653          CFLAGS="-g"
2654          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h.  */
2656
2657 int
2658 main ()
2659 {
2660
2661   ;
2662   return 0;
2663 }
2664 _ACEOF
2665 if ac_fn_c_try_compile "$LINENO"; then :
2666   ac_cv_prog_cc_g=yes
2667 fi
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669 fi
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671 fi
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673    ac_c_werror_flag=$ac_save_c_werror_flag
2674 fi
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2676 $as_echo "$ac_cv_prog_cc_g" >&6; }
2677 if test "$ac_test_CFLAGS" = set; then
2678   CFLAGS=$ac_save_CFLAGS
2679 elif test $ac_cv_prog_cc_g = yes; then
2680   if test "$GCC" = yes; then
2681     CFLAGS="-g -O2"
2682   else
2683     CFLAGS="-g"
2684   fi
2685 else
2686   if test "$GCC" = yes; then
2687     CFLAGS="-O2"
2688   else
2689     CFLAGS=
2690   fi
2691 fi
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2693 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2694 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2695   $as_echo_n "(cached) " >&6
2696 else
2697   ac_cv_prog_cc_c89=no
2698 ac_save_CC=$CC
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h.  */
2701 #include <stdarg.h>
2702 #include <stdio.h>
2703 #include <sys/types.h>
2704 #include <sys/stat.h>
2705 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2706 struct buf { int x; };
2707 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2708 static char *e (p, i)
2709      char **p;
2710      int i;
2711 {
2712   return p[i];
2713 }
2714 static char *f (char * (*g) (char **, int), char **p, ...)
2715 {
2716   char *s;
2717   va_list v;
2718   va_start (v,p);
2719   s = g (p, va_arg (v,int));
2720   va_end (v);
2721   return s;
2722 }
2723
2724 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2725    function prototypes and stuff, but not '\xHH' hex character constants.
2726    These don't provoke an error unfortunately, instead are silently treated
2727    as 'x'.  The following induces an error, until -std is added to get
2728    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2729    array size at least.  It's necessary to write '\x00'==0 to get something
2730    that's true only with -std.  */
2731 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2732
2733 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2734    inside strings and character constants.  */
2735 #define FOO(x) 'x'
2736 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2737
2738 int test (int i, double x);
2739 struct s1 {int (*f) (int a);};
2740 struct s2 {int (*f) (double a);};
2741 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2742 int argc;
2743 char **argv;
2744 int
2745 main ()
2746 {
2747 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2748   ;
2749   return 0;
2750 }
2751 _ACEOF
2752 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2753         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2754 do
2755   CC="$ac_save_CC $ac_arg"
2756   if ac_fn_c_try_compile "$LINENO"; then :
2757   ac_cv_prog_cc_c89=$ac_arg
2758 fi
2759 rm -f core conftest.err conftest.$ac_objext
2760   test "x$ac_cv_prog_cc_c89" != "xno" && break
2761 done
2762 rm -f conftest.$ac_ext
2763 CC=$ac_save_CC
2764
2765 fi
2766 # AC_CACHE_VAL
2767 case "x$ac_cv_prog_cc_c89" in
2768   x)
2769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2770 $as_echo "none needed" >&6; } ;;
2771   xno)
2772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2773 $as_echo "unsupported" >&6; } ;;
2774   *)
2775     CC="$CC $ac_cv_prog_cc_c89"
2776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2777 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2778 esac
2779 if test "x$ac_cv_prog_cc_c89" != xno; then :
2780
2781 fi
2782
2783 ac_ext=c
2784 ac_cpp='$CPP $CPPFLAGS'
2785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2788
2789
2790
2791
2792
2793 # Check whether --enable-shared was given.
2794 if test "${enable_shared+set}" = set; then :
2795   enableval=$enable_shared;
2796 case $enable_shared in
2797   yes | no) ;;
2798   *)
2799     enable_shared=no
2800     IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2801     for pkg in $enableval; do
2802       case $pkg in
2803         ada | libada)
2804           enable_shared=yes ;;
2805       esac
2806     done
2807     IFS="$ac_save_ifs"
2808     ;;
2809 esac
2810
2811 else
2812   enable_shared=yes
2813 fi
2814
2815
2816
2817 # These must be passed down, or are needed by gcc/libgcc.mvars
2818 for ac_prog in gawk mawk nawk awk
2819 do
2820   # Extract the first word of "$ac_prog", so it can be a program name with args.
2821 set dummy $ac_prog; ac_word=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if test "${ac_cv_prog_AWK+set}" = set; then :
2825   $as_echo_n "(cached) " >&6
2826 else
2827   if test -n "$AWK"; then
2828   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2829 else
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 for as_dir in $PATH
2832 do
2833   IFS=$as_save_IFS
2834   test -z "$as_dir" && as_dir=.
2835     for ac_exec_ext in '' $ac_executable_extensions; do
2836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837     ac_cv_prog_AWK="$ac_prog"
2838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839     break 2
2840   fi
2841 done
2842   done
2843 IFS=$as_save_IFS
2844
2845 fi
2846 fi
2847 AWK=$ac_cv_prog_AWK
2848 if test -n "$AWK"; then
2849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2850 $as_echo "$AWK" >&6; }
2851 else
2852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2854 fi
2855
2856
2857   test -n "$AWK" && break
2858 done
2859
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2861 $as_echo_n "checking whether ln -s works... " >&6; }
2862 LN_S=$as_ln_s
2863 if test "$LN_S" = "ln -s"; then
2864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2865 $as_echo "yes" >&6; }
2866 else
2867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2868 $as_echo "no, using $LN_S" >&6; }
2869 fi
2870
2871
2872 # Determine what to build for 'gnatlib'
2873 if test $build = $target \
2874    && test ${enable_shared} = yes ; then
2875   # Note that build=target is almost certainly the wrong test; FIXME
2876   default_gnatlib_target="gnatlib-shared"
2877 else
2878   default_gnatlib_target="gnatlib-plain"
2879 fi
2880
2881
2882 warn_cflags=
2883 if test "x$GCC" = "xyes"; then
2884   warn_cflags='$(GCC_WARN_CFLAGS)'
2885 fi
2886
2887
2888 # Output: create a Makefile.
2889 ac_config_files="$ac_config_files Makefile"
2890
2891
2892 cat >confcache <<\_ACEOF
2893 # This file is a shell script that caches the results of configure
2894 # tests run on this system so they can be shared between configure
2895 # scripts and configure runs, see configure's option --config-cache.
2896 # It is not useful on other systems.  If it contains results you don't
2897 # want to keep, you may remove or edit it.
2898 #
2899 # config.status only pays attention to the cache file if you give it
2900 # the --recheck option to rerun configure.
2901 #
2902 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2903 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2904 # following values.
2905
2906 _ACEOF
2907
2908 # The following way of writing the cache mishandles newlines in values,
2909 # but we know of no workaround that is simple, portable, and efficient.
2910 # So, we kill variables containing newlines.
2911 # Ultrix sh set writes to stderr and can't be redirected directly,
2912 # and sets the high bit in the cache file unless we assign to the vars.
2913 (
2914   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2915     eval ac_val=\$$ac_var
2916     case $ac_val in #(
2917     *${as_nl}*)
2918       case $ac_var in #(
2919       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2921       esac
2922       case $ac_var in #(
2923       _ | IFS | as_nl) ;; #(
2924       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2925       *) { eval $ac_var=; unset $ac_var;} ;;
2926       esac ;;
2927     esac
2928   done
2929
2930   (set) 2>&1 |
2931     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2932     *${as_nl}ac_space=\ *)
2933       # `set' does not quote correctly, so add quotes: double-quote
2934       # substitution turns \\\\ into \\, and sed turns \\ into \.
2935       sed -n \
2936         "s/'/'\\\\''/g;
2937           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2938       ;; #(
2939     *)
2940       # `set' quotes correctly as required by POSIX, so do not add quotes.
2941       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2942       ;;
2943     esac |
2944     sort
2945 ) |
2946   sed '
2947      /^ac_cv_env_/b end
2948      t clear
2949      :clear
2950      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2951      t end
2952      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2953      :end' >>confcache
2954 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2955   if test -w "$cache_file"; then
2956     test "x$cache_file" != "x/dev/null" &&
2957       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2958 $as_echo "$as_me: updating cache $cache_file" >&6;}
2959     cat confcache >$cache_file
2960   else
2961     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2962 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2963   fi
2964 fi
2965 rm -f confcache
2966
2967 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2968 # Let make expand exec_prefix.
2969 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2970
2971 # Transform confdefs.h into DEFS.
2972 # Protect against shell expansion while executing Makefile rules.
2973 # Protect against Makefile macro expansion.
2974 #
2975 # If the first sed substitution is executed (which looks for macros that
2976 # take arguments), then branch to the quote section.  Otherwise,
2977 # look for a macro that doesn't take arguments.
2978 ac_script='
2979 :mline
2980 /\\$/{
2981  N
2982  s,\\\n,,
2983  b mline
2984 }
2985 t clear
2986 :clear
2987 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2988 t quote
2989 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2990 t quote
2991 b any
2992 :quote
2993 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2994 s/\[/\\&/g
2995 s/\]/\\&/g
2996 s/\$/$$/g
2997 H
2998 :any
2999 ${
3000         g
3001         s/^\n//
3002         s/\n/ /g
3003         p
3004 }
3005 '
3006 DEFS=`sed -n "$ac_script" confdefs.h`
3007
3008
3009 ac_libobjs=
3010 ac_ltlibobjs=
3011 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3012   # 1. Remove the extension, and $U if already installed.
3013   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3014   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3015   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3016   #    will be set to the directory where LIBOBJS objects are built.
3017   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3018   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3019 done
3020 LIBOBJS=$ac_libobjs
3021
3022 LTLIBOBJS=$ac_ltlibobjs
3023
3024
3025
3026 : ${CONFIG_STATUS=./config.status}
3027 ac_write_fail=0
3028 ac_clean_files_save=$ac_clean_files
3029 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3031 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3032 as_write_fail=0
3033 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3034 #! $SHELL
3035 # Generated by $as_me.
3036 # Run this file to recreate the current configuration.
3037 # Compiler output produced by configure, useful for debugging
3038 # configure, is in config.log if it exists.
3039
3040 debug=false
3041 ac_cs_recheck=false
3042 ac_cs_silent=false
3043
3044 SHELL=\${CONFIG_SHELL-$SHELL}
3045 export SHELL
3046 _ASEOF
3047 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3048 ## -------------------- ##
3049 ## M4sh Initialization. ##
3050 ## -------------------- ##
3051
3052 # Be more Bourne compatible
3053 DUALCASE=1; export DUALCASE # for MKS sh
3054 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3055   emulate sh
3056   NULLCMD=:
3057   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3058   # is contrary to our usage.  Disable this feature.
3059   alias -g '${1+"$@"}'='"$@"'
3060   setopt NO_GLOB_SUBST
3061 else
3062   case `(set -o) 2>/dev/null` in #(
3063   *posix*) :
3064     set -o posix ;; #(
3065   *) :
3066      ;;
3067 esac
3068 fi
3069
3070
3071 as_nl='
3072 '
3073 export as_nl
3074 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3075 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3076 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3077 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3078 # Prefer a ksh shell builtin over an external printf program on Solaris,
3079 # but without wasting forks for bash or zsh.
3080 if test -z "$BASH_VERSION$ZSH_VERSION" \
3081     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3082   as_echo='print -r --'
3083   as_echo_n='print -rn --'
3084 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3085   as_echo='printf %s\n'
3086   as_echo_n='printf %s'
3087 else
3088   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3089     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3090     as_echo_n='/usr/ucb/echo -n'
3091   else
3092     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3093     as_echo_n_body='eval
3094       arg=$1;
3095       case $arg in #(
3096       *"$as_nl"*)
3097         expr "X$arg" : "X\\(.*\\)$as_nl";
3098         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3099       esac;
3100       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3101     '
3102     export as_echo_n_body
3103     as_echo_n='sh -c $as_echo_n_body as_echo'
3104   fi
3105   export as_echo_body
3106   as_echo='sh -c $as_echo_body as_echo'
3107 fi
3108
3109 # The user is always right.
3110 if test "${PATH_SEPARATOR+set}" != set; then
3111   PATH_SEPARATOR=:
3112   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3113     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3114       PATH_SEPARATOR=';'
3115   }
3116 fi
3117
3118
3119 # IFS
3120 # We need space, tab and new line, in precisely that order.  Quoting is
3121 # there to prevent editors from complaining about space-tab.
3122 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3123 # splitting by setting IFS to empty value.)
3124 IFS=" ""        $as_nl"
3125
3126 # Find who we are.  Look in the path if we contain no directory separator.
3127 case $0 in #((
3128   *[\\/]* ) as_myself=$0 ;;
3129   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3131 do
3132   IFS=$as_save_IFS
3133   test -z "$as_dir" && as_dir=.
3134     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3135   done
3136 IFS=$as_save_IFS
3137
3138      ;;
3139 esac
3140 # We did not find ourselves, most probably we were run as `sh COMMAND'
3141 # in which case we are not to be found in the path.
3142 if test "x$as_myself" = x; then
3143   as_myself=$0
3144 fi
3145 if test ! -f "$as_myself"; then
3146   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3147   exit 1
3148 fi
3149
3150 # Unset variables that we do not need and which cause bugs (e.g. in
3151 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3152 # suppresses any "Segmentation fault" message there.  '((' could
3153 # trigger a bug in pdksh 5.2.14.
3154 for as_var in BASH_ENV ENV MAIL MAILPATH
3155 do eval test x\${$as_var+set} = xset \
3156   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3157 done
3158 PS1='$ '
3159 PS2='> '
3160 PS4='+ '
3161
3162 # NLS nuisances.
3163 LC_ALL=C
3164 export LC_ALL
3165 LANGUAGE=C
3166 export LANGUAGE
3167
3168 # CDPATH.
3169 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3170
3171
3172 # as_fn_error ERROR [LINENO LOG_FD]
3173 # ---------------------------------
3174 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3175 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3176 # script with status $?, using 1 if that was 0.
3177 as_fn_error ()
3178 {
3179   as_status=$?; test $as_status -eq 0 && as_status=1
3180   if test "$3"; then
3181     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3182     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3183   fi
3184   $as_echo "$as_me: error: $1" >&2
3185   as_fn_exit $as_status
3186 } # as_fn_error
3187
3188
3189 # as_fn_set_status STATUS
3190 # -----------------------
3191 # Set $? to STATUS, without forking.
3192 as_fn_set_status ()
3193 {
3194   return $1
3195 } # as_fn_set_status
3196
3197 # as_fn_exit STATUS
3198 # -----------------
3199 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3200 as_fn_exit ()
3201 {
3202   set +e
3203   as_fn_set_status $1
3204   exit $1
3205 } # as_fn_exit
3206
3207 # as_fn_unset VAR
3208 # ---------------
3209 # Portably unset VAR.
3210 as_fn_unset ()
3211 {
3212   { eval $1=; unset $1;}
3213 }
3214 as_unset=as_fn_unset
3215 # as_fn_append VAR VALUE
3216 # ----------------------
3217 # Append the text in VALUE to the end of the definition contained in VAR. Take
3218 # advantage of any shell optimizations that allow amortized linear growth over
3219 # repeated appends, instead of the typical quadratic growth present in naive
3220 # implementations.
3221 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3222   eval 'as_fn_append ()
3223   {
3224     eval $1+=\$2
3225   }'
3226 else
3227   as_fn_append ()
3228   {
3229     eval $1=\$$1\$2
3230   }
3231 fi # as_fn_append
3232
3233 # as_fn_arith ARG...
3234 # ------------------
3235 # Perform arithmetic evaluation on the ARGs, and store the result in the
3236 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3237 # must be portable across $(()) and expr.
3238 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3239   eval 'as_fn_arith ()
3240   {
3241     as_val=$(( $* ))
3242   }'
3243 else
3244   as_fn_arith ()
3245   {
3246     as_val=`expr "$@" || test $? -eq 1`
3247   }
3248 fi # as_fn_arith
3249
3250
3251 if expr a : '\(a\)' >/dev/null 2>&1 &&
3252    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3253   as_expr=expr
3254 else
3255   as_expr=false
3256 fi
3257
3258 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3259   as_basename=basename
3260 else
3261   as_basename=false
3262 fi
3263
3264 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3265   as_dirname=dirname
3266 else
3267   as_dirname=false
3268 fi
3269
3270 as_me=`$as_basename -- "$0" ||
3271 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3272          X"$0" : 'X\(//\)$' \| \
3273          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3274 $as_echo X/"$0" |
3275     sed '/^.*\/\([^/][^/]*\)\/*$/{
3276             s//\1/
3277             q
3278           }
3279           /^X\/\(\/\/\)$/{
3280             s//\1/
3281             q
3282           }
3283           /^X\/\(\/\).*/{
3284             s//\1/
3285             q
3286           }
3287           s/.*/./; q'`
3288
3289 # Avoid depending upon Character Ranges.
3290 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3291 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3292 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3293 as_cr_digits='0123456789'
3294 as_cr_alnum=$as_cr_Letters$as_cr_digits
3295
3296 ECHO_C= ECHO_N= ECHO_T=
3297 case `echo -n x` in #(((((
3298 -n*)
3299   case `echo 'xy\c'` in
3300   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3301   xy)  ECHO_C='\c';;
3302   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3303        ECHO_T=' ';;
3304   esac;;
3305 *)
3306   ECHO_N='-n';;
3307 esac
3308
3309 rm -f conf$$ conf$$.exe conf$$.file
3310 if test -d conf$$.dir; then
3311   rm -f conf$$.dir/conf$$.file
3312 else
3313   rm -f conf$$.dir
3314   mkdir conf$$.dir 2>/dev/null
3315 fi
3316 if (echo >conf$$.file) 2>/dev/null; then
3317   if ln -s conf$$.file conf$$ 2>/dev/null; then
3318     as_ln_s='ln -s'
3319     # ... but there are two gotchas:
3320     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3321     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3322     # In both cases, we have to default to `cp -p'.
3323     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3324       as_ln_s='cp -p'
3325   elif ln conf$$.file conf$$ 2>/dev/null; then
3326     as_ln_s=ln
3327   else
3328     as_ln_s='cp -p'
3329   fi
3330 else
3331   as_ln_s='cp -p'
3332 fi
3333 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3334 rmdir conf$$.dir 2>/dev/null
3335
3336
3337 # as_fn_mkdir_p
3338 # -------------
3339 # Create "$as_dir" as a directory, including parents if necessary.
3340 as_fn_mkdir_p ()
3341 {
3342
3343   case $as_dir in #(
3344   -*) as_dir=./$as_dir;;
3345   esac
3346   test -d "$as_dir" || eval $as_mkdir_p || {
3347     as_dirs=
3348     while :; do
3349       case $as_dir in #(
3350       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3351       *) as_qdir=$as_dir;;
3352       esac
3353       as_dirs="'$as_qdir' $as_dirs"
3354       as_dir=`$as_dirname -- "$as_dir" ||
3355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3356          X"$as_dir" : 'X\(//\)[^/]' \| \
3357          X"$as_dir" : 'X\(//\)$' \| \
3358          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3359 $as_echo X"$as_dir" |
3360     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3361             s//\1/
3362             q
3363           }
3364           /^X\(\/\/\)[^/].*/{
3365             s//\1/
3366             q
3367           }
3368           /^X\(\/\/\)$/{
3369             s//\1/
3370             q
3371           }
3372           /^X\(\/\).*/{
3373             s//\1/
3374             q
3375           }
3376           s/.*/./; q'`
3377       test -d "$as_dir" && break
3378     done
3379     test -z "$as_dirs" || eval "mkdir $as_dirs"
3380   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3381
3382
3383 } # as_fn_mkdir_p
3384 if mkdir -p . 2>/dev/null; then
3385   as_mkdir_p='mkdir -p "$as_dir"'
3386 else
3387   test -d ./-p && rmdir ./-p
3388   as_mkdir_p=false
3389 fi
3390
3391 if test -x / >/dev/null 2>&1; then
3392   as_test_x='test -x'
3393 else
3394   if ls -dL / >/dev/null 2>&1; then
3395     as_ls_L_option=L
3396   else
3397     as_ls_L_option=
3398   fi
3399   as_test_x='
3400     eval sh -c '\''
3401       if test -d "$1"; then
3402         test -d "$1/.";
3403       else
3404         case $1 in #(
3405         -*)set "./$1";;
3406         esac;
3407         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3408         ???[sx]*):;;*)false;;esac;fi
3409     '\'' sh
3410   '
3411 fi
3412 as_executable_p=$as_test_x
3413
3414 # Sed expression to map a string onto a valid CPP name.
3415 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3416
3417 # Sed expression to map a string onto a valid variable name.
3418 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3419
3420
3421 exec 6>&1
3422 ## ----------------------------------- ##
3423 ## Main body of $CONFIG_STATUS script. ##
3424 ## ----------------------------------- ##
3425 _ASEOF
3426 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3427
3428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3429 # Save the log message, to keep $0 and so on meaningful, and to
3430 # report actual input values of CONFIG_FILES etc. instead of their
3431 # values after options handling.
3432 ac_log="
3433 This file was extended by $as_me, which was
3434 generated by GNU Autoconf 2.64.  Invocation command line was
3435
3436   CONFIG_FILES    = $CONFIG_FILES
3437   CONFIG_HEADERS  = $CONFIG_HEADERS
3438   CONFIG_LINKS    = $CONFIG_LINKS
3439   CONFIG_COMMANDS = $CONFIG_COMMANDS
3440   $ $0 $@
3441
3442 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3443 "
3444
3445 _ACEOF
3446
3447 case $ac_config_files in *"
3448 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3449 esac
3450
3451
3452
3453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3454 # Files that config.status was made for.
3455 config_files="$ac_config_files"
3456 config_commands="$ac_config_commands"
3457
3458 _ACEOF
3459
3460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3461 ac_cs_usage="\
3462 \`$as_me' instantiates files and other configuration actions
3463 from templates according to the current configuration.  Unless the files
3464 and actions are specified as TAGs, all are instantiated by default.
3465
3466 Usage: $0 [OPTION]... [TAG]...
3467
3468   -h, --help       print this help, then exit
3469   -V, --version    print version number and configuration settings, then exit
3470   -q, --quiet, --silent
3471                    do not print progress messages
3472   -d, --debug      don't remove temporary files
3473       --recheck    update $as_me by reconfiguring in the same conditions
3474       --file=FILE[:TEMPLATE]
3475                    instantiate the configuration file FILE
3476
3477 Configuration files:
3478 $config_files
3479
3480 Configuration commands:
3481 $config_commands
3482
3483 Report bugs to the package provider."
3484
3485 _ACEOF
3486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3487 ac_cs_version="\\
3488 config.status
3489 configured by $0, generated by GNU Autoconf 2.64,
3490   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3491
3492 Copyright (C) 2009 Free Software Foundation, Inc.
3493 This config.status script is free software; the Free Software Foundation
3494 gives unlimited permission to copy, distribute and modify it."
3495
3496 ac_pwd='$ac_pwd'
3497 srcdir='$srcdir'
3498 AWK='$AWK'
3499 test -n "\$AWK" || AWK=awk
3500 _ACEOF
3501
3502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3503 # The default lists apply if the user does not specify any file.
3504 ac_need_defaults=:
3505 while test $# != 0
3506 do
3507   case $1 in
3508   --*=*)
3509     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3510     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3511     ac_shift=:
3512     ;;
3513   *)
3514     ac_option=$1
3515     ac_optarg=$2
3516     ac_shift=shift
3517     ;;
3518   esac
3519
3520   case $ac_option in
3521   # Handling of the options.
3522   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3523     ac_cs_recheck=: ;;
3524   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3525     $as_echo "$ac_cs_version"; exit ;;
3526   --debug | --debu | --deb | --de | --d | -d )
3527     debug=: ;;
3528   --file | --fil | --fi | --f )
3529     $ac_shift
3530     case $ac_optarg in
3531     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3532     esac
3533     as_fn_append CONFIG_FILES " '$ac_optarg'"
3534     ac_need_defaults=false;;
3535   --he | --h |  --help | --hel | -h )
3536     $as_echo "$ac_cs_usage"; exit ;;
3537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3538   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3539     ac_cs_silent=: ;;
3540
3541   # This is an error.
3542   -*) as_fn_error "unrecognized option: \`$1'
3543 Try \`$0 --help' for more information." ;;
3544
3545   *) as_fn_append ac_config_targets " $1"
3546      ac_need_defaults=false ;;
3547
3548   esac
3549   shift
3550 done
3551
3552 ac_configure_extra_args=
3553
3554 if $ac_cs_silent; then
3555   exec 6>/dev/null
3556   ac_configure_extra_args="$ac_configure_extra_args --silent"
3557 fi
3558
3559 _ACEOF
3560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3561 if \$ac_cs_recheck; then
3562   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3563   shift
3564   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3565   CONFIG_SHELL='$SHELL'
3566   export CONFIG_SHELL
3567   exec "\$@"
3568 fi
3569
3570 _ACEOF
3571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3572 exec 5>>config.log
3573 {
3574   echo
3575   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3576 ## Running $as_me. ##
3577 _ASBOX
3578   $as_echo "$ac_log"
3579 } >&5
3580
3581 _ACEOF
3582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3583 #
3584 # INIT-COMMANDS
3585 #
3586
3587 srcdir="$srcdir"
3588 host="$host"
3589 target="$target"
3590 with_multisubdir="$with_multisubdir"
3591 with_multisrctop="$with_multisrctop"
3592 with_target_subdir="$with_target_subdir"
3593 ac_configure_args="${multilib_arg} ${ac_configure_args}"
3594 multi_basedir="$multi_basedir"
3595 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3596 CC="$CC"
3597 CXX="$CXX"
3598 GFORTRAN="$GFORTRAN"
3599 GCJ="$GCJ"
3600
3601 _ACEOF
3602
3603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3604
3605 # Handling of arguments.
3606 for ac_config_target in $ac_config_targets
3607 do
3608   case $ac_config_target in
3609     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3610     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3611
3612   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3613   esac
3614 done
3615
3616
3617 # If the user did not use the arguments to specify the items to instantiate,
3618 # then the envvar interface is used.  Set only those that are not.
3619 # We use the long form for the default assignment because of an extremely
3620 # bizarre bug on SunOS 4.1.3.
3621 if $ac_need_defaults; then
3622   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3623   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3624 fi
3625
3626 # Have a temporary directory for convenience.  Make it in the build tree
3627 # simply because there is no reason against having it here, and in addition,
3628 # creating and moving files from /tmp can sometimes cause problems.
3629 # Hook for its removal unless debugging.
3630 # Note that there is a small window in which the directory will not be cleaned:
3631 # after its creation but before its name has been assigned to `$tmp'.
3632 $debug ||
3633 {
3634   tmp=
3635   trap 'exit_status=$?
3636   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3637 ' 0
3638   trap 'as_fn_exit 1' 1 2 13 15
3639 }
3640 # Create a (secure) tmp directory for tmp files.
3641
3642 {
3643   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3644   test -n "$tmp" && test -d "$tmp"
3645 }  ||
3646 {
3647   tmp=./conf$$-$RANDOM
3648   (umask 077 && mkdir "$tmp")
3649 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3650
3651 # Set up the scripts for CONFIG_FILES section.
3652 # No need to generate them if there are no CONFIG_FILES.
3653 # This happens for instance with `./config.status config.h'.
3654 if test -n "$CONFIG_FILES"; then
3655
3656
3657 ac_cr=`echo X | tr X '\015'`
3658 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3659 # But we know of no other shell where ac_cr would be empty at this
3660 # point, so we can use a bashism as a fallback.
3661 if test "x$ac_cr" = x; then
3662   eval ac_cr=\$\'\\r\'
3663 fi
3664 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3665 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3666   ac_cs_awk_cr='\r'
3667 else
3668   ac_cs_awk_cr=$ac_cr
3669 fi
3670
3671 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3672 _ACEOF
3673
3674
3675 {
3676   echo "cat >conf$$subs.awk <<_ACEOF" &&
3677   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3678   echo "_ACEOF"
3679 } >conf$$subs.sh ||
3680   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3681 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3682 ac_delim='%!_!# '
3683 for ac_last_try in false false false false false :; do
3684   . ./conf$$subs.sh ||
3685     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3686
3687   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3688   if test $ac_delim_n = $ac_delim_num; then
3689     break
3690   elif $ac_last_try; then
3691     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3692   else
3693     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3694   fi
3695 done
3696 rm -f conf$$subs.sh
3697
3698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3699 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3700 _ACEOF
3701 sed -n '
3702 h
3703 s/^/S["/; s/!.*/"]=/
3704 p
3705 g
3706 s/^[^!]*!//
3707 :repl
3708 t repl
3709 s/'"$ac_delim"'$//
3710 t delim
3711 :nl
3712 h
3713 s/\(.\{148\}\).*/\1/
3714 t more1
3715 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3716 p
3717 n
3718 b repl
3719 :more1
3720 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3721 p
3722 g
3723 s/.\{148\}//
3724 t nl
3725 :delim
3726 h
3727 s/\(.\{148\}\).*/\1/
3728 t more2
3729 s/["\\]/\\&/g; s/^/"/; s/$/"/
3730 p
3731 b
3732 :more2
3733 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3734 p
3735 g
3736 s/.\{148\}//
3737 t delim
3738 ' <conf$$subs.awk | sed '
3739 /^[^""]/{
3740   N
3741   s/\n//
3742 }
3743 ' >>$CONFIG_STATUS || ac_write_fail=1
3744 rm -f conf$$subs.awk
3745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3746 _ACAWK
3747 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3748   for (key in S) S_is_set[key] = 1
3749   FS = "\a"
3750
3751 }
3752 {
3753   line = $ 0
3754   nfields = split(line, field, "@")
3755   substed = 0
3756   len = length(field[1])
3757   for (i = 2; i < nfields; i++) {
3758     key = field[i]
3759     keylen = length(key)
3760     if (S_is_set[key]) {
3761       value = S[key]
3762       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3763       len += length(value) + length(field[++i])
3764       substed = 1
3765     } else
3766       len += 1 + keylen
3767   }
3768
3769   print line
3770 }
3771
3772 _ACAWK
3773 _ACEOF
3774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3775 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3776   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3777 else
3778   cat
3779 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3780   || as_fn_error "could not setup config files machinery" "$LINENO" 5
3781 _ACEOF
3782
3783 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3784 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3785 # trailing colons and then remove the whole line if VPATH becomes empty
3786 # (actually we leave an empty line to preserve line numbers).
3787 if test "x$srcdir" = x.; then
3788   ac_vpsub='/^[  ]*VPATH[        ]*=/{
3789 s/:*\$(srcdir):*/:/
3790 s/:*\${srcdir}:*/:/
3791 s/:*@srcdir@:*/:/
3792 s/^\([^=]*=[     ]*\):*/\1/
3793 s/:*$//
3794 s/^[^=]*=[       ]*$//
3795 }'
3796 fi
3797
3798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3799 fi # test -n "$CONFIG_FILES"
3800
3801
3802 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
3803 shift
3804 for ac_tag
3805 do
3806   case $ac_tag in
3807   :[FHLC]) ac_mode=$ac_tag; continue;;
3808   esac
3809   case $ac_mode$ac_tag in
3810   :[FHL]*:*);;
3811   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3812   :[FH]-) ac_tag=-:-;;
3813   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3814   esac
3815   ac_save_IFS=$IFS
3816   IFS=:
3817   set x $ac_tag
3818   IFS=$ac_save_IFS
3819   shift
3820   ac_file=$1
3821   shift
3822
3823   case $ac_mode in
3824   :L) ac_source=$1;;
3825   :[FH])
3826     ac_file_inputs=
3827     for ac_f
3828     do
3829       case $ac_f in
3830       -) ac_f="$tmp/stdin";;
3831       *) # Look for the file first in the build tree, then in the source tree
3832          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3833          # because $ac_f cannot contain `:'.
3834          test -f "$ac_f" ||
3835            case $ac_f in
3836            [\\/$]*) false;;
3837            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3838            esac ||
3839            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3840       esac
3841       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3842       as_fn_append ac_file_inputs " '$ac_f'"
3843     done
3844
3845     # Let's still pretend it is `configure' which instantiates (i.e., don't
3846     # use $as_me), people would be surprised to read:
3847     #    /* config.h.  Generated by config.status.  */
3848     configure_input='Generated from '`
3849           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3850         `' by configure.'
3851     if test x"$ac_file" != x-; then
3852       configure_input="$ac_file.  $configure_input"
3853       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3854 $as_echo "$as_me: creating $ac_file" >&6;}
3855     fi
3856     # Neutralize special characters interpreted by sed in replacement strings.
3857     case $configure_input in #(
3858     *\&* | *\|* | *\\* )
3859        ac_sed_conf_input=`$as_echo "$configure_input" |
3860        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3861     *) ac_sed_conf_input=$configure_input;;
3862     esac
3863
3864     case $ac_tag in
3865     *:-:* | *:-) cat >"$tmp/stdin" \
3866       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3867     esac
3868     ;;
3869   esac
3870
3871   ac_dir=`$as_dirname -- "$ac_file" ||
3872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3873          X"$ac_file" : 'X\(//\)[^/]' \| \
3874          X"$ac_file" : 'X\(//\)$' \| \
3875          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3876 $as_echo X"$ac_file" |
3877     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3878             s//\1/
3879             q
3880           }
3881           /^X\(\/\/\)[^/].*/{
3882             s//\1/
3883             q
3884           }
3885           /^X\(\/\/\)$/{
3886             s//\1/
3887             q
3888           }
3889           /^X\(\/\).*/{
3890             s//\1/
3891             q
3892           }
3893           s/.*/./; q'`
3894   as_dir="$ac_dir"; as_fn_mkdir_p
3895   ac_builddir=.
3896
3897 case "$ac_dir" in
3898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3899 *)
3900   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3901   # A ".." for each directory in $ac_dir_suffix.
3902   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3903   case $ac_top_builddir_sub in
3904   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3905   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3906   esac ;;
3907 esac
3908 ac_abs_top_builddir=$ac_pwd
3909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3910 # for backward compatibility:
3911 ac_top_builddir=$ac_top_build_prefix
3912
3913 case $srcdir in
3914   .)  # We are building in place.
3915     ac_srcdir=.
3916     ac_top_srcdir=$ac_top_builddir_sub
3917     ac_abs_top_srcdir=$ac_pwd ;;
3918   [\\/]* | ?:[\\/]* )  # Absolute name.
3919     ac_srcdir=$srcdir$ac_dir_suffix;
3920     ac_top_srcdir=$srcdir
3921     ac_abs_top_srcdir=$srcdir ;;
3922   *) # Relative name.
3923     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3924     ac_top_srcdir=$ac_top_build_prefix$srcdir
3925     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3926 esac
3927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3928
3929
3930   case $ac_mode in
3931   :F)
3932   #
3933   # CONFIG_FILE
3934   #
3935
3936 _ACEOF
3937
3938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3939 # If the template does not know about datarootdir, expand it.
3940 # FIXME: This hack should be removed a few years after 2.60.
3941 ac_datarootdir_hack=; ac_datarootdir_seen=
3942 ac_sed_dataroot='
3943 /datarootdir/ {
3944   p
3945   q
3946 }
3947 /@datadir@/p
3948 /@docdir@/p
3949 /@infodir@/p
3950 /@localedir@/p
3951 /@mandir@/p'
3952 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3953 *datarootdir*) ac_datarootdir_seen=yes;;
3954 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3955   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3956 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3957 _ACEOF
3958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3959   ac_datarootdir_hack='
3960   s&@datadir@&$datadir&g
3961   s&@docdir@&$docdir&g
3962   s&@infodir@&$infodir&g
3963   s&@localedir@&$localedir&g
3964   s&@mandir@&$mandir&g
3965   s&\\\${datarootdir}&$datarootdir&g' ;;
3966 esac
3967 _ACEOF
3968
3969 # Neutralize VPATH when `$srcdir' = `.'.
3970 # Shell code in configure.ac might set extrasub.
3971 # FIXME: do we really want to maintain this feature?
3972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3973 ac_sed_extra="$ac_vpsub
3974 $extrasub
3975 _ACEOF
3976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3977 :t
3978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3979 s|@configure_input@|$ac_sed_conf_input|;t t
3980 s&@top_builddir@&$ac_top_builddir_sub&;t t
3981 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3982 s&@srcdir@&$ac_srcdir&;t t
3983 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3984 s&@top_srcdir@&$ac_top_srcdir&;t t
3985 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3986 s&@builddir@&$ac_builddir&;t t
3987 s&@abs_builddir@&$ac_abs_builddir&;t t
3988 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3989 $ac_datarootdir_hack
3990 "
3991 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3992   || as_fn_error "could not create $ac_file" "$LINENO" 5
3993
3994 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3995   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3996   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3997   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3998 which seems to be undefined.  Please make sure it is defined." >&5
3999 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4000 which seems to be undefined.  Please make sure it is defined." >&2;}
4001
4002   rm -f "$tmp/stdin"
4003   case $ac_file in
4004   -) cat "$tmp/out" && rm -f "$tmp/out";;
4005   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4006   esac \
4007   || as_fn_error "could not create $ac_file" "$LINENO" 5
4008  ;;
4009
4010
4011   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4012 $as_echo "$as_me: executing $ac_file commands" >&6;}
4013  ;;
4014   esac
4015
4016
4017   case $ac_file$ac_mode in
4018     "default-1":C)
4019 # Only add multilib support code if we just rebuilt the top-level
4020 # Makefile.
4021 case " $CONFIG_FILES " in
4022  *" Makefile "*)
4023    ac_file=Makefile . ${multi_basedir}/config-ml.in
4024    ;;
4025 esac ;;
4026
4027   esac
4028 done # for ac_tag
4029
4030
4031 as_fn_exit 0
4032 _ACEOF
4033 ac_clean_files=$ac_clean_files_save
4034
4035 test $ac_write_fail = 0 ||
4036   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4037
4038
4039 # configure is writing to config.log, and then calls config.status.
4040 # config.status does its own redirection, appending to config.log.
4041 # Unfortunately, on DOS this fails, as config.log is still kept open
4042 # by configure, so config.status won't be able to write to it; its
4043 # output is simply discarded.  So we exec the FD to /dev/null,
4044 # effectively closing config.log, so it can be properly (re)opened and
4045 # appended to by config.status.  When coming back to configure, we
4046 # need to make the FD available again.
4047 if test "$no_create" != yes; then
4048   ac_cs_success=:
4049   ac_config_status_args=
4050   test "$silent" = yes &&
4051     ac_config_status_args="$ac_config_status_args --quiet"
4052   exec 5>/dev/null
4053   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4054   exec 5>>config.log
4055   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4056   # would make configure fail if this is the last instruction.
4057   $ac_cs_success || as_fn_exit $?
4058 fi
4059 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4060   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4061 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4062 fi
4063