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