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