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