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="d10v"
275 ac_subdirs_all="$ac_subdirs_all a29k"
276 ac_subdirs_all="$ac_subdirs_all arm"
277 ac_subdirs_all="$ac_subdirs_all cris"
278 ac_subdirs_all="$ac_subdirs_all crx"
279 ac_subdirs_all="$ac_subdirs_all d10v"
280 ac_subdirs_all="$ac_subdirs_all d30v"
281 ac_subdirs_all="$ac_subdirs_all fr30"
282 ac_subdirs_all="$ac_subdirs_all frv"
283 ac_subdirs_all="$ac_subdirs_all h8300"
284 ac_subdirs_all="$ac_subdirs_all h8500"
285 ac_subdirs_all="$ac_subdirs_all hppa"
286 ac_subdirs_all="$ac_subdirs_all i386"
287 ac_subdirs_all="$ac_subdirs_all i960"
288 ac_subdirs_all="$ac_subdirs_all iq2000"
289 ac_subdirs_all="$ac_subdirs_all m32c"
290 ac_subdirs_all="$ac_subdirs_all m32r"
291 ac_subdirs_all="$ac_subdirs_all m68hc11"
292 ac_subdirs_all="$ac_subdirs_all m68k"
293 ac_subdirs_all="$ac_subdirs_all m88k"
294 ac_subdirs_all="$ac_subdirs_all mips"
295 ac_subdirs_all="$ac_subdirs_all mn10200"
296 ac_subdirs_all="$ac_subdirs_all mn10300"
297 ac_subdirs_all="$ac_subdirs_all mt"
298 ac_subdirs_all="$ac_subdirs_all necv70"
299 ac_subdirs_all="$ac_subdirs_all powerpc"
300 ac_subdirs_all="$ac_subdirs_all sh"
301 ac_subdirs_all="$ac_subdirs_all sparc"
302 ac_subdirs_all="$ac_subdirs_all tic4x"
303 ac_subdirs_all="$ac_subdirs_all tic80"
304 ac_subdirs_all="$ac_subdirs_all v850"
305 ac_subdirs_all="$ac_subdirs_all w65"
306 ac_subdirs_all="$ac_subdirs_all xscale"
307 ac_subdirs_all="$ac_subdirs_all xstormy16"
308 ac_subdirs_all="$ac_subdirs_all z8k"
309 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB 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 HAVE_MACHINE_DIR_TRUE HAVE_MACHINE_DIR_FALSE LIBOBJS LTLIBOBJS'
312 # Initialize some variables set by options.
314 ac_init_version=false
315 # The variables have the same names as the options, with
316 # dashes changed to underlines.
324 program_transform_name=s,x,x,
332 # Installation directory options.
333 # These are left unexpanded so users can "make install exec_prefix=/foo"
334 # and all the variables that are supposed to be based on exec_prefix
335 # by default will actually change.
336 # Use braces instead of parens because sh, perl, etc. also accept them.
337 bindir='${exec_prefix}/bin'
338 sbindir='${exec_prefix}/sbin'
339 libexecdir='${exec_prefix}/libexec'
340 datadir='${prefix}/share'
341 sysconfdir='${prefix}/etc'
342 sharedstatedir='${prefix}/com'
343 localstatedir='${prefix}/var'
344 libdir='${exec_prefix}/lib'
345 includedir='${prefix}/include'
346 oldincludedir='/usr/include'
347 infodir='${prefix}/info'
348 mandir='${prefix}/man'
353 # If the previous option needs an argument, assign it.
354 if test -n "$ac_prev"; then
355 eval "$ac_prev=\$ac_option"
360 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
362 # Accept the important Cygnus configure options, so we can diagnose typos.
366 -bindir | --bindir | --bindi | --bind | --bin | --bi)
368 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 -build | --build | --buil | --bui | --bu)
372 ac_prev=build_alias ;;
373 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
374 build_alias=$ac_optarg ;;
376 -cache-file | --cache-file | --cache-fil | --cache-fi \
377 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
378 ac_prev=cache_file ;;
379 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
380 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
381 cache_file=$ac_optarg ;;
384 cache_file=config.cache ;;
386 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
388 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
390 datadir=$ac_optarg ;;
392 -disable-* | --disable-*)
393 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
394 # Reject names that are not valid shell variable names.
395 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
396 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
397 { (exit 1); exit 1; }; }
398 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
399 eval "enable_$ac_feature=no" ;;
401 -enable-* | --enable-*)
402 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
403 # Reject names that are not valid shell variable names.
404 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
405 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
406 { (exit 1); exit 1; }; }
407 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
409 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 eval "enable_$ac_feature='$ac_optarg'" ;;
414 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
415 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
416 | --exec | --exe | --ex)
417 ac_prev=exec_prefix ;;
418 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
419 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
420 | --exec=* | --exe=* | --ex=*)
421 exec_prefix=$ac_optarg ;;
423 -gas | --gas | --ga | --g)
424 # Obsolete; use --with-gas.
427 -help | --help | --hel | --he | -h)
429 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
430 ac_init_help=recursive ;;
431 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
432 ac_init_help=short ;;
434 -host | --host | --hos | --ho)
435 ac_prev=host_alias ;;
436 -host=* | --host=* | --hos=* | --ho=*)
437 host_alias=$ac_optarg ;;
439 -includedir | --includedir | --includedi | --included | --include \
440 | --includ | --inclu | --incl | --inc)
441 ac_prev=includedir ;;
442 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
443 | --includ=* | --inclu=* | --incl=* | --inc=*)
444 includedir=$ac_optarg ;;
446 -infodir | --infodir | --infodi | --infod | --info | --inf)
448 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
449 infodir=$ac_optarg ;;
451 -libdir | --libdir | --libdi | --libd)
453 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
457 | --libexe | --libex | --libe)
458 ac_prev=libexecdir ;;
459 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
460 | --libexe=* | --libex=* | --libe=*)
461 libexecdir=$ac_optarg ;;
463 -localstatedir | --localstatedir | --localstatedi | --localstated \
464 | --localstate | --localstat | --localsta | --localst \
465 | --locals | --local | --loca | --loc | --lo)
466 ac_prev=localstatedir ;;
467 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
468 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
469 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
470 localstatedir=$ac_optarg ;;
472 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
474 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 # Obsolete; use --without-fp.
481 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
482 | --no-cr | --no-c | -n)
485 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
486 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
490 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
491 | --oldin | --oldi | --old | --ol | --o)
492 ac_prev=oldincludedir ;;
493 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
494 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
495 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
496 oldincludedir=$ac_optarg ;;
498 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
500 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 -program-prefix | --program-prefix | --program-prefi | --program-pref \
504 | --program-pre | --program-pr | --program-p)
505 ac_prev=program_prefix ;;
506 -program-prefix=* | --program-prefix=* | --program-prefi=* \
507 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
508 program_prefix=$ac_optarg ;;
510 -program-suffix | --program-suffix | --program-suffi | --program-suff \
511 | --program-suf | --program-su | --program-s)
512 ac_prev=program_suffix ;;
513 -program-suffix=* | --program-suffix=* | --program-suffi=* \
514 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
515 program_suffix=$ac_optarg ;;
517 -program-transform-name | --program-transform-name \
518 | --program-transform-nam | --program-transform-na \
519 | --program-transform-n | --program-transform- \
520 | --program-transform | --program-transfor \
521 | --program-transfo | --program-transf \
522 | --program-trans | --program-tran \
523 | --progr-tra | --program-tr | --program-t)
524 ac_prev=program_transform_name ;;
525 -program-transform-name=* | --program-transform-name=* \
526 | --program-transform-nam=* | --program-transform-na=* \
527 | --program-transform-n=* | --program-transform-=* \
528 | --program-transform=* | --program-transfor=* \
529 | --program-transfo=* | --program-transf=* \
530 | --program-trans=* | --program-tran=* \
531 | --progr-tra=* | --program-tr=* | --program-t=*)
532 program_transform_name=$ac_optarg ;;
534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
535 | -silent | --silent | --silen | --sile | --sil)
538 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
540 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
542 sbindir=$ac_optarg ;;
544 -sharedstatedir | --sharedstatedir | --sharedstatedi \
545 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
546 | --sharedst | --shareds | --shared | --share | --shar \
548 ac_prev=sharedstatedir ;;
549 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
550 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
551 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
553 sharedstatedir=$ac_optarg ;;
555 -site | --site | --sit)
557 -site=* | --site=* | --sit=*)
560 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
562 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
566 | --syscon | --sysco | --sysc | --sys | --sy)
567 ac_prev=sysconfdir ;;
568 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
569 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
570 sysconfdir=$ac_optarg ;;
572 -target | --target | --targe | --targ | --tar | --ta | --t)
573 ac_prev=target_alias ;;
574 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
575 target_alias=$ac_optarg ;;
577 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 -version | --version | --versio | --versi | --vers | -V)
584 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
585 # Reject names that are not valid shell variable names.
586 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
587 { echo "$as_me: error: invalid package name: $ac_package" >&2
588 { (exit 1); exit 1; }; }
589 ac_package=`echo $ac_package| sed 's/-/_/g'`
591 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 eval "with_$ac_package='$ac_optarg'" ;;
596 -without-* | --without-*)
597 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid package name: $ac_package" >&2
601 { (exit 1); exit 1; }; }
602 ac_package=`echo $ac_package | sed 's/-/_/g'`
603 eval "with_$ac_package=no" ;;
606 # Obsolete; use --with-x.
609 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
610 | --x-incl | --x-inc | --x-in | --x-i)
611 ac_prev=x_includes ;;
612 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
613 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
614 x_includes=$ac_optarg ;;
616 -x-libraries | --x-libraries | --x-librarie | --x-librari \
617 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
618 ac_prev=x_libraries ;;
619 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
620 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
621 x_libraries=$ac_optarg ;;
623 -*) { echo "$as_me: error: unrecognized option: $ac_option
624 Try \`$0 --help' for more information." >&2
625 { (exit 1); exit 1; }; }
629 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
630 # Reject names that are not valid shell variable names.
631 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
632 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
633 { (exit 1); exit 1; }; }
634 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
635 eval "$ac_envvar='$ac_optarg'"
639 # FIXME: should be removed in autoconf 3.0.
640 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
641 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
642 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
643 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 if test -n "$ac_prev"; then
650 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
651 { echo "$as_me: error: missing argument to $ac_option" >&2
652 { (exit 1); exit 1; }; }
655 # Be sure to have absolute paths.
656 for ac_var in exec_prefix prefix
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # Be sure to have absolute paths.
667 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
668 localstatedir libdir includedir oldincludedir infodir mandir
670 eval ac_val=$`echo $ac_var`
672 [\\/$]* | ?:[\\/]* ) ;;
673 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
674 { (exit 1); exit 1; }; };;
678 # There might be people who depend on the old broken behavior: `$host'
679 # used to hold the argument of --host etc.
680 # FIXME: To remove some day.
685 # FIXME: To remove some day.
686 if test "x$host_alias" != x; then
687 if test "x$build_alias" = x; then
688 cross_compiling=maybe
689 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
690 If a cross compiler is detected then cross compile mode will be used." >&2
691 elif test "x$build_alias" != "x$host_alias"; then
697 test -n "$host_alias" && ac_tool_prefix=$host_alias-
699 test "$silent" = yes && exec 6>/dev/null
702 # Find the source files, if location was not specified.
703 if test -z "$srcdir"; then
704 ac_srcdir_defaulted=yes
705 # Try the directory containing this script, then its parent.
706 ac_confdir=`(dirname "$0") 2>/dev/null ||
707 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
708 X"$0" : 'X\(//\)[^/]' \| \
709 X"$0" : 'X\(//\)$' \| \
710 X"$0" : 'X\(/\)' \| \
711 . : '\(.\)' 2>/dev/null ||
713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
715 /^X\(\/\/\)$/{ s//\1/; q; }
716 /^X\(\/\).*/{ s//\1/; q; }
719 if test ! -r $srcdir/$ac_unique_file; then
723 ac_srcdir_defaulted=no
725 if test ! -r $srcdir/$ac_unique_file; then
726 if test "$ac_srcdir_defaulted" = yes; then
727 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
728 { (exit 1); exit 1; }; }
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
731 { (exit 1); exit 1; }; }
734 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
735 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
736 { (exit 1); exit 1; }; }
737 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
738 ac_env_build_alias_set=${build_alias+set}
739 ac_env_build_alias_value=$build_alias
740 ac_cv_env_build_alias_set=${build_alias+set}
741 ac_cv_env_build_alias_value=$build_alias
742 ac_env_host_alias_set=${host_alias+set}
743 ac_env_host_alias_value=$host_alias
744 ac_cv_env_host_alias_set=${host_alias+set}
745 ac_cv_env_host_alias_value=$host_alias
746 ac_env_target_alias_set=${target_alias+set}
747 ac_env_target_alias_value=$target_alias
748 ac_cv_env_target_alias_set=${target_alias+set}
749 ac_cv_env_target_alias_value=$target_alias
750 ac_env_CCAS_set=${CCAS+set}
751 ac_env_CCAS_value=$CCAS
752 ac_cv_env_CCAS_set=${CCAS+set}
753 ac_cv_env_CCAS_value=$CCAS
754 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
755 ac_env_CCASFLAGS_value=$CCASFLAGS
756 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
757 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
758 ac_env_CC_set=${CC+set}
760 ac_cv_env_CC_set=${CC+set}
761 ac_cv_env_CC_value=$CC
762 ac_env_CFLAGS_set=${CFLAGS+set}
763 ac_env_CFLAGS_value=$CFLAGS
764 ac_cv_env_CFLAGS_set=${CFLAGS+set}
765 ac_cv_env_CFLAGS_value=$CFLAGS
766 ac_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_env_LDFLAGS_value=$LDFLAGS
768 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
769 ac_cv_env_LDFLAGS_value=$LDFLAGS
770 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_env_CPPFLAGS_value=$CPPFLAGS
772 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
773 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures newlib 1.14.0 to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 --build=BUILD configure for building on BUILD [guessed]
842 --host=HOST cross-compile to build programs to run on HOST [BUILD]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive ) echo "Configuration of newlib 1.14.0:";;
853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
855 --enable-multilib build many library versions (default)
856 --enable-target-optspace optimize for space
857 --enable-malloc-debugging indicate malloc debugging requested
858 --enable-newlib-multithread enable support for multiple threads
859 --enable-newlib-iconv enable iconv library support
860 --enable-newlib-elix-level supply desired elix library level (1-4)
861 --disable-newlib-io-float disable printf/scanf family float support
862 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
863 --disable-dependency-tracking speeds up one-time build
864 --enable-dependency-tracking do not reject slow dependency extractors
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing) to the casual installer
867 --enable-shared=PKGS build shared libraries default=yes
868 --enable-static=PKGS build static libraries default=yes
869 --enable-fast-install=PKGS optimize for fast installation default=yes
870 --disable-libtool-lock avoid locking (might break parallel builds)
873 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
874 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
875 --with-gnu-ld assume the C compiler uses GNU ld default=no
876 --with-pic try to use only PIC/non-PIC objects default=use both
878 Some influential environment variables:
879 CCAS assembler compiler command (defaults to CC)
880 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
881 CC C compiler command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
884 nonstandard directory <lib dir>
885 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
886 headers in a nonstandard directory <include dir>
888 Use these variables to override the choices made by `configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo && pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
986 newlib configure 1.14.0
987 generated by GNU Autoconf 2.59
989 Copyright (C) 2003 Free Software Foundation, Inc.
990 This configure script is free software; the Free Software Foundation
991 gives unlimited permission to copy, distribute and modify it.
997 This file contains any messages produced by compilers while
998 running configure, to aid debugging if configure makes a mistake.
1000 It was created by newlib $as_me 1.14.0, which was
1001 generated by GNU Autoconf 2.59. Invocation command line was
1012 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1013 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1014 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1015 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1016 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1018 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1019 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1021 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1022 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1023 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1024 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1025 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1026 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1027 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close' the trap.
1107 trap 'exit_status=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var in $ac_subst_vars
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var in $ac_subst_files
1157 eval ac_val=$`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h; then
1170 sed "/^$/d" confdefs.h | sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core *.core &&
1178 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's/^/| /' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1339 for ac_dir in ../../.. $srcdir/../../..; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Make sure we can run config.sub.
1366 $ac_config_sub sun4 >/dev/null 2>&1 ||
1367 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1368 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1369 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: checking build system type" >&5
1372 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1373 if test "${ac_cv_build+set}" = set; then
1374 echo $ECHO_N "(cached) $ECHO_C" >&6
1376 ac_cv_build_alias=$build_alias
1377 test -z "$ac_cv_build_alias" &&
1378 ac_cv_build_alias=`$ac_config_guess`
1379 test -z "$ac_cv_build_alias" &&
1380 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1381 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1382 { (exit 1); exit 1; }; }
1383 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1389 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1390 echo "${ECHO_T}$ac_cv_build" >&6
1392 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1393 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1394 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1397 am__api_version="1.9"
1398 # Find a good install program. We prefer a C program (faster),
1399 # so one script is as good as another. But avoid the broken or
1400 # incompatible versions:
1401 # SysV /etc/install, /usr/sbin/install
1402 # SunOS /usr/etc/install
1403 # IRIX /sbin/install
1405 # AmigaOS /C/install, which installs bootblocks on floppy discs
1406 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1407 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1408 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1409 # OS/2's system install, which has a completely different semantic
1410 # ./install, which can be erroneously created by make from ./install.sh.
1411 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1412 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1413 if test -z "$INSTALL"; then
1414 if test "${ac_cv_path_install+set}" = set; then
1415 echo $ECHO_N "(cached) $ECHO_C" >&6
1417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421 test -z "$as_dir" && as_dir=.
1422 # Account for people who put trailing slashes in PATH elements.
1424 ./ | .// | /cC/* | \
1425 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1426 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1429 # OSF1 and SCO ODT 3.0 have their own names for install.
1430 # Don't use installbsd from OSF since it installs stuff as root
1432 for ac_prog in ginstall scoinst install; do
1433 for ac_exec_ext in '' $ac_executable_extensions; do
1434 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1435 if test $ac_prog = install &&
1436 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1437 # AIX install. It has an incompatible calling convention.
1439 elif test $ac_prog = install &&
1440 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1441 # program-specific install script used by HP pwplus--don't use.
1444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1456 if test "${ac_cv_path_install+set}" = set; then
1457 INSTALL=$ac_cv_path_install
1459 # As a last resort, use the slow shell script. We don't cache a
1460 # path for INSTALL within a source directory, because that will
1461 # break other packages using the cache if that directory is
1462 # removed, or if the path is relative.
1463 INSTALL=$ac_install_sh
1466 echo "$as_me:$LINENO: result: $INSTALL" >&5
1467 echo "${ECHO_T}$INSTALL" >&6
1469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1470 # It thinks the first close brace ends the variable substitution.
1471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1477 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1478 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1481 echo timestamp > conftest.file
1482 # Do `set' in a subshell so we don't clobber the current shell's
1483 # arguments. Must try -L first in case configure is actually a
1484 # symlink; some systems play weird games with the mod time of symlinks
1485 # (eg FreeBSD returns the mod time of the symlink's containing
1488 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1489 if test "$*" = "X"; then
1491 set X `ls -t $srcdir/configure conftest.file`
1494 if test "$*" != "X $srcdir/configure conftest.file" \
1495 && test "$*" != "X conftest.file $srcdir/configure"; then
1497 # If neither matched, then we have a broken ls. This can happen
1498 # if, for instance, CONFIG_SHELL is bash and it inherits a
1499 # broken ls alias from the environment. This has actually
1500 # happened. Such a system could not be considered "sane".
1501 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1502 alias in your environment" >&5
1503 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1504 alias in your environment" >&2;}
1505 { (exit 1); exit 1; }; }
1508 test "$2" = conftest.file
1514 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1515 Check your system clock" >&5
1516 echo "$as_me: error: newly created file is older than distributed files!
1517 Check your system clock" >&2;}
1518 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: yes" >&5
1521 echo "${ECHO_T}yes" >&6
1522 test "$program_prefix" != NONE &&
1523 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1524 # Use a double $ so make ignores it.
1525 test "$program_suffix" != NONE &&
1526 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1527 # Double any \ or $. echo might interpret backslashes.
1528 # By default was `s,x,x', remove it if useless.
1529 cat <<\_ACEOF >conftest.sed
1530 s/[\\$]/&&/g;s/;s,x,x,$//
1532 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1535 # expand $ac_aux_dir to an absolute path
1536 am_aux_dir=`cd $ac_aux_dir && pwd`
1538 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1539 # Use eval to expand $SHELL
1540 if eval "$MISSING --run true"; then
1541 am_missing_run="$MISSING --run "
1544 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1545 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1548 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1549 # We used to keeping the `.' as first argument, in order to
1550 # allow $(mkdir_p) to be used without argument. As in
1551 # $(mkdir_p) $(somedir)
1552 # where $(somedir) is conditionally defined. However this is wrong
1554 # 1. if the package is installed by a user who cannot write `.'
1555 # make install will fail,
1556 # 2. the above comment should most certainly read
1557 # $(mkdir_p) $(DESTDIR)$(somedir)
1558 # so it does not work when $(somedir) is undefined and
1559 # $(DESTDIR) is not.
1560 # To support the latter case, we have to write
1561 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1562 # so the `.' trick is pointless.
1563 mkdir_p='mkdir -p --'
1565 # On NextStep and OpenStep, the `mkdir' command does not
1566 # recognize any option. It will interpret all options as
1567 # directories to create, and then abort because `.' already
1569 for d in ./-p ./--version;
1571 test -d $d && rmdir $d
1573 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1574 if test -f "$ac_aux_dir/mkinstalldirs"; then
1575 mkdir_p='$(mkinstalldirs)'
1577 mkdir_p='$(install_sh) -d'
1581 for ac_prog in gawk mawk nawk awk
1583 # Extract the first word of "$ac_prog", so it can be a program name with args.
1584 set dummy $ac_prog; ac_word=$2
1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_AWK+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 if test -n "$AWK"; then
1591 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1597 test -z "$as_dir" && as_dir=.
1598 for ac_exec_ext in '' $ac_executable_extensions; do
1599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1600 ac_cv_prog_AWK="$ac_prog"
1601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1610 if test -n "$AWK"; then
1611 echo "$as_me:$LINENO: result: $AWK" >&5
1612 echo "${ECHO_T}$AWK" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1618 test -n "$AWK" && break
1621 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1622 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1623 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1624 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 cat >conftest.make <<\_ACEOF
1629 @echo 'ac_maketemp="$(MAKE)"'
1631 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1632 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1633 if test -n "$ac_maketemp"; then
1634 eval ac_cv_prog_make_${ac_make}_set=yes
1636 eval ac_cv_prog_make_${ac_make}_set=no
1640 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1641 echo "$as_me:$LINENO: result: yes" >&5
1642 echo "${ECHO_T}yes" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1647 SET_MAKE="MAKE=${MAKE-make}"
1650 rm -rf .tst 2>/dev/null
1651 mkdir .tst 2>/dev/null
1652 if test -d .tst; then
1657 rmdir .tst 2>/dev/null
1659 DEPDIR="${am__leading_dot}deps"
1661 ac_config_commands="$ac_config_commands depfiles"
1664 am_make=${MAKE-make}
1665 cat > confinc << 'END'
1670 # If we don't find an include directive, just comment out the code.
1671 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1672 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1676 # First try GNU make style include.
1677 echo "include confinc" > confmf
1678 # We grep out `Entering directory' and `Leaving directory'
1679 # messages which can occur if `w' ends up in MAKEFLAGS.
1680 # In particular we don't look at `^make:' because GNU make might
1681 # be invoked under some other name (usually "gmake"), in which
1682 # case it prints its new name instead of `make'.
1683 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1688 # Now try BSD make style include.
1689 if test "$am__include" = "#"; then
1690 echo '.include "confinc"' > confmf
1691 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1692 am__include=.include
1699 echo "$as_me:$LINENO: result: $_am_result" >&5
1700 echo "${ECHO_T}$_am_result" >&6
1701 rm -f confinc confmf
1703 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1704 if test "${enable_dependency_tracking+set}" = set; then
1705 enableval="$enable_dependency_tracking"
1708 if test "x$enable_dependency_tracking" != xno; then
1709 am_depcomp="$ac_aux_dir/depcomp"
1714 if test "x$enable_dependency_tracking" != xno; then
1725 # Check whether --enable-multilib or --disable-multilib was given.
1726 if test "${enable_multilib+set}" = set; then
1727 enableval="$enable_multilib"
1728 case "${enableval}" in
1729 yes) multilib=yes ;;
1731 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1732 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1733 { (exit 1); exit 1; }; } ;;
1738 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1739 if test "${enable_target_optspace+set}" = set; then
1740 enableval="$enable_target_optspace"
1741 case "${enableval}" in
1742 yes) target_optspace=yes ;;
1743 no) target_optspace=no ;;
1744 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1745 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1746 { (exit 1); exit 1; }; } ;;
1751 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1752 if test "${enable_malloc_debugging+set}" = set; then
1753 enableval="$enable_malloc_debugging"
1754 case "${enableval}" in
1755 yes) malloc_debugging=yes ;;
1756 no) malloc_debugging=no ;;
1757 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1758 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1759 { (exit 1); exit 1; }; } ;;
1764 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1765 if test "${enable_newlib_multithread+set}" = set; then
1766 enableval="$enable_newlib_multithread"
1767 case "${enableval}" in
1768 yes) newlib_multithread=yes ;;
1769 no) newlib_multithread=no ;;
1770 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1771 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1772 { (exit 1); exit 1; }; } ;;
1775 newlib_multithread=yes
1777 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1778 if test "${enable_newlib_iconv+set}" = set; then
1779 enableval="$enable_newlib_iconv"
1780 if test "${newlib_iconv+set}" != set; then
1781 case "${enableval}" in
1782 yes) newlib_iconv=yes ;;
1783 no) newlib_iconv=no ;;
1784 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1785 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1786 { (exit 1); exit 1; }; } ;;
1790 newlib_iconv=${newlib_iconv}
1792 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1793 if test "${enable_newlib_elix_level+set}" = set; then
1794 enableval="$enable_newlib_elix_level"
1795 case "${enableval}" in
1796 0) newlib_elix_level=0 ;;
1797 1) newlib_elix_level=1 ;;
1798 2) newlib_elix_level=2 ;;
1799 3) newlib_elix_level=3 ;;
1800 4) newlib_elix_level=4 ;;
1801 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1802 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1803 { (exit 1); exit 1; }; } ;;
1808 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1809 if test "${enable_newlib_io_float+set}" = set; then
1810 enableval="$enable_newlib_io_float"
1811 case "${enableval}" in
1812 yes) newlib_io_float=yes ;;
1813 no) newlib_io_float=no ;;
1814 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1815 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1816 { (exit 1); exit 1; }; } ;;
1821 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1822 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1823 enableval="$enable_newlib_supplied_syscalls"
1824 case "${enableval}" in
1825 yes) newlib_may_supply_syscalls=yes ;;
1826 no) newlib_may_supply_syscalls=no ;;
1827 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1828 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1829 { (exit 1); exit 1; }; } ;;
1832 newlib_may_supply_syscalls=yes
1836 if test x${newlib_may_supply_syscalls} = xyes; then
1837 MAY_SUPPLY_SYSCALLS_TRUE=
1838 MAY_SUPPLY_SYSCALLS_FALSE='#'
1840 MAY_SUPPLY_SYSCALLS_TRUE='#'
1841 MAY_SUPPLY_SYSCALLS_FALSE=
1846 test -z "${with_target_subdir}" && with_target_subdir=.
1848 if test "${srcdir}" = "."; then
1849 if test "${with_target_subdir}" != "."; then
1850 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1852 newlib_basedir="${srcdir}/${with_multisrctop}../.."
1855 newlib_basedir="${srcdir}/../.."
1859 echo "$as_me:$LINENO: checking host system type" >&5
1860 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1861 if test "${ac_cv_host+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 ac_cv_host_alias=$host_alias
1865 test -z "$ac_cv_host_alias" &&
1866 ac_cv_host_alias=$ac_cv_build_alias
1867 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1868 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1869 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1870 { (exit 1); exit 1; }; }
1873 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1874 echo "${ECHO_T}$ac_cv_host" >&6
1876 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1877 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1878 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1882 # test to see if srcdir already configured
1883 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1884 test -f $srcdir/config.status; then
1885 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1886 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # test whether we have cygpath
1891 if test -z "$CYGPATH_W"; then
1892 if (cygpath --version) >/dev/null 2>/dev/null; then
1893 CYGPATH_W='cygpath -w'
1900 # Define the identity of the package.
1905 # Some tools Automake needs.
1907 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1910 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1913 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1916 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1919 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1921 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1923 # Installed binaries are usually stripped using `strip' when the user
1924 # run `make install-strip'. However `strip' might not be the right
1925 # tool to use in cross-compilation environments, therefore Automake
1926 # will honor the `STRIP' environment variable to overrule this program.
1927 if test "$cross_compiling" != no; then
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1930 set dummy ${ac_tool_prefix}strip; ac_word=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_prog_STRIP+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$STRIP"; then
1937 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 STRIP=$ac_cv_prog_STRIP
1956 if test -n "$STRIP"; then
1957 echo "$as_me:$LINENO: result: $STRIP" >&5
1958 echo "${ECHO_T}$STRIP" >&6
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1965 if test -z "$ac_cv_prog_STRIP"; then
1967 # Extract the first word of "strip", so it can be a program name with args.
1968 set dummy strip; ac_word=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$ac_ct_STRIP"; then
1975 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir=.
1982 for ac_exec_ext in '' $ac_executable_extensions; do
1983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_ac_ct_STRIP="strip"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1995 if test -n "$ac_ct_STRIP"; then
1996 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1997 echo "${ECHO_T}$ac_ct_STRIP" >&6
1999 echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2005 STRIP="$ac_cv_prog_STRIP"
2009 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2011 # We need awk for the "check" target. The system "awk" is bad on
2013 # Always define AMTAR for backward compatibility.
2015 AMTAR=${AMTAR-"${am_missing_run}tar"}
2017 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2024 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2025 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2026 # are probably using a cross compiler, which will not be able to fully
2027 # link an executable. This should really be fixed in autoconf
2036 # Extract the first word of "gcc", so it can be a program name with args.
2037 set dummy gcc; ac_word=$2
2038 echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040 if test "${ac_cv_prog_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC="$CC" # Let the user override the test.
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 if test -n "$CC"; then
2064 echo "$as_me:$LINENO: result: $CC" >&5
2065 echo "${ECHO_T}$CC" >&6
2067 echo "$as_me:$LINENO: result: no" >&5
2068 echo "${ECHO_T}no" >&6
2072 depcc="$CC" am_compiler_list=
2074 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2075 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2076 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2080 # We make a subdir and do the tests there. Otherwise we can end up
2081 # making bogus files that we don't know about and never remove. For
2082 # instance it was reported that on HP-UX the gcc test will end up
2083 # making a dummy file named `D' -- because `-MD' means `put the output
2086 # Copy depcomp to subdir because otherwise we won't find it if we're
2087 # using a relative directory.
2088 cp "$am_depcomp" conftest.dir
2090 # We will build objects and dependencies in a subdirectory because
2091 # it helps to detect inapplicable dependency modes. For instance
2092 # both Tru64's cc and ICC support -MD to output dependencies as a
2093 # side effect of compilation, but ICC will put the dependencies in
2094 # the current directory while Tru64 will put them in the object
2098 am_cv_CC_dependencies_compiler_type=none
2099 if test "$am_compiler_list" = ""; then
2100 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2102 for depmode in $am_compiler_list; do
2103 # Setup a source with many dependencies, because some compilers
2104 # like to wrap large dependency lists on column 80 (with \), and
2105 # we should not choose a depcomp mode which is confused by this.
2107 # We need to recreate these files for each test, as the compiler may
2108 # overwrite some of them when testing with obscure command lines.
2109 # This happens at least with the AIX C compiler.
2111 for i in 1 2 3 4 5 6; do
2112 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2113 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2114 # Solaris 8's {/usr,}/bin/sh.
2115 touch sub/conftst$i.h
2117 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2121 # after this tag, mechanisms are not by side-effect, so they'll
2122 # only be used when explicitly requested
2123 if test "x$enable_dependency_tracking" = xyes; then
2131 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2132 # mode. It turns out that the SunPro C++ compiler does not properly
2133 # handle `-M -o', and we need to detect this.
2134 if depmode=$depmode \
2135 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2136 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2137 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2138 >/dev/null 2>conftest.err &&
2139 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2140 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2141 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2142 # icc doesn't choke on unknown options, it will just issue warnings
2143 # or remarks (even with -Werror). So we grep stderr for any message
2144 # that says an option was ignored or not supported.
2145 # When given -MP, icc 7.0 and 7.1 complain thusly:
2146 # icc: Command line warning: ignoring option '-M'; no argument required
2147 # The diagnosis changed in icc 8.0:
2148 # icc: Command line remark: option '-MP' not supported
2149 if (grep 'ignoring option' conftest.err ||
2150 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2151 am_cv_CC_dependencies_compiler_type=$depmode
2160 am_cv_CC_dependencies_compiler_type=none
2164 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2165 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2166 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2171 test "x$enable_dependency_tracking" != xno \
2172 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2174 am__fastdepCC_FALSE='#'
2176 am__fastdepCC_TRUE='#'
2177 am__fastdepCC_FALSE=
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 if test -n "$CC"; then
2227 echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2234 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2235 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2236 { (exit 1); exit 1; }; }
2239 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2240 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2241 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 cat > conftest.c <<EOF
2249 if { ac_try='${CC-cc} -E conftest.c'
2250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2255 ac_cv_c_compiler_gnu=yes
2257 ac_cv_c_compiler_gnu=no
2260 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2261 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2263 if test $ac_cv_c_compiler_gnu = yes; then
2265 ac_test_CFLAGS="${CFLAGS+set}"
2266 ac_save_CFLAGS="$CFLAGS"
2268 ac_test_CFLAGS=${CFLAGS+set}
2269 ac_save_CFLAGS=$CFLAGS
2271 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2272 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2273 if test "${ac_cv_prog_cc_g+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 cat >conftest.$ac_ext <<_ACEOF
2279 cat confdefs.h >>conftest.$ac_ext
2280 cat >>conftest.$ac_ext <<_ACEOF
2281 /* end confdefs.h. */
2291 rm -f conftest.$ac_objext
2292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2293 (eval $ac_compile) 2>conftest.er1
2295 grep -v '^ *+' conftest.er1 >conftest.err
2297 cat conftest.err >&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); } &&
2300 { ac_try='test -z "$ac_c_werror_flag"
2301 || test ! -s conftest.err'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; } &&
2307 { ac_try='test -s conftest.$ac_objext'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; }; then
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2322 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2323 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2324 if test "$ac_test_CFLAGS" = set; then
2325 CFLAGS=$ac_save_CFLAGS
2326 elif test $ac_cv_prog_cc_g = yes; then
2327 if test "$GCC" = yes; then
2333 if test "$GCC" = yes; then
2339 if test "$ac_test_CFLAGS" = set; then
2340 CFLAGS="$ac_save_CFLAGS"
2341 elif test $ac_cv_prog_cc_g = yes; then
2348 test "${CFLAGS+set}" = set || CFLAGS="-g"
2352 if test -n "$ac_tool_prefix"; then
2353 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}as; ac_word=$2
2355 echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2357 if test "${ac_cv_prog_AS+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 if test -n "$AS"; then
2361 ac_cv_prog_AS="$AS" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2370 ac_cv_prog_AS="${ac_tool_prefix}as"
2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 if test -n "$AS"; then
2381 echo "$as_me:$LINENO: result: $AS" >&5
2382 echo "${ECHO_T}$AS" >&6
2384 echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6
2389 if test -z "$ac_cv_prog_AS"; then
2391 # Extract the first word of "as", so it can be a program name with args.
2392 set dummy as; ac_word=$2
2393 echo "$as_me:$LINENO: checking for $ac_word" >&5
2394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2395 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2396 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 if test -n "$ac_ct_AS"; then
2399 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2408 ac_cv_prog_ac_ct_AS="as"
2409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2418 if test -n "$ac_ct_AS"; then
2419 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2420 echo "${ECHO_T}$ac_ct_AS" >&6
2422 echo "$as_me:$LINENO: result: no" >&5
2423 echo "${ECHO_T}no" >&6
2431 if test -n "$ac_tool_prefix"; then
2432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2433 set dummy ${ac_tool_prefix}ar; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_AR+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$AR"; then
2440 ac_cv_prog_AR="$AR" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_AR="${ac_tool_prefix}ar"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test -n "$AR"; then
2460 echo "$as_me:$LINENO: result: $AR" >&5
2461 echo "${ECHO_T}$AR" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2468 if test -z "$ac_cv_prog_AR"; then
2470 # Extract the first word of "ar", so it can be a program name with args.
2471 set dummy ar; ac_word=$2
2472 echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2474 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$ac_ct_AR"; then
2478 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_ac_ct_AR="ar"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2497 if test -n "$ac_ct_AR"; then
2498 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2499 echo "${ECHO_T}$ac_ct_AR" >&6
2501 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6
2510 if test -n "$ac_tool_prefix"; then
2511 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2513 echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2515 if test "${ac_cv_prog_RANLIB+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 if test -n "$RANLIB"; then
2519 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 RANLIB=$ac_cv_prog_RANLIB
2538 if test -n "$RANLIB"; then
2539 echo "$as_me:$LINENO: result: $RANLIB" >&5
2540 echo "${ECHO_T}$RANLIB" >&6
2542 echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6
2547 if test -z "$ac_cv_prog_RANLIB"; then
2548 ac_ct_RANLIB=$RANLIB
2549 # Extract the first word of "ranlib", so it can be a program name with args.
2550 set dummy ranlib; ac_word=$2
2551 echo "$as_me:$LINENO: checking for $ac_word" >&5
2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2553 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 if test -n "$ac_ct_RANLIB"; then
2557 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_RANLIB="ranlib"
2567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2573 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2576 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2577 if test -n "$ac_ct_RANLIB"; then
2578 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2579 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2581 echo "$as_me:$LINENO: result: no" >&5
2582 echo "${ECHO_T}no" >&6
2585 RANLIB=$ac_ct_RANLIB
2587 RANLIB="$ac_cv_prog_RANLIB"
2591 # Find a good install program. We prefer a C program (faster),
2592 # so one script is as good as another. But avoid the broken or
2593 # incompatible versions:
2594 # SysV /etc/install, /usr/sbin/install
2595 # SunOS /usr/etc/install
2596 # IRIX /sbin/install
2598 # AmigaOS /C/install, which installs bootblocks on floppy discs
2599 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2602 # OS/2's system install, which has a completely different semantic
2603 # ./install, which can be erroneously created by make from ./install.sh.
2604 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2605 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2606 if test -z "$INSTALL"; then
2607 if test "${ac_cv_path_install+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 # Account for people who put trailing slashes in PATH elements.
2617 ./ | .// | /cC/* | \
2618 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2619 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2622 # OSF1 and SCO ODT 3.0 have their own names for install.
2623 # Don't use installbsd from OSF since it installs stuff as root
2625 for ac_prog in ginstall scoinst install; do
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2628 if test $ac_prog = install &&
2629 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2630 # AIX install. It has an incompatible calling convention.
2632 elif test $ac_prog = install &&
2633 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2634 # program-specific install script used by HP pwplus--don't use.
2637 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2649 if test "${ac_cv_path_install+set}" = set; then
2650 INSTALL=$ac_cv_path_install
2652 # As a last resort, use the slow shell script. We don't cache a
2653 # path for INSTALL within a source directory, because that will
2654 # break other packages using the cache if that directory is
2655 # removed, or if the path is relative.
2656 INSTALL=$ac_install_sh
2659 echo "$as_me:$LINENO: result: $INSTALL" >&5
2660 echo "${ECHO_T}$INSTALL" >&6
2662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2663 # It thinks the first close brace ends the variable substitution.
2664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2671 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2672 ac_given_INSTALL=$INSTALL
2674 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2675 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2676 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2677 if test "${enable_maintainer_mode+set}" = set; then
2678 enableval="$enable_maintainer_mode"
2679 USE_MAINTAINER_MODE=$enableval
2681 USE_MAINTAINER_MODE=no
2683 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2684 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2687 if test $USE_MAINTAINER_MODE = yes; then
2688 MAINTAINER_MODE_TRUE=
2689 MAINTAINER_MODE_FALSE='#'
2691 MAINTAINER_MODE_TRUE='#'
2692 MAINTAINER_MODE_FALSE=
2695 MAINT=$MAINTAINER_MODE_TRUE
2698 # By default we simply use the C compiler to build assembly code.
2700 test "${CCAS+set}" = set || CCAS=$CC
2701 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2706 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2707 # at least currently, we never actually build a program, so we never
2708 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2709 # fails, because we are probably configuring with a cross compiler
2710 # which can't create executables. So we include AC_EXEEXT to keep
2711 # automake happy, but we don't execute it, since we don't care about
2718 . ${newlib_basedir}/configure.host
2720 newlib_cflags="${newlib_cflags} -fno-builtin"
2722 NEWLIB_CFLAGS=${newlib_cflags}
2730 if test x${newlib_elix_level} = x0; then
2732 ELIX_LEVEL_0_FALSE='#'
2734 ELIX_LEVEL_0_TRUE='#'
2740 if test x${newlib_elix_level} = x1; then
2742 ELIX_LEVEL_1_FALSE='#'
2744 ELIX_LEVEL_1_TRUE='#'
2750 if test x${newlib_elix_level} = x2; then
2752 ELIX_LEVEL_2_FALSE='#'
2754 ELIX_LEVEL_2_TRUE='#'
2760 if test x${newlib_elix_level} = x3; then
2762 ELIX_LEVEL_3_FALSE='#'
2764 ELIX_LEVEL_3_TRUE='#'
2770 if test x${newlib_elix_level} = x4; then
2772 ELIX_LEVEL_4_FALSE='#'
2774 ELIX_LEVEL_4_TRUE='#'
2781 if test x${use_libtool} = xyes; then
2783 USE_LIBTOOL_FALSE='#'
2785 USE_LIBTOOL_TRUE='#'
2790 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2791 # use oext, which is set in configure.host based on the target platform.
2805 if test "${use_libtool}" = "yes"; then
2807 # Check whether --enable-shared or --disable-shared was given.
2808 if test "${enable_shared+set}" = set; then
2809 enableval="$enable_shared"
2810 p=${PACKAGE-default}
2812 yes) enable_shared=yes ;;
2813 no) enable_shared=no ;;
2816 # Look at the argument we got. We use all the common list separators.
2817 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2818 for pkg in $enableval; do
2819 if test "X$pkg" = "X$p"; then
2829 # Check whether --enable-static or --disable-static was given.
2830 if test "${enable_static+set}" = set; then
2831 enableval="$enable_static"
2832 p=${PACKAGE-default}
2834 yes) enable_static=yes ;;
2835 no) enable_static=no ;;
2838 # Look at the argument we got. We use all the common list separators.
2839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2840 for pkg in $enableval; do
2841 if test "X$pkg" = "X$p"; then
2851 # Check whether --enable-fast-install or --disable-fast-install was given.
2852 if test "${enable_fast_install+set}" = set; then
2853 enableval="$enable_fast_install"
2854 p=${PACKAGE-default}
2856 yes) enable_fast_install=yes ;;
2857 no) enable_fast_install=no ;;
2859 enable_fast_install=no
2860 # Look at the argument we got. We use all the common list separators.
2861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2862 for pkg in $enableval; do
2863 if test "X$pkg" = "X$p"; then
2864 enable_fast_install=yes
2871 enable_fast_install=yes
2874 ac_cpp='$CPP $CPPFLAGS'
2875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2880 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2881 echo "$as_me:$LINENO: checking for $ac_word" >&5
2882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883 if test "${ac_cv_prog_CC+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC="$CC" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 echo "$as_me:$LINENO: result: $CC" >&5
2908 echo "${ECHO_T}$CC" >&6
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2915 if test -z "$ac_cv_prog_CC"; then
2917 # Extract the first word of "gcc", so it can be a program name with args.
2918 set dummy gcc; ac_word=$2
2919 echo "$as_me:$LINENO: checking for $ac_word" >&5
2920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2921 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 if test -n "$ac_ct_CC"; then
2925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_ac_ct_CC="gcc"
2935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2944 if test -n "$ac_ct_CC"; then
2945 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2946 echo "${ECHO_T}$ac_ct_CC" >&6
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2957 if test -z "$CC"; then
2958 if test -n "$ac_tool_prefix"; then
2959 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2960 set dummy ${ac_tool_prefix}cc; ac_word=$2
2961 echo "$as_me:$LINENO: checking for $ac_word" >&5
2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2963 if test "${ac_cv_prog_CC+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 if test -n "$CC"; then
2967 ac_cv_prog_CC="$CC" # Let the user override the test.
2969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir=.
2974 for ac_exec_ext in '' $ac_executable_extensions; do
2975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2976 ac_cv_prog_CC="${ac_tool_prefix}cc"
2977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 if test -n "$CC"; then
2987 echo "$as_me:$LINENO: result: $CC" >&5
2988 echo "${ECHO_T}$CC" >&6
2990 echo "$as_me:$LINENO: result: no" >&5
2991 echo "${ECHO_T}no" >&6
2995 if test -z "$ac_cv_prog_CC"; then
2997 # Extract the first word of "cc", so it can be a program name with args.
2998 set dummy cc; ac_word=$2
2999 echo "$as_me:$LINENO: checking for $ac_word" >&5
3000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 if test -n "$ac_ct_CC"; then
3005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014 ac_cv_prog_ac_ct_CC="cc"
3015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3024 if test -n "$ac_ct_CC"; then
3025 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3026 echo "${ECHO_T}$ac_ct_CC" >&6
3028 echo "$as_me:$LINENO: result: no" >&5
3029 echo "${ECHO_T}no" >&6
3038 if test -z "$CC"; then
3039 # Extract the first word of "cc", so it can be a program name with args.
3040 set dummy cc; ac_word=$2
3041 echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3043 if test "${ac_cv_prog_CC+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 if test -n "$CC"; then
3047 ac_cv_prog_CC="$CC" # Let the user override the test.
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3057 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3058 ac_prog_rejected=yes
3062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test $ac_prog_rejected = yes; then
3069 # We found a bogon in the path, so make sure we never use it.
3070 set dummy $ac_cv_prog_CC
3072 if test $# != 0; then
3073 # We chose a different compiler from the bogus one.
3074 # However, it has the same basename, so the bogon will be chosen
3075 # first if we set CC to just the basename; use the full file name.
3077 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3083 if test -n "$CC"; then
3084 echo "$as_me:$LINENO: result: $CC" >&5
3085 echo "${ECHO_T}$CC" >&6
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3092 if test -z "$CC"; then
3093 if test -n "$ac_tool_prefix"; then
3096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3098 echo "$as_me:$LINENO: checking for $ac_word" >&5
3099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3100 if test "${ac_cv_prog_CC+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 if test -n "$CC"; then
3104 ac_cv_prog_CC="$CC" # Let the user override the test.
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$CC"; then
3124 echo "$as_me:$LINENO: result: $CC" >&5
3125 echo "${ECHO_T}$CC" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3131 test -n "$CC" && break
3134 if test -z "$CC"; then
3138 # Extract the first word of "$ac_prog", so it can be a program name with args.
3139 set dummy $ac_prog; ac_word=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 if test -n "$ac_ct_CC"; then
3146 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir=.
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_ac_ct_CC="$ac_prog"
3156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3165 if test -n "$ac_ct_CC"; then
3166 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3167 echo "${ECHO_T}$ac_ct_CC" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3173 test -n "$ac_ct_CC" && break
3182 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3183 See \`config.log' for more details." >&5
3184 echo "$as_me: error: no acceptable C compiler found in \$PATH
3185 See \`config.log' for more details." >&2;}
3186 { (exit 1); exit 1; }; }
3188 # Provide some information about the compiler.
3189 echo "$as_me:$LINENO:" \
3190 "checking for C compiler version" >&5
3191 ac_compiler=`set X $ac_compile; echo $2`
3192 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3193 (eval $ac_compiler --version </dev/null >&5) 2>&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }
3197 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3198 (eval $ac_compiler -v </dev/null >&5) 2>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }
3202 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3203 (eval $ac_compiler -V </dev/null >&5) 2>&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3223 ac_clean_files_save=$ac_clean_files
3224 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3225 # Try to create an executable without -o first, disregard a.out.
3226 # It will help us diagnose broken compilers, and finding out an intuition
3228 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3229 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3230 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3231 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3232 (eval $ac_link_default) 2>&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; then
3236 # Find the output, starting from the most likely. This scheme is
3237 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3240 # Be careful to initialize this variable, since it used to be cached.
3241 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3243 # b.out is created by i960 compilers.
3244 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3246 test -f "$ac_file" || continue
3248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3251 # This is the source file.
3254 # We found the default executable, but exeext='' is most
3258 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3259 # FIXME: I believe we export ac_cv_exeext for Libtool,
3260 # but it would be cool to find out if it's true. Does anybody
3261 # maintain Libtool? --akim.
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3272 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3273 See \`config.log' for more details." >&5
3274 echo "$as_me: error: C compiler cannot create executables
3275 See \`config.log' for more details." >&2;}
3276 { (exit 77); exit 77; }; }
3279 ac_exeext=$ac_cv_exeext
3280 echo "$as_me:$LINENO: result: $ac_file" >&5
3281 echo "${ECHO_T}$ac_file" >&6
3283 # Check the compiler produces executables we can run. If not, either
3284 # the compiler is broken, or we cross compile.
3285 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3286 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3287 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3288 # If not cross compiling, check that we can run a simple program.
3289 if test "$cross_compiling" != yes; then
3290 if { ac_try='./$ac_file'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3298 if test "$cross_compiling" = maybe; then
3301 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3302 If you meant to cross compile, use \`--host'.
3303 See \`config.log' for more details." >&5
3304 echo "$as_me: error: cannot run C compiled programs.
3305 If you meant to cross compile, use \`--host'.
3306 See \`config.log' for more details." >&2;}
3307 { (exit 1); exit 1; }; }
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3314 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3315 ac_clean_files=$ac_clean_files_save
3316 # Check the compiler produces executables we can run. If not, either
3317 # the compiler is broken, or we cross compile.
3318 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3319 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3320 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3321 echo "${ECHO_T}$cross_compiling" >&6
3323 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3324 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3326 (eval $ac_link) 2>&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; then
3330 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3331 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3332 # work properly (i.e., refer to `conftest.exe'), while it won't with
3334 for ac_file in conftest.exe conftest conftest.*; do
3335 test -f "$ac_file" || continue
3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3338 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3346 See \`config.log' for more details." >&5
3347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3348 See \`config.log' for more details." >&2;}
3349 { (exit 1); exit 1; }; }
3352 rm -f conftest$ac_cv_exeext
3353 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3354 echo "${ECHO_T}$ac_cv_exeext" >&6
3356 rm -f conftest.$ac_ext
3357 EXEEXT=$ac_cv_exeext
3359 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3361 if test "${ac_cv_objext+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3379 rm -f conftest.o conftest.obj
3380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3381 (eval $ac_compile) 2>&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; then
3385 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3388 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3397 See \`config.log' for more details." >&5
3398 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3399 See \`config.log' for more details." >&2;}
3400 { (exit 1); exit 1; }; }
3403 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3405 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3406 echo "${ECHO_T}$ac_cv_objext" >&6
3407 OBJEXT=$ac_cv_objext
3409 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3410 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3411 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 cat >conftest.$ac_ext <<_ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3432 rm -f conftest.$ac_objext
3433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3434 (eval $ac_compile) 2>conftest.er1
3436 grep -v '^ *+' conftest.er1 >conftest.err
3438 cat conftest.err >&5
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } &&
3441 { ac_try='test -z "$ac_c_werror_flag"
3442 || test ! -s conftest.err'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; } &&
3448 { ac_try='test -s conftest.$ac_objext'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3462 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3465 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3466 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3467 GCC=`test $ac_compiler_gnu = yes && echo yes`
3468 ac_test_CFLAGS=${CFLAGS+set}
3469 ac_save_CFLAGS=$CFLAGS
3471 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3472 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3473 if test "${ac_cv_prog_cc_g+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3491 rm -f conftest.$ac_objext
3492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3493 (eval $ac_compile) 2>conftest.er1
3495 grep -v '^ *+' conftest.er1 >conftest.err
3497 cat conftest.err >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } &&
3500 { ac_try='test -z "$ac_c_werror_flag"
3501 || test ! -s conftest.err'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; } &&
3507 { ac_try='test -s conftest.$ac_objext'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3522 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3523 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3524 if test "$ac_test_CFLAGS" = set; then
3525 CFLAGS=$ac_save_CFLAGS
3526 elif test $ac_cv_prog_cc_g = yes; then
3527 if test "$GCC" = yes; then
3533 if test "$GCC" = yes; then
3539 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3540 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3541 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 ac_cv_prog_cc_stdc=no
3546 cat >conftest.$ac_ext <<_ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3554 #include <sys/types.h>
3555 #include <sys/stat.h>
3556 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3557 struct buf { int x; };
3558 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3559 static char *e (p, i)
3565 static char *f (char * (*g) (char **, int), char **p, ...)
3570 s = g (p, va_arg (v,int));
3575 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3576 function prototypes and stuff, but not '\xHH' hex character constants.
3577 These don't provoke an error unfortunately, instead are silently treated
3578 as 'x'. The following induces an error, until -std1 is added to get
3579 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3580 array size at least. It's necessary to write '\x00'==0 to get something
3581 that's true only with -std1. */
3582 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3584 int test (int i, double x);
3585 struct s1 {int (*f) (int a);};
3586 struct s2 {int (*f) (double a);};
3587 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3593 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3598 # Don't try gcc -ansi; that turns off useful extensions and
3599 # breaks some systems' header files.
3600 # AIX -qlanglvl=ansi
3601 # Ultrix and OSF/1 -std1
3602 # HP-UX 10.20 and later -Ae
3603 # HP-UX older versions -Aa -D_HPUX_SOURCE
3604 # SVR4 -Xc -D__EXTENSIONS__
3605 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3607 CC="$ac_save_CC $ac_arg"
3608 rm -f conftest.$ac_objext
3609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3610 (eval $ac_compile) 2>conftest.er1
3612 grep -v '^ *+' conftest.er1 >conftest.err
3614 cat conftest.err >&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); } &&
3617 { ac_try='test -z "$ac_c_werror_flag"
3618 || test ! -s conftest.err'
3619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); }; } &&
3624 { ac_try='test -s conftest.$ac_objext'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; }; then
3630 ac_cv_prog_cc_stdc=$ac_arg
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3637 rm -f conftest.err conftest.$ac_objext
3639 rm -f conftest.$ac_ext conftest.$ac_objext
3644 case "x$ac_cv_prog_cc_stdc" in
3646 echo "$as_me:$LINENO: result: none needed" >&5
3647 echo "${ECHO_T}none needed" >&6 ;;
3649 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3650 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3651 CC="$CC $ac_cv_prog_cc_stdc" ;;
3654 # Some people use a C++ compiler to compile C. Since we use `exit',
3655 # in C++ we need to declare it. In case someone uses the same compiler
3656 # for both compiling C and C++ we need to have the C++ compiler decide
3657 # the declaration of exit, since it's the most demanding environment.
3658 cat >conftest.$ac_ext <<_ACEOF
3663 rm -f conftest.$ac_objext
3664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3665 (eval $ac_compile) 2>conftest.er1
3667 grep -v '^ *+' conftest.er1 >conftest.err
3669 cat conftest.err >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } &&
3672 { ac_try='test -z "$ac_c_werror_flag"
3673 || test ! -s conftest.err'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; } &&
3679 { ac_try='test -s conftest.$ac_objext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 for ac_declaration in \
3687 'extern "C" void std::exit (int) throw (); using std::exit;' \
3688 'extern "C" void std::exit (int); using std::exit;' \
3689 'extern "C" void exit (int) throw ();' \
3690 'extern "C" void exit (int);' \
3693 cat >conftest.$ac_ext <<_ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3709 rm -f conftest.$ac_objext
3710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711 (eval $ac_compile) 2>conftest.er1
3713 grep -v '^ *+' conftest.er1 >conftest.err
3715 cat conftest.err >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } &&
3718 { ac_try='test -z "$ac_c_werror_flag"
3719 || test ! -s conftest.err'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; } &&
3725 { ac_try='test -s conftest.$ac_objext'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; }; then
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3739 cat >conftest.$ac_ext <<_ACEOF
3742 cat confdefs.h >>conftest.$ac_ext
3743 cat >>conftest.$ac_ext <<_ACEOF
3744 /* end confdefs.h. */
3754 rm -f conftest.$ac_objext
3755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756 (eval $ac_compile) 2>conftest.er1
3758 grep -v '^ *+' conftest.er1 >conftest.err
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } &&
3763 { ac_try='test -z "$ac_c_werror_flag"
3764 || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; } &&
3770 { ac_try='test -s conftest.$ac_objext'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; }; then
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3785 if test -n "$ac_declaration"; then
3786 echo '#ifdef __cplusplus' >>confdefs.h
3787 echo $ac_declaration >>confdefs.h
3788 echo '#endif' >>confdefs.h
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803 depcc="$CC" am_compiler_list=
3805 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3806 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3807 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3811 # We make a subdir and do the tests there. Otherwise we can end up
3812 # making bogus files that we don't know about and never remove. For
3813 # instance it was reported that on HP-UX the gcc test will end up
3814 # making a dummy file named `D' -- because `-MD' means `put the output
3817 # Copy depcomp to subdir because otherwise we won't find it if we're
3818 # using a relative directory.
3819 cp "$am_depcomp" conftest.dir
3821 # We will build objects and dependencies in a subdirectory because
3822 # it helps to detect inapplicable dependency modes. For instance
3823 # both Tru64's cc and ICC support -MD to output dependencies as a
3824 # side effect of compilation, but ICC will put the dependencies in
3825 # the current directory while Tru64 will put them in the object
3829 am_cv_CC_dependencies_compiler_type=none
3830 if test "$am_compiler_list" = ""; then
3831 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3833 for depmode in $am_compiler_list; do
3834 # Setup a source with many dependencies, because some compilers
3835 # like to wrap large dependency lists on column 80 (with \), and
3836 # we should not choose a depcomp mode which is confused by this.
3838 # We need to recreate these files for each test, as the compiler may
3839 # overwrite some of them when testing with obscure command lines.
3840 # This happens at least with the AIX C compiler.
3842 for i in 1 2 3 4 5 6; do
3843 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3844 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3845 # Solaris 8's {/usr,}/bin/sh.
3846 touch sub/conftst$i.h
3848 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3852 # after this tag, mechanisms are not by side-effect, so they'll
3853 # only be used when explicitly requested
3854 if test "x$enable_dependency_tracking" = xyes; then
3862 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3863 # mode. It turns out that the SunPro C++ compiler does not properly
3864 # handle `-M -o', and we need to detect this.
3865 if depmode=$depmode \
3866 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3867 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3868 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3869 >/dev/null 2>conftest.err &&
3870 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3871 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3872 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3873 # icc doesn't choke on unknown options, it will just issue warnings
3874 # or remarks (even with -Werror). So we grep stderr for any message
3875 # that says an option was ignored or not supported.
3876 # When given -MP, icc 7.0 and 7.1 complain thusly:
3877 # icc: Command line warning: ignoring option '-M'; no argument required
3878 # The diagnosis changed in icc 8.0:
3879 # icc: Command line remark: option '-MP' not supported
3880 if (grep 'ignoring option' conftest.err ||
3881 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3882 am_cv_CC_dependencies_compiler_type=$depmode
3891 am_cv_CC_dependencies_compiler_type=none
3895 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3896 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3897 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3902 test "x$enable_dependency_tracking" != xno \
3903 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3905 am__fastdepCC_FALSE='#'
3907 am__fastdepCC_TRUE='#'
3908 am__fastdepCC_FALSE=
3913 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3914 if test "${with_gnu_ld+set}" = set; then
3915 withval="$with_gnu_ld"
3916 test "$withval" = no || with_gnu_ld=yes
3921 if test "$GCC" = yes; then
3922 # Check if gcc -print-prog-name=ld gives a path.
3923 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3924 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3927 # gcc leaves a trailing carriage return which upsets mingw
3928 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3930 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3933 # Accept absolute paths.
3934 [\\/]* | [A-Za-z]:[\\/]*)
3935 re_direlt='/[^/][^/]*/\.\./'
3936 # Canonicalize the path of ld
3937 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3938 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3939 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3941 test -z "$LD" && LD="$ac_prog"
3944 # If it fails, then pretend we aren't using GCC.
3948 # If it is relative, then search for the first ld in PATH.
3952 elif test "$with_gnu_ld" = yes; then
3953 echo "$as_me:$LINENO: checking for GNU ld" >&5
3954 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3956 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3957 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3959 if test "${lt_cv_path_LD+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 if test -z "$LD"; then
3963 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3964 for ac_dir in $PATH; do
3965 test -z "$ac_dir" && ac_dir=.
3966 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3967 lt_cv_path_LD="$ac_dir/$ac_prog"
3968 # Check to see if the program is GNU ld. I'd rather use --version,
3969 # but apparently some GNU ld's only accept -v.
3970 # Break only if it was the GNU/non-GNU ld that we prefer.
3971 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3972 test "$with_gnu_ld" != no && break
3974 test "$with_gnu_ld" != yes && break
3980 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3985 if test -n "$LD"; then
3986 echo "$as_me:$LINENO: result: $LD" >&5
3987 echo "${ECHO_T}$LD" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3992 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3993 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3994 { (exit 1); exit 1; }; }
3995 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3996 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3997 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3998 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4001 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4002 lt_cv_prog_gnu_ld=yes
4004 lt_cv_prog_gnu_ld=no
4007 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4008 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4009 with_gnu_ld=$lt_cv_prog_gnu_ld
4012 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4013 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4014 if test "${lt_cv_ld_reload_flag+set}" = set; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 lt_cv_ld_reload_flag='-r'
4019 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4020 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4021 reload_flag=$lt_cv_ld_reload_flag
4022 test -n "$reload_flag" && reload_flag=" $reload_flag"
4024 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4025 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4026 if test "${lt_cv_path_NM+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 if test -n "$NM"; then
4030 # Let the user override the test.
4033 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4034 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4035 test -z "$ac_dir" && ac_dir=.
4036 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4037 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4038 # Check to see if the nm accepts a BSD-compat flag.
4039 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4040 # nm: unknown option "B" ignored
4041 # Tru64's nm complains that /dev/null is an invalid object file
4042 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4043 lt_cv_path_NM="$tmp_nm -B"
4045 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4046 lt_cv_path_NM="$tmp_nm -p"
4049 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4050 continue # so that we can try to find one that supports BSD flags
4055 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4060 echo "$as_me:$LINENO: result: $NM" >&5
4061 echo "${ECHO_T}$NM" >&6
4063 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4064 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4066 if test "$LN_S" = "ln -s"; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4070 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4071 echo "${ECHO_T}no, using $LN_S" >&6
4074 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4075 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4076 if test "${lt_cv_deplibs_check_method+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 lt_cv_file_magic_cmd='$MAGIC_CMD'
4080 lt_cv_file_magic_test_file=
4081 lt_cv_deplibs_check_method='unknown'
4082 # Need to set the preceding variable on all platforms that support
4083 # interlibrary dependencies.
4084 # 'none' -- dependencies not supported.
4085 # `unknown' -- same as none, but documents that we really don't know.
4086 # 'pass_all' -- all dependencies passed with no checks.
4087 # 'test_compile' -- check by making test program.
4088 # 'file_magic [regex]' -- check by looking for files in library path
4089 # which responds to the $file_magic_cmd with a given egrep regex.
4090 # If you have `file' or equivalent on your system and you're not sure
4091 # whether `pass_all' will *always* work, you probably want this one.
4095 lt_cv_deplibs_check_method=pass_all
4099 lt_cv_deplibs_check_method=pass_all
4103 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4104 lt_cv_file_magic_cmd='/usr/bin/file -L'
4105 lt_cv_file_magic_test_file=/shlib/libc.so
4108 cygwin* | mingw* |pw32*)
4109 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4110 lt_cv_file_magic_cmd='$OBJDUMP -f'
4113 darwin* | rhapsody*)
4114 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4115 lt_cv_file_magic_cmd='/usr/bin/file -L'
4117 rhapsody* | darwin1.012)
4118 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4121 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4127 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4130 # Not sure whether the presence of OpenBSD here was a mistake.
4131 # Let's accept both of them until this is cleared up.
4132 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4133 lt_cv_file_magic_cmd=/usr/bin/file
4134 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4138 lt_cv_deplibs_check_method=pass_all
4143 lt_cv_deplibs_check_method=pass_all
4149 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4150 lt_cv_file_magic_cmd=/usr/bin/file
4151 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4154 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4155 lt_cv_file_magic_cmd=/usr/bin/file
4156 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4164 # this will be overridden with pass_all, but let us keep it just in case
4165 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4169 *-32|*"-32 ") libmagic=32-bit;;
4170 *-n32|*"-n32 ") libmagic=N32;;
4171 *-64|*"-64 ") libmagic=64-bit;;
4172 *) libmagic=never-match;;
4174 # this will be overridden with pass_all, but let us keep it just in case
4175 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4178 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4179 lt_cv_deplibs_check_method=pass_all
4182 # This must be Linux ELF.
4183 linux-gnu*|linux-newlib*)
4185 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4186 lt_cv_deplibs_check_method=pass_all ;;
4188 # glibc up to 2.1.1 does not perform some relocations on ARM
4189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4191 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4195 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4196 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4198 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4203 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4204 lt_cv_file_magic_cmd=/usr/bin/file
4205 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4208 osf3* | osf4* | osf5*)
4209 # this will be overridden with pass_all, but let us keep it just in case
4210 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4211 lt_cv_file_magic_test_file=/shlib/libc.so
4212 lt_cv_deplibs_check_method=pass_all
4216 lt_cv_deplibs_check_method=pass_all
4220 lt_cv_deplibs_check_method=pass_all
4221 lt_cv_file_magic_test_file=/lib/libc.so
4224 sysv5uw[78]* | sysv4*uw2*)
4225 lt_cv_deplibs_check_method=pass_all
4228 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4229 case $host_vendor in
4231 lt_cv_deplibs_check_method=pass_all
4234 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]'
4235 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4242 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4243 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4244 file_magic_cmd=$lt_cv_file_magic_cmd
4245 deplibs_check_method=$lt_cv_deplibs_check_method
4250 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4252 # Only perform the check for file, if the check method requires it
4253 case $deplibs_check_method in
4255 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4256 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4257 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4258 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4266 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4269 ac_save_MAGIC_CMD="$MAGIC_CMD"
4270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4271 ac_dummy="/usr/bin:$PATH"
4272 for ac_dir in $ac_dummy; do
4273 test -z "$ac_dir" && ac_dir=.
4274 if test -f $ac_dir/${ac_tool_prefix}file; then
4275 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4276 if test -n "$file_magic_test_file"; then
4277 case $deplibs_check_method in
4279 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4281 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4282 egrep "$file_magic_regex" > /dev/null; then
4287 *** Warning: the command libtool uses to detect shared libraries,
4288 *** $file_magic_cmd, produces output that libtool cannot recognize.
4289 *** The result is that libtool may fail to recognize shared libraries
4290 *** as such. This will affect the creation of libtool libraries that
4291 *** depend on shared libraries, but programs linked with such libtool
4292 *** libraries will work regardless of this problem. Nevertheless, you
4293 *** may want to report the problem to your system manager and/or to
4294 *** bug-libtool@gnu.org
4304 MAGIC_CMD="$ac_save_MAGIC_CMD"
4309 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4310 if test -n "$MAGIC_CMD"; then
4311 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4312 echo "${ECHO_T}$MAGIC_CMD" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4318 if test -z "$lt_cv_path_MAGIC_CMD"; then
4319 if test -n "$ac_tool_prefix"; then
4320 echo "$as_me:$LINENO: checking for file" >&5
4321 echo $ECHO_N "checking for file... $ECHO_C" >&6
4322 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4330 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4333 ac_save_MAGIC_CMD="$MAGIC_CMD"
4334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4335 ac_dummy="/usr/bin:$PATH"
4336 for ac_dir in $ac_dummy; do
4337 test -z "$ac_dir" && ac_dir=.
4338 if test -f $ac_dir/file; then
4339 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4340 if test -n "$file_magic_test_file"; then
4341 case $deplibs_check_method in
4343 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4344 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4345 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4346 egrep "$file_magic_regex" > /dev/null; then
4351 *** Warning: the command libtool uses to detect shared libraries,
4352 *** $file_magic_cmd, produces output that libtool cannot recognize.
4353 *** The result is that libtool may fail to recognize shared libraries
4354 *** as such. This will affect the creation of libtool libraries that
4355 *** depend on shared libraries, but programs linked with such libtool
4356 *** libraries will work regardless of this problem. Nevertheless, you
4357 *** may want to report the problem to your system manager and/or to
4358 *** bug-libtool@gnu.org
4368 MAGIC_CMD="$ac_save_MAGIC_CMD"
4373 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4374 if test -n "$MAGIC_CMD"; then
4375 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4376 echo "${ECHO_T}$MAGIC_CMD" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4391 if test -n "$ac_tool_prefix"; then
4392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4394 echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4396 if test "${ac_cv_prog_RANLIB+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 if test -n "$RANLIB"; then
4400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 RANLIB=$ac_cv_prog_RANLIB
4419 if test -n "$RANLIB"; then
4420 echo "$as_me:$LINENO: result: $RANLIB" >&5
4421 echo "${ECHO_T}$RANLIB" >&6
4423 echo "$as_me:$LINENO: result: no" >&5
4424 echo "${ECHO_T}no" >&6
4428 if test -z "$ac_cv_prog_RANLIB"; then
4429 ac_ct_RANLIB=$RANLIB
4430 # Extract the first word of "ranlib", so it can be a program name with args.
4431 set dummy ranlib; ac_word=$2
4432 echo "$as_me:$LINENO: checking for $ac_word" >&5
4433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4434 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 if test -n "$ac_ct_RANLIB"; then
4438 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_ac_ct_RANLIB="ranlib"
4448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4457 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4458 if test -n "$ac_ct_RANLIB"; then
4459 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4460 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4466 RANLIB=$ac_ct_RANLIB
4468 RANLIB="$ac_cv_prog_RANLIB"
4471 if test -n "$ac_tool_prefix"; then
4472 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4473 set dummy ${ac_tool_prefix}strip; ac_word=$2
4474 echo "$as_me:$LINENO: checking for $ac_word" >&5
4475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4476 if test "${ac_cv_prog_STRIP+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 if test -n "$STRIP"; then
4480 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 STRIP=$ac_cv_prog_STRIP
4499 if test -n "$STRIP"; then
4500 echo "$as_me:$LINENO: result: $STRIP" >&5
4501 echo "${ECHO_T}$STRIP" >&6
4503 echo "$as_me:$LINENO: result: no" >&5
4504 echo "${ECHO_T}no" >&6
4508 if test -z "$ac_cv_prog_STRIP"; then
4510 # Extract the first word of "strip", so it can be a program name with args.
4511 set dummy strip; ac_word=$2
4512 echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4514 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$ac_ct_STRIP"; then
4518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_ac_ct_STRIP="strip"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4538 if test -n "$ac_ct_STRIP"; then
4539 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4540 echo "${ECHO_T}$ac_ct_STRIP" >&6
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4548 STRIP="$ac_cv_prog_STRIP"
4552 # Check for any special flags to pass to ltconfig.
4553 libtool_flags="--cache-file=$cache_file"
4554 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4555 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4556 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4557 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4558 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4561 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4562 if test "${enable_libtool_lock+set}" = set; then
4563 enableval="$enable_libtool_lock"
4566 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4567 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4570 # Check whether --with-pic or --without-pic was given.
4571 if test "${with_pic+set}" = set; then
4577 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4578 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4580 # Some flags need to be propagated to the compiler or linker for good
4584 # Find out which ABI we are using.
4585 echo '#line 4585 "configure"' > conftest.$ac_ext
4586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587 (eval $ac_compile) 2>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; then
4591 case `/usr/bin/file conftest.$ac_objext` in
4607 # Find out which ABI we are using.
4608 echo 'int i;' > conftest.$ac_ext
4609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4610 (eval $ac_compile) 2>&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; then
4614 case "`/usr/bin/file conftest.o`" in
4627 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4628 SAVE_CFLAGS="$CFLAGS"
4629 CFLAGS="$CFLAGS -belf"
4630 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4631 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4632 if test "${lt_cv_cc_needs_belf+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_cpp='$CPP $CPPFLAGS'
4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4643 cat >conftest.$ac_ext <<_ACEOF
4646 cat confdefs.h >>conftest.$ac_ext
4647 cat >>conftest.$ac_ext <<_ACEOF
4648 /* end confdefs.h. */
4658 rm -f conftest.$ac_objext conftest$ac_exeext
4659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4660 (eval $ac_link) 2>conftest.er1
4662 grep -v '^ *+' conftest.er1 >conftest.err
4664 cat conftest.err >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try='test -z "$ac_c_werror_flag"
4668 || test ! -s conftest.err'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try='test -s conftest$ac_exeext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4680 lt_cv_cc_needs_belf=yes
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 lt_cv_cc_needs_belf=no
4687 rm -f conftest.err conftest.$ac_objext \
4688 conftest$ac_exeext conftest.$ac_ext
4690 ac_cpp='$CPP $CPPFLAGS'
4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4696 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4697 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4698 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4699 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4700 CFLAGS="$SAVE_CFLAGS"
4708 # Save cache, so that ltconfig can load it
4709 cat >confcache <<\_ACEOF
4710 # This file is a shell script that caches the results of configure
4711 # tests run on this system so they can be shared between configure
4712 # scripts and configure runs, see configure's option --config-cache.
4713 # It is not useful on other systems. If it contains results you don't
4714 # want to keep, you may remove or edit it.
4716 # config.status only pays attention to the cache file if you give it
4717 # the --recheck option to rerun configure.
4719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4725 # The following way of writing the cache mishandles newlines in values,
4726 # but we know of no workaround that is simple, portable, and efficient.
4727 # So, don't put newlines in cache variables' values.
4728 # Ultrix sh set writes to stderr and can't be redirected directly,
4729 # and sets the high bit in the cache file unless we assign to the vars.
4732 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4734 # `set' does not quote correctly, so add quotes (double-quote
4735 # substitution turns \\\\ into \\, and sed turns \\ into \).
4738 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4741 # `set' quotes correctly as required by POSIX, so do not add quotes.
4743 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4750 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4752 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4754 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4755 if test -w $cache_file; then
4756 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4757 cat confcache >$cache_file
4759 echo "not updating unwritable cache $cache_file"
4764 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4765 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4766 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4767 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4768 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4769 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4770 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4771 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4772 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4773 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4774 echo "$as_me: error: libtool configure failed" >&2;}
4775 { (exit 1); exit 1; }; }
4777 # Reload cache, that may have been modified by ltconfig
4778 if test -r "$cache_file"; then
4779 # Some versions of bash will fail to source /dev/null (special
4780 # files actually), so we avoid doing that.
4781 if test -f "$cache_file"; then
4782 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4783 echo "$as_me: loading cache $cache_file" >&6;}
4785 [\\/]* | ?:[\\/]* ) . $cache_file;;
4786 *) . ./$cache_file;;
4790 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4791 echo "$as_me: creating cache $cache_file" >&6;}
4796 # This can be used to rebuild libtool when needed
4797 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4799 # Always use our own libtool.
4800 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4802 # Redirect the config.log output again, so that the ltconfig log is not
4803 # clobbered by the next message.
4804 exec 5>>./config.log
4813 if test -n "${machine_dir}"; then
4814 case ${machine_dir} in
4817 subdirs="$subdirs a29k"
4821 subdirs="$subdirs arm"
4825 subdirs="$subdirs cris"
4829 subdirs="$subdirs crx"
4833 subdirs="$subdirs d10v"
4837 subdirs="$subdirs d30v"
4841 subdirs="$subdirs fr30"
4845 subdirs="$subdirs frv"
4849 subdirs="$subdirs h8300"
4853 subdirs="$subdirs h8500"
4857 subdirs="$subdirs hppa"
4861 subdirs="$subdirs i386"
4865 subdirs="$subdirs i960"
4869 subdirs="$subdirs iq2000"
4873 subdirs="$subdirs m32c"
4877 subdirs="$subdirs m32r"
4881 subdirs="$subdirs m68hc11"
4885 subdirs="$subdirs m68k"
4889 subdirs="$subdirs m88k"
4893 subdirs="$subdirs mips"
4897 subdirs="$subdirs mn10200"
4901 subdirs="$subdirs mn10300"
4905 subdirs="$subdirs mt"
4909 subdirs="$subdirs necv70"
4913 subdirs="$subdirs powerpc"
4917 subdirs="$subdirs sh"
4921 subdirs="$subdirs sparc"
4925 subdirs="$subdirs tic4x"
4929 subdirs="$subdirs tic80"
4933 subdirs="$subdirs v850"
4937 subdirs="$subdirs w65"
4941 subdirs="$subdirs xscale"
4945 subdirs="$subdirs xstormy16"
4949 subdirs="$subdirs z8k"
4956 if test x${machine_dir} != x; then
4957 HAVE_MACHINE_DIR_TRUE=
4958 HAVE_MACHINE_DIR_FALSE='#'
4960 HAVE_MACHINE_DIR_TRUE='#'
4961 HAVE_MACHINE_DIR_FALSE=
4965 ac_config_files="$ac_config_files Makefile"
4967 cat >confcache <<\_ACEOF
4968 # This file is a shell script that caches the results of configure
4969 # tests run on this system so they can be shared between configure
4970 # scripts and configure runs, see configure's option --config-cache.
4971 # It is not useful on other systems. If it contains results you don't
4972 # want to keep, you may remove or edit it.
4974 # config.status only pays attention to the cache file if you give it
4975 # the --recheck option to rerun configure.
4977 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4983 # The following way of writing the cache mishandles newlines in values,
4984 # but we know of no workaround that is simple, portable, and efficient.
4985 # So, don't put newlines in cache variables' values.
4986 # Ultrix sh set writes to stderr and can't be redirected directly,
4987 # and sets the high bit in the cache file unless we assign to the vars.
4990 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4992 # `set' does not quote correctly, so add quotes (double-quote
4993 # substitution turns \\\\ into \\, and sed turns \\ into \).
4996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4999 # `set' quotes correctly as required by POSIX, so do not add quotes.
5001 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5010 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5012 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5013 if test -w $cache_file; then
5014 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5015 cat confcache >$cache_file
5017 echo "not updating unwritable cache $cache_file"
5022 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5023 # Let make expand exec_prefix.
5024 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5026 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5027 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5028 # trailing colons and then remove the whole line if VPATH becomes empty
5029 # (actually we leave an empty line to preserve line numbers).
5030 if test "x$srcdir" = x.; then
5031 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5032 s/:*\$(srcdir):*/:/;
5033 s/:*\${srcdir}:*/:/;
5035 s/^\([^=]*=[ ]*\):*/\1/;
5041 # Transform confdefs.h into DEFS.
5042 # Protect against shell expansion while executing Makefile rules.
5043 # Protect against Makefile macro expansion.
5045 # If the first sed substitution is executed (which looks for macros that
5046 # take arguments), then we branch to the quote section. Otherwise,
5047 # look for a macro that doesn't take arguments.
5048 cat >confdef2opt.sed <<\_ACEOF
5051 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5053 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5057 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5063 # We use echo to avoid assuming a particular line-breaking character.
5064 # The extra dot is to prevent the shell from consuming trailing
5065 # line-breaks from the sub-command output. A line-break within
5066 # single-quotes doesn't work because, if this script is created in a
5067 # platform that uses two characters for line-breaks (e.g., DOS), tr
5069 ac_LF_and_DOT=`echo; echo .`
5070 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5071 rm -f confdef2opt.sed
5076 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5077 # 1. Remove the extension, and $U if already installed.
5078 ac_i=`echo "$ac_i" |
5079 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5081 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5082 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5086 LTLIBOBJS=$ac_ltlibobjs
5089 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5090 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5091 Usually this means the macro was only invoked conditionally." >&5
5092 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5093 Usually this means the macro was only invoked conditionally." >&2;}
5094 { (exit 1); exit 1; }; }
5096 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5097 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5098 Usually this means the macro was only invoked conditionally." >&5
5099 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5100 Usually this means the macro was only invoked conditionally." >&2;}
5101 { (exit 1); exit 1; }; }
5103 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5104 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5105 Usually this means the macro was only invoked conditionally." >&5
5106 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5107 Usually this means the macro was only invoked conditionally." >&2;}
5108 { (exit 1); exit 1; }; }
5110 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5111 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5112 Usually this means the macro was only invoked conditionally." >&5
5113 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5114 Usually this means the macro was only invoked conditionally." >&2;}
5115 { (exit 1); exit 1; }; }
5117 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5118 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5119 Usually this means the macro was only invoked conditionally." >&5
5120 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5121 Usually this means the macro was only invoked conditionally." >&2;}
5122 { (exit 1); exit 1; }; }
5124 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5125 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5126 Usually this means the macro was only invoked conditionally." >&5
5127 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5128 Usually this means the macro was only invoked conditionally." >&2;}
5129 { (exit 1); exit 1; }; }
5131 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5132 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5133 Usually this means the macro was only invoked conditionally." >&5
5134 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5135 Usually this means the macro was only invoked conditionally." >&2;}
5136 { (exit 1); exit 1; }; }
5138 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5139 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5140 Usually this means the macro was only invoked conditionally." >&5
5141 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5142 Usually this means the macro was only invoked conditionally." >&2;}
5143 { (exit 1); exit 1; }; }
5145 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5146 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5147 Usually this means the macro was only invoked conditionally." >&5
5148 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5149 Usually this means the macro was only invoked conditionally." >&2;}
5150 { (exit 1); exit 1; }; }
5152 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5153 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5154 Usually this means the macro was only invoked conditionally." >&5
5155 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5156 Usually this means the macro was only invoked conditionally." >&2;}
5157 { (exit 1); exit 1; }; }
5159 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5160 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5161 Usually this means the macro was only invoked conditionally." >&5
5162 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5163 Usually this means the macro was only invoked conditionally." >&2;}
5164 { (exit 1); exit 1; }; }
5166 if test -z "${HAVE_MACHINE_DIR_TRUE}" && test -z "${HAVE_MACHINE_DIR_FALSE}"; then
5167 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
5168 Usually this means the macro was only invoked conditionally." >&5
5169 echo "$as_me: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
5170 Usually this means the macro was only invoked conditionally." >&2;}
5171 { (exit 1); exit 1; }; }
5174 : ${CONFIG_STATUS=./config.status}
5175 ac_clean_files_save=$ac_clean_files
5176 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5177 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5178 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5179 cat >$CONFIG_STATUS <<_ACEOF
5181 # Generated by $as_me.
5182 # Run this file to recreate the current configuration.
5183 # Compiler output produced by configure, useful for debugging
5184 # configure, is in config.log if it exists.
5189 SHELL=\${CONFIG_SHELL-$SHELL}
5192 cat >>$CONFIG_STATUS <<\_ACEOF
5193 ## --------------------- ##
5194 ## M4sh Initialization. ##
5195 ## --------------------- ##
5197 # Be Bourne compatible
5198 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5201 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5202 # is contrary to our usage. Disable this feature.
5203 alias -g '${1+"$@"}'='"$@"'
5204 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5207 DUALCASE=1; export DUALCASE # for MKS sh
5209 # Support unset when possible.
5210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5217 # Work around bugs in pre-3.0 UWIN ksh.
5218 $as_unset ENV MAIL MAILPATH
5225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5227 LC_TELEPHONE LC_TIME
5229 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5230 eval $as_var=C; export $as_var
5236 # Required to use basename.
5237 if expr a : '\(a\)' >/dev/null 2>&1; then
5243 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5244 as_basename=basename
5250 # Name of the executable.
5251 as_me=`$as_basename "$0" ||
5252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5253 X"$0" : 'X\(//\)$' \| \
5254 X"$0" : 'X\(/\)$' \| \
5255 . : '\(.\)' 2>/dev/null ||
5257 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5258 /^X\/\(\/\/\)$/{ s//\1/; q; }
5259 /^X\/\(\/\).*/{ s//\1/; q; }
5263 # PATH needs CR, and LINENO needs CR and PATH.
5264 # Avoid depending upon Character Ranges.
5265 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5266 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5267 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5268 as_cr_digits='0123456789'
5269 as_cr_alnum=$as_cr_Letters$as_cr_digits
5271 # The user is always right.
5272 if test "${PATH_SEPARATOR+set}" != set; then
5273 echo "#! /bin/sh" >conf$$.sh
5274 echo "exit 0" >>conf$$.sh
5276 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5287 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5288 test "x$as_lineno_1" != "x$as_lineno_2" &&
5289 test "x$as_lineno_3" = "x$as_lineno_2" || {
5290 # Find who we are. Look in the path if we contain no path at all
5293 *[\\/]* ) as_myself=$0 ;;
5294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir=.
5299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5304 # We did not find ourselves, most probably we were run as `sh COMMAND'
5305 # in which case we are not to be found in the path.
5306 if test "x$as_myself" = x; then
5309 if test ! -f "$as_myself"; then
5310 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5311 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5312 { (exit 1); exit 1; }; }
5314 case $CONFIG_SHELL in
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5320 test -z "$as_dir" && as_dir=.
5321 for as_base in sh bash ksh sh5; do
5324 if ("$as_dir/$as_base" -c '
5327 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5328 test "x$as_lineno_1" != "x$as_lineno_2" &&
5329 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5330 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5331 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5332 CONFIG_SHELL=$as_dir/$as_base
5334 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5342 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5343 # uniformly replaced by the line number. The first 'sed' inserts a
5344 # line-number line before each line; the second 'sed' does the real
5345 # work. The second script uses 'N' to pair each line-number line
5346 # with the numbered line, and appends trailing '-' during
5347 # substitution so that $LINENO is not a special case at line end.
5348 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5349 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5350 sed '=' <$as_myself |
5355 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5358 s,^['$as_cr_digits']*\n,,
5360 chmod +x $as_me.lineno ||
5361 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5362 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5363 { (exit 1); exit 1; }; }
5365 # Don't try to exec as it changes $[0], causing all sort of problems
5366 # (the dirname of $[0] is not the place where we might find the
5367 # original and so on. Autoconf is especially sensible to this).
5369 # Exit status is that of the last command.
5374 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5375 *c*,-n*) ECHO_N= ECHO_C='
5377 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5378 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5381 if expr a : '\(a\)' >/dev/null 2>&1; then
5387 rm -f conf$$ conf$$.exe conf$$.file
5389 if ln -s conf$$.file conf$$ 2>/dev/null; then
5390 # We could just check for DJGPP; but this test a) works b) is more generic
5391 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5392 if test -f conf$$.exe; then
5393 # Don't use ln at all; we don't have any links
5398 elif ln conf$$.file conf$$ 2>/dev/null; then
5403 rm -f conf$$ conf$$.exe conf$$.file
5405 if mkdir -p . 2>/dev/null; then
5408 test -d ./-p && rmdir ./-p
5412 as_executable_p="test -f"
5414 # Sed expression to map a string onto a valid CPP name.
5415 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5417 # Sed expression to map a string onto a valid variable name.
5418 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5422 # We need space, tab and new line, in precisely that order.
5432 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5433 # report actual input values of CONFIG_FILES etc. instead of their
5434 # values after options handling. Logging --version etc. is OK.
5438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5439 ## Running $as_me. ##
5444 This file was extended by newlib $as_me 1.14.0, which was
5445 generated by GNU Autoconf 2.59. Invocation command line was
5447 CONFIG_FILES = $CONFIG_FILES
5448 CONFIG_HEADERS = $CONFIG_HEADERS
5449 CONFIG_LINKS = $CONFIG_LINKS
5450 CONFIG_COMMANDS = $CONFIG_COMMANDS
5454 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5458 # Files that config.status was made for.
5459 if test -n "$ac_config_files"; then
5460 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5463 if test -n "$ac_config_headers"; then
5464 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5467 if test -n "$ac_config_links"; then
5468 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5471 if test -n "$ac_config_commands"; then
5472 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5475 cat >>$CONFIG_STATUS <<\_ACEOF
5478 \`$as_me' instantiates files from templates according to the
5479 current configuration.
5481 Usage: $0 [OPTIONS] [FILE]...
5483 -h, --help print this help, then exit
5484 -V, --version print version number, then exit
5485 -q, --quiet do not print progress messages
5486 -d, --debug don't remove temporary files
5487 --recheck update $as_me by reconfiguring in the same conditions
5488 --file=FILE[:TEMPLATE]
5489 instantiate the configuration file FILE
5491 Configuration files:
5494 Configuration commands:
5497 Report bugs to <bug-autoconf@gnu.org>."
5500 cat >>$CONFIG_STATUS <<_ACEOF
5502 newlib config.status 1.14.0
5503 configured by $0, generated by GNU Autoconf 2.59,
5504 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5506 Copyright (C) 2003 Free Software Foundation, Inc.
5507 This config.status script is free software; the Free Software Foundation
5508 gives unlimited permission to copy, distribute and modify it."
5513 cat >>$CONFIG_STATUS <<\_ACEOF
5514 # If no file are specified by the user, then we need to provide default
5515 # value. By we need to know if files were specified by the user.
5521 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5522 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5530 *) # This is not an option, so the user has probably given explicit
5533 ac_need_defaults=false;;
5537 # Handling of the options.
5539 cat >>$CONFIG_STATUS <<\_ACEOF
5540 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5542 --version | --vers* | -V )
5543 echo "$ac_cs_version"; exit 0 ;;
5545 # Conflict between --help and --header
5546 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5547 Try \`$0 --help' for more information." >&5
5548 echo "$as_me: error: ambiguous option: $1
5549 Try \`$0 --help' for more information." >&2;}
5550 { (exit 1); exit 1; }; };;
5551 --help | --hel | -h )
5552 echo "$ac_cs_usage"; exit 0 ;;
5553 --debug | --d* | -d )
5555 --file | --fil | --fi | --f )
5557 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5558 ac_need_defaults=false;;
5559 --header | --heade | --head | --hea )
5561 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5562 ac_need_defaults=false;;
5563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5564 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5568 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5569 Try \`$0 --help' for more information." >&5
5570 echo "$as_me: error: unrecognized option: $1
5571 Try \`$0 --help' for more information." >&2;}
5572 { (exit 1); exit 1; }; } ;;
5574 *) ac_config_targets="$ac_config_targets $1" ;;
5580 ac_configure_extra_args=
5582 if $ac_cs_silent; then
5584 ac_configure_extra_args="$ac_configure_extra_args --silent"
5588 cat >>$CONFIG_STATUS <<_ACEOF
5589 if \$ac_cs_recheck; then
5590 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5591 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5596 cat >>$CONFIG_STATUS <<_ACEOF
5598 # INIT-COMMANDS section.
5601 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5607 cat >>$CONFIG_STATUS <<\_ACEOF
5608 for ac_config_target in $ac_config_targets
5610 case "$ac_config_target" in
5611 # Handling of arguments.
5612 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5613 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5614 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5615 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5616 { (exit 1); exit 1; }; };;
5620 # If the user did not use the arguments to specify the items to instantiate,
5621 # then the envvar interface is used. Set only those that are not.
5622 # We use the long form for the default assignment because of an extremely
5623 # bizarre bug on SunOS 4.1.3.
5624 if $ac_need_defaults; then
5625 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5629 # Have a temporary directory for convenience. Make it in the build tree
5630 # simply because there is no reason to put it here, and in addition,
5631 # creating and moving files from /tmp can sometimes cause problems.
5632 # Create a temporary directory, and hook for its removal unless debugging.
5635 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5636 trap '{ (exit 1); exit 1; }' 1 2 13 15
5639 # Create a (secure) tmp directory for tmp files.
5642 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5643 test -n "$tmp" && test -d "$tmp"
5646 tmp=./confstat$$-$RANDOM
5647 (umask 077 && mkdir $tmp)
5650 echo "$me: cannot create a temporary directory in ." >&2
5651 { (exit 1); exit 1; }
5656 cat >>$CONFIG_STATUS <<_ACEOF
5659 # CONFIG_FILES section.
5662 # No need to generate the scripts if there are no CONFIG_FILES.
5663 # This happens for instance when ./config.status config.h
5664 if test -n "\$CONFIG_FILES"; then
5665 # Protect against being on the right side of a sed subst in config.status.
5666 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5667 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5668 s,@SHELL@,$SHELL,;t t
5669 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5670 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5671 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5672 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5673 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5674 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5675 s,@exec_prefix@,$exec_prefix,;t t
5676 s,@prefix@,$prefix,;t t
5677 s,@program_transform_name@,$program_transform_name,;t t
5678 s,@bindir@,$bindir,;t t
5679 s,@sbindir@,$sbindir,;t t
5680 s,@libexecdir@,$libexecdir,;t t
5681 s,@datadir@,$datadir,;t t
5682 s,@sysconfdir@,$sysconfdir,;t t
5683 s,@sharedstatedir@,$sharedstatedir,;t t
5684 s,@localstatedir@,$localstatedir,;t t
5685 s,@libdir@,$libdir,;t t
5686 s,@includedir@,$includedir,;t t
5687 s,@oldincludedir@,$oldincludedir,;t t
5688 s,@infodir@,$infodir,;t t
5689 s,@mandir@,$mandir,;t t
5690 s,@build_alias@,$build_alias,;t t
5691 s,@host_alias@,$host_alias,;t t
5692 s,@target_alias@,$target_alias,;t t
5694 s,@ECHO_C@,$ECHO_C,;t t
5695 s,@ECHO_N@,$ECHO_N,;t t
5696 s,@ECHO_T@,$ECHO_T,;t t
5698 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5699 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5700 s,@newlib_basedir@,$newlib_basedir,;t t
5701 s,@build@,$build,;t t
5702 s,@build_cpu@,$build_cpu,;t t
5703 s,@build_vendor@,$build_vendor,;t t
5704 s,@build_os@,$build_os,;t t
5706 s,@host_cpu@,$host_cpu,;t t
5707 s,@host_vendor@,$host_vendor,;t t
5708 s,@host_os@,$host_os,;t t
5709 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5710 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5711 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5712 s,@CYGPATH_W@,$CYGPATH_W,;t t
5713 s,@PACKAGE@,$PACKAGE,;t t
5714 s,@VERSION@,$VERSION,;t t
5715 s,@ACLOCAL@,$ACLOCAL,;t t
5716 s,@AUTOCONF@,$AUTOCONF,;t t
5717 s,@AUTOMAKE@,$AUTOMAKE,;t t
5718 s,@AUTOHEADER@,$AUTOHEADER,;t t
5719 s,@MAKEINFO@,$MAKEINFO,;t t
5720 s,@install_sh@,$install_sh,;t t
5721 s,@STRIP@,$STRIP,;t t
5722 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5723 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5724 s,@mkdir_p@,$mkdir_p,;t t
5726 s,@SET_MAKE@,$SET_MAKE,;t t
5727 s,@am__leading_dot@,$am__leading_dot,;t t
5728 s,@AMTAR@,$AMTAR,;t t
5729 s,@am__tar@,$am__tar,;t t
5730 s,@am__untar@,$am__untar,;t t
5732 s,@DEPDIR@,$DEPDIR,;t t
5733 s,@am__include@,$am__include,;t t
5734 s,@am__quote@,$am__quote,;t t
5735 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5736 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5737 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5738 s,@CCDEPMODE@,$CCDEPMODE,;t t
5739 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5740 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5742 s,@ac_ct_AS@,$ac_ct_AS,;t t
5744 s,@ac_ct_AR@,$ac_ct_AR,;t t
5745 s,@RANLIB@,$RANLIB,;t t
5746 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5747 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5748 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5749 s,@MAINT@,$MAINT,;t t
5751 s,@CCASFLAGS@,$CCASFLAGS,;t t
5752 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5753 s,@LDFLAGS@,$LDFLAGS,;t t
5754 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5755 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5756 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5757 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5758 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5759 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5760 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5761 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5762 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5763 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5764 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5765 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5766 s,@OBJEXT@,$OBJEXT,;t t
5770 s,@libm_machine_dir@,$libm_machine_dir,;t t
5771 s,@machine_dir@,$machine_dir,;t t
5772 s,@sys_dir@,$sys_dir,;t t
5773 s,@CFLAGS@,$CFLAGS,;t t
5774 s,@CPPFLAGS@,$CPPFLAGS,;t t
5775 s,@ac_ct_CC@,$ac_ct_CC,;t t
5776 s,@EXEEXT@,$EXEEXT,;t t
5778 s,@LIBTOOL@,$LIBTOOL,;t t
5779 s,@subdirs@,$subdirs,;t t
5780 s,@HAVE_MACHINE_DIR_TRUE@,$HAVE_MACHINE_DIR_TRUE,;t t
5781 s,@HAVE_MACHINE_DIR_FALSE@,$HAVE_MACHINE_DIR_FALSE,;t t
5782 s,@LIBOBJS@,$LIBOBJS,;t t
5783 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5788 cat >>$CONFIG_STATUS <<\_ACEOF
5789 # Split the substitutions into bite-sized pieces for seds with
5790 # small command number limits, like on Digital OSF/1 and HP-UX.
5792 ac_sed_frag=1 # Number of current file.
5793 ac_beg=1 # First line for current file.
5794 ac_end=$ac_max_sed_lines # Line after last line for current file.
5797 while $ac_more_lines; do
5798 if test $ac_beg -gt 1; then
5799 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5801 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5803 if test ! -s $tmp/subs.frag; then
5806 # The purpose of the label and of the branching condition is to
5807 # speed up the sed processing (if there are no `@' at all, there
5808 # is no need to browse any of the substitutions).
5809 # These are the two extra sed commands mentioned above.
5811 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5812 if test -z "$ac_sed_cmds"; then
5813 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5815 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5817 ac_sed_frag=`expr $ac_sed_frag + 1`
5819 ac_end=`expr $ac_end + $ac_max_sed_lines`
5822 if test -z "$ac_sed_cmds"; then
5825 fi # test -n "$CONFIG_FILES"
5828 cat >>$CONFIG_STATUS <<\_ACEOF
5829 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5830 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5832 - | *:- | *:-:* ) # input from stdin
5834 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5835 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5836 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5837 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5838 * ) ac_file_in=$ac_file.in ;;
5841 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5842 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5844 X"$ac_file" : 'X\(//\)[^/]' \| \
5845 X"$ac_file" : 'X\(//\)$' \| \
5846 X"$ac_file" : 'X\(/\)' \| \
5847 . : '\(.\)' 2>/dev/null ||
5849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5851 /^X\(\/\/\)$/{ s//\1/; q; }
5852 /^X\(\/\).*/{ s//\1/; q; }
5854 { if $as_mkdir_p; then
5859 while test ! -d "$as_dir"; do
5860 as_dirs="$as_dir $as_dirs"
5861 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5862 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5863 X"$as_dir" : 'X\(//\)[^/]' \| \
5864 X"$as_dir" : 'X\(//\)$' \| \
5865 X"$as_dir" : 'X\(/\)' \| \
5866 . : '\(.\)' 2>/dev/null ||
5868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5870 /^X\(\/\/\)$/{ s//\1/; q; }
5871 /^X\(\/\).*/{ s//\1/; q; }
5874 test ! -n "$as_dirs" || mkdir $as_dirs
5875 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5876 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5877 { (exit 1); exit 1; }; }; }
5881 if test "$ac_dir" != .; then
5882 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5883 # A "../" for each directory in $ac_dir_suffix.
5884 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5886 ac_dir_suffix= ac_top_builddir=
5890 .) # No --srcdir option. We are building in place.
5892 if test -z "$ac_top_builddir"; then
5895 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5897 [\\/]* | ?:[\\/]* ) # Absolute path.
5898 ac_srcdir=$srcdir$ac_dir_suffix;
5899 ac_top_srcdir=$srcdir ;;
5901 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5902 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5905 # Do not use `cd foo && pwd` to compute absolute paths, because
5906 # the directories may not exist.
5908 .) ac_abs_builddir="$ac_dir";;
5911 .) ac_abs_builddir=`pwd`;;
5912 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5913 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5916 case $ac_abs_builddir in
5917 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5919 case ${ac_top_builddir}. in
5920 .) ac_abs_top_builddir=$ac_abs_builddir;;
5921 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5922 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5925 case $ac_abs_builddir in
5926 .) ac_abs_srcdir=$ac_srcdir;;
5929 .) ac_abs_srcdir=$ac_abs_builddir;;
5930 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5931 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5934 case $ac_abs_builddir in
5935 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5937 case $ac_top_srcdir in
5938 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5939 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5940 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5946 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5947 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5950 if test x"$ac_file" != x-; then
5951 { echo "$as_me:$LINENO: creating $ac_file" >&5
5952 echo "$as_me: creating $ac_file" >&6;}
5955 # Let's still pretend it is `configure' which instantiates (i.e., don't
5956 # use $as_me), people would be surprised to read:
5957 # /* config.h. Generated by config.status. */
5958 if test x"$ac_file" = x-; then
5961 configure_input="$ac_file. "
5963 configure_input=$configure_input"Generated from `echo $ac_file_in |
5964 sed 's,.*/,,'` by configure."
5966 # First look for the input files in the build tree, otherwise in the
5968 ac_file_inputs=`IFS=:
5969 for f in $ac_file_in; do
5971 -) echo $tmp/stdin ;;
5973 # Absolute (can't be DOS-style, as IFS=:)
5974 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5975 echo "$as_me: error: cannot find input file: $f" >&2;}
5976 { (exit 1); exit 1; }; }
5979 if test -f "$f"; then
5982 elif test -f "$srcdir/$f"; then
5987 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5988 echo "$as_me: error: cannot find input file: $f" >&2;}
5989 { (exit 1); exit 1; }; }
5992 done` || { (exit 1); exit 1; }
5994 cat >>$CONFIG_STATUS <<_ACEOF
5998 cat >>$CONFIG_STATUS <<\_ACEOF
6000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6001 s,@configure_input@,$configure_input,;t t
6002 s,@srcdir@,$ac_srcdir,;t t
6003 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6004 s,@top_srcdir@,$ac_top_srcdir,;t t
6005 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6006 s,@builddir@,$ac_builddir,;t t
6007 s,@abs_builddir@,$ac_abs_builddir,;t t
6008 s,@top_builddir@,$ac_top_builddir,;t t
6009 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6010 s,@INSTALL@,$ac_INSTALL,;t t
6011 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6013 if test x"$ac_file" != x-; then
6014 mv $tmp/out $ac_file
6022 cat >>$CONFIG_STATUS <<\_ACEOF
6025 # CONFIG_COMMANDS section.
6027 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6028 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6029 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6030 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6031 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6032 X"$ac_dest" : 'X\(//\)[^/]' \| \
6033 X"$ac_dest" : 'X\(//\)$' \| \
6034 X"$ac_dest" : 'X\(/\)' \| \
6035 . : '\(.\)' 2>/dev/null ||
6037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6039 /^X\(\/\/\)$/{ s//\1/; q; }
6040 /^X\(\/\).*/{ s//\1/; q; }
6042 { if $as_mkdir_p; then
6047 while test ! -d "$as_dir"; do
6048 as_dirs="$as_dir $as_dirs"
6049 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6051 X"$as_dir" : 'X\(//\)[^/]' \| \
6052 X"$as_dir" : 'X\(//\)$' \| \
6053 X"$as_dir" : 'X\(/\)' \| \
6054 . : '\(.\)' 2>/dev/null ||
6056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6058 /^X\(\/\/\)$/{ s//\1/; q; }
6059 /^X\(\/\).*/{ s//\1/; q; }
6062 test ! -n "$as_dirs" || mkdir $as_dirs
6063 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6064 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6065 { (exit 1); exit 1; }; }; }
6069 if test "$ac_dir" != .; then
6070 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6071 # A "../" for each directory in $ac_dir_suffix.
6072 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6074 ac_dir_suffix= ac_top_builddir=
6078 .) # No --srcdir option. We are building in place.
6080 if test -z "$ac_top_builddir"; then
6083 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6085 [\\/]* | ?:[\\/]* ) # Absolute path.
6086 ac_srcdir=$srcdir$ac_dir_suffix;
6087 ac_top_srcdir=$srcdir ;;
6089 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6090 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6093 # Do not use `cd foo && pwd` to compute absolute paths, because
6094 # the directories may not exist.
6096 .) ac_abs_builddir="$ac_dir";;
6099 .) ac_abs_builddir=`pwd`;;
6100 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6101 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6104 case $ac_abs_builddir in
6105 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6107 case ${ac_top_builddir}. in
6108 .) ac_abs_top_builddir=$ac_abs_builddir;;
6109 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6110 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6113 case $ac_abs_builddir in
6114 .) ac_abs_srcdir=$ac_srcdir;;
6117 .) ac_abs_srcdir=$ac_abs_builddir;;
6118 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6119 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6122 case $ac_abs_builddir in
6123 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6125 case $ac_top_srcdir in
6126 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6127 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6128 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6133 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6134 echo "$as_me: executing $ac_dest commands" >&6;}
6136 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6137 # Strip MF so we end up with the name of the file.
6138 mf=`echo "$mf" | sed -e 's/:.*$//'`
6139 # Check whether this is an Automake generated Makefile or not.
6140 # We used to match only the files named `Makefile.in', but
6141 # some people rename them; so instead we look at the file content.
6142 # Grep'ing the first line is not enough: some people post-process
6143 # each Makefile.in and add a new line on top of each file to say so.
6144 # So let's grep whole file.
6145 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6146 dirpart=`(dirname "$mf") 2>/dev/null ||
6147 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6148 X"$mf" : 'X\(//\)[^/]' \| \
6149 X"$mf" : 'X\(//\)$' \| \
6150 X"$mf" : 'X\(/\)' \| \
6151 . : '\(.\)' 2>/dev/null ||
6153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6155 /^X\(\/\/\)$/{ s//\1/; q; }
6156 /^X\(\/\).*/{ s//\1/; q; }
6161 # Extract the definition of DEPDIR, am__include, and am__quote
6162 # from the Makefile without running `make'.
6163 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6164 test -z "$DEPDIR" && continue
6165 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6166 test -z "am__include" && continue
6167 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6168 # When using ansi2knr, U may be empty or an underscore; expand it
6169 U=`sed -n 's/^U = //p' < "$mf"`
6170 # Find all dependency output files, they are included files with
6171 # $(DEPDIR) in their names. We invoke sed twice because it is the
6172 # simplest approach to changing $(DEPDIR) to its actual value in the
6174 for file in `sed -n "
6175 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6176 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6177 # Make sure the directory exists.
6178 test -f "$dirpart/$file" && continue
6179 fdir=`(dirname "$file") 2>/dev/null ||
6180 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6181 X"$file" : 'X\(//\)[^/]' \| \
6182 X"$file" : 'X\(//\)$' \| \
6183 X"$file" : 'X\(/\)' \| \
6184 . : '\(.\)' 2>/dev/null ||
6186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6188 /^X\(\/\/\)$/{ s//\1/; q; }
6189 /^X\(\/\).*/{ s//\1/; q; }
6191 { if $as_mkdir_p; then
6192 mkdir -p $dirpart/$fdir
6194 as_dir=$dirpart/$fdir
6196 while test ! -d "$as_dir"; do
6197 as_dirs="$as_dir $as_dirs"
6198 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6199 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6200 X"$as_dir" : 'X\(//\)[^/]' \| \
6201 X"$as_dir" : 'X\(//\)$' \| \
6202 X"$as_dir" : 'X\(/\)' \| \
6203 . : '\(.\)' 2>/dev/null ||
6205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6206 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6207 /^X\(\/\/\)$/{ s//\1/; q; }
6208 /^X\(\/\).*/{ s//\1/; q; }
6211 test ! -n "$as_dirs" || mkdir $as_dirs
6212 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6213 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6214 { (exit 1); exit 1; }; }; }
6216 # echo "creating $dirpart/$file"
6217 echo '# dummy' > "$dirpart/$file"
6225 cat >>$CONFIG_STATUS <<\_ACEOF
6227 { (exit 0); exit 0; }
6229 chmod +x $CONFIG_STATUS
6230 ac_clean_files=$ac_clean_files_save
6233 # configure is writing to config.log, and then calls config.status.
6234 # config.status does its own redirection, appending to config.log.
6235 # Unfortunately, on DOS this fails, as config.log is still kept open
6236 # by configure, so config.status won't be able to write to it; its
6237 # output is simply discarded. So we exec the FD to /dev/null,
6238 # effectively closing config.log, so it can be properly (re)opened and
6239 # appended to by config.status. When coming back to configure, we
6240 # need to make the FD available again.
6241 if test "$no_create" != yes; then
6243 ac_config_status_args=
6244 test "$silent" = yes &&
6245 ac_config_status_args="$ac_config_status_args --quiet"
6247 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6249 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6250 # would make configure fail if this is the last instruction.
6251 $ac_cs_success || { (exit 1); exit 1; }
6255 # CONFIG_SUBDIRS section.
6257 if test "$no_recursion" != yes; then
6259 # Remove --cache-file and --srcdir arguments so they do not pile up.
6260 ac_sub_configure_args=
6262 for ac_arg in $ac_configure_args; do
6263 if test -n "$ac_prev"; then
6268 -cache-file | --cache-file | --cache-fil | --cache-fi \
6269 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6270 ac_prev=cache_file ;;
6271 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6272 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6275 --config-cache | -C)
6277 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6279 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6281 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6283 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6285 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6289 # Always prepend --prefix to ensure using the same prefix
6290 # in subdir configurations.
6291 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6294 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6296 # Do not complain, so a configure script can configure whichever
6297 # parts of a large source tree are present.
6298 test -d $srcdir/$ac_dir || continue
6300 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6301 echo "$as_me: configuring in $ac_dir" >&6;}
6302 { if $as_mkdir_p; then
6307 while test ! -d "$as_dir"; do
6308 as_dirs="$as_dir $as_dirs"
6309 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6311 X"$as_dir" : 'X\(//\)[^/]' \| \
6312 X"$as_dir" : 'X\(//\)$' \| \
6313 X"$as_dir" : 'X\(/\)' \| \
6314 . : '\(.\)' 2>/dev/null ||
6316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6318 /^X\(\/\/\)$/{ s//\1/; q; }
6319 /^X\(\/\).*/{ s//\1/; q; }
6322 test ! -n "$as_dirs" || mkdir $as_dirs
6323 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6324 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6325 { (exit 1); exit 1; }; }; }
6329 if test "$ac_dir" != .; then
6330 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6331 # A "../" for each directory in $ac_dir_suffix.
6332 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6334 ac_dir_suffix= ac_top_builddir=
6338 .) # No --srcdir option. We are building in place.
6340 if test -z "$ac_top_builddir"; then
6343 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6345 [\\/]* | ?:[\\/]* ) # Absolute path.
6346 ac_srcdir=$srcdir$ac_dir_suffix;
6347 ac_top_srcdir=$srcdir ;;
6349 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6350 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6353 # Do not use `cd foo && pwd` to compute absolute paths, because
6354 # the directories may not exist.
6356 .) ac_abs_builddir="$ac_dir";;
6359 .) ac_abs_builddir=`pwd`;;
6360 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6361 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6364 case $ac_abs_builddir in
6365 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6367 case ${ac_top_builddir}. in
6368 .) ac_abs_top_builddir=$ac_abs_builddir;;
6369 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6370 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6373 case $ac_abs_builddir in
6374 .) ac_abs_srcdir=$ac_srcdir;;
6377 .) ac_abs_srcdir=$ac_abs_builddir;;
6378 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6379 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6382 case $ac_abs_builddir in
6383 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6385 case $ac_top_srcdir in
6386 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6387 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6388 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6395 # Check for guested configure; otherwise get Cygnus style configure.
6396 if test -f $ac_srcdir/configure.gnu; then
6397 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6398 elif test -f $ac_srcdir/configure; then
6399 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6400 elif test -f $ac_srcdir/configure.in; then
6401 ac_sub_configure=$ac_configure
6403 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6404 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6408 # The recursion is here.
6409 if test -n "$ac_sub_configure"; then
6410 # Make the cache file name correct relative to the subdirectory.
6412 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6414 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6417 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6418 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6419 # The eval makes quoting arguments work.
6420 eval $ac_sub_configure $ac_sub_configure_args \
6421 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6422 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6423 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6424 { (exit 1); exit 1; }; }