source: trunk/libs/newlib/src/libgloss/arm/configure @ 653

Last change on this file since 653 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

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