2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for newlib 1.15.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='newlib'
269 PACKAGE_TARNAME='newlib'
270 PACKAGE_VERSION='1.15.0'
271 PACKAGE_STRING='newlib 1.15.0'
274 ac_unique_file="libc"
275 ac_subdirs_all="$ac_subdirs_all libc"
276 ac_subdirs_all="$ac_subdirs_all libm"
277 ac_subdirs_all="$ac_subdirs_all doc"
278 ac_subdirs_all="$ac_subdirs_all iconvdata"
279 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT LN_S LIBTOOL NEWLIB_HW_FP_TRUE NEWLIB_HW_FP_FALSE CC_FOR_NEWLIB subdirs HAVE_DOC_TRUE HAVE_DOC_FALSE EXTRA_DIRS CRT0 CRT0_DIR CRT1 CRT1_DIR LIBM_MACHINE_OBJECTLIST MACHINE_OBJECTLIST SYS_OBJECTLIST SYS_MACH_OBJECTLIST POSIX_OBJECTLIST SIGNAL_OBJECTLIST SYSCALL_OBJECTLIST UNIX_OBJECTLIST STDIO64_OBJECTLIST CC_FOR_BUILD libc_cv_initfinit_array libc_cv_array_aliasing LIBOBJS LTLIBOBJS'
282 # Initialize some variables set by options.
284 ac_init_version=false
285 # The variables have the same names as the options, with
286 # dashes changed to underlines.
294 program_transform_name=s,x,x,
302 # Installation directory options.
303 # These are left unexpanded so users can "make install exec_prefix=/foo"
304 # and all the variables that are supposed to be based on exec_prefix
305 # by default will actually change.
306 # Use braces instead of parens because sh, perl, etc. also accept them.
307 bindir='${exec_prefix}/bin'
308 sbindir='${exec_prefix}/sbin'
309 libexecdir='${exec_prefix}/libexec'
310 datadir='${prefix}/share'
311 sysconfdir='${prefix}/etc'
312 sharedstatedir='${prefix}/com'
313 localstatedir='${prefix}/var'
314 libdir='${exec_prefix}/lib'
315 includedir='${prefix}/include'
316 oldincludedir='/usr/include'
317 infodir='${prefix}/info'
318 mandir='${prefix}/man'
323 # If the previous option needs an argument, assign it.
324 if test -n "$ac_prev"; then
325 eval "$ac_prev=\$ac_option"
330 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
332 # Accept the important Cygnus configure options, so we can diagnose typos.
336 -bindir | --bindir | --bindi | --bind | --bin | --bi)
338 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
341 -build | --build | --buil | --bui | --bu)
342 ac_prev=build_alias ;;
343 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
344 build_alias=$ac_optarg ;;
346 -cache-file | --cache-file | --cache-fil | --cache-fi \
347 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
348 ac_prev=cache_file ;;
349 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
350 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
351 cache_file=$ac_optarg ;;
354 cache_file=config.cache ;;
356 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
358 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
360 datadir=$ac_optarg ;;
362 -disable-* | --disable-*)
363 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
364 # Reject names that are not valid shell variable names.
365 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
366 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
367 { (exit 1); exit 1; }; }
368 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
369 eval "enable_$ac_feature=no" ;;
371 -enable-* | --enable-*)
372 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
373 # Reject names that are not valid shell variable names.
374 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
375 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
376 { (exit 1); exit 1; }; }
377 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
379 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
382 eval "enable_$ac_feature='$ac_optarg'" ;;
384 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
385 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
386 | --exec | --exe | --ex)
387 ac_prev=exec_prefix ;;
388 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
389 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
390 | --exec=* | --exe=* | --ex=*)
391 exec_prefix=$ac_optarg ;;
393 -gas | --gas | --ga | --g)
394 # Obsolete; use --with-gas.
397 -help | --help | --hel | --he | -h)
399 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
400 ac_init_help=recursive ;;
401 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
402 ac_init_help=short ;;
404 -host | --host | --hos | --ho)
405 ac_prev=host_alias ;;
406 -host=* | --host=* | --hos=* | --ho=*)
407 host_alias=$ac_optarg ;;
409 -includedir | --includedir | --includedi | --included | --include \
410 | --includ | --inclu | --incl | --inc)
411 ac_prev=includedir ;;
412 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
413 | --includ=* | --inclu=* | --incl=* | --inc=*)
414 includedir=$ac_optarg ;;
416 -infodir | --infodir | --infodi | --infod | --info | --inf)
418 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
419 infodir=$ac_optarg ;;
421 -libdir | --libdir | --libdi | --libd)
423 -libdir=* | --libdir=* | --libdi=* | --libd=*)
426 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
427 | --libexe | --libex | --libe)
428 ac_prev=libexecdir ;;
429 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
430 | --libexe=* | --libex=* | --libe=*)
431 libexecdir=$ac_optarg ;;
433 -localstatedir | --localstatedir | --localstatedi | --localstated \
434 | --localstate | --localstat | --localsta | --localst \
435 | --locals | --local | --loca | --loc | --lo)
436 ac_prev=localstatedir ;;
437 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
438 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
439 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
440 localstatedir=$ac_optarg ;;
442 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
444 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
448 # Obsolete; use --without-fp.
451 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
452 | --no-cr | --no-c | -n)
455 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
456 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
459 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
460 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
461 | --oldin | --oldi | --old | --ol | --o)
462 ac_prev=oldincludedir ;;
463 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
464 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
465 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
466 oldincludedir=$ac_optarg ;;
468 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
470 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
473 -program-prefix | --program-prefix | --program-prefi | --program-pref \
474 | --program-pre | --program-pr | --program-p)
475 ac_prev=program_prefix ;;
476 -program-prefix=* | --program-prefix=* | --program-prefi=* \
477 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
478 program_prefix=$ac_optarg ;;
480 -program-suffix | --program-suffix | --program-suffi | --program-suff \
481 | --program-suf | --program-su | --program-s)
482 ac_prev=program_suffix ;;
483 -program-suffix=* | --program-suffix=* | --program-suffi=* \
484 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
485 program_suffix=$ac_optarg ;;
487 -program-transform-name | --program-transform-name \
488 | --program-transform-nam | --program-transform-na \
489 | --program-transform-n | --program-transform- \
490 | --program-transform | --program-transfor \
491 | --program-transfo | --program-transf \
492 | --program-trans | --program-tran \
493 | --progr-tra | --program-tr | --program-t)
494 ac_prev=program_transform_name ;;
495 -program-transform-name=* | --program-transform-name=* \
496 | --program-transform-nam=* | --program-transform-na=* \
497 | --program-transform-n=* | --program-transform-=* \
498 | --program-transform=* | --program-transfor=* \
499 | --program-transfo=* | --program-transf=* \
500 | --program-trans=* | --program-tran=* \
501 | --progr-tra=* | --program-tr=* | --program-t=*)
502 program_transform_name=$ac_optarg ;;
504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
505 | -silent | --silent | --silen | --sile | --sil)
508 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
510 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
512 sbindir=$ac_optarg ;;
514 -sharedstatedir | --sharedstatedir | --sharedstatedi \
515 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
516 | --sharedst | --shareds | --shared | --share | --shar \
518 ac_prev=sharedstatedir ;;
519 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
520 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
521 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
523 sharedstatedir=$ac_optarg ;;
525 -site | --site | --sit)
527 -site=* | --site=* | --sit=*)
530 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
532 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
535 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
536 | --syscon | --sysco | --sysc | --sys | --sy)
537 ac_prev=sysconfdir ;;
538 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
539 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
540 sysconfdir=$ac_optarg ;;
542 -target | --target | --targe | --targ | --tar | --ta | --t)
543 ac_prev=target_alias ;;
544 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
545 target_alias=$ac_optarg ;;
547 -v | -verbose | --verbose | --verbos | --verbo | --verb)
550 -version | --version | --versio | --versi | --vers | -V)
554 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid package name: $ac_package" >&2
558 { (exit 1); exit 1; }; }
559 ac_package=`echo $ac_package| sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "with_$ac_package='$ac_optarg'" ;;
566 -without-* | --without-*)
567 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
568 # Reject names that are not valid shell variable names.
569 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
570 { echo "$as_me: error: invalid package name: $ac_package" >&2
571 { (exit 1); exit 1; }; }
572 ac_package=`echo $ac_package | sed 's/-/_/g'`
573 eval "with_$ac_package=no" ;;
576 # Obsolete; use --with-x.
579 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
580 | --x-incl | --x-inc | --x-in | --x-i)
581 ac_prev=x_includes ;;
582 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
583 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
584 x_includes=$ac_optarg ;;
586 -x-libraries | --x-libraries | --x-librarie | --x-librari \
587 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
588 ac_prev=x_libraries ;;
589 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
590 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
591 x_libraries=$ac_optarg ;;
593 -*) { echo "$as_me: error: unrecognized option: $ac_option
594 Try \`$0 --help' for more information." >&2
595 { (exit 1); exit 1; }; }
599 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
603 { (exit 1); exit 1; }; }
604 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
605 eval "$ac_envvar='$ac_optarg'"
609 # FIXME: should be removed in autoconf 3.0.
610 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
611 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
612 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
613 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
619 if test -n "$ac_prev"; then
620 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
621 { echo "$as_me: error: missing argument to $ac_option" >&2
622 { (exit 1); exit 1; }; }
625 # Be sure to have absolute paths.
626 for ac_var in exec_prefix prefix
628 eval ac_val=$`echo $ac_var`
630 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
631 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
632 { (exit 1); exit 1; }; };;
636 # Be sure to have absolute paths.
637 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
638 localstatedir libdir includedir oldincludedir infodir mandir
640 eval ac_val=$`echo $ac_var`
642 [\\/$]* | ?:[\\/]* ) ;;
643 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
644 { (exit 1); exit 1; }; };;
648 # There might be people who depend on the old broken behavior: `$host'
649 # used to hold the argument of --host etc.
650 # FIXME: To remove some day.
655 # FIXME: To remove some day.
656 if test "x$host_alias" != x; then
657 if test "x$build_alias" = x; then
658 cross_compiling=maybe
659 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
660 If a cross compiler is detected then cross compile mode will be used." >&2
661 elif test "x$build_alias" != "x$host_alias"; then
667 test -n "$host_alias" && ac_tool_prefix=$host_alias-
669 test "$silent" = yes && exec 6>/dev/null
672 # Find the source files, if location was not specified.
673 if test -z "$srcdir"; then
674 ac_srcdir_defaulted=yes
675 # Try the directory containing this script, then its parent.
676 ac_confdir=`(dirname "$0") 2>/dev/null ||
677 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
678 X"$0" : 'X\(//\)[^/]' \| \
679 X"$0" : 'X\(//\)$' \| \
680 X"$0" : 'X\(/\)' \| \
681 . : '\(.\)' 2>/dev/null ||
683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
685 /^X\(\/\/\)$/{ s//\1/; q; }
686 /^X\(\/\).*/{ s//\1/; q; }
689 if test ! -r $srcdir/$ac_unique_file; then
693 ac_srcdir_defaulted=no
695 if test ! -r $srcdir/$ac_unique_file; then
696 if test "$ac_srcdir_defaulted" = yes; then
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
698 { (exit 1); exit 1; }; }
700 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
701 { (exit 1); exit 1; }; }
704 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
705 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
706 { (exit 1); exit 1; }; }
707 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
708 ac_env_build_alias_set=${build_alias+set}
709 ac_env_build_alias_value=$build_alias
710 ac_cv_env_build_alias_set=${build_alias+set}
711 ac_cv_env_build_alias_value=$build_alias
712 ac_env_host_alias_set=${host_alias+set}
713 ac_env_host_alias_value=$host_alias
714 ac_cv_env_host_alias_set=${host_alias+set}
715 ac_cv_env_host_alias_value=$host_alias
716 ac_env_target_alias_set=${target_alias+set}
717 ac_env_target_alias_value=$target_alias
718 ac_cv_env_target_alias_set=${target_alias+set}
719 ac_cv_env_target_alias_value=$target_alias
720 ac_env_CCAS_set=${CCAS+set}
721 ac_env_CCAS_value=$CCAS
722 ac_cv_env_CCAS_set=${CCAS+set}
723 ac_cv_env_CCAS_value=$CCAS
724 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
725 ac_env_CCASFLAGS_value=$CCASFLAGS
726 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
727 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
728 ac_env_CC_set=${CC+set}
730 ac_cv_env_CC_set=${CC+set}
731 ac_cv_env_CC_value=$CC
732 ac_env_CFLAGS_set=${CFLAGS+set}
733 ac_env_CFLAGS_value=$CFLAGS
734 ac_cv_env_CFLAGS_set=${CFLAGS+set}
735 ac_cv_env_CFLAGS_value=$CFLAGS
736 ac_env_LDFLAGS_set=${LDFLAGS+set}
737 ac_env_LDFLAGS_value=$LDFLAGS
738 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
739 ac_cv_env_LDFLAGS_value=$LDFLAGS
740 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
741 ac_env_CPPFLAGS_value=$CPPFLAGS
742 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
743 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
746 # Report the --help message.
748 if test "$ac_init_help" = "long"; then
749 # Omit some internal or obsolete options to make the list less imposing.
750 # This message is too long to be a string in the A/UX 3.1 sh.
752 \`configure' configures newlib 1.15.0 to adapt to many kinds of systems.
754 Usage: $0 [OPTION]... [VAR=VALUE]...
756 To assign environment variables (e.g., CC, CFLAGS...), specify them as
757 VAR=VALUE. See below for descriptions of some of the useful variables.
759 Defaults for the options are specified in brackets.
762 -h, --help display this help and exit
763 --help=short display options specific to this package
764 --help=recursive display the short help of all the included packages
765 -V, --version display version information and exit
766 -q, --quiet, --silent do not print \`checking...' messages
767 --cache-file=FILE cache test results in FILE [disabled]
768 -C, --config-cache alias for \`--cache-file=config.cache'
769 -n, --no-create do not create output files
770 --srcdir=DIR find the sources in DIR [configure dir or \`..']
775 Installation directories:
776 --prefix=PREFIX install architecture-independent files in PREFIX
778 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
781 By default, \`make install' will install all the files in
782 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
783 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
784 for instance \`--prefix=\$HOME'.
786 For better control, use the options below.
788 Fine tuning of the installation directories:
789 --bindir=DIR user executables [EPREFIX/bin]
790 --sbindir=DIR system admin executables [EPREFIX/sbin]
791 --libexecdir=DIR program executables [EPREFIX/libexec]
792 --datadir=DIR read-only architecture-independent data [PREFIX/share]
793 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
794 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
795 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
796 --libdir=DIR object code libraries [EPREFIX/lib]
797 --includedir=DIR C header files [PREFIX/include]
798 --oldincludedir=DIR C header files for non-gcc [/usr/include]
799 --infodir=DIR info documentation [PREFIX/info]
800 --mandir=DIR man documentation [PREFIX/man]
806 --program-prefix=PREFIX prepend PREFIX to installed program names
807 --program-suffix=SUFFIX append SUFFIX to installed program names
808 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
811 --build=BUILD configure for building on BUILD [guessed]
812 --host=HOST cross-compile to build programs to run on HOST [BUILD]
816 if test -n "$ac_init_help"; then
817 case $ac_init_help in
818 short | recursive ) echo "Configuration of newlib 1.15.0:";;
823 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
824 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
825 --enable-newlib-io-pos-args enable printf-family positional arg support
826 --enable-newlib-io-c99-formats enable C99 support in IO functions like printf/scanf
827 --enable-newlib-io-long-long enable long long type support in IO functions like printf/scanf
828 --enable-newlib-io-long-double enable long double type support in IO functions printf/scanf
829 --enable-newlib-mb enable multibyte support
830 --enable-newlib-iconv-encodings enable specific comma-separated list of bidirectional iconv encodings to be built-in
831 --enable-newlib-iconv-from-encodings enable specific comma-separated list of \"from\" iconv encodings to be built-in
832 --enable-newlib-iconv-to-encodings enable specific comma-separated list of \"to\" iconv encodings to be built-in
833 --enable-newlib-iconv-external-ccs enable capabilities to load external CCS files for iconv
834 --disable-newlib-atexit-alloc disable dynamic allocation of atexit entries
835 --enable-newlib-reent-small enable small reentrant struct support
836 --enable-multilib build many library versions (default)
837 --enable-target-optspace optimize for space
838 --enable-malloc-debugging indicate malloc debugging requested
839 --enable-newlib-multithread enable support for multiple threads
840 --enable-newlib-iconv enable iconv library support
841 --enable-newlib-elix-level supply desired elix library level (1-4)
842 --disable-newlib-io-float disable printf/scanf family float support
843 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
844 --disable-dependency-tracking speeds up one-time build
845 --enable-dependency-tracking do not reject slow dependency extractors
846 --enable-maintainer-mode enable make rules and dependencies not useful
847 (and sometimes confusing) to the casual installer
848 --enable-shared=PKGS build shared libraries default=yes
849 --enable-static=PKGS build static libraries default=yes
850 --enable-fast-install=PKGS optimize for fast installation default=yes
851 --disable-libtool-lock avoid locking (might break parallel builds)
852 --enable-newlib-hw-fp Turn on hardware floating point math
855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857 --with-gnu-ld assume the C compiler uses GNU ld default=no
858 --with-pic try to use only PIC/non-PIC objects default=use both
860 Some influential environment variables:
861 CCAS assembler compiler command (defaults to CC)
862 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
863 CC C compiler command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
866 nonstandard directory <lib dir>
867 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
868 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
968 newlib configure 1.15.0
969 generated by GNU Autoconf 2.59
971 Copyright (C) 2003 Free Software Foundation, Inc.
972 This configure script is free software; the Free Software Foundation
973 gives unlimited permission to copy, distribute and modify it.
979 This file contains any messages produced by compilers while
980 running configure, to aid debugging if configure makes a mistake.
982 It was created by newlib $as_me 1.15.0, which was
983 generated by GNU Autoconf 2.59. Invocation command line was
994 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
995 uname -m = `(uname -m) 2>/dev/null || echo unknown`
996 uname -r = `(uname -r) 2>/dev/null || echo unknown`
997 uname -s = `(uname -s) 2>/dev/null || echo unknown`
998 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1000 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1001 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1003 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1004 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1005 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1006 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1007 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1008 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1009 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1017 test -z "$as_dir" && as_dir=.
1018 echo "PATH: $as_dir"
1033 # Keep a trace of the command line.
1034 # Strip out --no-create and --no-recursion so they do not pile up.
1035 # Strip out --silent because we don't want to record it for future runs.
1036 # Also quote any args containing shell meta-characters.
1037 # Make two passes to allow for proper duplicate-argument suppression.
1042 ac_must_keep_next=false
1048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1052 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1058 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1059 if test $ac_must_keep_next = true; then
1060 ac_must_keep_next=false # Got value, back to normal.
1063 *=* | --config-cache | -C | -disable-* | --disable-* \
1064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1066 | -with-* | --with-* | -without-* | --without-* | --x)
1067 case "$ac_configure_args0 " in
1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 -* ) ac_must_keep_next=true ;;
1074 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1075 # Get rid of the leading space.
1081 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1082 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1084 # When interrupted or exit'd, cleanup temporary files, and complete
1085 # config.log. We remove comments because anyway the quotes in there
1086 # would cause problems or look ugly.
1087 # WARNING: Be sure not to use single quotes in there, as some shells,
1088 # such as our DU 5.0 friend, will then `close' the trap.
1089 trap 'exit_status=$?
1090 # Save into config.log some information that might help in debugging.
1095 ## ---------------- ##
1096 ## Cache variables. ##
1097 ## ---------------- ##
1100 # The following way of writing the cache mishandles newlines in values,
1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1118 ## ----------------- ##
1119 ## Output variables. ##
1120 ## ----------------- ##
1123 for ac_var in $ac_subst_vars
1125 eval ac_val=$`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -n "$ac_subst_files"; then
1137 for ac_var in $ac_subst_files
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -s confdefs.h; then
1152 sed "/^$/d" confdefs.h | sort
1155 test "$ac_signal" != 0 &&
1156 echo "$as_me: caught signal $ac_signal"
1157 echo "$as_me: exit $exit_status"
1159 rm -f core *.core &&
1160 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163 for ac_signal in 1 2 13 15; do
1164 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1169 rm -rf conftest* confdefs.h
1170 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173 # Predefined preprocessor variables.
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_NAME "$PACKAGE_NAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_STRING "$PACKAGE_STRING"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1200 # Let the site file select an alternate cache file if it wants to.
1201 # Prefer explicitly selected file to automatically selected ones.
1202 if test -z "$CONFIG_SITE"; then
1203 if test "x$prefix" != xNONE; then
1204 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1206 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 for ac_site_file in $CONFIG_SITE; do
1210 if test -r "$ac_site_file"; then
1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1212 echo "$as_me: loading site script $ac_site_file" >&6;}
1213 sed 's/^/| /' "$ac_site_file" >&5
1218 if test -r "$cache_file"; then
1219 # Some versions of bash will fail to source /dev/null (special
1220 # files actually), so we avoid doing that.
1221 if test -f "$cache_file"; then
1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1223 echo "$as_me: loading cache $cache_file" >&6;}
1225 [\\/]* | ?:[\\/]* ) . $cache_file;;
1226 *) . ./$cache_file;;
1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1231 echo "$as_me: creating cache $cache_file" >&6;}
1235 # Check that the precious variables saved in the cache have kept the same
1237 ac_cache_corrupted=false
1238 for ac_var in `(set) 2>&1 |
1239 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1240 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1241 eval ac_new_set=\$ac_env_${ac_var}_set
1242 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1243 eval ac_new_val="\$ac_env_${ac_var}_value"
1244 case $ac_old_set,$ac_new_set in
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1248 ac_cache_corrupted=: ;;
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1255 if test "x$ac_old_val" != "x$ac_new_val"; then
1256 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1257 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1258 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1259 echo "$as_me: former value: $ac_old_val" >&2;}
1260 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1261 echo "$as_me: current value: $ac_new_val" >&2;}
1262 ac_cache_corrupted=:
1265 # Pass precious variables to config.status.
1266 if test "$ac_new_set" = set; then
1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1270 *) ac_arg=$ac_var=$ac_new_val ;;
1272 case " $ac_configure_args " in
1273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1274 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1278 if $ac_cache_corrupted; then
1279 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1280 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1281 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1282 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1283 { (exit 1); exit 1; }; }
1287 ac_cpp='$CPP $CPPFLAGS'
1288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 ac_config_headers="$ac_config_headers newlib.h:newlib.hin"
1323 for ac_dir in .. $srcdir/..; do
1324 if test -f $ac_dir/install-sh; then
1326 ac_install_sh="$ac_aux_dir/install-sh -c"
1328 elif test -f $ac_dir/install.sh; then
1330 ac_install_sh="$ac_aux_dir/install.sh -c"
1332 elif test -f $ac_dir/shtool; then
1334 ac_install_sh="$ac_aux_dir/shtool install -c"
1338 if test -z "$ac_aux_dir"; then
1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1340 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1341 { (exit 1); exit 1; }; }
1343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1345 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # Check whether --enable-newlib-io-pos-args or --disable-newlib-io-pos-args was given.
1349 if test "${enable_newlib_io_pos_args+set}" = set; then
1350 enableval="$enable_newlib_io_pos_args"
1351 case "${enableval}" in
1352 yes) newlib_io_pos_args=yes ;;
1353 no) newlib_io_pos_args=no ;;
1354 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-pos-args option" >&5
1355 echo "$as_me: error: bad value ${enableval} for newlib-io-pos-args option" >&2;}
1356 { (exit 1); exit 1; }; } ;;
1361 # Check whether --enable-newlib-io-c99-formats or --disable-newlib-io-c99-formats was given.
1362 if test "${enable_newlib_io_c99_formats+set}" = set; then
1363 enableval="$enable_newlib_io_c99_formats"
1364 case "${enableval}" in
1365 yes) newlib_io_c99_formats=yes;;
1366 no) newlib_io_c99_formats=no ;;
1367 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-c99-formats option" >&5
1368 echo "$as_me: error: bad value ${enableval} for newlib-io-c99-formats option" >&2;}
1369 { (exit 1); exit 1; }; } ;;
1372 newlib_io_c99_formats=
1374 # Check whether --enable-newlib-io-long-long or --disable-newlib-io-long-long was given.
1375 if test "${enable_newlib_io_long_long+set}" = set; then
1376 enableval="$enable_newlib_io_long_long"
1377 case "${enableval}" in
1378 yes) newlib_io_long_long=yes;;
1379 no) newlib_io_long_long=no ;;
1380 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-long-long option" >&5
1381 echo "$as_me: error: bad value ${enableval} for newlib-io-long-long option" >&2;}
1382 { (exit 1); exit 1; }; } ;;
1385 newlib_io_long_long=
1387 # Check whether --enable-newlib-io-long-double or --disable-newlib-io-long-double was given.
1388 if test "${enable_newlib_io_long_double+set}" = set; then
1389 enableval="$enable_newlib_io_long_double"
1390 case "${enableval}" in
1391 yes) newlib_io_long_double=yes;;
1392 no) newlib_io_long_double=no ;;
1393 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-long-double option" >&5
1394 echo "$as_me: error: bad value ${enableval} for newlib-io-long-double option" >&2;}
1395 { (exit 1); exit 1; }; } ;;
1398 newlib_io_long_double=
1400 # Check whether --enable-newlib-mb or --disable-newlib-mb was given.
1401 if test "${enable_newlib_mb+set}" = set; then
1402 enableval="$enable_newlib_mb"
1403 case "${enableval}" in
1404 yes) newlib_mb=yes;;
1406 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-mb option" >&5
1407 echo "$as_me: error: bad value ${enableval} for newlib-mb option" >&2;}
1408 { (exit 1); exit 1; }; } ;;
1413 # Check whether --enable-newlib-iconv-encodings or --disable-newlib-iconv-encodings was given.
1414 if test "${enable_newlib_iconv_encodings+set}" = set; then
1415 enableval="$enable_newlib_iconv_encodings"
1416 if test x${enableval} = x; then
1417 { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list" >&5
1418 echo "$as_me: error: bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list" >&2;}
1419 { (exit 1); exit 1; }; }
1421 iconv_encodings=${enableval}
1426 # Check whether --enable-newlib-iconv-from-encodings or --disable-newlib-iconv-from-encodings was given.
1427 if test "${enable_newlib_iconv_from_encodings+set}" = set; then
1428 enableval="$enable_newlib_iconv_from_encodings"
1429 if test x${enableval} = x; then
1430 { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list" >&5
1431 echo "$as_me: error: bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list" >&2;}
1432 { (exit 1); exit 1; }; }
1434 iconv_from_encodings=${enableval}
1437 iconv_from_encodings=
1439 # Check whether --enable-newlib-iconv-to-encodings or --disable-newlib-iconv-to-encodings was given.
1440 if test "${enable_newlib_iconv_to_encodings+set}" = set; then
1441 enableval="$enable_newlib_iconv_to_encodings"
1442 if test x${enableval} = x; then
1443 { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list" >&5
1444 echo "$as_me: error: bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list" >&2;}
1445 { (exit 1); exit 1; }; }
1447 iconv_to_encodings=${enableval}
1452 # Check whether --enable-newlib-iconv-external-ccs or --disable-newlib-iconv-external-ccs was given.
1453 if test "${enable_newlib_iconv_external_ccs+set}" = set; then
1454 enableval="$enable_newlib_iconv_external_ccs"
1455 if test "${newlib_iconv_external_ccs+set}" != set; then
1456 case "${enableval}" in
1457 yes) newlib_iconv_external_ccs=yes ;;
1458 no) newlib_iconv_external_ccs=no ;;
1459 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-external-ccs option" >&5
1460 echo "$as_me: error: bad value ${enableval} for newlib-iconv-external-ccs option" >&2;}
1461 { (exit 1); exit 1; }; } ;;
1465 newlib_iconv_external_ccs=${newlib_iconv_external_ccs}
1467 # Check whether --enable-newlib-atexit-dynamic-alloc or --disable-newlib-atexit-dynamic-alloc was given.
1468 if test "${enable_newlib_atexit_dynamic_alloc+set}" = set; then
1469 enableval="$enable_newlib_atexit_dynamic_alloc"
1470 if test "${newlib_atexit_dynamic_alloc+set}" != set; then
1471 case "${enableval}" in
1472 yes) newlib_atexit_dynamic_alloc=yes ;;
1473 no) newlib_atexit_dynamic_alloc=no ;;
1474 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-atexit-dynamic-alloc option" >&5
1475 echo "$as_me: error: bad value ${enableval} for newlib-atexit-dynamic-alloc option" >&2;}
1476 { (exit 1); exit 1; }; } ;;
1480 newlib_atexit_dynamic_alloc=${newlib_atexit_dynamic_alloc}
1482 # Check whether --enable-newlib-reent-small or --disable-newlib-reent-small was given.
1483 if test "${enable_newlib_reent_small+set}" = set; then
1484 enableval="$enable_newlib_reent_small"
1485 case "${enableval}" in
1486 yes) newlib_reent_small=yes;;
1487 no) newlib_reent_small=no ;;
1488 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-reent-small option" >&5
1489 echo "$as_me: error: bad value ${enableval} for newlib-reent-small option" >&2;}
1490 { (exit 1); exit 1; }; } ;;
1496 # Make sure we can run config.sub.
1497 $ac_config_sub sun4 >/dev/null 2>&1 ||
1498 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1499 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1500 { (exit 1); exit 1; }; }
1502 echo "$as_me:$LINENO: checking build system type" >&5
1503 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1504 if test "${ac_cv_build+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 ac_cv_build_alias=$build_alias
1508 test -z "$ac_cv_build_alias" &&
1509 ac_cv_build_alias=`$ac_config_guess`
1510 test -z "$ac_cv_build_alias" &&
1511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1513 { (exit 1); exit 1; }; }
1514 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1521 echo "${ECHO_T}$ac_cv_build" >&6
1523 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 am__api_version="1.9"
1529 # Find a good install program. We prefer a C program (faster),
1530 # so one script is as good as another. But avoid the broken or
1531 # incompatible versions:
1532 # SysV /etc/install, /usr/sbin/install
1533 # SunOS /usr/etc/install
1534 # IRIX /sbin/install
1536 # AmigaOS /C/install, which installs bootblocks on floppy discs
1537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1540 # OS/2's system install, which has a completely different semantic
1541 # ./install, which can be erroneously created by make from ./install.sh.
1542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1544 if test -z "$INSTALL"; then
1545 if test "${ac_cv_path_install+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir=.
1553 # Account for people who put trailing slashes in PATH elements.
1555 ./ | .// | /cC/* | \
1556 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1557 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1560 # OSF1 and SCO ODT 3.0 have their own names for install.
1561 # Don't use installbsd from OSF since it installs stuff as root
1563 for ac_prog in ginstall scoinst install; do
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1566 if test $ac_prog = install &&
1567 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1568 # AIX install. It has an incompatible calling convention.
1570 elif test $ac_prog = install &&
1571 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1572 # program-specific install script used by HP pwplus--don't use.
1575 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1587 if test "${ac_cv_path_install+set}" = set; then
1588 INSTALL=$ac_cv_path_install
1590 # As a last resort, use the slow shell script. We don't cache a
1591 # path for INSTALL within a source directory, because that will
1592 # break other packages using the cache if that directory is
1593 # removed, or if the path is relative.
1594 INSTALL=$ac_install_sh
1597 echo "$as_me:$LINENO: result: $INSTALL" >&5
1598 echo "${ECHO_T}$INSTALL" >&6
1600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1601 # It thinks the first close brace ends the variable substitution.
1602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1606 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1608 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1609 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1612 echo timestamp > conftest.file
1613 # Do `set' in a subshell so we don't clobber the current shell's
1614 # arguments. Must try -L first in case configure is actually a
1615 # symlink; some systems play weird games with the mod time of symlinks
1616 # (eg FreeBSD returns the mod time of the symlink's containing
1619 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1620 if test "$*" = "X"; then
1622 set X `ls -t $srcdir/configure conftest.file`
1625 if test "$*" != "X $srcdir/configure conftest.file" \
1626 && test "$*" != "X conftest.file $srcdir/configure"; then
1628 # If neither matched, then we have a broken ls. This can happen
1629 # if, for instance, CONFIG_SHELL is bash and it inherits a
1630 # broken ls alias from the environment. This has actually
1631 # happened. Such a system could not be considered "sane".
1632 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1633 alias in your environment" >&5
1634 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1635 alias in your environment" >&2;}
1636 { (exit 1); exit 1; }; }
1639 test "$2" = conftest.file
1645 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1646 Check your system clock" >&5
1647 echo "$as_me: error: newly created file is older than distributed files!
1648 Check your system clock" >&2;}
1649 { (exit 1); exit 1; }; }
1651 echo "$as_me:$LINENO: result: yes" >&5
1652 echo "${ECHO_T}yes" >&6
1653 test "$program_prefix" != NONE &&
1654 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1655 # Use a double $ so make ignores it.
1656 test "$program_suffix" != NONE &&
1657 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1658 # Double any \ or $. echo might interpret backslashes.
1659 # By default was `s,x,x', remove it if useless.
1660 cat <<\_ACEOF >conftest.sed
1661 s/[\\$]/&&/g;s/;s,x,x,$//
1663 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1666 # expand $ac_aux_dir to an absolute path
1667 am_aux_dir=`cd $ac_aux_dir && pwd`
1669 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1670 # Use eval to expand $SHELL
1671 if eval "$MISSING --run true"; then
1672 am_missing_run="$MISSING --run "
1675 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1676 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1679 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1680 # We used to keeping the `.' as first argument, in order to
1681 # allow $(mkdir_p) to be used without argument. As in
1682 # $(mkdir_p) $(somedir)
1683 # where $(somedir) is conditionally defined. However this is wrong
1685 # 1. if the package is installed by a user who cannot write `.'
1686 # make install will fail,
1687 # 2. the above comment should most certainly read
1688 # $(mkdir_p) $(DESTDIR)$(somedir)
1689 # so it does not work when $(somedir) is undefined and
1690 # $(DESTDIR) is not.
1691 # To support the latter case, we have to write
1692 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1693 # so the `.' trick is pointless.
1694 mkdir_p='mkdir -p --'
1696 # On NextStep and OpenStep, the `mkdir' command does not
1697 # recognize any option. It will interpret all options as
1698 # directories to create, and then abort because `.' already
1700 for d in ./-p ./--version;
1702 test -d $d && rmdir $d
1704 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1705 if test -f "$ac_aux_dir/mkinstalldirs"; then
1706 mkdir_p='$(mkinstalldirs)'
1708 mkdir_p='$(install_sh) -d'
1712 for ac_prog in gawk mawk nawk awk
1714 # Extract the first word of "$ac_prog", so it can be a program name with args.
1715 set dummy $ac_prog; ac_word=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_AWK+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 if test -n "$AWK"; then
1722 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir=.
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731 ac_cv_prog_AWK="$ac_prog"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 if test -n "$AWK"; then
1742 echo "$as_me:$LINENO: result: $AWK" >&5
1743 echo "${ECHO_T}$AWK" >&6
1745 echo "$as_me:$LINENO: result: no" >&5
1746 echo "${ECHO_T}no" >&6
1749 test -n "$AWK" && break
1752 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1753 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1754 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1755 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 cat >conftest.make <<\_ACEOF
1760 @echo 'ac_maketemp="$(MAKE)"'
1762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1763 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1764 if test -n "$ac_maketemp"; then
1765 eval ac_cv_prog_make_${ac_make}_set=yes
1767 eval ac_cv_prog_make_${ac_make}_set=no
1771 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1772 echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6
1776 echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1778 SET_MAKE="MAKE=${MAKE-make}"
1781 rm -rf .tst 2>/dev/null
1782 mkdir .tst 2>/dev/null
1783 if test -d .tst; then
1788 rmdir .tst 2>/dev/null
1790 DEPDIR="${am__leading_dot}deps"
1792 ac_config_commands="$ac_config_commands depfiles"
1795 am_make=${MAKE-make}
1796 cat > confinc << 'END'
1801 # If we don't find an include directive, just comment out the code.
1802 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1803 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1807 # First try GNU make style include.
1808 echo "include confinc" > confmf
1809 # We grep out `Entering directory' and `Leaving directory'
1810 # messages which can occur if `w' ends up in MAKEFLAGS.
1811 # In particular we don't look at `^make:' because GNU make might
1812 # be invoked under some other name (usually "gmake"), in which
1813 # case it prints its new name instead of `make'.
1814 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1819 # Now try BSD make style include.
1820 if test "$am__include" = "#"; then
1821 echo '.include "confinc"' > confmf
1822 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1823 am__include=.include
1830 echo "$as_me:$LINENO: result: $_am_result" >&5
1831 echo "${ECHO_T}$_am_result" >&6
1832 rm -f confinc confmf
1834 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1835 if test "${enable_dependency_tracking+set}" = set; then
1836 enableval="$enable_dependency_tracking"
1839 if test "x$enable_dependency_tracking" != xno; then
1840 am_depcomp="$ac_aux_dir/depcomp"
1845 if test "x$enable_dependency_tracking" != xno; then
1856 # Check whether --enable-multilib or --disable-multilib was given.
1857 if test "${enable_multilib+set}" = set; then
1858 enableval="$enable_multilib"
1859 case "${enableval}" in
1860 yes) multilib=yes ;;
1862 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1863 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1864 { (exit 1); exit 1; }; } ;;
1869 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1870 if test "${enable_target_optspace+set}" = set; then
1871 enableval="$enable_target_optspace"
1872 case "${enableval}" in
1873 yes) target_optspace=yes ;;
1874 no) target_optspace=no ;;
1875 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1876 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1877 { (exit 1); exit 1; }; } ;;
1882 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1883 if test "${enable_malloc_debugging+set}" = set; then
1884 enableval="$enable_malloc_debugging"
1885 case "${enableval}" in
1886 yes) malloc_debugging=yes ;;
1887 no) malloc_debugging=no ;;
1888 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1889 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1890 { (exit 1); exit 1; }; } ;;
1895 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1896 if test "${enable_newlib_multithread+set}" = set; then
1897 enableval="$enable_newlib_multithread"
1898 case "${enableval}" in
1899 yes) newlib_multithread=yes ;;
1900 no) newlib_multithread=no ;;
1901 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1902 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1903 { (exit 1); exit 1; }; } ;;
1906 newlib_multithread=yes
1908 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1909 if test "${enable_newlib_iconv+set}" = set; then
1910 enableval="$enable_newlib_iconv"
1911 if test "${newlib_iconv+set}" != set; then
1912 case "${enableval}" in
1913 yes) newlib_iconv=yes ;;
1914 no) newlib_iconv=no ;;
1915 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1916 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1917 { (exit 1); exit 1; }; } ;;
1921 newlib_iconv=${newlib_iconv}
1923 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1924 if test "${enable_newlib_elix_level+set}" = set; then
1925 enableval="$enable_newlib_elix_level"
1926 case "${enableval}" in
1927 0) newlib_elix_level=0 ;;
1928 1) newlib_elix_level=1 ;;
1929 2) newlib_elix_level=2 ;;
1930 3) newlib_elix_level=3 ;;
1931 4) newlib_elix_level=4 ;;
1932 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1933 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1934 { (exit 1); exit 1; }; } ;;
1939 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1940 if test "${enable_newlib_io_float+set}" = set; then
1941 enableval="$enable_newlib_io_float"
1942 case "${enableval}" in
1943 yes) newlib_io_float=yes ;;
1944 no) newlib_io_float=no ;;
1945 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1946 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1947 { (exit 1); exit 1; }; } ;;
1952 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1953 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1954 enableval="$enable_newlib_supplied_syscalls"
1955 case "${enableval}" in
1956 yes) newlib_may_supply_syscalls=yes ;;
1957 no) newlib_may_supply_syscalls=no ;;
1958 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1959 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1960 { (exit 1); exit 1; }; } ;;
1963 newlib_may_supply_syscalls=yes
1967 if test x${newlib_may_supply_syscalls} = xyes; then
1968 MAY_SUPPLY_SYSCALLS_TRUE=
1969 MAY_SUPPLY_SYSCALLS_FALSE='#'
1971 MAY_SUPPLY_SYSCALLS_TRUE='#'
1972 MAY_SUPPLY_SYSCALLS_FALSE=
1977 test -z "${with_target_subdir}" && with_target_subdir=.
1979 if test "${srcdir}" = "."; then
1980 if test "${with_target_subdir}" != "."; then
1981 newlib_basedir="${srcdir}/${with_multisrctop}../."
1983 newlib_basedir="${srcdir}/${with_multisrctop}."
1986 newlib_basedir="${srcdir}/."
1990 echo "$as_me:$LINENO: checking host system type" >&5
1991 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1992 if test "${ac_cv_host+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 ac_cv_host_alias=$host_alias
1996 test -z "$ac_cv_host_alias" &&
1997 ac_cv_host_alias=$ac_cv_build_alias
1998 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1999 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2000 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2001 { (exit 1); exit 1; }; }
2004 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2005 echo "${ECHO_T}$ac_cv_host" >&6
2007 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2008 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2009 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2013 # test to see if srcdir already configured
2014 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2015 test -f $srcdir/config.status; then
2016 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2017 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2018 { (exit 1); exit 1; }; }
2021 # test whether we have cygpath
2022 if test -z "$CYGPATH_W"; then
2023 if (cygpath --version) >/dev/null 2>/dev/null; then
2024 CYGPATH_W='cygpath -w'
2031 # Define the identity of the package.
2036 # Some tools Automake needs.
2038 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2041 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2044 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2050 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2052 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2054 # Installed binaries are usually stripped using `strip' when the user
2055 # run `make install-strip'. However `strip' might not be the right
2056 # tool to use in cross-compilation environments, therefore Automake
2057 # will honor the `STRIP' environment variable to overrule this program.
2058 if test "$cross_compiling" != no; then
2059 if test -n "$ac_tool_prefix"; then
2060 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2061 set dummy ${ac_tool_prefix}strip; ac_word=$2
2062 echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2064 if test "${ac_cv_prog_STRIP+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 if test -n "$STRIP"; then
2068 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2077 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 STRIP=$ac_cv_prog_STRIP
2087 if test -n "$STRIP"; then
2088 echo "$as_me:$LINENO: result: $STRIP" >&5
2089 echo "${ECHO_T}$STRIP" >&6
2091 echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6
2096 if test -z "$ac_cv_prog_STRIP"; then
2098 # Extract the first word of "strip", so it can be a program name with args.
2099 set dummy strip; ac_word=$2
2100 echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2102 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test -n "$ac_ct_STRIP"; then
2106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2115 ac_cv_prog_ac_ct_STRIP="strip"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2126 if test -n "$ac_ct_STRIP"; then
2127 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2128 echo "${ECHO_T}$ac_ct_STRIP" >&6
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2136 STRIP="$ac_cv_prog_STRIP"
2140 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2142 # We need awk for the "check" target. The system "awk" is bad on
2144 # Always define AMTAR for backward compatibility.
2146 AMTAR=${AMTAR-"${am_missing_run}tar"}
2148 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2155 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2156 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2157 # are probably using a cross compiler, which will not be able to fully
2158 # link an executable. This should really be fixed in autoconf
2167 # Extract the first word of "gcc", so it can be a program name with args.
2168 set dummy gcc; ac_word=$2
2169 echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 if test -n "$CC"; then
2195 echo "$as_me:$LINENO: result: $CC" >&5
2196 echo "${ECHO_T}$CC" >&6
2198 echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6
2203 depcc="$CC" am_compiler_list=
2205 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2206 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2207 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2211 # We make a subdir and do the tests there. Otherwise we can end up
2212 # making bogus files that we don't know about and never remove. For
2213 # instance it was reported that on HP-UX the gcc test will end up
2214 # making a dummy file named `D' -- because `-MD' means `put the output
2217 # Copy depcomp to subdir because otherwise we won't find it if we're
2218 # using a relative directory.
2219 cp "$am_depcomp" conftest.dir
2221 # We will build objects and dependencies in a subdirectory because
2222 # it helps to detect inapplicable dependency modes. For instance
2223 # both Tru64's cc and ICC support -MD to output dependencies as a
2224 # side effect of compilation, but ICC will put the dependencies in
2225 # the current directory while Tru64 will put them in the object
2229 am_cv_CC_dependencies_compiler_type=none
2230 if test "$am_compiler_list" = ""; then
2231 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2233 for depmode in $am_compiler_list; do
2234 # Setup a source with many dependencies, because some compilers
2235 # like to wrap large dependency lists on column 80 (with \), and
2236 # we should not choose a depcomp mode which is confused by this.
2238 # We need to recreate these files for each test, as the compiler may
2239 # overwrite some of them when testing with obscure command lines.
2240 # This happens at least with the AIX C compiler.
2242 for i in 1 2 3 4 5 6; do
2243 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2244 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2245 # Solaris 8's {/usr,}/bin/sh.
2246 touch sub/conftst$i.h
2248 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2252 # after this tag, mechanisms are not by side-effect, so they'll
2253 # only be used when explicitly requested
2254 if test "x$enable_dependency_tracking" = xyes; then
2262 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2263 # mode. It turns out that the SunPro C++ compiler does not properly
2264 # handle `-M -o', and we need to detect this.
2265 if depmode=$depmode \
2266 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2267 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2268 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2269 >/dev/null 2>conftest.err &&
2270 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2271 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2272 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2273 # icc doesn't choke on unknown options, it will just issue warnings
2274 # or remarks (even with -Werror). So we grep stderr for any message
2275 # that says an option was ignored or not supported.
2276 # When given -MP, icc 7.0 and 7.1 complain thusly:
2277 # icc: Command line warning: ignoring option '-M'; no argument required
2278 # The diagnosis changed in icc 8.0:
2279 # icc: Command line remark: option '-MP' not supported
2280 if (grep 'ignoring option' conftest.err ||
2281 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2282 am_cv_CC_dependencies_compiler_type=$depmode
2291 am_cv_CC_dependencies_compiler_type=none
2295 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2296 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2297 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2302 test "x$enable_dependency_tracking" != xno \
2303 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2305 am__fastdepCC_FALSE='#'
2307 am__fastdepCC_TRUE='#'
2308 am__fastdepCC_FALSE=
2312 if test -z "$CC"; then
2313 # Extract the first word of "cc", so it can be a program name with args.
2314 set dummy cc; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_CC+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$CC"; then
2321 ac_cv_prog_CC="$CC" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2332 ac_prog_rejected=yes
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 if test $ac_prog_rejected = yes; then
2343 # We found a bogon in the path, so make sure we never use it.
2344 set dummy $ac_cv_prog_CC
2346 if test $# != 0; then
2347 # We chose a different compiler from the bogus one.
2348 # However, it has the same basename, so the bogon will be chosen
2349 # first if we set CC to just the basename; use the full file name.
2351 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2357 if test -n "$CC"; then
2358 echo "$as_me:$LINENO: result: $CC" >&5
2359 echo "${ECHO_T}$CC" >&6
2361 echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2366 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2367 { (exit 1); exit 1; }; }
2370 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2371 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2372 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 cat > conftest.c <<EOF
2380 if { ac_try='${CC-cc} -E conftest.c'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2386 ac_cv_c_compiler_gnu=yes
2388 ac_cv_c_compiler_gnu=no
2391 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2392 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2394 if test $ac_cv_c_compiler_gnu = yes; then
2396 ac_test_CFLAGS="${CFLAGS+set}"
2397 ac_save_CFLAGS="$CFLAGS"
2399 ac_test_CFLAGS=${CFLAGS+set}
2400 ac_save_CFLAGS=$CFLAGS
2402 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2403 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2404 if test "${ac_cv_prog_cc_g+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 cat >conftest.$ac_ext <<_ACEOF
2410 cat confdefs.h >>conftest.$ac_ext
2411 cat >>conftest.$ac_ext <<_ACEOF
2412 /* end confdefs.h. */
2422 rm -f conftest.$ac_objext
2423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2424 (eval $ac_compile) 2>conftest.er1
2426 grep -v '^ *+' conftest.er1 >conftest.err
2428 cat conftest.err >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); } &&
2431 { ac_try='test -z "$ac_c_werror_flag"
2432 || test ! -s conftest.err'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; } &&
2438 { ac_try='test -s conftest.$ac_objext'
2439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; }; then
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2453 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2454 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2455 if test "$ac_test_CFLAGS" = set; then
2456 CFLAGS=$ac_save_CFLAGS
2457 elif test $ac_cv_prog_cc_g = yes; then
2458 if test "$GCC" = yes; then
2464 if test "$GCC" = yes; then
2470 if test "$ac_test_CFLAGS" = set; then
2471 CFLAGS="$ac_save_CFLAGS"
2472 elif test $ac_cv_prog_cc_g = yes; then
2479 test "${CFLAGS+set}" = set || CFLAGS="-g"
2483 if test -n "$ac_tool_prefix"; then
2484 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2485 set dummy ${ac_tool_prefix}as; ac_word=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_AS+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$AS"; then
2492 ac_cv_prog_AS="$AS" # Let the user override the test.
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_AS="${ac_tool_prefix}as"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 if test -n "$AS"; then
2512 echo "$as_me:$LINENO: result: $AS" >&5
2513 echo "${ECHO_T}$AS" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2520 if test -z "$ac_cv_prog_AS"; then
2522 # Extract the first word of "as", so it can be a program name with args.
2523 set dummy as; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 if test -n "$ac_ct_AS"; then
2530 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_ac_ct_AS="as"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2549 if test -n "$ac_ct_AS"; then
2550 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2551 echo "${ECHO_T}$ac_ct_AS" >&6
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2562 if test -n "$ac_tool_prefix"; then
2563 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2564 set dummy ${ac_tool_prefix}ar; ac_word=$2
2565 echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2567 if test "${ac_cv_prog_AR+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 if test -n "$AR"; then
2571 ac_cv_prog_AR="$AR" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_AR="${ac_tool_prefix}ar"
2581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$AR"; then
2591 echo "$as_me:$LINENO: result: $AR" >&5
2592 echo "${ECHO_T}$AR" >&6
2594 echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6
2599 if test -z "$ac_cv_prog_AR"; then
2601 # Extract the first word of "ar", so it can be a program name with args.
2602 set dummy ar; ac_word=$2
2603 echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2605 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 if test -n "$ac_ct_AR"; then
2609 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir=.
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2618 ac_cv_prog_ac_ct_AR="ar"
2619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2628 if test -n "$ac_ct_AR"; then
2629 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2630 echo "${ECHO_T}$ac_ct_AR" >&6
2632 echo "$as_me:$LINENO: result: no" >&5
2633 echo "${ECHO_T}no" >&6
2641 if test -n "$ac_tool_prefix"; then
2642 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2643 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2644 echo "$as_me:$LINENO: checking for $ac_word" >&5
2645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2646 if test "${ac_cv_prog_RANLIB+set}" = set; then
2647 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 if test -n "$RANLIB"; then
2650 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 RANLIB=$ac_cv_prog_RANLIB
2669 if test -n "$RANLIB"; then
2670 echo "$as_me:$LINENO: result: $RANLIB" >&5
2671 echo "${ECHO_T}$RANLIB" >&6
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2678 if test -z "$ac_cv_prog_RANLIB"; then
2679 ac_ct_RANLIB=$RANLIB
2680 # Extract the first word of "ranlib", so it can be a program name with args.
2681 set dummy ranlib; ac_word=$2
2682 echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$ac_ct_RANLIB"; then
2688 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 ac_cv_prog_ac_ct_RANLIB="ranlib"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2707 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2708 if test -n "$ac_ct_RANLIB"; then
2709 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2710 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2716 RANLIB=$ac_ct_RANLIB
2718 RANLIB="$ac_cv_prog_RANLIB"
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2723 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2724 echo "$as_me:$LINENO: checking for $ac_word" >&5
2725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2726 if test "${ac_cv_prog_READELF+set}" = set; then
2727 echo $ECHO_N "(cached) $ECHO_C" >&6
2729 if test -n "$READELF"; then
2730 ac_cv_prog_READELF="$READELF" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2739 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 READELF=$ac_cv_prog_READELF
2749 if test -n "$READELF"; then
2750 echo "$as_me:$LINENO: result: $READELF" >&5
2751 echo "${ECHO_T}$READELF" >&6
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2758 if test -z "$ac_cv_prog_READELF"; then
2759 ac_ct_READELF=$READELF
2760 # Extract the first word of "readelf", so it can be a program name with args.
2761 set dummy readelf; ac_word=$2
2762 echo "$as_me:$LINENO: checking for $ac_word" >&5
2763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2764 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 if test -n "$ac_ct_READELF"; then
2768 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2777 ac_cv_prog_ac_ct_READELF="readelf"
2778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2787 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2788 if test -n "$ac_ct_READELF"; then
2789 echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2790 echo "${ECHO_T}$ac_ct_READELF" >&6
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2796 READELF=$ac_ct_READELF
2798 READELF="$ac_cv_prog_READELF"
2802 # Find a good install program. We prefer a C program (faster),
2803 # so one script is as good as another. But avoid the broken or
2804 # incompatible versions:
2805 # SysV /etc/install, /usr/sbin/install
2806 # SunOS /usr/etc/install
2807 # IRIX /sbin/install
2809 # AmigaOS /C/install, which installs bootblocks on floppy discs
2810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2813 # OS/2's system install, which has a completely different semantic
2814 # ./install, which can be erroneously created by make from ./install.sh.
2815 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2816 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2817 if test -z "$INSTALL"; then
2818 if test "${ac_cv_path_install+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 # Account for people who put trailing slashes in PATH elements.
2828 ./ | .// | /cC/* | \
2829 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2830 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2833 # OSF1 and SCO ODT 3.0 have their own names for install.
2834 # Don't use installbsd from OSF since it installs stuff as root
2836 for ac_prog in ginstall scoinst install; do
2837 for ac_exec_ext in '' $ac_executable_extensions; do
2838 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2839 if test $ac_prog = install &&
2840 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2841 # AIX install. It has an incompatible calling convention.
2843 elif test $ac_prog = install &&
2844 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2845 # program-specific install script used by HP pwplus--don't use.
2848 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2860 if test "${ac_cv_path_install+set}" = set; then
2861 INSTALL=$ac_cv_path_install
2863 # As a last resort, use the slow shell script. We don't cache a
2864 # path for INSTALL within a source directory, because that will
2865 # break other packages using the cache if that directory is
2866 # removed, or if the path is relative.
2867 INSTALL=$ac_install_sh
2870 echo "$as_me:$LINENO: result: $INSTALL" >&5
2871 echo "${ECHO_T}$INSTALL" >&6
2873 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2874 # It thinks the first close brace ends the variable substitution.
2875 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2877 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2879 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2882 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2883 ac_given_INSTALL=$INSTALL
2885 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2886 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2887 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2888 if test "${enable_maintainer_mode+set}" = set; then
2889 enableval="$enable_maintainer_mode"
2890 USE_MAINTAINER_MODE=$enableval
2892 USE_MAINTAINER_MODE=no
2894 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2895 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2898 if test $USE_MAINTAINER_MODE = yes; then
2899 MAINTAINER_MODE_TRUE=
2900 MAINTAINER_MODE_FALSE='#'
2902 MAINTAINER_MODE_TRUE='#'
2903 MAINTAINER_MODE_FALSE=
2906 MAINT=$MAINTAINER_MODE_TRUE
2909 # By default we simply use the C compiler to build assembly code.
2911 test "${CCAS+set}" = set || CCAS=$CC
2912 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2917 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2918 # at least currently, we never actually build a program, so we never
2919 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2920 # fails, because we are probably configuring with a cross compiler
2921 # which can't create executables. So we include AC_EXEEXT to keep
2922 # automake happy, but we don't execute it, since we don't care about
2929 . ${newlib_basedir}/configure.host
2931 newlib_cflags="${newlib_cflags} -fno-builtin"
2933 NEWLIB_CFLAGS=${newlib_cflags}
2941 if test x${newlib_elix_level} = x0; then
2943 ELIX_LEVEL_0_FALSE='#'
2945 ELIX_LEVEL_0_TRUE='#'
2951 if test x${newlib_elix_level} = x1; then
2953 ELIX_LEVEL_1_FALSE='#'
2955 ELIX_LEVEL_1_TRUE='#'
2961 if test x${newlib_elix_level} = x2; then
2963 ELIX_LEVEL_2_FALSE='#'
2965 ELIX_LEVEL_2_TRUE='#'
2971 if test x${newlib_elix_level} = x3; then
2973 ELIX_LEVEL_3_FALSE='#'
2975 ELIX_LEVEL_3_TRUE='#'
2981 if test x${newlib_elix_level} = x4; then
2983 ELIX_LEVEL_4_FALSE='#'
2985 ELIX_LEVEL_4_TRUE='#'
2992 if test x${use_libtool} = xyes; then
2994 USE_LIBTOOL_FALSE='#'
2996 USE_LIBTOOL_TRUE='#'
3001 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3002 # use oext, which is set in configure.host based on the target platform.
3015 if test "${use_libtool}" = "yes"; then
3017 # Check whether --enable-shared or --disable-shared was given.
3018 if test "${enable_shared+set}" = set; then
3019 enableval="$enable_shared"
3020 p=${PACKAGE-default}
3022 yes) enable_shared=yes ;;
3023 no) enable_shared=no ;;
3026 # Look at the argument we got. We use all the common list separators.
3027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3028 for pkg in $enableval; do
3029 if test "X$pkg" = "X$p"; then
3039 # Check whether --enable-static or --disable-static was given.
3040 if test "${enable_static+set}" = set; then
3041 enableval="$enable_static"
3042 p=${PACKAGE-default}
3044 yes) enable_static=yes ;;
3045 no) enable_static=no ;;
3048 # Look at the argument we got. We use all the common list separators.
3049 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3050 for pkg in $enableval; do
3051 if test "X$pkg" = "X$p"; then
3061 # Check whether --enable-fast-install or --disable-fast-install was given.
3062 if test "${enable_fast_install+set}" = set; then
3063 enableval="$enable_fast_install"
3064 p=${PACKAGE-default}
3066 yes) enable_fast_install=yes ;;
3067 no) enable_fast_install=no ;;
3069 enable_fast_install=no
3070 # Look at the argument we got. We use all the common list separators.
3071 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3072 for pkg in $enableval; do
3073 if test "X$pkg" = "X$p"; then
3074 enable_fast_install=yes
3081 enable_fast_install=yes
3084 ac_cpp='$CPP $CPPFLAGS'
3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3088 if test -n "$ac_tool_prefix"; then
3089 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3090 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093 if test "${ac_cv_prog_CC+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 if test -n "$CC"; then
3097 ac_cv_prog_CC="$CC" # Let the user override the test.
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir=.
3104 for ac_exec_ext in '' $ac_executable_extensions; do
3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 echo "$as_me:$LINENO: result: $CC" >&5
3118 echo "${ECHO_T}$CC" >&6
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3125 if test -z "$ac_cv_prog_CC"; then
3127 # Extract the first word of "gcc", so it can be a program name with args.
3128 set dummy gcc; ac_word=$2
3129 echo "$as_me:$LINENO: checking for $ac_word" >&5
3130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 if test -n "$ac_ct_CC"; then
3135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir=.
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_ac_ct_CC="gcc"
3145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3154 if test -n "$ac_ct_CC"; then
3155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3156 echo "${ECHO_T}$ac_ct_CC" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3167 if test -z "$CC"; then
3168 if test -n "$ac_tool_prefix"; then
3169 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3170 set dummy ${ac_tool_prefix}cc; ac_word=$2
3171 echo "$as_me:$LINENO: checking for $ac_word" >&5
3172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3173 if test "${ac_cv_prog_CC+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC="$CC" # Let the user override the test.
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir=.
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3186 ac_cv_prog_CC="${ac_tool_prefix}cc"
3187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 if test -n "$CC"; then
3197 echo "$as_me:$LINENO: result: $CC" >&5
3198 echo "${ECHO_T}$CC" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3205 if test -z "$ac_cv_prog_CC"; then
3207 # Extract the first word of "cc", so it can be a program name with args.
3208 set dummy cc; ac_word=$2
3209 echo "$as_me:$LINENO: checking for $ac_word" >&5
3210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3211 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 if test -n "$ac_ct_CC"; then
3215 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir=.
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_ac_ct_CC="cc"
3225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3234 if test -n "$ac_ct_CC"; then
3235 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3236 echo "${ECHO_T}$ac_ct_CC" >&6
3238 echo "$as_me:$LINENO: result: no" >&5
3239 echo "${ECHO_T}no" >&6
3248 if test -z "$CC"; then
3249 # Extract the first word of "cc", so it can be a program name with args.
3250 set dummy cc; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_CC+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC="$CC" # Let the user override the test.
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3268 ac_prog_rejected=yes
3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test $ac_prog_rejected = yes; then
3279 # We found a bogon in the path, so make sure we never use it.
3280 set dummy $ac_cv_prog_CC
3282 if test $# != 0; then
3283 # We chose a different compiler from the bogus one.
3284 # However, it has the same basename, so the bogon will be chosen
3285 # first if we set CC to just the basename; use the full file name.
3287 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3293 if test -n "$CC"; then
3294 echo "$as_me:$LINENO: result: $CC" >&5
3295 echo "${ECHO_T}$CC" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3302 if test -z "$CC"; then
3303 if test -n "$ac_tool_prefix"; then
3306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3308 echo "$as_me:$LINENO: checking for $ac_word" >&5
3309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3310 if test "${ac_cv_prog_CC+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 if test -n "$CC"; then
3314 ac_cv_prog_CC="$CC" # Let the user override the test.
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 if test -n "$CC"; then
3334 echo "$as_me:$LINENO: result: $CC" >&5
3335 echo "${ECHO_T}$CC" >&6
3337 echo "$as_me:$LINENO: result: no" >&5
3338 echo "${ECHO_T}no" >&6
3341 test -n "$CC" && break
3344 if test -z "$CC"; then
3348 # Extract the first word of "$ac_prog", so it can be a program name with args.
3349 set dummy $ac_prog; ac_word=$2
3350 echo "$as_me:$LINENO: checking for $ac_word" >&5
3351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if test -n "$ac_ct_CC"; then
3356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir=.
3363 for ac_exec_ext in '' $ac_executable_extensions; do
3364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3365 ac_cv_prog_ac_ct_CC="$ac_prog"
3366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3375 if test -n "$ac_ct_CC"; then
3376 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3377 echo "${ECHO_T}$ac_ct_CC" >&6
3379 echo "$as_me:$LINENO: result: no" >&5
3380 echo "${ECHO_T}no" >&6
3383 test -n "$ac_ct_CC" && break
3392 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3393 See \`config.log' for more details." >&5
3394 echo "$as_me: error: no acceptable C compiler found in \$PATH
3395 See \`config.log' for more details." >&2;}
3396 { (exit 1); exit 1; }; }
3398 # Provide some information about the compiler.
3399 echo "$as_me:$LINENO:" \
3400 "checking for C compiler version" >&5
3401 ac_compiler=`set X $ac_compile; echo $2`
3402 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3403 (eval $ac_compiler --version </dev/null >&5) 2>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); }
3407 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3408 (eval $ac_compiler -v </dev/null >&5) 2>&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }
3412 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3413 (eval $ac_compiler -V </dev/null >&5) 2>&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 ac_clean_files_save=$ac_clean_files
3434 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3435 # Try to create an executable without -o first, disregard a.out.
3436 # It will help us diagnose broken compilers, and finding out an intuition
3438 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3439 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3440 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3441 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3442 (eval $ac_link_default) 2>&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; then
3446 # Find the output, starting from the most likely. This scheme is
3447 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3450 # Be careful to initialize this variable, since it used to be cached.
3451 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3453 # b.out is created by i960 compilers.
3454 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3456 test -f "$ac_file" || continue
3458 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3461 # This is the source file.
3464 # We found the default executable, but exeext='' is most
3468 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3469 # FIXME: I believe we export ac_cv_exeext for Libtool,
3470 # but it would be cool to find out if it's true. Does anybody
3471 # maintain Libtool? --akim.
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3483 See \`config.log' for more details." >&5
3484 echo "$as_me: error: C compiler cannot create executables
3485 See \`config.log' for more details." >&2;}
3486 { (exit 77); exit 77; }; }
3489 ac_exeext=$ac_cv_exeext
3490 echo "$as_me:$LINENO: result: $ac_file" >&5
3491 echo "${ECHO_T}$ac_file" >&6
3493 # Check the compiler produces executables we can run. If not, either
3494 # the compiler is broken, or we cross compile.
3495 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3496 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3497 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3498 # If not cross compiling, check that we can run a simple program.
3499 if test "$cross_compiling" != yes; then
3500 if { ac_try='./$ac_file'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3508 if test "$cross_compiling" = maybe; then
3511 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3512 If you meant to cross compile, use \`--host'.
3513 See \`config.log' for more details." >&5
3514 echo "$as_me: error: cannot run C compiled programs.
3515 If you meant to cross compile, use \`--host'.
3516 See \`config.log' for more details." >&2;}
3517 { (exit 1); exit 1; }; }
3521 echo "$as_me:$LINENO: result: yes" >&5
3522 echo "${ECHO_T}yes" >&6
3524 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3525 ac_clean_files=$ac_clean_files_save
3526 # Check the compiler produces executables we can run. If not, either
3527 # the compiler is broken, or we cross compile.
3528 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3529 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3530 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3531 echo "${ECHO_T}$cross_compiling" >&6
3533 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3534 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3536 (eval $ac_link) 2>&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); }; then
3540 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3541 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3542 # work properly (i.e., refer to `conftest.exe'), while it won't with
3544 for ac_file in conftest.exe conftest conftest.*; do
3545 test -f "$ac_file" || continue
3547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3548 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3556 See \`config.log' for more details." >&5
3557 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3558 See \`config.log' for more details." >&2;}
3559 { (exit 1); exit 1; }; }
3562 rm -f conftest$ac_cv_exeext
3563 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3564 echo "${ECHO_T}$ac_cv_exeext" >&6
3566 rm -f conftest.$ac_ext
3567 EXEEXT=$ac_cv_exeext
3569 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3570 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3571 if test "${ac_cv_objext+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 cat >conftest.$ac_ext <<_ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3589 rm -f conftest.o conftest.obj
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }; then
3595 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3598 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3606 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3607 See \`config.log' for more details." >&5
3608 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3609 See \`config.log' for more details." >&2;}
3610 { (exit 1); exit 1; }; }
3613 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3615 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3616 echo "${ECHO_T}$ac_cv_objext" >&6
3617 OBJEXT=$ac_cv_objext
3619 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3620 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3621 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3642 rm -f conftest.$ac_objext
3643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3644 (eval $ac_compile) 2>conftest.er1
3646 grep -v '^ *+' conftest.er1 >conftest.err
3648 cat conftest.err >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } &&
3651 { ac_try='test -z "$ac_c_werror_flag"
3652 || test ! -s conftest.err'
3653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); }; } &&
3658 { ac_try='test -s conftest.$ac_objext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3666 echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3672 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3675 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3676 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3677 GCC=`test $ac_compiler_gnu = yes && echo yes`
3678 ac_test_CFLAGS=${CFLAGS+set}
3679 ac_save_CFLAGS=$CFLAGS
3681 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3682 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3683 if test "${ac_cv_prog_cc_g+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 cat >conftest.$ac_ext <<_ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3701 rm -f conftest.$ac_objext
3702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3703 (eval $ac_compile) 2>conftest.er1
3705 grep -v '^ *+' conftest.er1 >conftest.err
3707 cat conftest.err >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } &&
3710 { ac_try='test -z "$ac_c_werror_flag"
3711 || test ! -s conftest.err'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; } &&
3717 { ac_try='test -s conftest.$ac_objext'
3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; }; then
3725 echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.$ac_ext >&5
3730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3732 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3733 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3734 if test "$ac_test_CFLAGS" = set; then
3735 CFLAGS=$ac_save_CFLAGS
3736 elif test $ac_cv_prog_cc_g = yes; then
3737 if test "$GCC" = yes; then
3743 if test "$GCC" = yes; then
3749 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3750 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3751 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 ac_cv_prog_cc_stdc=no
3756 cat >conftest.$ac_ext <<_ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3764 #include <sys/types.h>
3765 #include <sys/stat.h>
3766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3767 struct buf { int x; };
3768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3769 static char *e (p, i)
3775 static char *f (char * (*g) (char **, int), char **p, ...)
3780 s = g (p, va_arg (v,int));
3785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3786 function prototypes and stuff, but not '\xHH' hex character constants.
3787 These don't provoke an error unfortunately, instead are silently treated
3788 as 'x'. The following induces an error, until -std1 is added to get
3789 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3790 array size at least. It's necessary to write '\x00'==0 to get something
3791 that's true only with -std1. */
3792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3794 int test (int i, double x);
3795 struct s1 {int (*f) (int a);};
3796 struct s2 {int (*f) (double a);};
3797 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3803 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3808 # Don't try gcc -ansi; that turns off useful extensions and
3809 # breaks some systems' header files.
3810 # AIX -qlanglvl=ansi
3811 # Ultrix and OSF/1 -std1
3812 # HP-UX 10.20 and later -Ae
3813 # HP-UX older versions -Aa -D_HPUX_SOURCE
3814 # SVR4 -Xc -D__EXTENSIONS__
3815 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3817 CC="$ac_save_CC $ac_arg"
3818 rm -f conftest.$ac_objext
3819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3820 (eval $ac_compile) 2>conftest.er1
3822 grep -v '^ *+' conftest.er1 >conftest.err
3824 cat conftest.err >&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); } &&
3827 { ac_try='test -z "$ac_c_werror_flag"
3828 || test ! -s conftest.err'
3829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }; } &&
3834 { ac_try='test -s conftest.$ac_objext'
3835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; }; then
3840 ac_cv_prog_cc_stdc=$ac_arg
3843 echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3847 rm -f conftest.err conftest.$ac_objext
3849 rm -f conftest.$ac_ext conftest.$ac_objext
3854 case "x$ac_cv_prog_cc_stdc" in
3856 echo "$as_me:$LINENO: result: none needed" >&5
3857 echo "${ECHO_T}none needed" >&6 ;;
3859 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3860 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3861 CC="$CC $ac_cv_prog_cc_stdc" ;;
3864 # Some people use a C++ compiler to compile C. Since we use `exit',
3865 # in C++ we need to declare it. In case someone uses the same compiler
3866 # for both compiling C and C++ we need to have the C++ compiler decide
3867 # the declaration of exit, since it's the most demanding environment.
3868 cat >conftest.$ac_ext <<_ACEOF
3873 rm -f conftest.$ac_objext
3874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3875 (eval $ac_compile) 2>conftest.er1
3877 grep -v '^ *+' conftest.er1 >conftest.err
3879 cat conftest.err >&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } &&
3882 { ac_try='test -z "$ac_c_werror_flag"
3883 || test ! -s conftest.err'
3884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); }; } &&
3889 { ac_try='test -s conftest.$ac_objext'
3890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); }; }; then
3895 for ac_declaration in \
3897 'extern "C" void std::exit (int) throw (); using std::exit;' \
3898 'extern "C" void std::exit (int); using std::exit;' \
3899 'extern "C" void exit (int) throw ();' \
3900 'extern "C" void exit (int);' \
3903 cat >conftest.$ac_ext <<_ACEOF
3906 cat confdefs.h >>conftest.$ac_ext
3907 cat >>conftest.$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3919 rm -f conftest.$ac_objext
3920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3921 (eval $ac_compile) 2>conftest.er1
3923 grep -v '^ *+' conftest.er1 >conftest.err
3925 cat conftest.err >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); } &&
3928 { ac_try='test -z "$ac_c_werror_flag"
3929 || test ! -s conftest.err'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; } &&
3935 { ac_try='test -s conftest.$ac_objext'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; }; then
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3949 cat >conftest.$ac_ext <<_ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3964 rm -f conftest.$ac_objext
3965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3966 (eval $ac_compile) 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } &&
3973 { ac_try='test -z "$ac_c_werror_flag"
3974 || test ! -s conftest.err'
3975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); }; } &&
3980 { ac_try='test -s conftest.$ac_objext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3988 echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.$ac_ext >&5
3992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3995 if test -n "$ac_declaration"; then
3996 echo '#ifdef __cplusplus' >>confdefs.h
3997 echo $ac_declaration >>confdefs.h
3998 echo '#endif' >>confdefs.h
4002 echo "$as_me: failed program was:" >&5
4003 sed 's/^/| /' conftest.$ac_ext >&5
4006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4008 ac_cpp='$CPP $CPPFLAGS'
4009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013 depcc="$CC" am_compiler_list=
4015 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4016 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4017 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4021 # We make a subdir and do the tests there. Otherwise we can end up
4022 # making bogus files that we don't know about and never remove. For
4023 # instance it was reported that on HP-UX the gcc test will end up
4024 # making a dummy file named `D' -- because `-MD' means `put the output
4027 # Copy depcomp to subdir because otherwise we won't find it if we're
4028 # using a relative directory.
4029 cp "$am_depcomp" conftest.dir
4031 # We will build objects and dependencies in a subdirectory because
4032 # it helps to detect inapplicable dependency modes. For instance
4033 # both Tru64's cc and ICC support -MD to output dependencies as a
4034 # side effect of compilation, but ICC will put the dependencies in
4035 # the current directory while Tru64 will put them in the object
4039 am_cv_CC_dependencies_compiler_type=none
4040 if test "$am_compiler_list" = ""; then
4041 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4043 for depmode in $am_compiler_list; do
4044 # Setup a source with many dependencies, because some compilers
4045 # like to wrap large dependency lists on column 80 (with \), and
4046 # we should not choose a depcomp mode which is confused by this.
4048 # We need to recreate these files for each test, as the compiler may
4049 # overwrite some of them when testing with obscure command lines.
4050 # This happens at least with the AIX C compiler.
4052 for i in 1 2 3 4 5 6; do
4053 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4054 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4055 # Solaris 8's {/usr,}/bin/sh.
4056 touch sub/conftst$i.h
4058 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4062 # after this tag, mechanisms are not by side-effect, so they'll
4063 # only be used when explicitly requested
4064 if test "x$enable_dependency_tracking" = xyes; then
4072 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4073 # mode. It turns out that the SunPro C++ compiler does not properly
4074 # handle `-M -o', and we need to detect this.
4075 if depmode=$depmode \
4076 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4077 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4078 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4079 >/dev/null 2>conftest.err &&
4080 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4081 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4082 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4083 # icc doesn't choke on unknown options, it will just issue warnings
4084 # or remarks (even with -Werror). So we grep stderr for any message
4085 # that says an option was ignored or not supported.
4086 # When given -MP, icc 7.0 and 7.1 complain thusly:
4087 # icc: Command line warning: ignoring option '-M'; no argument required
4088 # The diagnosis changed in icc 8.0:
4089 # icc: Command line remark: option '-MP' not supported
4090 if (grep 'ignoring option' conftest.err ||
4091 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4092 am_cv_CC_dependencies_compiler_type=$depmode
4101 am_cv_CC_dependencies_compiler_type=none
4105 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4106 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4107 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4112 test "x$enable_dependency_tracking" != xno \
4113 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4115 am__fastdepCC_FALSE='#'
4117 am__fastdepCC_TRUE='#'
4118 am__fastdepCC_FALSE=
4123 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4124 if test "${with_gnu_ld+set}" = set; then
4125 withval="$with_gnu_ld"
4126 test "$withval" = no || with_gnu_ld=yes
4131 if test "$GCC" = yes; then
4132 # Check if gcc -print-prog-name=ld gives a path.
4133 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4134 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4137 # gcc leaves a trailing carriage return which upsets mingw
4138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4143 # Accept absolute paths.
4144 [\\/]* | [A-Za-z]:[\\/]*)
4145 re_direlt='/[^/][^/]*/\.\./'
4146 # Canonicalize the path of ld
4147 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4148 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4149 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4151 test -z "$LD" && LD="$ac_prog"
4154 # If it fails, then pretend we aren't using GCC.
4158 # If it is relative, then search for the first ld in PATH.
4162 elif test "$with_gnu_ld" = yes; then
4163 echo "$as_me:$LINENO: checking for GNU ld" >&5
4164 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4166 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4167 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4169 if test "${lt_cv_path_LD+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -z "$LD"; then
4173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4174 for ac_dir in $PATH; do
4175 test -z "$ac_dir" && ac_dir=.
4176 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4177 lt_cv_path_LD="$ac_dir/$ac_prog"
4178 # Check to see if the program is GNU ld. I'd rather use --version,
4179 # but apparently some GNU ld's only accept -v.
4180 # Break only if it was the GNU/non-GNU ld that we prefer.
4181 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4182 test "$with_gnu_ld" != no && break
4184 test "$with_gnu_ld" != yes && break
4190 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4195 if test -n "$LD"; then
4196 echo "$as_me:$LINENO: result: $LD" >&5
4197 echo "${ECHO_T}$LD" >&6
4199 echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6
4202 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4203 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4204 { (exit 1); exit 1; }; }
4205 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4206 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4207 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4211 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4212 lt_cv_prog_gnu_ld=yes
4214 lt_cv_prog_gnu_ld=no
4217 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4218 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4219 with_gnu_ld=$lt_cv_prog_gnu_ld
4222 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4223 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4224 if test "${lt_cv_ld_reload_flag+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 lt_cv_ld_reload_flag='-r'
4229 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4230 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4231 reload_flag=$lt_cv_ld_reload_flag
4232 test -n "$reload_flag" && reload_flag=" $reload_flag"
4234 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4235 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4236 if test "${lt_cv_path_NM+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 if test -n "$NM"; then
4240 # Let the user override the test.
4243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4244 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4245 test -z "$ac_dir" && ac_dir=.
4246 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4247 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4248 # Check to see if the nm accepts a BSD-compat flag.
4249 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4250 # nm: unknown option "B" ignored
4251 # Tru64's nm complains that /dev/null is an invalid object file
4252 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4253 lt_cv_path_NM="$tmp_nm -B"
4255 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4256 lt_cv_path_NM="$tmp_nm -p"
4259 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4260 continue # so that we can try to find one that supports BSD flags
4265 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4270 echo "$as_me:$LINENO: result: $NM" >&5
4271 echo "${ECHO_T}$NM" >&6
4273 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4274 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4276 if test "$LN_S" = "ln -s"; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4281 echo "${ECHO_T}no, using $LN_S" >&6
4284 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4285 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4286 if test "${lt_cv_deplibs_check_method+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 lt_cv_file_magic_cmd='$MAGIC_CMD'
4290 lt_cv_file_magic_test_file=
4291 lt_cv_deplibs_check_method='unknown'
4292 # Need to set the preceding variable on all platforms that support
4293 # interlibrary dependencies.
4294 # 'none' -- dependencies not supported.
4295 # `unknown' -- same as none, but documents that we really don't know.
4296 # 'pass_all' -- all dependencies passed with no checks.
4297 # 'test_compile' -- check by making test program.
4298 # 'file_magic [regex]' -- check by looking for files in library path
4299 # which responds to the $file_magic_cmd with a given egrep regex.
4300 # If you have `file' or equivalent on your system and you're not sure
4301 # whether `pass_all' will *always* work, you probably want this one.
4305 lt_cv_deplibs_check_method=pass_all
4309 lt_cv_deplibs_check_method=pass_all
4313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4314 lt_cv_file_magic_cmd='/usr/bin/file -L'
4315 lt_cv_file_magic_test_file=/shlib/libc.so
4318 cygwin* | mingw* |pw32*)
4319 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4320 lt_cv_file_magic_cmd='$OBJDUMP -f'
4323 darwin* | rhapsody*)
4324 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4325 lt_cv_file_magic_cmd='/usr/bin/file -L'
4327 rhapsody* | darwin1.012)
4328 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4331 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4337 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4340 # Not sure whether the presence of OpenBSD here was a mistake.
4341 # Let's accept both of them until this is cleared up.
4342 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4343 lt_cv_file_magic_cmd=/usr/bin/file
4344 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4348 lt_cv_deplibs_check_method=pass_all
4353 lt_cv_deplibs_check_method=pass_all
4359 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4360 lt_cv_file_magic_cmd=/usr/bin/file
4361 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4364 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4365 lt_cv_file_magic_cmd=/usr/bin/file
4366 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4374 # this will be overridden with pass_all, but let us keep it just in case
4375 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4379 *-32|*"-32 ") libmagic=32-bit;;
4380 *-n32|*"-n32 ") libmagic=N32;;
4381 *-64|*"-64 ") libmagic=64-bit;;
4382 *) libmagic=never-match;;
4384 # this will be overridden with pass_all, but let us keep it just in case
4385 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4388 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4389 lt_cv_deplibs_check_method=pass_all
4392 # This must be Linux ELF.
4393 linux-gnu*|linux-newlib*)
4395 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4396 lt_cv_deplibs_check_method=pass_all ;;
4398 # glibc up to 2.1.1 does not perform some relocations on ARM
4399 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4401 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4405 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4406 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4408 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4413 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4414 lt_cv_file_magic_cmd=/usr/bin/file
4415 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4418 osf3* | osf4* | osf5*)
4419 # this will be overridden with pass_all, but let us keep it just in case
4420 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4421 lt_cv_file_magic_test_file=/shlib/libc.so
4422 lt_cv_deplibs_check_method=pass_all
4426 lt_cv_deplibs_check_method=pass_all
4430 lt_cv_deplibs_check_method=pass_all
4431 lt_cv_file_magic_test_file=/lib/libc.so
4434 sysv5uw[78]* | sysv4*uw2*)
4435 lt_cv_deplibs_check_method=pass_all
4438 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4439 case $host_vendor in
4441 lt_cv_deplibs_check_method=pass_all
4444 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4445 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4452 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4453 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4454 file_magic_cmd=$lt_cv_file_magic_cmd
4455 deplibs_check_method=$lt_cv_deplibs_check_method
4460 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4462 # Only perform the check for file, if the check method requires it
4463 case $deplibs_check_method in
4465 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4466 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4467 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4468 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4476 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4479 ac_save_MAGIC_CMD="$MAGIC_CMD"
4480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4481 ac_dummy="/usr/bin:$PATH"
4482 for ac_dir in $ac_dummy; do
4483 test -z "$ac_dir" && ac_dir=.
4484 if test -f $ac_dir/${ac_tool_prefix}file; then
4485 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4486 if test -n "$file_magic_test_file"; then
4487 case $deplibs_check_method in
4489 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4490 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4491 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4492 egrep "$file_magic_regex" > /dev/null; then
4497 *** Warning: the command libtool uses to detect shared libraries,
4498 *** $file_magic_cmd, produces output that libtool cannot recognize.
4499 *** The result is that libtool may fail to recognize shared libraries
4500 *** as such. This will affect the creation of libtool libraries that
4501 *** depend on shared libraries, but programs linked with such libtool
4502 *** libraries will work regardless of this problem. Nevertheless, you
4503 *** may want to report the problem to your system manager and/or to
4504 *** bug-libtool@gnu.org
4514 MAGIC_CMD="$ac_save_MAGIC_CMD"
4519 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4520 if test -n "$MAGIC_CMD"; then
4521 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4522 echo "${ECHO_T}$MAGIC_CMD" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4528 if test -z "$lt_cv_path_MAGIC_CMD"; then
4529 if test -n "$ac_tool_prefix"; then
4530 echo "$as_me:$LINENO: checking for file" >&5
4531 echo $ECHO_N "checking for file... $ECHO_C" >&6
4532 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4540 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4543 ac_save_MAGIC_CMD="$MAGIC_CMD"
4544 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4545 ac_dummy="/usr/bin:$PATH"
4546 for ac_dir in $ac_dummy; do
4547 test -z "$ac_dir" && ac_dir=.
4548 if test -f $ac_dir/file; then
4549 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4550 if test -n "$file_magic_test_file"; then
4551 case $deplibs_check_method in
4553 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4555 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4556 egrep "$file_magic_regex" > /dev/null; then
4561 *** Warning: the command libtool uses to detect shared libraries,
4562 *** $file_magic_cmd, produces output that libtool cannot recognize.
4563 *** The result is that libtool may fail to recognize shared libraries
4564 *** as such. This will affect the creation of libtool libraries that
4565 *** depend on shared libraries, but programs linked with such libtool
4566 *** libraries will work regardless of this problem. Nevertheless, you
4567 *** may want to report the problem to your system manager and/or to
4568 *** bug-libtool@gnu.org
4578 MAGIC_CMD="$ac_save_MAGIC_CMD"
4583 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4584 if test -n "$MAGIC_CMD"; then
4585 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4586 echo "${ECHO_T}$MAGIC_CMD" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4601 if test -n "$ac_tool_prefix"; then
4602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4603 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4604 echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606 if test "${ac_cv_prog_RANLIB+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 if test -n "$RANLIB"; then
4610 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 RANLIB=$ac_cv_prog_RANLIB
4629 if test -n "$RANLIB"; then
4630 echo "$as_me:$LINENO: result: $RANLIB" >&5
4631 echo "${ECHO_T}$RANLIB" >&6
4633 echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6
4638 if test -z "$ac_cv_prog_RANLIB"; then
4639 ac_ct_RANLIB=$RANLIB
4640 # Extract the first word of "ranlib", so it can be a program name with args.
4641 set dummy ranlib; ac_word=$2
4642 echo "$as_me:$LINENO: checking for $ac_word" >&5
4643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4644 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 if test -n "$ac_ct_RANLIB"; then
4648 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_ac_ct_RANLIB="ranlib"
4658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4667 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4668 if test -n "$ac_ct_RANLIB"; then
4669 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4670 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4676 RANLIB=$ac_ct_RANLIB
4678 RANLIB="$ac_cv_prog_RANLIB"
4681 if test -n "$ac_tool_prefix"; then
4682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4683 set dummy ${ac_tool_prefix}strip; ac_word=$2
4684 echo "$as_me:$LINENO: checking for $ac_word" >&5
4685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4686 if test "${ac_cv_prog_STRIP+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 if test -n "$STRIP"; then
4690 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 STRIP=$ac_cv_prog_STRIP
4709 if test -n "$STRIP"; then
4710 echo "$as_me:$LINENO: result: $STRIP" >&5
4711 echo "${ECHO_T}$STRIP" >&6
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4718 if test -z "$ac_cv_prog_STRIP"; then
4720 # Extract the first word of "strip", so it can be a program name with args.
4721 set dummy strip; ac_word=$2
4722 echo "$as_me:$LINENO: checking for $ac_word" >&5
4723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4724 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 if test -n "$ac_ct_STRIP"; then
4728 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4737 ac_cv_prog_ac_ct_STRIP="strip"
4738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4747 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4748 if test -n "$ac_ct_STRIP"; then
4749 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4750 echo "${ECHO_T}$ac_ct_STRIP" >&6
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4758 STRIP="$ac_cv_prog_STRIP"
4762 # Check for any special flags to pass to ltconfig.
4763 libtool_flags="--cache-file=$cache_file"
4764 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4765 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4766 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4767 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4768 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4771 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4772 if test "${enable_libtool_lock+set}" = set; then
4773 enableval="$enable_libtool_lock"
4776 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4777 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4780 # Check whether --with-pic or --without-pic was given.
4781 if test "${with_pic+set}" = set; then
4787 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4788 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4790 # Some flags need to be propagated to the compiler or linker for good
4794 # Find out which ABI we are using.
4795 echo '#line 4795 "configure"' > conftest.$ac_ext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; then
4801 case `/usr/bin/file conftest.$ac_objext` in
4817 # Find out which ABI we are using.
4818 echo 'int i;' > conftest.$ac_ext
4819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4820 (eval $ac_compile) 2>&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; then
4824 case "`/usr/bin/file conftest.o`" in
4837 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4838 SAVE_CFLAGS="$CFLAGS"
4839 CFLAGS="$CFLAGS -belf"
4840 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4841 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4842 if test "${lt_cv_cc_needs_belf+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 ac_cpp='$CPP $CPPFLAGS'
4849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4853 cat >conftest.$ac_ext <<_ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4868 rm -f conftest.$ac_objext conftest$ac_exeext
4869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4870 (eval $ac_link) 2>conftest.er1
4872 grep -v '^ *+' conftest.er1 >conftest.err
4874 cat conftest.err >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } &&
4877 { ac_try='test -z "$ac_c_werror_flag"
4878 || test ! -s conftest.err'
4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }; } &&
4884 { ac_try='test -s conftest$ac_exeext'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; }; then
4890 lt_cv_cc_needs_belf=yes
4892 echo "$as_me: failed program was:" >&5
4893 sed 's/^/| /' conftest.$ac_ext >&5
4895 lt_cv_cc_needs_belf=no
4897 rm -f conftest.err conftest.$ac_objext \
4898 conftest$ac_exeext conftest.$ac_ext
4900 ac_cpp='$CPP $CPPFLAGS'
4901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4906 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4907 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4908 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4909 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4910 CFLAGS="$SAVE_CFLAGS"
4918 # Save cache, so that ltconfig can load it
4919 cat >confcache <<\_ACEOF
4920 # This file is a shell script that caches the results of configure
4921 # tests run on this system so they can be shared between configure
4922 # scripts and configure runs, see configure's option --config-cache.
4923 # It is not useful on other systems. If it contains results you don't
4924 # want to keep, you may remove or edit it.
4926 # config.status only pays attention to the cache file if you give it
4927 # the --recheck option to rerun configure.
4929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4935 # The following way of writing the cache mishandles newlines in values,
4936 # but we know of no workaround that is simple, portable, and efficient.
4937 # So, don't put newlines in cache variables' values.
4938 # Ultrix sh set writes to stderr and can't be redirected directly,
4939 # and sets the high bit in the cache file unless we assign to the vars.
4942 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4944 # `set' does not quote correctly, so add quotes (double-quote
4945 # substitution turns \\\\ into \\, and sed turns \\ into \).
4948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4951 # `set' quotes correctly as required by POSIX, so do not add quotes.
4953 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4960 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4962 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4964 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4965 if test -w $cache_file; then
4966 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4967 cat confcache >$cache_file
4969 echo "not updating unwritable cache $cache_file"
4974 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4975 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4976 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4977 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4978 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4979 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4980 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4981 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4982 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4983 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4984 echo "$as_me: error: libtool configure failed" >&2;}
4985 { (exit 1); exit 1; }; }
4987 # Reload cache, that may have been modified by ltconfig
4988 if test -r "$cache_file"; then
4989 # Some versions of bash will fail to source /dev/null (special
4990 # files actually), so we avoid doing that.
4991 if test -f "$cache_file"; then
4992 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4993 echo "$as_me: loading cache $cache_file" >&6;}
4995 [\\/]* | ?:[\\/]* ) . $cache_file;;
4996 *) . ./$cache_file;;
5000 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5001 echo "$as_me: creating cache $cache_file" >&6;}
5006 # This can be used to rebuild libtool when needed
5007 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5009 # Always use our own libtool.
5010 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5012 # Redirect the config.log output again, so that the ltconfig log is not
5013 # clobbered by the next message.
5014 exec 5>>./config.log
5021 for ac_prog in gawk mawk nawk awk
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy $ac_prog; ac_word=$2
5025 echo "$as_me:$LINENO: checking for $ac_word" >&5
5026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5027 if test "${ac_cv_prog_AWK+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 if test -n "$AWK"; then
5031 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_AWK="$ac_prog"
5041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 if test -n "$AWK"; then
5051 echo "$as_me:$LINENO: result: $AWK" >&5
5052 echo "${ECHO_T}$AWK" >&6
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5058 test -n "$AWK" && break
5063 # Check whether --enable-newlib_hw_fp or --disable-newlib_hw_fp was given.
5064 if test "${enable_newlib_hw_fp+set}" = set; then
5065 enableval="$enable_newlib_hw_fp"
5066 case "${enableval}" in
5067 yes) newlib_hw_fp=true ;;
5068 no) newlib_hw_fp=false ;;
5069 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-newlib-hw-fp" >&5
5070 echo "$as_me: error: bad value ${enableval} for --enable-newlib-hw-fp" >&2;}
5071 { (exit 1); exit 1; }; } ;;
5078 if test x$newlib_hw_fp = xtrue; then
5080 NEWLIB_HW_FP_FALSE='#'
5082 NEWLIB_HW_FP_TRUE='#'
5087 # These get added in the top-level configure.in, except in the case where
5088 # newlib is being built natively.
5089 LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include`
5090 abs_newlib_basedir=`cd ${newlib_basedir} && pwd`
5091 if test -z "${LIBC_INCLUDE_GREP}"; then
5092 CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include"
5094 CC_FOR_NEWLIB="${CC}"
5100 subdirs="$subdirs libc"
5104 subdirs="$subdirs libm"
5107 if test -z "${with_multisubdir}"; then
5110 subdirs="$subdirs doc"
5118 if test x$have_doc = xyes; then
5129 i[34567]86-pc-linux-*)
5132 subdirs="$subdirs iconvdata"
5134 EXTRA_DIRS=iconvdata
5141 if test "x${have_crt0}" = "xyes"; then
5150 if test -n "${crt1_dir}"; then
5151 CRT1_DIR=${crt1_dir}/
5156 if test -n "${libm_machine_dir}"; then
5157 LIBM_MACHINE_OBJECTLIST=libm/machine/${libm_machine_dir}/objectlist.awk.in
5161 if test -n "${machine_dir}"; then
5162 MACHINE_OBJECTLIST=libc/machine/${machine_dir}/objectlist.awk.in
5166 if test -n "${sys_dir}"; then
5167 SYS_OBJECTLIST=libc/sys/${sys_dir}/objectlist.awk.in
5171 if test "${have_sys_mach_dir}" = "yes"; then
5172 SYS_MACH_OBJECTLIST=libc/sys/${sys_dir}/machine/${machine_dir}/objectlist.awk.in
5176 if test -n "${posix_dir}"; then
5177 POSIX_OBJECTLIST=libc/${posix_dir}/objectlist.awk.in
5181 if test -n "${signal_dir}"; then
5182 SIGNAL_OBJECTLIST=libc/${signal_dir}/objectlist.awk.in
5186 if test -n "${syscall_dir}"; then
5187 SYSCALL_OBJECTLIST=libc/${syscall_dir}/objectlist.awk.in
5191 if test -n "${unix_dir}"; then
5192 UNIX_OBJECTLIST=libc/${unix_dir}/objectlist.awk.in
5196 if test -n "${stdio64_dir}"; then
5197 STDIO64_OBJECTLIST=libc/${stdio64_dir}/objectlist.awk.in
5201 # Put a plausible default for CC_FOR_BUILD in Makefile.
5202 if test -z "$CC_FOR_BUILD"; then
5207 if test "${newlib_elix_level}" -gt "0"; then
5208 cat >>confdefs.h <<_ACEOF
5209 #define _ELIX_LEVEL ${newlib_elix_level}
5214 if test "${newlib_io_c99_formats}" = "yes"; then
5215 cat >>confdefs.h <<_ACEOF
5216 #define _WANT_IO_C99_FORMATS 1
5221 if test "${newlib_io_long_long}" = "yes"; then
5222 cat >>confdefs.h <<_ACEOF
5223 #define _WANT_IO_LONG_LONG 1
5228 if test "${newlib_io_long_double}" = "yes"; then
5229 cat >>confdefs.h <<_ACEOF
5230 #define _WANT_IO_LONG_DOUBLE 1
5235 if test "${newlib_io_pos_args}" = "yes"; then
5236 cat >>confdefs.h <<_ACEOF
5237 #define _WANT_IO_POS_ARGS 1
5242 if test "${newlib_reent_small}" = "yes"; then
5243 cat >>confdefs.h <<_ACEOF
5244 #define _WANT_REENT_SMALL 1
5249 if test "${newlib_mb}" = "yes"; then
5250 cat >>confdefs.h <<_ACEOF
5251 #define _MB_CAPABLE 1
5254 cat >>confdefs.h <<_ACEOF
5255 #define _MB_LEN_MAX 8
5259 cat >>confdefs.h <<_ACEOF
5260 #define _MB_LEN_MAX 1
5265 if test "${newlib_iconv_external_ccs}" = "yes"; then
5266 cat >>confdefs.h <<_ACEOF
5267 #define _ICONV_ENABLE_EXTERNAL_CCS 1
5272 cat >>confdefs.h <<_ACEOF
5273 #define _NEWLIB_VERSION "1.15.0"
5277 if test "${multilib}" = "yes"; then
5278 multilib_arg="--enable-multilib"
5283 if test "${newlib_iconv}" = "yes"; then
5284 cat >>confdefs.h <<_ACEOF
5285 #define _ICONV_ENABLED 1
5290 if test "x${newlib_iconv_external_ccs}" = "xyes"; then
5291 if test "x${newlib_iconv}" = "x"; then
5292 { { echo "$as_me:$LINENO: error: --enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled" >&5
5293 echo "$as_me: error: --enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled" >&2;}
5294 { (exit use --enable-newlib-iconv to enable it.); exit use --enable-newlib-iconv to enable it.; }; }
5296 cat >>confdefs.h <<_ACEOF
5297 #define _ICONV_ENABLE_EXTERNAL_CCS 1
5302 if test "${newlib_atexit_dynamic_alloc}" = "yes"; then
5303 cat >>confdefs.h <<_ACEOF
5304 #define _ATEXIT_DYNAMIC_ALLOC 1
5310 if test "x${iconv_encodings}" != "x" \
5311 || test "x${iconv_to_encodings}" != "x" \
5312 || test "x${iconv_from_encodings}" != "x"; then
5313 if test "x${newlib_iconv}" = "x"; then
5314 { { echo "$as_me:$LINENO: error: --enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it." >&5
5315 echo "$as_me: error: --enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it." >&2;}
5316 { (exit 1); exit 1; }; }
5319 iconv_encodings=`echo "${iconv_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
5320 iconv_to_encodings=`echo "${iconv_to_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
5321 iconv_from_encodings=`echo "${iconv_from_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
5323 available_encodings=`cat "${srcdir}/libc/iconv/encoding.aliases" | sed -e '/^#.*/d'`
5326 iconv_encodings1="${iconv_encodings}"
5328 for encoding in ${iconv_encodings1}; do
5329 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
5330 if test $? != "0"; then
5331 { { echo "$as_me:$LINENO: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&5
5332 echo "$as_me: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&2;}
5333 { (exit 1); exit 1; }; }
5335 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
5336 iconv_encodings="${iconv_encodings} ${encoding1}"
5338 for encoding in ${iconv_encodings}; do
5339 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5340 cat >>confdefs.h <<_ACEOF
5344 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5345 cat >>confdefs.h <<_ACEOF
5351 iconv_encodings1="${iconv_to_encodings}"
5352 iconv_to_encodings=""
5353 for encoding in ${iconv_encodings1}; do
5354 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
5355 if test $? != "0"; then
5356 { { echo "$as_me:$LINENO: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&5
5357 echo "$as_me: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&2;}
5358 { (exit 1); exit 1; }; }
5360 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
5361 iconv_to_encodings="${iconv_to_encodings} ${encoding1}"
5363 for encoding in ${iconv_to_encodings}; do
5364 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5365 cat >>confdefs.h <<_ACEOF
5371 iconv_encodings1="${iconv_from_encodings}"
5372 iconv_from_encodings=""
5373 for encoding in ${iconv_encodings1}; do
5374 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
5375 if test $? != "0"; then
5376 { { echo "$as_me:$LINENO: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&5
5377 echo "$as_me: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&2;}
5378 { (exit 1); exit 1; }; }
5380 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
5381 iconv_from_encodings="${iconv_from_encodings} ${encoding1}"
5383 for encoding in ${iconv_from_encodings}; do
5384 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5385 cat >>confdefs.h <<_ACEOF
5392 echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
5393 echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6
5394 if test "${libc_cv_initfinit_array+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 cat > conftest.c <<EOF
5398 int _start (void) { return 0; }
5399 int __start (void) { return 0; }
5400 int foo (void) { return 1; }
5401 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5403 if { ac_try='${CC} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
5404 -static -nostartfiles -nostdlib 1>&5'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }
5411 if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then
5412 libc_cv_initfinit_array=yes
5414 libc_cv_initfinit_array=no
5417 libc_cv_initfinit_array=no
5421 echo "$as_me:$LINENO: result: $libc_cv_initfinit_array" >&5
5422 echo "${ECHO_T}$libc_cv_initfinit_array" >&6
5424 if test $libc_cv_initfinit_array = yes; then
5425 cat >>confdefs.h <<_ACEOF
5426 #define HAVE_INITFINI_ARRAY 1
5431 echo "$as_me:$LINENO: checking for array aliasing support" >&5
5432 echo $ECHO_N "checking for array aliasing support... $ECHO_C" >&6
5433 if test "${libc_cv_array_aliasing+set}" = set; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 cat > conftest.c <<EOF
5437 char x3 = { 'a', 'b', 'c' };
5438 extern char y2 __attribute__((alias ("x+1")));
5440 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c conftest.c
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; }
5448 libc_cv_array_aliasing=yes
5450 libc_cv_array_aliasing=no
5454 echo "$as_me:$LINENO: result: $libc_cv_array_aliasing" >&5
5455 echo "${ECHO_T}$libc_cv_array_aliasing" >&6
5457 if test $libc_cv_array_aliasing = yes; then
5458 cat >>confdefs.h <<_ACEOF
5459 #define _HAVE_ARRAY_ALIASING 1
5464 ac_config_files="$ac_config_files Makefile"
5466 cat >confcache <<\_ACEOF
5467 # This file is a shell script that caches the results of configure
5468 # tests run on this system so they can be shared between configure
5469 # scripts and configure runs, see configure's option --config-cache.
5470 # It is not useful on other systems. If it contains results you don't
5471 # want to keep, you may remove or edit it.
5473 # config.status only pays attention to the cache file if you give it
5474 # the --recheck option to rerun configure.
5476 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5482 # The following way of writing the cache mishandles newlines in values,
5483 # but we know of no workaround that is simple, portable, and efficient.
5484 # So, don't put newlines in cache variables' values.
5485 # Ultrix sh set writes to stderr and can't be redirected directly,
5486 # and sets the high bit in the cache file unless we assign to the vars.
5489 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5491 # `set' does not quote correctly, so add quotes (double-quote
5492 # substitution turns \\\\ into \\, and sed turns \\ into \).
5495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5498 # `set' quotes correctly as required by POSIX, so do not add quotes.
5500 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5509 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5511 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5512 if test -w $cache_file; then
5513 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5514 cat confcache >$cache_file
5516 echo "not updating unwritable cache $cache_file"
5521 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5522 # Let make expand exec_prefix.
5523 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5525 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5526 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5527 # trailing colons and then remove the whole line if VPATH becomes empty
5528 # (actually we leave an empty line to preserve line numbers).
5529 if test "x$srcdir" = x.; then
5530 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5531 s/:*\$(srcdir):*/:/;
5532 s/:*\${srcdir}:*/:/;
5534 s/^\([^=]*=[ ]*\):*/\1/;
5540 DEFS=-DHAVE_CONFIG_H
5544 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5545 # 1. Remove the extension, and $U if already installed.
5546 ac_i=`echo "$ac_i" |
5547 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5549 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5550 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5554 LTLIBOBJS=$ac_ltlibobjs
5557 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5558 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5559 Usually this means the macro was only invoked conditionally." >&5
5560 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5561 Usually this means the macro was only invoked conditionally." >&2;}
5562 { (exit 1); exit 1; }; }
5564 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5565 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5566 Usually this means the macro was only invoked conditionally." >&5
5567 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5568 Usually this means the macro was only invoked conditionally." >&2;}
5569 { (exit 1); exit 1; }; }
5571 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5572 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5573 Usually this means the macro was only invoked conditionally." >&5
5574 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5575 Usually this means the macro was only invoked conditionally." >&2;}
5576 { (exit 1); exit 1; }; }
5578 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5579 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5580 Usually this means the macro was only invoked conditionally." >&5
5581 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5582 Usually this means the macro was only invoked conditionally." >&2;}
5583 { (exit 1); exit 1; }; }
5585 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5586 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5587 Usually this means the macro was only invoked conditionally." >&5
5588 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5589 Usually this means the macro was only invoked conditionally." >&2;}
5590 { (exit 1); exit 1; }; }
5592 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5593 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5594 Usually this means the macro was only invoked conditionally." >&5
5595 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5596 Usually this means the macro was only invoked conditionally." >&2;}
5597 { (exit 1); exit 1; }; }
5599 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5600 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5601 Usually this means the macro was only invoked conditionally." >&5
5602 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5603 Usually this means the macro was only invoked conditionally." >&2;}
5604 { (exit 1); exit 1; }; }
5606 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5607 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5608 Usually this means the macro was only invoked conditionally." >&5
5609 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5610 Usually this means the macro was only invoked conditionally." >&2;}
5611 { (exit 1); exit 1; }; }
5613 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5614 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5615 Usually this means the macro was only invoked conditionally." >&5
5616 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5617 Usually this means the macro was only invoked conditionally." >&2;}
5618 { (exit 1); exit 1; }; }
5620 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5621 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5622 Usually this means the macro was only invoked conditionally." >&5
5623 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5624 Usually this means the macro was only invoked conditionally." >&2;}
5625 { (exit 1); exit 1; }; }
5627 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5628 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5629 Usually this means the macro was only invoked conditionally." >&5
5630 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5631 Usually this means the macro was only invoked conditionally." >&2;}
5632 { (exit 1); exit 1; }; }
5634 if test -z "${NEWLIB_HW_FP_TRUE}" && test -z "${NEWLIB_HW_FP_FALSE}"; then
5635 { { echo "$as_me:$LINENO: error: conditional \"NEWLIB_HW_FP\" was never defined.
5636 Usually this means the macro was only invoked conditionally." >&5
5637 echo "$as_me: error: conditional \"NEWLIB_HW_FP\" was never defined.
5638 Usually this means the macro was only invoked conditionally." >&2;}
5639 { (exit 1); exit 1; }; }
5641 if test -z "${HAVE_DOC_TRUE}" && test -z "${HAVE_DOC_FALSE}"; then
5642 { { echo "$as_me:$LINENO: error: conditional \"HAVE_DOC\" was never defined.
5643 Usually this means the macro was only invoked conditionally." >&5
5644 echo "$as_me: error: conditional \"HAVE_DOC\" was never defined.
5645 Usually this means the macro was only invoked conditionally." >&2;}
5646 { (exit 1); exit 1; }; }
5649 : ${CONFIG_STATUS=./config.status}
5650 ac_clean_files_save=$ac_clean_files
5651 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5652 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5653 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5654 cat >$CONFIG_STATUS <<_ACEOF
5656 # Generated by $as_me.
5657 # Run this file to recreate the current configuration.
5658 # Compiler output produced by configure, useful for debugging
5659 # configure, is in config.log if it exists.
5664 SHELL=\${CONFIG_SHELL-$SHELL}
5667 cat >>$CONFIG_STATUS <<\_ACEOF
5668 ## --------------------- ##
5669 ## M4sh Initialization. ##
5670 ## --------------------- ##
5672 # Be Bourne compatible
5673 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5676 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5677 # is contrary to our usage. Disable this feature.
5678 alias -g '${1+"$@"}'='"$@"'
5679 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5682 DUALCASE=1; export DUALCASE # for MKS sh
5684 # Support unset when possible.
5685 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5692 # Work around bugs in pre-3.0 UWIN ksh.
5693 $as_unset ENV MAIL MAILPATH
5700 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5701 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5702 LC_TELEPHONE LC_TIME
5704 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5705 eval $as_var=C; export $as_var
5711 # Required to use basename.
5712 if expr a : '\(a\)' >/dev/null 2>&1; then
5718 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5719 as_basename=basename
5725 # Name of the executable.
5726 as_me=`$as_basename "$0" ||
5727 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5728 X"$0" : 'X\(//\)$' \| \
5729 X"$0" : 'X\(/\)$' \| \
5730 . : '\(.\)' 2>/dev/null ||
5732 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5733 /^X\/\(\/\/\)$/{ s//\1/; q; }
5734 /^X\/\(\/\).*/{ s//\1/; q; }
5738 # PATH needs CR, and LINENO needs CR and PATH.
5739 # Avoid depending upon Character Ranges.
5740 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5741 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5742 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5743 as_cr_digits='0123456789'
5744 as_cr_alnum=$as_cr_Letters$as_cr_digits
5746 # The user is always right.
5747 if test "${PATH_SEPARATOR+set}" != set; then
5748 echo "#! /bin/sh" >conf$$.sh
5749 echo "exit 0" >>conf$$.sh
5751 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5762 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5763 test "x$as_lineno_1" != "x$as_lineno_2" &&
5764 test "x$as_lineno_3" = "x$as_lineno_2" || {
5765 # Find who we are. Look in the path if we contain no path at all
5768 *[\\/]* ) as_myself=$0 ;;
5769 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5779 # We did not find ourselves, most probably we were run as `sh COMMAND'
5780 # in which case we are not to be found in the path.
5781 if test "x$as_myself" = x; then
5784 if test ! -f "$as_myself"; then
5785 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5786 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5787 { (exit 1); exit 1; }; }
5789 case $CONFIG_SHELL in
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5795 test -z "$as_dir" && as_dir=.
5796 for as_base in sh bash ksh sh5; do
5799 if ("$as_dir/$as_base" -c '
5802 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5803 test "x$as_lineno_1" != "x$as_lineno_2" &&
5804 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5805 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5806 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5807 CONFIG_SHELL=$as_dir/$as_base
5809 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5817 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5818 # uniformly replaced by the line number. The first 'sed' inserts a
5819 # line-number line before each line; the second 'sed' does the real
5820 # work. The second script uses 'N' to pair each line-number line
5821 # with the numbered line, and appends trailing '-' during
5822 # substitution so that $LINENO is not a special case at line end.
5823 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5824 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5825 sed '=' <$as_myself |
5830 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5833 s,^['$as_cr_digits']*\n,,
5835 chmod +x $as_me.lineno ||
5836 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5837 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5838 { (exit 1); exit 1; }; }
5840 # Don't try to exec as it changes $[0], causing all sort of problems
5841 # (the dirname of $[0] is not the place where we might find the
5842 # original and so on. Autoconf is especially sensible to this).
5844 # Exit status is that of the last command.
5849 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5850 *c*,-n*) ECHO_N= ECHO_C='
5852 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5853 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5856 if expr a : '\(a\)' >/dev/null 2>&1; then
5862 rm -f conf$$ conf$$.exe conf$$.file
5864 if ln -s conf$$.file conf$$ 2>/dev/null; then
5865 # We could just check for DJGPP; but this test a) works b) is more generic
5866 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5867 if test -f conf$$.exe; then
5868 # Don't use ln at all; we don't have any links
5873 elif ln conf$$.file conf$$ 2>/dev/null; then
5878 rm -f conf$$ conf$$.exe conf$$.file
5880 if mkdir -p . 2>/dev/null; then
5883 test -d ./-p && rmdir ./-p
5887 as_executable_p="test -f"
5889 # Sed expression to map a string onto a valid CPP name.
5890 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5892 # Sed expression to map a string onto a valid variable name.
5893 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5897 # We need space, tab and new line, in precisely that order.
5907 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5908 # report actual input values of CONFIG_FILES etc. instead of their
5909 # values after options handling. Logging --version etc. is OK.
5913 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5914 ## Running $as_me. ##
5919 This file was extended by newlib $as_me 1.15.0, which was
5920 generated by GNU Autoconf 2.59. Invocation command line was
5922 CONFIG_FILES = $CONFIG_FILES
5923 CONFIG_HEADERS = $CONFIG_HEADERS
5924 CONFIG_LINKS = $CONFIG_LINKS
5925 CONFIG_COMMANDS = $CONFIG_COMMANDS
5929 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5933 # Files that config.status was made for.
5934 if test -n "$ac_config_files"; then
5935 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5938 if test -n "$ac_config_headers"; then
5939 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5942 if test -n "$ac_config_links"; then
5943 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5946 if test -n "$ac_config_commands"; then
5947 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5950 cat >>$CONFIG_STATUS <<\_ACEOF
5953 \`$as_me' instantiates files from templates according to the
5954 current configuration.
5956 Usage: $0 [OPTIONS] [FILE]...
5958 -h, --help print this help, then exit
5959 -V, --version print version number, then exit
5960 -q, --quiet do not print progress messages
5961 -d, --debug don't remove temporary files
5962 --recheck update $as_me by reconfiguring in the same conditions
5963 --file=FILE[:TEMPLATE]
5964 instantiate the configuration file FILE
5965 --header=FILE[:TEMPLATE]
5966 instantiate the configuration header FILE
5968 Configuration files:
5971 Configuration headers:
5974 Configuration commands:
5977 Report bugs to <bug-autoconf@gnu.org>."
5980 cat >>$CONFIG_STATUS <<_ACEOF
5982 newlib config.status 1.15.0
5983 configured by $0, generated by GNU Autoconf 2.59,
5984 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5986 Copyright (C) 2003 Free Software Foundation, Inc.
5987 This config.status script is free software; the Free Software Foundation
5988 gives unlimited permission to copy, distribute and modify it."
5993 cat >>$CONFIG_STATUS <<\_ACEOF
5994 # If no file are specified by the user, then we need to provide default
5995 # value. By we need to know if files were specified by the user.
6001 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6002 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6010 *) # This is not an option, so the user has probably given explicit
6013 ac_need_defaults=false;;
6017 # Handling of the options.
6019 cat >>$CONFIG_STATUS <<\_ACEOF
6020 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6022 --version | --vers* | -V )
6023 echo "$ac_cs_version"; exit 0 ;;
6025 # Conflict between --help and --header
6026 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6027 Try \`$0 --help' for more information." >&5
6028 echo "$as_me: error: ambiguous option: $1
6029 Try \`$0 --help' for more information." >&2;}
6030 { (exit 1); exit 1; }; };;
6031 --help | --hel | -h )
6032 echo "$ac_cs_usage"; exit 0 ;;
6033 --debug | --d* | -d )
6035 --file | --fil | --fi | --f )
6037 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6038 ac_need_defaults=false;;
6039 --header | --heade | --head | --hea )
6041 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6042 ac_need_defaults=false;;
6043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6044 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6048 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6049 Try \`$0 --help' for more information." >&5
6050 echo "$as_me: error: unrecognized option: $1
6051 Try \`$0 --help' for more information." >&2;}
6052 { (exit 1); exit 1; }; } ;;
6054 *) ac_config_targets="$ac_config_targets $1" ;;
6060 ac_configure_extra_args=
6062 if $ac_cs_silent; then
6064 ac_configure_extra_args="$ac_configure_extra_args --silent"
6068 cat >>$CONFIG_STATUS <<_ACEOF
6069 if \$ac_cs_recheck; then
6070 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6071 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6076 cat >>$CONFIG_STATUS <<_ACEOF
6078 # INIT-COMMANDS section.
6081 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6084 with_multisubdir=${with_multisubdir}
6085 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6086 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6087 newlib_basedir=${newlib_basedir}
6089 LDFLAGS="${LDFLAGS}"
6096 cat >>$CONFIG_STATUS <<\_ACEOF
6097 for ac_config_target in $ac_config_targets
6099 case "$ac_config_target" in
6100 # Handling of arguments.
6101 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6102 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6103 "newlib.h" ) CONFIG_HEADERS="$CONFIG_HEADERS newlib.h:newlib.hin" ;;
6104 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6105 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6106 { (exit 1); exit 1; }; };;
6110 # If the user did not use the arguments to specify the items to instantiate,
6111 # then the envvar interface is used. Set only those that are not.
6112 # We use the long form for the default assignment because of an extremely
6113 # bizarre bug on SunOS 4.1.3.
6114 if $ac_need_defaults; then
6115 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6116 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6120 # Have a temporary directory for convenience. Make it in the build tree
6121 # simply because there is no reason to put it here, and in addition,
6122 # creating and moving files from /tmp can sometimes cause problems.
6123 # Create a temporary directory, and hook for its removal unless debugging.
6126 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6127 trap '{ (exit 1); exit 1; }' 1 2 13 15
6130 # Create a (secure) tmp directory for tmp files.
6133 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6134 test -n "$tmp" && test -d "$tmp"
6137 tmp=./confstat$$-$RANDOM
6138 (umask 077 && mkdir $tmp)
6141 echo "$me: cannot create a temporary directory in ." >&2
6142 { (exit 1); exit 1; }
6147 cat >>$CONFIG_STATUS <<_ACEOF
6150 # CONFIG_FILES section.
6153 # No need to generate the scripts if there are no CONFIG_FILES.
6154 # This happens for instance when ./config.status config.h
6155 if test -n "\$CONFIG_FILES"; then
6156 # Protect against being on the right side of a sed subst in config.status.
6157 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6158 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6159 s,@SHELL@,$SHELL,;t t
6160 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6161 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6162 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6163 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6164 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6165 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6166 s,@exec_prefix@,$exec_prefix,;t t
6167 s,@prefix@,$prefix,;t t
6168 s,@program_transform_name@,$program_transform_name,;t t
6169 s,@bindir@,$bindir,;t t
6170 s,@sbindir@,$sbindir,;t t
6171 s,@libexecdir@,$libexecdir,;t t
6172 s,@datadir@,$datadir,;t t
6173 s,@sysconfdir@,$sysconfdir,;t t
6174 s,@sharedstatedir@,$sharedstatedir,;t t
6175 s,@localstatedir@,$localstatedir,;t t
6176 s,@libdir@,$libdir,;t t
6177 s,@includedir@,$includedir,;t t
6178 s,@oldincludedir@,$oldincludedir,;t t
6179 s,@infodir@,$infodir,;t t
6180 s,@mandir@,$mandir,;t t
6181 s,@build_alias@,$build_alias,;t t
6182 s,@host_alias@,$host_alias,;t t
6183 s,@target_alias@,$target_alias,;t t
6185 s,@ECHO_C@,$ECHO_C,;t t
6186 s,@ECHO_N@,$ECHO_N,;t t
6187 s,@ECHO_T@,$ECHO_T,;t t
6189 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
6190 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
6191 s,@newlib_basedir@,$newlib_basedir,;t t
6192 s,@build@,$build,;t t
6193 s,@build_cpu@,$build_cpu,;t t
6194 s,@build_vendor@,$build_vendor,;t t
6195 s,@build_os@,$build_os,;t t
6197 s,@host_cpu@,$host_cpu,;t t
6198 s,@host_vendor@,$host_vendor,;t t
6199 s,@host_os@,$host_os,;t t
6200 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6201 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6202 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6203 s,@CYGPATH_W@,$CYGPATH_W,;t t
6204 s,@PACKAGE@,$PACKAGE,;t t
6205 s,@VERSION@,$VERSION,;t t
6206 s,@ACLOCAL@,$ACLOCAL,;t t
6207 s,@AUTOCONF@,$AUTOCONF,;t t
6208 s,@AUTOMAKE@,$AUTOMAKE,;t t
6209 s,@AUTOHEADER@,$AUTOHEADER,;t t
6210 s,@MAKEINFO@,$MAKEINFO,;t t
6211 s,@install_sh@,$install_sh,;t t
6212 s,@STRIP@,$STRIP,;t t
6213 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6214 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6215 s,@mkdir_p@,$mkdir_p,;t t
6217 s,@SET_MAKE@,$SET_MAKE,;t t
6218 s,@am__leading_dot@,$am__leading_dot,;t t
6219 s,@AMTAR@,$AMTAR,;t t
6220 s,@am__tar@,$am__tar,;t t
6221 s,@am__untar@,$am__untar,;t t
6223 s,@DEPDIR@,$DEPDIR,;t t
6224 s,@am__include@,$am__include,;t t
6225 s,@am__quote@,$am__quote,;t t
6226 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6227 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6228 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6229 s,@CCDEPMODE@,$CCDEPMODE,;t t
6230 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6231 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6233 s,@ac_ct_AS@,$ac_ct_AS,;t t
6235 s,@ac_ct_AR@,$ac_ct_AR,;t t
6236 s,@RANLIB@,$RANLIB,;t t
6237 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6238 s,@READELF@,$READELF,;t t
6239 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
6240 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6241 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6242 s,@MAINT@,$MAINT,;t t
6244 s,@CCASFLAGS@,$CCASFLAGS,;t t
6245 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
6246 s,@LDFLAGS@,$LDFLAGS,;t t
6247 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
6248 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
6249 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
6250 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
6251 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
6252 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
6253 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
6254 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
6255 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
6256 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
6257 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
6258 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
6259 s,@OBJEXT@,$OBJEXT,;t t
6263 s,@libm_machine_dir@,$libm_machine_dir,;t t
6264 s,@machine_dir@,$machine_dir,;t t
6265 s,@sys_dir@,$sys_dir,;t t
6266 s,@CFLAGS@,$CFLAGS,;t t
6267 s,@CPPFLAGS@,$CPPFLAGS,;t t
6268 s,@ac_ct_CC@,$ac_ct_CC,;t t
6269 s,@EXEEXT@,$EXEEXT,;t t
6271 s,@LIBTOOL@,$LIBTOOL,;t t
6272 s,@NEWLIB_HW_FP_TRUE@,$NEWLIB_HW_FP_TRUE,;t t
6273 s,@NEWLIB_HW_FP_FALSE@,$NEWLIB_HW_FP_FALSE,;t t
6274 s,@CC_FOR_NEWLIB@,$CC_FOR_NEWLIB,;t t
6275 s,@subdirs@,$subdirs,;t t
6276 s,@HAVE_DOC_TRUE@,$HAVE_DOC_TRUE,;t t
6277 s,@HAVE_DOC_FALSE@,$HAVE_DOC_FALSE,;t t
6278 s,@EXTRA_DIRS@,$EXTRA_DIRS,;t t
6280 s,@CRT0_DIR@,$CRT0_DIR,;t t
6282 s,@CRT1_DIR@,$CRT1_DIR,;t t
6283 s,@LIBM_MACHINE_OBJECTLIST@,$LIBM_MACHINE_OBJECTLIST,;t t
6284 s,@MACHINE_OBJECTLIST@,$MACHINE_OBJECTLIST,;t t
6285 s,@SYS_OBJECTLIST@,$SYS_OBJECTLIST,;t t
6286 s,@SYS_MACH_OBJECTLIST@,$SYS_MACH_OBJECTLIST,;t t
6287 s,@POSIX_OBJECTLIST@,$POSIX_OBJECTLIST,;t t
6288 s,@SIGNAL_OBJECTLIST@,$SIGNAL_OBJECTLIST,;t t
6289 s,@SYSCALL_OBJECTLIST@,$SYSCALL_OBJECTLIST,;t t
6290 s,@UNIX_OBJECTLIST@,$UNIX_OBJECTLIST,;t t
6291 s,@STDIO64_OBJECTLIST@,$STDIO64_OBJECTLIST,;t t
6292 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6293 s,@libc_cv_initfinit_array@,$libc_cv_initfinit_array,;t t
6294 s,@libc_cv_array_aliasing@,$libc_cv_array_aliasing,;t t
6295 s,@LIBOBJS@,$LIBOBJS,;t t
6296 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6301 cat >>$CONFIG_STATUS <<\_ACEOF
6302 # Split the substitutions into bite-sized pieces for seds with
6303 # small command number limits, like on Digital OSF/1 and HP-UX.
6305 ac_sed_frag=1 # Number of current file.
6306 ac_beg=1 # First line for current file.
6307 ac_end=$ac_max_sed_lines # Line after last line for current file.
6310 while $ac_more_lines; do
6311 if test $ac_beg -gt 1; then
6312 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6314 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6316 if test ! -s $tmp/subs.frag; then
6319 # The purpose of the label and of the branching condition is to
6320 # speed up the sed processing (if there are no `@' at all, there
6321 # is no need to browse any of the substitutions).
6322 # These are the two extra sed commands mentioned above.
6324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6325 if test -z "$ac_sed_cmds"; then
6326 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6328 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6330 ac_sed_frag=`expr $ac_sed_frag + 1`
6332 ac_end=`expr $ac_end + $ac_max_sed_lines`
6335 if test -z "$ac_sed_cmds"; then
6338 fi # test -n "$CONFIG_FILES"
6341 cat >>$CONFIG_STATUS <<\_ACEOF
6342 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6343 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6345 - | *:- | *:-:* ) # input from stdin
6347 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6348 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6349 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6350 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6351 * ) ac_file_in=$ac_file.in ;;
6354 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6355 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6357 X"$ac_file" : 'X\(//\)[^/]' \| \
6358 X"$ac_file" : 'X\(//\)$' \| \
6359 X"$ac_file" : 'X\(/\)' \| \
6360 . : '\(.\)' 2>/dev/null ||
6362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6364 /^X\(\/\/\)$/{ s//\1/; q; }
6365 /^X\(\/\).*/{ s//\1/; q; }
6367 { if $as_mkdir_p; then
6372 while test ! -d "$as_dir"; do
6373 as_dirs="$as_dir $as_dirs"
6374 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6376 X"$as_dir" : 'X\(//\)[^/]' \| \
6377 X"$as_dir" : 'X\(//\)$' \| \
6378 X"$as_dir" : 'X\(/\)' \| \
6379 . : '\(.\)' 2>/dev/null ||
6381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6383 /^X\(\/\/\)$/{ s//\1/; q; }
6384 /^X\(\/\).*/{ s//\1/; q; }
6387 test ! -n "$as_dirs" || mkdir $as_dirs
6388 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6389 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6390 { (exit 1); exit 1; }; }; }
6394 if test "$ac_dir" != .; then
6395 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6396 # A "../" for each directory in $ac_dir_suffix.
6397 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6399 ac_dir_suffix= ac_top_builddir=
6403 .) # No --srcdir option. We are building in place.
6405 if test -z "$ac_top_builddir"; then
6408 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6410 [\\/]* | ?:[\\/]* ) # Absolute path.
6411 ac_srcdir=$srcdir$ac_dir_suffix;
6412 ac_top_srcdir=$srcdir ;;
6414 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6415 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6418 # Do not use `cd foo && pwd` to compute absolute paths, because
6419 # the directories may not exist.
6421 .) ac_abs_builddir="$ac_dir";;
6424 .) ac_abs_builddir=`pwd`;;
6425 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6426 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6429 case $ac_abs_builddir in
6430 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6432 case ${ac_top_builddir}. in
6433 .) ac_abs_top_builddir=$ac_abs_builddir;;
6434 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6435 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6438 case $ac_abs_builddir in
6439 .) ac_abs_srcdir=$ac_srcdir;;
6442 .) ac_abs_srcdir=$ac_abs_builddir;;
6443 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6444 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6447 case $ac_abs_builddir in
6448 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6450 case $ac_top_srcdir in
6451 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6452 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6453 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6459 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6460 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6463 if test x"$ac_file" != x-; then
6464 { echo "$as_me:$LINENO: creating $ac_file" >&5
6465 echo "$as_me: creating $ac_file" >&6;}
6468 # Let's still pretend it is `configure' which instantiates (i.e., don't
6469 # use $as_me), people would be surprised to read:
6470 # /* config.h. Generated by config.status. */
6471 if test x"$ac_file" = x-; then
6474 configure_input="$ac_file. "
6476 configure_input=$configure_input"Generated from `echo $ac_file_in |
6477 sed 's,.*/,,'` by configure."
6479 # First look for the input files in the build tree, otherwise in the
6481 ac_file_inputs=`IFS=:
6482 for f in $ac_file_in; do
6484 -) echo $tmp/stdin ;;
6486 # Absolute (can't be DOS-style, as IFS=:)
6487 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6488 echo "$as_me: error: cannot find input file: $f" >&2;}
6489 { (exit 1); exit 1; }; }
6492 if test -f "$f"; then
6495 elif test -f "$srcdir/$f"; then
6500 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6501 echo "$as_me: error: cannot find input file: $f" >&2;}
6502 { (exit 1); exit 1; }; }
6505 done` || { (exit 1); exit 1; }
6507 cat >>$CONFIG_STATUS <<_ACEOF
6511 cat >>$CONFIG_STATUS <<\_ACEOF
6513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6514 s,@configure_input@,$configure_input,;t t
6515 s,@srcdir@,$ac_srcdir,;t t
6516 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6517 s,@top_srcdir@,$ac_top_srcdir,;t t
6518 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6519 s,@builddir@,$ac_builddir,;t t
6520 s,@abs_builddir@,$ac_abs_builddir,;t t
6521 s,@top_builddir@,$ac_top_builddir,;t t
6522 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6523 s,@INSTALL@,$ac_INSTALL,;t t
6524 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6526 if test x"$ac_file" != x-; then
6527 mv $tmp/out $ac_file
6533 # Run the commands associated with the file.
6535 Makefile ) if test -n "$CONFIG_FILES"; then
6537 . ${newlib_basedir}/../config-ml.in
6542 cat >>$CONFIG_STATUS <<\_ACEOF
6545 # CONFIG_HEADER section.
6548 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6549 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6551 # ac_d sets the value in "#define NAME VALUE" lines.
6552 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6553 ac_dB='[ ].*$,\1#\2'
6556 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6557 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6558 ac_uB='$,\1#\2define\3'
6562 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6563 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6565 - | *:- | *:-:* ) # input from stdin
6567 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6568 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6569 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6570 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6571 * ) ac_file_in=$ac_file.in ;;
6574 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6575 echo "$as_me: creating $ac_file" >&6;}
6577 # First look for the input files in the build tree, otherwise in the
6579 ac_file_inputs=`IFS=:
6580 for f in $ac_file_in; do
6582 -) echo $tmp/stdin ;;
6584 # Absolute (can't be DOS-style, as IFS=:)
6585 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6586 echo "$as_me: error: cannot find input file: $f" >&2;}
6587 { (exit 1); exit 1; }; }
6588 # Do quote $f, to prevent DOS paths from being IFS'd.
6591 if test -f "$f"; then
6594 elif test -f "$srcdir/$f"; then
6599 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6600 echo "$as_me: error: cannot find input file: $f" >&2;}
6601 { (exit 1); exit 1; }; }
6604 done` || { (exit 1); exit 1; }
6605 # Remove the trailing spaces.
6606 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6610 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6611 # `conftest.undefs', that substitutes the proper values into
6612 # config.h.in to produce config.h. The first handles `#define'
6613 # templates, and the second `#undef' templates.
6614 # And first: Protect against being on the right side of a sed subst in
6615 # config.status. Protect against being in an unquoted here document
6617 rm -f conftest.defines conftest.undefs
6618 # Using a here document instead of a string reduces the quoting nightmare.
6619 # Putting comments in sed scripts is not portable.
6621 # `end' is used to avoid that the second main sed command (meant for
6622 # 0-ary CPP macros) applies to n-ary macro definitions.
6623 # See the Autoconf documentation for `clear'.
6624 cat >confdef2sed.sed <<\_ACEOF
6629 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6631 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6634 # If some macros were called several times there might be several times
6635 # the same #defines, which is useless. Nevertheless, we may not want to
6636 # sort them, since we want the *last* AC-DEFINE to be honored.
6637 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6638 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6639 rm -f confdef2sed.sed
6641 # This sed command replaces #undef with comments. This is necessary, for
6642 # example, in the case of _POSIX_SOURCE, which is predefined and required
6643 # on some systems where configure will not decide to define it.
6644 cat >>conftest.undefs <<\_ACEOF
6645 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6648 # Break up conftest.defines because some shells have a limit on the size
6649 # of here documents, and old seds have small limits too (100 cmds).
6650 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6651 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6652 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6653 echo ' :' >>$CONFIG_STATUS
6655 while grep . conftest.defines >/dev/null
6657 # Write a limited-size here document to $tmp/defines.sed.
6658 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6659 # Speed up: don't consider the non `#define' lines.
6660 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6661 # Work around the forget-to-reset-the-flag bug.
6662 echo 't clr' >>$CONFIG_STATUS
6663 echo ': clr' >>$CONFIG_STATUS
6664 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6666 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6670 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6671 rm -f conftest.defines
6672 mv conftest.tail conftest.defines
6674 rm -f conftest.defines
6675 echo ' fi # grep' >>$CONFIG_STATUS
6676 echo >>$CONFIG_STATUS
6678 # Break up conftest.undefs because some shells have a limit on the size
6679 # of here documents, and old seds have small limits too (100 cmds).
6680 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6682 while grep . conftest.undefs >/dev/null
6684 # Write a limited-size here document to $tmp/undefs.sed.
6685 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6686 # Speed up: don't consider the non `#undef'
6687 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6688 # Work around the forget-to-reset-the-flag bug.
6689 echo 't clr' >>$CONFIG_STATUS
6690 echo ': clr' >>$CONFIG_STATUS
6691 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6693 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6697 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6698 rm -f conftest.undefs
6699 mv conftest.tail conftest.undefs
6701 rm -f conftest.undefs
6703 cat >>$CONFIG_STATUS <<\_ACEOF
6704 # Let's still pretend it is `configure' which instantiates (i.e., don't
6705 # use $as_me), people would be surprised to read:
6706 # /* config.h. Generated by config.status. */
6707 if test x"$ac_file" = x-; then
6708 echo "/* Generated by configure. */" >$tmp/config.h
6710 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6712 cat $tmp/in >>$tmp/config.h
6714 if test x"$ac_file" != x-; then
6715 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6716 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6717 echo "$as_me: $ac_file is unchanged" >&6;}
6719 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6721 X"$ac_file" : 'X\(//\)[^/]' \| \
6722 X"$ac_file" : 'X\(//\)$' \| \
6723 X"$ac_file" : 'X\(/\)' \| \
6724 . : '\(.\)' 2>/dev/null ||
6726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6728 /^X\(\/\/\)$/{ s//\1/; q; }
6729 /^X\(\/\).*/{ s//\1/; q; }
6731 { if $as_mkdir_p; then
6736 while test ! -d "$as_dir"; do
6737 as_dirs="$as_dir $as_dirs"
6738 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6740 X"$as_dir" : 'X\(//\)[^/]' \| \
6741 X"$as_dir" : 'X\(//\)$' \| \
6742 X"$as_dir" : 'X\(/\)' \| \
6743 . : '\(.\)' 2>/dev/null ||
6745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6747 /^X\(\/\/\)$/{ s//\1/; q; }
6748 /^X\(\/\).*/{ s//\1/; q; }
6751 test ! -n "$as_dirs" || mkdir $as_dirs
6752 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6753 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6754 { (exit 1); exit 1; }; }; }
6757 mv $tmp/config.h $ac_file
6763 # Compute $ac_file's index in $config_headers.
6765 for _am_header in $config_headers :; do
6767 $ac_file | $ac_file:* )
6770 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6773 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6774 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6775 X$ac_file : 'X\(//\)[^/]' \| \
6776 X$ac_file : 'X\(//\)$' \| \
6777 X$ac_file : 'X\(/\)' \| \
6778 . : '\(.\)' 2>/dev/null ||
6780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6782 /^X\(\/\/\)$/{ s//\1/; q; }
6783 /^X\(\/\).*/{ s//\1/; q; }
6784 s/.*/./; q'`/stamp-h$_am_stamp_count
6787 cat >>$CONFIG_STATUS <<\_ACEOF
6790 # CONFIG_COMMANDS section.
6792 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6793 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6794 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6795 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6796 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6797 X"$ac_dest" : 'X\(//\)[^/]' \| \
6798 X"$ac_dest" : 'X\(//\)$' \| \
6799 X"$ac_dest" : 'X\(/\)' \| \
6800 . : '\(.\)' 2>/dev/null ||
6802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6804 /^X\(\/\/\)$/{ s//\1/; q; }
6805 /^X\(\/\).*/{ s//\1/; q; }
6807 { if $as_mkdir_p; then
6812 while test ! -d "$as_dir"; do
6813 as_dirs="$as_dir $as_dirs"
6814 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6816 X"$as_dir" : 'X\(//\)[^/]' \| \
6817 X"$as_dir" : 'X\(//\)$' \| \
6818 X"$as_dir" : 'X\(/\)' \| \
6819 . : '\(.\)' 2>/dev/null ||
6821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6823 /^X\(\/\/\)$/{ s//\1/; q; }
6824 /^X\(\/\).*/{ s//\1/; q; }
6827 test ! -n "$as_dirs" || mkdir $as_dirs
6828 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6829 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6830 { (exit 1); exit 1; }; }; }
6834 if test "$ac_dir" != .; then
6835 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6836 # A "../" for each directory in $ac_dir_suffix.
6837 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6839 ac_dir_suffix= ac_top_builddir=
6843 .) # No --srcdir option. We are building in place.
6845 if test -z "$ac_top_builddir"; then
6848 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6850 [\\/]* | ?:[\\/]* ) # Absolute path.
6851 ac_srcdir=$srcdir$ac_dir_suffix;
6852 ac_top_srcdir=$srcdir ;;
6854 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6855 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6858 # Do not use `cd foo && pwd` to compute absolute paths, because
6859 # the directories may not exist.
6861 .) ac_abs_builddir="$ac_dir";;
6864 .) ac_abs_builddir=`pwd`;;
6865 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6866 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6869 case $ac_abs_builddir in
6870 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6872 case ${ac_top_builddir}. in
6873 .) ac_abs_top_builddir=$ac_abs_builddir;;
6874 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6875 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6878 case $ac_abs_builddir in
6879 .) ac_abs_srcdir=$ac_srcdir;;
6882 .) ac_abs_srcdir=$ac_abs_builddir;;
6883 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6884 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6887 case $ac_abs_builddir in
6888 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6890 case $ac_top_srcdir in
6891 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6892 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6893 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6898 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6899 echo "$as_me: executing $ac_dest commands" >&6;}
6901 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6902 # Strip MF so we end up with the name of the file.
6903 mf=`echo "$mf" | sed -e 's/:.*$//'`
6904 # Check whether this is an Automake generated Makefile or not.
6905 # We used to match only the files named `Makefile.in', but
6906 # some people rename them; so instead we look at the file content.
6907 # Grep'ing the first line is not enough: some people post-process
6908 # each Makefile.in and add a new line on top of each file to say so.
6909 # So let's grep whole file.
6910 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6911 dirpart=`(dirname "$mf") 2>/dev/null ||
6912 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6913 X"$mf" : 'X\(//\)[^/]' \| \
6914 X"$mf" : 'X\(//\)$' \| \
6915 X"$mf" : 'X\(/\)' \| \
6916 . : '\(.\)' 2>/dev/null ||
6918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6919 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6920 /^X\(\/\/\)$/{ s//\1/; q; }
6921 /^X\(\/\).*/{ s//\1/; q; }
6926 # Extract the definition of DEPDIR, am__include, and am__quote
6927 # from the Makefile without running `make'.
6928 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6929 test -z "$DEPDIR" && continue
6930 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6931 test -z "am__include" && continue
6932 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6933 # When using ansi2knr, U may be empty or an underscore; expand it
6934 U=`sed -n 's/^U = //p' < "$mf"`
6935 # Find all dependency output files, they are included files with
6936 # $(DEPDIR) in their names. We invoke sed twice because it is the
6937 # simplest approach to changing $(DEPDIR) to its actual value in the
6939 for file in `sed -n "
6940 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6941 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6942 # Make sure the directory exists.
6943 test -f "$dirpart/$file" && continue
6944 fdir=`(dirname "$file") 2>/dev/null ||
6945 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6946 X"$file" : 'X\(//\)[^/]' \| \
6947 X"$file" : 'X\(//\)$' \| \
6948 X"$file" : 'X\(/\)' \| \
6949 . : '\(.\)' 2>/dev/null ||
6951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6953 /^X\(\/\/\)$/{ s//\1/; q; }
6954 /^X\(\/\).*/{ s//\1/; q; }
6956 { if $as_mkdir_p; then
6957 mkdir -p $dirpart/$fdir
6959 as_dir=$dirpart/$fdir
6961 while test ! -d "$as_dir"; do
6962 as_dirs="$as_dir $as_dirs"
6963 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6965 X"$as_dir" : 'X\(//\)[^/]' \| \
6966 X"$as_dir" : 'X\(//\)$' \| \
6967 X"$as_dir" : 'X\(/\)' \| \
6968 . : '\(.\)' 2>/dev/null ||
6970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6972 /^X\(\/\/\)$/{ s//\1/; q; }
6973 /^X\(\/\).*/{ s//\1/; q; }
6976 test ! -n "$as_dirs" || mkdir $as_dirs
6977 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6978 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6979 { (exit 1); exit 1; }; }; }
6981 # echo "creating $dirpart/$file"
6982 echo '# dummy' > "$dirpart/$file"
6990 cat >>$CONFIG_STATUS <<\_ACEOF
6992 { (exit 0); exit 0; }
6994 chmod +x $CONFIG_STATUS
6995 ac_clean_files=$ac_clean_files_save
6998 # configure is writing to config.log, and then calls config.status.
6999 # config.status does its own redirection, appending to config.log.
7000 # Unfortunately, on DOS this fails, as config.log is still kept open
7001 # by configure, so config.status won't be able to write to it; its
7002 # output is simply discarded. So we exec the FD to /dev/null,
7003 # effectively closing config.log, so it can be properly (re)opened and
7004 # appended to by config.status. When coming back to configure, we
7005 # need to make the FD available again.
7006 if test "$no_create" != yes; then
7008 ac_config_status_args=
7009 test "$silent" = yes &&
7010 ac_config_status_args="$ac_config_status_args --quiet"
7012 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7014 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7015 # would make configure fail if this is the last instruction.
7016 $ac_cs_success || { (exit 1); exit 1; }
7020 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
7022 if test "$no_recursion" != yes; then
7024 # Remove --cache-file and --srcdir arguments so they do not pile up.
7025 ac_sub_configure_args=
7027 eval "set x $ac_configure_args"
7031 if test -n "$ac_prev"; then
7036 -cache-file | --cache-file | --cache-fil | --cache-fi \
7037 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7038 ac_prev=cache_file ;;
7039 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7040 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
7043 --config-cache | -C)
7045 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7047 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7049 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7051 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7055 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7057 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
7061 # Always prepend --prefix to ensure using the same prefix
7062 # in subdir configurations.
7063 ac_arg="--prefix=$prefix"
7065 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7067 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
7070 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
7072 # Do not complain, so a configure script can configure whichever
7073 # parts of a large source tree are present.
7074 test -d "$srcdir/$ac_dir" || continue
7076 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7077 echo "$as_me: configuring in $ac_dir" >&6;}
7078 { if $as_mkdir_p; then
7083 while test ! -d "$as_dir"; do
7084 as_dirs="$as_dir $as_dirs"
7085 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7087 X"$as_dir" : 'X\(//\)[^/]' \| \
7088 X"$as_dir" : 'X\(//\)$' \| \
7089 X"$as_dir" : 'X\(/\)' \| \
7090 . : '\(.\)' 2>/dev/null ||
7092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7094 /^X\(\/\/\)$/{ s//\1/; q; }
7095 /^X\(\/\).*/{ s//\1/; q; }
7098 test ! -n "$as_dirs" || mkdir $as_dirs
7099 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7101 { (exit 1); exit 1; }; }; }
7105 if test "$ac_dir" != .; then
7106 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7107 # A "../" for each directory in $ac_dir_suffix.
7108 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7110 ac_dir_suffix= ac_top_builddir=
7114 .) # No --srcdir option. We are building in place.
7116 if test -z "$ac_top_builddir"; then
7119 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7121 [\\/]* | ?:[\\/]* ) # Absolute path.
7122 ac_srcdir=$srcdir$ac_dir_suffix;
7123 ac_top_srcdir=$srcdir ;;
7125 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7126 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7129 # Do not use `cd foo && pwd` to compute absolute paths, because
7130 # the directories may not exist.
7132 .) ac_abs_builddir="$ac_dir";;
7135 .) ac_abs_builddir=`pwd`;;
7136 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7137 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7140 case $ac_abs_builddir in
7141 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7143 case ${ac_top_builddir}. in
7144 .) ac_abs_top_builddir=$ac_abs_builddir;;
7145 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7146 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7149 case $ac_abs_builddir in
7150 .) ac_abs_srcdir=$ac_srcdir;;
7153 .) ac_abs_srcdir=$ac_abs_builddir;;
7154 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7155 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7158 case $ac_abs_builddir in
7159 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7161 case $ac_top_srcdir in
7162 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7163 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7164 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7171 # Check for guested configure; otherwise get Cygnus style configure.
7172 if test -f "$ac_srcdir/configure.gnu"; then
7173 ac_sub_configure=$ac_srcdir/configure.gnu
7174 elif test -f "$ac_srcdir/configure"; then
7175 ac_sub_configure=$ac_srcdir/configure
7176 elif test -f "$ac_srcdir/configure.in"; then
7177 # This should be Cygnus configure.
7178 ac_sub_configure=$ac_aux_dir/configure
7180 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7181 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7185 # The recursion is here.
7186 if test -n "$ac_sub_configure"; then
7187 # Make the cache file name correct relative to the subdirectory.
7189 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7191 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7194 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7195 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7196 # The eval makes quoting arguments work.
7197 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
7198 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
7199 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7200 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7201 { (exit 1); exit 1; }; }