source: trunk/libs/newlib/src/newlib/libc/machine/nds32/configure @ 444

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

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

File size: 166.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for newlib 3.0.0.
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='newlib'
558PACKAGE_TARNAME='newlib'
559PACKAGE_VERSION='3.0.0'
560PACKAGE_STRING='newlib 3.0.0'
561PACKAGE_BUGREPORT=''
562PACKAGE_URL=''
563
564ac_unique_file="setjmp.S"
565ac_no_link=no
566ac_subst_vars='am__EXEEXT_FALSE
567am__EXEEXT_TRUE
568LTLIBOBJS
569LIBOBJS
570IS_NDS32_ISA_V3M_FALSE
571IS_NDS32_ISA_V3M_TRUE
572EXEEXT
573ac_ct_CC
574CPPFLAGS
575CFLAGS
576sys_dir
577machine_dir
578libm_machine_dir
579lpfx
580aext
581oext
582OBJEXT
583USE_LIBTOOL_FALSE
584USE_LIBTOOL_TRUE
585ELIX_LEVEL_4_FALSE
586ELIX_LEVEL_4_TRUE
587ELIX_LEVEL_3_FALSE
588ELIX_LEVEL_3_TRUE
589ELIX_LEVEL_2_FALSE
590ELIX_LEVEL_2_TRUE
591ELIX_LEVEL_1_FALSE
592ELIX_LEVEL_1_TRUE
593ELIX_LEVEL_0_FALSE
594ELIX_LEVEL_0_TRUE
595LDFLAGS
596NO_INCLUDE_LIST
597NEWLIB_CFLAGS
598CCASFLAGS
599CCAS
600MAINT
601MAINTAINER_MODE_FALSE
602MAINTAINER_MODE_TRUE
603READELF
604RANLIB
605AR
606AS
607am__fastdepCC_FALSE
608am__fastdepCC_TRUE
609CCDEPMODE
610am__nodep
611AMDEPBACKSLASH
612AMDEP_FALSE
613AMDEP_TRUE
614am__quote
615am__include
616DEPDIR
617CC
618am__untar
619am__tar
620AMTAR
621am__leading_dot
622SET_MAKE
623AWK
624mkdir_p
625MKDIR_P
626INSTALL_STRIP_PROGRAM
627STRIP
628install_sh
629MAKEINFO
630AUTOHEADER
631AUTOMAKE
632AUTOCONF
633ACLOCAL
634VERSION
635PACKAGE
636CYGPATH_W
637am__isrc
638INSTALL_DATA
639INSTALL_SCRIPT
640INSTALL_PROGRAM
641host_os
642host_vendor
643host_cpu
644host
645build_os
646build_vendor
647build_cpu
648build
649newlib_basedir
650MAY_SUPPLY_SYSCALLS_FALSE
651MAY_SUPPLY_SYSCALLS_TRUE
652target_alias
653host_alias
654build_alias
655LIBS
656ECHO_T
657ECHO_N
658ECHO_C
659DEFS
660mandir
661localedir
662libdir
663psdir
664pdfdir
665dvidir
666htmldir
667infodir
668docdir
669oldincludedir
670includedir
671localstatedir
672sharedstatedir
673sysconfdir
674datadir
675datarootdir
676libexecdir
677sbindir
678bindir
679program_transform_name
680prefix
681exec_prefix
682PACKAGE_URL
683PACKAGE_BUGREPORT
684PACKAGE_STRING
685PACKAGE_VERSION
686PACKAGE_TARNAME
687PACKAGE_NAME
688PATH_SEPARATOR
689SHELL'
690ac_subst_files=''
691ac_user_opts='
692enable_option_checking
693enable_multilib
694enable_target_optspace
695enable_malloc_debugging
696enable_newlib_multithread
697enable_newlib_iconv
698enable_newlib_elix_level
699enable_newlib_io_float
700enable_newlib_supplied_syscalls
701enable_dependency_tracking
702enable_maintainer_mode
703'
704      ac_precious_vars='build_alias
705host_alias
706target_alias
707CCAS
708CCASFLAGS
709CC
710CFLAGS
711LDFLAGS
712LIBS
713CPPFLAGS'
714
715
716# Initialize some variables set by options.
717ac_init_help=
718ac_init_version=false
719ac_unrecognized_opts=
720ac_unrecognized_sep=
721# The variables have the same names as the options, with
722# dashes changed to underlines.
723cache_file=/dev/null
724exec_prefix=NONE
725no_create=
726no_recursion=
727prefix=NONE
728program_prefix=NONE
729program_suffix=NONE
730program_transform_name=s,x,x,
731silent=
732site=
733srcdir=
734verbose=
735x_includes=NONE
736x_libraries=NONE
737
738# Installation directory options.
739# These are left unexpanded so users can "make install exec_prefix=/foo"
740# and all the variables that are supposed to be based on exec_prefix
741# by default will actually change.
742# Use braces instead of parens because sh, perl, etc. also accept them.
743# (The list follows the same order as the GNU Coding Standards.)
744bindir='${exec_prefix}/bin'
745sbindir='${exec_prefix}/sbin'
746libexecdir='${exec_prefix}/libexec'
747datarootdir='${prefix}/share'
748datadir='${datarootdir}'
749sysconfdir='${prefix}/etc'
750sharedstatedir='${prefix}/com'
751localstatedir='${prefix}/var'
752includedir='${prefix}/include'
753oldincludedir='/usr/include'
754docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
755infodir='${datarootdir}/info'
756htmldir='${docdir}'
757dvidir='${docdir}'
758pdfdir='${docdir}'
759psdir='${docdir}'
760libdir='${exec_prefix}/lib'
761localedir='${datarootdir}/locale'
762mandir='${datarootdir}/man'
763
764ac_prev=
765ac_dashdash=
766for ac_option
767do
768  # If the previous option needs an argument, assign it.
769  if test -n "$ac_prev"; then
770    eval $ac_prev=\$ac_option
771    ac_prev=
772    continue
773  fi
774
775  case $ac_option in
776  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777  *=)   ac_optarg= ;;
778  *)    ac_optarg=yes ;;
779  esac
780
781  # Accept the important Cygnus configure options, so we can diagnose typos.
782
783  case $ac_dashdash$ac_option in
784  --)
785    ac_dashdash=yes ;;
786
787  -bindir | --bindir | --bindi | --bind | --bin | --bi)
788    ac_prev=bindir ;;
789  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
790    bindir=$ac_optarg ;;
791
792  -build | --build | --buil | --bui | --bu)
793    ac_prev=build_alias ;;
794  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
795    build_alias=$ac_optarg ;;
796
797  -cache-file | --cache-file | --cache-fil | --cache-fi \
798  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
799    ac_prev=cache_file ;;
800  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
801  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
802    cache_file=$ac_optarg ;;
803
804  --config-cache | -C)
805    cache_file=config.cache ;;
806
807  -datadir | --datadir | --datadi | --datad)
808    ac_prev=datadir ;;
809  -datadir=* | --datadir=* | --datadi=* | --datad=*)
810    datadir=$ac_optarg ;;
811
812  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
813  | --dataroo | --dataro | --datar)
814    ac_prev=datarootdir ;;
815  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
816  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
817    datarootdir=$ac_optarg ;;
818
819  -disable-* | --disable-*)
820    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821    # Reject names that are not valid shell variable names.
822    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823      as_fn_error $? "invalid feature name: $ac_useropt"
824    ac_useropt_orig=$ac_useropt
825    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826    case $ac_user_opts in
827      *"
828"enable_$ac_useropt"
829"*) ;;
830      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831         ac_unrecognized_sep=', ';;
832    esac
833    eval enable_$ac_useropt=no ;;
834
835  -docdir | --docdir | --docdi | --doc | --do)
836    ac_prev=docdir ;;
837  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838    docdir=$ac_optarg ;;
839
840  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
841    ac_prev=dvidir ;;
842  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843    dvidir=$ac_optarg ;;
844
845  -enable-* | --enable-*)
846    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847    # Reject names that are not valid shell variable names.
848    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849      as_fn_error $? "invalid feature name: $ac_useropt"
850    ac_useropt_orig=$ac_useropt
851    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852    case $ac_user_opts in
853      *"
854"enable_$ac_useropt"
855"*) ;;
856      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
857         ac_unrecognized_sep=', ';;
858    esac
859    eval enable_$ac_useropt=\$ac_optarg ;;
860
861  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863  | --exec | --exe | --ex)
864    ac_prev=exec_prefix ;;
865  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867  | --exec=* | --exe=* | --ex=*)
868    exec_prefix=$ac_optarg ;;
869
870  -gas | --gas | --ga | --g)
871    # Obsolete; use --with-gas.
872    with_gas=yes ;;
873
874  -help | --help | --hel | --he | -h)
875    ac_init_help=long ;;
876  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877    ac_init_help=recursive ;;
878  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879    ac_init_help=short ;;
880
881  -host | --host | --hos | --ho)
882    ac_prev=host_alias ;;
883  -host=* | --host=* | --hos=* | --ho=*)
884    host_alias=$ac_optarg ;;
885
886  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
887    ac_prev=htmldir ;;
888  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
889  | --ht=*)
890    htmldir=$ac_optarg ;;
891
892  -includedir | --includedir | --includedi | --included | --include \
893  | --includ | --inclu | --incl | --inc)
894    ac_prev=includedir ;;
895  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896  | --includ=* | --inclu=* | --incl=* | --inc=*)
897    includedir=$ac_optarg ;;
898
899  -infodir | --infodir | --infodi | --infod | --info | --inf)
900    ac_prev=infodir ;;
901  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902    infodir=$ac_optarg ;;
903
904  -libdir | --libdir | --libdi | --libd)
905    ac_prev=libdir ;;
906  -libdir=* | --libdir=* | --libdi=* | --libd=*)
907    libdir=$ac_optarg ;;
908
909  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910  | --libexe | --libex | --libe)
911    ac_prev=libexecdir ;;
912  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913  | --libexe=* | --libex=* | --libe=*)
914    libexecdir=$ac_optarg ;;
915
916  -localedir | --localedir | --localedi | --localed | --locale)
917    ac_prev=localedir ;;
918  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919    localedir=$ac_optarg ;;
920
921  -localstatedir | --localstatedir | --localstatedi | --localstated \
922  | --localstate | --localstat | --localsta | --localst | --locals)
923    ac_prev=localstatedir ;;
924  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926    localstatedir=$ac_optarg ;;
927
928  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
929    ac_prev=mandir ;;
930  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
931    mandir=$ac_optarg ;;
932
933  -nfp | --nfp | --nf)
934    # Obsolete; use --without-fp.
935    with_fp=no ;;
936
937  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938  | --no-cr | --no-c | -n)
939    no_create=yes ;;
940
941  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943    no_recursion=yes ;;
944
945  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947  | --oldin | --oldi | --old | --ol | --o)
948    ac_prev=oldincludedir ;;
949  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952    oldincludedir=$ac_optarg ;;
953
954  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
955    ac_prev=prefix ;;
956  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957    prefix=$ac_optarg ;;
958
959  -program-prefix | --program-prefix | --program-prefi | --program-pref \
960  | --program-pre | --program-pr | --program-p)
961    ac_prev=program_prefix ;;
962  -program-prefix=* | --program-prefix=* | --program-prefi=* \
963  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964    program_prefix=$ac_optarg ;;
965
966  -program-suffix | --program-suffix | --program-suffi | --program-suff \
967  | --program-suf | --program-su | --program-s)
968    ac_prev=program_suffix ;;
969  -program-suffix=* | --program-suffix=* | --program-suffi=* \
970  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971    program_suffix=$ac_optarg ;;
972
973  -program-transform-name | --program-transform-name \
974  | --program-transform-nam | --program-transform-na \
975  | --program-transform-n | --program-transform- \
976  | --program-transform | --program-transfor \
977  | --program-transfo | --program-transf \
978  | --program-trans | --program-tran \
979  | --progr-tra | --program-tr | --program-t)
980    ac_prev=program_transform_name ;;
981  -program-transform-name=* | --program-transform-name=* \
982  | --program-transform-nam=* | --program-transform-na=* \
983  | --program-transform-n=* | --program-transform-=* \
984  | --program-transform=* | --program-transfor=* \
985  | --program-transfo=* | --program-transf=* \
986  | --program-trans=* | --program-tran=* \
987  | --progr-tra=* | --program-tr=* | --program-t=*)
988    program_transform_name=$ac_optarg ;;
989
990  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
991    ac_prev=pdfdir ;;
992  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993    pdfdir=$ac_optarg ;;
994
995  -psdir | --psdir | --psdi | --psd | --ps)
996    ac_prev=psdir ;;
997  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998    psdir=$ac_optarg ;;
999
1000  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001  | -silent | --silent | --silen | --sile | --sil)
1002    silent=yes ;;
1003
1004  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1005    ac_prev=sbindir ;;
1006  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1007  | --sbi=* | --sb=*)
1008    sbindir=$ac_optarg ;;
1009
1010  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1011  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1012  | --sharedst | --shareds | --shared | --share | --shar \
1013  | --sha | --sh)
1014    ac_prev=sharedstatedir ;;
1015  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1016  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1017  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1018  | --sha=* | --sh=*)
1019    sharedstatedir=$ac_optarg ;;
1020
1021  -site | --site | --sit)
1022    ac_prev=site ;;
1023  -site=* | --site=* | --sit=*)
1024    site=$ac_optarg ;;
1025
1026  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1027    ac_prev=srcdir ;;
1028  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1029    srcdir=$ac_optarg ;;
1030
1031  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1032  | --syscon | --sysco | --sysc | --sys | --sy)
1033    ac_prev=sysconfdir ;;
1034  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1035  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1036    sysconfdir=$ac_optarg ;;
1037
1038  -target | --target | --targe | --targ | --tar | --ta | --t)
1039    ac_prev=target_alias ;;
1040  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1041    target_alias=$ac_optarg ;;
1042
1043  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044    verbose=yes ;;
1045
1046  -version | --version | --versio | --versi | --vers | -V)
1047    ac_init_version=: ;;
1048
1049  -with-* | --with-*)
1050    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051    # Reject names that are not valid shell variable names.
1052    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053      as_fn_error $? "invalid package name: $ac_useropt"
1054    ac_useropt_orig=$ac_useropt
1055    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056    case $ac_user_opts in
1057      *"
1058"with_$ac_useropt"
1059"*) ;;
1060      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1061         ac_unrecognized_sep=', ';;
1062    esac
1063    eval with_$ac_useropt=\$ac_optarg ;;
1064
1065  -without-* | --without-*)
1066    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067    # Reject names that are not valid shell variable names.
1068    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069      as_fn_error $? "invalid package name: $ac_useropt"
1070    ac_useropt_orig=$ac_useropt
1071    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072    case $ac_user_opts in
1073      *"
1074"with_$ac_useropt"
1075"*) ;;
1076      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1077         ac_unrecognized_sep=', ';;
1078    esac
1079    eval with_$ac_useropt=no ;;
1080
1081  --x)
1082    # Obsolete; use --with-x.
1083    with_x=yes ;;
1084
1085  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1086  | --x-incl | --x-inc | --x-in | --x-i)
1087    ac_prev=x_includes ;;
1088  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1089  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1090    x_includes=$ac_optarg ;;
1091
1092  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1093  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1094    ac_prev=x_libraries ;;
1095  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1096  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1097    x_libraries=$ac_optarg ;;
1098
1099  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1100Try \`$0 --help' for more information"
1101    ;;
1102
1103  *=*)
1104    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1105    # Reject names that are not valid shell variable names.
1106    case $ac_envvar in #(
1107      '' | [0-9]* | *[!_$as_cr_alnum]* )
1108      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1109    esac
1110    eval $ac_envvar=\$ac_optarg
1111    export $ac_envvar ;;
1112
1113  *)
1114    # FIXME: should be removed in autoconf 3.0.
1115    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1117      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1119    ;;
1120
1121  esac
1122done
1123
1124if test -n "$ac_prev"; then
1125  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1126  as_fn_error $? "missing argument to $ac_option"
1127fi
1128
1129if test -n "$ac_unrecognized_opts"; then
1130  case $enable_option_checking in
1131    no) ;;
1132    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1133    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1134  esac
1135fi
1136
1137# Check all directory arguments for consistency.
1138for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1139                datadir sysconfdir sharedstatedir localstatedir includedir \
1140                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1141                libdir localedir mandir
1142do
1143  eval ac_val=\$$ac_var
1144  # Remove trailing slashes.
1145  case $ac_val in
1146    */ )
1147      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1148      eval $ac_var=\$ac_val;;
1149  esac
1150  # Be sure to have absolute directory names.
1151  case $ac_val in
1152    [\\/$]* | ?:[\\/]* )  continue;;
1153    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1154  esac
1155  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1156done
1157
1158# There might be people who depend on the old broken behavior: `$host'
1159# used to hold the argument of --host etc.
1160# FIXME: To remove some day.
1161build=$build_alias
1162host=$host_alias
1163target=$target_alias
1164
1165# FIXME: To remove some day.
1166if test "x$host_alias" != x; then
1167  if test "x$build_alias" = x; then
1168    cross_compiling=maybe
1169    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1170    If a cross compiler is detected then cross compile mode will be used" >&2
1171  elif test "x$build_alias" != "x$host_alias"; then
1172    cross_compiling=yes
1173  fi
1174fi
1175
1176ac_tool_prefix=
1177test -n "$host_alias" && ac_tool_prefix=$host_alias-
1178
1179test "$silent" = yes && exec 6>/dev/null
1180
1181
1182ac_pwd=`pwd` && test -n "$ac_pwd" &&
1183ac_ls_di=`ls -di .` &&
1184ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1185  as_fn_error $? "working directory cannot be determined"
1186test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187  as_fn_error $? "pwd does not report name of working directory"
1188
1189
1190# Find the source files, if location was not specified.
1191if test -z "$srcdir"; then
1192  ac_srcdir_defaulted=yes
1193  # Try the directory containing this script, then the parent directory.
1194  ac_confdir=`$as_dirname -- "$as_myself" ||
1195$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196         X"$as_myself" : 'X\(//\)[^/]' \| \
1197         X"$as_myself" : 'X\(//\)$' \| \
1198         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199$as_echo X"$as_myself" |
1200    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201            s//\1/
1202            q
1203          }
1204          /^X\(\/\/\)[^/].*/{
1205            s//\1/
1206            q
1207          }
1208          /^X\(\/\/\)$/{
1209            s//\1/
1210            q
1211          }
1212          /^X\(\/\).*/{
1213            s//\1/
1214            q
1215          }
1216          s/.*/./; q'`
1217  srcdir=$ac_confdir
1218  if test ! -r "$srcdir/$ac_unique_file"; then
1219    srcdir=..
1220  fi
1221else
1222  ac_srcdir_defaulted=no
1223fi
1224if test ! -r "$srcdir/$ac_unique_file"; then
1225  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1226  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1227fi
1228ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1229ac_abs_confdir=`(
1230        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1231        pwd)`
1232# When building in place, set srcdir=.
1233if test "$ac_abs_confdir" = "$ac_pwd"; then
1234  srcdir=.
1235fi
1236# Remove unnecessary trailing slashes from srcdir.
1237# Double slashes in file names in object file debugging info
1238# mess up M-x gdb in Emacs.
1239case $srcdir in
1240*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1241esac
1242for ac_var in $ac_precious_vars; do
1243  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1244  eval ac_env_${ac_var}_value=\$${ac_var}
1245  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1246  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1247done
1248
1249#
1250# Report the --help message.
1251#
1252if test "$ac_init_help" = "long"; then
1253  # Omit some internal or obsolete options to make the list less imposing.
1254  # This message is too long to be a string in the A/UX 3.1 sh.
1255  cat <<_ACEOF
1256\`configure' configures newlib 3.0.0 to adapt to many kinds of systems.
1257
1258Usage: $0 [OPTION]... [VAR=VALUE]...
1259
1260To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261VAR=VALUE.  See below for descriptions of some of the useful variables.
1262
1263Defaults for the options are specified in brackets.
1264
1265Configuration:
1266  -h, --help              display this help and exit
1267      --help=short        display options specific to this package
1268      --help=recursive    display the short help of all the included packages
1269  -V, --version           display version information and exit
1270  -q, --quiet, --silent   do not print \`checking ...' messages
1271      --cache-file=FILE   cache test results in FILE [disabled]
1272  -C, --config-cache      alias for \`--cache-file=config.cache'
1273  -n, --no-create         do not create output files
1274      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1275
1276Installation directories:
1277  --prefix=PREFIX         install architecture-independent files in PREFIX
1278                          [$ac_default_prefix]
1279  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1280                          [PREFIX]
1281
1282By default, \`make install' will install all the files in
1283\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1284an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285for instance \`--prefix=\$HOME'.
1286
1287For better control, use the options below.
1288
1289Fine tuning of the installation directories:
1290  --bindir=DIR            user executables [EPREFIX/bin]
1291  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1292  --libexecdir=DIR        program executables [EPREFIX/libexec]
1293  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1294  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1295  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1296  --libdir=DIR            object code libraries [EPREFIX/lib]
1297  --includedir=DIR        C header files [PREFIX/include]
1298  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1299  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1300  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1301  --infodir=DIR           info documentation [DATAROOTDIR/info]
1302  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1303  --mandir=DIR            man documentation [DATAROOTDIR/man]
1304  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
1305  --htmldir=DIR           html documentation [DOCDIR]
1306  --dvidir=DIR            dvi documentation [DOCDIR]
1307  --pdfdir=DIR            pdf documentation [DOCDIR]
1308  --psdir=DIR             ps documentation [DOCDIR]
1309_ACEOF
1310
1311  cat <<\_ACEOF
1312
1313Program names:
1314  --program-prefix=PREFIX            prepend PREFIX to installed program names
1315  --program-suffix=SUFFIX            append SUFFIX to installed program names
1316  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1317
1318System types:
1319  --build=BUILD     configure for building on BUILD [guessed]
1320  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1321_ACEOF
1322fi
1323
1324if test -n "$ac_init_help"; then
1325  case $ac_init_help in
1326     short | recursive ) echo "Configuration of newlib 3.0.0:";;
1327   esac
1328  cat <<\_ACEOF
1329
1330Optional Features:
1331  --disable-option-checking  ignore unrecognized --enable/--with options
1332  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1333  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1334  --enable-multilib         build many library versions (default)
1335  --enable-target-optspace  optimize for space
1336  --enable-malloc-debugging indicate malloc debugging requested
1337  --enable-newlib-multithread        enable support for multiple threads
1338  --enable-newlib-iconv     enable iconv library support
1339  --enable-newlib-elix-level         supply desired elix library level (1-4)
1340  --disable-newlib-io-float disable printf/scanf family float support
1341  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1342  --disable-dependency-tracking  speeds up one-time build
1343  --enable-dependency-tracking   do not reject slow dependency extractors
1344  --enable-maintainer-mode  enable make rules and dependencies not useful
1345                          (and sometimes confusing) to the casual installer
1346
1347Some influential environment variables:
1348  CCAS        assembler compiler command (defaults to CC)
1349  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1350  CC          C compiler command
1351  CFLAGS      C compiler flags
1352  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1353              nonstandard directory <lib dir>
1354  LIBS        libraries to pass to the linker, e.g. -l<library>
1355  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356              you have headers in a nonstandard directory <include dir>
1357
1358Use these variables to override the choices made by `configure' or to help
1359it to find libraries and programs with nonstandard names/locations.
1360
1361Report bugs to the package provider.
1362_ACEOF
1363ac_status=$?
1364fi
1365
1366if test "$ac_init_help" = "recursive"; then
1367  # If there are subdirs, report their specific --help.
1368  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1369    test -d "$ac_dir" ||
1370      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1371      continue
1372    ac_builddir=.
1373
1374case "$ac_dir" in
1375.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376*)
1377  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1378  # A ".." for each directory in $ac_dir_suffix.
1379  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1380  case $ac_top_builddir_sub in
1381  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1383  esac ;;
1384esac
1385ac_abs_top_builddir=$ac_pwd
1386ac_abs_builddir=$ac_pwd$ac_dir_suffix
1387# for backward compatibility:
1388ac_top_builddir=$ac_top_build_prefix
1389
1390case $srcdir in
1391  .)  # We are building in place.
1392    ac_srcdir=.
1393    ac_top_srcdir=$ac_top_builddir_sub
1394    ac_abs_top_srcdir=$ac_pwd ;;
1395  [\\/]* | ?:[\\/]* )  # Absolute name.
1396    ac_srcdir=$srcdir$ac_dir_suffix;
1397    ac_top_srcdir=$srcdir
1398    ac_abs_top_srcdir=$srcdir ;;
1399  *) # Relative name.
1400    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1401    ac_top_srcdir=$ac_top_build_prefix$srcdir
1402    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1403esac
1404ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1405
1406    cd "$ac_dir" || { ac_status=$?; continue; }
1407    # Check for guested configure.
1408    if test -f "$ac_srcdir/configure.gnu"; then
1409      echo &&
1410      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1411    elif test -f "$ac_srcdir/configure"; then
1412      echo &&
1413      $SHELL "$ac_srcdir/configure" --help=recursive
1414    else
1415      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1416    fi || ac_status=$?
1417    cd "$ac_pwd" || { ac_status=$?; break; }
1418  done
1419fi
1420
1421test -n "$ac_init_help" && exit $ac_status
1422if $ac_init_version; then
1423  cat <<\_ACEOF
1424newlib configure 3.0.0
1425generated by GNU Autoconf 2.68
1426
1427Copyright (C) 2010 Free Software Foundation, Inc.
1428This configure script is free software; the Free Software Foundation
1429gives unlimited permission to copy, distribute and modify it.
1430_ACEOF
1431  exit
1432fi
1433
1434## ------------------------ ##
1435## Autoconf initialization. ##
1436## ------------------------ ##
1437
1438# ac_fn_c_try_compile LINENO
1439# --------------------------
1440# Try to compile conftest.$ac_ext, and return whether this succeeded.
1441ac_fn_c_try_compile ()
1442{
1443  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444  rm -f conftest.$ac_objext
1445  if { { ac_try="$ac_compile"
1446case "(($ac_try" in
1447  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1448  *) ac_try_echo=$ac_try;;
1449esac
1450eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451$as_echo "$ac_try_echo"; } >&5
1452  (eval "$ac_compile") 2>conftest.err
1453  ac_status=$?
1454  if test -s conftest.err; then
1455    grep -v '^ *+' conftest.err >conftest.er1
1456    cat conftest.er1 >&5
1457    mv -f conftest.er1 conftest.err
1458  fi
1459  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460  test $ac_status = 0; } && {
1461         test -z "$ac_c_werror_flag" ||
1462         test ! -s conftest.err
1463       } && test -s conftest.$ac_objext; then :
1464  ac_retval=0
1465else
1466  $as_echo "$as_me: failed program was:" >&5
1467sed 's/^/| /' conftest.$ac_ext >&5
1468
1469        ac_retval=1
1470fi
1471  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1472  as_fn_set_status $ac_retval
1473
1474} # ac_fn_c_try_compile
1475cat >config.log <<_ACEOF
1476This file contains any messages produced by compilers while
1477running configure, to aid debugging if configure makes a mistake.
1478
1479It was created by newlib $as_me 3.0.0, which was
1480generated by GNU Autoconf 2.68.  Invocation command line was
1481
1482  $ $0 $@
1483
1484_ACEOF
1485exec 5>>config.log
1486{
1487cat <<_ASUNAME
1488## --------- ##
1489## Platform. ##
1490## --------- ##
1491
1492hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1493uname -m = `(uname -m) 2>/dev/null || echo unknown`
1494uname -r = `(uname -r) 2>/dev/null || echo unknown`
1495uname -s = `(uname -s) 2>/dev/null || echo unknown`
1496uname -v = `(uname -v) 2>/dev/null || echo unknown`
1497
1498/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1499/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1500
1501/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1502/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1503/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1504/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1505/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1506/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1507/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1508
1509_ASUNAME
1510
1511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512for as_dir in $PATH
1513do
1514  IFS=$as_save_IFS
1515  test -z "$as_dir" && as_dir=.
1516    $as_echo "PATH: $as_dir"
1517  done
1518IFS=$as_save_IFS
1519
1520} >&5
1521
1522cat >&5 <<_ACEOF
1523
1524
1525## ----------- ##
1526## Core tests. ##
1527## ----------- ##
1528
1529_ACEOF
1530
1531
1532# Keep a trace of the command line.
1533# Strip out --no-create and --no-recursion so they do not pile up.
1534# Strip out --silent because we don't want to record it for future runs.
1535# Also quote any args containing shell meta-characters.
1536# Make two passes to allow for proper duplicate-argument suppression.
1537ac_configure_args=
1538ac_configure_args0=
1539ac_configure_args1=
1540ac_must_keep_next=false
1541for ac_pass in 1 2
1542do
1543  for ac_arg
1544  do
1545    case $ac_arg in
1546    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1547    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1548    | -silent | --silent | --silen | --sile | --sil)
1549      continue ;;
1550    *\'*)
1551      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1552    esac
1553    case $ac_pass in
1554    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1555    2)
1556      as_fn_append ac_configure_args1 " '$ac_arg'"
1557      if test $ac_must_keep_next = true; then
1558        ac_must_keep_next=false # Got value, back to normal.
1559      else
1560        case $ac_arg in
1561          *=* | --config-cache | -C | -disable-* | --disable-* \
1562          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1563          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1564          | -with-* | --with-* | -without-* | --without-* | --x)
1565            case "$ac_configure_args0 " in
1566              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1567            esac
1568            ;;
1569          -* ) ac_must_keep_next=true ;;
1570        esac
1571      fi
1572      as_fn_append ac_configure_args " '$ac_arg'"
1573      ;;
1574    esac
1575  done
1576done
1577{ ac_configure_args0=; unset ac_configure_args0;}
1578{ ac_configure_args1=; unset ac_configure_args1;}
1579
1580# When interrupted or exit'd, cleanup temporary files, and complete
1581# config.log.  We remove comments because anyway the quotes in there
1582# would cause problems or look ugly.
1583# WARNING: Use '\'' to represent an apostrophe within the trap.
1584# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1585trap 'exit_status=$?
1586  # Save into config.log some information that might help in debugging.
1587  {
1588    echo
1589
1590    $as_echo "## ---------------- ##
1591## Cache variables. ##
1592## ---------------- ##"
1593    echo
1594    # The following way of writing the cache mishandles newlines in values,
1595(
1596  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1597    eval ac_val=\$$ac_var
1598    case $ac_val in #(
1599    *${as_nl}*)
1600      case $ac_var in #(
1601      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1602$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1603      esac
1604      case $ac_var in #(
1605      _ | IFS | as_nl) ;; #(
1606      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1607      *) { eval $ac_var=; unset $ac_var;} ;;
1608      esac ;;
1609    esac
1610  done
1611  (set) 2>&1 |
1612    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1613    *${as_nl}ac_space=\ *)
1614      sed -n \
1615        "s/'\''/'\''\\\\'\'''\''/g;
1616          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1617      ;; #(
1618    *)
1619      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620      ;;
1621    esac |
1622    sort
1623)
1624    echo
1625
1626    $as_echo "## ----------------- ##
1627## Output variables. ##
1628## ----------------- ##"
1629    echo
1630    for ac_var in $ac_subst_vars
1631    do
1632      eval ac_val=\$$ac_var
1633      case $ac_val in
1634      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635      esac
1636      $as_echo "$ac_var='\''$ac_val'\''"
1637    done | sort
1638    echo
1639
1640    if test -n "$ac_subst_files"; then
1641      $as_echo "## ------------------- ##
1642## File substitutions. ##
1643## ------------------- ##"
1644      echo
1645      for ac_var in $ac_subst_files
1646      do
1647        eval ac_val=\$$ac_var
1648        case $ac_val in
1649        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650        esac
1651        $as_echo "$ac_var='\''$ac_val'\''"
1652      done | sort
1653      echo
1654    fi
1655
1656    if test -s confdefs.h; then
1657      $as_echo "## ----------- ##
1658## confdefs.h. ##
1659## ----------- ##"
1660      echo
1661      cat confdefs.h
1662      echo
1663    fi
1664    test "$ac_signal" != 0 &&
1665      $as_echo "$as_me: caught signal $ac_signal"
1666    $as_echo "$as_me: exit $exit_status"
1667  } >&5
1668  rm -f core *.core core.conftest.* &&
1669    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670    exit $exit_status
1671' 0
1672for ac_signal in 1 2 13 15; do
1673  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1674done
1675ac_signal=0
1676
1677# confdefs.h avoids OS command line length limits that DEFS can exceed.
1678rm -f -r conftest* confdefs.h
1679
1680$as_echo "/* confdefs.h */" > confdefs.h
1681
1682# Predefined preprocessor variables.
1683
1684cat >>confdefs.h <<_ACEOF
1685#define PACKAGE_NAME "$PACKAGE_NAME"
1686_ACEOF
1687
1688cat >>confdefs.h <<_ACEOF
1689#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690_ACEOF
1691
1692cat >>confdefs.h <<_ACEOF
1693#define PACKAGE_VERSION "$PACKAGE_VERSION"
1694_ACEOF
1695
1696cat >>confdefs.h <<_ACEOF
1697#define PACKAGE_STRING "$PACKAGE_STRING"
1698_ACEOF
1699
1700cat >>confdefs.h <<_ACEOF
1701#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702_ACEOF
1703
1704cat >>confdefs.h <<_ACEOF
1705#define PACKAGE_URL "$PACKAGE_URL"
1706_ACEOF
1707
1708
1709# Let the site file select an alternate cache file if it wants to.
1710# Prefer an explicitly selected file to automatically selected ones.
1711ac_site_file1=NONE
1712ac_site_file2=NONE
1713if test -n "$CONFIG_SITE"; then
1714  # We do not want a PATH search for config.site.
1715  case $CONFIG_SITE in #((
1716    -*)  ac_site_file1=./$CONFIG_SITE;;
1717    */*) ac_site_file1=$CONFIG_SITE;;
1718    *)   ac_site_file1=./$CONFIG_SITE;;
1719  esac
1720elif test "x$prefix" != xNONE; then
1721  ac_site_file1=$prefix/share/config.site
1722  ac_site_file2=$prefix/etc/config.site
1723else
1724  ac_site_file1=$ac_default_prefix/share/config.site
1725  ac_site_file2=$ac_default_prefix/etc/config.site
1726fi
1727for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1728do
1729  test "x$ac_site_file" = xNONE && continue
1730  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1731    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1732$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1733    sed 's/^/| /' "$ac_site_file" >&5
1734    . "$ac_site_file" \
1735      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1736$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1737as_fn_error $? "failed to load site script $ac_site_file
1738See \`config.log' for more details" "$LINENO" 5; }
1739  fi
1740done
1741
1742if test -r "$cache_file"; then
1743  # Some versions of bash will fail to source /dev/null (special files
1744  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1745  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1746    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1747$as_echo "$as_me: loading cache $cache_file" >&6;}
1748    case $cache_file in
1749      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1750      *)                      . "./$cache_file";;
1751    esac
1752  fi
1753else
1754  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1755$as_echo "$as_me: creating cache $cache_file" >&6;}
1756  >$cache_file
1757fi
1758
1759# Check that the precious variables saved in the cache have kept the same
1760# value.
1761ac_cache_corrupted=false
1762for ac_var in $ac_precious_vars; do
1763  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1764  eval ac_new_set=\$ac_env_${ac_var}_set
1765  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1766  eval ac_new_val=\$ac_env_${ac_var}_value
1767  case $ac_old_set,$ac_new_set in
1768    set,)
1769      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1770$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1771      ac_cache_corrupted=: ;;
1772    ,set)
1773      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1774$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1775      ac_cache_corrupted=: ;;
1776    ,);;
1777    *)
1778      if test "x$ac_old_val" != "x$ac_new_val"; then
1779        # differences in whitespace do not lead to failure.
1780        ac_old_val_w=`echo x $ac_old_val`
1781        ac_new_val_w=`echo x $ac_new_val`
1782        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1783          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1784$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1785          ac_cache_corrupted=:
1786        else
1787          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1788$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1789          eval $ac_var=\$ac_old_val
1790        fi
1791        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1792$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1793        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1794$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1795      fi;;
1796  esac
1797  # Pass precious variables to config.status.
1798  if test "$ac_new_set" = set; then
1799    case $ac_new_val in
1800    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1801    *) ac_arg=$ac_var=$ac_new_val ;;
1802    esac
1803    case " $ac_configure_args " in
1804      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1805      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1806    esac
1807  fi
1808done
1809if $ac_cache_corrupted; then
1810  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1811$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1812  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1813$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1814  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1815fi
1816## -------------------- ##
1817## Main body of script. ##
1818## -------------------- ##
1819
1820ac_ext=c
1821ac_cpp='$CPP $CPPFLAGS'
1822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1824ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825
1826
1827
1828
1829ac_aux_dir=
1830for ac_dir in ../../../.. "$srcdir"/../../../..; do
1831  if test -f "$ac_dir/install-sh"; then
1832    ac_aux_dir=$ac_dir
1833    ac_install_sh="$ac_aux_dir/install-sh -c"
1834    break
1835  elif test -f "$ac_dir/install.sh"; then
1836    ac_aux_dir=$ac_dir
1837    ac_install_sh="$ac_aux_dir/install.sh -c"
1838    break
1839  elif test -f "$ac_dir/shtool"; then
1840    ac_aux_dir=$ac_dir
1841    ac_install_sh="$ac_aux_dir/shtool install -c"
1842    break
1843  fi
1844done
1845if test -z "$ac_aux_dir"; then
1846  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
1847fi
1848
1849# These three variables are undocumented and unsupported,
1850# and are intended to be withdrawn in a future Autoconf release.
1851# They can cause serious problems if a builder's source tree is in a directory
1852# whose full name contains unusual characters.
1853ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1854ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1855ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1856
1857
1858
1859
1860# Make sure we can run config.sub.
1861$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1862  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1863
1864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1865$as_echo_n "checking build system type... " >&6; }
1866if ${ac_cv_build+:} false; then :
1867  $as_echo_n "(cached) " >&6
1868else
1869  ac_build_alias=$build_alias
1870test "x$ac_build_alias" = x &&
1871  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1872test "x$ac_build_alias" = x &&
1873  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1874ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1875  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1876
1877fi
1878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1879$as_echo "$ac_cv_build" >&6; }
1880case $ac_cv_build in
1881*-*-*) ;;
1882*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1883esac
1884build=$ac_cv_build
1885ac_save_IFS=$IFS; IFS='-'
1886set x $ac_cv_build
1887shift
1888build_cpu=$1
1889build_vendor=$2
1890shift; shift
1891# Remember, the first character of IFS is used to create $*,
1892# except with old shells:
1893build_os=$*
1894IFS=$ac_save_IFS
1895case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1896
1897
1898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1899$as_echo_n "checking host system type... " >&6; }
1900if ${ac_cv_host+:} false; then :
1901  $as_echo_n "(cached) " >&6
1902else
1903  if test "x$host_alias" = x; then
1904  ac_cv_host=$ac_cv_build
1905else
1906  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1907    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1908fi
1909
1910fi
1911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1912$as_echo "$ac_cv_host" >&6; }
1913case $ac_cv_host in
1914*-*-*) ;;
1915*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1916esac
1917host=$ac_cv_host
1918ac_save_IFS=$IFS; IFS='-'
1919set x $ac_cv_host
1920shift
1921host_cpu=$1
1922host_vendor=$2
1923shift; shift
1924# Remember, the first character of IFS is used to create $*,
1925# except with old shells:
1926host_os=$*
1927IFS=$ac_save_IFS
1928case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1929
1930
1931am__api_version='1.11'
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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2027$as_echo_n "checking whether build environment is sane... " >&6; }
2028# Just in case
2029sleep 1
2030echo timestamp > conftest.file
2031# Reject unsafe characters in $srcdir or the absolute working directory
2032# name.  Accept space and tab only in the latter.
2033am_lf='
2034'
2035case `pwd` in
2036  *[\\\"\#\$\&\'\`$am_lf]*)
2037    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2038esac
2039case $srcdir in
2040  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2041    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2042esac
2043
2044# Do `set' in a subshell so we don't clobber the current shell's
2045# arguments.  Must try -L first in case configure is actually a
2046# symlink; some systems play weird games with the mod time of symlinks
2047# (eg FreeBSD returns the mod time of the symlink's containing
2048# directory).
2049if (
2050   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2051   if test "$*" = "X"; then
2052      # -L didn't work.
2053      set X `ls -t "$srcdir/configure" conftest.file`
2054   fi
2055   rm -f conftest.file
2056   if test "$*" != "X $srcdir/configure conftest.file" \
2057      && test "$*" != "X conftest.file $srcdir/configure"; then
2058
2059      # If neither matched, then we have a broken ls.  This can happen
2060      # if, for instance, CONFIG_SHELL is bash and it inherits a
2061      # broken ls alias from the environment.  This has actually
2062      # happened.  Such a system could not be considered "sane".
2063      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2064alias in your environment" "$LINENO" 5
2065   fi
2066
2067   test "$2" = conftest.file
2068   )
2069then
2070   # Ok.
2071   :
2072else
2073   as_fn_error $? "newly created file is older than distributed files!
2074Check your system clock" "$LINENO" 5
2075fi
2076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2077$as_echo "yes" >&6; }
2078test "$program_prefix" != NONE &&
2079  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2080# Use a double $ so make ignores it.
2081test "$program_suffix" != NONE &&
2082  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2083# Double any \ or $.
2084# By default was `s,x,x', remove it if useless.
2085ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2086program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2087
2088# expand $ac_aux_dir to an absolute path
2089am_aux_dir=`cd $ac_aux_dir && pwd`
2090
2091if test x"${MISSING+set}" != xset; then
2092  case $am_aux_dir in
2093  *\ * | *\     *)
2094    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2095  *)
2096    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2097  esac
2098fi
2099# Use eval to expand $SHELL
2100if eval "$MISSING --run true"; then
2101  am_missing_run="$MISSING --run "
2102else
2103  am_missing_run=
2104  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2105$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2106fi
2107
2108if test x"${install_sh}" != xset; then
2109  case $am_aux_dir in
2110  *\ * | *\     *)
2111    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2112  *)
2113    install_sh="\${SHELL} $am_aux_dir/install-sh"
2114  esac
2115fi
2116
2117# Installed binaries are usually stripped using `strip' when the user
2118# run `make install-strip'.  However `strip' might not be the right
2119# tool to use in cross-compilation environments, therefore Automake
2120# will honor the `STRIP' environment variable to overrule this program.
2121if test "$cross_compiling" != no; then
2122  if test -n "$ac_tool_prefix"; then
2123  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2124set dummy ${ac_tool_prefix}strip; ac_word=$2
2125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2126$as_echo_n "checking for $ac_word... " >&6; }
2127if ${ac_cv_prog_STRIP+:} false; then :
2128  $as_echo_n "(cached) " >&6
2129else
2130  if test -n "$STRIP"; then
2131  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2132else
2133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134for as_dir in $PATH
2135do
2136  IFS=$as_save_IFS
2137  test -z "$as_dir" && as_dir=.
2138    for ac_exec_ext in '' $ac_executable_extensions; do
2139  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2141    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2142    break 2
2143  fi
2144done
2145  done
2146IFS=$as_save_IFS
2147
2148fi
2149fi
2150STRIP=$ac_cv_prog_STRIP
2151if test -n "$STRIP"; then
2152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2153$as_echo "$STRIP" >&6; }
2154else
2155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156$as_echo "no" >&6; }
2157fi
2158
2159
2160fi
2161if test -z "$ac_cv_prog_STRIP"; then
2162  ac_ct_STRIP=$STRIP
2163  # Extract the first word of "strip", so it can be a program name with args.
2164set dummy strip; ac_word=$2
2165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2166$as_echo_n "checking for $ac_word... " >&6; }
2167if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2168  $as_echo_n "(cached) " >&6
2169else
2170  if test -n "$ac_ct_STRIP"; then
2171  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2172else
2173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174for as_dir in $PATH
2175do
2176  IFS=$as_save_IFS
2177  test -z "$as_dir" && as_dir=.
2178    for ac_exec_ext in '' $ac_executable_extensions; do
2179  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180    ac_cv_prog_ac_ct_STRIP="strip"
2181    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2182    break 2
2183  fi
2184done
2185  done
2186IFS=$as_save_IFS
2187
2188fi
2189fi
2190ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2191if test -n "$ac_ct_STRIP"; then
2192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2193$as_echo "$ac_ct_STRIP" >&6; }
2194else
2195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2196$as_echo "no" >&6; }
2197fi
2198
2199  if test "x$ac_ct_STRIP" = x; then
2200    STRIP=":"
2201  else
2202    case $cross_compiling:$ac_tool_warned in
2203yes:)
2204{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2205$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2206ac_tool_warned=yes ;;
2207esac
2208    STRIP=$ac_ct_STRIP
2209  fi
2210else
2211  STRIP="$ac_cv_prog_STRIP"
2212fi
2213
2214fi
2215INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2216
2217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2218$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2219if test -z "$MKDIR_P"; then
2220  if ${ac_cv_path_mkdir+:} false; then :
2221  $as_echo_n "(cached) " >&6
2222else
2223  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2225do
2226  IFS=$as_save_IFS
2227  test -z "$as_dir" && as_dir=.
2228    for ac_prog in mkdir gmkdir; do
2229         for ac_exec_ext in '' $ac_executable_extensions; do
2230           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2231           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2232             'mkdir (GNU coreutils) '* | \
2233             'mkdir (coreutils) '* | \
2234             'mkdir (fileutils) '4.1*)
2235               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2236               break 3;;
2237           esac
2238         done
2239       done
2240  done
2241IFS=$as_save_IFS
2242
2243fi
2244
2245  test -d ./--version && rmdir ./--version
2246  if test "${ac_cv_path_mkdir+set}" = set; then
2247    MKDIR_P="$ac_cv_path_mkdir -p"
2248  else
2249    # As a last resort, use the slow shell script.  Don't cache a
2250    # value for MKDIR_P within a source directory, because that will
2251    # break other packages using the cache if that directory is
2252    # removed, or if the value is a relative name.
2253    MKDIR_P="$ac_install_sh -d"
2254  fi
2255fi
2256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2257$as_echo "$MKDIR_P" >&6; }
2258
2259mkdir_p="$MKDIR_P"
2260case $mkdir_p in
2261  [\\/$]* | ?:[\\/]*) ;;
2262  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2263esac
2264
2265for ac_prog in gawk mawk nawk awk
2266do
2267  # Extract the first word of "$ac_prog", so it can be a program name with args.
2268set dummy $ac_prog; ac_word=$2
2269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2270$as_echo_n "checking for $ac_word... " >&6; }
2271if ${ac_cv_prog_AWK+:} false; then :
2272  $as_echo_n "(cached) " >&6
2273else
2274  if test -n "$AWK"; then
2275  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2276else
2277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278for as_dir in $PATH
2279do
2280  IFS=$as_save_IFS
2281  test -z "$as_dir" && as_dir=.
2282    for ac_exec_ext in '' $ac_executable_extensions; do
2283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284    ac_cv_prog_AWK="$ac_prog"
2285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2286    break 2
2287  fi
2288done
2289  done
2290IFS=$as_save_IFS
2291
2292fi
2293fi
2294AWK=$ac_cv_prog_AWK
2295if test -n "$AWK"; then
2296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2297$as_echo "$AWK" >&6; }
2298else
2299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2300$as_echo "no" >&6; }
2301fi
2302
2303
2304  test -n "$AWK" && break
2305done
2306
2307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2308$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2309set x ${MAKE-make}
2310ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2311if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2312  $as_echo_n "(cached) " >&6
2313else
2314  cat >conftest.make <<\_ACEOF
2315SHELL = /bin/sh
2316all:
2317        @echo '@@@%%%=$(MAKE)=@@@%%%'
2318_ACEOF
2319# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2320case `${MAKE-make} -f conftest.make 2>/dev/null` in
2321  *@@@%%%=?*=@@@%%%*)
2322    eval ac_cv_prog_make_${ac_make}_set=yes;;
2323  *)
2324    eval ac_cv_prog_make_${ac_make}_set=no;;
2325esac
2326rm -f conftest.make
2327fi
2328if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2330$as_echo "yes" >&6; }
2331  SET_MAKE=
2332else
2333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334$as_echo "no" >&6; }
2335  SET_MAKE="MAKE=${MAKE-make}"
2336fi
2337
2338rm -rf .tst 2>/dev/null
2339mkdir .tst 2>/dev/null
2340if test -d .tst; then
2341  am__leading_dot=.
2342else
2343  am__leading_dot=_
2344fi
2345rmdir .tst 2>/dev/null
2346
2347DEPDIR="${am__leading_dot}deps"
2348
2349ac_config_commands="$ac_config_commands depfiles"
2350
2351
2352am_make=${MAKE-make}
2353cat > confinc << 'END'
2354am__doit:
2355        @echo this is the am__doit target
2356.PHONY: am__doit
2357END
2358# If we don't find an include directive, just comment out the code.
2359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2360$as_echo_n "checking for style of include used by $am_make... " >&6; }
2361am__include="#"
2362am__quote=
2363_am_result=none
2364# First try GNU make style include.
2365echo "include confinc" > confmf
2366# Ignore all kinds of additional output from `make'.
2367case `$am_make -s -f confmf 2> /dev/null` in #(
2368*the\ am__doit\ target*)
2369  am__include=include
2370  am__quote=
2371  _am_result=GNU
2372  ;;
2373esac
2374# Now try BSD make style include.
2375if test "$am__include" = "#"; then
2376   echo '.include "confinc"' > confmf
2377   case `$am_make -s -f confmf 2> /dev/null` in #(
2378   *the\ am__doit\ target*)
2379     am__include=.include
2380     am__quote="\""
2381     _am_result=BSD
2382     ;;
2383   esac
2384fi
2385
2386
2387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2388$as_echo "$_am_result" >&6; }
2389rm -f confinc confmf
2390
2391# Check whether --enable-dependency-tracking was given.
2392if test "${enable_dependency_tracking+set}" = set; then :
2393  enableval=$enable_dependency_tracking;
2394fi
2395
2396if test "x$enable_dependency_tracking" != xno; then
2397  am_depcomp="$ac_aux_dir/depcomp"
2398  AMDEPBACKSLASH='\'
2399  am__nodep='_no'
2400fi
2401 if test "x$enable_dependency_tracking" != xno; then
2402  AMDEP_TRUE=
2403  AMDEP_FALSE='#'
2404else
2405  AMDEP_TRUE='#'
2406  AMDEP_FALSE=
2407fi
2408
2409
2410
2411# Check whether --enable-multilib was given.
2412if test "${enable_multilib+set}" = set; then :
2413  enableval=$enable_multilib; case "${enableval}" in
2414  yes) multilib=yes ;;
2415  no)  multilib=no ;;
2416  *)   as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
2417 esac
2418else
2419  multilib=yes
2420fi
2421
2422# Check whether --enable-target-optspace was given.
2423if test "${enable_target_optspace+set}" = set; then :
2424  enableval=$enable_target_optspace; case "${enableval}" in
2425  yes) target_optspace=yes ;;
2426  no)  target_optspace=no ;;
2427  *)   as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
2428 esac
2429else
2430  target_optspace=
2431fi
2432
2433# Check whether --enable-malloc-debugging was given.
2434if test "${enable_malloc_debugging+set}" = set; then :
2435  enableval=$enable_malloc_debugging; case "${enableval}" in
2436  yes) malloc_debugging=yes ;;
2437  no)  malloc_debugging=no ;;
2438  *)   as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
2439 esac
2440else
2441  malloc_debugging=
2442fi
2443
2444# Check whether --enable-newlib-multithread was given.
2445if test "${enable_newlib_multithread+set}" = set; then :
2446  enableval=$enable_newlib_multithread; case "${enableval}" in
2447  yes) newlib_multithread=yes ;;
2448  no)  newlib_multithread=no ;;
2449  *)   as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
2450 esac
2451else
2452  newlib_multithread=yes
2453fi
2454
2455# Check whether --enable-newlib-iconv was given.
2456if test "${enable_newlib_iconv+set}" = set; then :
2457  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2458   case "${enableval}" in
2459     yes) newlib_iconv=yes ;;
2460     no)  newlib_iconv=no ;;
2461     *)   as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
2462   esac
2463 fi
2464else
2465  newlib_iconv=${newlib_iconv}
2466fi
2467
2468# Check whether --enable-newlib-elix-level was given.
2469if test "${enable_newlib_elix_level+set}" = set; then :
2470  enableval=$enable_newlib_elix_level; case "${enableval}" in
2471  0)   newlib_elix_level=0 ;;
2472  1)   newlib_elix_level=1 ;;
2473  2)   newlib_elix_level=2 ;;
2474  3)   newlib_elix_level=3 ;;
2475  4)   newlib_elix_level=4 ;;
2476  *)   as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
2477 esac
2478else
2479  newlib_elix_level=0
2480fi
2481
2482# Check whether --enable-newlib-io-float was given.
2483if test "${enable_newlib_io_float+set}" = set; then :
2484  enableval=$enable_newlib_io_float; case "${enableval}" in
2485  yes) newlib_io_float=yes ;;
2486  no)  newlib_io_float=no ;;
2487  *)   as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
2488 esac
2489else
2490  newlib_io_float=yes
2491fi
2492
2493# Check whether --enable-newlib-supplied-syscalls was given.
2494if test "${enable_newlib_supplied_syscalls+set}" = set; then :
2495  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2496  yes) newlib_may_supply_syscalls=yes ;;
2497  no)  newlib_may_supply_syscalls=no ;;
2498  *)   as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
2499 esac
2500else
2501  newlib_may_supply_syscalls=yes
2502fi
2503
2504 if test x${newlib_may_supply_syscalls} = xyes; then
2505  MAY_SUPPLY_SYSCALLS_TRUE=
2506  MAY_SUPPLY_SYSCALLS_FALSE='#'
2507else
2508  MAY_SUPPLY_SYSCALLS_TRUE='#'
2509  MAY_SUPPLY_SYSCALLS_FALSE=
2510fi
2511
2512
2513
2514test -z "${with_target_subdir}" && with_target_subdir=.
2515
2516if test "${srcdir}" = "."; then
2517  if test "${with_target_subdir}" != "."; then
2518    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2519  else
2520    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2521  fi
2522else
2523  newlib_basedir="${srcdir}/../../.."
2524fi
2525
2526
2527
2528
2529if test "`cd $srcdir && pwd`" != "`pwd`"; then
2530  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2531  # is not polluted with repeated "-I."
2532  am__isrc=' -I$(srcdir)'
2533  # test to see if srcdir already configured
2534  if test -f $srcdir/config.status; then
2535    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2536  fi
2537fi
2538
2539# test whether we have cygpath
2540if test -z "$CYGPATH_W"; then
2541  if (cygpath --version) >/dev/null 2>/dev/null; then
2542    CYGPATH_W='cygpath -w'
2543  else
2544    CYGPATH_W=echo
2545  fi
2546fi
2547
2548
2549# Define the identity of the package.
2550 PACKAGE='newlib'
2551 VERSION='3.0.0'
2552
2553
2554# Some tools Automake needs.
2555
2556ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2557
2558
2559AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2560
2561
2562AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2563
2564
2565AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2566
2567
2568MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2569
2570# We need awk for the "check" target.  The system "awk" is bad on
2571# some platforms.
2572# Always define AMTAR for backward compatibility.  Yes, it's still used
2573# in the wild :-(  We should find a proper way to deprecate it ...
2574AMTAR='$${TAR-tar}'
2575
2576am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2577
2578
2579
2580
2581
2582
2583# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
2584# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
2585# are probably using a cross compiler, which will not be able to fully
2586# link an executable.  This should really be fixed in autoconf
2587# itself.
2588
2589
2590
2591
2592
2593
2594
2595# Extract the first word of "gcc", so it can be a program name with args.
2596set dummy gcc; ac_word=$2
2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2598$as_echo_n "checking for $ac_word... " >&6; }
2599if ${ac_cv_prog_CC+:} false; then :
2600  $as_echo_n "(cached) " >&6
2601else
2602  if test -n "$CC"; then
2603  ac_cv_prog_CC="$CC" # Let the user override the test.
2604else
2605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606for as_dir in $PATH
2607do
2608  IFS=$as_save_IFS
2609  test -z "$as_dir" && as_dir=.
2610    for ac_exec_ext in '' $ac_executable_extensions; do
2611  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612    ac_cv_prog_CC="gcc"
2613    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614    break 2
2615  fi
2616done
2617  done
2618IFS=$as_save_IFS
2619
2620fi
2621fi
2622CC=$ac_cv_prog_CC
2623if test -n "$CC"; then
2624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2625$as_echo "$CC" >&6; }
2626else
2627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2628$as_echo "no" >&6; }
2629fi
2630
2631
2632
2633depcc="$CC"   am_compiler_list=
2634
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2636$as_echo_n "checking dependency style of $depcc... " >&6; }
2637if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2638  $as_echo_n "(cached) " >&6
2639else
2640  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2641  # We make a subdir and do the tests there.  Otherwise we can end up
2642  # making bogus files that we don't know about and never remove.  For
2643  # instance it was reported that on HP-UX the gcc test will end up
2644  # making a dummy file named `D' -- because `-MD' means `put the output
2645  # in D'.
2646  rm -rf conftest.dir
2647  mkdir conftest.dir
2648  # Copy depcomp to subdir because otherwise we won't find it if we're
2649  # using a relative directory.
2650  cp "$am_depcomp" conftest.dir
2651  cd conftest.dir
2652  # We will build objects and dependencies in a subdirectory because
2653  # it helps to detect inapplicable dependency modes.  For instance
2654  # both Tru64's cc and ICC support -MD to output dependencies as a
2655  # side effect of compilation, but ICC will put the dependencies in
2656  # the current directory while Tru64 will put them in the object
2657  # directory.
2658  mkdir sub
2659
2660  am_cv_CC_dependencies_compiler_type=none
2661  if test "$am_compiler_list" = ""; then
2662     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2663  fi
2664  am__universal=false
2665  case " $depcc " in #(
2666     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2667     esac
2668
2669  for depmode in $am_compiler_list; do
2670    # Setup a source with many dependencies, because some compilers
2671    # like to wrap large dependency lists on column 80 (with \), and
2672    # we should not choose a depcomp mode which is confused by this.
2673    #
2674    # We need to recreate these files for each test, as the compiler may
2675    # overwrite some of them when testing with obscure command lines.
2676    # This happens at least with the AIX C compiler.
2677    : > sub/conftest.c
2678    for i in 1 2 3 4 5 6; do
2679      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2680      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2681      # Solaris 8's {/usr,}/bin/sh.
2682      touch sub/conftst$i.h
2683    done
2684    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2685
2686    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2687    # mode.  It turns out that the SunPro C++ compiler does not properly
2688    # handle `-M -o', and we need to detect this.  Also, some Intel
2689    # versions had trouble with output in subdirs
2690    am__obj=sub/conftest.${OBJEXT-o}
2691    am__minus_obj="-o $am__obj"
2692    case $depmode in
2693    gcc)
2694      # This depmode causes a compiler race in universal mode.
2695      test "$am__universal" = false || continue
2696      ;;
2697    nosideeffect)
2698      # after this tag, mechanisms are not by side-effect, so they'll
2699      # only be used when explicitly requested
2700      if test "x$enable_dependency_tracking" = xyes; then
2701        continue
2702      else
2703        break
2704      fi
2705      ;;
2706    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
2707      # This compiler won't grok `-c -o', but also, the minuso test has
2708      # not run yet.  These depmodes are late enough in the game, and
2709      # so weak that their functioning should not be impacted.
2710      am__obj=conftest.${OBJEXT-o}
2711      am__minus_obj=
2712      ;;
2713    none) break ;;
2714    esac
2715    if depmode=$depmode \
2716       source=sub/conftest.c object=$am__obj \
2717       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2718       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2719         >/dev/null 2>conftest.err &&
2720       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2721       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2722       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2723       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2724      # icc doesn't choke on unknown options, it will just issue warnings
2725      # or remarks (even with -Werror).  So we grep stderr for any message
2726      # that says an option was ignored or not supported.
2727      # When given -MP, icc 7.0 and 7.1 complain thusly:
2728      #   icc: Command line warning: ignoring option '-M'; no argument required
2729      # The diagnosis changed in icc 8.0:
2730      #   icc: Command line remark: option '-MP' not supported
2731      if (grep 'ignoring option' conftest.err ||
2732          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2733        am_cv_CC_dependencies_compiler_type=$depmode
2734        break
2735      fi
2736    fi
2737  done
2738
2739  cd ..
2740  rm -rf conftest.dir
2741else
2742  am_cv_CC_dependencies_compiler_type=none
2743fi
2744
2745fi
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2747$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2748CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2749
2750 if
2751  test "x$enable_dependency_tracking" != xno \
2752  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2753  am__fastdepCC_TRUE=
2754  am__fastdepCC_FALSE='#'
2755else
2756  am__fastdepCC_TRUE='#'
2757  am__fastdepCC_FALSE=
2758fi
2759
2760
2761if test -z "$CC"; then
2762  # Extract the first word of "cc", so it can be a program name with args.
2763set dummy cc; ac_word=$2
2764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765$as_echo_n "checking for $ac_word... " >&6; }
2766if ${ac_cv_prog_CC+:} false; then :
2767  $as_echo_n "(cached) " >&6
2768else
2769  if test -n "$CC"; then
2770  ac_cv_prog_CC="$CC" # Let the user override the test.
2771else
2772  ac_prog_rejected=no
2773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774for as_dir in $PATH
2775do
2776  IFS=$as_save_IFS
2777  test -z "$as_dir" && as_dir=.
2778    for ac_exec_ext in '' $ac_executable_extensions; do
2779  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2781       ac_prog_rejected=yes
2782       continue
2783     fi
2784    ac_cv_prog_CC="cc"
2785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786    break 2
2787  fi
2788done
2789  done
2790IFS=$as_save_IFS
2791
2792if test $ac_prog_rejected = yes; then
2793  # We found a bogon in the path, so make sure we never use it.
2794  set dummy $ac_cv_prog_CC
2795  shift
2796  if test $# != 0; then
2797    # We chose a different compiler from the bogus one.
2798    # However, it has the same basename, so the bogon will be chosen
2799    # first if we set CC to just the basename; use the full file name.
2800    shift
2801    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2802  fi
2803fi
2804fi
2805fi
2806CC=$ac_cv_prog_CC
2807if test -n "$CC"; then
2808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809$as_echo "$CC" >&6; }
2810else
2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812$as_echo "no" >&6; }
2813fi
2814
2815
2816  test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2817fi
2818
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
2820$as_echo_n "checking whether we are using GNU C... " >&6; }
2821if ${ac_cv_c_compiler_gnu+:} false; then :
2822  $as_echo_n "(cached) " >&6
2823else
2824  cat > conftest.c <<EOF
2825#ifdef __GNUC__
2826  yes;
2827#endif
2828EOF
2829if { ac_try='${CC-cc} -E conftest.c'
2830  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2831  (eval $ac_try) 2>&5
2832  ac_status=$?
2833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
2835  ac_cv_c_compiler_gnu=yes
2836else
2837  ac_cv_c_compiler_gnu=no
2838fi
2839fi
2840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2841$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2842
2843if test $ac_cv_c_compiler_gnu = yes; then
2844  GCC=yes
2845  ac_test_CFLAGS="${CFLAGS+set}"
2846  ac_save_CFLAGS="$CFLAGS"
2847  ac_test_CFLAGS=${CFLAGS+set}
2848ac_save_CFLAGS=$CFLAGS
2849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2850$as_echo_n "checking whether $CC accepts -g... " >&6; }
2851if ${ac_cv_prog_cc_g+:} false; then :
2852  $as_echo_n "(cached) " >&6
2853else
2854  ac_save_c_werror_flag=$ac_c_werror_flag
2855   ac_c_werror_flag=yes
2856   ac_cv_prog_cc_g=no
2857   CFLAGS="-g"
2858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859/* end confdefs.h.  */
2860
2861int
2862main ()
2863{
2864
2865  ;
2866  return 0;
2867}
2868_ACEOF
2869if ac_fn_c_try_compile "$LINENO"; then :
2870  ac_cv_prog_cc_g=yes
2871else
2872  CFLAGS=""
2873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874/* end confdefs.h.  */
2875
2876int
2877main ()
2878{
2879
2880  ;
2881  return 0;
2882}
2883_ACEOF
2884if ac_fn_c_try_compile "$LINENO"; then :
2885
2886else
2887  ac_c_werror_flag=$ac_save_c_werror_flag
2888         CFLAGS="-g"
2889         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890/* end confdefs.h.  */
2891
2892int
2893main ()
2894{
2895
2896  ;
2897  return 0;
2898}
2899_ACEOF
2900if ac_fn_c_try_compile "$LINENO"; then :
2901  ac_cv_prog_cc_g=yes
2902fi
2903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904fi
2905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906fi
2907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908   ac_c_werror_flag=$ac_save_c_werror_flag
2909fi
2910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2911$as_echo "$ac_cv_prog_cc_g" >&6; }
2912if test "$ac_test_CFLAGS" = set; then
2913  CFLAGS=$ac_save_CFLAGS
2914elif test $ac_cv_prog_cc_g = yes; then
2915  if test "$GCC" = yes; then
2916    CFLAGS="-g -O2"
2917  else
2918    CFLAGS="-g"
2919  fi
2920else
2921  if test "$GCC" = yes; then
2922    CFLAGS="-O2"
2923  else
2924    CFLAGS=
2925  fi
2926fi
2927  if test "$ac_test_CFLAGS" = set; then
2928    CFLAGS="$ac_save_CFLAGS"
2929  elif test $ac_cv_prog_cc_g = yes; then
2930    CFLAGS="-g -O2"
2931  else
2932    CFLAGS="-O2"
2933  fi
2934else
2935  GCC=
2936  test "${CFLAGS+set}" = set || CFLAGS="-g"
2937fi
2938
2939
2940if test -n "$ac_tool_prefix"; then
2941  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2942set dummy ${ac_tool_prefix}as; ac_word=$2
2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944$as_echo_n "checking for $ac_word... " >&6; }
2945if ${ac_cv_prog_AS+:} false; then :
2946  $as_echo_n "(cached) " >&6
2947else
2948  if test -n "$AS"; then
2949  ac_cv_prog_AS="$AS" # Let the user override the test.
2950else
2951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952for as_dir in $PATH
2953do
2954  IFS=$as_save_IFS
2955  test -z "$as_dir" && as_dir=.
2956    for ac_exec_ext in '' $ac_executable_extensions; do
2957  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958    ac_cv_prog_AS="${ac_tool_prefix}as"
2959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960    break 2
2961  fi
2962done
2963  done
2964IFS=$as_save_IFS
2965
2966fi
2967fi
2968AS=$ac_cv_prog_AS
2969if test -n "$AS"; then
2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2971$as_echo "$AS" >&6; }
2972else
2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974$as_echo "no" >&6; }
2975fi
2976
2977
2978fi
2979if test -z "$ac_cv_prog_AS"; then
2980  ac_ct_AS=$AS
2981  # Extract the first word of "as", so it can be a program name with args.
2982set dummy as; ac_word=$2
2983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984$as_echo_n "checking for $ac_word... " >&6; }
2985if ${ac_cv_prog_ac_ct_AS+:} false; then :
2986  $as_echo_n "(cached) " >&6
2987else
2988  if test -n "$ac_ct_AS"; then
2989  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2990else
2991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992for as_dir in $PATH
2993do
2994  IFS=$as_save_IFS
2995  test -z "$as_dir" && as_dir=.
2996    for ac_exec_ext in '' $ac_executable_extensions; do
2997  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2998    ac_cv_prog_ac_ct_AS="as"
2999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000    break 2
3001  fi
3002done
3003  done
3004IFS=$as_save_IFS
3005
3006fi
3007fi
3008ac_ct_AS=$ac_cv_prog_ac_ct_AS
3009if test -n "$ac_ct_AS"; then
3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3011$as_echo "$ac_ct_AS" >&6; }
3012else
3013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014$as_echo "no" >&6; }
3015fi
3016
3017  if test "x$ac_ct_AS" = x; then
3018    AS=""
3019  else
3020    case $cross_compiling:$ac_tool_warned in
3021yes:)
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3023$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3024ac_tool_warned=yes ;;
3025esac
3026    AS=$ac_ct_AS
3027  fi
3028else
3029  AS="$ac_cv_prog_AS"
3030fi
3031
3032if test -n "$ac_tool_prefix"; then
3033  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3034set dummy ${ac_tool_prefix}ar; ac_word=$2
3035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036$as_echo_n "checking for $ac_word... " >&6; }
3037if ${ac_cv_prog_AR+:} false; then :
3038  $as_echo_n "(cached) " >&6
3039else
3040  if test -n "$AR"; then
3041  ac_cv_prog_AR="$AR" # Let the user override the test.
3042else
3043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044for as_dir in $PATH
3045do
3046  IFS=$as_save_IFS
3047  test -z "$as_dir" && as_dir=.
3048    for ac_exec_ext in '' $ac_executable_extensions; do
3049  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3050    ac_cv_prog_AR="${ac_tool_prefix}ar"
3051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052    break 2
3053  fi
3054done
3055  done
3056IFS=$as_save_IFS
3057
3058fi
3059fi
3060AR=$ac_cv_prog_AR
3061if test -n "$AR"; then
3062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3063$as_echo "$AR" >&6; }
3064else
3065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066$as_echo "no" >&6; }
3067fi
3068
3069
3070fi
3071if test -z "$ac_cv_prog_AR"; then
3072  ac_ct_AR=$AR
3073  # Extract the first word of "ar", so it can be a program name with args.
3074set dummy ar; ac_word=$2
3075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076$as_echo_n "checking for $ac_word... " >&6; }
3077if ${ac_cv_prog_ac_ct_AR+:} false; then :
3078  $as_echo_n "(cached) " >&6
3079else
3080  if test -n "$ac_ct_AR"; then
3081  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3082else
3083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084for as_dir in $PATH
3085do
3086  IFS=$as_save_IFS
3087  test -z "$as_dir" && as_dir=.
3088    for ac_exec_ext in '' $ac_executable_extensions; do
3089  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090    ac_cv_prog_ac_ct_AR="ar"
3091    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092    break 2
3093  fi
3094done
3095  done
3096IFS=$as_save_IFS
3097
3098fi
3099fi
3100ac_ct_AR=$ac_cv_prog_ac_ct_AR
3101if test -n "$ac_ct_AR"; then
3102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3103$as_echo "$ac_ct_AR" >&6; }
3104else
3105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106$as_echo "no" >&6; }
3107fi
3108
3109  if test "x$ac_ct_AR" = x; then
3110    AR=""
3111  else
3112    case $cross_compiling:$ac_tool_warned in
3113yes:)
3114{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116ac_tool_warned=yes ;;
3117esac
3118    AR=$ac_ct_AR
3119  fi
3120else
3121  AR="$ac_cv_prog_AR"
3122fi
3123
3124if test -n "$ac_tool_prefix"; then
3125  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3126set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128$as_echo_n "checking for $ac_word... " >&6; }
3129if ${ac_cv_prog_RANLIB+:} false; then :
3130  $as_echo_n "(cached) " >&6
3131else
3132  if test -n "$RANLIB"; then
3133  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3134else
3135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136for as_dir in $PATH
3137do
3138  IFS=$as_save_IFS
3139  test -z "$as_dir" && as_dir=.
3140    for ac_exec_ext in '' $ac_executable_extensions; do
3141  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144    break 2
3145  fi
3146done
3147  done
3148IFS=$as_save_IFS
3149
3150fi
3151fi
3152RANLIB=$ac_cv_prog_RANLIB
3153if test -n "$RANLIB"; then
3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3155$as_echo "$RANLIB" >&6; }
3156else
3157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158$as_echo "no" >&6; }
3159fi
3160
3161
3162fi
3163if test -z "$ac_cv_prog_RANLIB"; then
3164  ac_ct_RANLIB=$RANLIB
3165  # Extract the first word of "ranlib", so it can be a program name with args.
3166set dummy ranlib; ac_word=$2
3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168$as_echo_n "checking for $ac_word... " >&6; }
3169if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3170  $as_echo_n "(cached) " >&6
3171else
3172  if test -n "$ac_ct_RANLIB"; then
3173  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3174else
3175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176for as_dir in $PATH
3177do
3178  IFS=$as_save_IFS
3179  test -z "$as_dir" && as_dir=.
3180    for ac_exec_ext in '' $ac_executable_extensions; do
3181  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182    ac_cv_prog_ac_ct_RANLIB="ranlib"
3183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184    break 2
3185  fi
3186done
3187  done
3188IFS=$as_save_IFS
3189
3190fi
3191fi
3192ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3193if test -n "$ac_ct_RANLIB"; then
3194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3195$as_echo "$ac_ct_RANLIB" >&6; }
3196else
3197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198$as_echo "no" >&6; }
3199fi
3200
3201  if test "x$ac_ct_RANLIB" = x; then
3202    RANLIB=":"
3203  else
3204    case $cross_compiling:$ac_tool_warned in
3205yes:)
3206{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208ac_tool_warned=yes ;;
3209esac
3210    RANLIB=$ac_ct_RANLIB
3211  fi
3212else
3213  RANLIB="$ac_cv_prog_RANLIB"
3214fi
3215
3216if test -n "$ac_tool_prefix"; then
3217  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3218set dummy ${ac_tool_prefix}readelf; ac_word=$2
3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3220$as_echo_n "checking for $ac_word... " >&6; }
3221if ${ac_cv_prog_READELF+:} false; then :
3222  $as_echo_n "(cached) " >&6
3223else
3224  if test -n "$READELF"; then
3225  ac_cv_prog_READELF="$READELF" # Let the user override the test.
3226else
3227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228for as_dir in $PATH
3229do
3230  IFS=$as_save_IFS
3231  test -z "$as_dir" && as_dir=.
3232    for ac_exec_ext in '' $ac_executable_extensions; do
3233  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3235    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236    break 2
3237  fi
3238done
3239  done
3240IFS=$as_save_IFS
3241
3242fi
3243fi
3244READELF=$ac_cv_prog_READELF
3245if test -n "$READELF"; then
3246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
3247$as_echo "$READELF" >&6; }
3248else
3249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250$as_echo "no" >&6; }
3251fi
3252
3253
3254fi
3255if test -z "$ac_cv_prog_READELF"; then
3256  ac_ct_READELF=$READELF
3257  # Extract the first word of "readelf", so it can be a program name with args.
3258set dummy readelf; ac_word=$2
3259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260$as_echo_n "checking for $ac_word... " >&6; }
3261if ${ac_cv_prog_ac_ct_READELF+:} false; then :
3262  $as_echo_n "(cached) " >&6
3263else
3264  if test -n "$ac_ct_READELF"; then
3265  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3266else
3267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268for as_dir in $PATH
3269do
3270  IFS=$as_save_IFS
3271  test -z "$as_dir" && as_dir=.
3272    for ac_exec_ext in '' $ac_executable_extensions; do
3273  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3274    ac_cv_prog_ac_ct_READELF="readelf"
3275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276    break 2
3277  fi
3278done
3279  done
3280IFS=$as_save_IFS
3281
3282fi
3283fi
3284ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3285if test -n "$ac_ct_READELF"; then
3286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
3287$as_echo "$ac_ct_READELF" >&6; }
3288else
3289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290$as_echo "no" >&6; }
3291fi
3292
3293  if test "x$ac_ct_READELF" = x; then
3294    READELF=":"
3295  else
3296    case $cross_compiling:$ac_tool_warned in
3297yes:)
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3300ac_tool_warned=yes ;;
3301esac
3302    READELF=$ac_ct_READELF
3303  fi
3304else
3305  READELF="$ac_cv_prog_READELF"
3306fi
3307
3308
3309
3310
3311# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3312ac_given_INSTALL=$INSTALL
3313
3314
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3316$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3317    # Check whether --enable-maintainer-mode was given.
3318if test "${enable_maintainer_mode+set}" = set; then :
3319  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3320else
3321  USE_MAINTAINER_MODE=no
3322fi
3323
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3325$as_echo "$USE_MAINTAINER_MODE" >&6; }
3326   if test $USE_MAINTAINER_MODE = yes; then
3327  MAINTAINER_MODE_TRUE=
3328  MAINTAINER_MODE_FALSE='#'
3329else
3330  MAINTAINER_MODE_TRUE='#'
3331  MAINTAINER_MODE_FALSE=
3332fi
3333
3334  MAINT=$MAINTAINER_MODE_TRUE
3335
3336
3337# By default we simply use the C compiler to build assembly code.
3338
3339test "${CCAS+set}" = set || CCAS=$CC
3340test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3341
3342
3343
3344
3345# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3346# at least currently, we never actually build a program, so we never
3347# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3348# fails, because we are probably configuring with a cross compiler
3349# which can't create executables.  So we include AC_EXEEXT to keep
3350# automake happy, but we don't execute it, since we don't care about
3351# the result.
3352if false; then
3353
3354  dummy_var=1
3355fi
3356
3357. ${newlib_basedir}/configure.host
3358
3359newlib_cflags="${newlib_cflags} -fno-builtin"
3360
3361NEWLIB_CFLAGS=${newlib_cflags}
3362
3363
3364NO_INCLUDE_LIST=${noinclude}
3365
3366
3367LDFLAGS=${ldflags}
3368
3369
3370 if test x${newlib_elix_level} = x0; then
3371  ELIX_LEVEL_0_TRUE=
3372  ELIX_LEVEL_0_FALSE='#'
3373else
3374  ELIX_LEVEL_0_TRUE='#'
3375  ELIX_LEVEL_0_FALSE=
3376fi
3377
3378 if test x${newlib_elix_level} = x1; then
3379  ELIX_LEVEL_1_TRUE=
3380  ELIX_LEVEL_1_FALSE='#'
3381else
3382  ELIX_LEVEL_1_TRUE='#'
3383  ELIX_LEVEL_1_FALSE=
3384fi
3385
3386 if test x${newlib_elix_level} = x2; then
3387  ELIX_LEVEL_2_TRUE=
3388  ELIX_LEVEL_2_FALSE='#'
3389else
3390  ELIX_LEVEL_2_TRUE='#'
3391  ELIX_LEVEL_2_FALSE=
3392fi
3393
3394 if test x${newlib_elix_level} = x3; then
3395  ELIX_LEVEL_3_TRUE=
3396  ELIX_LEVEL_3_FALSE='#'
3397else
3398  ELIX_LEVEL_3_TRUE='#'
3399  ELIX_LEVEL_3_FALSE=
3400fi
3401
3402 if test x${newlib_elix_level} = x4; then
3403  ELIX_LEVEL_4_TRUE=
3404  ELIX_LEVEL_4_FALSE='#'
3405else
3406  ELIX_LEVEL_4_TRUE='#'
3407  ELIX_LEVEL_4_FALSE=
3408fi
3409
3410
3411 if test x${use_libtool} = xyes; then
3412  USE_LIBTOOL_TRUE=
3413  USE_LIBTOOL_FALSE='#'
3414else
3415  USE_LIBTOOL_TRUE='#'
3416  USE_LIBTOOL_FALSE=
3417fi
3418
3419
3420# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3421# use oext, which is set in configure.host based on the target platform.
3422OBJEXT=${oext}
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435ac_ext=c
3436ac_cpp='$CPP $CPPFLAGS'
3437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440if test -n "$ac_tool_prefix"; then
3441  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3442set dummy ${ac_tool_prefix}gcc; ac_word=$2
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444$as_echo_n "checking for $ac_word... " >&6; }
3445if ${ac_cv_prog_CC+:} false; then :
3446  $as_echo_n "(cached) " >&6
3447else
3448  if test -n "$CC"; then
3449  ac_cv_prog_CC="$CC" # Let the user override the test.
3450else
3451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452for as_dir in $PATH
3453do
3454  IFS=$as_save_IFS
3455  test -z "$as_dir" && as_dir=.
3456    for ac_exec_ext in '' $ac_executable_extensions; do
3457  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3458    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3459    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460    break 2
3461  fi
3462done
3463  done
3464IFS=$as_save_IFS
3465
3466fi
3467fi
3468CC=$ac_cv_prog_CC
3469if test -n "$CC"; then
3470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3471$as_echo "$CC" >&6; }
3472else
3473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474$as_echo "no" >&6; }
3475fi
3476
3477
3478fi
3479if test -z "$ac_cv_prog_CC"; then
3480  ac_ct_CC=$CC
3481  # Extract the first word of "gcc", so it can be a program name with args.
3482set dummy gcc; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; }
3485if ${ac_cv_prog_ac_ct_CC+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  if test -n "$ac_ct_CC"; then
3489  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3490else
3491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492for as_dir in $PATH
3493do
3494  IFS=$as_save_IFS
3495  test -z "$as_dir" && as_dir=.
3496    for ac_exec_ext in '' $ac_executable_extensions; do
3497  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498    ac_cv_prog_ac_ct_CC="gcc"
3499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500    break 2
3501  fi
3502done
3503  done
3504IFS=$as_save_IFS
3505
3506fi
3507fi
3508ac_ct_CC=$ac_cv_prog_ac_ct_CC
3509if test -n "$ac_ct_CC"; then
3510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3511$as_echo "$ac_ct_CC" >&6; }
3512else
3513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514$as_echo "no" >&6; }
3515fi
3516
3517  if test "x$ac_ct_CC" = x; then
3518    CC=""
3519  else
3520    case $cross_compiling:$ac_tool_warned in
3521yes:)
3522{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3523$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3524ac_tool_warned=yes ;;
3525esac
3526    CC=$ac_ct_CC
3527  fi
3528else
3529  CC="$ac_cv_prog_CC"
3530fi
3531
3532if test -z "$CC"; then
3533          if test -n "$ac_tool_prefix"; then
3534    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3535set dummy ${ac_tool_prefix}cc; ac_word=$2
3536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537$as_echo_n "checking for $ac_word... " >&6; }
3538if ${ac_cv_prog_CC+:} false; then :
3539  $as_echo_n "(cached) " >&6
3540else
3541  if test -n "$CC"; then
3542  ac_cv_prog_CC="$CC" # Let the user override the test.
3543else
3544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545for as_dir in $PATH
3546do
3547  IFS=$as_save_IFS
3548  test -z "$as_dir" && as_dir=.
3549    for ac_exec_ext in '' $ac_executable_extensions; do
3550  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3551    ac_cv_prog_CC="${ac_tool_prefix}cc"
3552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553    break 2
3554  fi
3555done
3556  done
3557IFS=$as_save_IFS
3558
3559fi
3560fi
3561CC=$ac_cv_prog_CC
3562if test -n "$CC"; then
3563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3564$as_echo "$CC" >&6; }
3565else
3566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567$as_echo "no" >&6; }
3568fi
3569
3570
3571  fi
3572fi
3573if test -z "$CC"; then
3574  # Extract the first word of "cc", so it can be a program name with args.
3575set dummy cc; ac_word=$2
3576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577$as_echo_n "checking for $ac_word... " >&6; }
3578if ${ac_cv_prog_CC+:} false; then :
3579  $as_echo_n "(cached) " >&6
3580else
3581  if test -n "$CC"; then
3582  ac_cv_prog_CC="$CC" # Let the user override the test.
3583else
3584  ac_prog_rejected=no
3585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586for as_dir in $PATH
3587do
3588  IFS=$as_save_IFS
3589  test -z "$as_dir" && as_dir=.
3590    for ac_exec_ext in '' $ac_executable_extensions; do
3591  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3593       ac_prog_rejected=yes
3594       continue
3595     fi
3596    ac_cv_prog_CC="cc"
3597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598    break 2
3599  fi
3600done
3601  done
3602IFS=$as_save_IFS
3603
3604if test $ac_prog_rejected = yes; then
3605  # We found a bogon in the path, so make sure we never use it.
3606  set dummy $ac_cv_prog_CC
3607  shift
3608  if test $# != 0; then
3609    # We chose a different compiler from the bogus one.
3610    # However, it has the same basename, so the bogon will be chosen
3611    # first if we set CC to just the basename; use the full file name.
3612    shift
3613    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3614  fi
3615fi
3616fi
3617fi
3618CC=$ac_cv_prog_CC
3619if test -n "$CC"; then
3620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621$as_echo "$CC" >&6; }
3622else
3623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624$as_echo "no" >&6; }
3625fi
3626
3627
3628fi
3629if test -z "$CC"; then
3630  if test -n "$ac_tool_prefix"; then
3631  for ac_prog in cl.exe
3632  do
3633    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3634set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636$as_echo_n "checking for $ac_word... " >&6; }
3637if ${ac_cv_prog_CC+:} false; then :
3638  $as_echo_n "(cached) " >&6
3639else
3640  if test -n "$CC"; then
3641  ac_cv_prog_CC="$CC" # Let the user override the test.
3642else
3643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644for as_dir in $PATH
3645do
3646  IFS=$as_save_IFS
3647  test -z "$as_dir" && as_dir=.
3648    for ac_exec_ext in '' $ac_executable_extensions; do
3649  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652    break 2
3653  fi
3654done
3655  done
3656IFS=$as_save_IFS
3657
3658fi
3659fi
3660CC=$ac_cv_prog_CC
3661if test -n "$CC"; then
3662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663$as_echo "$CC" >&6; }
3664else
3665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666$as_echo "no" >&6; }
3667fi
3668
3669
3670    test -n "$CC" && break
3671  done
3672fi
3673if test -z "$CC"; then
3674  ac_ct_CC=$CC
3675  for ac_prog in cl.exe
3676do
3677  # Extract the first word of "$ac_prog", so it can be a program name with args.
3678set dummy $ac_prog; ac_word=$2
3679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680$as_echo_n "checking for $ac_word... " >&6; }
3681if ${ac_cv_prog_ac_ct_CC+:} false; then :
3682  $as_echo_n "(cached) " >&6
3683else
3684  if test -n "$ac_ct_CC"; then
3685  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3686else
3687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688for as_dir in $PATH
3689do
3690  IFS=$as_save_IFS
3691  test -z "$as_dir" && as_dir=.
3692    for ac_exec_ext in '' $ac_executable_extensions; do
3693  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694    ac_cv_prog_ac_ct_CC="$ac_prog"
3695    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696    break 2
3697  fi
3698done
3699  done
3700IFS=$as_save_IFS
3701
3702fi
3703fi
3704ac_ct_CC=$ac_cv_prog_ac_ct_CC
3705if test -n "$ac_ct_CC"; then
3706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707$as_echo "$ac_ct_CC" >&6; }
3708else
3709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710$as_echo "no" >&6; }
3711fi
3712
3713
3714  test -n "$ac_ct_CC" && break
3715done
3716
3717  if test "x$ac_ct_CC" = x; then
3718    CC=""
3719  else
3720    case $cross_compiling:$ac_tool_warned in
3721yes:)
3722{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3723$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3724ac_tool_warned=yes ;;
3725esac
3726    CC=$ac_ct_CC
3727  fi
3728fi
3729
3730fi
3731
3732
3733test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735as_fn_error $? "no acceptable C compiler found in \$PATH
3736See \`config.log' for more details" "$LINENO" 5; }
3737
3738# Provide some information about the compiler.
3739$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3740set X $ac_compile
3741ac_compiler=$2
3742for ac_option in --version -v -V -qversion; do
3743  { { ac_try="$ac_compiler $ac_option >&5"
3744case "(($ac_try" in
3745  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746  *) ac_try_echo=$ac_try;;
3747esac
3748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749$as_echo "$ac_try_echo"; } >&5
3750  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3751  ac_status=$?
3752  if test -s conftest.err; then
3753    sed '10a\
3754... rest of stderr output deleted ...
3755         10q' conftest.err >conftest.er1
3756    cat conftest.er1 >&5
3757  fi
3758  rm -f conftest.er1 conftest.err
3759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760  test $ac_status = 0; }
3761done
3762
3763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764/* end confdefs.h.  */
3765
3766int
3767main ()
3768{
3769
3770  ;
3771  return 0;
3772}
3773_ACEOF
3774if { { ac_try="$ac_link"
3775case "(($ac_try" in
3776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777  *) ac_try_echo=$ac_try;;
3778esac
3779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780$as_echo "$ac_try_echo"; } >&5
3781  (eval "$ac_link") 2>&5
3782  ac_status=$?
3783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784  test $ac_status = 0; }; then
3785  ac_no_link=no
3786  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787/* end confdefs.h.  */
3788
3789int
3790main ()
3791{
3792
3793  ;
3794  return 0;
3795}
3796_ACEOF
3797ac_clean_files_save=$ac_clean_files
3798ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3799# Try to create an executable without -o first, disregard a.out.
3800# It will help us diagnose broken compilers, and finding out an intuition
3801# of exeext.
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3803$as_echo_n "checking whether the C compiler works... " >&6; }
3804ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3805
3806# The possible output files:
3807ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3808
3809ac_rmfiles=
3810for ac_file in $ac_files
3811do
3812  case $ac_file in
3813    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3814    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3815  esac
3816done
3817rm -f $ac_rmfiles
3818
3819if { { ac_try="$ac_link_default"
3820case "(($ac_try" in
3821  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822  *) ac_try_echo=$ac_try;;
3823esac
3824eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825$as_echo "$ac_try_echo"; } >&5
3826  (eval "$ac_link_default") 2>&5
3827  ac_status=$?
3828  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829  test $ac_status = 0; }; then :
3830  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3831# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3832# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3833# so that the user can short-circuit this test for compilers unknown to
3834# Autoconf.
3835for ac_file in $ac_files ''
3836do
3837  test -f "$ac_file" || continue
3838  case $ac_file in
3839    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3840        ;;
3841    [ab].out )
3842        # We found the default executable, but exeext='' is most
3843        # certainly right.
3844        break;;
3845    *.* )
3846        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3847        then :; else
3848           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3849        fi
3850        # We set ac_cv_exeext here because the later test for it is not
3851        # safe: cross compilers may not add the suffix if given an `-o'
3852        # argument, so we may need to know it at that point already.
3853        # Even if this section looks crufty: it has the advantage of
3854        # actually working.
3855        break;;
3856    * )
3857        break;;
3858  esac
3859done
3860test "$ac_cv_exeext" = no && ac_cv_exeext=
3861
3862else
3863  ac_file=''
3864fi
3865if test -z "$ac_file"; then :
3866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867$as_echo "no" >&6; }
3868$as_echo "$as_me: failed program was:" >&5
3869sed 's/^/| /' conftest.$ac_ext >&5
3870
3871{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873as_fn_error 77 "C compiler cannot create executables
3874See \`config.log' for more details" "$LINENO" 5; }
3875else
3876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3877$as_echo "yes" >&6; }
3878fi
3879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3880$as_echo_n "checking for C compiler default output file name... " >&6; }
3881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3882$as_echo "$ac_file" >&6; }
3883ac_exeext=$ac_cv_exeext
3884
3885rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3886ac_clean_files=$ac_clean_files_save
3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3888$as_echo_n "checking for suffix of executables... " >&6; }
3889if { { ac_try="$ac_link"
3890case "(($ac_try" in
3891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892  *) ac_try_echo=$ac_try;;
3893esac
3894eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895$as_echo "$ac_try_echo"; } >&5
3896  (eval "$ac_link") 2>&5
3897  ac_status=$?
3898  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899  test $ac_status = 0; }; then :
3900  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3901# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3902# work properly (i.e., refer to `conftest.exe'), while it won't with
3903# `rm'.
3904for ac_file in conftest.exe conftest conftest.*; do
3905  test -f "$ac_file" || continue
3906  case $ac_file in
3907    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3908    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3909          break;;
3910    * ) break;;
3911  esac
3912done
3913else
3914  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3916as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3917See \`config.log' for more details" "$LINENO" 5; }
3918fi
3919rm -f conftest conftest$ac_cv_exeext
3920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3921$as_echo "$ac_cv_exeext" >&6; }
3922
3923rm -f conftest.$ac_ext
3924EXEEXT=$ac_cv_exeext
3925ac_exeext=$EXEEXT
3926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927/* end confdefs.h.  */
3928#include <stdio.h>
3929int
3930main ()
3931{
3932FILE *f = fopen ("conftest.out", "w");
3933 return ferror (f) || fclose (f) != 0;
3934
3935  ;
3936  return 0;
3937}
3938_ACEOF
3939ac_clean_files="$ac_clean_files conftest.out"
3940# Check that the compiler produces executables we can run.  If not, either
3941# the compiler is broken, or we cross compile.
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3943$as_echo_n "checking whether we are cross compiling... " >&6; }
3944if test "$cross_compiling" != yes; then
3945  { { ac_try="$ac_link"
3946case "(($ac_try" in
3947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948  *) ac_try_echo=$ac_try;;
3949esac
3950eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951$as_echo "$ac_try_echo"; } >&5
3952  (eval "$ac_link") 2>&5
3953  ac_status=$?
3954  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3955  test $ac_status = 0; }
3956  if { ac_try='./conftest$ac_cv_exeext'
3957  { { case "(($ac_try" in
3958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959  *) ac_try_echo=$ac_try;;
3960esac
3961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962$as_echo "$ac_try_echo"; } >&5
3963  (eval "$ac_try") 2>&5
3964  ac_status=$?
3965  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966  test $ac_status = 0; }; }; then
3967    cross_compiling=no
3968  else
3969    if test "$cross_compiling" = maybe; then
3970        cross_compiling=yes
3971    else
3972        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974as_fn_error $? "cannot run C compiled programs.
3975If you meant to cross compile, use \`--host'.
3976See \`config.log' for more details" "$LINENO" 5; }
3977    fi
3978  fi
3979fi
3980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3981$as_echo "$cross_compiling" >&6; }
3982
3983rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3984ac_clean_files=$ac_clean_files_save
3985
3986else
3987  rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
3988  ac_no_link=yes
3989  # Setting cross_compile will disable run tests; it will
3990  # also disable AC_CHECK_FILE but that's generally
3991  # correct if we can't link.
3992  cross_compiling=yes
3993  EXEEXT=
3994  # Check that the compiler produces executables we can run.  If not, either
3995# the compiler is broken, or we cross compile.
3996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3997$as_echo_n "checking whether we are cross compiling... " >&6; }
3998if test "$cross_compiling" != yes; then
3999  { { ac_try="$ac_link"
4000case "(($ac_try" in
4001  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002  *) ac_try_echo=$ac_try;;
4003esac
4004eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005$as_echo "$ac_try_echo"; } >&5
4006  (eval "$ac_link") 2>&5
4007  ac_status=$?
4008  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009  test $ac_status = 0; }
4010  if { ac_try='./conftest$ac_cv_exeext'
4011  { { case "(($ac_try" in
4012  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013  *) ac_try_echo=$ac_try;;
4014esac
4015eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016$as_echo "$ac_try_echo"; } >&5
4017  (eval "$ac_try") 2>&5
4018  ac_status=$?
4019  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4020  test $ac_status = 0; }; }; then
4021    cross_compiling=no
4022  else
4023    if test "$cross_compiling" = maybe; then
4024        cross_compiling=yes
4025    else
4026        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028as_fn_error $? "cannot run C compiled programs.
4029If you meant to cross compile, use \`--host'.
4030See \`config.log' for more details" "$LINENO" 5; }
4031    fi
4032  fi
4033fi
4034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4035$as_echo "$cross_compiling" >&6; }
4036
4037fi
4038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4039$as_echo_n "checking for suffix of object files... " >&6; }
4040if ${ac_cv_objext+:} false; then :
4041  $as_echo_n "(cached) " >&6
4042else
4043  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044/* end confdefs.h.  */
4045
4046int
4047main ()
4048{
4049
4050  ;
4051  return 0;
4052}
4053_ACEOF
4054rm -f conftest.o conftest.obj
4055if { { ac_try="$ac_compile"
4056case "(($ac_try" in
4057  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058  *) ac_try_echo=$ac_try;;
4059esac
4060eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061$as_echo "$ac_try_echo"; } >&5
4062  (eval "$ac_compile") 2>&5
4063  ac_status=$?
4064  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065  test $ac_status = 0; }; then :
4066  for ac_file in conftest.o conftest.obj conftest.*; do
4067  test -f "$ac_file" || continue;
4068  case $ac_file in
4069    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4070    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4071       break;;
4072  esac
4073done
4074else
4075  $as_echo "$as_me: failed program was:" >&5
4076sed 's/^/| /' conftest.$ac_ext >&5
4077
4078{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080as_fn_error $? "cannot compute suffix of object files: cannot compile
4081See \`config.log' for more details" "$LINENO" 5; }
4082fi
4083rm -f conftest.$ac_cv_objext conftest.$ac_ext
4084fi
4085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4086$as_echo "$ac_cv_objext" >&6; }
4087OBJEXT=$ac_cv_objext
4088ac_objext=$OBJEXT
4089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4090$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4091if ${ac_cv_c_compiler_gnu+:} false; then :
4092  $as_echo_n "(cached) " >&6
4093else
4094  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095/* end confdefs.h.  */
4096
4097int
4098main ()
4099{
4100#ifndef __GNUC__
4101       choke me
4102#endif
4103
4104  ;
4105  return 0;
4106}
4107_ACEOF
4108if ac_fn_c_try_compile "$LINENO"; then :
4109  ac_compiler_gnu=yes
4110else
4111  ac_compiler_gnu=no
4112fi
4113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114ac_cv_c_compiler_gnu=$ac_compiler_gnu
4115
4116fi
4117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4118$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4119if test $ac_compiler_gnu = yes; then
4120  GCC=yes
4121else
4122  GCC=
4123fi
4124ac_test_CFLAGS=${CFLAGS+set}
4125ac_save_CFLAGS=$CFLAGS
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4127$as_echo_n "checking whether $CC accepts -g... " >&6; }
4128if ${ac_cv_prog_cc_g+:} false; then :
4129  $as_echo_n "(cached) " >&6
4130else
4131  ac_save_c_werror_flag=$ac_c_werror_flag
4132   ac_c_werror_flag=yes
4133   ac_cv_prog_cc_g=no
4134   CFLAGS="-g"
4135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136/* end confdefs.h.  */
4137
4138int
4139main ()
4140{
4141
4142  ;
4143  return 0;
4144}
4145_ACEOF
4146if ac_fn_c_try_compile "$LINENO"; then :
4147  ac_cv_prog_cc_g=yes
4148else
4149  CFLAGS=""
4150      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151/* end confdefs.h.  */
4152
4153int
4154main ()
4155{
4156
4157  ;
4158  return 0;
4159}
4160_ACEOF
4161if ac_fn_c_try_compile "$LINENO"; then :
4162
4163else
4164  ac_c_werror_flag=$ac_save_c_werror_flag
4165         CFLAGS="-g"
4166         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167/* end confdefs.h.  */
4168
4169int
4170main ()
4171{
4172
4173  ;
4174  return 0;
4175}
4176_ACEOF
4177if ac_fn_c_try_compile "$LINENO"; then :
4178  ac_cv_prog_cc_g=yes
4179fi
4180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181fi
4182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183fi
4184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185   ac_c_werror_flag=$ac_save_c_werror_flag
4186fi
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4188$as_echo "$ac_cv_prog_cc_g" >&6; }
4189if test "$ac_test_CFLAGS" = set; then
4190  CFLAGS=$ac_save_CFLAGS
4191elif test $ac_cv_prog_cc_g = yes; then
4192  if test "$GCC" = yes; then
4193    CFLAGS="-g -O2"
4194  else
4195    CFLAGS="-g"
4196  fi
4197else
4198  if test "$GCC" = yes; then
4199    CFLAGS="-O2"
4200  else
4201    CFLAGS=
4202  fi
4203fi
4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4205$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4206if ${ac_cv_prog_cc_c89+:} false; then :
4207  $as_echo_n "(cached) " >&6
4208else
4209  ac_cv_prog_cc_c89=no
4210ac_save_CC=$CC
4211cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212/* end confdefs.h.  */
4213#include <stdarg.h>
4214#include <stdio.h>
4215#include <sys/types.h>
4216#include <sys/stat.h>
4217/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4218struct buf { int x; };
4219FILE * (*rcsopen) (struct buf *, struct stat *, int);
4220static char *e (p, i)
4221     char **p;
4222     int i;
4223{
4224  return p[i];
4225}
4226static char *f (char * (*g) (char **, int), char **p, ...)
4227{
4228  char *s;
4229  va_list v;
4230  va_start (v,p);
4231  s = g (p, va_arg (v,int));
4232  va_end (v);
4233  return s;
4234}
4235
4236/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4237   function prototypes and stuff, but not '\xHH' hex character constants.
4238   These don't provoke an error unfortunately, instead are silently treated
4239   as 'x'.  The following induces an error, until -std is added to get
4240   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4241   array size at least.  It's necessary to write '\x00'==0 to get something
4242   that's true only with -std.  */
4243int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4244
4245/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4246   inside strings and character constants.  */
4247#define FOO(x) 'x'
4248int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4249
4250int test (int i, double x);
4251struct s1 {int (*f) (int a);};
4252struct s2 {int (*f) (double a);};
4253int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4254int argc;
4255char **argv;
4256int
4257main ()
4258{
4259return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4260  ;
4261  return 0;
4262}
4263_ACEOF
4264for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4265        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4266do
4267  CC="$ac_save_CC $ac_arg"
4268  if ac_fn_c_try_compile "$LINENO"; then :
4269  ac_cv_prog_cc_c89=$ac_arg
4270fi
4271rm -f core conftest.err conftest.$ac_objext
4272  test "x$ac_cv_prog_cc_c89" != "xno" && break
4273done
4274rm -f conftest.$ac_ext
4275CC=$ac_save_CC
4276
4277fi
4278# AC_CACHE_VAL
4279case "x$ac_cv_prog_cc_c89" in
4280  x)
4281    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4282$as_echo "none needed" >&6; } ;;
4283  xno)
4284    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4285$as_echo "unsupported" >&6; } ;;
4286  *)
4287    CC="$CC $ac_cv_prog_cc_c89"
4288    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4289$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4290esac
4291if test "x$ac_cv_prog_cc_c89" != xno; then :
4292
4293fi
4294
4295ac_ext=c
4296ac_cpp='$CPP $CPPFLAGS'
4297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299ac_compiler_gnu=$ac_cv_c_compiler_gnu
4300
4301depcc="$CC"   am_compiler_list=
4302
4303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4304$as_echo_n "checking dependency style of $depcc... " >&6; }
4305if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4306  $as_echo_n "(cached) " >&6
4307else
4308  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4309  # We make a subdir and do the tests there.  Otherwise we can end up
4310  # making bogus files that we don't know about and never remove.  For
4311  # instance it was reported that on HP-UX the gcc test will end up
4312  # making a dummy file named `D' -- because `-MD' means `put the output
4313  # in D'.
4314  rm -rf conftest.dir
4315  mkdir conftest.dir
4316  # Copy depcomp to subdir because otherwise we won't find it if we're
4317  # using a relative directory.
4318  cp "$am_depcomp" conftest.dir
4319  cd conftest.dir
4320  # We will build objects and dependencies in a subdirectory because
4321  # it helps to detect inapplicable dependency modes.  For instance
4322  # both Tru64's cc and ICC support -MD to output dependencies as a
4323  # side effect of compilation, but ICC will put the dependencies in
4324  # the current directory while Tru64 will put them in the object
4325  # directory.
4326  mkdir sub
4327
4328  am_cv_CC_dependencies_compiler_type=none
4329  if test "$am_compiler_list" = ""; then
4330     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4331  fi
4332  am__universal=false
4333  case " $depcc " in #(
4334     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4335     esac
4336
4337  for depmode in $am_compiler_list; do
4338    # Setup a source with many dependencies, because some compilers
4339    # like to wrap large dependency lists on column 80 (with \), and
4340    # we should not choose a depcomp mode which is confused by this.
4341    #
4342    # We need to recreate these files for each test, as the compiler may
4343    # overwrite some of them when testing with obscure command lines.
4344    # This happens at least with the AIX C compiler.
4345    : > sub/conftest.c
4346    for i in 1 2 3 4 5 6; do
4347      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4348      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4349      # Solaris 8's {/usr,}/bin/sh.
4350      touch sub/conftst$i.h
4351    done
4352    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4353
4354    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4355    # mode.  It turns out that the SunPro C++ compiler does not properly
4356    # handle `-M -o', and we need to detect this.  Also, some Intel
4357    # versions had trouble with output in subdirs
4358    am__obj=sub/conftest.${OBJEXT-o}
4359    am__minus_obj="-o $am__obj"
4360    case $depmode in
4361    gcc)
4362      # This depmode causes a compiler race in universal mode.
4363      test "$am__universal" = false || continue
4364      ;;
4365    nosideeffect)
4366      # after this tag, mechanisms are not by side-effect, so they'll
4367      # only be used when explicitly requested
4368      if test "x$enable_dependency_tracking" = xyes; then
4369        continue
4370      else
4371        break
4372      fi
4373      ;;
4374    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4375      # This compiler won't grok `-c -o', but also, the minuso test has
4376      # not run yet.  These depmodes are late enough in the game, and
4377      # so weak that their functioning should not be impacted.
4378      am__obj=conftest.${OBJEXT-o}
4379      am__minus_obj=
4380      ;;
4381    none) break ;;
4382    esac
4383    if depmode=$depmode \
4384       source=sub/conftest.c object=$am__obj \
4385       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4386       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4387         >/dev/null 2>conftest.err &&
4388       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4389       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4390       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4391       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4392      # icc doesn't choke on unknown options, it will just issue warnings
4393      # or remarks (even with -Werror).  So we grep stderr for any message
4394      # that says an option was ignored or not supported.
4395      # When given -MP, icc 7.0 and 7.1 complain thusly:
4396      #   icc: Command line warning: ignoring option '-M'; no argument required
4397      # The diagnosis changed in icc 8.0:
4398      #   icc: Command line remark: option '-MP' not supported
4399      if (grep 'ignoring option' conftest.err ||
4400          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4401        am_cv_CC_dependencies_compiler_type=$depmode
4402        break
4403      fi
4404    fi
4405  done
4406
4407  cd ..
4408  rm -rf conftest.dir
4409else
4410  am_cv_CC_dependencies_compiler_type=none
4411fi
4412
4413fi
4414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4415$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4416CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4417
4418 if
4419  test "x$enable_dependency_tracking" != xno \
4420  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4421  am__fastdepCC_TRUE=
4422  am__fastdepCC_FALSE='#'
4423else
4424  am__fastdepCC_TRUE='#'
4425  am__fastdepCC_FALSE=
4426fi
4427
4428
4429
4430cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431/* end confdefs.h.  */
4432#ifdef __NDS32_ISA_V3M__
4433warning: This is nds32_isa_v3m.
4434#endif
4435
4436int
4437main ()
4438{
4439
4440  ;
4441  return 0;
4442}
4443_ACEOF
4444if ac_fn_c_try_compile "$LINENO"; then :
4445  is_nds32_isa_v3m="no"
4446else
4447  is_nds32_isa_v3m="yes"
4448fi
4449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 if test "$is_nds32_isa_v3m" = "yes"; then
4451  IS_NDS32_ISA_V3M_TRUE=
4452  IS_NDS32_ISA_V3M_FALSE='#'
4453else
4454  IS_NDS32_ISA_V3M_TRUE='#'
4455  IS_NDS32_ISA_V3M_FALSE=
4456fi
4457
4458
4459
4460ac_config_files="$ac_config_files Makefile"
4461
4462cat >confcache <<\_ACEOF
4463# This file is a shell script that caches the results of configure
4464# tests run on this system so they can be shared between configure
4465# scripts and configure runs, see configure's option --config-cache.
4466# It is not useful on other systems.  If it contains results you don't
4467# want to keep, you may remove or edit it.
4468#
4469# config.status only pays attention to the cache file if you give it
4470# the --recheck option to rerun configure.
4471#
4472# `ac_cv_env_foo' variables (set or unset) will be overridden when
4473# loading this file, other *unset* `ac_cv_foo' will be assigned the
4474# following values.
4475
4476_ACEOF
4477
4478# The following way of writing the cache mishandles newlines in values,
4479# but we know of no workaround that is simple, portable, and efficient.
4480# So, we kill variables containing newlines.
4481# Ultrix sh set writes to stderr and can't be redirected directly,
4482# and sets the high bit in the cache file unless we assign to the vars.
4483(
4484  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4485    eval ac_val=\$$ac_var
4486    case $ac_val in #(
4487    *${as_nl}*)
4488      case $ac_var in #(
4489      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4490$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4491      esac
4492      case $ac_var in #(
4493      _ | IFS | as_nl) ;; #(
4494      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4495      *) { eval $ac_var=; unset $ac_var;} ;;
4496      esac ;;
4497    esac
4498  done
4499
4500  (set) 2>&1 |
4501    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4502    *${as_nl}ac_space=\ *)
4503      # `set' does not quote correctly, so add quotes: double-quote
4504      # substitution turns \\\\ into \\, and sed turns \\ into \.
4505      sed -n \
4506        "s/'/'\\\\''/g;
4507          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4508      ;; #(
4509    *)
4510      # `set' quotes correctly as required by POSIX, so do not add quotes.
4511      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4512      ;;
4513    esac |
4514    sort
4515) |
4516  sed '
4517     /^ac_cv_env_/b end
4518     t clear
4519     :clear
4520     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4521     t end
4522     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4523     :end' >>confcache
4524if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4525  if test -w "$cache_file"; then
4526    if test "x$cache_file" != "x/dev/null"; then
4527      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4528$as_echo "$as_me: updating cache $cache_file" >&6;}
4529      if test ! -f "$cache_file" || test -h "$cache_file"; then
4530        cat confcache >"$cache_file"
4531      else
4532        case $cache_file in #(
4533        */* | ?:*)
4534          mv -f confcache "$cache_file"$$ &&
4535          mv -f "$cache_file"$$ "$cache_file" ;; #(
4536        *)
4537          mv -f confcache "$cache_file" ;;
4538        esac
4539      fi
4540    fi
4541  else
4542    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4543$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4544  fi
4545fi
4546rm -f confcache
4547
4548test "x$prefix" = xNONE && prefix=$ac_default_prefix
4549# Let make expand exec_prefix.
4550test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4551
4552# Transform confdefs.h into DEFS.
4553# Protect against shell expansion while executing Makefile rules.
4554# Protect against Makefile macro expansion.
4555#
4556# If the first sed substitution is executed (which looks for macros that
4557# take arguments), then branch to the quote section.  Otherwise,
4558# look for a macro that doesn't take arguments.
4559ac_script='
4560:mline
4561/\\$/{
4562 N
4563 s,\\\n,,
4564 b mline
4565}
4566t clear
4567:clear
4568s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4569t quote
4570s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4571t quote
4572b any
4573:quote
4574s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4575s/\[/\\&/g
4576s/\]/\\&/g
4577s/\$/$$/g
4578H
4579:any
4580${
4581        g
4582        s/^\n//
4583        s/\n/ /g
4584        p
4585}
4586'
4587DEFS=`sed -n "$ac_script" confdefs.h`
4588
4589
4590ac_libobjs=
4591ac_ltlibobjs=
4592U=
4593for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4594  # 1. Remove the extension, and $U if already installed.
4595  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4596  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4597  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4598  #    will be set to the directory where LIBOBJS objects are built.
4599  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4600  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4601done
4602LIBOBJS=$ac_libobjs
4603
4604LTLIBOBJS=$ac_ltlibobjs
4605
4606
4607if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
4608  as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4609Usually this means the macro was only invoked conditionally." "$LINENO" 5
4610fi
4611 if test -n "$EXEEXT"; then
4612  am__EXEEXT_TRUE=
4613  am__EXEEXT_FALSE='#'
4614else
4615  am__EXEEXT_TRUE='#'
4616  am__EXEEXT_FALSE=
4617fi
4618
4619if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4620  as_fn_error $? "conditional \"AMDEP\" was never defined.
4621Usually this means the macro was only invoked conditionally." "$LINENO" 5
4622fi
4623if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4624  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4625Usually this means the macro was only invoked conditionally." "$LINENO" 5
4626fi
4627if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4628  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4629Usually this means the macro was only invoked conditionally." "$LINENO" 5
4630fi
4631if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
4632  as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
4633Usually this means the macro was only invoked conditionally." "$LINENO" 5
4634fi
4635if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
4636  as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
4637Usually this means the macro was only invoked conditionally." "$LINENO" 5
4638fi
4639if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
4640  as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
4641Usually this means the macro was only invoked conditionally." "$LINENO" 5
4642fi
4643if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
4644  as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
4645Usually this means the macro was only invoked conditionally." "$LINENO" 5
4646fi
4647if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
4648  as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
4649Usually this means the macro was only invoked conditionally." "$LINENO" 5
4650fi
4651if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
4652  as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
4653Usually this means the macro was only invoked conditionally." "$LINENO" 5
4654fi
4655if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4656  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4657Usually this means the macro was only invoked conditionally." "$LINENO" 5
4658fi
4659if test -z "${IS_NDS32_ISA_V3M_TRUE}" && test -z "${IS_NDS32_ISA_V3M_FALSE}"; then
4660  as_fn_error $? "conditional \"IS_NDS32_ISA_V3M\" was never defined.
4661Usually this means the macro was only invoked conditionally." "$LINENO" 5
4662fi
4663
4664: "${CONFIG_STATUS=./config.status}"
4665ac_write_fail=0
4666ac_clean_files_save=$ac_clean_files
4667ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4668{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4669$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4670as_write_fail=0
4671cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4672#! $SHELL
4673# Generated by $as_me.
4674# Run this file to recreate the current configuration.
4675# Compiler output produced by configure, useful for debugging
4676# configure, is in config.log if it exists.
4677
4678debug=false
4679ac_cs_recheck=false
4680ac_cs_silent=false
4681
4682SHELL=\${CONFIG_SHELL-$SHELL}
4683export SHELL
4684_ASEOF
4685cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4686## -------------------- ##
4687## M4sh Initialization. ##
4688## -------------------- ##
4689
4690# Be more Bourne compatible
4691DUALCASE=1; export DUALCASE # for MKS sh
4692if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4693  emulate sh
4694  NULLCMD=:
4695  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4696  # is contrary to our usage.  Disable this feature.
4697  alias -g '${1+"$@"}'='"$@"'
4698  setopt NO_GLOB_SUBST
4699else
4700  case `(set -o) 2>/dev/null` in #(
4701  *posix*) :
4702    set -o posix ;; #(
4703  *) :
4704     ;;
4705esac
4706fi
4707
4708
4709as_nl='
4710'
4711export as_nl
4712# Printing a long string crashes Solaris 7 /usr/bin/printf.
4713as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4714as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4715as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4716# Prefer a ksh shell builtin over an external printf program on Solaris,
4717# but without wasting forks for bash or zsh.
4718if test -z "$BASH_VERSION$ZSH_VERSION" \
4719    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4720  as_echo='print -r --'
4721  as_echo_n='print -rn --'
4722elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4723  as_echo='printf %s\n'
4724  as_echo_n='printf %s'
4725else
4726  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4727    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4728    as_echo_n='/usr/ucb/echo -n'
4729  else
4730    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4731    as_echo_n_body='eval
4732      arg=$1;
4733      case $arg in #(
4734      *"$as_nl"*)
4735        expr "X$arg" : "X\\(.*\\)$as_nl";
4736        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4737      esac;
4738      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4739    '
4740    export as_echo_n_body
4741    as_echo_n='sh -c $as_echo_n_body as_echo'
4742  fi
4743  export as_echo_body
4744  as_echo='sh -c $as_echo_body as_echo'
4745fi
4746
4747# The user is always right.
4748if test "${PATH_SEPARATOR+set}" != set; then
4749  PATH_SEPARATOR=:
4750  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4751    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4752      PATH_SEPARATOR=';'
4753  }
4754fi
4755
4756
4757# IFS
4758# We need space, tab and new line, in precisely that order.  Quoting is
4759# there to prevent editors from complaining about space-tab.
4760# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4761# splitting by setting IFS to empty value.)
4762IFS=" ""        $as_nl"
4763
4764# Find who we are.  Look in the path if we contain no directory separator.
4765as_myself=
4766case $0 in #((
4767  *[\\/]* ) as_myself=$0 ;;
4768  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769for as_dir in $PATH
4770do
4771  IFS=$as_save_IFS
4772  test -z "$as_dir" && as_dir=.
4773    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4774  done
4775IFS=$as_save_IFS
4776
4777     ;;
4778esac
4779# We did not find ourselves, most probably we were run as `sh COMMAND'
4780# in which case we are not to be found in the path.
4781if test "x$as_myself" = x; then
4782  as_myself=$0
4783fi
4784if test ! -f "$as_myself"; then
4785  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4786  exit 1
4787fi
4788
4789# Unset variables that we do not need and which cause bugs (e.g. in
4790# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4791# suppresses any "Segmentation fault" message there.  '((' could
4792# trigger a bug in pdksh 5.2.14.
4793for as_var in BASH_ENV ENV MAIL MAILPATH
4794do eval test x\${$as_var+set} = xset \
4795  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4796done
4797PS1='$ '
4798PS2='> '
4799PS4='+ '
4800
4801# NLS nuisances.
4802LC_ALL=C
4803export LC_ALL
4804LANGUAGE=C
4805export LANGUAGE
4806
4807# CDPATH.
4808(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4809
4810
4811# as_fn_error STATUS ERROR [LINENO LOG_FD]
4812# ----------------------------------------
4813# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4814# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4815# script with STATUS, using 1 if that was 0.
4816as_fn_error ()
4817{
4818  as_status=$1; test $as_status -eq 0 && as_status=1
4819  if test "$4"; then
4820    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4821    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4822  fi
4823  $as_echo "$as_me: error: $2" >&2
4824  as_fn_exit $as_status
4825} # as_fn_error
4826
4827
4828# as_fn_set_status STATUS
4829# -----------------------
4830# Set $? to STATUS, without forking.
4831as_fn_set_status ()
4832{
4833  return $1
4834} # as_fn_set_status
4835
4836# as_fn_exit STATUS
4837# -----------------
4838# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4839as_fn_exit ()
4840{
4841  set +e
4842  as_fn_set_status $1
4843  exit $1
4844} # as_fn_exit
4845
4846# as_fn_unset VAR
4847# ---------------
4848# Portably unset VAR.
4849as_fn_unset ()
4850{
4851  { eval $1=; unset $1;}
4852}
4853as_unset=as_fn_unset
4854# as_fn_append VAR VALUE
4855# ----------------------
4856# Append the text in VALUE to the end of the definition contained in VAR. Take
4857# advantage of any shell optimizations that allow amortized linear growth over
4858# repeated appends, instead of the typical quadratic growth present in naive
4859# implementations.
4860if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4861  eval 'as_fn_append ()
4862  {
4863    eval $1+=\$2
4864  }'
4865else
4866  as_fn_append ()
4867  {
4868    eval $1=\$$1\$2
4869  }
4870fi # as_fn_append
4871
4872# as_fn_arith ARG...
4873# ------------------
4874# Perform arithmetic evaluation on the ARGs, and store the result in the
4875# global $as_val. Take advantage of shells that can avoid forks. The arguments
4876# must be portable across $(()) and expr.
4877if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4878  eval 'as_fn_arith ()
4879  {
4880    as_val=$(( $* ))
4881  }'
4882else
4883  as_fn_arith ()
4884  {
4885    as_val=`expr "$@" || test $? -eq 1`
4886  }
4887fi # as_fn_arith
4888
4889
4890if expr a : '\(a\)' >/dev/null 2>&1 &&
4891   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4892  as_expr=expr
4893else
4894  as_expr=false
4895fi
4896
4897if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4898  as_basename=basename
4899else
4900  as_basename=false
4901fi
4902
4903if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4904  as_dirname=dirname
4905else
4906  as_dirname=false
4907fi
4908
4909as_me=`$as_basename -- "$0" ||
4910$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4911         X"$0" : 'X\(//\)$' \| \
4912         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4913$as_echo X/"$0" |
4914    sed '/^.*\/\([^/][^/]*\)\/*$/{
4915            s//\1/
4916            q
4917          }
4918          /^X\/\(\/\/\)$/{
4919            s//\1/
4920            q
4921          }
4922          /^X\/\(\/\).*/{
4923            s//\1/
4924            q
4925          }
4926          s/.*/./; q'`
4927
4928# Avoid depending upon Character Ranges.
4929as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4930as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4931as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4932as_cr_digits='0123456789'
4933as_cr_alnum=$as_cr_Letters$as_cr_digits
4934
4935ECHO_C= ECHO_N= ECHO_T=
4936case `echo -n x` in #(((((
4937-n*)
4938  case `echo 'xy\c'` in
4939  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4940  xy)  ECHO_C='\c';;
4941  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4942       ECHO_T=' ';;
4943  esac;;
4944*)
4945  ECHO_N='-n';;
4946esac
4947
4948rm -f conf$$ conf$$.exe conf$$.file
4949if test -d conf$$.dir; then
4950  rm -f conf$$.dir/conf$$.file
4951else
4952  rm -f conf$$.dir
4953  mkdir conf$$.dir 2>/dev/null
4954fi
4955if (echo >conf$$.file) 2>/dev/null; then
4956  if ln -s conf$$.file conf$$ 2>/dev/null; then
4957    as_ln_s='ln -s'
4958    # ... but there are two gotchas:
4959    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4960    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4961    # In both cases, we have to default to `cp -p'.
4962    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4963      as_ln_s='cp -p'
4964  elif ln conf$$.file conf$$ 2>/dev/null; then
4965    as_ln_s=ln
4966  else
4967    as_ln_s='cp -p'
4968  fi
4969else
4970  as_ln_s='cp -p'
4971fi
4972rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4973rmdir conf$$.dir 2>/dev/null
4974
4975
4976# as_fn_mkdir_p
4977# -------------
4978# Create "$as_dir" as a directory, including parents if necessary.
4979as_fn_mkdir_p ()
4980{
4981
4982  case $as_dir in #(
4983  -*) as_dir=./$as_dir;;
4984  esac
4985  test -d "$as_dir" || eval $as_mkdir_p || {
4986    as_dirs=
4987    while :; do
4988      case $as_dir in #(
4989      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4990      *) as_qdir=$as_dir;;
4991      esac
4992      as_dirs="'$as_qdir' $as_dirs"
4993      as_dir=`$as_dirname -- "$as_dir" ||
4994$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4995         X"$as_dir" : 'X\(//\)[^/]' \| \
4996         X"$as_dir" : 'X\(//\)$' \| \
4997         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4998$as_echo X"$as_dir" |
4999    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5000            s//\1/
5001            q
5002          }
5003          /^X\(\/\/\)[^/].*/{
5004            s//\1/
5005            q
5006          }
5007          /^X\(\/\/\)$/{
5008            s//\1/
5009            q
5010          }
5011          /^X\(\/\).*/{
5012            s//\1/
5013            q
5014          }
5015          s/.*/./; q'`
5016      test -d "$as_dir" && break
5017    done
5018    test -z "$as_dirs" || eval "mkdir $as_dirs"
5019  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5020
5021
5022} # as_fn_mkdir_p
5023if mkdir -p . 2>/dev/null; then
5024  as_mkdir_p='mkdir -p "$as_dir"'
5025else
5026  test -d ./-p && rmdir ./-p
5027  as_mkdir_p=false
5028fi
5029
5030if test -x / >/dev/null 2>&1; then
5031  as_test_x='test -x'
5032else
5033  if ls -dL / >/dev/null 2>&1; then
5034    as_ls_L_option=L
5035  else
5036    as_ls_L_option=
5037  fi
5038  as_test_x='
5039    eval sh -c '\''
5040      if test -d "$1"; then
5041        test -d "$1/.";
5042      else
5043        case $1 in #(
5044        -*)set "./$1";;
5045        esac;
5046        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5047        ???[sx]*):;;*)false;;esac;fi
5048    '\'' sh
5049  '
5050fi
5051as_executable_p=$as_test_x
5052
5053# Sed expression to map a string onto a valid CPP name.
5054as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5055
5056# Sed expression to map a string onto a valid variable name.
5057as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5058
5059
5060exec 6>&1
5061## ----------------------------------- ##
5062## Main body of $CONFIG_STATUS script. ##
5063## ----------------------------------- ##
5064_ASEOF
5065test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5066
5067cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5068# Save the log message, to keep $0 and so on meaningful, and to
5069# report actual input values of CONFIG_FILES etc. instead of their
5070# values after options handling.
5071ac_log="
5072This file was extended by newlib $as_me 3.0.0, which was
5073generated by GNU Autoconf 2.68.  Invocation command line was
5074
5075  CONFIG_FILES    = $CONFIG_FILES
5076  CONFIG_HEADERS  = $CONFIG_HEADERS
5077  CONFIG_LINKS    = $CONFIG_LINKS
5078  CONFIG_COMMANDS = $CONFIG_COMMANDS
5079  $ $0 $@
5080
5081on `(hostname || uname -n) 2>/dev/null | sed 1q`
5082"
5083
5084_ACEOF
5085
5086case $ac_config_files in *"
5087"*) set x $ac_config_files; shift; ac_config_files=$*;;
5088esac
5089
5090
5091
5092cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5093# Files that config.status was made for.
5094config_files="$ac_config_files"
5095config_commands="$ac_config_commands"
5096
5097_ACEOF
5098
5099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5100ac_cs_usage="\
5101\`$as_me' instantiates files and other configuration actions
5102from templates according to the current configuration.  Unless the files
5103and actions are specified as TAGs, all are instantiated by default.
5104
5105Usage: $0 [OPTION]... [TAG]...
5106
5107  -h, --help       print this help, then exit
5108  -V, --version    print version number and configuration settings, then exit
5109      --config     print configuration, then exit
5110  -q, --quiet, --silent
5111                   do not print progress messages
5112  -d, --debug      don't remove temporary files
5113      --recheck    update $as_me by reconfiguring in the same conditions
5114      --file=FILE[:TEMPLATE]
5115                   instantiate the configuration file FILE
5116
5117Configuration files:
5118$config_files
5119
5120Configuration commands:
5121$config_commands
5122
5123Report bugs to the package provider."
5124
5125_ACEOF
5126cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5127ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5128ac_cs_version="\\
5129newlib config.status 3.0.0
5130configured by $0, generated by GNU Autoconf 2.68,
5131  with options \\"\$ac_cs_config\\"
5132
5133Copyright (C) 2010 Free Software Foundation, Inc.
5134This config.status script is free software; the Free Software Foundation
5135gives unlimited permission to copy, distribute and modify it."
5136
5137ac_pwd='$ac_pwd'
5138srcdir='$srcdir'
5139INSTALL='$INSTALL'
5140MKDIR_P='$MKDIR_P'
5141AWK='$AWK'
5142test -n "\$AWK" || AWK=awk
5143_ACEOF
5144
5145cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5146# The default lists apply if the user does not specify any file.
5147ac_need_defaults=:
5148while test $# != 0
5149do
5150  case $1 in
5151  --*=?*)
5152    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5153    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5154    ac_shift=:
5155    ;;
5156  --*=)
5157    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5158    ac_optarg=
5159    ac_shift=:
5160    ;;
5161  *)
5162    ac_option=$1
5163    ac_optarg=$2
5164    ac_shift=shift
5165    ;;
5166  esac
5167
5168  case $ac_option in
5169  # Handling of the options.
5170  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5171    ac_cs_recheck=: ;;
5172  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5173    $as_echo "$ac_cs_version"; exit ;;
5174  --config | --confi | --conf | --con | --co | --c )
5175    $as_echo "$ac_cs_config"; exit ;;
5176  --debug | --debu | --deb | --de | --d | -d )
5177    debug=: ;;
5178  --file | --fil | --fi | --f )
5179    $ac_shift
5180    case $ac_optarg in
5181    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5182    '') as_fn_error $? "missing file argument" ;;
5183    esac
5184    as_fn_append CONFIG_FILES " '$ac_optarg'"
5185    ac_need_defaults=false;;
5186  --he | --h |  --help | --hel | -h )
5187    $as_echo "$ac_cs_usage"; exit ;;
5188  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5189  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5190    ac_cs_silent=: ;;
5191
5192  # This is an error.
5193  -*) as_fn_error $? "unrecognized option: \`$1'
5194Try \`$0 --help' for more information." ;;
5195
5196  *) as_fn_append ac_config_targets " $1"
5197     ac_need_defaults=false ;;
5198
5199  esac
5200  shift
5201done
5202
5203ac_configure_extra_args=
5204
5205if $ac_cs_silent; then
5206  exec 6>/dev/null
5207  ac_configure_extra_args="$ac_configure_extra_args --silent"
5208fi
5209
5210_ACEOF
5211cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5212if \$ac_cs_recheck; then
5213  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5214  shift
5215  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5216  CONFIG_SHELL='$SHELL'
5217  export CONFIG_SHELL
5218  exec "\$@"
5219fi
5220
5221_ACEOF
5222cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5223exec 5>>config.log
5224{
5225  echo
5226  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5227## Running $as_me. ##
5228_ASBOX
5229  $as_echo "$ac_log"
5230} >&5
5231
5232_ACEOF
5233cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5234#
5235# INIT-COMMANDS
5236#
5237AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5238
5239_ACEOF
5240
5241cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5242
5243# Handling of arguments.
5244for ac_config_target in $ac_config_targets
5245do
5246  case $ac_config_target in
5247    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5248    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5249
5250  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5251  esac
5252done
5253
5254
5255# If the user did not use the arguments to specify the items to instantiate,
5256# then the envvar interface is used.  Set only those that are not.
5257# We use the long form for the default assignment because of an extremely
5258# bizarre bug on SunOS 4.1.3.
5259if $ac_need_defaults; then
5260  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5261  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5262fi
5263
5264# Have a temporary directory for convenience.  Make it in the build tree
5265# simply because there is no reason against having it here, and in addition,
5266# creating and moving files from /tmp can sometimes cause problems.
5267# Hook for its removal unless debugging.
5268# Note that there is a small window in which the directory will not be cleaned:
5269# after its creation but before its name has been assigned to `$tmp'.
5270$debug ||
5271{
5272  tmp= ac_tmp=
5273  trap 'exit_status=$?
5274  : "${ac_tmp:=$tmp}"
5275  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5276' 0
5277  trap 'as_fn_exit 1' 1 2 13 15
5278}
5279# Create a (secure) tmp directory for tmp files.
5280
5281{
5282  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5283  test -d "$tmp"
5284}  ||
5285{
5286  tmp=./conf$$-$RANDOM
5287  (umask 077 && mkdir "$tmp")
5288} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5289ac_tmp=$tmp
5290
5291# Set up the scripts for CONFIG_FILES section.
5292# No need to generate them if there are no CONFIG_FILES.
5293# This happens for instance with `./config.status config.h'.
5294if test -n "$CONFIG_FILES"; then
5295
5296
5297ac_cr=`echo X | tr X '\015'`
5298# On cygwin, bash can eat \r inside `` if the user requested igncr.
5299# But we know of no other shell where ac_cr would be empty at this
5300# point, so we can use a bashism as a fallback.
5301if test "x$ac_cr" = x; then
5302  eval ac_cr=\$\'\\r\'
5303fi
5304ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5305if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5306  ac_cs_awk_cr='\\r'
5307else
5308  ac_cs_awk_cr=$ac_cr
5309fi
5310
5311echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5312_ACEOF
5313
5314
5315{
5316  echo "cat >conf$$subs.awk <<_ACEOF" &&
5317  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5318  echo "_ACEOF"
5319} >conf$$subs.sh ||
5320  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5321ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5322ac_delim='%!_!# '
5323for ac_last_try in false false false false false :; do
5324  . ./conf$$subs.sh ||
5325    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5326
5327  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5328  if test $ac_delim_n = $ac_delim_num; then
5329    break
5330  elif $ac_last_try; then
5331    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5332  else
5333    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5334  fi
5335done
5336rm -f conf$$subs.sh
5337
5338cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5339cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5340_ACEOF
5341sed -n '
5342h
5343s/^/S["/; s/!.*/"]=/
5344p
5345g
5346s/^[^!]*!//
5347:repl
5348t repl
5349s/'"$ac_delim"'$//
5350t delim
5351:nl
5352h
5353s/\(.\{148\}\)..*/\1/
5354t more1
5355s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5356p
5357n
5358b repl
5359:more1
5360s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5361p
5362g
5363s/.\{148\}//
5364t nl
5365:delim
5366h
5367s/\(.\{148\}\)..*/\1/
5368t more2
5369s/["\\]/\\&/g; s/^/"/; s/$/"/
5370p
5371b
5372:more2
5373s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5374p
5375g
5376s/.\{148\}//
5377t delim
5378' <conf$$subs.awk | sed '
5379/^[^""]/{
5380  N
5381  s/\n//
5382}
5383' >>$CONFIG_STATUS || ac_write_fail=1
5384rm -f conf$$subs.awk
5385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5386_ACAWK
5387cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5388  for (key in S) S_is_set[key] = 1
5389  FS = ""
5390
5391}
5392{
5393  line = $ 0
5394  nfields = split(line, field, "@")
5395  substed = 0
5396  len = length(field[1])
5397  for (i = 2; i < nfields; i++) {
5398    key = field[i]
5399    keylen = length(key)
5400    if (S_is_set[key]) {
5401      value = S[key]
5402      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5403      len += length(value) + length(field[++i])
5404      substed = 1
5405    } else
5406      len += 1 + keylen
5407  }
5408
5409  print line
5410}
5411
5412_ACAWK
5413_ACEOF
5414cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5415if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5416  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5417else
5418  cat
5419fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5420  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5421_ACEOF
5422
5423# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5424# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5425# trailing colons and then remove the whole line if VPATH becomes empty
5426# (actually we leave an empty line to preserve line numbers).
5427if test "x$srcdir" = x.; then
5428  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5429h
5430s///
5431s/^/:/
5432s/[      ]*$/:/
5433s/:\$(srcdir):/:/g
5434s/:\${srcdir}:/:/g
5435s/:@srcdir@:/:/g
5436s/^:*//
5437s/:*$//
5438x
5439s/\(=[   ]*\).*/\1/
5440G
5441s/\n//
5442s/^[^=]*=[       ]*$//
5443}'
5444fi
5445
5446cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5447fi # test -n "$CONFIG_FILES"
5448
5449
5450eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5451shift
5452for ac_tag
5453do
5454  case $ac_tag in
5455  :[FHLC]) ac_mode=$ac_tag; continue;;
5456  esac
5457  case $ac_mode$ac_tag in
5458  :[FHL]*:*);;
5459  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5460  :[FH]-) ac_tag=-:-;;
5461  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5462  esac
5463  ac_save_IFS=$IFS
5464  IFS=:
5465  set x $ac_tag
5466  IFS=$ac_save_IFS
5467  shift
5468  ac_file=$1
5469  shift
5470
5471  case $ac_mode in
5472  :L) ac_source=$1;;
5473  :[FH])
5474    ac_file_inputs=
5475    for ac_f
5476    do
5477      case $ac_f in
5478      -) ac_f="$ac_tmp/stdin";;
5479      *) # Look for the file first in the build tree, then in the source tree
5480         # (if the path is not absolute).  The absolute path cannot be DOS-style,
5481         # because $ac_f cannot contain `:'.
5482         test -f "$ac_f" ||
5483           case $ac_f in
5484           [\\/$]*) false;;
5485           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5486           esac ||
5487           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5488      esac
5489      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5490      as_fn_append ac_file_inputs " '$ac_f'"
5491    done
5492
5493    # Let's still pretend it is `configure' which instantiates (i.e., don't
5494    # use $as_me), people would be surprised to read:
5495    #    /* config.h.  Generated by config.status.  */
5496    configure_input='Generated from '`
5497          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5498        `' by configure.'
5499    if test x"$ac_file" != x-; then
5500      configure_input="$ac_file.  $configure_input"
5501      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5502$as_echo "$as_me: creating $ac_file" >&6;}
5503    fi
5504    # Neutralize special characters interpreted by sed in replacement strings.
5505    case $configure_input in #(
5506    *\&* | *\|* | *\\* )
5507       ac_sed_conf_input=`$as_echo "$configure_input" |
5508       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5509    *) ac_sed_conf_input=$configure_input;;
5510    esac
5511
5512    case $ac_tag in
5513    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5514      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5515    esac
5516    ;;
5517  esac
5518
5519  ac_dir=`$as_dirname -- "$ac_file" ||
5520$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5521         X"$ac_file" : 'X\(//\)[^/]' \| \
5522         X"$ac_file" : 'X\(//\)$' \| \
5523         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5524$as_echo X"$ac_file" |
5525    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5526            s//\1/
5527            q
5528          }
5529          /^X\(\/\/\)[^/].*/{
5530            s//\1/
5531            q
5532          }
5533          /^X\(\/\/\)$/{
5534            s//\1/
5535            q
5536          }
5537          /^X\(\/\).*/{
5538            s//\1/
5539            q
5540          }
5541          s/.*/./; q'`
5542  as_dir="$ac_dir"; as_fn_mkdir_p
5543  ac_builddir=.
5544
5545case "$ac_dir" in
5546.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5547*)
5548  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5549  # A ".." for each directory in $ac_dir_suffix.
5550  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5551  case $ac_top_builddir_sub in
5552  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5553  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5554  esac ;;
5555esac
5556ac_abs_top_builddir=$ac_pwd
5557ac_abs_builddir=$ac_pwd$ac_dir_suffix
5558# for backward compatibility:
5559ac_top_builddir=$ac_top_build_prefix
5560
5561case $srcdir in
5562  .)  # We are building in place.
5563    ac_srcdir=.
5564    ac_top_srcdir=$ac_top_builddir_sub
5565    ac_abs_top_srcdir=$ac_pwd ;;
5566  [\\/]* | ?:[\\/]* )  # Absolute name.
5567    ac_srcdir=$srcdir$ac_dir_suffix;
5568    ac_top_srcdir=$srcdir
5569    ac_abs_top_srcdir=$srcdir ;;
5570  *) # Relative name.
5571    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5572    ac_top_srcdir=$ac_top_build_prefix$srcdir
5573    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5574esac
5575ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5576
5577
5578  case $ac_mode in
5579  :F)
5580  #
5581  # CONFIG_FILE
5582  #
5583
5584  case $INSTALL in
5585  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5586  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5587  esac
5588  ac_MKDIR_P=$MKDIR_P
5589  case $MKDIR_P in
5590  [\\/$]* | ?:[\\/]* ) ;;
5591  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5592  esac
5593_ACEOF
5594
5595cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5596# If the template does not know about datarootdir, expand it.
5597# FIXME: This hack should be removed a few years after 2.60.
5598ac_datarootdir_hack=; ac_datarootdir_seen=
5599ac_sed_dataroot='
5600/datarootdir/ {
5601  p
5602  q
5603}
5604/@datadir@/p
5605/@docdir@/p
5606/@infodir@/p
5607/@localedir@/p
5608/@mandir@/p'
5609case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5610*datarootdir*) ac_datarootdir_seen=yes;;
5611*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5612  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5613$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5614_ACEOF
5615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5616  ac_datarootdir_hack='
5617  s&@datadir@&$datadir&g
5618  s&@docdir@&$docdir&g
5619  s&@infodir@&$infodir&g
5620  s&@localedir@&$localedir&g
5621  s&@mandir@&$mandir&g
5622  s&\\\${datarootdir}&$datarootdir&g' ;;
5623esac
5624_ACEOF
5625
5626# Neutralize VPATH when `$srcdir' = `.'.
5627# Shell code in configure.ac might set extrasub.
5628# FIXME: do we really want to maintain this feature?
5629cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5630ac_sed_extra="$ac_vpsub
5631$extrasub
5632_ACEOF
5633cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5634:t
5635/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5636s|@configure_input@|$ac_sed_conf_input|;t t
5637s&@top_builddir@&$ac_top_builddir_sub&;t t
5638s&@top_build_prefix@&$ac_top_build_prefix&;t t
5639s&@srcdir@&$ac_srcdir&;t t
5640s&@abs_srcdir@&$ac_abs_srcdir&;t t
5641s&@top_srcdir@&$ac_top_srcdir&;t t
5642s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5643s&@builddir@&$ac_builddir&;t t
5644s&@abs_builddir@&$ac_abs_builddir&;t t
5645s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5646s&@INSTALL@&$ac_INSTALL&;t t
5647s&@MKDIR_P@&$ac_MKDIR_P&;t t
5648$ac_datarootdir_hack
5649"
5650eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5651  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5652
5653test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5654  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5655  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5656      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5657  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5658which seems to be undefined.  Please make sure it is defined" >&5
5659$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5660which seems to be undefined.  Please make sure it is defined" >&2;}
5661
5662  rm -f "$ac_tmp/stdin"
5663  case $ac_file in
5664  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5665  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5666  esac \
5667  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5668 ;;
5669
5670
5671  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5672$as_echo "$as_me: executing $ac_file commands" >&6;}
5673 ;;
5674  esac
5675
5676
5677  case $ac_file$ac_mode in
5678    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5679  # Autoconf 2.62 quotes --file arguments for eval, but not when files
5680  # are listed without --file.  Let's play safe and only enable the eval
5681  # if we detect the quoting.
5682  case $CONFIG_FILES in
5683  *\'*) eval set x "$CONFIG_FILES" ;;
5684  *)   set x $CONFIG_FILES ;;
5685  esac
5686  shift
5687  for mf
5688  do
5689    # Strip MF so we end up with the name of the file.
5690    mf=`echo "$mf" | sed -e 's/:.*$//'`
5691    # Check whether this is an Automake generated Makefile or not.
5692    # We used to match only the files named `Makefile.in', but
5693    # some people rename them; so instead we look at the file content.
5694    # Grep'ing the first line is not enough: some people post-process
5695    # each Makefile.in and add a new line on top of each file to say so.
5696    # Grep'ing the whole file is not good either: AIX grep has a line
5697    # limit of 2048, but all sed's we know have understand at least 4000.
5698    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5699      dirpart=`$as_dirname -- "$mf" ||
5700$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5701         X"$mf" : 'X\(//\)[^/]' \| \
5702         X"$mf" : 'X\(//\)$' \| \
5703         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5704$as_echo X"$mf" |
5705    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5706            s//\1/
5707            q
5708          }
5709          /^X\(\/\/\)[^/].*/{
5710            s//\1/
5711            q
5712          }
5713          /^X\(\/\/\)$/{
5714            s//\1/
5715            q
5716          }
5717          /^X\(\/\).*/{
5718            s//\1/
5719            q
5720          }
5721          s/.*/./; q'`
5722    else
5723      continue
5724    fi
5725    # Extract the definition of DEPDIR, am__include, and am__quote
5726    # from the Makefile without running `make'.
5727    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5728    test -z "$DEPDIR" && continue
5729    am__include=`sed -n 's/^am__include = //p' < "$mf"`
5730    test -z "am__include" && continue
5731    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5732    # When using ansi2knr, U may be empty or an underscore; expand it
5733    U=`sed -n 's/^U = //p' < "$mf"`
5734    # Find all dependency output files, they are included files with
5735    # $(DEPDIR) in their names.  We invoke sed twice because it is the
5736    # simplest approach to changing $(DEPDIR) to its actual value in the
5737    # expansion.
5738    for file in `sed -n "
5739      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5740         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5741      # Make sure the directory exists.
5742      test -f "$dirpart/$file" && continue
5743      fdir=`$as_dirname -- "$file" ||
5744$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5745         X"$file" : 'X\(//\)[^/]' \| \
5746         X"$file" : 'X\(//\)$' \| \
5747         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5748$as_echo X"$file" |
5749    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5750            s//\1/
5751            q
5752          }
5753          /^X\(\/\/\)[^/].*/{
5754            s//\1/
5755            q
5756          }
5757          /^X\(\/\/\)$/{
5758            s//\1/
5759            q
5760          }
5761          /^X\(\/\).*/{
5762            s//\1/
5763            q
5764          }
5765          s/.*/./; q'`
5766      as_dir=$dirpart/$fdir; as_fn_mkdir_p
5767      # echo "creating $dirpart/$file"
5768      echo '# dummy' > "$dirpart/$file"
5769    done
5770  done
5771}
5772 ;;
5773
5774  esac
5775done # for ac_tag
5776
5777
5778as_fn_exit 0
5779_ACEOF
5780ac_clean_files=$ac_clean_files_save
5781
5782test $ac_write_fail = 0 ||
5783  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5784
5785
5786# configure is writing to config.log, and then calls config.status.
5787# config.status does its own redirection, appending to config.log.
5788# Unfortunately, on DOS this fails, as config.log is still kept open
5789# by configure, so config.status won't be able to write to it; its
5790# output is simply discarded.  So we exec the FD to /dev/null,
5791# effectively closing config.log, so it can be properly (re)opened and
5792# appended to by config.status.  When coming back to configure, we
5793# need to make the FD available again.
5794if test "$no_create" != yes; then
5795  ac_cs_success=:
5796  ac_config_status_args=
5797  test "$silent" = yes &&
5798    ac_config_status_args="$ac_config_status_args --quiet"
5799  exec 5>/dev/null
5800  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5801  exec 5>>config.log
5802  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5803  # would make configure fail if this is the last instruction.
5804  $ac_cs_success || as_fn_exit 1
5805fi
5806if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5807  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5808$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5809fi
5810
Note: See TracBrowser for help on using the repository browser.