2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for newlib 1.14.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.14.0'
271 PACKAGE_STRING='newlib 1.14.0'
274 ac_unique_file="libm.texinfo"
275 ac_subdirs_all="$ac_subdirs_all machine"
276 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 NEWLIB_HW_FP_TRUE NEWLIB_HW_FP_FALSE 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 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 subdirs LIBM_MACHINE_LIB HAVE_LIBM_MACHINE_DIR_TRUE HAVE_LIBM_MACHINE_DIR_FALSE LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CCAS_set=${CCAS+set}
718 ac_env_CCAS_value=$CCAS
719 ac_cv_env_CCAS_set=${CCAS+set}
720 ac_cv_env_CCAS_value=$CCAS
721 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
722 ac_env_CCASFLAGS_value=$CCASFLAGS
723 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
724 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
725 ac_env_CC_set=${CC+set}
727 ac_cv_env_CC_set=${CC+set}
728 ac_cv_env_CC_value=$CC
729 ac_env_CFLAGS_set=${CFLAGS+set}
730 ac_env_CFLAGS_value=$CFLAGS
731 ac_cv_env_CFLAGS_set=${CFLAGS+set}
732 ac_cv_env_CFLAGS_value=$CFLAGS
733 ac_env_LDFLAGS_set=${LDFLAGS+set}
734 ac_env_LDFLAGS_value=$LDFLAGS
735 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
736 ac_cv_env_LDFLAGS_value=$LDFLAGS
737 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
738 ac_env_CPPFLAGS_value=$CPPFLAGS
739 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
740 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
743 # Report the --help message.
745 if test "$ac_init_help" = "long"; then
746 # Omit some internal or obsolete options to make the list less imposing.
747 # This message is too long to be a string in the A/UX 3.1 sh.
749 \`configure' configures newlib 1.14.0 to adapt to many kinds of systems.
751 Usage: $0 [OPTION]... [VAR=VALUE]...
753 To assign environment variables (e.g., CC, CFLAGS...), specify them as
754 VAR=VALUE. See below for descriptions of some of the useful variables.
756 Defaults for the options are specified in brackets.
759 -h, --help display this help and exit
760 --help=short display options specific to this package
761 --help=recursive display the short help of all the included packages
762 -V, --version display version information and exit
763 -q, --quiet, --silent do not print \`checking...' messages
764 --cache-file=FILE cache test results in FILE [disabled]
765 -C, --config-cache alias for \`--cache-file=config.cache'
766 -n, --no-create do not create output files
767 --srcdir=DIR find the sources in DIR [configure dir or \`..']
772 Installation directories:
773 --prefix=PREFIX install architecture-independent files in PREFIX
775 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
778 By default, \`make install' will install all the files in
779 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
780 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
781 for instance \`--prefix=\$HOME'.
783 For better control, use the options below.
785 Fine tuning of the installation directories:
786 --bindir=DIR user executables [EPREFIX/bin]
787 --sbindir=DIR system admin executables [EPREFIX/sbin]
788 --libexecdir=DIR program executables [EPREFIX/libexec]
789 --datadir=DIR read-only architecture-independent data [PREFIX/share]
790 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
791 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
792 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
793 --libdir=DIR object code libraries [EPREFIX/lib]
794 --includedir=DIR C header files [PREFIX/include]
795 --oldincludedir=DIR C header files for non-gcc [/usr/include]
796 --infodir=DIR info documentation [PREFIX/info]
797 --mandir=DIR man documentation [PREFIX/man]
803 --program-prefix=PREFIX prepend PREFIX to installed program names
804 --program-suffix=SUFFIX append SUFFIX to installed program names
805 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
808 --build=BUILD configure for building on BUILD [guessed]
809 --host=HOST cross-compile to build programs to run on HOST [BUILD]
813 if test -n "$ac_init_help"; then
814 case $ac_init_help in
815 short | recursive ) echo "Configuration of newlib 1.14.0:";;
820 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
821 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
822 --enable-newlib-hw-fp Turn on hardware floating point math
823 --enable-multilib build many library versions (default)
824 --enable-target-optspace optimize for space
825 --enable-malloc-debugging indicate malloc debugging requested
826 --enable-newlib-multithread enable support for multiple threads
827 --enable-newlib-iconv enable iconv library support
828 --enable-newlib-elix-level supply desired elix library level (1-4)
829 --disable-newlib-io-float disable printf/scanf family float support
830 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
831 --disable-dependency-tracking speeds up one-time build
832 --enable-dependency-tracking do not reject slow dependency extractors
833 --enable-maintainer-mode enable make rules and dependencies not useful
834 (and sometimes confusing) to the casual installer
835 --enable-shared=PKGS build shared libraries default=yes
836 --enable-static=PKGS build static libraries default=yes
837 --enable-fast-install=PKGS optimize for fast installation default=yes
838 --disable-libtool-lock avoid locking (might break parallel builds)
841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
843 --with-gnu-ld assume the C compiler uses GNU ld default=no
844 --with-pic try to use only PIC/non-PIC objects default=use both
846 Some influential environment variables:
847 CCAS assembler compiler command (defaults to CC)
848 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
849 CC C compiler command
850 CFLAGS C compiler flags
851 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
852 nonstandard directory <lib dir>
853 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
854 headers in a nonstandard directory <include dir>
856 Use these variables to override the choices made by `configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
862 if test "$ac_init_help" = "recursive"; then
863 # If there are subdirs, report their specific --help.
865 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
866 test -d $ac_dir || continue
869 if test "$ac_dir" != .; then
870 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
871 # A "../" for each directory in $ac_dir_suffix.
872 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
874 ac_dir_suffix= ac_top_builddir=
878 .) # No --srcdir option. We are building in place.
880 if test -z "$ac_top_builddir"; then
883 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
885 [\\/]* | ?:[\\/]* ) # Absolute path.
886 ac_srcdir=$srcdir$ac_dir_suffix;
887 ac_top_srcdir=$srcdir ;;
889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
890 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 # Do not use `cd foo && pwd` to compute absolute paths, because
894 # the directories may not exist.
896 .) ac_abs_builddir="$ac_dir";;
899 .) ac_abs_builddir=`pwd`;;
900 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
901 *) ac_abs_builddir=`pwd`/"$ac_dir";;
904 case $ac_abs_builddir in
905 .) ac_abs_top_builddir=${ac_top_builddir}.;;
907 case ${ac_top_builddir}. in
908 .) ac_abs_top_builddir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
910 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
913 case $ac_abs_builddir in
914 .) ac_abs_srcdir=$ac_srcdir;;
917 .) ac_abs_srcdir=$ac_abs_builddir;;
918 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
919 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
922 case $ac_abs_builddir in
923 .) ac_abs_top_srcdir=$ac_top_srcdir;;
925 case $ac_top_srcdir in
926 .) ac_abs_top_srcdir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
928 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
933 # Check for guested configure; otherwise get Cygnus style configure.
934 if test -f $ac_srcdir/configure.gnu; then
936 $SHELL $ac_srcdir/configure.gnu --help=recursive
937 elif test -f $ac_srcdir/configure; then
939 $SHELL $ac_srcdir/configure --help=recursive
940 elif test -f $ac_srcdir/configure.ac ||
941 test -f $ac_srcdir/configure.in; then
945 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
951 test -n "$ac_init_help" && exit 0
952 if $ac_init_version; then
954 newlib configure 1.14.0
955 generated by GNU Autoconf 2.59
957 Copyright (C) 2003 Free Software Foundation, Inc.
958 This configure script is free software; the Free Software Foundation
959 gives unlimited permission to copy, distribute and modify it.
965 This file contains any messages produced by compilers while
966 running configure, to aid debugging if configure makes a mistake.
968 It was created by newlib $as_me 1.14.0, which was
969 generated by GNU Autoconf 2.59. Invocation command line was
980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
992 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1003 test -z "$as_dir" && as_dir=.
1004 echo "PATH: $as_dir"
1019 # Keep a trace of the command line.
1020 # Strip out --no-create and --no-recursion so they do not pile up.
1021 # Strip out --silent because we don't want to record it for future runs.
1022 # Also quote any args containing shell meta-characters.
1023 # Make two passes to allow for proper duplicate-argument suppression.
1028 ac_must_keep_next=false
1034 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1038 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1039 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1042 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1045 if test $ac_must_keep_next = true; then
1046 ac_must_keep_next=false # Got value, back to normal.
1049 *=* | --config-cache | -C | -disable-* | --disable-* \
1050 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1051 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1052 | -with-* | --with-* | -without-* | --without-* | --x)
1053 case "$ac_configure_args0 " in
1054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1057 -* ) ac_must_keep_next=true ;;
1060 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1061 # Get rid of the leading space.
1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070 # When interrupted or exit'd, cleanup temporary files, and complete
1071 # config.log. We remove comments because anyway the quotes in there
1072 # would cause problems or look ugly.
1073 # WARNING: Be sure not to use single quotes in there, as some shells,
1074 # such as our DU 5.0 friend, will then `close' the trap.
1075 trap 'exit_status=$?
1076 # Save into config.log some information that might help in debugging.
1081 ## ---------------- ##
1082 ## Cache variables. ##
1083 ## ---------------- ##
1086 # The following way of writing the cache mishandles newlines in values,
1089 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1092 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1097 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 ## ----------------- ##
1105 ## Output variables. ##
1106 ## ----------------- ##
1109 for ac_var in $ac_subst_vars
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -n "$ac_subst_files"; then
1123 for ac_var in $ac_subst_files
1125 eval ac_val=$`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1131 if test -s confdefs.h; then
1138 sed "/^$/d" confdefs.h | sort
1141 test "$ac_signal" != 0 &&
1142 echo "$as_me: caught signal $ac_signal"
1143 echo "$as_me: exit $exit_status"
1145 rm -f core *.core &&
1146 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1149 for ac_signal in 1 2 13 15; do
1150 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1155 rm -rf conftest* confdefs.h
1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1159 # Predefined preprocessor variables.
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_NAME "$PACKAGE_NAME"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_STRING "$PACKAGE_STRING"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1186 # Let the site file select an alternate cache file if it wants to.
1187 # Prefer explicitly selected file to automatically selected ones.
1188 if test -z "$CONFIG_SITE"; then
1189 if test "x$prefix" != xNONE; then
1190 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1195 for ac_site_file in $CONFIG_SITE; do
1196 if test -r "$ac_site_file"; then
1197 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1198 echo "$as_me: loading site script $ac_site_file" >&6;}
1199 sed 's/^/| /' "$ac_site_file" >&5
1204 if test -r "$cache_file"; then
1205 # Some versions of bash will fail to source /dev/null (special
1206 # files actually), so we avoid doing that.
1207 if test -f "$cache_file"; then
1208 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1209 echo "$as_me: loading cache $cache_file" >&6;}
1211 [\\/]* | ?:[\\/]* ) . $cache_file;;
1212 *) . ./$cache_file;;
1216 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1217 echo "$as_me: creating cache $cache_file" >&6;}
1221 # Check that the precious variables saved in the cache have kept the same
1223 ac_cache_corrupted=false
1224 for ac_var in `(set) 2>&1 |
1225 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1226 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1227 eval ac_new_set=\$ac_env_${ac_var}_set
1228 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1229 eval ac_new_val="\$ac_env_${ac_var}_value"
1230 case $ac_old_set,$ac_new_set in
1232 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1234 ac_cache_corrupted=: ;;
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1241 if test "x$ac_old_val" != "x$ac_new_val"; then
1242 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1244 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1245 echo "$as_me: former value: $ac_old_val" >&2;}
1246 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1247 echo "$as_me: current value: $ac_new_val" >&2;}
1248 ac_cache_corrupted=:
1251 # Pass precious variables to config.status.
1252 if test "$ac_new_set" = set; then
1254 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1255 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1256 *) ac_arg=$ac_var=$ac_new_val ;;
1258 case " $ac_configure_args " in
1259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1260 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1264 if $ac_cache_corrupted; then
1265 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1267 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1269 { (exit 1); exit 1; }; }
1273 ac_cpp='$CPP $CPPFLAGS'
1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306 # Check whether --enable-newlib_hw_fp or --disable-newlib_hw_fp was given.
1307 if test "${enable_newlib_hw_fp+set}" = set; then
1308 enableval="$enable_newlib_hw_fp"
1309 case "${enableval}" in
1310 yes) newlib_hw_fp=true ;;
1311 no) newlib_hw_fp=false ;;
1312 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-newlib-hw-fp" >&5
1313 echo "$as_me: error: bad value ${enableval} for --enable-newlib-hw-fp" >&2;}
1314 { (exit 1); exit 1; }; } ;;
1321 if test x$newlib_hw_fp = xtrue; then
1323 NEWLIB_HW_FP_FALSE='#'
1325 NEWLIB_HW_FP_TRUE='#'
1331 for ac_dir in ../.. $srcdir/../..; do
1332 if test -f $ac_dir/install-sh; then
1334 ac_install_sh="$ac_aux_dir/install-sh -c"
1336 elif test -f $ac_dir/install.sh; then
1338 ac_install_sh="$ac_aux_dir/install.sh -c"
1340 elif test -f $ac_dir/shtool; then
1342 ac_install_sh="$ac_aux_dir/shtool install -c"
1346 if test -z "$ac_aux_dir"; then
1347 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1348 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1349 { (exit 1); exit 1; }; }
1351 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1352 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1353 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389 am__api_version="1.9"
1390 # Find a good install program. We prefer a C program (faster),
1391 # so one script is as good as another. But avoid the broken or
1392 # incompatible versions:
1393 # SysV /etc/install, /usr/sbin/install
1394 # SunOS /usr/etc/install
1395 # IRIX /sbin/install
1397 # AmigaOS /C/install, which installs bootblocks on floppy discs
1398 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1399 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1400 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1401 # OS/2's system install, which has a completely different semantic
1402 # ./install, which can be erroneously created by make from ./install.sh.
1403 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1404 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1405 if test -z "$INSTALL"; then
1406 if test "${ac_cv_path_install+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1413 test -z "$as_dir" && as_dir=.
1414 # Account for people who put trailing slashes in PATH elements.
1416 ./ | .// | /cC/* | \
1417 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1418 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1421 # OSF1 and SCO ODT 3.0 have their own names for install.
1422 # Don't use installbsd from OSF since it installs stuff as root
1424 for ac_prog in ginstall scoinst install; do
1425 for ac_exec_ext in '' $ac_executable_extensions; do
1426 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1427 if test $ac_prog = install &&
1428 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1429 # AIX install. It has an incompatible calling convention.
1431 elif test $ac_prog = install &&
1432 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1433 # program-specific install script used by HP pwplus--don't use.
1436 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1448 if test "${ac_cv_path_install+set}" = set; then
1449 INSTALL=$ac_cv_path_install
1451 # As a last resort, use the slow shell script. We don't cache a
1452 # path for INSTALL within a source directory, because that will
1453 # break other packages using the cache if that directory is
1454 # removed, or if the path is relative.
1455 INSTALL=$ac_install_sh
1458 echo "$as_me:$LINENO: result: $INSTALL" >&5
1459 echo "${ECHO_T}$INSTALL" >&6
1461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1462 # It thinks the first close brace ends the variable substitution.
1463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1467 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1469 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1470 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1473 echo timestamp > conftest.file
1474 # Do `set' in a subshell so we don't clobber the current shell's
1475 # arguments. Must try -L first in case configure is actually a
1476 # symlink; some systems play weird games with the mod time of symlinks
1477 # (eg FreeBSD returns the mod time of the symlink's containing
1480 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1481 if test "$*" = "X"; then
1483 set X `ls -t $srcdir/configure conftest.file`
1486 if test "$*" != "X $srcdir/configure conftest.file" \
1487 && test "$*" != "X conftest.file $srcdir/configure"; then
1489 # If neither matched, then we have a broken ls. This can happen
1490 # if, for instance, CONFIG_SHELL is bash and it inherits a
1491 # broken ls alias from the environment. This has actually
1492 # happened. Such a system could not be considered "sane".
1493 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1494 alias in your environment" >&5
1495 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1496 alias in your environment" >&2;}
1497 { (exit 1); exit 1; }; }
1500 test "$2" = conftest.file
1506 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1507 Check your system clock" >&5
1508 echo "$as_me: error: newly created file is older than distributed files!
1509 Check your system clock" >&2;}
1510 { (exit 1); exit 1; }; }
1512 echo "$as_me:$LINENO: result: yes" >&5
1513 echo "${ECHO_T}yes" >&6
1514 test "$program_prefix" != NONE &&
1515 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1516 # Use a double $ so make ignores it.
1517 test "$program_suffix" != NONE &&
1518 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1519 # Double any \ or $. echo might interpret backslashes.
1520 # By default was `s,x,x', remove it if useless.
1521 cat <<\_ACEOF >conftest.sed
1522 s/[\\$]/&&/g;s/;s,x,x,$//
1524 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1527 # expand $ac_aux_dir to an absolute path
1528 am_aux_dir=`cd $ac_aux_dir && pwd`
1530 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1531 # Use eval to expand $SHELL
1532 if eval "$MISSING --run true"; then
1533 am_missing_run="$MISSING --run "
1536 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1537 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1540 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1541 # We used to keeping the `.' as first argument, in order to
1542 # allow $(mkdir_p) to be used without argument. As in
1543 # $(mkdir_p) $(somedir)
1544 # where $(somedir) is conditionally defined. However this is wrong
1546 # 1. if the package is installed by a user who cannot write `.'
1547 # make install will fail,
1548 # 2. the above comment should most certainly read
1549 # $(mkdir_p) $(DESTDIR)$(somedir)
1550 # so it does not work when $(somedir) is undefined and
1551 # $(DESTDIR) is not.
1552 # To support the latter case, we have to write
1553 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1554 # so the `.' trick is pointless.
1555 mkdir_p='mkdir -p --'
1557 # On NextStep and OpenStep, the `mkdir' command does not
1558 # recognize any option. It will interpret all options as
1559 # directories to create, and then abort because `.' already
1561 for d in ./-p ./--version;
1563 test -d $d && rmdir $d
1565 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1566 if test -f "$ac_aux_dir/mkinstalldirs"; then
1567 mkdir_p='$(mkinstalldirs)'
1569 mkdir_p='$(install_sh) -d'
1573 for ac_prog in gawk mawk nawk awk
1575 # Extract the first word of "$ac_prog", so it can be a program name with args.
1576 set dummy $ac_prog; ac_word=$2
1577 echo "$as_me:$LINENO: checking for $ac_word" >&5
1578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1579 if test "${ac_cv_prog_AWK+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 if test -n "$AWK"; then
1583 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1589 test -z "$as_dir" && as_dir=.
1590 for ac_exec_ext in '' $ac_executable_extensions; do
1591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1592 ac_cv_prog_AWK="$ac_prog"
1593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1602 if test -n "$AWK"; then
1603 echo "$as_me:$LINENO: result: $AWK" >&5
1604 echo "${ECHO_T}$AWK" >&6
1606 echo "$as_me:$LINENO: result: no" >&5
1607 echo "${ECHO_T}no" >&6
1610 test -n "$AWK" && break
1613 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1614 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1615 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1616 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 cat >conftest.make <<\_ACEOF
1621 @echo 'ac_maketemp="$(MAKE)"'
1623 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1624 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1625 if test -n "$ac_maketemp"; then
1626 eval ac_cv_prog_make_${ac_make}_set=yes
1628 eval ac_cv_prog_make_${ac_make}_set=no
1632 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1633 echo "$as_me:$LINENO: result: yes" >&5
1634 echo "${ECHO_T}yes" >&6
1637 echo "$as_me:$LINENO: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1639 SET_MAKE="MAKE=${MAKE-make}"
1642 rm -rf .tst 2>/dev/null
1643 mkdir .tst 2>/dev/null
1644 if test -d .tst; then
1649 rmdir .tst 2>/dev/null
1651 DEPDIR="${am__leading_dot}deps"
1653 ac_config_commands="$ac_config_commands depfiles"
1656 am_make=${MAKE-make}
1657 cat > confinc << 'END'
1662 # If we don't find an include directive, just comment out the code.
1663 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1664 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1668 # First try GNU make style include.
1669 echo "include confinc" > confmf
1670 # We grep out `Entering directory' and `Leaving directory'
1671 # messages which can occur if `w' ends up in MAKEFLAGS.
1672 # In particular we don't look at `^make:' because GNU make might
1673 # be invoked under some other name (usually "gmake"), in which
1674 # case it prints its new name instead of `make'.
1675 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1680 # Now try BSD make style include.
1681 if test "$am__include" = "#"; then
1682 echo '.include "confinc"' > confmf
1683 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1684 am__include=.include
1691 echo "$as_me:$LINENO: result: $_am_result" >&5
1692 echo "${ECHO_T}$_am_result" >&6
1693 rm -f confinc confmf
1695 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1696 if test "${enable_dependency_tracking+set}" = set; then
1697 enableval="$enable_dependency_tracking"
1700 if test "x$enable_dependency_tracking" != xno; then
1701 am_depcomp="$ac_aux_dir/depcomp"
1706 if test "x$enable_dependency_tracking" != xno; then
1717 # Check whether --enable-multilib or --disable-multilib was given.
1718 if test "${enable_multilib+set}" = set; then
1719 enableval="$enable_multilib"
1720 case "${enableval}" in
1721 yes) multilib=yes ;;
1723 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1724 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1725 { (exit 1); exit 1; }; } ;;
1730 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1731 if test "${enable_target_optspace+set}" = set; then
1732 enableval="$enable_target_optspace"
1733 case "${enableval}" in
1734 yes) target_optspace=yes ;;
1735 no) target_optspace=no ;;
1736 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1737 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1738 { (exit 1); exit 1; }; } ;;
1743 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1744 if test "${enable_malloc_debugging+set}" = set; then
1745 enableval="$enable_malloc_debugging"
1746 case "${enableval}" in
1747 yes) malloc_debugging=yes ;;
1748 no) malloc_debugging=no ;;
1749 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1750 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1751 { (exit 1); exit 1; }; } ;;
1756 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1757 if test "${enable_newlib_multithread+set}" = set; then
1758 enableval="$enable_newlib_multithread"
1759 case "${enableval}" in
1760 yes) newlib_multithread=yes ;;
1761 no) newlib_multithread=no ;;
1762 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1763 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1764 { (exit 1); exit 1; }; } ;;
1767 newlib_multithread=yes
1769 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1770 if test "${enable_newlib_iconv+set}" = set; then
1771 enableval="$enable_newlib_iconv"
1772 if test "${newlib_iconv+set}" != set; then
1773 case "${enableval}" in
1774 yes) newlib_iconv=yes ;;
1775 no) newlib_iconv=no ;;
1776 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1777 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1778 { (exit 1); exit 1; }; } ;;
1782 newlib_iconv=${newlib_iconv}
1784 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1785 if test "${enable_newlib_elix_level+set}" = set; then
1786 enableval="$enable_newlib_elix_level"
1787 case "${enableval}" in
1788 0) newlib_elix_level=0 ;;
1789 1) newlib_elix_level=1 ;;
1790 2) newlib_elix_level=2 ;;
1791 3) newlib_elix_level=3 ;;
1792 4) newlib_elix_level=4 ;;
1793 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1794 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1795 { (exit 1); exit 1; }; } ;;
1800 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1801 if test "${enable_newlib_io_float+set}" = set; then
1802 enableval="$enable_newlib_io_float"
1803 case "${enableval}" in
1804 yes) newlib_io_float=yes ;;
1805 no) newlib_io_float=no ;;
1806 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1807 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1808 { (exit 1); exit 1; }; } ;;
1813 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1814 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1815 enableval="$enable_newlib_supplied_syscalls"
1816 case "${enableval}" in
1817 yes) newlib_may_supply_syscalls=yes ;;
1818 no) newlib_may_supply_syscalls=no ;;
1819 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1820 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1821 { (exit 1); exit 1; }; } ;;
1824 newlib_may_supply_syscalls=yes
1828 if test x${newlib_may_supply_syscalls} = xyes; then
1829 MAY_SUPPLY_SYSCALLS_TRUE=
1830 MAY_SUPPLY_SYSCALLS_FALSE='#'
1832 MAY_SUPPLY_SYSCALLS_TRUE='#'
1833 MAY_SUPPLY_SYSCALLS_FALSE=
1838 test -z "${with_target_subdir}" && with_target_subdir=.
1840 if test "${srcdir}" = "."; then
1841 if test "${with_target_subdir}" != "."; then
1842 newlib_basedir="${srcdir}/${with_multisrctop}../.."
1844 newlib_basedir="${srcdir}/${with_multisrctop}.."
1847 newlib_basedir="${srcdir}/.."
1851 echo "$as_me:$LINENO: checking host system type" >&5
1852 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1853 if test "${ac_cv_host+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 ac_cv_host_alias=$host_alias
1857 test -z "$ac_cv_host_alias" &&
1858 ac_cv_host_alias=$ac_cv_build_alias
1859 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1860 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1861 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1862 { (exit 1); exit 1; }; }
1865 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1866 echo "${ECHO_T}$ac_cv_host" >&6
1868 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1869 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1870 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1874 # test to see if srcdir already configured
1875 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1876 test -f $srcdir/config.status; then
1877 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1878 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1879 { (exit 1); exit 1; }; }
1882 # test whether we have cygpath
1883 if test -z "$CYGPATH_W"; then
1884 if (cygpath --version) >/dev/null 2>/dev/null; then
1885 CYGPATH_W='cygpath -w'
1892 # Define the identity of the package.
1897 # Some tools Automake needs.
1899 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1902 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1905 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1908 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1911 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1913 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1915 # Installed binaries are usually stripped using `strip' when the user
1916 # run `make install-strip'. However `strip' might not be the right
1917 # tool to use in cross-compilation environments, therefore Automake
1918 # will honor the `STRIP' environment variable to overrule this program.
1919 if test "$cross_compiling" != no; then
1920 if test -n "$ac_tool_prefix"; then
1921 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1922 set dummy ${ac_tool_prefix}strip; ac_word=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_STRIP+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$STRIP"; then
1929 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 STRIP=$ac_cv_prog_STRIP
1948 if test -n "$STRIP"; then
1949 echo "$as_me:$LINENO: result: $STRIP" >&5
1950 echo "${ECHO_T}$STRIP" >&6
1952 echo "$as_me:$LINENO: result: no" >&5
1953 echo "${ECHO_T}no" >&6
1957 if test -z "$ac_cv_prog_STRIP"; then
1959 # Extract the first word of "strip", so it can be a program name with args.
1960 set dummy strip; ac_word=$2
1961 echo "$as_me:$LINENO: checking for $ac_word" >&5
1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1963 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 if test -n "$ac_ct_STRIP"; then
1967 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_ac_ct_STRIP="strip"
1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1986 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1987 if test -n "$ac_ct_STRIP"; then
1988 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1989 echo "${ECHO_T}$ac_ct_STRIP" >&6
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1997 STRIP="$ac_cv_prog_STRIP"
2001 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2003 # We need awk for the "check" target. The system "awk" is bad on
2005 # Always define AMTAR for backward compatibility.
2007 AMTAR=${AMTAR-"${am_missing_run}tar"}
2009 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2016 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2017 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2018 # are probably using a cross compiler, which will not be able to fully
2019 # link an executable. This should really be fixed in autoconf
2028 # Extract the first word of "gcc", so it can be a program name with args.
2029 set dummy gcc; ac_word=$2
2030 echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 if test -n "$CC"; then
2056 echo "$as_me:$LINENO: result: $CC" >&5
2057 echo "${ECHO_T}$CC" >&6
2059 echo "$as_me:$LINENO: result: no" >&5
2060 echo "${ECHO_T}no" >&6
2064 depcc="$CC" am_compiler_list=
2066 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2067 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2068 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2072 # We make a subdir and do the tests there. Otherwise we can end up
2073 # making bogus files that we don't know about and never remove. For
2074 # instance it was reported that on HP-UX the gcc test will end up
2075 # making a dummy file named `D' -- because `-MD' means `put the output
2078 # Copy depcomp to subdir because otherwise we won't find it if we're
2079 # using a relative directory.
2080 cp "$am_depcomp" conftest.dir
2082 # We will build objects and dependencies in a subdirectory because
2083 # it helps to detect inapplicable dependency modes. For instance
2084 # both Tru64's cc and ICC support -MD to output dependencies as a
2085 # side effect of compilation, but ICC will put the dependencies in
2086 # the current directory while Tru64 will put them in the object
2090 am_cv_CC_dependencies_compiler_type=none
2091 if test "$am_compiler_list" = ""; then
2092 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2094 for depmode in $am_compiler_list; do
2095 # Setup a source with many dependencies, because some compilers
2096 # like to wrap large dependency lists on column 80 (with \), and
2097 # we should not choose a depcomp mode which is confused by this.
2099 # We need to recreate these files for each test, as the compiler may
2100 # overwrite some of them when testing with obscure command lines.
2101 # This happens at least with the AIX C compiler.
2103 for i in 1 2 3 4 5 6; do
2104 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2105 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2106 # Solaris 8's {/usr,}/bin/sh.
2107 touch sub/conftst$i.h
2109 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2113 # after this tag, mechanisms are not by side-effect, so they'll
2114 # only be used when explicitly requested
2115 if test "x$enable_dependency_tracking" = xyes; then
2123 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2124 # mode. It turns out that the SunPro C++ compiler does not properly
2125 # handle `-M -o', and we need to detect this.
2126 if depmode=$depmode \
2127 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2128 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2129 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2130 >/dev/null 2>conftest.err &&
2131 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2132 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2133 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2134 # icc doesn't choke on unknown options, it will just issue warnings
2135 # or remarks (even with -Werror). So we grep stderr for any message
2136 # that says an option was ignored or not supported.
2137 # When given -MP, icc 7.0 and 7.1 complain thusly:
2138 # icc: Command line warning: ignoring option '-M'; no argument required
2139 # The diagnosis changed in icc 8.0:
2140 # icc: Command line remark: option '-MP' not supported
2141 if (grep 'ignoring option' conftest.err ||
2142 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2143 am_cv_CC_dependencies_compiler_type=$depmode
2152 am_cv_CC_dependencies_compiler_type=none
2156 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2157 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2158 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2163 test "x$enable_dependency_tracking" != xno \
2164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2166 am__fastdepCC_FALSE='#'
2168 am__fastdepCC_TRUE='#'
2169 am__fastdepCC_FALSE=
2173 if test -z "$CC"; then
2174 # Extract the first word of "cc", so it can be a program name with args.
2175 set dummy cc; ac_word=$2
2176 echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2178 if test "${ac_cv_prog_CC+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$CC"; then
2182 ac_cv_prog_CC="$CC" # Let the user override the test.
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir=.
2190 for ac_exec_ext in '' $ac_executable_extensions; do
2191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2193 ac_prog_rejected=yes
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test $ac_prog_rejected = yes; then
2204 # We found a bogon in the path, so make sure we never use it.
2205 set dummy $ac_cv_prog_CC
2207 if test $# != 0; then
2208 # We chose a different compiler from the bogus one.
2209 # However, it has the same basename, so the bogon will be chosen
2210 # first if we set CC to just the basename; use the full file name.
2212 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2218 if test -n "$CC"; then
2219 echo "$as_me:$LINENO: result: $CC" >&5
2220 echo "${ECHO_T}$CC" >&6
2222 echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6
2226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2227 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2228 { (exit 1); exit 1; }; }
2231 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2232 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2233 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 cat > conftest.c <<EOF
2241 if { ac_try='${CC-cc} -E conftest.c'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2247 ac_cv_c_compiler_gnu=yes
2249 ac_cv_c_compiler_gnu=no
2252 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2253 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2255 if test $ac_cv_c_compiler_gnu = yes; then
2257 ac_test_CFLAGS="${CFLAGS+set}"
2258 ac_save_CFLAGS="$CFLAGS"
2260 ac_test_CFLAGS=${CFLAGS+set}
2261 ac_save_CFLAGS=$CFLAGS
2263 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2264 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2265 if test "${ac_cv_prog_cc_g+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 cat >conftest.$ac_ext <<_ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h. */
2283 rm -f conftest.$ac_objext
2284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2285 (eval $ac_compile) 2>conftest.er1
2287 grep -v '^ *+' conftest.er1 >conftest.err
2289 cat conftest.err >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); } &&
2292 { ac_try='test -z "$ac_c_werror_flag"
2293 || test ! -s conftest.err'
2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }; } &&
2299 { ac_try='test -s conftest.$ac_objext'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; }; then
2307 echo "$as_me: failed program was:" >&5
2308 sed 's/^/| /' conftest.$ac_ext >&5
2312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2314 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2315 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2316 if test "$ac_test_CFLAGS" = set; then
2317 CFLAGS=$ac_save_CFLAGS
2318 elif test $ac_cv_prog_cc_g = yes; then
2319 if test "$GCC" = yes; then
2325 if test "$GCC" = yes; then
2331 if test "$ac_test_CFLAGS" = set; then
2332 CFLAGS="$ac_save_CFLAGS"
2333 elif test $ac_cv_prog_cc_g = yes; then
2340 test "${CFLAGS+set}" = set || CFLAGS="-g"
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2346 set dummy ${ac_tool_prefix}as; ac_word=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_AS+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$AS"; then
2353 ac_cv_prog_AS="$AS" # Let the user override the test.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_AS="${ac_tool_prefix}as"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$AS"; then
2373 echo "$as_me:$LINENO: result: $AS" >&5
2374 echo "${ECHO_T}$AS" >&6
2376 echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6
2381 if test -z "$ac_cv_prog_AS"; then
2383 # Extract the first word of "as", so it can be a program name with args.
2384 set dummy as; ac_word=$2
2385 echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$ac_ct_AS"; then
2391 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ac_ct_AS="as"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2410 if test -n "$ac_ct_AS"; then
2411 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2412 echo "${ECHO_T}$ac_ct_AS" >&6
2414 echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6
2423 if test -n "$ac_tool_prefix"; then
2424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2425 set dummy ${ac_tool_prefix}ar; ac_word=$2
2426 echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2428 if test "${ac_cv_prog_AR+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 if test -n "$AR"; then
2432 ac_cv_prog_AR="$AR" # Let the user override the test.
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2441 ac_cv_prog_AR="${ac_tool_prefix}ar"
2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$AR"; then
2452 echo "$as_me:$LINENO: result: $AR" >&5
2453 echo "${ECHO_T}$AR" >&6
2455 echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6
2460 if test -z "$ac_cv_prog_AR"; then
2462 # Extract the first word of "ar", so it can be a program name with args.
2463 set dummy ar; ac_word=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$ac_ct_AR"; then
2470 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_ac_ct_AR="ar"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2489 if test -n "$ac_ct_AR"; then
2490 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2491 echo "${ECHO_T}$ac_ct_AR" >&6
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2502 if test -n "$ac_tool_prefix"; then
2503 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2504 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2505 echo "$as_me:$LINENO: checking for $ac_word" >&5
2506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2507 if test "${ac_cv_prog_RANLIB+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 if test -n "$RANLIB"; then
2511 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir=.
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2520 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 RANLIB=$ac_cv_prog_RANLIB
2530 if test -n "$RANLIB"; then
2531 echo "$as_me:$LINENO: result: $RANLIB" >&5
2532 echo "${ECHO_T}$RANLIB" >&6
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2539 if test -z "$ac_cv_prog_RANLIB"; then
2540 ac_ct_RANLIB=$RANLIB
2541 # Extract the first word of "ranlib", so it can be a program name with args.
2542 set dummy ranlib; ac_word=$2
2543 echo "$as_me:$LINENO: checking for $ac_word" >&5
2544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2545 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 if test -n "$ac_ct_RANLIB"; then
2549 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_ac_ct_RANLIB="ranlib"
2559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2568 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2569 if test -n "$ac_ct_RANLIB"; then
2570 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2571 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2577 RANLIB=$ac_ct_RANLIB
2579 RANLIB="$ac_cv_prog_RANLIB"
2583 # Find a good install program. We prefer a C program (faster),
2584 # so one script is as good as another. But avoid the broken or
2585 # incompatible versions:
2586 # SysV /etc/install, /usr/sbin/install
2587 # SunOS /usr/etc/install
2588 # IRIX /sbin/install
2590 # AmigaOS /C/install, which installs bootblocks on floppy discs
2591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2594 # OS/2's system install, which has a completely different semantic
2595 # ./install, which can be erroneously created by make from ./install.sh.
2596 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2597 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2598 if test -z "$INSTALL"; then
2599 if test "${ac_cv_path_install+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 # Account for people who put trailing slashes in PATH elements.
2609 ./ | .// | /cC/* | \
2610 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2611 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2614 # OSF1 and SCO ODT 3.0 have their own names for install.
2615 # Don't use installbsd from OSF since it installs stuff as root
2617 for ac_prog in ginstall scoinst install; do
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2620 if test $ac_prog = install &&
2621 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2622 # AIX install. It has an incompatible calling convention.
2624 elif test $ac_prog = install &&
2625 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2626 # program-specific install script used by HP pwplus--don't use.
2629 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2641 if test "${ac_cv_path_install+set}" = set; then
2642 INSTALL=$ac_cv_path_install
2644 # As a last resort, use the slow shell script. We don't cache a
2645 # path for INSTALL within a source directory, because that will
2646 # break other packages using the cache if that directory is
2647 # removed, or if the path is relative.
2648 INSTALL=$ac_install_sh
2651 echo "$as_me:$LINENO: result: $INSTALL" >&5
2652 echo "${ECHO_T}$INSTALL" >&6
2654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2655 # It thinks the first close brace ends the variable substitution.
2656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2660 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2663 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2664 ac_given_INSTALL=$INSTALL
2666 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2667 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2668 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2669 if test "${enable_maintainer_mode+set}" = set; then
2670 enableval="$enable_maintainer_mode"
2671 USE_MAINTAINER_MODE=$enableval
2673 USE_MAINTAINER_MODE=no
2675 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2676 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2679 if test $USE_MAINTAINER_MODE = yes; then
2680 MAINTAINER_MODE_TRUE=
2681 MAINTAINER_MODE_FALSE='#'
2683 MAINTAINER_MODE_TRUE='#'
2684 MAINTAINER_MODE_FALSE=
2687 MAINT=$MAINTAINER_MODE_TRUE
2690 # By default we simply use the C compiler to build assembly code.
2692 test "${CCAS+set}" = set || CCAS=$CC
2693 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2698 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2699 # at least currently, we never actually build a program, so we never
2700 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2701 # fails, because we are probably configuring with a cross compiler
2702 # which can't create executables. So we include AC_EXEEXT to keep
2703 # automake happy, but we don't execute it, since we don't care about
2710 . ${newlib_basedir}/configure.host
2712 newlib_cflags="${newlib_cflags} -fno-builtin"
2714 NEWLIB_CFLAGS=${newlib_cflags}
2722 if test x${newlib_elix_level} = x0; then
2724 ELIX_LEVEL_0_FALSE='#'
2726 ELIX_LEVEL_0_TRUE='#'
2732 if test x${newlib_elix_level} = x1; then
2734 ELIX_LEVEL_1_FALSE='#'
2736 ELIX_LEVEL_1_TRUE='#'
2742 if test x${newlib_elix_level} = x2; then
2744 ELIX_LEVEL_2_FALSE='#'
2746 ELIX_LEVEL_2_TRUE='#'
2752 if test x${newlib_elix_level} = x3; then
2754 ELIX_LEVEL_3_FALSE='#'
2756 ELIX_LEVEL_3_TRUE='#'
2762 if test x${newlib_elix_level} = x4; then
2764 ELIX_LEVEL_4_FALSE='#'
2766 ELIX_LEVEL_4_TRUE='#'
2773 if test x${use_libtool} = xyes; then
2775 USE_LIBTOOL_FALSE='#'
2777 USE_LIBTOOL_TRUE='#'
2782 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2783 # use oext, which is set in configure.host based on the target platform.
2797 if test "${use_libtool}" = "yes"; then
2799 # Check whether --enable-shared or --disable-shared was given.
2800 if test "${enable_shared+set}" = set; then
2801 enableval="$enable_shared"
2802 p=${PACKAGE-default}
2804 yes) enable_shared=yes ;;
2805 no) enable_shared=no ;;
2808 # Look at the argument we got. We use all the common list separators.
2809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2810 for pkg in $enableval; do
2811 if test "X$pkg" = "X$p"; then
2821 # Check whether --enable-static or --disable-static was given.
2822 if test "${enable_static+set}" = set; then
2823 enableval="$enable_static"
2824 p=${PACKAGE-default}
2826 yes) enable_static=yes ;;
2827 no) enable_static=no ;;
2830 # Look at the argument we got. We use all the common list separators.
2831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2832 for pkg in $enableval; do
2833 if test "X$pkg" = "X$p"; then
2843 # Check whether --enable-fast-install or --disable-fast-install was given.
2844 if test "${enable_fast_install+set}" = set; then
2845 enableval="$enable_fast_install"
2846 p=${PACKAGE-default}
2848 yes) enable_fast_install=yes ;;
2849 no) enable_fast_install=no ;;
2851 enable_fast_install=no
2852 # Look at the argument we got. We use all the common list separators.
2853 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2854 for pkg in $enableval; do
2855 if test "X$pkg" = "X$p"; then
2856 enable_fast_install=yes
2863 enable_fast_install=yes
2866 ac_cpp='$CPP $CPPFLAGS'
2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2870 if test -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2872 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2873 echo "$as_me:$LINENO: checking for $ac_word" >&5
2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2875 if test "${ac_cv_prog_CC+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC="$CC" # Let the user override the test.
2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir=.
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 if test -n "$CC"; then
2899 echo "$as_me:$LINENO: result: $CC" >&5
2900 echo "${ECHO_T}$CC" >&6
2902 echo "$as_me:$LINENO: result: no" >&5
2903 echo "${ECHO_T}no" >&6
2907 if test -z "$ac_cv_prog_CC"; then
2909 # Extract the first word of "gcc", so it can be a program name with args.
2910 set dummy gcc; ac_word=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -n "$ac_ct_CC"; then
2917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_ac_ct_CC="gcc"
2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2936 if test -n "$ac_ct_CC"; then
2937 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2938 echo "${ECHO_T}$ac_ct_CC" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2949 if test -z "$CC"; then
2950 if test -n "$ac_tool_prefix"; then
2951 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2952 set dummy ${ac_tool_prefix}cc; ac_word=$2
2953 echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2955 if test "${ac_cv_prog_CC+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_CC="${ac_tool_prefix}cc"
2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 if test -n "$CC"; then
2979 echo "$as_me:$LINENO: result: $CC" >&5
2980 echo "${ECHO_T}$CC" >&6
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2987 if test -z "$ac_cv_prog_CC"; then
2989 # Extract the first word of "cc", so it can be a program name with args.
2990 set dummy cc; ac_word=$2
2991 echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2993 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 if test -n "$ac_ct_CC"; then
2997 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006 ac_cv_prog_ac_ct_CC="cc"
3007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3016 if test -n "$ac_ct_CC"; then
3017 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3018 echo "${ECHO_T}$ac_ct_CC" >&6
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3030 if test -z "$CC"; then
3031 # Extract the first word of "cc", so it can be a program name with args.
3032 set dummy cc; ac_word=$2
3033 echo "$as_me:$LINENO: checking for $ac_word" >&5
3034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3035 if test "${ac_cv_prog_CC+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3038 if test -n "$CC"; then
3039 ac_cv_prog_CC="$CC" # Let the user override the test.
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3050 ac_prog_rejected=yes
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test $ac_prog_rejected = yes; then
3061 # We found a bogon in the path, so make sure we never use it.
3062 set dummy $ac_cv_prog_CC
3064 if test $# != 0; then
3065 # We chose a different compiler from the bogus one.
3066 # However, it has the same basename, so the bogon will be chosen
3067 # first if we set CC to just the basename; use the full file name.
3069 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3075 if test -n "$CC"; then
3076 echo "$as_me:$LINENO: result: $CC" >&5
3077 echo "${ECHO_T}$CC" >&6
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3084 if test -z "$CC"; then
3085 if test -n "$ac_tool_prefix"; then
3088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3089 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3090 echo "$as_me:$LINENO: checking for $ac_word" >&5
3091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3092 if test "${ac_cv_prog_CC+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC="$CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 if test -n "$CC"; then
3116 echo "$as_me:$LINENO: result: $CC" >&5
3117 echo "${ECHO_T}$CC" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3123 test -n "$CC" && break
3126 if test -z "$CC"; then
3130 # Extract the first word of "$ac_prog", so it can be a program name with args.
3131 set dummy $ac_prog; ac_word=$2
3132 echo "$as_me:$LINENO: checking for $ac_word" >&5
3133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3134 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3137 if test -n "$ac_ct_CC"; then
3138 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir=.
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3147 ac_cv_prog_ac_ct_CC="$ac_prog"
3148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3157 if test -n "$ac_ct_CC"; then
3158 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3159 echo "${ECHO_T}$ac_ct_CC" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3165 test -n "$ac_ct_CC" && break
3174 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3175 See \`config.log' for more details." >&5
3176 echo "$as_me: error: no acceptable C compiler found in \$PATH
3177 See \`config.log' for more details." >&2;}
3178 { (exit 1); exit 1; }; }
3180 # Provide some information about the compiler.
3181 echo "$as_me:$LINENO:" \
3182 "checking for C compiler version" >&5
3183 ac_compiler=`set X $ac_compile; echo $2`
3184 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3185 (eval $ac_compiler --version </dev/null >&5) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }
3189 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3190 (eval $ac_compiler -v </dev/null >&5) 2>&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }
3194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3195 (eval $ac_compiler -V </dev/null >&5) 2>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }
3200 cat >conftest.$ac_ext <<_ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3215 ac_clean_files_save=$ac_clean_files
3216 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3217 # Try to create an executable without -o first, disregard a.out.
3218 # It will help us diagnose broken compilers, and finding out an intuition
3220 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3221 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3222 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3223 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3224 (eval $ac_link_default) 2>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; then
3228 # Find the output, starting from the most likely. This scheme is
3229 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3232 # Be careful to initialize this variable, since it used to be cached.
3233 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3235 # b.out is created by i960 compilers.
3236 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3238 test -f "$ac_file" || continue
3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3243 # This is the source file.
3246 # We found the default executable, but exeext='' is most
3250 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3251 # FIXME: I believe we export ac_cv_exeext for Libtool,
3252 # but it would be cool to find out if it's true. Does anybody
3253 # maintain Libtool? --akim.
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.$ac_ext >&5
3264 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3265 See \`config.log' for more details." >&5
3266 echo "$as_me: error: C compiler cannot create executables
3267 See \`config.log' for more details." >&2;}
3268 { (exit 77); exit 77; }; }
3271 ac_exeext=$ac_cv_exeext
3272 echo "$as_me:$LINENO: result: $ac_file" >&5
3273 echo "${ECHO_T}$ac_file" >&6
3275 # Check the compiler produces executables we can run. If not, either
3276 # the compiler is broken, or we cross compile.
3277 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3280 # If not cross compiling, check that we can run a simple program.
3281 if test "$cross_compiling" != yes; then
3282 if { ac_try='./$ac_file'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }; }; then
3290 if test "$cross_compiling" = maybe; then
3293 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3294 If you meant to cross compile, use \`--host'.
3295 See \`config.log' for more details." >&5
3296 echo "$as_me: error: cannot run C compiled programs.
3297 If you meant to cross compile, use \`--host'.
3298 See \`config.log' for more details." >&2;}
3299 { (exit 1); exit 1; }; }
3303 echo "$as_me:$LINENO: result: yes" >&5
3304 echo "${ECHO_T}yes" >&6
3306 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3307 ac_clean_files=$ac_clean_files_save
3308 # Check the compiler produces executables we can run. If not, either
3309 # the compiler is broken, or we cross compile.
3310 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3311 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3312 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3313 echo "${ECHO_T}$cross_compiling" >&6
3315 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3316 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3318 (eval $ac_link) 2>&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; then
3322 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3323 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3324 # work properly (i.e., refer to `conftest.exe'), while it won't with
3326 for ac_file in conftest.exe conftest conftest.*; do
3327 test -f "$ac_file" || continue
3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3330 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3337 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3338 See \`config.log' for more details." >&5
3339 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3340 See \`config.log' for more details." >&2;}
3341 { (exit 1); exit 1; }; }
3344 rm -f conftest$ac_cv_exeext
3345 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3346 echo "${ECHO_T}$ac_cv_exeext" >&6
3348 rm -f conftest.$ac_ext
3349 EXEEXT=$ac_cv_exeext
3351 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3352 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3353 if test "${ac_cv_objext+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3371 rm -f conftest.o conftest.obj
3372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3373 (eval $ac_compile) 2>&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; then
3377 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3380 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3385 echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.$ac_ext >&5
3388 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3389 See \`config.log' for more details." >&5
3390 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3391 See \`config.log' for more details." >&2;}
3392 { (exit 1); exit 1; }; }
3395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3397 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3398 echo "${ECHO_T}$ac_cv_objext" >&6
3399 OBJEXT=$ac_cv_objext
3401 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3402 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3403 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3424 rm -f conftest.$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3457 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3458 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3459 GCC=`test $ac_compiler_gnu = yes && echo yes`
3460 ac_test_CFLAGS=${CFLAGS+set}
3461 ac_save_CFLAGS=$CFLAGS
3463 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3464 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3465 if test "${ac_cv_prog_cc_g+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 cat >conftest.$ac_ext <<_ACEOF
3471 cat confdefs.h >>conftest.$ac_ext
3472 cat >>conftest.$ac_ext <<_ACEOF
3473 /* end confdefs.h. */
3483 rm -f conftest.$ac_objext
3484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3485 (eval $ac_compile) 2>conftest.er1
3487 grep -v '^ *+' conftest.er1 >conftest.err
3489 cat conftest.err >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } &&
3492 { ac_try='test -z "$ac_c_werror_flag"
3493 || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try='test -s conftest.$ac_objext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3514 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3515 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3516 if test "$ac_test_CFLAGS" = set; then
3517 CFLAGS=$ac_save_CFLAGS
3518 elif test $ac_cv_prog_cc_g = yes; then
3519 if test "$GCC" = yes; then
3525 if test "$GCC" = yes; then
3531 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3532 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3533 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 ac_cv_prog_cc_stdc=no
3538 cat >conftest.$ac_ext <<_ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3546 #include <sys/types.h>
3547 #include <sys/stat.h>
3548 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3549 struct buf { int x; };
3550 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3551 static char *e (p, i)
3557 static char *f (char * (*g) (char **, int), char **p, ...)
3562 s = g (p, va_arg (v,int));
3567 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3568 function prototypes and stuff, but not '\xHH' hex character constants.
3569 These don't provoke an error unfortunately, instead are silently treated
3570 as 'x'. The following induces an error, until -std1 is added to get
3571 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3572 array size at least. It's necessary to write '\x00'==0 to get something
3573 that's true only with -std1. */
3574 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3576 int test (int i, double x);
3577 struct s1 {int (*f) (int a);};
3578 struct s2 {int (*f) (double a);};
3579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3590 # Don't try gcc -ansi; that turns off useful extensions and
3591 # breaks some systems' header files.
3592 # AIX -qlanglvl=ansi
3593 # Ultrix and OSF/1 -std1
3594 # HP-UX 10.20 and later -Ae
3595 # HP-UX older versions -Aa -D_HPUX_SOURCE
3596 # SVR4 -Xc -D__EXTENSIONS__
3597 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 CC="$ac_save_CC $ac_arg"
3600 rm -f conftest.$ac_objext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } &&
3609 { ac_try='test -z "$ac_c_werror_flag"
3610 || test ! -s conftest.err'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; } &&
3616 { ac_try='test -s conftest.$ac_objext'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; }; then
3622 ac_cv_prog_cc_stdc=$ac_arg
3625 echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.$ac_ext >&5
3629 rm -f conftest.err conftest.$ac_objext
3631 rm -f conftest.$ac_ext conftest.$ac_objext
3636 case "x$ac_cv_prog_cc_stdc" in
3638 echo "$as_me:$LINENO: result: none needed" >&5
3639 echo "${ECHO_T}none needed" >&6 ;;
3641 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3642 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3643 CC="$CC $ac_cv_prog_cc_stdc" ;;
3646 # Some people use a C++ compiler to compile C. Since we use `exit',
3647 # in C++ we need to declare it. In case someone uses the same compiler
3648 # for both compiling C and C++ we need to have the C++ compiler decide
3649 # the declaration of exit, since it's the most demanding environment.
3650 cat >conftest.$ac_ext <<_ACEOF
3655 rm -f conftest.$ac_objext
3656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657 (eval $ac_compile) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try='test -z "$ac_c_werror_flag"
3665 || test ! -s conftest.err'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; } &&
3671 { ac_try='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 for ac_declaration in \
3679 'extern "C" void std::exit (int) throw (); using std::exit;' \
3680 'extern "C" void std::exit (int); using std::exit;' \
3681 'extern "C" void exit (int) throw ();' \
3682 'extern "C" void exit (int);' \
3685 cat >conftest.$ac_ext <<_ACEOF
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* 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
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3746 rm -f conftest.$ac_objext
3747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748 (eval $ac_compile) 2>conftest.er1
3750 grep -v '^ *+' conftest.er1 >conftest.err
3752 cat conftest.err >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 { ac_try='test -z "$ac_c_werror_flag"
3756 || test ! -s conftest.err'
3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }; } &&
3762 { ac_try='test -s conftest.$ac_objext'
3763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); }; }; then
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3777 if test -n "$ac_declaration"; then
3778 echo '#ifdef __cplusplus' >>confdefs.h
3779 echo $ac_declaration >>confdefs.h
3780 echo '#endif' >>confdefs.h
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 depcc="$CC" am_compiler_list=
3797 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3798 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3799 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3803 # We make a subdir and do the tests there. Otherwise we can end up
3804 # making bogus files that we don't know about and never remove. For
3805 # instance it was reported that on HP-UX the gcc test will end up
3806 # making a dummy file named `D' -- because `-MD' means `put the output
3809 # Copy depcomp to subdir because otherwise we won't find it if we're
3810 # using a relative directory.
3811 cp "$am_depcomp" conftest.dir
3813 # We will build objects and dependencies in a subdirectory because
3814 # it helps to detect inapplicable dependency modes. For instance
3815 # both Tru64's cc and ICC support -MD to output dependencies as a
3816 # side effect of compilation, but ICC will put the dependencies in
3817 # the current directory while Tru64 will put them in the object
3821 am_cv_CC_dependencies_compiler_type=none
3822 if test "$am_compiler_list" = ""; then
3823 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3825 for depmode in $am_compiler_list; do
3826 # Setup a source with many dependencies, because some compilers
3827 # like to wrap large dependency lists on column 80 (with \), and
3828 # we should not choose a depcomp mode which is confused by this.
3830 # We need to recreate these files for each test, as the compiler may
3831 # overwrite some of them when testing with obscure command lines.
3832 # This happens at least with the AIX C compiler.
3834 for i in 1 2 3 4 5 6; do
3835 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3836 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3837 # Solaris 8's {/usr,}/bin/sh.
3838 touch sub/conftst$i.h
3840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3844 # after this tag, mechanisms are not by side-effect, so they'll
3845 # only be used when explicitly requested
3846 if test "x$enable_dependency_tracking" = xyes; then
3854 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3855 # mode. It turns out that the SunPro C++ compiler does not properly
3856 # handle `-M -o', and we need to detect this.
3857 if depmode=$depmode \
3858 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3859 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3860 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3861 >/dev/null 2>conftest.err &&
3862 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3863 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3864 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3865 # icc doesn't choke on unknown options, it will just issue warnings
3866 # or remarks (even with -Werror). So we grep stderr for any message
3867 # that says an option was ignored or not supported.
3868 # When given -MP, icc 7.0 and 7.1 complain thusly:
3869 # icc: Command line warning: ignoring option '-M'; no argument required
3870 # The diagnosis changed in icc 8.0:
3871 # icc: Command line remark: option '-MP' not supported
3872 if (grep 'ignoring option' conftest.err ||
3873 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3874 am_cv_CC_dependencies_compiler_type=$depmode
3883 am_cv_CC_dependencies_compiler_type=none
3887 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3888 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3889 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3894 test "x$enable_dependency_tracking" != xno \
3895 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3897 am__fastdepCC_FALSE='#'
3899 am__fastdepCC_TRUE='#'
3900 am__fastdepCC_FALSE=
3905 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3906 if test "${with_gnu_ld+set}" = set; then
3907 withval="$with_gnu_ld"
3908 test "$withval" = no || with_gnu_ld=yes
3913 if test "$GCC" = yes; then
3914 # Check if gcc -print-prog-name=ld gives a path.
3915 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3916 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3919 # gcc leaves a trailing carriage return which upsets mingw
3920 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3922 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3925 # Accept absolute paths.
3926 [\\/]* | [A-Za-z]:[\\/]*)
3927 re_direlt='/[^/][^/]*/\.\./'
3928 # Canonicalize the path of ld
3929 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3930 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3931 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3933 test -z "$LD" && LD="$ac_prog"
3936 # If it fails, then pretend we aren't using GCC.
3940 # If it is relative, then search for the first ld in PATH.
3944 elif test "$with_gnu_ld" = yes; then
3945 echo "$as_me:$LINENO: checking for GNU ld" >&5
3946 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3948 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3949 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3951 if test "${lt_cv_path_LD+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if test -z "$LD"; then
3955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3956 for ac_dir in $PATH; do
3957 test -z "$ac_dir" && ac_dir=.
3958 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3959 lt_cv_path_LD="$ac_dir/$ac_prog"
3960 # Check to see if the program is GNU ld. I'd rather use --version,
3961 # but apparently some GNU ld's only accept -v.
3962 # Break only if it was the GNU/non-GNU ld that we prefer.
3963 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3964 test "$with_gnu_ld" != no && break
3966 test "$with_gnu_ld" != yes && break
3972 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3977 if test -n "$LD"; then
3978 echo "$as_me:$LINENO: result: $LD" >&5
3979 echo "${ECHO_T}$LD" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3984 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3985 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3986 { (exit 1); exit 1; }; }
3987 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3988 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3989 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3993 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3994 lt_cv_prog_gnu_ld=yes
3996 lt_cv_prog_gnu_ld=no
3999 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4000 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4001 with_gnu_ld=$lt_cv_prog_gnu_ld
4004 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4005 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4006 if test "${lt_cv_ld_reload_flag+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 lt_cv_ld_reload_flag='-r'
4011 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4012 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4013 reload_flag=$lt_cv_ld_reload_flag
4014 test -n "$reload_flag" && reload_flag=" $reload_flag"
4016 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4017 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4018 if test "${lt_cv_path_NM+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -n "$NM"; then
4022 # Let the user override the test.
4025 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4026 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4027 test -z "$ac_dir" && ac_dir=.
4028 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4029 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4030 # Check to see if the nm accepts a BSD-compat flag.
4031 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4032 # nm: unknown option "B" ignored
4033 # Tru64's nm complains that /dev/null is an invalid object file
4034 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4035 lt_cv_path_NM="$tmp_nm -B"
4037 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4038 lt_cv_path_NM="$tmp_nm -p"
4041 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4042 continue # so that we can try to find one that supports BSD flags
4047 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4052 echo "$as_me:$LINENO: result: $NM" >&5
4053 echo "${ECHO_T}$NM" >&6
4055 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4056 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4058 if test "$LN_S" = "ln -s"; then
4059 echo "$as_me:$LINENO: result: yes" >&5
4060 echo "${ECHO_T}yes" >&6
4062 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4063 echo "${ECHO_T}no, using $LN_S" >&6
4066 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4067 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4068 if test "${lt_cv_deplibs_check_method+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 lt_cv_file_magic_cmd='$MAGIC_CMD'
4072 lt_cv_file_magic_test_file=
4073 lt_cv_deplibs_check_method='unknown'
4074 # Need to set the preceding variable on all platforms that support
4075 # interlibrary dependencies.
4076 # 'none' -- dependencies not supported.
4077 # `unknown' -- same as none, but documents that we really don't know.
4078 # 'pass_all' -- all dependencies passed with no checks.
4079 # 'test_compile' -- check by making test program.
4080 # 'file_magic [regex]' -- check by looking for files in library path
4081 # which responds to the $file_magic_cmd with a given egrep regex.
4082 # If you have `file' or equivalent on your system and you're not sure
4083 # whether `pass_all' will *always* work, you probably want this one.
4087 lt_cv_deplibs_check_method=pass_all
4091 lt_cv_deplibs_check_method=pass_all
4095 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4096 lt_cv_file_magic_cmd='/usr/bin/file -L'
4097 lt_cv_file_magic_test_file=/shlib/libc.so
4100 cygwin* | mingw* |pw32*)
4101 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4102 lt_cv_file_magic_cmd='$OBJDUMP -f'
4105 darwin* | rhapsody*)
4106 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4107 lt_cv_file_magic_cmd='/usr/bin/file -L'
4109 rhapsody* | darwin1.012)
4110 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4113 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4119 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4122 # Not sure whether the presence of OpenBSD here was a mistake.
4123 # Let's accept both of them until this is cleared up.
4124 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4125 lt_cv_file_magic_cmd=/usr/bin/file
4126 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4130 lt_cv_deplibs_check_method=pass_all
4135 lt_cv_deplibs_check_method=pass_all
4141 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4142 lt_cv_file_magic_cmd=/usr/bin/file
4143 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4146 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4147 lt_cv_file_magic_cmd=/usr/bin/file
4148 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4156 # this will be overridden with pass_all, but let us keep it just in case
4157 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4161 *-32|*"-32 ") libmagic=32-bit;;
4162 *-n32|*"-n32 ") libmagic=N32;;
4163 *-64|*"-64 ") libmagic=64-bit;;
4164 *) libmagic=never-match;;
4166 # this will be overridden with pass_all, but let us keep it just in case
4167 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4170 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4171 lt_cv_deplibs_check_method=pass_all
4174 # This must be Linux ELF.
4175 linux-gnu*|linux-newlib*)
4177 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4178 lt_cv_deplibs_check_method=pass_all ;;
4180 # glibc up to 2.1.1 does not perform some relocations on ARM
4181 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4183 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4187 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4188 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4190 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4195 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4196 lt_cv_file_magic_cmd=/usr/bin/file
4197 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4200 osf3* | osf4* | osf5*)
4201 # this will be overridden with pass_all, but let us keep it just in case
4202 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4203 lt_cv_file_magic_test_file=/shlib/libc.so
4204 lt_cv_deplibs_check_method=pass_all
4208 lt_cv_deplibs_check_method=pass_all
4212 lt_cv_deplibs_check_method=pass_all
4213 lt_cv_file_magic_test_file=/lib/libc.so
4216 sysv5uw[78]* | sysv4*uw2*)
4217 lt_cv_deplibs_check_method=pass_all
4220 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4221 case $host_vendor in
4223 lt_cv_deplibs_check_method=pass_all
4226 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]'
4227 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4234 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4235 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4236 file_magic_cmd=$lt_cv_file_magic_cmd
4237 deplibs_check_method=$lt_cv_deplibs_check_method
4242 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4244 # Only perform the check for file, if the check method requires it
4245 case $deplibs_check_method in
4247 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4248 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4249 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4250 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4258 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4261 ac_save_MAGIC_CMD="$MAGIC_CMD"
4262 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4263 ac_dummy="/usr/bin:$PATH"
4264 for ac_dir in $ac_dummy; do
4265 test -z "$ac_dir" && ac_dir=.
4266 if test -f $ac_dir/${ac_tool_prefix}file; then
4267 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4268 if test -n "$file_magic_test_file"; then
4269 case $deplibs_check_method in
4271 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4273 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4274 egrep "$file_magic_regex" > /dev/null; then
4279 *** Warning: the command libtool uses to detect shared libraries,
4280 *** $file_magic_cmd, produces output that libtool cannot recognize.
4281 *** The result is that libtool may fail to recognize shared libraries
4282 *** as such. This will affect the creation of libtool libraries that
4283 *** depend on shared libraries, but programs linked with such libtool
4284 *** libraries will work regardless of this problem. Nevertheless, you
4285 *** may want to report the problem to your system manager and/or to
4286 *** bug-libtool@gnu.org
4296 MAGIC_CMD="$ac_save_MAGIC_CMD"
4301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4302 if test -n "$MAGIC_CMD"; then
4303 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4304 echo "${ECHO_T}$MAGIC_CMD" >&6
4306 echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6
4310 if test -z "$lt_cv_path_MAGIC_CMD"; then
4311 if test -n "$ac_tool_prefix"; then
4312 echo "$as_me:$LINENO: checking for file" >&5
4313 echo $ECHO_N "checking for file... $ECHO_C" >&6
4314 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4322 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4325 ac_save_MAGIC_CMD="$MAGIC_CMD"
4326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4327 ac_dummy="/usr/bin:$PATH"
4328 for ac_dir in $ac_dummy; do
4329 test -z "$ac_dir" && ac_dir=.
4330 if test -f $ac_dir/file; then
4331 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4332 if test -n "$file_magic_test_file"; then
4333 case $deplibs_check_method in
4335 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4336 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4337 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4338 egrep "$file_magic_regex" > /dev/null; then
4343 *** Warning: the command libtool uses to detect shared libraries,
4344 *** $file_magic_cmd, produces output that libtool cannot recognize.
4345 *** The result is that libtool may fail to recognize shared libraries
4346 *** as such. This will affect the creation of libtool libraries that
4347 *** depend on shared libraries, but programs linked with such libtool
4348 *** libraries will work regardless of this problem. Nevertheless, you
4349 *** may want to report the problem to your system manager and/or to
4350 *** bug-libtool@gnu.org
4360 MAGIC_CMD="$ac_save_MAGIC_CMD"
4365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4366 if test -n "$MAGIC_CMD"; then
4367 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4368 echo "${ECHO_T}$MAGIC_CMD" >&6
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4383 if test -n "$ac_tool_prefix"; then
4384 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4385 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4386 echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4388 if test "${ac_cv_prog_RANLIB+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test -n "$RANLIB"; then
4392 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 RANLIB=$ac_cv_prog_RANLIB
4411 if test -n "$RANLIB"; then
4412 echo "$as_me:$LINENO: result: $RANLIB" >&5
4413 echo "${ECHO_T}$RANLIB" >&6
4415 echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6
4420 if test -z "$ac_cv_prog_RANLIB"; then
4421 ac_ct_RANLIB=$RANLIB
4422 # Extract the first word of "ranlib", so it can be a program name with args.
4423 set dummy ranlib; ac_word=$2
4424 echo "$as_me:$LINENO: checking for $ac_word" >&5
4425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4426 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 if test -n "$ac_ct_RANLIB"; then
4430 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_ac_ct_RANLIB="ranlib"
4440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4449 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4450 if test -n "$ac_ct_RANLIB"; then
4451 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4452 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4458 RANLIB=$ac_ct_RANLIB
4460 RANLIB="$ac_cv_prog_RANLIB"
4463 if test -n "$ac_tool_prefix"; then
4464 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4465 set dummy ${ac_tool_prefix}strip; ac_word=$2
4466 echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4468 if test "${ac_cv_prog_STRIP+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -n "$STRIP"; then
4472 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 STRIP=$ac_cv_prog_STRIP
4491 if test -n "$STRIP"; then
4492 echo "$as_me:$LINENO: result: $STRIP" >&5
4493 echo "${ECHO_T}$STRIP" >&6
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4500 if test -z "$ac_cv_prog_STRIP"; then
4502 # Extract the first word of "strip", so it can be a program name with args.
4503 set dummy strip; ac_word=$2
4504 echo "$as_me:$LINENO: checking for $ac_word" >&5
4505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4506 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 if test -n "$ac_ct_STRIP"; then
4510 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519 ac_cv_prog_ac_ct_STRIP="strip"
4520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4529 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4530 if test -n "$ac_ct_STRIP"; then
4531 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4532 echo "${ECHO_T}$ac_ct_STRIP" >&6
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4540 STRIP="$ac_cv_prog_STRIP"
4544 # Check for any special flags to pass to ltconfig.
4545 libtool_flags="--cache-file=$cache_file"
4546 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4547 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4548 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4549 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4550 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4553 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4554 if test "${enable_libtool_lock+set}" = set; then
4555 enableval="$enable_libtool_lock"
4558 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4559 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4562 # Check whether --with-pic or --without-pic was given.
4563 if test "${with_pic+set}" = set; then
4569 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4570 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4572 # Some flags need to be propagated to the compiler or linker for good
4576 # Find out which ABI we are using.
4577 echo '#line 4577 "configure"' > conftest.$ac_ext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579 (eval $ac_compile) 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; then
4583 case `/usr/bin/file conftest.$ac_objext` in
4599 # Find out which ABI we are using.
4600 echo 'int i;' > conftest.$ac_ext
4601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4602 (eval $ac_compile) 2>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; then
4606 case "`/usr/bin/file conftest.o`" in
4619 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4620 SAVE_CFLAGS="$CFLAGS"
4621 CFLAGS="$CFLAGS -belf"
4622 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4623 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4624 if test "${lt_cv_cc_needs_belf+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 ac_cpp='$CPP $CPPFLAGS'
4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635 cat >conftest.$ac_ext <<_ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4650 rm -f conftest.$ac_objext conftest$ac_exeext
4651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4652 (eval $ac_link) 2>conftest.er1
4654 grep -v '^ *+' conftest.er1 >conftest.err
4656 cat conftest.err >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } &&
4659 { ac_try='test -z "$ac_c_werror_flag"
4660 || test ! -s conftest.err'
4661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); }; } &&
4666 { ac_try='test -s conftest$ac_exeext'
4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; }; then
4672 lt_cv_cc_needs_belf=yes
4674 echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 lt_cv_cc_needs_belf=no
4679 rm -f conftest.err conftest.$ac_objext \
4680 conftest$ac_exeext conftest.$ac_ext
4682 ac_cpp='$CPP $CPPFLAGS'
4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4688 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4689 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4690 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4691 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4692 CFLAGS="$SAVE_CFLAGS"
4700 # Save cache, so that ltconfig can load it
4701 cat >confcache <<\_ACEOF
4702 # This file is a shell script that caches the results of configure
4703 # tests run on this system so they can be shared between configure
4704 # scripts and configure runs, see configure's option --config-cache.
4705 # It is not useful on other systems. If it contains results you don't
4706 # want to keep, you may remove or edit it.
4708 # config.status only pays attention to the cache file if you give it
4709 # the --recheck option to rerun configure.
4711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4717 # The following way of writing the cache mishandles newlines in values,
4718 # but we know of no workaround that is simple, portable, and efficient.
4719 # So, don't put newlines in cache variables' values.
4720 # Ultrix sh set writes to stderr and can't be redirected directly,
4721 # and sets the high bit in the cache file unless we assign to the vars.
4724 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4726 # `set' does not quote correctly, so add quotes (double-quote
4727 # substitution turns \\\\ into \\, and sed turns \\ into \).
4730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4733 # `set' quotes correctly as required by POSIX, so do not add quotes.
4735 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4744 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4746 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4747 if test -w $cache_file; then
4748 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4749 cat confcache >$cache_file
4751 echo "not updating unwritable cache $cache_file"
4756 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4757 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4758 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4759 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4760 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4761 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4762 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4763 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4764 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4765 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4766 echo "$as_me: error: libtool configure failed" >&2;}
4767 { (exit 1); exit 1; }; }
4769 # Reload cache, that may have been modified by ltconfig
4770 if test -r "$cache_file"; then
4771 # Some versions of bash will fail to source /dev/null (special
4772 # files actually), so we avoid doing that.
4773 if test -f "$cache_file"; then
4774 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4775 echo "$as_me: loading cache $cache_file" >&6;}
4777 [\\/]* | ?:[\\/]* ) . $cache_file;;
4778 *) . ./$cache_file;;
4782 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4783 echo "$as_me: creating cache $cache_file" >&6;}
4788 # This can be used to rebuild libtool when needed
4789 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4791 # Always use our own libtool.
4792 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4794 # Redirect the config.log output again, so that the ltconfig log is not
4795 # clobbered by the next message.
4796 exec 5>>./config.log
4806 if test -n "${libm_machine_dir}"; then
4809 subdirs="$subdirs machine"
4811 if test "${use_libtool}" = "yes"; then
4812 LIBM_MACHINE_LIB=machine/${libm_machine_dir}/lib${libm_machine_dir}.${aext}
4814 LIBM_MACHINE_LIB=machine/lib.${aext}
4821 if test x${libm_machine_dir} != x; then
4822 HAVE_LIBM_MACHINE_DIR_TRUE=
4823 HAVE_LIBM_MACHINE_DIR_FALSE='#'
4825 HAVE_LIBM_MACHINE_DIR_TRUE='#'
4826 HAVE_LIBM_MACHINE_DIR_FALSE=
4830 ac_config_files="$ac_config_files Makefile math/Makefile mathfp/Makefile common/Makefile"
4832 cat >confcache <<\_ACEOF
4833 # This file is a shell script that caches the results of configure
4834 # tests run on this system so they can be shared between configure
4835 # scripts and configure runs, see configure's option --config-cache.
4836 # It is not useful on other systems. If it contains results you don't
4837 # want to keep, you may remove or edit it.
4839 # config.status only pays attention to the cache file if you give it
4840 # the --recheck option to rerun configure.
4842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4848 # The following way of writing the cache mishandles newlines in values,
4849 # but we know of no workaround that is simple, portable, and efficient.
4850 # So, don't put newlines in cache variables' values.
4851 # Ultrix sh set writes to stderr and can't be redirected directly,
4852 # and sets the high bit in the cache file unless we assign to the vars.
4855 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4857 # `set' does not quote correctly, so add quotes (double-quote
4858 # substitution turns \\\\ into \\, and sed turns \\ into \).
4861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4864 # `set' quotes correctly as required by POSIX, so do not add quotes.
4866 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4875 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4877 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4878 if test -w $cache_file; then
4879 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4880 cat confcache >$cache_file
4882 echo "not updating unwritable cache $cache_file"
4887 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4888 # Let make expand exec_prefix.
4889 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4891 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4892 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4893 # trailing colons and then remove the whole line if VPATH becomes empty
4894 # (actually we leave an empty line to preserve line numbers).
4895 if test "x$srcdir" = x.; then
4896 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4897 s/:*\$(srcdir):*/:/;
4898 s/:*\${srcdir}:*/:/;
4900 s/^\([^=]*=[ ]*\):*/\1/;
4906 # Transform confdefs.h into DEFS.
4907 # Protect against shell expansion while executing Makefile rules.
4908 # Protect against Makefile macro expansion.
4910 # If the first sed substitution is executed (which looks for macros that
4911 # take arguments), then we branch to the quote section. Otherwise,
4912 # look for a macro that doesn't take arguments.
4913 cat >confdef2opt.sed <<\_ACEOF
4916 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4918 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4922 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4928 # We use echo to avoid assuming a particular line-breaking character.
4929 # The extra dot is to prevent the shell from consuming trailing
4930 # line-breaks from the sub-command output. A line-break within
4931 # single-quotes doesn't work because, if this script is created in a
4932 # platform that uses two characters for line-breaks (e.g., DOS), tr
4934 ac_LF_and_DOT=`echo; echo .`
4935 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4936 rm -f confdef2opt.sed
4941 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4942 # 1. Remove the extension, and $U if already installed.
4943 ac_i=`echo "$ac_i" |
4944 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4946 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4947 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4951 LTLIBOBJS=$ac_ltlibobjs
4954 if test -z "${NEWLIB_HW_FP_TRUE}" && test -z "${NEWLIB_HW_FP_FALSE}"; then
4955 { { echo "$as_me:$LINENO: error: conditional \"NEWLIB_HW_FP\" was never defined.
4956 Usually this means the macro was only invoked conditionally." >&5
4957 echo "$as_me: error: conditional \"NEWLIB_HW_FP\" was never defined.
4958 Usually this means the macro was only invoked conditionally." >&2;}
4959 { (exit 1); exit 1; }; }
4961 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
4962 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4963 Usually this means the macro was only invoked conditionally." >&5
4964 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4965 Usually this means the macro was only invoked conditionally." >&2;}
4966 { (exit 1); exit 1; }; }
4968 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4969 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4970 Usually this means the macro was only invoked conditionally." >&5
4971 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4972 Usually this means the macro was only invoked conditionally." >&2;}
4973 { (exit 1); exit 1; }; }
4975 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4976 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4977 Usually this means the macro was only invoked conditionally." >&5
4978 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4979 Usually this means the macro was only invoked conditionally." >&2;}
4980 { (exit 1); exit 1; }; }
4982 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4983 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4984 Usually this means the macro was only invoked conditionally." >&5
4985 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4986 Usually this means the macro was only invoked conditionally." >&2;}
4987 { (exit 1); exit 1; }; }
4989 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
4990 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
4991 Usually this means the macro was only invoked conditionally." >&5
4992 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
4993 Usually this means the macro was only invoked conditionally." >&2;}
4994 { (exit 1); exit 1; }; }
4996 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
4997 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
4998 Usually this means the macro was only invoked conditionally." >&5
4999 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5000 Usually this means the macro was only invoked conditionally." >&2;}
5001 { (exit 1); exit 1; }; }
5003 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5004 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5005 Usually this means the macro was only invoked conditionally." >&5
5006 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5007 Usually this means the macro was only invoked conditionally." >&2;}
5008 { (exit 1); exit 1; }; }
5010 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5011 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5012 Usually this means the macro was only invoked conditionally." >&5
5013 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5014 Usually this means the macro was only invoked conditionally." >&2;}
5015 { (exit 1); exit 1; }; }
5017 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5018 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5019 Usually this means the macro was only invoked conditionally." >&5
5020 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5021 Usually this means the macro was only invoked conditionally." >&2;}
5022 { (exit 1); exit 1; }; }
5024 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5025 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5026 Usually this means the macro was only invoked conditionally." >&5
5027 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5028 Usually this means the macro was only invoked conditionally." >&2;}
5029 { (exit 1); exit 1; }; }
5031 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5032 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5033 Usually this means the macro was only invoked conditionally." >&5
5034 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5035 Usually this means the macro was only invoked conditionally." >&2;}
5036 { (exit 1); exit 1; }; }
5038 if test -z "${HAVE_LIBM_MACHINE_DIR_TRUE}" && test -z "${HAVE_LIBM_MACHINE_DIR_FALSE}"; then
5039 { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBM_MACHINE_DIR\" was never defined.
5040 Usually this means the macro was only invoked conditionally." >&5
5041 echo "$as_me: error: conditional \"HAVE_LIBM_MACHINE_DIR\" was never defined.
5042 Usually this means the macro was only invoked conditionally." >&2;}
5043 { (exit 1); exit 1; }; }
5046 : ${CONFIG_STATUS=./config.status}
5047 ac_clean_files_save=$ac_clean_files
5048 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5049 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5050 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5051 cat >$CONFIG_STATUS <<_ACEOF
5053 # Generated by $as_me.
5054 # Run this file to recreate the current configuration.
5055 # Compiler output produced by configure, useful for debugging
5056 # configure, is in config.log if it exists.
5061 SHELL=\${CONFIG_SHELL-$SHELL}
5064 cat >>$CONFIG_STATUS <<\_ACEOF
5065 ## --------------------- ##
5066 ## M4sh Initialization. ##
5067 ## --------------------- ##
5069 # Be Bourne compatible
5070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5073 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5074 # is contrary to our usage. Disable this feature.
5075 alias -g '${1+"$@"}'='"$@"'
5076 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5079 DUALCASE=1; export DUALCASE # for MKS sh
5081 # Support unset when possible.
5082 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5089 # Work around bugs in pre-3.0 UWIN ksh.
5090 $as_unset ENV MAIL MAILPATH
5097 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5098 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5099 LC_TELEPHONE LC_TIME
5101 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5102 eval $as_var=C; export $as_var
5108 # Required to use basename.
5109 if expr a : '\(a\)' >/dev/null 2>&1; then
5115 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5116 as_basename=basename
5122 # Name of the executable.
5123 as_me=`$as_basename "$0" ||
5124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5125 X"$0" : 'X\(//\)$' \| \
5126 X"$0" : 'X\(/\)$' \| \
5127 . : '\(.\)' 2>/dev/null ||
5129 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5130 /^X\/\(\/\/\)$/{ s//\1/; q; }
5131 /^X\/\(\/\).*/{ s//\1/; q; }
5135 # PATH needs CR, and LINENO needs CR and PATH.
5136 # Avoid depending upon Character Ranges.
5137 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5138 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5139 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5140 as_cr_digits='0123456789'
5141 as_cr_alnum=$as_cr_Letters$as_cr_digits
5143 # The user is always right.
5144 if test "${PATH_SEPARATOR+set}" != set; then
5145 echo "#! /bin/sh" >conf$$.sh
5146 echo "exit 0" >>conf$$.sh
5148 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5159 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5160 test "x$as_lineno_1" != "x$as_lineno_2" &&
5161 test "x$as_lineno_3" = "x$as_lineno_2" || {
5162 # Find who we are. Look in the path if we contain no path at all
5165 *[\\/]* ) as_myself=$0 ;;
5166 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir=.
5171 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5176 # We did not find ourselves, most probably we were run as `sh COMMAND'
5177 # in which case we are not to be found in the path.
5178 if test "x$as_myself" = x; then
5181 if test ! -f "$as_myself"; then
5182 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5183 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5184 { (exit 1); exit 1; }; }
5186 case $CONFIG_SHELL in
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5192 test -z "$as_dir" && as_dir=.
5193 for as_base in sh bash ksh sh5; do
5196 if ("$as_dir/$as_base" -c '
5199 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5200 test "x$as_lineno_1" != "x$as_lineno_2" &&
5201 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5202 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5203 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5204 CONFIG_SHELL=$as_dir/$as_base
5206 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5214 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5215 # uniformly replaced by the line number. The first 'sed' inserts a
5216 # line-number line before each line; the second 'sed' does the real
5217 # work. The second script uses 'N' to pair each line-number line
5218 # with the numbered line, and appends trailing '-' during
5219 # substitution so that $LINENO is not a special case at line end.
5220 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5221 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5222 sed '=' <$as_myself |
5227 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5230 s,^['$as_cr_digits']*\n,,
5232 chmod +x $as_me.lineno ||
5233 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5234 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5235 { (exit 1); exit 1; }; }
5237 # Don't try to exec as it changes $[0], causing all sort of problems
5238 # (the dirname of $[0] is not the place where we might find the
5239 # original and so on. Autoconf is especially sensible to this).
5241 # Exit status is that of the last command.
5246 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5247 *c*,-n*) ECHO_N= ECHO_C='
5249 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5250 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5253 if expr a : '\(a\)' >/dev/null 2>&1; then
5259 rm -f conf$$ conf$$.exe conf$$.file
5261 if ln -s conf$$.file conf$$ 2>/dev/null; then
5262 # We could just check for DJGPP; but this test a) works b) is more generic
5263 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5264 if test -f conf$$.exe; then
5265 # Don't use ln at all; we don't have any links
5270 elif ln conf$$.file conf$$ 2>/dev/null; then
5275 rm -f conf$$ conf$$.exe conf$$.file
5277 if mkdir -p . 2>/dev/null; then
5280 test -d ./-p && rmdir ./-p
5284 as_executable_p="test -f"
5286 # Sed expression to map a string onto a valid CPP name.
5287 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5289 # Sed expression to map a string onto a valid variable name.
5290 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5294 # We need space, tab and new line, in precisely that order.
5304 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5305 # report actual input values of CONFIG_FILES etc. instead of their
5306 # values after options handling. Logging --version etc. is OK.
5310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5311 ## Running $as_me. ##
5316 This file was extended by newlib $as_me 1.14.0, which was
5317 generated by GNU Autoconf 2.59. Invocation command line was
5319 CONFIG_FILES = $CONFIG_FILES
5320 CONFIG_HEADERS = $CONFIG_HEADERS
5321 CONFIG_LINKS = $CONFIG_LINKS
5322 CONFIG_COMMANDS = $CONFIG_COMMANDS
5326 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5330 # Files that config.status was made for.
5331 if test -n "$ac_config_files"; then
5332 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5335 if test -n "$ac_config_headers"; then
5336 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5339 if test -n "$ac_config_links"; then
5340 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5343 if test -n "$ac_config_commands"; then
5344 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5347 cat >>$CONFIG_STATUS <<\_ACEOF
5350 \`$as_me' instantiates files from templates according to the
5351 current configuration.
5353 Usage: $0 [OPTIONS] [FILE]...
5355 -h, --help print this help, then exit
5356 -V, --version print version number, then exit
5357 -q, --quiet do not print progress messages
5358 -d, --debug don't remove temporary files
5359 --recheck update $as_me by reconfiguring in the same conditions
5360 --file=FILE[:TEMPLATE]
5361 instantiate the configuration file FILE
5363 Configuration files:
5366 Configuration commands:
5369 Report bugs to <bug-autoconf@gnu.org>."
5372 cat >>$CONFIG_STATUS <<_ACEOF
5374 newlib config.status 1.14.0
5375 configured by $0, generated by GNU Autoconf 2.59,
5376 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5378 Copyright (C) 2003 Free Software Foundation, Inc.
5379 This config.status script is free software; the Free Software Foundation
5380 gives unlimited permission to copy, distribute and modify it."
5385 cat >>$CONFIG_STATUS <<\_ACEOF
5386 # If no file are specified by the user, then we need to provide default
5387 # value. By we need to know if files were specified by the user.
5393 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5394 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5402 *) # This is not an option, so the user has probably given explicit
5405 ac_need_defaults=false;;
5409 # Handling of the options.
5411 cat >>$CONFIG_STATUS <<\_ACEOF
5412 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5414 --version | --vers* | -V )
5415 echo "$ac_cs_version"; exit 0 ;;
5417 # Conflict between --help and --header
5418 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5419 Try \`$0 --help' for more information." >&5
5420 echo "$as_me: error: ambiguous option: $1
5421 Try \`$0 --help' for more information." >&2;}
5422 { (exit 1); exit 1; }; };;
5423 --help | --hel | -h )
5424 echo "$ac_cs_usage"; exit 0 ;;
5425 --debug | --d* | -d )
5427 --file | --fil | --fi | --f )
5429 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5430 ac_need_defaults=false;;
5431 --header | --heade | --head | --hea )
5433 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5434 ac_need_defaults=false;;
5435 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5436 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5440 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5441 Try \`$0 --help' for more information." >&5
5442 echo "$as_me: error: unrecognized option: $1
5443 Try \`$0 --help' for more information." >&2;}
5444 { (exit 1); exit 1; }; } ;;
5446 *) ac_config_targets="$ac_config_targets $1" ;;
5452 ac_configure_extra_args=
5454 if $ac_cs_silent; then
5456 ac_configure_extra_args="$ac_configure_extra_args --silent"
5460 cat >>$CONFIG_STATUS <<_ACEOF
5461 if \$ac_cs_recheck; then
5462 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5463 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5468 cat >>$CONFIG_STATUS <<_ACEOF
5470 # INIT-COMMANDS section.
5473 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5479 cat >>$CONFIG_STATUS <<\_ACEOF
5480 for ac_config_target in $ac_config_targets
5482 case "$ac_config_target" in
5483 # Handling of arguments.
5484 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5485 "math/Makefile" ) CONFIG_FILES="$CONFIG_FILES math/Makefile" ;;
5486 "mathfp/Makefile" ) CONFIG_FILES="$CONFIG_FILES mathfp/Makefile" ;;
5487 "common/Makefile" ) CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
5488 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5489 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5490 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5491 { (exit 1); exit 1; }; };;
5495 # If the user did not use the arguments to specify the items to instantiate,
5496 # then the envvar interface is used. Set only those that are not.
5497 # We use the long form for the default assignment because of an extremely
5498 # bizarre bug on SunOS 4.1.3.
5499 if $ac_need_defaults; then
5500 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5501 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5504 # Have a temporary directory for convenience. Make it in the build tree
5505 # simply because there is no reason to put it here, and in addition,
5506 # creating and moving files from /tmp can sometimes cause problems.
5507 # Create a temporary directory, and hook for its removal unless debugging.
5510 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5511 trap '{ (exit 1); exit 1; }' 1 2 13 15
5514 # Create a (secure) tmp directory for tmp files.
5517 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5518 test -n "$tmp" && test -d "$tmp"
5521 tmp=./confstat$$-$RANDOM
5522 (umask 077 && mkdir $tmp)
5525 echo "$me: cannot create a temporary directory in ." >&2
5526 { (exit 1); exit 1; }
5531 cat >>$CONFIG_STATUS <<_ACEOF
5534 # CONFIG_FILES section.
5537 # No need to generate the scripts if there are no CONFIG_FILES.
5538 # This happens for instance when ./config.status config.h
5539 if test -n "\$CONFIG_FILES"; then
5540 # Protect against being on the right side of a sed subst in config.status.
5541 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5542 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5543 s,@SHELL@,$SHELL,;t t
5544 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5545 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5546 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5547 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5548 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5549 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5550 s,@exec_prefix@,$exec_prefix,;t t
5551 s,@prefix@,$prefix,;t t
5552 s,@program_transform_name@,$program_transform_name,;t t
5553 s,@bindir@,$bindir,;t t
5554 s,@sbindir@,$sbindir,;t t
5555 s,@libexecdir@,$libexecdir,;t t
5556 s,@datadir@,$datadir,;t t
5557 s,@sysconfdir@,$sysconfdir,;t t
5558 s,@sharedstatedir@,$sharedstatedir,;t t
5559 s,@localstatedir@,$localstatedir,;t t
5560 s,@libdir@,$libdir,;t t
5561 s,@includedir@,$includedir,;t t
5562 s,@oldincludedir@,$oldincludedir,;t t
5563 s,@infodir@,$infodir,;t t
5564 s,@mandir@,$mandir,;t t
5565 s,@build_alias@,$build_alias,;t t
5566 s,@host_alias@,$host_alias,;t t
5567 s,@target_alias@,$target_alias,;t t
5569 s,@ECHO_C@,$ECHO_C,;t t
5570 s,@ECHO_N@,$ECHO_N,;t t
5571 s,@ECHO_T@,$ECHO_T,;t t
5573 s,@NEWLIB_HW_FP_TRUE@,$NEWLIB_HW_FP_TRUE,;t t
5574 s,@NEWLIB_HW_FP_FALSE@,$NEWLIB_HW_FP_FALSE,;t t
5575 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5576 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5577 s,@newlib_basedir@,$newlib_basedir,;t t
5578 s,@build@,$build,;t t
5579 s,@build_cpu@,$build_cpu,;t t
5580 s,@build_vendor@,$build_vendor,;t t
5581 s,@build_os@,$build_os,;t t
5583 s,@host_cpu@,$host_cpu,;t t
5584 s,@host_vendor@,$host_vendor,;t t
5585 s,@host_os@,$host_os,;t t
5586 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5587 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5588 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5589 s,@CYGPATH_W@,$CYGPATH_W,;t t
5590 s,@PACKAGE@,$PACKAGE,;t t
5591 s,@VERSION@,$VERSION,;t t
5592 s,@ACLOCAL@,$ACLOCAL,;t t
5593 s,@AUTOCONF@,$AUTOCONF,;t t
5594 s,@AUTOMAKE@,$AUTOMAKE,;t t
5595 s,@AUTOHEADER@,$AUTOHEADER,;t t
5596 s,@MAKEINFO@,$MAKEINFO,;t t
5597 s,@install_sh@,$install_sh,;t t
5598 s,@STRIP@,$STRIP,;t t
5599 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5600 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5601 s,@mkdir_p@,$mkdir_p,;t t
5603 s,@SET_MAKE@,$SET_MAKE,;t t
5604 s,@am__leading_dot@,$am__leading_dot,;t t
5605 s,@AMTAR@,$AMTAR,;t t
5606 s,@am__tar@,$am__tar,;t t
5607 s,@am__untar@,$am__untar,;t t
5609 s,@DEPDIR@,$DEPDIR,;t t
5610 s,@am__include@,$am__include,;t t
5611 s,@am__quote@,$am__quote,;t t
5612 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5613 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5614 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5615 s,@CCDEPMODE@,$CCDEPMODE,;t t
5616 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5617 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5619 s,@ac_ct_AS@,$ac_ct_AS,;t t
5621 s,@ac_ct_AR@,$ac_ct_AR,;t t
5622 s,@RANLIB@,$RANLIB,;t t
5623 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5624 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5625 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5626 s,@MAINT@,$MAINT,;t t
5628 s,@CCASFLAGS@,$CCASFLAGS,;t t
5629 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5630 s,@LDFLAGS@,$LDFLAGS,;t t
5631 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5632 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5633 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5634 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5635 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5636 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5637 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5638 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5639 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5640 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5641 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5642 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5643 s,@OBJEXT@,$OBJEXT,;t t
5647 s,@libm_machine_dir@,$libm_machine_dir,;t t
5648 s,@machine_dir@,$machine_dir,;t t
5649 s,@sys_dir@,$sys_dir,;t t
5650 s,@CFLAGS@,$CFLAGS,;t t
5651 s,@CPPFLAGS@,$CPPFLAGS,;t t
5652 s,@ac_ct_CC@,$ac_ct_CC,;t t
5653 s,@EXEEXT@,$EXEEXT,;t t
5655 s,@LIBTOOL@,$LIBTOOL,;t t
5656 s,@subdirs@,$subdirs,;t t
5657 s,@LIBM_MACHINE_LIB@,$LIBM_MACHINE_LIB,;t t
5658 s,@HAVE_LIBM_MACHINE_DIR_TRUE@,$HAVE_LIBM_MACHINE_DIR_TRUE,;t t
5659 s,@HAVE_LIBM_MACHINE_DIR_FALSE@,$HAVE_LIBM_MACHINE_DIR_FALSE,;t t
5660 s,@LIBOBJS@,$LIBOBJS,;t t
5661 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5666 cat >>$CONFIG_STATUS <<\_ACEOF
5667 # Split the substitutions into bite-sized pieces for seds with
5668 # small command number limits, like on Digital OSF/1 and HP-UX.
5670 ac_sed_frag=1 # Number of current file.
5671 ac_beg=1 # First line for current file.
5672 ac_end=$ac_max_sed_lines # Line after last line for current file.
5675 while $ac_more_lines; do
5676 if test $ac_beg -gt 1; then
5677 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5679 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5681 if test ! -s $tmp/subs.frag; then
5684 # The purpose of the label and of the branching condition is to
5685 # speed up the sed processing (if there are no `@' at all, there
5686 # is no need to browse any of the substitutions).
5687 # These are the two extra sed commands mentioned above.
5689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5690 if test -z "$ac_sed_cmds"; then
5691 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5693 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5695 ac_sed_frag=`expr $ac_sed_frag + 1`
5697 ac_end=`expr $ac_end + $ac_max_sed_lines`
5700 if test -z "$ac_sed_cmds"; then
5703 fi # test -n "$CONFIG_FILES"
5706 cat >>$CONFIG_STATUS <<\_ACEOF
5707 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5708 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5710 - | *:- | *:-:* ) # input from stdin
5712 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5713 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5714 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5715 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5716 * ) ac_file_in=$ac_file.in ;;
5719 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5720 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5722 X"$ac_file" : 'X\(//\)[^/]' \| \
5723 X"$ac_file" : 'X\(//\)$' \| \
5724 X"$ac_file" : 'X\(/\)' \| \
5725 . : '\(.\)' 2>/dev/null ||
5727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5729 /^X\(\/\/\)$/{ s//\1/; q; }
5730 /^X\(\/\).*/{ s//\1/; q; }
5732 { if $as_mkdir_p; then
5737 while test ! -d "$as_dir"; do
5738 as_dirs="$as_dir $as_dirs"
5739 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5741 X"$as_dir" : 'X\(//\)[^/]' \| \
5742 X"$as_dir" : 'X\(//\)$' \| \
5743 X"$as_dir" : 'X\(/\)' \| \
5744 . : '\(.\)' 2>/dev/null ||
5746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5747 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5748 /^X\(\/\/\)$/{ s//\1/; q; }
5749 /^X\(\/\).*/{ s//\1/; q; }
5752 test ! -n "$as_dirs" || mkdir $as_dirs
5753 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5754 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5755 { (exit 1); exit 1; }; }; }
5759 if test "$ac_dir" != .; then
5760 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5761 # A "../" for each directory in $ac_dir_suffix.
5762 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5764 ac_dir_suffix= ac_top_builddir=
5768 .) # No --srcdir option. We are building in place.
5770 if test -z "$ac_top_builddir"; then
5773 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5775 [\\/]* | ?:[\\/]* ) # Absolute path.
5776 ac_srcdir=$srcdir$ac_dir_suffix;
5777 ac_top_srcdir=$srcdir ;;
5779 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5780 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5783 # Do not use `cd foo && pwd` to compute absolute paths, because
5784 # the directories may not exist.
5786 .) ac_abs_builddir="$ac_dir";;
5789 .) ac_abs_builddir=`pwd`;;
5790 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5791 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5794 case $ac_abs_builddir in
5795 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5797 case ${ac_top_builddir}. in
5798 .) ac_abs_top_builddir=$ac_abs_builddir;;
5799 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5800 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5803 case $ac_abs_builddir in
5804 .) ac_abs_srcdir=$ac_srcdir;;
5807 .) ac_abs_srcdir=$ac_abs_builddir;;
5808 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5809 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5812 case $ac_abs_builddir in
5813 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5815 case $ac_top_srcdir in
5816 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5817 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5818 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5824 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5825 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5828 if test x"$ac_file" != x-; then
5829 { echo "$as_me:$LINENO: creating $ac_file" >&5
5830 echo "$as_me: creating $ac_file" >&6;}
5833 # Let's still pretend it is `configure' which instantiates (i.e., don't
5834 # use $as_me), people would be surprised to read:
5835 # /* config.h. Generated by config.status. */
5836 if test x"$ac_file" = x-; then
5839 configure_input="$ac_file. "
5841 configure_input=$configure_input"Generated from `echo $ac_file_in |
5842 sed 's,.*/,,'` by configure."
5844 # First look for the input files in the build tree, otherwise in the
5846 ac_file_inputs=`IFS=:
5847 for f in $ac_file_in; do
5849 -) echo $tmp/stdin ;;
5851 # Absolute (can't be DOS-style, as IFS=:)
5852 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5853 echo "$as_me: error: cannot find input file: $f" >&2;}
5854 { (exit 1); exit 1; }; }
5857 if test -f "$f"; then
5860 elif test -f "$srcdir/$f"; then
5865 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5866 echo "$as_me: error: cannot find input file: $f" >&2;}
5867 { (exit 1); exit 1; }; }
5870 done` || { (exit 1); exit 1; }
5872 cat >>$CONFIG_STATUS <<_ACEOF
5876 cat >>$CONFIG_STATUS <<\_ACEOF
5878 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5879 s,@configure_input@,$configure_input,;t t
5880 s,@srcdir@,$ac_srcdir,;t t
5881 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5882 s,@top_srcdir@,$ac_top_srcdir,;t t
5883 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5884 s,@builddir@,$ac_builddir,;t t
5885 s,@abs_builddir@,$ac_abs_builddir,;t t
5886 s,@top_builddir@,$ac_top_builddir,;t t
5887 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5888 s,@INSTALL@,$ac_INSTALL,;t t
5889 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5891 if test x"$ac_file" != x-; then
5892 mv $tmp/out $ac_file
5900 cat >>$CONFIG_STATUS <<\_ACEOF
5903 # CONFIG_COMMANDS section.
5905 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5906 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5907 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5908 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5909 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5910 X"$ac_dest" : 'X\(//\)[^/]' \| \
5911 X"$ac_dest" : 'X\(//\)$' \| \
5912 X"$ac_dest" : 'X\(/\)' \| \
5913 . : '\(.\)' 2>/dev/null ||
5915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5917 /^X\(\/\/\)$/{ s//\1/; q; }
5918 /^X\(\/\).*/{ s//\1/; q; }
5920 { if $as_mkdir_p; then
5925 while test ! -d "$as_dir"; do
5926 as_dirs="$as_dir $as_dirs"
5927 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5929 X"$as_dir" : 'X\(//\)[^/]' \| \
5930 X"$as_dir" : 'X\(//\)$' \| \
5931 X"$as_dir" : 'X\(/\)' \| \
5932 . : '\(.\)' 2>/dev/null ||
5934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5936 /^X\(\/\/\)$/{ s//\1/; q; }
5937 /^X\(\/\).*/{ s//\1/; q; }
5940 test ! -n "$as_dirs" || mkdir $as_dirs
5941 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5942 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5943 { (exit 1); exit 1; }; }; }
5947 if test "$ac_dir" != .; then
5948 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5949 # A "../" for each directory in $ac_dir_suffix.
5950 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5952 ac_dir_suffix= ac_top_builddir=
5956 .) # No --srcdir option. We are building in place.
5958 if test -z "$ac_top_builddir"; then
5961 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5963 [\\/]* | ?:[\\/]* ) # Absolute path.
5964 ac_srcdir=$srcdir$ac_dir_suffix;
5965 ac_top_srcdir=$srcdir ;;
5967 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5968 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5971 # Do not use `cd foo && pwd` to compute absolute paths, because
5972 # the directories may not exist.
5974 .) ac_abs_builddir="$ac_dir";;
5977 .) ac_abs_builddir=`pwd`;;
5978 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5979 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5982 case $ac_abs_builddir in
5983 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5985 case ${ac_top_builddir}. in
5986 .) ac_abs_top_builddir=$ac_abs_builddir;;
5987 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5988 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5991 case $ac_abs_builddir in
5992 .) ac_abs_srcdir=$ac_srcdir;;
5995 .) ac_abs_srcdir=$ac_abs_builddir;;
5996 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5997 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6000 case $ac_abs_builddir in
6001 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6003 case $ac_top_srcdir in
6004 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6005 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6006 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6011 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6012 echo "$as_me: executing $ac_dest commands" >&6;}
6014 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6015 # Strip MF so we end up with the name of the file.
6016 mf=`echo "$mf" | sed -e 's/:.*$//'`
6017 # Check whether this is an Automake generated Makefile or not.
6018 # We used to match only the files named `Makefile.in', but
6019 # some people rename them; so instead we look at the file content.
6020 # Grep'ing the first line is not enough: some people post-process
6021 # each Makefile.in and add a new line on top of each file to say so.
6022 # So let's grep whole file.
6023 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6024 dirpart=`(dirname "$mf") 2>/dev/null ||
6025 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6026 X"$mf" : 'X\(//\)[^/]' \| \
6027 X"$mf" : 'X\(//\)$' \| \
6028 X"$mf" : 'X\(/\)' \| \
6029 . : '\(.\)' 2>/dev/null ||
6031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6033 /^X\(\/\/\)$/{ s//\1/; q; }
6034 /^X\(\/\).*/{ s//\1/; q; }
6039 # Extract the definition of DEPDIR, am__include, and am__quote
6040 # from the Makefile without running `make'.
6041 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6042 test -z "$DEPDIR" && continue
6043 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6044 test -z "am__include" && continue
6045 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6046 # When using ansi2knr, U may be empty or an underscore; expand it
6047 U=`sed -n 's/^U = //p' < "$mf"`
6048 # Find all dependency output files, they are included files with
6049 # $(DEPDIR) in their names. We invoke sed twice because it is the
6050 # simplest approach to changing $(DEPDIR) to its actual value in the
6052 for file in `sed -n "
6053 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6054 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6055 # Make sure the directory exists.
6056 test -f "$dirpart/$file" && continue
6057 fdir=`(dirname "$file") 2>/dev/null ||
6058 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6059 X"$file" : 'X\(//\)[^/]' \| \
6060 X"$file" : 'X\(//\)$' \| \
6061 X"$file" : 'X\(/\)' \| \
6062 . : '\(.\)' 2>/dev/null ||
6064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6066 /^X\(\/\/\)$/{ s//\1/; q; }
6067 /^X\(\/\).*/{ s//\1/; q; }
6069 { if $as_mkdir_p; then
6070 mkdir -p $dirpart/$fdir
6072 as_dir=$dirpart/$fdir
6074 while test ! -d "$as_dir"; do
6075 as_dirs="$as_dir $as_dirs"
6076 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6078 X"$as_dir" : 'X\(//\)[^/]' \| \
6079 X"$as_dir" : 'X\(//\)$' \| \
6080 X"$as_dir" : 'X\(/\)' \| \
6081 . : '\(.\)' 2>/dev/null ||
6083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6085 /^X\(\/\/\)$/{ s//\1/; q; }
6086 /^X\(\/\).*/{ s//\1/; q; }
6089 test ! -n "$as_dirs" || mkdir $as_dirs
6090 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6091 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6092 { (exit 1); exit 1; }; }; }
6094 # echo "creating $dirpart/$file"
6095 echo '# dummy' > "$dirpart/$file"
6103 cat >>$CONFIG_STATUS <<\_ACEOF
6105 { (exit 0); exit 0; }
6107 chmod +x $CONFIG_STATUS
6108 ac_clean_files=$ac_clean_files_save
6111 # configure is writing to config.log, and then calls config.status.
6112 # config.status does its own redirection, appending to config.log.
6113 # Unfortunately, on DOS this fails, as config.log is still kept open
6114 # by configure, so config.status won't be able to write to it; its
6115 # output is simply discarded. So we exec the FD to /dev/null,
6116 # effectively closing config.log, so it can be properly (re)opened and
6117 # appended to by config.status. When coming back to configure, we
6118 # need to make the FD available again.
6119 if test "$no_create" != yes; then
6121 ac_config_status_args=
6122 test "$silent" = yes &&
6123 ac_config_status_args="$ac_config_status_args --quiet"
6125 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6127 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6128 # would make configure fail if this is the last instruction.
6129 $ac_cs_success || { (exit 1); exit 1; }
6133 # CONFIG_SUBDIRS section.
6135 if test "$no_recursion" != yes; then
6137 # Remove --cache-file and --srcdir arguments so they do not pile up.
6138 ac_sub_configure_args=
6140 for ac_arg in $ac_configure_args; do
6141 if test -n "$ac_prev"; then
6146 -cache-file | --cache-file | --cache-fil | --cache-fi \
6147 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6148 ac_prev=cache_file ;;
6149 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6150 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6153 --config-cache | -C)
6155 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6157 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6159 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6161 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6163 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6167 # Always prepend --prefix to ensure using the same prefix
6168 # in subdir configurations.
6169 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6172 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6174 # Do not complain, so a configure script can configure whichever
6175 # parts of a large source tree are present.
6176 test -d $srcdir/$ac_dir || continue
6178 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6179 echo "$as_me: configuring in $ac_dir" >&6;}
6180 { if $as_mkdir_p; then
6185 while test ! -d "$as_dir"; do
6186 as_dirs="$as_dir $as_dirs"
6187 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6188 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6189 X"$as_dir" : 'X\(//\)[^/]' \| \
6190 X"$as_dir" : 'X\(//\)$' \| \
6191 X"$as_dir" : 'X\(/\)' \| \
6192 . : '\(.\)' 2>/dev/null ||
6194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6195 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6196 /^X\(\/\/\)$/{ s//\1/; q; }
6197 /^X\(\/\).*/{ s//\1/; q; }
6200 test ! -n "$as_dirs" || mkdir $as_dirs
6201 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6202 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6203 { (exit 1); exit 1; }; }; }
6207 if test "$ac_dir" != .; then
6208 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6209 # A "../" for each directory in $ac_dir_suffix.
6210 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6212 ac_dir_suffix= ac_top_builddir=
6216 .) # No --srcdir option. We are building in place.
6218 if test -z "$ac_top_builddir"; then
6221 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6223 [\\/]* | ?:[\\/]* ) # Absolute path.
6224 ac_srcdir=$srcdir$ac_dir_suffix;
6225 ac_top_srcdir=$srcdir ;;
6227 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6228 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6231 # Do not use `cd foo && pwd` to compute absolute paths, because
6232 # the directories may not exist.
6234 .) ac_abs_builddir="$ac_dir";;
6237 .) ac_abs_builddir=`pwd`;;
6238 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6239 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6242 case $ac_abs_builddir in
6243 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6245 case ${ac_top_builddir}. in
6246 .) ac_abs_top_builddir=$ac_abs_builddir;;
6247 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6248 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6251 case $ac_abs_builddir in
6252 .) ac_abs_srcdir=$ac_srcdir;;
6255 .) ac_abs_srcdir=$ac_abs_builddir;;
6256 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6257 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6260 case $ac_abs_builddir in
6261 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6263 case $ac_top_srcdir in
6264 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6265 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6266 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6273 # Check for guested configure; otherwise get Cygnus style configure.
6274 if test -f $ac_srcdir/configure.gnu; then
6275 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6276 elif test -f $ac_srcdir/configure; then
6277 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6278 elif test -f $ac_srcdir/configure.in; then
6279 ac_sub_configure=$ac_configure
6281 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6282 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6286 # The recursion is here.
6287 if test -n "$ac_sub_configure"; then
6288 # Make the cache file name correct relative to the subdirectory.
6290 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6292 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6295 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6296 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6297 # The eval makes quoting arguments work.
6298 eval $ac_sub_configure $ac_sub_configure_args \
6299 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6300 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6301 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6302 { (exit 1); exit 1; }; }