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="linux.c"
275 ac_subdirs_all="$ac_subdirs_all machine"
276 ac_subdirs_all="$ac_subdirs_all linuxthreads"
277 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT LN_S LIBTOOL LINUX_MACH_LIB subdirs EXTRA_SUBDIRS EXTRA_SUBLIBS LIBOBJS LTLIBOBJS'
280 # Initialize some variables set by options.
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
292 program_transform_name=s,x,x,
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
352 cache_file=config.cache ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 datadir=$ac_optarg ;;
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
380 eval "enable_$ac_feature='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
395 -help | --help | --hel | --he | -h)
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
446 # Obsolete; use --without-fp.
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510 sbindir=$ac_optarg ;;
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521 sharedstatedir=$ac_optarg ;;
523 -site | --site | --sit)
525 -site=* | --site=* | --sit=*)
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
548 -version | --version | --versio | --versi | --vers | -V)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 eval "with_$ac_package='$ac_optarg'" ;;
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
574 # Obsolete; use --with-x.
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
626 eval ac_val=$`echo $ac_var`
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
638 eval ac_val=$`echo $ac_var`
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
687 if test ! -r $srcdir/$ac_unique_file; then
691 ac_srcdir_defaulted=no
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_CCAS_set=${CCAS+set}
719 ac_env_CCAS_value=$CCAS
720 ac_cv_env_CCAS_set=${CCAS+set}
721 ac_cv_env_CCAS_value=$CCAS
722 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
723 ac_env_CCASFLAGS_value=$CCASFLAGS
724 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
725 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
726 ac_env_CC_set=${CC+set}
728 ac_cv_env_CC_set=${CC+set}
729 ac_cv_env_CC_value=$CC
730 ac_env_CFLAGS_set=${CFLAGS+set}
731 ac_env_CFLAGS_value=$CFLAGS
732 ac_cv_env_CFLAGS_set=${CFLAGS+set}
733 ac_cv_env_CFLAGS_value=$CFLAGS
734 ac_env_LDFLAGS_set=${LDFLAGS+set}
735 ac_env_LDFLAGS_value=$LDFLAGS
736 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
737 ac_cv_env_LDFLAGS_value=$LDFLAGS
738 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
739 ac_env_CPPFLAGS_value=$CPPFLAGS
740 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
741 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
744 # Report the --help message.
746 if test "$ac_init_help" = "long"; then
747 # Omit some internal or obsolete options to make the list less imposing.
748 # This message is too long to be a string in the A/UX 3.1 sh.
750 \`configure' configures newlib 1.14.0 to adapt to many kinds of systems.
752 Usage: $0 [OPTION]... [VAR=VALUE]...
754 To assign environment variables (e.g., CC, CFLAGS...), specify them as
755 VAR=VALUE. See below for descriptions of some of the useful variables.
757 Defaults for the options are specified in brackets.
760 -h, --help display this help and exit
761 --help=short display options specific to this package
762 --help=recursive display the short help of all the included packages
763 -V, --version display version information and exit
764 -q, --quiet, --silent do not print \`checking...' messages
765 --cache-file=FILE cache test results in FILE [disabled]
766 -C, --config-cache alias for \`--cache-file=config.cache'
767 -n, --no-create do not create output files
768 --srcdir=DIR find the sources in DIR [configure dir or \`..']
773 Installation directories:
774 --prefix=PREFIX install architecture-independent files in PREFIX
776 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
779 By default, \`make install' will install all the files in
780 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
781 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
782 for instance \`--prefix=\$HOME'.
784 For better control, use the options below.
786 Fine tuning of the installation directories:
787 --bindir=DIR user executables [EPREFIX/bin]
788 --sbindir=DIR system admin executables [EPREFIX/sbin]
789 --libexecdir=DIR program executables [EPREFIX/libexec]
790 --datadir=DIR read-only architecture-independent data [PREFIX/share]
791 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
792 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
793 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
794 --libdir=DIR object code libraries [EPREFIX/lib]
795 --includedir=DIR C header files [PREFIX/include]
796 --oldincludedir=DIR C header files for non-gcc [/usr/include]
797 --infodir=DIR info documentation [PREFIX/info]
798 --mandir=DIR man documentation [PREFIX/man]
804 --program-prefix=PREFIX prepend PREFIX to installed program names
805 --program-suffix=SUFFIX append SUFFIX to installed program names
806 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
809 --build=BUILD configure for building on BUILD [guessed]
810 --host=HOST cross-compile to build programs to run on HOST [BUILD]
814 if test -n "$ac_init_help"; then
815 case $ac_init_help in
816 short | recursive ) echo "Configuration of newlib 1.14.0:";;
821 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
822 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
823 --enable-multilib build many library versions (default)
824 --enable-target-optspace optimize for space
825 --enable-malloc-debugging indicate malloc debugging requested
826 --enable-newlib-multithread enable support for multiple threads
827 --enable-newlib-iconv enable iconv library support
828 --enable-newlib-elix-level supply desired elix library level (1-4)
829 --disable-newlib-io-float disable printf/scanf family float support
830 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
831 --disable-dependency-tracking speeds up one-time build
832 --enable-dependency-tracking do not reject slow dependency extractors
833 --enable-maintainer-mode enable make rules and dependencies not useful
834 (and sometimes confusing) to the casual installer
835 --enable-shared=PKGS build shared libraries default=yes
836 --enable-static=PKGS build static libraries default=yes
837 --enable-fast-install=PKGS optimize for fast installation default=yes
838 --disable-libtool-lock avoid locking (might break parallel builds)
841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
843 --with-gnu-ld assume the C compiler uses GNU ld default=no
844 --with-pic try to use only PIC/non-PIC objects default=use both
846 Some influential environment variables:
847 CCAS assembler compiler command (defaults to CC)
848 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
849 CC C compiler command
850 CFLAGS C compiler flags
851 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
852 nonstandard directory <lib dir>
853 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
854 headers in a nonstandard directory <include dir>
856 Use these variables to override the choices made by `configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
862 if test "$ac_init_help" = "recursive"; then
863 # If there are subdirs, report their specific --help.
865 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
866 test -d $ac_dir || continue
869 if test "$ac_dir" != .; then
870 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
871 # A "../" for each directory in $ac_dir_suffix.
872 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
874 ac_dir_suffix= ac_top_builddir=
878 .) # No --srcdir option. We are building in place.
880 if test -z "$ac_top_builddir"; then
883 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
885 [\\/]* | ?:[\\/]* ) # Absolute path.
886 ac_srcdir=$srcdir$ac_dir_suffix;
887 ac_top_srcdir=$srcdir ;;
889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
890 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 # Do not use `cd foo && pwd` to compute absolute paths, because
894 # the directories may not exist.
896 .) ac_abs_builddir="$ac_dir";;
899 .) ac_abs_builddir=`pwd`;;
900 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
901 *) ac_abs_builddir=`pwd`/"$ac_dir";;
904 case $ac_abs_builddir in
905 .) ac_abs_top_builddir=${ac_top_builddir}.;;
907 case ${ac_top_builddir}. in
908 .) ac_abs_top_builddir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
910 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
913 case $ac_abs_builddir in
914 .) ac_abs_srcdir=$ac_srcdir;;
917 .) ac_abs_srcdir=$ac_abs_builddir;;
918 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
919 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
922 case $ac_abs_builddir in
923 .) ac_abs_top_srcdir=$ac_top_srcdir;;
925 case $ac_top_srcdir in
926 .) ac_abs_top_srcdir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
928 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
933 # Check for guested configure; otherwise get Cygnus style configure.
934 if test -f $ac_srcdir/configure.gnu; then
936 $SHELL $ac_srcdir/configure.gnu --help=recursive
937 elif test -f $ac_srcdir/configure; then
939 $SHELL $ac_srcdir/configure --help=recursive
940 elif test -f $ac_srcdir/configure.ac ||
941 test -f $ac_srcdir/configure.in; then
945 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
951 test -n "$ac_init_help" && exit 0
952 if $ac_init_version; then
954 newlib configure 1.14.0
955 generated by GNU Autoconf 2.59
957 Copyright (C) 2003 Free Software Foundation, Inc.
958 This configure script is free software; the Free Software Foundation
959 gives unlimited permission to copy, distribute and modify it.
965 This file contains any messages produced by compilers while
966 running configure, to aid debugging if configure makes a mistake.
968 It was created by newlib $as_me 1.14.0, which was
969 generated by GNU Autoconf 2.59. Invocation command line was
980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
992 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1003 test -z "$as_dir" && as_dir=.
1004 echo "PATH: $as_dir"
1019 # Keep a trace of the command line.
1020 # Strip out --no-create and --no-recursion so they do not pile up.
1021 # Strip out --silent because we don't want to record it for future runs.
1022 # Also quote any args containing shell meta-characters.
1023 # Make two passes to allow for proper duplicate-argument suppression.
1028 ac_must_keep_next=false
1034 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1038 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1039 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1042 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1045 if test $ac_must_keep_next = true; then
1046 ac_must_keep_next=false # Got value, back to normal.
1049 *=* | --config-cache | -C | -disable-* | --disable-* \
1050 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1051 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1052 | -with-* | --with-* | -without-* | --without-* | --x)
1053 case "$ac_configure_args0 " in
1054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1057 -* ) ac_must_keep_next=true ;;
1060 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1061 # Get rid of the leading space.
1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070 # When interrupted or exit'd, cleanup temporary files, and complete
1071 # config.log. We remove comments because anyway the quotes in there
1072 # would cause problems or look ugly.
1073 # WARNING: Be sure not to use single quotes in there, as some shells,
1074 # such as our DU 5.0 friend, will then `close' the trap.
1075 trap 'exit_status=$?
1076 # Save into config.log some information that might help in debugging.
1081 ## ---------------- ##
1082 ## Cache variables. ##
1083 ## ---------------- ##
1086 # The following way of writing the cache mishandles newlines in values,
1089 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1092 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1097 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 ## ----------------- ##
1105 ## Output variables. ##
1106 ## ----------------- ##
1109 for ac_var in $ac_subst_vars
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -n "$ac_subst_files"; then
1123 for ac_var in $ac_subst_files
1125 eval ac_val=$`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1131 if test -s confdefs.h; then
1138 sed "/^$/d" confdefs.h | sort
1141 test "$ac_signal" != 0 &&
1142 echo "$as_me: caught signal $ac_signal"
1143 echo "$as_me: exit $exit_status"
1145 rm -f core *.core &&
1146 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1149 for ac_signal in 1 2 13 15; do
1150 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1155 rm -rf conftest* confdefs.h
1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1159 # Predefined preprocessor variables.
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_NAME "$PACKAGE_NAME"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_STRING "$PACKAGE_STRING"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1186 # Let the site file select an alternate cache file if it wants to.
1187 # Prefer explicitly selected file to automatically selected ones.
1188 if test -z "$CONFIG_SITE"; then
1189 if test "x$prefix" != xNONE; then
1190 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1195 for ac_site_file in $CONFIG_SITE; do
1196 if test -r "$ac_site_file"; then
1197 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1198 echo "$as_me: loading site script $ac_site_file" >&6;}
1199 sed 's/^/| /' "$ac_site_file" >&5
1204 if test -r "$cache_file"; then
1205 # Some versions of bash will fail to source /dev/null (special
1206 # files actually), so we avoid doing that.
1207 if test -f "$cache_file"; then
1208 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1209 echo "$as_me: loading cache $cache_file" >&6;}
1211 [\\/]* | ?:[\\/]* ) . $cache_file;;
1212 *) . ./$cache_file;;
1216 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1217 echo "$as_me: creating cache $cache_file" >&6;}
1221 # Check that the precious variables saved in the cache have kept the same
1223 ac_cache_corrupted=false
1224 for ac_var in `(set) 2>&1 |
1225 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1226 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1227 eval ac_new_set=\$ac_env_${ac_var}_set
1228 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1229 eval ac_new_val="\$ac_env_${ac_var}_value"
1230 case $ac_old_set,$ac_new_set in
1232 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1234 ac_cache_corrupted=: ;;
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1241 if test "x$ac_old_val" != "x$ac_new_val"; then
1242 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1244 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1245 echo "$as_me: former value: $ac_old_val" >&2;}
1246 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1247 echo "$as_me: current value: $ac_new_val" >&2;}
1248 ac_cache_corrupted=:
1251 # Pass precious variables to config.status.
1252 if test "$ac_new_set" = set; then
1254 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1255 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1256 *) ac_arg=$ac_var=$ac_new_val ;;
1258 case " $ac_configure_args " in
1259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1260 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1264 if $ac_cache_corrupted; then
1265 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1267 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1269 { (exit 1); exit 1; }; }
1273 ac_cpp='$CPP $CPPFLAGS'
1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1307 for ac_dir in ../../../.. $srcdir/../../../..; do
1308 if test -f $ac_dir/install-sh; then
1310 ac_install_sh="$ac_aux_dir/install-sh -c"
1312 elif test -f $ac_dir/install.sh; then
1314 ac_install_sh="$ac_aux_dir/install.sh -c"
1316 elif test -f $ac_dir/shtool; then
1318 ac_install_sh="$ac_aux_dir/shtool install -c"
1322 if test -z "$ac_aux_dir"; then
1323 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&5
1324 echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&2;}
1325 { (exit 1); exit 1; }; }
1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1333 # Make sure we can run config.sub.
1334 $ac_config_sub sun4 >/dev/null 2>&1 ||
1335 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1336 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1337 { (exit 1); exit 1; }; }
1339 echo "$as_me:$LINENO: checking build system type" >&5
1340 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1341 if test "${ac_cv_build+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 ac_cv_build_alias=$build_alias
1345 test -z "$ac_cv_build_alias" &&
1346 ac_cv_build_alias=`$ac_config_guess`
1347 test -z "$ac_cv_build_alias" &&
1348 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1349 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1350 { (exit 1); exit 1; }; }
1351 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1352 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1353 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1354 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1358 echo "${ECHO_T}$ac_cv_build" >&6
1360 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1361 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1362 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1365 am__api_version="1.9"
1366 # Find a good install program. We prefer a C program (faster),
1367 # so one script is as good as another. But avoid the broken or
1368 # incompatible versions:
1369 # SysV /etc/install, /usr/sbin/install
1370 # SunOS /usr/etc/install
1371 # IRIX /sbin/install
1373 # AmigaOS /C/install, which installs bootblocks on floppy discs
1374 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1375 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1376 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1377 # OS/2's system install, which has a completely different semantic
1378 # ./install, which can be erroneously created by make from ./install.sh.
1379 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1380 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1381 if test -z "$INSTALL"; then
1382 if test "${ac_cv_path_install+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir=.
1390 # Account for people who put trailing slashes in PATH elements.
1392 ./ | .// | /cC/* | \
1393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1394 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1397 # OSF1 and SCO ODT 3.0 have their own names for install.
1398 # Don't use installbsd from OSF since it installs stuff as root
1400 for ac_prog in ginstall scoinst install; do
1401 for ac_exec_ext in '' $ac_executable_extensions; do
1402 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1403 if test $ac_prog = install &&
1404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1405 # AIX install. It has an incompatible calling convention.
1407 elif test $ac_prog = install &&
1408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1409 # program-specific install script used by HP pwplus--don't use.
1412 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1424 if test "${ac_cv_path_install+set}" = set; then
1425 INSTALL=$ac_cv_path_install
1427 # As a last resort, use the slow shell script. We don't cache a
1428 # path for INSTALL within a source directory, because that will
1429 # break other packages using the cache if that directory is
1430 # removed, or if the path is relative.
1431 INSTALL=$ac_install_sh
1434 echo "$as_me:$LINENO: result: $INSTALL" >&5
1435 echo "${ECHO_T}$INSTALL" >&6
1437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1438 # It thinks the first close brace ends the variable substitution.
1439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1445 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1446 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1449 echo timestamp > conftest.file
1450 # Do `set' in a subshell so we don't clobber the current shell's
1451 # arguments. Must try -L first in case configure is actually a
1452 # symlink; some systems play weird games with the mod time of symlinks
1453 # (eg FreeBSD returns the mod time of the symlink's containing
1456 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1457 if test "$*" = "X"; then
1459 set X `ls -t $srcdir/configure conftest.file`
1462 if test "$*" != "X $srcdir/configure conftest.file" \
1463 && test "$*" != "X conftest.file $srcdir/configure"; then
1465 # If neither matched, then we have a broken ls. This can happen
1466 # if, for instance, CONFIG_SHELL is bash and it inherits a
1467 # broken ls alias from the environment. This has actually
1468 # happened. Such a system could not be considered "sane".
1469 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1470 alias in your environment" >&5
1471 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1472 alias in your environment" >&2;}
1473 { (exit 1); exit 1; }; }
1476 test "$2" = conftest.file
1482 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1483 Check your system clock" >&5
1484 echo "$as_me: error: newly created file is older than distributed files!
1485 Check your system clock" >&2;}
1486 { (exit 1); exit 1; }; }
1488 echo "$as_me:$LINENO: result: yes" >&5
1489 echo "${ECHO_T}yes" >&6
1490 test "$program_prefix" != NONE &&
1491 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1492 # Use a double $ so make ignores it.
1493 test "$program_suffix" != NONE &&
1494 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1495 # Double any \ or $. echo might interpret backslashes.
1496 # By default was `s,x,x', remove it if useless.
1497 cat <<\_ACEOF >conftest.sed
1498 s/[\\$]/&&/g;s/;s,x,x,$//
1500 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1503 # expand $ac_aux_dir to an absolute path
1504 am_aux_dir=`cd $ac_aux_dir && pwd`
1506 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1507 # Use eval to expand $SHELL
1508 if eval "$MISSING --run true"; then
1509 am_missing_run="$MISSING --run "
1512 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1513 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1516 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1517 # We used to keeping the `.' as first argument, in order to
1518 # allow $(mkdir_p) to be used without argument. As in
1519 # $(mkdir_p) $(somedir)
1520 # where $(somedir) is conditionally defined. However this is wrong
1522 # 1. if the package is installed by a user who cannot write `.'
1523 # make install will fail,
1524 # 2. the above comment should most certainly read
1525 # $(mkdir_p) $(DESTDIR)$(somedir)
1526 # so it does not work when $(somedir) is undefined and
1527 # $(DESTDIR) is not.
1528 # To support the latter case, we have to write
1529 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1530 # so the `.' trick is pointless.
1531 mkdir_p='mkdir -p --'
1533 # On NextStep and OpenStep, the `mkdir' command does not
1534 # recognize any option. It will interpret all options as
1535 # directories to create, and then abort because `.' already
1537 for d in ./-p ./--version;
1539 test -d $d && rmdir $d
1541 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1542 if test -f "$ac_aux_dir/mkinstalldirs"; then
1543 mkdir_p='$(mkinstalldirs)'
1545 mkdir_p='$(install_sh) -d'
1549 for ac_prog in gawk mawk nawk awk
1551 # Extract the first word of "$ac_prog", so it can be a program name with args.
1552 set dummy $ac_prog; ac_word=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_AWK+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$AWK"; then
1559 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 ac_cv_prog_AWK="$ac_prog"
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 if test -n "$AWK"; then
1579 echo "$as_me:$LINENO: result: $AWK" >&5
1580 echo "${ECHO_T}$AWK" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1586 test -n "$AWK" && break
1589 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1590 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1591 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1592 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 cat >conftest.make <<\_ACEOF
1597 @echo 'ac_maketemp="$(MAKE)"'
1599 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1600 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1601 if test -n "$ac_maketemp"; then
1602 eval ac_cv_prog_make_${ac_make}_set=yes
1604 eval ac_cv_prog_make_${ac_make}_set=no
1608 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1609 echo "$as_me:$LINENO: result: yes" >&5
1610 echo "${ECHO_T}yes" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1615 SET_MAKE="MAKE=${MAKE-make}"
1618 rm -rf .tst 2>/dev/null
1619 mkdir .tst 2>/dev/null
1620 if test -d .tst; then
1625 rmdir .tst 2>/dev/null
1627 DEPDIR="${am__leading_dot}deps"
1629 ac_config_commands="$ac_config_commands depfiles"
1632 am_make=${MAKE-make}
1633 cat > confinc << 'END'
1638 # If we don't find an include directive, just comment out the code.
1639 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1640 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1644 # First try GNU make style include.
1645 echo "include confinc" > confmf
1646 # We grep out `Entering directory' and `Leaving directory'
1647 # messages which can occur if `w' ends up in MAKEFLAGS.
1648 # In particular we don't look at `^make:' because GNU make might
1649 # be invoked under some other name (usually "gmake"), in which
1650 # case it prints its new name instead of `make'.
1651 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1656 # Now try BSD make style include.
1657 if test "$am__include" = "#"; then
1658 echo '.include "confinc"' > confmf
1659 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1660 am__include=.include
1667 echo "$as_me:$LINENO: result: $_am_result" >&5
1668 echo "${ECHO_T}$_am_result" >&6
1669 rm -f confinc confmf
1671 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1672 if test "${enable_dependency_tracking+set}" = set; then
1673 enableval="$enable_dependency_tracking"
1676 if test "x$enable_dependency_tracking" != xno; then
1677 am_depcomp="$ac_aux_dir/depcomp"
1682 if test "x$enable_dependency_tracking" != xno; then
1693 # Check whether --enable-multilib or --disable-multilib was given.
1694 if test "${enable_multilib+set}" = set; then
1695 enableval="$enable_multilib"
1696 case "${enableval}" in
1697 yes) multilib=yes ;;
1699 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1700 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1701 { (exit 1); exit 1; }; } ;;
1706 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1707 if test "${enable_target_optspace+set}" = set; then
1708 enableval="$enable_target_optspace"
1709 case "${enableval}" in
1710 yes) target_optspace=yes ;;
1711 no) target_optspace=no ;;
1712 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1713 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1714 { (exit 1); exit 1; }; } ;;
1719 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1720 if test "${enable_malloc_debugging+set}" = set; then
1721 enableval="$enable_malloc_debugging"
1722 case "${enableval}" in
1723 yes) malloc_debugging=yes ;;
1724 no) malloc_debugging=no ;;
1725 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1726 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1727 { (exit 1); exit 1; }; } ;;
1732 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1733 if test "${enable_newlib_multithread+set}" = set; then
1734 enableval="$enable_newlib_multithread"
1735 case "${enableval}" in
1736 yes) newlib_multithread=yes ;;
1737 no) newlib_multithread=no ;;
1738 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1739 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1740 { (exit 1); exit 1; }; } ;;
1743 newlib_multithread=yes
1745 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1746 if test "${enable_newlib_iconv+set}" = set; then
1747 enableval="$enable_newlib_iconv"
1748 if test "${newlib_iconv+set}" != set; then
1749 case "${enableval}" in
1750 yes) newlib_iconv=yes ;;
1751 no) newlib_iconv=no ;;
1752 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1753 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1754 { (exit 1); exit 1; }; } ;;
1758 newlib_iconv=${newlib_iconv}
1760 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1761 if test "${enable_newlib_elix_level+set}" = set; then
1762 enableval="$enable_newlib_elix_level"
1763 case "${enableval}" in
1764 0) newlib_elix_level=0 ;;
1765 1) newlib_elix_level=1 ;;
1766 2) newlib_elix_level=2 ;;
1767 3) newlib_elix_level=3 ;;
1768 4) newlib_elix_level=4 ;;
1769 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1770 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1771 { (exit 1); exit 1; }; } ;;
1776 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1777 if test "${enable_newlib_io_float+set}" = set; then
1778 enableval="$enable_newlib_io_float"
1779 case "${enableval}" in
1780 yes) newlib_io_float=yes ;;
1781 no) newlib_io_float=no ;;
1782 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1783 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1784 { (exit 1); exit 1; }; } ;;
1789 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1790 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1791 enableval="$enable_newlib_supplied_syscalls"
1792 case "${enableval}" in
1793 yes) newlib_may_supply_syscalls=yes ;;
1794 no) newlib_may_supply_syscalls=no ;;
1795 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1796 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1797 { (exit 1); exit 1; }; } ;;
1800 newlib_may_supply_syscalls=yes
1804 if test x${newlib_may_supply_syscalls} = xyes; then
1805 MAY_SUPPLY_SYSCALLS_TRUE=
1806 MAY_SUPPLY_SYSCALLS_FALSE='#'
1808 MAY_SUPPLY_SYSCALLS_TRUE='#'
1809 MAY_SUPPLY_SYSCALLS_FALSE=
1814 test -z "${with_target_subdir}" && with_target_subdir=.
1816 if test "${srcdir}" = "."; then
1817 if test "${with_target_subdir}" != "."; then
1818 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
1820 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1823 newlib_basedir="${srcdir}/../../.."
1827 echo "$as_me:$LINENO: checking host system type" >&5
1828 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1829 if test "${ac_cv_host+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 ac_cv_host_alias=$host_alias
1833 test -z "$ac_cv_host_alias" &&
1834 ac_cv_host_alias=$ac_cv_build_alias
1835 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1836 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1837 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1838 { (exit 1); exit 1; }; }
1841 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1842 echo "${ECHO_T}$ac_cv_host" >&6
1844 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1845 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1846 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1850 # test to see if srcdir already configured
1851 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1852 test -f $srcdir/config.status; then
1853 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1854 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1855 { (exit 1); exit 1; }; }
1858 # test whether we have cygpath
1859 if test -z "$CYGPATH_W"; then
1860 if (cygpath --version) >/dev/null 2>/dev/null; then
1861 CYGPATH_W='cygpath -w'
1868 # Define the identity of the package.
1873 # Some tools Automake needs.
1875 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1878 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1881 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1884 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1887 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1889 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1891 # Installed binaries are usually stripped using `strip' when the user
1892 # run `make install-strip'. However `strip' might not be the right
1893 # tool to use in cross-compilation environments, therefore Automake
1894 # will honor the `STRIP' environment variable to overrule this program.
1895 if test "$cross_compiling" != no; then
1896 if test -n "$ac_tool_prefix"; then
1897 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1898 set dummy ${ac_tool_prefix}strip; ac_word=$2
1899 echo "$as_me:$LINENO: checking for $ac_word" >&5
1900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1901 if test "${ac_cv_prog_STRIP+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 if test -n "$STRIP"; then
1905 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 for ac_exec_ext in '' $ac_executable_extensions; do
1913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 STRIP=$ac_cv_prog_STRIP
1924 if test -n "$STRIP"; then
1925 echo "$as_me:$LINENO: result: $STRIP" >&5
1926 echo "${ECHO_T}$STRIP" >&6
1928 echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1933 if test -z "$ac_cv_prog_STRIP"; then
1935 # Extract the first word of "strip", so it can be a program name with args.
1936 set dummy strip; ac_word=$2
1937 echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 if test -n "$ac_ct_STRIP"; then
1943 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 for ac_exec_ext in '' $ac_executable_extensions; do
1951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1952 ac_cv_prog_ac_ct_STRIP="strip"
1953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1959 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1963 if test -n "$ac_ct_STRIP"; then
1964 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1965 echo "${ECHO_T}$ac_ct_STRIP" >&6
1967 echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1973 STRIP="$ac_cv_prog_STRIP"
1977 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1979 # We need awk for the "check" target. The system "awk" is bad on
1981 # Always define AMTAR for backward compatibility.
1983 AMTAR=${AMTAR-"${am_missing_run}tar"}
1985 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1992 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1993 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1994 # are probably using a cross compiler, which will not be able to fully
1995 # link an executable. This should really be fixed in autoconf
2004 # Extract the first word of "gcc", so it can be a program name with args.
2005 set dummy gcc; ac_word=$2
2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008 if test "${ac_cv_prog_CC+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 if test -n "$CC"; then
2012 ac_cv_prog_CC="$CC" # Let the user override the test.
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir=.
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 if test -n "$CC"; then
2032 echo "$as_me:$LINENO: result: $CC" >&5
2033 echo "${ECHO_T}$CC" >&6
2035 echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2040 depcc="$CC" am_compiler_list=
2042 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2043 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2044 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2048 # We make a subdir and do the tests there. Otherwise we can end up
2049 # making bogus files that we don't know about and never remove. For
2050 # instance it was reported that on HP-UX the gcc test will end up
2051 # making a dummy file named `D' -- because `-MD' means `put the output
2054 # Copy depcomp to subdir because otherwise we won't find it if we're
2055 # using a relative directory.
2056 cp "$am_depcomp" conftest.dir
2058 # We will build objects and dependencies in a subdirectory because
2059 # it helps to detect inapplicable dependency modes. For instance
2060 # both Tru64's cc and ICC support -MD to output dependencies as a
2061 # side effect of compilation, but ICC will put the dependencies in
2062 # the current directory while Tru64 will put them in the object
2066 am_cv_CC_dependencies_compiler_type=none
2067 if test "$am_compiler_list" = ""; then
2068 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2070 for depmode in $am_compiler_list; do
2071 # Setup a source with many dependencies, because some compilers
2072 # like to wrap large dependency lists on column 80 (with \), and
2073 # we should not choose a depcomp mode which is confused by this.
2075 # We need to recreate these files for each test, as the compiler may
2076 # overwrite some of them when testing with obscure command lines.
2077 # This happens at least with the AIX C compiler.
2079 for i in 1 2 3 4 5 6; do
2080 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2081 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2082 # Solaris 8's {/usr,}/bin/sh.
2083 touch sub/conftst$i.h
2085 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2089 # after this tag, mechanisms are not by side-effect, so they'll
2090 # only be used when explicitly requested
2091 if test "x$enable_dependency_tracking" = xyes; then
2099 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2100 # mode. It turns out that the SunPro C++ compiler does not properly
2101 # handle `-M -o', and we need to detect this.
2102 if depmode=$depmode \
2103 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2104 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2105 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2106 >/dev/null 2>conftest.err &&
2107 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2108 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2109 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2110 # icc doesn't choke on unknown options, it will just issue warnings
2111 # or remarks (even with -Werror). So we grep stderr for any message
2112 # that says an option was ignored or not supported.
2113 # When given -MP, icc 7.0 and 7.1 complain thusly:
2114 # icc: Command line warning: ignoring option '-M'; no argument required
2115 # The diagnosis changed in icc 8.0:
2116 # icc: Command line remark: option '-MP' not supported
2117 if (grep 'ignoring option' conftest.err ||
2118 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2119 am_cv_CC_dependencies_compiler_type=$depmode
2128 am_cv_CC_dependencies_compiler_type=none
2132 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2133 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2134 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2139 test "x$enable_dependency_tracking" != xno \
2140 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2142 am__fastdepCC_FALSE='#'
2144 am__fastdepCC_TRUE='#'
2145 am__fastdepCC_FALSE=
2149 if test -z "$CC"; then
2150 # Extract the first word of "cc", so it can be a program name with args.
2151 set dummy cc; ac_word=$2
2152 echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2154 if test "${ac_cv_prog_CC+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test -n "$CC"; then
2158 ac_cv_prog_CC="$CC" # Let the user override the test.
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2169 ac_prog_rejected=yes
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 if test $ac_prog_rejected = yes; then
2180 # We found a bogon in the path, so make sure we never use it.
2181 set dummy $ac_cv_prog_CC
2183 if test $# != 0; then
2184 # We chose a different compiler from the bogus one.
2185 # However, it has the same basename, so the bogon will be chosen
2186 # first if we set CC to just the basename; use the full file name.
2188 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2194 if test -n "$CC"; then
2195 echo "$as_me:$LINENO: result: $CC" >&5
2196 echo "${ECHO_T}$CC" >&6
2198 echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6
2202 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2203 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2204 { (exit 1); exit 1; }; }
2207 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2208 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2209 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 cat > conftest.c <<EOF
2217 if { ac_try='${CC-cc} -E conftest.c'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2223 ac_cv_c_compiler_gnu=yes
2225 ac_cv_c_compiler_gnu=no
2228 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2229 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2231 if test $ac_cv_c_compiler_gnu = yes; then
2233 ac_test_CFLAGS="${CFLAGS+set}"
2234 ac_save_CFLAGS="$CFLAGS"
2236 ac_test_CFLAGS=${CFLAGS+set}
2237 ac_save_CFLAGS=$CFLAGS
2239 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2240 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2241 if test "${ac_cv_prog_cc_g+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 cat >conftest.$ac_ext <<_ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h. */
2259 rm -f conftest.$ac_objext
2260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2261 (eval $ac_compile) 2>conftest.er1
2263 grep -v '^ *+' conftest.er1 >conftest.err
2265 cat conftest.err >&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); } &&
2268 { ac_try='test -z "$ac_c_werror_flag"
2269 || test ! -s conftest.err'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; } &&
2275 { ac_try='test -s conftest.$ac_objext'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; }; then
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2290 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2292 if test "$ac_test_CFLAGS" = set; then
2293 CFLAGS=$ac_save_CFLAGS
2294 elif test $ac_cv_prog_cc_g = yes; then
2295 if test "$GCC" = yes; then
2301 if test "$GCC" = yes; then
2307 if test "$ac_test_CFLAGS" = set; then
2308 CFLAGS="$ac_save_CFLAGS"
2309 elif test $ac_cv_prog_cc_g = yes; then
2316 test "${CFLAGS+set}" = set || CFLAGS="-g"
2320 if test -n "$ac_tool_prefix"; then
2321 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2322 set dummy ${ac_tool_prefix}as; ac_word=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_AS+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$AS"; then
2329 ac_cv_prog_AS="$AS" # Let the user override the test.
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_AS="${ac_tool_prefix}as"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2348 if test -n "$AS"; then
2349 echo "$as_me:$LINENO: result: $AS" >&5
2350 echo "${ECHO_T}$AS" >&6
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2357 if test -z "$ac_cv_prog_AS"; then
2359 # Extract the first word of "as", so it can be a program name with args.
2360 set dummy as; ac_word=$2
2361 echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2363 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$ac_ct_AS"; then
2367 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_prog_ac_ct_AS="as"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2386 if test -n "$ac_ct_AS"; then
2387 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2388 echo "${ECHO_T}$ac_ct_AS" >&6
2390 echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2399 if test -n "$ac_tool_prefix"; then
2400 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2401 set dummy ${ac_tool_prefix}ar; ac_word=$2
2402 echo "$as_me:$LINENO: checking for $ac_word" >&5
2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2404 if test "${ac_cv_prog_AR+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 if test -n "$AR"; then
2408 ac_cv_prog_AR="$AR" # Let the user override the test.
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir=.
2415 for ac_exec_ext in '' $ac_executable_extensions; do
2416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417 ac_cv_prog_AR="${ac_tool_prefix}ar"
2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 if test -n "$AR"; then
2428 echo "$as_me:$LINENO: result: $AR" >&5
2429 echo "${ECHO_T}$AR" >&6
2431 echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2436 if test -z "$ac_cv_prog_AR"; then
2438 # Extract the first word of "ar", so it can be a program name with args.
2439 set dummy ar; ac_word=$2
2440 echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2442 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 if test -n "$ac_ct_AR"; then
2446 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455 ac_cv_prog_ac_ct_AR="ar"
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2465 if test -n "$ac_ct_AR"; then
2466 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2467 echo "${ECHO_T}$ac_ct_AR" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2478 if test -n "$ac_tool_prefix"; then
2479 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2480 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2481 echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483 if test "${ac_cv_prog_RANLIB+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 if test -n "$RANLIB"; then
2487 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir=.
2494 for ac_exec_ext in '' $ac_executable_extensions; do
2495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 RANLIB=$ac_cv_prog_RANLIB
2506 if test -n "$RANLIB"; then
2507 echo "$as_me:$LINENO: result: $RANLIB" >&5
2508 echo "${ECHO_T}$RANLIB" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2515 if test -z "$ac_cv_prog_RANLIB"; then
2516 ac_ct_RANLIB=$RANLIB
2517 # Extract the first word of "ranlib", so it can be a program name with args.
2518 set dummy ranlib; ac_word=$2
2519 echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$ac_ct_RANLIB"; then
2525 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2534 ac_cv_prog_ac_ct_RANLIB="ranlib"
2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2545 if test -n "$ac_ct_RANLIB"; then
2546 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2547 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2549 echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6
2553 RANLIB=$ac_ct_RANLIB
2555 RANLIB="$ac_cv_prog_RANLIB"
2558 if test -n "$ac_tool_prefix"; then
2559 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2560 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2561 echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_READELF+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if test -n "$READELF"; then
2567 ac_cv_prog_READELF="$READELF" # Let the user override the test.
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 READELF=$ac_cv_prog_READELF
2586 if test -n "$READELF"; then
2587 echo "$as_me:$LINENO: result: $READELF" >&5
2588 echo "${ECHO_T}$READELF" >&6
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2595 if test -z "$ac_cv_prog_READELF"; then
2596 ac_ct_READELF=$READELF
2597 # Extract the first word of "readelf", so it can be a program name with args.
2598 set dummy readelf; ac_word=$2
2599 echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2601 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 if test -n "$ac_ct_READELF"; then
2605 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_ac_ct_READELF="readelf"
2615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2624 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2625 if test -n "$ac_ct_READELF"; then
2626 echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2627 echo "${ECHO_T}$ac_ct_READELF" >&6
2629 echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6
2633 READELF=$ac_ct_READELF
2635 READELF="$ac_cv_prog_READELF"
2639 # Find a good install program. We prefer a C program (faster),
2640 # so one script is as good as another. But avoid the broken or
2641 # incompatible versions:
2642 # SysV /etc/install, /usr/sbin/install
2643 # SunOS /usr/etc/install
2644 # IRIX /sbin/install
2646 # AmigaOS /C/install, which installs bootblocks on floppy discs
2647 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2648 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2649 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2650 # OS/2's system install, which has a completely different semantic
2651 # ./install, which can be erroneously created by make from ./install.sh.
2652 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2653 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2654 if test -z "$INSTALL"; then
2655 if test "${ac_cv_path_install+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 # Account for people who put trailing slashes in PATH elements.
2665 ./ | .// | /cC/* | \
2666 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2667 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2670 # OSF1 and SCO ODT 3.0 have their own names for install.
2671 # Don't use installbsd from OSF since it installs stuff as root
2673 for ac_prog in ginstall scoinst install; do
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2676 if test $ac_prog = install &&
2677 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2678 # AIX install. It has an incompatible calling convention.
2680 elif test $ac_prog = install &&
2681 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2682 # program-specific install script used by HP pwplus--don't use.
2685 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2697 if test "${ac_cv_path_install+set}" = set; then
2698 INSTALL=$ac_cv_path_install
2700 # As a last resort, use the slow shell script. We don't cache a
2701 # path for INSTALL within a source directory, because that will
2702 # break other packages using the cache if that directory is
2703 # removed, or if the path is relative.
2704 INSTALL=$ac_install_sh
2707 echo "$as_me:$LINENO: result: $INSTALL" >&5
2708 echo "${ECHO_T}$INSTALL" >&6
2710 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2711 # It thinks the first close brace ends the variable substitution.
2712 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2714 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2716 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2719 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2720 ac_given_INSTALL=$INSTALL
2722 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2723 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2724 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2725 if test "${enable_maintainer_mode+set}" = set; then
2726 enableval="$enable_maintainer_mode"
2727 USE_MAINTAINER_MODE=$enableval
2729 USE_MAINTAINER_MODE=no
2731 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2732 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2735 if test $USE_MAINTAINER_MODE = yes; then
2736 MAINTAINER_MODE_TRUE=
2737 MAINTAINER_MODE_FALSE='#'
2739 MAINTAINER_MODE_TRUE='#'
2740 MAINTAINER_MODE_FALSE=
2743 MAINT=$MAINTAINER_MODE_TRUE
2746 # By default we simply use the C compiler to build assembly code.
2748 test "${CCAS+set}" = set || CCAS=$CC
2749 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2754 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2755 # at least currently, we never actually build a program, so we never
2756 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2757 # fails, because we are probably configuring with a cross compiler
2758 # which can't create executables. So we include AC_EXEEXT to keep
2759 # automake happy, but we don't execute it, since we don't care about
2766 . ${newlib_basedir}/configure.host
2768 newlib_cflags="${newlib_cflags} -fno-builtin"
2770 NEWLIB_CFLAGS=${newlib_cflags}
2778 if test x${newlib_elix_level} = x0; then
2780 ELIX_LEVEL_0_FALSE='#'
2782 ELIX_LEVEL_0_TRUE='#'
2788 if test x${newlib_elix_level} = x1; then
2790 ELIX_LEVEL_1_FALSE='#'
2792 ELIX_LEVEL_1_TRUE='#'
2798 if test x${newlib_elix_level} = x2; then
2800 ELIX_LEVEL_2_FALSE='#'
2802 ELIX_LEVEL_2_TRUE='#'
2808 if test x${newlib_elix_level} = x3; then
2810 ELIX_LEVEL_3_FALSE='#'
2812 ELIX_LEVEL_3_TRUE='#'
2818 if test x${newlib_elix_level} = x4; then
2820 ELIX_LEVEL_4_FALSE='#'
2822 ELIX_LEVEL_4_TRUE='#'
2829 if test x${use_libtool} = xyes; then
2831 USE_LIBTOOL_FALSE='#'
2833 USE_LIBTOOL_TRUE='#'
2838 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2839 # use oext, which is set in configure.host based on the target platform.
2853 if test "${use_libtool}" = "yes"; then
2855 # Check whether --enable-shared or --disable-shared was given.
2856 if test "${enable_shared+set}" = set; then
2857 enableval="$enable_shared"
2858 p=${PACKAGE-default}
2860 yes) enable_shared=yes ;;
2861 no) enable_shared=no ;;
2864 # Look at the argument we got. We use all the common list separators.
2865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2866 for pkg in $enableval; do
2867 if test "X$pkg" = "X$p"; then
2877 # Check whether --enable-static or --disable-static was given.
2878 if test "${enable_static+set}" = set; then
2879 enableval="$enable_static"
2880 p=${PACKAGE-default}
2882 yes) enable_static=yes ;;
2883 no) enable_static=no ;;
2886 # Look at the argument we got. We use all the common list separators.
2887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2888 for pkg in $enableval; do
2889 if test "X$pkg" = "X$p"; then
2899 # Check whether --enable-fast-install or --disable-fast-install was given.
2900 if test "${enable_fast_install+set}" = set; then
2901 enableval="$enable_fast_install"
2902 p=${PACKAGE-default}
2904 yes) enable_fast_install=yes ;;
2905 no) enable_fast_install=no ;;
2907 enable_fast_install=no
2908 # Look at the argument we got. We use all the common list separators.
2909 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2910 for pkg in $enableval; do
2911 if test "X$pkg" = "X$p"; then
2912 enable_fast_install=yes
2919 enable_fast_install=yes
2922 ac_cpp='$CPP $CPPFLAGS'
2923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2926 if test -n "$ac_tool_prefix"; then
2927 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2928 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2929 echo "$as_me:$LINENO: checking for $ac_word" >&5
2930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2931 if test "${ac_cv_prog_CC+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 if test -n "$CC"; then
2935 ac_cv_prog_CC="$CC" # Let the user override the test.
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir=.
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2944 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 if test -n "$CC"; then
2955 echo "$as_me:$LINENO: result: $CC" >&5
2956 echo "${ECHO_T}$CC" >&6
2958 echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2963 if test -z "$ac_cv_prog_CC"; then
2965 # Extract the first word of "gcc", so it can be a program name with args.
2966 set dummy gcc; ac_word=$2
2967 echo "$as_me:$LINENO: checking for $ac_word" >&5
2968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 if test -n "$ac_ct_CC"; then
2973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir=.
2980 for ac_exec_ext in '' $ac_executable_extensions; do
2981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2982 ac_cv_prog_ac_ct_CC="gcc"
2983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2994 echo "${ECHO_T}$ac_ct_CC" >&6
2996 echo "$as_me:$LINENO: result: no" >&5
2997 echo "${ECHO_T}no" >&6
3005 if test -z "$CC"; then
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}cc; ac_word=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_CC+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 if test -n "$CC"; then
3015 ac_cv_prog_CC="$CC" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_CC="${ac_tool_prefix}cc"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$CC"; then
3035 echo "$as_me:$LINENO: result: $CC" >&5
3036 echo "${ECHO_T}$CC" >&6
3038 echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3043 if test -z "$ac_cv_prog_CC"; then
3045 # Extract the first word of "cc", so it can be a program name with args.
3046 set dummy cc; ac_word=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 if test -n "$ac_ct_CC"; then
3053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_ac_ct_CC="cc"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3072 if test -n "$ac_ct_CC"; then
3073 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3074 echo "${ECHO_T}$ac_ct_CC" >&6
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3086 if test -z "$CC"; then
3087 # Extract the first word of "cc", so it can be a program name with args.
3088 set dummy cc; ac_word=$2
3089 echo "$as_me:$LINENO: checking for $ac_word" >&5
3090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3091 if test "${ac_cv_prog_CC+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC="$CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3106 ac_prog_rejected=yes
3110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test $ac_prog_rejected = yes; then
3117 # We found a bogon in the path, so make sure we never use it.
3118 set dummy $ac_cv_prog_CC
3120 if test $# != 0; then
3121 # We chose a different compiler from the bogus one.
3122 # However, it has the same basename, so the bogon will be chosen
3123 # first if we set CC to just the basename; use the full file name.
3125 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3131 if test -n "$CC"; then
3132 echo "$as_me:$LINENO: result: $CC" >&5
3133 echo "${ECHO_T}$CC" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3140 if test -z "$CC"; then
3141 if test -n "$ac_tool_prefix"; then
3144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3146 echo "$as_me:$LINENO: checking for $ac_word" >&5
3147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3148 if test "${ac_cv_prog_CC+set}" = set; then
3149 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 if test -n "$CC"; then
3152 ac_cv_prog_CC="$CC" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$CC"; then
3172 echo "$as_me:$LINENO: result: $CC" >&5
3173 echo "${ECHO_T}$CC" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3179 test -n "$CC" && break
3182 if test -z "$CC"; then
3186 # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy $ac_prog; ac_word=$2
3188 echo "$as_me:$LINENO: checking for $ac_word" >&5
3189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3191 echo $ECHO_N "(cached) $ECHO_C" >&6
3193 if test -n "$ac_ct_CC"; then
3194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_ac_ct_CC="$ac_prog"
3204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3213 if test -n "$ac_ct_CC"; then
3214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3215 echo "${ECHO_T}$ac_ct_CC" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3221 test -n "$ac_ct_CC" && break
3230 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details." >&5
3232 echo "$as_me: error: no acceptable C compiler found in \$PATH
3233 See \`config.log' for more details." >&2;}
3234 { (exit 1); exit 1; }; }
3236 # Provide some information about the compiler.
3237 echo "$as_me:$LINENO:" \
3238 "checking for C compiler version" >&5
3239 ac_compiler=`set X $ac_compile; echo $2`
3240 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3241 (eval $ac_compiler --version </dev/null >&5) 2>&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }
3245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3246 (eval $ac_compiler -v </dev/null >&5) 2>&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }
3250 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3251 (eval $ac_compiler -V </dev/null >&5) 2>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3271 ac_clean_files_save=$ac_clean_files
3272 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3273 # Try to create an executable without -o first, disregard a.out.
3274 # It will help us diagnose broken compilers, and finding out an intuition
3276 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3277 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3278 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3279 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3280 (eval $ac_link_default) 2>&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); }; then
3284 # Find the output, starting from the most likely. This scheme is
3285 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3288 # Be careful to initialize this variable, since it used to be cached.
3289 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3291 # b.out is created by i960 compilers.
3292 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3294 test -f "$ac_file" || continue
3296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3299 # This is the source file.
3302 # We found the default executable, but exeext='' is most
3306 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3307 # FIXME: I believe we export ac_cv_exeext for Libtool,
3308 # but it would be cool to find out if it's true. Does anybody
3309 # maintain Libtool? --akim.
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3321 See \`config.log' for more details." >&5
3322 echo "$as_me: error: C compiler cannot create executables
3323 See \`config.log' for more details." >&2;}
3324 { (exit 77); exit 77; }; }
3327 ac_exeext=$ac_cv_exeext
3328 echo "$as_me:$LINENO: result: $ac_file" >&5
3329 echo "${ECHO_T}$ac_file" >&6
3331 # Check the compiler produces executables we can run. If not, either
3332 # the compiler is broken, or we cross compile.
3333 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3334 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3335 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3336 # If not cross compiling, check that we can run a simple program.
3337 if test "$cross_compiling" != yes; then
3338 if { ac_try='./$ac_file'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; }; then
3346 if test "$cross_compiling" = maybe; then
3349 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3350 If you meant to cross compile, use \`--host'.
3351 See \`config.log' for more details." >&5
3352 echo "$as_me: error: cannot run C compiled programs.
3353 If you meant to cross compile, use \`--host'.
3354 See \`config.log' for more details." >&2;}
3355 { (exit 1); exit 1; }; }
3359 echo "$as_me:$LINENO: result: yes" >&5
3360 echo "${ECHO_T}yes" >&6
3362 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3363 ac_clean_files=$ac_clean_files_save
3364 # Check the compiler produces executables we can run. If not, either
3365 # the compiler is broken, or we cross compile.
3366 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3367 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3368 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3369 echo "${ECHO_T}$cross_compiling" >&6
3371 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3372 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3374 (eval $ac_link) 2>&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; then
3378 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3379 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3380 # work properly (i.e., refer to `conftest.exe'), while it won't with
3382 for ac_file in conftest.exe conftest conftest.*; do
3383 test -f "$ac_file" || continue
3385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3386 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3393 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3394 See \`config.log' for more details." >&5
3395 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3396 See \`config.log' for more details." >&2;}
3397 { (exit 1); exit 1; }; }
3400 rm -f conftest$ac_cv_exeext
3401 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3402 echo "${ECHO_T}$ac_cv_exeext" >&6
3404 rm -f conftest.$ac_ext
3405 EXEEXT=$ac_cv_exeext
3407 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3408 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3409 if test "${ac_cv_objext+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 cat >conftest.$ac_ext <<_ACEOF
3415 cat confdefs.h >>conftest.$ac_ext
3416 cat >>conftest.$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3427 rm -f conftest.o conftest.obj
3428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3429 (eval $ac_compile) 2>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; then
3433 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3435 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3436 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3444 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3445 See \`config.log' for more details." >&5
3446 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3447 See \`config.log' for more details." >&2;}
3448 { (exit 1); exit 1; }; }
3451 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3453 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3454 echo "${ECHO_T}$ac_cv_objext" >&6
3455 OBJEXT=$ac_cv_objext
3457 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3458 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3459 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3480 rm -f conftest.$ac_objext
3481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3482 (eval $ac_compile) 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } &&
3489 { ac_try='test -z "$ac_c_werror_flag"
3490 || test ! -s conftest.err'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; } &&
3496 { ac_try='test -s conftest.$ac_objext'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; }; then
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.$ac_ext >&5
3509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3513 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3514 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3515 GCC=`test $ac_compiler_gnu = yes && echo yes`
3516 ac_test_CFLAGS=${CFLAGS+set}
3517 ac_save_CFLAGS=$CFLAGS
3519 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3520 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3521 if test "${ac_cv_prog_cc_g+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3539 rm -f conftest.$ac_objext
3540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3541 (eval $ac_compile) 2>conftest.er1
3543 grep -v '^ *+' conftest.er1 >conftest.err
3545 cat conftest.err >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); } &&
3548 { ac_try='test -z "$ac_c_werror_flag"
3549 || test ! -s conftest.err'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; } &&
3555 { ac_try='test -s conftest.$ac_objext'
3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; }; then
3563 echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3570 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3571 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3572 if test "$ac_test_CFLAGS" = set; then
3573 CFLAGS=$ac_save_CFLAGS
3574 elif test $ac_cv_prog_cc_g = yes; then
3575 if test "$GCC" = yes; then
3581 if test "$GCC" = yes; then
3587 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3588 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3589 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 ac_cv_prog_cc_stdc=no
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3602 #include <sys/types.h>
3603 #include <sys/stat.h>
3604 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3605 struct buf { int x; };
3606 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3607 static char *e (p, i)
3613 static char *f (char * (*g) (char **, int), char **p, ...)
3618 s = g (p, va_arg (v,int));
3623 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3624 function prototypes and stuff, but not '\xHH' hex character constants.
3625 These don't provoke an error unfortunately, instead are silently treated
3626 as 'x'. The following induces an error, until -std1 is added to get
3627 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3628 array size at least. It's necessary to write '\x00'==0 to get something
3629 that's true only with -std1. */
3630 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3632 int test (int i, double x);
3633 struct s1 {int (*f) (int a);};
3634 struct s2 {int (*f) (double a);};
3635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3641 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3646 # Don't try gcc -ansi; that turns off useful extensions and
3647 # breaks some systems' header files.
3648 # AIX -qlanglvl=ansi
3649 # Ultrix and OSF/1 -std1
3650 # HP-UX 10.20 and later -Ae
3651 # HP-UX older versions -Aa -D_HPUX_SOURCE
3652 # SVR4 -Xc -D__EXTENSIONS__
3653 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3655 CC="$ac_save_CC $ac_arg"
3656 rm -f conftest.$ac_objext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3658 (eval $ac_compile) 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } &&
3665 { ac_try='test -z "$ac_c_werror_flag"
3666 || test ! -s conftest.err'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; } &&
3672 { ac_try='test -s conftest.$ac_objext'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3678 ac_cv_prog_cc_stdc=$ac_arg
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.$ac_ext >&5
3685 rm -f conftest.err conftest.$ac_objext
3687 rm -f conftest.$ac_ext conftest.$ac_objext
3692 case "x$ac_cv_prog_cc_stdc" in
3694 echo "$as_me:$LINENO: result: none needed" >&5
3695 echo "${ECHO_T}none needed" >&6 ;;
3697 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3698 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3699 CC="$CC $ac_cv_prog_cc_stdc" ;;
3702 # Some people use a C++ compiler to compile C. Since we use `exit',
3703 # in C++ we need to declare it. In case someone uses the same compiler
3704 # for both compiling C and C++ we need to have the C++ compiler decide
3705 # the declaration of exit, since it's the most demanding environment.
3706 cat >conftest.$ac_ext <<_ACEOF
3711 rm -f conftest.$ac_objext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713 (eval $ac_compile) 2>conftest.er1
3715 grep -v '^ *+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try='test -z "$ac_c_werror_flag"
3721 || test ! -s conftest.err'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; } &&
3727 { ac_try='test -s conftest.$ac_objext'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; }; then
3733 for ac_declaration in \
3735 'extern "C" void std::exit (int) throw (); using std::exit;' \
3736 'extern "C" void std::exit (int); using std::exit;' \
3737 'extern "C" void exit (int) throw ();' \
3738 'extern "C" void exit (int);' \
3741 cat >conftest.$ac_ext <<_ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759 (eval $ac_compile) 2>conftest.er1
3761 grep -v '^ *+' conftest.er1 >conftest.err
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try='test -z "$ac_c_werror_flag"
3767 || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 cat >conftest.$ac_ext <<_ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>conftest.er1
3806 grep -v '^ *+' conftest.er1 >conftest.err
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try='test -z "$ac_c_werror_flag"
3812 || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3833 if test -n "$ac_declaration"; then
3834 echo '#ifdef __cplusplus' >>confdefs.h
3835 echo $ac_declaration >>confdefs.h
3836 echo '#endif' >>confdefs.h
3840 echo "$as_me: failed program was:" >&5
3841 sed 's/^/| /' conftest.$ac_ext >&5
3844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3851 depcc="$CC" am_compiler_list=
3853 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3855 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3859 # We make a subdir and do the tests there. Otherwise we can end up
3860 # making bogus files that we don't know about and never remove. For
3861 # instance it was reported that on HP-UX the gcc test will end up
3862 # making a dummy file named `D' -- because `-MD' means `put the output
3865 # Copy depcomp to subdir because otherwise we won't find it if we're
3866 # using a relative directory.
3867 cp "$am_depcomp" conftest.dir
3869 # We will build objects and dependencies in a subdirectory because
3870 # it helps to detect inapplicable dependency modes. For instance
3871 # both Tru64's cc and ICC support -MD to output dependencies as a
3872 # side effect of compilation, but ICC will put the dependencies in
3873 # the current directory while Tru64 will put them in the object
3877 am_cv_CC_dependencies_compiler_type=none
3878 if test "$am_compiler_list" = ""; then
3879 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3881 for depmode in $am_compiler_list; do
3882 # Setup a source with many dependencies, because some compilers
3883 # like to wrap large dependency lists on column 80 (with \), and
3884 # we should not choose a depcomp mode which is confused by this.
3886 # We need to recreate these files for each test, as the compiler may
3887 # overwrite some of them when testing with obscure command lines.
3888 # This happens at least with the AIX C compiler.
3890 for i in 1 2 3 4 5 6; do
3891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3893 # Solaris 8's {/usr,}/bin/sh.
3894 touch sub/conftst$i.h
3896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3900 # after this tag, mechanisms are not by side-effect, so they'll
3901 # only be used when explicitly requested
3902 if test "x$enable_dependency_tracking" = xyes; then
3910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3911 # mode. It turns out that the SunPro C++ compiler does not properly
3912 # handle `-M -o', and we need to detect this.
3913 if depmode=$depmode \
3914 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3916 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3917 >/dev/null 2>conftest.err &&
3918 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3919 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3920 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3921 # icc doesn't choke on unknown options, it will just issue warnings
3922 # or remarks (even with -Werror). So we grep stderr for any message
3923 # that says an option was ignored or not supported.
3924 # When given -MP, icc 7.0 and 7.1 complain thusly:
3925 # icc: Command line warning: ignoring option '-M'; no argument required
3926 # The diagnosis changed in icc 8.0:
3927 # icc: Command line remark: option '-MP' not supported
3928 if (grep 'ignoring option' conftest.err ||
3929 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3930 am_cv_CC_dependencies_compiler_type=$depmode
3939 am_cv_CC_dependencies_compiler_type=none
3943 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3944 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3945 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3950 test "x$enable_dependency_tracking" != xno \
3951 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3953 am__fastdepCC_FALSE='#'
3955 am__fastdepCC_TRUE='#'
3956 am__fastdepCC_FALSE=
3961 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3962 if test "${with_gnu_ld+set}" = set; then
3963 withval="$with_gnu_ld"
3964 test "$withval" = no || with_gnu_ld=yes
3969 if test "$GCC" = yes; then
3970 # Check if gcc -print-prog-name=ld gives a path.
3971 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3972 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3975 # gcc leaves a trailing carriage return which upsets mingw
3976 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3978 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3981 # Accept absolute paths.
3982 [\\/]* | [A-Za-z]:[\\/]*)
3983 re_direlt='/[^/][^/]*/\.\./'
3984 # Canonicalize the path of ld
3985 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3986 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3987 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3989 test -z "$LD" && LD="$ac_prog"
3992 # If it fails, then pretend we aren't using GCC.
3996 # If it is relative, then search for the first ld in PATH.
4000 elif test "$with_gnu_ld" = yes; then
4001 echo "$as_me:$LINENO: checking for GNU ld" >&5
4002 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4004 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4005 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4007 if test "${lt_cv_path_LD+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 if test -z "$LD"; then
4011 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4012 for ac_dir in $PATH; do
4013 test -z "$ac_dir" && ac_dir=.
4014 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4015 lt_cv_path_LD="$ac_dir/$ac_prog"
4016 # Check to see if the program is GNU ld. I'd rather use --version,
4017 # but apparently some GNU ld's only accept -v.
4018 # Break only if it was the GNU/non-GNU ld that we prefer.
4019 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4020 test "$with_gnu_ld" != no && break
4022 test "$with_gnu_ld" != yes && break
4028 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4033 if test -n "$LD"; then
4034 echo "$as_me:$LINENO: result: $LD" >&5
4035 echo "${ECHO_T}$LD" >&6
4037 echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4040 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4041 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4042 { (exit 1); exit 1; }; }
4043 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4044 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4045 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4049 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4050 lt_cv_prog_gnu_ld=yes
4052 lt_cv_prog_gnu_ld=no
4055 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4056 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4057 with_gnu_ld=$lt_cv_prog_gnu_ld
4060 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4061 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4062 if test "${lt_cv_ld_reload_flag+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 lt_cv_ld_reload_flag='-r'
4067 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4068 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4069 reload_flag=$lt_cv_ld_reload_flag
4070 test -n "$reload_flag" && reload_flag=" $reload_flag"
4072 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4073 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4074 if test "${lt_cv_path_NM+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 if test -n "$NM"; then
4078 # Let the user override the test.
4081 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4082 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4083 test -z "$ac_dir" && ac_dir=.
4084 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4085 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4086 # Check to see if the nm accepts a BSD-compat flag.
4087 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4088 # nm: unknown option "B" ignored
4089 # Tru64's nm complains that /dev/null is an invalid object file
4090 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4091 lt_cv_path_NM="$tmp_nm -B"
4093 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4094 lt_cv_path_NM="$tmp_nm -p"
4097 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4098 continue # so that we can try to find one that supports BSD flags
4103 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4108 echo "$as_me:$LINENO: result: $NM" >&5
4109 echo "${ECHO_T}$NM" >&6
4111 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4112 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4114 if test "$LN_S" = "ln -s"; then
4115 echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4118 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4119 echo "${ECHO_T}no, using $LN_S" >&6
4122 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4123 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4124 if test "${lt_cv_deplibs_check_method+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 lt_cv_file_magic_cmd='$MAGIC_CMD'
4128 lt_cv_file_magic_test_file=
4129 lt_cv_deplibs_check_method='unknown'
4130 # Need to set the preceding variable on all platforms that support
4131 # interlibrary dependencies.
4132 # 'none' -- dependencies not supported.
4133 # `unknown' -- same as none, but documents that we really don't know.
4134 # 'pass_all' -- all dependencies passed with no checks.
4135 # 'test_compile' -- check by making test program.
4136 # 'file_magic [regex]' -- check by looking for files in library path
4137 # which responds to the $file_magic_cmd with a given egrep regex.
4138 # If you have `file' or equivalent on your system and you're not sure
4139 # whether `pass_all' will *always* work, you probably want this one.
4143 lt_cv_deplibs_check_method=pass_all
4147 lt_cv_deplibs_check_method=pass_all
4151 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4152 lt_cv_file_magic_cmd='/usr/bin/file -L'
4153 lt_cv_file_magic_test_file=/shlib/libc.so
4156 cygwin* | mingw* |pw32*)
4157 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4158 lt_cv_file_magic_cmd='$OBJDUMP -f'
4161 darwin* | rhapsody*)
4162 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4163 lt_cv_file_magic_cmd='/usr/bin/file -L'
4165 rhapsody* | darwin1.012)
4166 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4169 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4175 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4178 # Not sure whether the presence of OpenBSD here was a mistake.
4179 # Let's accept both of them until this is cleared up.
4180 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4181 lt_cv_file_magic_cmd=/usr/bin/file
4182 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4186 lt_cv_deplibs_check_method=pass_all
4191 lt_cv_deplibs_check_method=pass_all
4197 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4198 lt_cv_file_magic_cmd=/usr/bin/file
4199 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4202 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4203 lt_cv_file_magic_cmd=/usr/bin/file
4204 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4212 # this will be overridden with pass_all, but let us keep it just in case
4213 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4217 *-32|*"-32 ") libmagic=32-bit;;
4218 *-n32|*"-n32 ") libmagic=N32;;
4219 *-64|*"-64 ") libmagic=64-bit;;
4220 *) libmagic=never-match;;
4222 # this will be overridden with pass_all, but let us keep it just in case
4223 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4226 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4227 lt_cv_deplibs_check_method=pass_all
4230 # This must be Linux ELF.
4231 linux-gnu*|linux-newlib*)
4233 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4234 lt_cv_deplibs_check_method=pass_all ;;
4236 # glibc up to 2.1.1 does not perform some relocations on ARM
4237 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4239 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4243 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4244 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4246 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4251 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4252 lt_cv_file_magic_cmd=/usr/bin/file
4253 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4256 osf3* | osf4* | osf5*)
4257 # this will be overridden with pass_all, but let us keep it just in case
4258 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4259 lt_cv_file_magic_test_file=/shlib/libc.so
4260 lt_cv_deplibs_check_method=pass_all
4264 lt_cv_deplibs_check_method=pass_all
4268 lt_cv_deplibs_check_method=pass_all
4269 lt_cv_file_magic_test_file=/lib/libc.so
4272 sysv5uw[78]* | sysv4*uw2*)
4273 lt_cv_deplibs_check_method=pass_all
4276 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4277 case $host_vendor in
4279 lt_cv_deplibs_check_method=pass_all
4282 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]'
4283 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4290 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4291 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4292 file_magic_cmd=$lt_cv_file_magic_cmd
4293 deplibs_check_method=$lt_cv_deplibs_check_method
4298 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4300 # Only perform the check for file, if the check method requires it
4301 case $deplibs_check_method in
4303 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4304 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4305 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4317 ac_save_MAGIC_CMD="$MAGIC_CMD"
4318 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4319 ac_dummy="/usr/bin:$PATH"
4320 for ac_dir in $ac_dummy; do
4321 test -z "$ac_dir" && ac_dir=.
4322 if test -f $ac_dir/${ac_tool_prefix}file; then
4323 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4324 if test -n "$file_magic_test_file"; then
4325 case $deplibs_check_method in
4327 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4328 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4329 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4330 egrep "$file_magic_regex" > /dev/null; then
4335 *** Warning: the command libtool uses to detect shared libraries,
4336 *** $file_magic_cmd, produces output that libtool cannot recognize.
4337 *** The result is that libtool may fail to recognize shared libraries
4338 *** as such. This will affect the creation of libtool libraries that
4339 *** depend on shared libraries, but programs linked with such libtool
4340 *** libraries will work regardless of this problem. Nevertheless, you
4341 *** may want to report the problem to your system manager and/or to
4342 *** bug-libtool@gnu.org
4352 MAGIC_CMD="$ac_save_MAGIC_CMD"
4357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4358 if test -n "$MAGIC_CMD"; then
4359 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4360 echo "${ECHO_T}$MAGIC_CMD" >&6
4362 echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6
4366 if test -z "$lt_cv_path_MAGIC_CMD"; then
4367 if test -n "$ac_tool_prefix"; then
4368 echo "$as_me:$LINENO: checking for file" >&5
4369 echo $ECHO_N "checking for file... $ECHO_C" >&6
4370 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4378 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4381 ac_save_MAGIC_CMD="$MAGIC_CMD"
4382 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4383 ac_dummy="/usr/bin:$PATH"
4384 for ac_dir in $ac_dummy; do
4385 test -z "$ac_dir" && ac_dir=.
4386 if test -f $ac_dir/file; then
4387 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4388 if test -n "$file_magic_test_file"; then
4389 case $deplibs_check_method in
4391 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4392 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4393 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4394 egrep "$file_magic_regex" > /dev/null; then
4399 *** Warning: the command libtool uses to detect shared libraries,
4400 *** $file_magic_cmd, produces output that libtool cannot recognize.
4401 *** The result is that libtool may fail to recognize shared libraries
4402 *** as such. This will affect the creation of libtool libraries that
4403 *** depend on shared libraries, but programs linked with such libtool
4404 *** libraries will work regardless of this problem. Nevertheless, you
4405 *** may want to report the problem to your system manager and/or to
4406 *** bug-libtool@gnu.org
4416 MAGIC_CMD="$ac_save_MAGIC_CMD"
4421 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4422 if test -n "$MAGIC_CMD"; then
4423 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4424 echo "${ECHO_T}$MAGIC_CMD" >&6
4426 echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4439 if test -n "$ac_tool_prefix"; then
4440 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4441 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4442 echo "$as_me:$LINENO: checking for $ac_word" >&5
4443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4444 if test "${ac_cv_prog_RANLIB+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 if test -n "$RANLIB"; then
4448 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 RANLIB=$ac_cv_prog_RANLIB
4467 if test -n "$RANLIB"; then
4468 echo "$as_me:$LINENO: result: $RANLIB" >&5
4469 echo "${ECHO_T}$RANLIB" >&6
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4476 if test -z "$ac_cv_prog_RANLIB"; then
4477 ac_ct_RANLIB=$RANLIB
4478 # Extract the first word of "ranlib", so it can be a program name with args.
4479 set dummy ranlib; ac_word=$2
4480 echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4482 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 if test -n "$ac_ct_RANLIB"; then
4486 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_ac_ct_RANLIB="ranlib"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4505 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4506 if test -n "$ac_ct_RANLIB"; then
4507 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4508 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4514 RANLIB=$ac_ct_RANLIB
4516 RANLIB="$ac_cv_prog_RANLIB"
4519 if test -n "$ac_tool_prefix"; then
4520 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4521 set dummy ${ac_tool_prefix}strip; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_STRIP+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 if test -n "$STRIP"; then
4528 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 STRIP=$ac_cv_prog_STRIP
4547 if test -n "$STRIP"; then
4548 echo "$as_me:$LINENO: result: $STRIP" >&5
4549 echo "${ECHO_T}$STRIP" >&6
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4556 if test -z "$ac_cv_prog_STRIP"; then
4558 # Extract the first word of "strip", so it can be a program name with args.
4559 set dummy strip; ac_word=$2
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4562 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 if test -n "$ac_ct_STRIP"; then
4566 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_ac_ct_STRIP="strip"
4576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4586 if test -n "$ac_ct_STRIP"; then
4587 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4588 echo "${ECHO_T}$ac_ct_STRIP" >&6
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4596 STRIP="$ac_cv_prog_STRIP"
4600 # Check for any special flags to pass to ltconfig.
4601 libtool_flags="--cache-file=$cache_file"
4602 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4603 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4604 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4605 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4606 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4609 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4610 if test "${enable_libtool_lock+set}" = set; then
4611 enableval="$enable_libtool_lock"
4614 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4615 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4618 # Check whether --with-pic or --without-pic was given.
4619 if test "${with_pic+set}" = set; then
4625 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4626 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4628 # Some flags need to be propagated to the compiler or linker for good
4632 # Find out which ABI we are using.
4633 echo '#line 4633 "configure"' > conftest.$ac_ext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; then
4639 case `/usr/bin/file conftest.$ac_objext` in
4655 # Find out which ABI we are using.
4656 echo 'int i;' > conftest.$ac_ext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; then
4662 case "`/usr/bin/file conftest.o`" in
4675 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4676 SAVE_CFLAGS="$CFLAGS"
4677 CFLAGS="$CFLAGS -belf"
4678 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4679 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4680 if test "${lt_cv_cc_needs_belf+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4691 cat >conftest.$ac_ext <<_ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h. */
4706 rm -f conftest.$ac_objext conftest$ac_exeext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4708 (eval $ac_link) 2>conftest.er1
4710 grep -v '^ *+' conftest.er1 >conftest.err
4712 cat conftest.err >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } &&
4715 { ac_try='test -z "$ac_c_werror_flag"
4716 || test ! -s conftest.err'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; } &&
4722 { ac_try='test -s conftest$ac_exeext'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; }; then
4728 lt_cv_cc_needs_belf=yes
4730 echo "$as_me: failed program was:" >&5
4731 sed 's/^/| /' conftest.$ac_ext >&5
4733 lt_cv_cc_needs_belf=no
4735 rm -f conftest.err conftest.$ac_objext \
4736 conftest$ac_exeext conftest.$ac_ext
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4745 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4746 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4747 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4748 CFLAGS="$SAVE_CFLAGS"
4756 # Save cache, so that ltconfig can load it
4757 cat >confcache <<\_ACEOF
4758 # This file is a shell script that caches the results of configure
4759 # tests run on this system so they can be shared between configure
4760 # scripts and configure runs, see configure's option --config-cache.
4761 # It is not useful on other systems. If it contains results you don't
4762 # want to keep, you may remove or edit it.
4764 # config.status only pays attention to the cache file if you give it
4765 # the --recheck option to rerun configure.
4767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4773 # The following way of writing the cache mishandles newlines in values,
4774 # but we know of no workaround that is simple, portable, and efficient.
4775 # So, don't put newlines in cache variables' values.
4776 # Ultrix sh set writes to stderr and can't be redirected directly,
4777 # and sets the high bit in the cache file unless we assign to the vars.
4780 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4782 # `set' does not quote correctly, so add quotes (double-quote
4783 # substitution turns \\\\ into \\, and sed turns \\ into \).
4786 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4789 # `set' quotes correctly as required by POSIX, so do not add quotes.
4791 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4798 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4800 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4802 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4803 if test -w $cache_file; then
4804 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4805 cat confcache >$cache_file
4807 echo "not updating unwritable cache $cache_file"
4812 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4813 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4814 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4815 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4816 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4817 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4818 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4819 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4820 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4821 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4822 echo "$as_me: error: libtool configure failed" >&2;}
4823 { (exit 1); exit 1; }; }
4825 # Reload cache, that may have been modified by ltconfig
4826 if test -r "$cache_file"; then
4827 # Some versions of bash will fail to source /dev/null (special
4828 # files actually), so we avoid doing that.
4829 if test -f "$cache_file"; then
4830 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4831 echo "$as_me: loading cache $cache_file" >&6;}
4833 [\\/]* | ?:[\\/]* ) . $cache_file;;
4834 *) . ./$cache_file;;
4838 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4839 echo "$as_me: creating cache $cache_file" >&6;}
4844 # This can be used to rebuild libtool when needed
4845 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4847 # Always use our own libtool.
4848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4850 # Redirect the config.log output again, so that the ltconfig log is not
4851 # clobbered by the next message.
4852 exec 5>>./config.log
4859 for ac_prog in gawk mawk nawk awk
4861 # Extract the first word of "$ac_prog", so it can be a program name with args.
4862 set dummy $ac_prog; ac_word=$2
4863 echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4865 if test "${ac_cv_prog_AWK+set}" = set; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 if test -n "$AWK"; then
4869 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 test -z "$as_dir" && as_dir=.
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878 ac_cv_prog_AWK="$ac_prog"
4879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 if test -n "$AWK"; then
4889 echo "$as_me:$LINENO: result: $AWK" >&5
4890 echo "${ECHO_T}$AWK" >&6
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4896 test -n "$AWK" && break
4902 if test -n "${machine_dir}"; then
4903 if test "${use_libtool}" = "yes"; then
4904 LINUX_MACH_LIB=machine/${machine_dir}/liblinux${machine_dir}.${aext}
4906 LINUX_MACH_LIB=machine/lib.${aext}
4916 subdirs="$subdirs machine"
4919 if test "${newlib_multithread}" = "yes"; then
4922 subdirs="$subdirs linuxthreads"
4925 if test "x${newlib_elix_level}" = "x1"; then
4926 EXTRA_SUBDIRS=linuxthreads net
4928 EXTRA_SUBDIRS="linuxthreads net intl stdlib iconv dl"
4929 EXTRA_SUBLIBS="net/libnet.la intl/libintl.la stdlib/libstdlib.la iconv/libiconv.la dl/libdl.la"
4935 ac_config_files="$ac_config_files Makefile intl/Makefile net/Makefile stdlib/Makefile iconv/Makefile dl/Makefile cmath/Makefile argp/Makefile"
4937 cat >confcache <<\_ACEOF
4938 # This file is a shell script that caches the results of configure
4939 # tests run on this system so they can be shared between configure
4940 # scripts and configure runs, see configure's option --config-cache.
4941 # It is not useful on other systems. If it contains results you don't
4942 # want to keep, you may remove or edit it.
4944 # config.status only pays attention to the cache file if you give it
4945 # the --recheck option to rerun configure.
4947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4953 # The following way of writing the cache mishandles newlines in values,
4954 # but we know of no workaround that is simple, portable, and efficient.
4955 # So, don't put newlines in cache variables' values.
4956 # Ultrix sh set writes to stderr and can't be redirected directly,
4957 # and sets the high bit in the cache file unless we assign to the vars.
4960 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4962 # `set' does not quote correctly, so add quotes (double-quote
4963 # substitution turns \\\\ into \\, and sed turns \\ into \).
4966 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4969 # `set' quotes correctly as required by POSIX, so do not add quotes.
4971 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4978 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4980 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4982 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4983 if test -w $cache_file; then
4984 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4985 cat confcache >$cache_file
4987 echo "not updating unwritable cache $cache_file"
4992 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4993 # Let make expand exec_prefix.
4994 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4996 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4997 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4998 # trailing colons and then remove the whole line if VPATH becomes empty
4999 # (actually we leave an empty line to preserve line numbers).
5000 if test "x$srcdir" = x.; then
5001 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5002 s/:*\$(srcdir):*/:/;
5003 s/:*\${srcdir}:*/:/;
5005 s/^\([^=]*=[ ]*\):*/\1/;
5011 # Transform confdefs.h into DEFS.
5012 # Protect against shell expansion while executing Makefile rules.
5013 # Protect against Makefile macro expansion.
5015 # If the first sed substitution is executed (which looks for macros that
5016 # take arguments), then we branch to the quote section. Otherwise,
5017 # look for a macro that doesn't take arguments.
5018 cat >confdef2opt.sed <<\_ACEOF
5021 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5023 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5027 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5033 # We use echo to avoid assuming a particular line-breaking character.
5034 # The extra dot is to prevent the shell from consuming trailing
5035 # line-breaks from the sub-command output. A line-break within
5036 # single-quotes doesn't work because, if this script is created in a
5037 # platform that uses two characters for line-breaks (e.g., DOS), tr
5039 ac_LF_and_DOT=`echo; echo .`
5040 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5041 rm -f confdef2opt.sed
5046 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5047 # 1. Remove the extension, and $U if already installed.
5048 ac_i=`echo "$ac_i" |
5049 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5051 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5052 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5056 LTLIBOBJS=$ac_ltlibobjs
5059 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5060 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5061 Usually this means the macro was only invoked conditionally." >&5
5062 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5063 Usually this means the macro was only invoked conditionally." >&2;}
5064 { (exit 1); exit 1; }; }
5066 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5067 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5068 Usually this means the macro was only invoked conditionally." >&5
5069 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5070 Usually this means the macro was only invoked conditionally." >&2;}
5071 { (exit 1); exit 1; }; }
5073 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5074 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5075 Usually this means the macro was only invoked conditionally." >&5
5076 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5077 Usually this means the macro was only invoked conditionally." >&2;}
5078 { (exit 1); exit 1; }; }
5080 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5081 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5082 Usually this means the macro was only invoked conditionally." >&5
5083 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5084 Usually this means the macro was only invoked conditionally." >&2;}
5085 { (exit 1); exit 1; }; }
5087 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5088 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5089 Usually this means the macro was only invoked conditionally." >&5
5090 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5091 Usually this means the macro was only invoked conditionally." >&2;}
5092 { (exit 1); exit 1; }; }
5094 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5095 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5096 Usually this means the macro was only invoked conditionally." >&5
5097 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5098 Usually this means the macro was only invoked conditionally." >&2;}
5099 { (exit 1); exit 1; }; }
5101 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5102 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5103 Usually this means the macro was only invoked conditionally." >&5
5104 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5105 Usually this means the macro was only invoked conditionally." >&2;}
5106 { (exit 1); exit 1; }; }
5108 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5109 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5110 Usually this means the macro was only invoked conditionally." >&5
5111 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5112 Usually this means the macro was only invoked conditionally." >&2;}
5113 { (exit 1); exit 1; }; }
5115 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5116 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5117 Usually this means the macro was only invoked conditionally." >&5
5118 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5119 Usually this means the macro was only invoked conditionally." >&2;}
5120 { (exit 1); exit 1; }; }
5122 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5123 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5124 Usually this means the macro was only invoked conditionally." >&5
5125 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5126 Usually this means the macro was only invoked conditionally." >&2;}
5127 { (exit 1); exit 1; }; }
5129 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5130 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5131 Usually this means the macro was only invoked conditionally." >&5
5132 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5133 Usually this means the macro was only invoked conditionally." >&2;}
5134 { (exit 1); exit 1; }; }
5137 : ${CONFIG_STATUS=./config.status}
5138 ac_clean_files_save=$ac_clean_files
5139 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5140 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5141 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5142 cat >$CONFIG_STATUS <<_ACEOF
5144 # Generated by $as_me.
5145 # Run this file to recreate the current configuration.
5146 # Compiler output produced by configure, useful for debugging
5147 # configure, is in config.log if it exists.
5152 SHELL=\${CONFIG_SHELL-$SHELL}
5155 cat >>$CONFIG_STATUS <<\_ACEOF
5156 ## --------------------- ##
5157 ## M4sh Initialization. ##
5158 ## --------------------- ##
5160 # Be Bourne compatible
5161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5164 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5165 # is contrary to our usage. Disable this feature.
5166 alias -g '${1+"$@"}'='"$@"'
5167 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5170 DUALCASE=1; export DUALCASE # for MKS sh
5172 # Support unset when possible.
5173 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5180 # Work around bugs in pre-3.0 UWIN ksh.
5181 $as_unset ENV MAIL MAILPATH
5188 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5189 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5190 LC_TELEPHONE LC_TIME
5192 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5193 eval $as_var=C; export $as_var
5199 # Required to use basename.
5200 if expr a : '\(a\)' >/dev/null 2>&1; then
5206 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5207 as_basename=basename
5213 # Name of the executable.
5214 as_me=`$as_basename "$0" ||
5215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5216 X"$0" : 'X\(//\)$' \| \
5217 X"$0" : 'X\(/\)$' \| \
5218 . : '\(.\)' 2>/dev/null ||
5220 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5221 /^X\/\(\/\/\)$/{ s//\1/; q; }
5222 /^X\/\(\/\).*/{ s//\1/; q; }
5226 # PATH needs CR, and LINENO needs CR and PATH.
5227 # Avoid depending upon Character Ranges.
5228 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5229 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5230 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5231 as_cr_digits='0123456789'
5232 as_cr_alnum=$as_cr_Letters$as_cr_digits
5234 # The user is always right.
5235 if test "${PATH_SEPARATOR+set}" != set; then
5236 echo "#! /bin/sh" >conf$$.sh
5237 echo "exit 0" >>conf$$.sh
5239 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5250 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5251 test "x$as_lineno_1" != "x$as_lineno_2" &&
5252 test "x$as_lineno_3" = "x$as_lineno_2" || {
5253 # Find who we are. Look in the path if we contain no path at all
5256 *[\\/]* ) as_myself=$0 ;;
5257 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir=.
5262 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5267 # We did not find ourselves, most probably we were run as `sh COMMAND'
5268 # in which case we are not to be found in the path.
5269 if test "x$as_myself" = x; then
5272 if test ! -f "$as_myself"; then
5273 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5274 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5275 { (exit 1); exit 1; }; }
5277 case $CONFIG_SHELL in
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5283 test -z "$as_dir" && as_dir=.
5284 for as_base in sh bash ksh sh5; do
5287 if ("$as_dir/$as_base" -c '
5290 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5291 test "x$as_lineno_1" != "x$as_lineno_2" &&
5292 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5293 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5294 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5295 CONFIG_SHELL=$as_dir/$as_base
5297 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5305 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5306 # uniformly replaced by the line number. The first 'sed' inserts a
5307 # line-number line before each line; the second 'sed' does the real
5308 # work. The second script uses 'N' to pair each line-number line
5309 # with the numbered line, and appends trailing '-' during
5310 # substitution so that $LINENO is not a special case at line end.
5311 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5312 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5313 sed '=' <$as_myself |
5318 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5321 s,^['$as_cr_digits']*\n,,
5323 chmod +x $as_me.lineno ||
5324 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5325 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5326 { (exit 1); exit 1; }; }
5328 # Don't try to exec as it changes $[0], causing all sort of problems
5329 # (the dirname of $[0] is not the place where we might find the
5330 # original and so on. Autoconf is especially sensible to this).
5332 # Exit status is that of the last command.
5337 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5338 *c*,-n*) ECHO_N= ECHO_C='
5340 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5341 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5344 if expr a : '\(a\)' >/dev/null 2>&1; then
5350 rm -f conf$$ conf$$.exe conf$$.file
5352 if ln -s conf$$.file conf$$ 2>/dev/null; then
5353 # We could just check for DJGPP; but this test a) works b) is more generic
5354 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5355 if test -f conf$$.exe; then
5356 # Don't use ln at all; we don't have any links
5361 elif ln conf$$.file conf$$ 2>/dev/null; then
5366 rm -f conf$$ conf$$.exe conf$$.file
5368 if mkdir -p . 2>/dev/null; then
5371 test -d ./-p && rmdir ./-p
5375 as_executable_p="test -f"
5377 # Sed expression to map a string onto a valid CPP name.
5378 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5380 # Sed expression to map a string onto a valid variable name.
5381 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5385 # We need space, tab and new line, in precisely that order.
5395 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5396 # report actual input values of CONFIG_FILES etc. instead of their
5397 # values after options handling. Logging --version etc. is OK.
5401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5402 ## Running $as_me. ##
5407 This file was extended by newlib $as_me 1.14.0, which was
5408 generated by GNU Autoconf 2.59. Invocation command line was
5410 CONFIG_FILES = $CONFIG_FILES
5411 CONFIG_HEADERS = $CONFIG_HEADERS
5412 CONFIG_LINKS = $CONFIG_LINKS
5413 CONFIG_COMMANDS = $CONFIG_COMMANDS
5417 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5421 # Files that config.status was made for.
5422 if test -n "$ac_config_files"; then
5423 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5426 if test -n "$ac_config_headers"; then
5427 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5430 if test -n "$ac_config_links"; then
5431 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5434 if test -n "$ac_config_commands"; then
5435 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5438 cat >>$CONFIG_STATUS <<\_ACEOF
5441 \`$as_me' instantiates files from templates according to the
5442 current configuration.
5444 Usage: $0 [OPTIONS] [FILE]...
5446 -h, --help print this help, then exit
5447 -V, --version print version number, then exit
5448 -q, --quiet do not print progress messages
5449 -d, --debug don't remove temporary files
5450 --recheck update $as_me by reconfiguring in the same conditions
5451 --file=FILE[:TEMPLATE]
5452 instantiate the configuration file FILE
5454 Configuration files:
5457 Configuration commands:
5460 Report bugs to <bug-autoconf@gnu.org>."
5463 cat >>$CONFIG_STATUS <<_ACEOF
5465 newlib config.status 1.14.0
5466 configured by $0, generated by GNU Autoconf 2.59,
5467 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5469 Copyright (C) 2003 Free Software Foundation, Inc.
5470 This config.status script is free software; the Free Software Foundation
5471 gives unlimited permission to copy, distribute and modify it."
5476 cat >>$CONFIG_STATUS <<\_ACEOF
5477 # If no file are specified by the user, then we need to provide default
5478 # value. By we need to know if files were specified by the user.
5484 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5485 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5493 *) # This is not an option, so the user has probably given explicit
5496 ac_need_defaults=false;;
5500 # Handling of the options.
5502 cat >>$CONFIG_STATUS <<\_ACEOF
5503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5505 --version | --vers* | -V )
5506 echo "$ac_cs_version"; exit 0 ;;
5508 # Conflict between --help and --header
5509 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5510 Try \`$0 --help' for more information." >&5
5511 echo "$as_me: error: ambiguous option: $1
5512 Try \`$0 --help' for more information." >&2;}
5513 { (exit 1); exit 1; }; };;
5514 --help | --hel | -h )
5515 echo "$ac_cs_usage"; exit 0 ;;
5516 --debug | --d* | -d )
5518 --file | --fil | --fi | --f )
5520 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5521 ac_need_defaults=false;;
5522 --header | --heade | --head | --hea )
5524 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5525 ac_need_defaults=false;;
5526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5531 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5532 Try \`$0 --help' for more information." >&5
5533 echo "$as_me: error: unrecognized option: $1
5534 Try \`$0 --help' for more information." >&2;}
5535 { (exit 1); exit 1; }; } ;;
5537 *) ac_config_targets="$ac_config_targets $1" ;;
5543 ac_configure_extra_args=
5545 if $ac_cs_silent; then
5547 ac_configure_extra_args="$ac_configure_extra_args --silent"
5551 cat >>$CONFIG_STATUS <<_ACEOF
5552 if \$ac_cs_recheck; then
5553 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5554 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5559 cat >>$CONFIG_STATUS <<_ACEOF
5561 # INIT-COMMANDS section.
5564 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5570 cat >>$CONFIG_STATUS <<\_ACEOF
5571 for ac_config_target in $ac_config_targets
5573 case "$ac_config_target" in
5574 # Handling of arguments.
5575 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5576 "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
5577 "net/Makefile" ) CONFIG_FILES="$CONFIG_FILES net/Makefile" ;;
5578 "stdlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES stdlib/Makefile" ;;
5579 "iconv/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/Makefile" ;;
5580 "dl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dl/Makefile" ;;
5581 "cmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES cmath/Makefile" ;;
5582 "argp/Makefile" ) CONFIG_FILES="$CONFIG_FILES argp/Makefile" ;;
5583 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5586 { (exit 1); exit 1; }; };;
5590 # If the user did not use the arguments to specify the items to instantiate,
5591 # then the envvar interface is used. Set only those that are not.
5592 # We use the long form for the default assignment because of an extremely
5593 # bizarre bug on SunOS 4.1.3.
5594 if $ac_need_defaults; then
5595 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5596 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5599 # Have a temporary directory for convenience. Make it in the build tree
5600 # simply because there is no reason to put it here, and in addition,
5601 # creating and moving files from /tmp can sometimes cause problems.
5602 # Create a temporary directory, and hook for its removal unless debugging.
5605 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5606 trap '{ (exit 1); exit 1; }' 1 2 13 15
5609 # Create a (secure) tmp directory for tmp files.
5612 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5613 test -n "$tmp" && test -d "$tmp"
5616 tmp=./confstat$$-$RANDOM
5617 (umask 077 && mkdir $tmp)
5620 echo "$me: cannot create a temporary directory in ." >&2
5621 { (exit 1); exit 1; }
5626 cat >>$CONFIG_STATUS <<_ACEOF
5629 # CONFIG_FILES section.
5632 # No need to generate the scripts if there are no CONFIG_FILES.
5633 # This happens for instance when ./config.status config.h
5634 if test -n "\$CONFIG_FILES"; then
5635 # Protect against being on the right side of a sed subst in config.status.
5636 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5637 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5638 s,@SHELL@,$SHELL,;t t
5639 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5640 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5641 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5642 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5643 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5644 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5645 s,@exec_prefix@,$exec_prefix,;t t
5646 s,@prefix@,$prefix,;t t
5647 s,@program_transform_name@,$program_transform_name,;t t
5648 s,@bindir@,$bindir,;t t
5649 s,@sbindir@,$sbindir,;t t
5650 s,@libexecdir@,$libexecdir,;t t
5651 s,@datadir@,$datadir,;t t
5652 s,@sysconfdir@,$sysconfdir,;t t
5653 s,@sharedstatedir@,$sharedstatedir,;t t
5654 s,@localstatedir@,$localstatedir,;t t
5655 s,@libdir@,$libdir,;t t
5656 s,@includedir@,$includedir,;t t
5657 s,@oldincludedir@,$oldincludedir,;t t
5658 s,@infodir@,$infodir,;t t
5659 s,@mandir@,$mandir,;t t
5660 s,@build_alias@,$build_alias,;t t
5661 s,@host_alias@,$host_alias,;t t
5662 s,@target_alias@,$target_alias,;t t
5664 s,@ECHO_C@,$ECHO_C,;t t
5665 s,@ECHO_N@,$ECHO_N,;t t
5666 s,@ECHO_T@,$ECHO_T,;t t
5668 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5669 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5670 s,@newlib_basedir@,$newlib_basedir,;t t
5671 s,@build@,$build,;t t
5672 s,@build_cpu@,$build_cpu,;t t
5673 s,@build_vendor@,$build_vendor,;t t
5674 s,@build_os@,$build_os,;t t
5676 s,@host_cpu@,$host_cpu,;t t
5677 s,@host_vendor@,$host_vendor,;t t
5678 s,@host_os@,$host_os,;t t
5679 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5680 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5681 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5682 s,@CYGPATH_W@,$CYGPATH_W,;t t
5683 s,@PACKAGE@,$PACKAGE,;t t
5684 s,@VERSION@,$VERSION,;t t
5685 s,@ACLOCAL@,$ACLOCAL,;t t
5686 s,@AUTOCONF@,$AUTOCONF,;t t
5687 s,@AUTOMAKE@,$AUTOMAKE,;t t
5688 s,@AUTOHEADER@,$AUTOHEADER,;t t
5689 s,@MAKEINFO@,$MAKEINFO,;t t
5690 s,@install_sh@,$install_sh,;t t
5691 s,@STRIP@,$STRIP,;t t
5692 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5693 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5694 s,@mkdir_p@,$mkdir_p,;t t
5696 s,@SET_MAKE@,$SET_MAKE,;t t
5697 s,@am__leading_dot@,$am__leading_dot,;t t
5698 s,@AMTAR@,$AMTAR,;t t
5699 s,@am__tar@,$am__tar,;t t
5700 s,@am__untar@,$am__untar,;t t
5702 s,@DEPDIR@,$DEPDIR,;t t
5703 s,@am__include@,$am__include,;t t
5704 s,@am__quote@,$am__quote,;t t
5705 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5706 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5707 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5708 s,@CCDEPMODE@,$CCDEPMODE,;t t
5709 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5710 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5712 s,@ac_ct_AS@,$ac_ct_AS,;t t
5714 s,@ac_ct_AR@,$ac_ct_AR,;t t
5715 s,@RANLIB@,$RANLIB,;t t
5716 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5717 s,@READELF@,$READELF,;t t
5718 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
5719 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5720 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5721 s,@MAINT@,$MAINT,;t t
5723 s,@CCASFLAGS@,$CCASFLAGS,;t t
5724 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5725 s,@LDFLAGS@,$LDFLAGS,;t t
5726 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5727 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5728 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5729 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5730 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5731 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5732 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5733 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5734 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5735 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5736 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5737 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5738 s,@OBJEXT@,$OBJEXT,;t t
5742 s,@libm_machine_dir@,$libm_machine_dir,;t t
5743 s,@machine_dir@,$machine_dir,;t t
5744 s,@sys_dir@,$sys_dir,;t t
5745 s,@CFLAGS@,$CFLAGS,;t t
5746 s,@CPPFLAGS@,$CPPFLAGS,;t t
5747 s,@ac_ct_CC@,$ac_ct_CC,;t t
5748 s,@EXEEXT@,$EXEEXT,;t t
5750 s,@LIBTOOL@,$LIBTOOL,;t t
5751 s,@LINUX_MACH_LIB@,$LINUX_MACH_LIB,;t t
5752 s,@subdirs@,$subdirs,;t t
5753 s,@EXTRA_SUBDIRS@,$EXTRA_SUBDIRS,;t t
5754 s,@EXTRA_SUBLIBS@,$EXTRA_SUBLIBS,;t t
5755 s,@LIBOBJS@,$LIBOBJS,;t t
5756 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5761 cat >>$CONFIG_STATUS <<\_ACEOF
5762 # Split the substitutions into bite-sized pieces for seds with
5763 # small command number limits, like on Digital OSF/1 and HP-UX.
5765 ac_sed_frag=1 # Number of current file.
5766 ac_beg=1 # First line for current file.
5767 ac_end=$ac_max_sed_lines # Line after last line for current file.
5770 while $ac_more_lines; do
5771 if test $ac_beg -gt 1; then
5772 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5774 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5776 if test ! -s $tmp/subs.frag; then
5779 # The purpose of the label and of the branching condition is to
5780 # speed up the sed processing (if there are no `@' at all, there
5781 # is no need to browse any of the substitutions).
5782 # These are the two extra sed commands mentioned above.
5784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5785 if test -z "$ac_sed_cmds"; then
5786 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5788 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5790 ac_sed_frag=`expr $ac_sed_frag + 1`
5792 ac_end=`expr $ac_end + $ac_max_sed_lines`
5795 if test -z "$ac_sed_cmds"; then
5798 fi # test -n "$CONFIG_FILES"
5801 cat >>$CONFIG_STATUS <<\_ACEOF
5802 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5803 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5805 - | *:- | *:-:* ) # input from stdin
5807 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5808 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5809 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5810 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5811 * ) ac_file_in=$ac_file.in ;;
5814 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5815 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5817 X"$ac_file" : 'X\(//\)[^/]' \| \
5818 X"$ac_file" : 'X\(//\)$' \| \
5819 X"$ac_file" : 'X\(/\)' \| \
5820 . : '\(.\)' 2>/dev/null ||
5822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5823 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5824 /^X\(\/\/\)$/{ s//\1/; q; }
5825 /^X\(\/\).*/{ s//\1/; q; }
5827 { if $as_mkdir_p; then
5832 while test ! -d "$as_dir"; do
5833 as_dirs="$as_dir $as_dirs"
5834 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5836 X"$as_dir" : 'X\(//\)[^/]' \| \
5837 X"$as_dir" : 'X\(//\)$' \| \
5838 X"$as_dir" : 'X\(/\)' \| \
5839 . : '\(.\)' 2>/dev/null ||
5841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5843 /^X\(\/\/\)$/{ s//\1/; q; }
5844 /^X\(\/\).*/{ s//\1/; q; }
5847 test ! -n "$as_dirs" || mkdir $as_dirs
5848 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5849 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5850 { (exit 1); exit 1; }; }; }
5854 if test "$ac_dir" != .; then
5855 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5856 # A "../" for each directory in $ac_dir_suffix.
5857 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5859 ac_dir_suffix= ac_top_builddir=
5863 .) # No --srcdir option. We are building in place.
5865 if test -z "$ac_top_builddir"; then
5868 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5870 [\\/]* | ?:[\\/]* ) # Absolute path.
5871 ac_srcdir=$srcdir$ac_dir_suffix;
5872 ac_top_srcdir=$srcdir ;;
5874 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5875 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5878 # Do not use `cd foo && pwd` to compute absolute paths, because
5879 # the directories may not exist.
5881 .) ac_abs_builddir="$ac_dir";;
5884 .) ac_abs_builddir=`pwd`;;
5885 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5886 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5889 case $ac_abs_builddir in
5890 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5892 case ${ac_top_builddir}. in
5893 .) ac_abs_top_builddir=$ac_abs_builddir;;
5894 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5895 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5898 case $ac_abs_builddir in
5899 .) ac_abs_srcdir=$ac_srcdir;;
5902 .) ac_abs_srcdir=$ac_abs_builddir;;
5903 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5904 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5907 case $ac_abs_builddir in
5908 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5910 case $ac_top_srcdir in
5911 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5912 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5913 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5919 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5920 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5923 if test x"$ac_file" != x-; then
5924 { echo "$as_me:$LINENO: creating $ac_file" >&5
5925 echo "$as_me: creating $ac_file" >&6;}
5928 # Let's still pretend it is `configure' which instantiates (i.e., don't
5929 # use $as_me), people would be surprised to read:
5930 # /* config.h. Generated by config.status. */
5931 if test x"$ac_file" = x-; then
5934 configure_input="$ac_file. "
5936 configure_input=$configure_input"Generated from `echo $ac_file_in |
5937 sed 's,.*/,,'` by configure."
5939 # First look for the input files in the build tree, otherwise in the
5941 ac_file_inputs=`IFS=:
5942 for f in $ac_file_in; do
5944 -) echo $tmp/stdin ;;
5946 # Absolute (can't be DOS-style, as IFS=:)
5947 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5948 echo "$as_me: error: cannot find input file: $f" >&2;}
5949 { (exit 1); exit 1; }; }
5952 if test -f "$f"; then
5955 elif test -f "$srcdir/$f"; then
5960 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5961 echo "$as_me: error: cannot find input file: $f" >&2;}
5962 { (exit 1); exit 1; }; }
5965 done` || { (exit 1); exit 1; }
5967 cat >>$CONFIG_STATUS <<_ACEOF
5971 cat >>$CONFIG_STATUS <<\_ACEOF
5973 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5974 s,@configure_input@,$configure_input,;t t
5975 s,@srcdir@,$ac_srcdir,;t t
5976 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5977 s,@top_srcdir@,$ac_top_srcdir,;t t
5978 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5979 s,@builddir@,$ac_builddir,;t t
5980 s,@abs_builddir@,$ac_abs_builddir,;t t
5981 s,@top_builddir@,$ac_top_builddir,;t t
5982 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5983 s,@INSTALL@,$ac_INSTALL,;t t
5984 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5986 if test x"$ac_file" != x-; then
5987 mv $tmp/out $ac_file
5995 cat >>$CONFIG_STATUS <<\_ACEOF
5998 # CONFIG_COMMANDS section.
6000 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6001 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6002 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6003 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6004 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6005 X"$ac_dest" : 'X\(//\)[^/]' \| \
6006 X"$ac_dest" : 'X\(//\)$' \| \
6007 X"$ac_dest" : 'X\(/\)' \| \
6008 . : '\(.\)' 2>/dev/null ||
6010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6012 /^X\(\/\/\)$/{ s//\1/; q; }
6013 /^X\(\/\).*/{ s//\1/; q; }
6015 { if $as_mkdir_p; then
6020 while test ! -d "$as_dir"; do
6021 as_dirs="$as_dir $as_dirs"
6022 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6024 X"$as_dir" : 'X\(//\)[^/]' \| \
6025 X"$as_dir" : 'X\(//\)$' \| \
6026 X"$as_dir" : 'X\(/\)' \| \
6027 . : '\(.\)' 2>/dev/null ||
6029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6031 /^X\(\/\/\)$/{ s//\1/; q; }
6032 /^X\(\/\).*/{ s//\1/; q; }
6035 test ! -n "$as_dirs" || mkdir $as_dirs
6036 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6037 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6038 { (exit 1); exit 1; }; }; }
6042 if test "$ac_dir" != .; then
6043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6044 # A "../" for each directory in $ac_dir_suffix.
6045 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6047 ac_dir_suffix= ac_top_builddir=
6051 .) # No --srcdir option. We are building in place.
6053 if test -z "$ac_top_builddir"; then
6056 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6058 [\\/]* | ?:[\\/]* ) # Absolute path.
6059 ac_srcdir=$srcdir$ac_dir_suffix;
6060 ac_top_srcdir=$srcdir ;;
6062 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6063 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6066 # Do not use `cd foo && pwd` to compute absolute paths, because
6067 # the directories may not exist.
6069 .) ac_abs_builddir="$ac_dir";;
6072 .) ac_abs_builddir=`pwd`;;
6073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6074 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6077 case $ac_abs_builddir in
6078 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6080 case ${ac_top_builddir}. in
6081 .) ac_abs_top_builddir=$ac_abs_builddir;;
6082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6086 case $ac_abs_builddir in
6087 .) ac_abs_srcdir=$ac_srcdir;;
6090 .) ac_abs_srcdir=$ac_abs_builddir;;
6091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6095 case $ac_abs_builddir in
6096 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6098 case $ac_top_srcdir in
6099 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6106 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6107 echo "$as_me: executing $ac_dest commands" >&6;}
6109 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6110 # Strip MF so we end up with the name of the file.
6111 mf=`echo "$mf" | sed -e 's/:.*$//'`
6112 # Check whether this is an Automake generated Makefile or not.
6113 # We used to match only the files named `Makefile.in', but
6114 # some people rename them; so instead we look at the file content.
6115 # Grep'ing the first line is not enough: some people post-process
6116 # each Makefile.in and add a new line on top of each file to say so.
6117 # So let's grep whole file.
6118 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6119 dirpart=`(dirname "$mf") 2>/dev/null ||
6120 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6121 X"$mf" : 'X\(//\)[^/]' \| \
6122 X"$mf" : 'X\(//\)$' \| \
6123 X"$mf" : 'X\(/\)' \| \
6124 . : '\(.\)' 2>/dev/null ||
6126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6128 /^X\(\/\/\)$/{ s//\1/; q; }
6129 /^X\(\/\).*/{ s//\1/; q; }
6134 # Extract the definition of DEPDIR, am__include, and am__quote
6135 # from the Makefile without running `make'.
6136 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6137 test -z "$DEPDIR" && continue
6138 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6139 test -z "am__include" && continue
6140 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6141 # When using ansi2knr, U may be empty or an underscore; expand it
6142 U=`sed -n 's/^U = //p' < "$mf"`
6143 # Find all dependency output files, they are included files with
6144 # $(DEPDIR) in their names. We invoke sed twice because it is the
6145 # simplest approach to changing $(DEPDIR) to its actual value in the
6147 for file in `sed -n "
6148 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6149 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6150 # Make sure the directory exists.
6151 test -f "$dirpart/$file" && continue
6152 fdir=`(dirname "$file") 2>/dev/null ||
6153 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6154 X"$file" : 'X\(//\)[^/]' \| \
6155 X"$file" : 'X\(//\)$' \| \
6156 X"$file" : 'X\(/\)' \| \
6157 . : '\(.\)' 2>/dev/null ||
6159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6161 /^X\(\/\/\)$/{ s//\1/; q; }
6162 /^X\(\/\).*/{ s//\1/; q; }
6164 { if $as_mkdir_p; then
6165 mkdir -p $dirpart/$fdir
6167 as_dir=$dirpart/$fdir
6169 while test ! -d "$as_dir"; do
6170 as_dirs="$as_dir $as_dirs"
6171 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6173 X"$as_dir" : 'X\(//\)[^/]' \| \
6174 X"$as_dir" : 'X\(//\)$' \| \
6175 X"$as_dir" : 'X\(/\)' \| \
6176 . : '\(.\)' 2>/dev/null ||
6178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6179 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6180 /^X\(\/\/\)$/{ s//\1/; q; }
6181 /^X\(\/\).*/{ s//\1/; q; }
6184 test ! -n "$as_dirs" || mkdir $as_dirs
6185 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6186 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6187 { (exit 1); exit 1; }; }; }
6189 # echo "creating $dirpart/$file"
6190 echo '# dummy' > "$dirpart/$file"
6198 cat >>$CONFIG_STATUS <<\_ACEOF
6200 { (exit 0); exit 0; }
6202 chmod +x $CONFIG_STATUS
6203 ac_clean_files=$ac_clean_files_save
6206 # configure is writing to config.log, and then calls config.status.
6207 # config.status does its own redirection, appending to config.log.
6208 # Unfortunately, on DOS this fails, as config.log is still kept open
6209 # by configure, so config.status won't be able to write to it; its
6210 # output is simply discarded. So we exec the FD to /dev/null,
6211 # effectively closing config.log, so it can be properly (re)opened and
6212 # appended to by config.status. When coming back to configure, we
6213 # need to make the FD available again.
6214 if test "$no_create" != yes; then
6216 ac_config_status_args=
6217 test "$silent" = yes &&
6218 ac_config_status_args="$ac_config_status_args --quiet"
6220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6223 # would make configure fail if this is the last instruction.
6224 $ac_cs_success || { (exit 1); exit 1; }
6228 # CONFIG_SUBDIRS section.
6230 if test "$no_recursion" != yes; then
6232 # Remove --cache-file and --srcdir arguments so they do not pile up.
6233 ac_sub_configure_args=
6235 for ac_arg in $ac_configure_args; do
6236 if test -n "$ac_prev"; then
6241 -cache-file | --cache-file | --cache-fil | --cache-fi \
6242 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6243 ac_prev=cache_file ;;
6244 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6245 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6248 --config-cache | -C)
6250 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6252 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6254 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6256 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6258 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6262 # Always prepend --prefix to ensure using the same prefix
6263 # in subdir configurations.
6264 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6267 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6269 # Do not complain, so a configure script can configure whichever
6270 # parts of a large source tree are present.
6271 test -d $srcdir/$ac_dir || continue
6273 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6274 echo "$as_me: configuring in $ac_dir" >&6;}
6275 { if $as_mkdir_p; then
6280 while test ! -d "$as_dir"; do
6281 as_dirs="$as_dir $as_dirs"
6282 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284 X"$as_dir" : 'X\(//\)[^/]' \| \
6285 X"$as_dir" : 'X\(//\)$' \| \
6286 X"$as_dir" : 'X\(/\)' \| \
6287 . : '\(.\)' 2>/dev/null ||
6289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6291 /^X\(\/\/\)$/{ s//\1/; q; }
6292 /^X\(\/\).*/{ s//\1/; q; }
6295 test ! -n "$as_dirs" || mkdir $as_dirs
6296 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6297 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6298 { (exit 1); exit 1; }; }; }
6302 if test "$ac_dir" != .; then
6303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6304 # A "../" for each directory in $ac_dir_suffix.
6305 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6307 ac_dir_suffix= ac_top_builddir=
6311 .) # No --srcdir option. We are building in place.
6313 if test -z "$ac_top_builddir"; then
6316 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6318 [\\/]* | ?:[\\/]* ) # Absolute path.
6319 ac_srcdir=$srcdir$ac_dir_suffix;
6320 ac_top_srcdir=$srcdir ;;
6322 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6323 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6326 # Do not use `cd foo && pwd` to compute absolute paths, because
6327 # the directories may not exist.
6329 .) ac_abs_builddir="$ac_dir";;
6332 .) ac_abs_builddir=`pwd`;;
6333 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6334 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6337 case $ac_abs_builddir in
6338 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6340 case ${ac_top_builddir}. in
6341 .) ac_abs_top_builddir=$ac_abs_builddir;;
6342 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6343 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6346 case $ac_abs_builddir in
6347 .) ac_abs_srcdir=$ac_srcdir;;
6350 .) ac_abs_srcdir=$ac_abs_builddir;;
6351 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6352 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6355 case $ac_abs_builddir in
6356 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6358 case $ac_top_srcdir in
6359 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6360 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6361 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6368 # Check for guested configure; otherwise get Cygnus style configure.
6369 if test -f $ac_srcdir/configure.gnu; then
6370 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6371 elif test -f $ac_srcdir/configure; then
6372 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6373 elif test -f $ac_srcdir/configure.in; then
6374 ac_sub_configure=$ac_configure
6376 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6377 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6381 # The recursion is here.
6382 if test -n "$ac_sub_configure"; then
6383 # Make the cache file name correct relative to the subdirectory.
6385 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6387 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6390 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6391 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6392 # The eval makes quoting arguments work.
6393 eval $ac_sub_configure $ac_sub_configure_args \
6394 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6395 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6396 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6397 { (exit 1); exit 1; }; }