2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for newlib 1.15.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='newlib'
269 PACKAGE_TARNAME='newlib'
270 PACKAGE_VERSION='1.15.0'
271 PACKAGE_STRING='newlib 1.15.0'
274 ac_unique_file="setjmp.S"
275 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 MACH_ADD_SETJMP_TRUE MACH_ADD_SETJMP_FALSE LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CCAS_set=${CCAS+set}
717 ac_env_CCAS_value=$CCAS
718 ac_cv_env_CCAS_set=${CCAS+set}
719 ac_cv_env_CCAS_value=$CCAS
720 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
721 ac_env_CCASFLAGS_value=$CCASFLAGS
722 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
723 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
724 ac_env_CC_set=${CC+set}
726 ac_cv_env_CC_set=${CC+set}
727 ac_cv_env_CC_value=$CC
728 ac_env_CFLAGS_set=${CFLAGS+set}
729 ac_env_CFLAGS_value=$CFLAGS
730 ac_cv_env_CFLAGS_set=${CFLAGS+set}
731 ac_cv_env_CFLAGS_value=$CFLAGS
732 ac_env_LDFLAGS_set=${LDFLAGS+set}
733 ac_env_LDFLAGS_value=$LDFLAGS
734 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
735 ac_cv_env_LDFLAGS_value=$LDFLAGS
736 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
737 ac_env_CPPFLAGS_value=$CPPFLAGS
738 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
739 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
742 # Report the --help message.
744 if test "$ac_init_help" = "long"; then
745 # Omit some internal or obsolete options to make the list less imposing.
746 # This message is too long to be a string in the A/UX 3.1 sh.
748 \`configure' configures newlib 1.15.0 to adapt to many kinds of systems.
750 Usage: $0 [OPTION]... [VAR=VALUE]...
752 To assign environment variables (e.g., CC, CFLAGS...), specify them as
753 VAR=VALUE. See below for descriptions of some of the useful variables.
755 Defaults for the options are specified in brackets.
758 -h, --help display this help and exit
759 --help=short display options specific to this package
760 --help=recursive display the short help of all the included packages
761 -V, --version display version information and exit
762 -q, --quiet, --silent do not print \`checking...' messages
763 --cache-file=FILE cache test results in FILE [disabled]
764 -C, --config-cache alias for \`--cache-file=config.cache'
765 -n, --no-create do not create output files
766 --srcdir=DIR find the sources in DIR [configure dir or \`..']
771 Installation directories:
772 --prefix=PREFIX install architecture-independent files in PREFIX
774 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
777 By default, \`make install' will install all the files in
778 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
779 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
780 for instance \`--prefix=\$HOME'.
782 For better control, use the options below.
784 Fine tuning of the installation directories:
785 --bindir=DIR user executables [EPREFIX/bin]
786 --sbindir=DIR system admin executables [EPREFIX/sbin]
787 --libexecdir=DIR program executables [EPREFIX/libexec]
788 --datadir=DIR read-only architecture-independent data [PREFIX/share]
789 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
790 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
791 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
792 --libdir=DIR object code libraries [EPREFIX/lib]
793 --includedir=DIR C header files [PREFIX/include]
794 --oldincludedir=DIR C header files for non-gcc [/usr/include]
795 --infodir=DIR info documentation [PREFIX/info]
796 --mandir=DIR man documentation [PREFIX/man]
802 --program-prefix=PREFIX prepend PREFIX to installed program names
803 --program-suffix=SUFFIX append SUFFIX to installed program names
804 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
807 --build=BUILD configure for building on BUILD [guessed]
808 --host=HOST cross-compile to build programs to run on HOST [BUILD]
812 if test -n "$ac_init_help"; then
813 case $ac_init_help in
814 short | recursive ) echo "Configuration of newlib 1.15.0:";;
819 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
820 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
821 --enable-multilib build many library versions (default)
822 --enable-target-optspace optimize for space
823 --enable-malloc-debugging indicate malloc debugging requested
824 --enable-newlib-multithread enable support for multiple threads
825 --enable-newlib-iconv enable iconv library support
826 --enable-newlib-elix-level supply desired elix library level (1-4)
827 --disable-newlib-io-float disable printf/scanf family float support
828 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
829 --disable-dependency-tracking speeds up one-time build
830 --enable-dependency-tracking do not reject slow dependency extractors
831 --enable-maintainer-mode enable make rules and dependencies not useful
832 (and sometimes confusing) to the casual installer
833 --enable-shared=PKGS build shared libraries default=yes
834 --enable-static=PKGS build static libraries default=yes
835 --enable-fast-install=PKGS optimize for fast installation default=yes
836 --disable-libtool-lock avoid locking (might break parallel builds)
839 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
840 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
841 --with-gnu-ld assume the C compiler uses GNU ld default=no
842 --with-pic try to use only PIC/non-PIC objects default=use both
844 Some influential environment variables:
845 CCAS assembler compiler command (defaults to CC)
846 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
847 CC C compiler command
848 CFLAGS C compiler flags
849 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
850 nonstandard directory <lib dir>
851 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
852 headers in a nonstandard directory <include dir>
854 Use these variables to override the choices made by `configure' or to help
855 it to find libraries and programs with nonstandard names/locations.
860 if test "$ac_init_help" = "recursive"; then
861 # If there are subdirs, report their specific --help.
863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
864 test -d $ac_dir || continue
867 if test "$ac_dir" != .; then
868 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
869 # A "../" for each directory in $ac_dir_suffix.
870 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
872 ac_dir_suffix= ac_top_builddir=
876 .) # No --srcdir option. We are building in place.
878 if test -z "$ac_top_builddir"; then
881 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
883 [\\/]* | ?:[\\/]* ) # Absolute path.
884 ac_srcdir=$srcdir$ac_dir_suffix;
885 ac_top_srcdir=$srcdir ;;
887 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
888 ac_top_srcdir=$ac_top_builddir$srcdir ;;
891 # Do not use `cd foo && pwd` to compute absolute paths, because
892 # the directories may not exist.
894 .) ac_abs_builddir="$ac_dir";;
897 .) ac_abs_builddir=`pwd`;;
898 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
899 *) ac_abs_builddir=`pwd`/"$ac_dir";;
902 case $ac_abs_builddir in
903 .) ac_abs_top_builddir=${ac_top_builddir}.;;
905 case ${ac_top_builddir}. in
906 .) ac_abs_top_builddir=$ac_abs_builddir;;
907 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
908 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
911 case $ac_abs_builddir in
912 .) ac_abs_srcdir=$ac_srcdir;;
915 .) ac_abs_srcdir=$ac_abs_builddir;;
916 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
917 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
920 case $ac_abs_builddir in
921 .) ac_abs_top_srcdir=$ac_top_srcdir;;
923 case $ac_top_srcdir in
924 .) ac_abs_top_srcdir=$ac_abs_builddir;;
925 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
926 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
952 newlib configure 1.15.0
953 generated by GNU Autoconf 2.59
955 Copyright (C) 2003 Free Software Foundation, Inc.
956 This configure script is free software; the Free Software Foundation
957 gives unlimited permission to copy, distribute and modify it.
963 This file contains any messages produced by compilers while
964 running configure, to aid debugging if configure makes a mistake.
966 It was created by newlib $as_me 1.15.0, which was
967 generated by GNU Autoconf 2.59. Invocation command line was
978 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
979 uname -m = `(uname -m) 2>/dev/null || echo unknown`
980 uname -r = `(uname -r) 2>/dev/null || echo unknown`
981 uname -s = `(uname -s) 2>/dev/null || echo unknown`
982 uname -v = `(uname -v) 2>/dev/null || echo unknown`
984 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
985 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
987 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
988 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
989 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
990 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
991 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
992 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
993 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1001 test -z "$as_dir" && as_dir=.
1002 echo "PATH: $as_dir"
1017 # Keep a trace of the command line.
1018 # Strip out --no-create and --no-recursion so they do not pile up.
1019 # Strip out --silent because we don't want to record it for future runs.
1020 # Also quote any args containing shell meta-characters.
1021 # Make two passes to allow for proper duplicate-argument suppression.
1026 ac_must_keep_next=false
1032 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034 | -silent | --silent | --silen | --sile | --sil)
1036 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1037 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1040 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1042 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1043 if test $ac_must_keep_next = true; then
1044 ac_must_keep_next=false # Got value, back to normal.
1047 *=* | --config-cache | -C | -disable-* | --disable-* \
1048 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1049 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1050 | -with-* | --with-* | -without-* | --without-* | --x)
1051 case "$ac_configure_args0 " in
1052 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1055 -* ) ac_must_keep_next=true ;;
1058 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1059 # Get rid of the leading space.
1065 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1066 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1068 # When interrupted or exit'd, cleanup temporary files, and complete
1069 # config.log. We remove comments because anyway the quotes in there
1070 # would cause problems or look ugly.
1071 # WARNING: Be sure not to use single quotes in there, as some shells,
1072 # such as our DU 5.0 friend, will then `close' the trap.
1073 trap 'exit_status=$?
1074 # Save into config.log some information that might help in debugging.
1079 ## ---------------- ##
1080 ## Cache variables. ##
1081 ## ---------------- ##
1084 # The following way of writing the cache mishandles newlines in values,
1087 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1090 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1095 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1102 ## ----------------- ##
1103 ## Output variables. ##
1104 ## ----------------- ##
1107 for ac_var in $ac_subst_vars
1109 eval ac_val=$`echo $ac_var`
1110 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -n "$ac_subst_files"; then
1121 for ac_var in $ac_subst_files
1123 eval ac_val=$`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -s confdefs.h; then
1136 sed "/^$/d" confdefs.h | sort
1139 test "$ac_signal" != 0 &&
1140 echo "$as_me: caught signal $ac_signal"
1141 echo "$as_me: exit $exit_status"
1143 rm -f core *.core &&
1144 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1147 for ac_signal in 1 2 13 15; do
1148 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1153 rm -rf conftest* confdefs.h
1154 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1157 # Predefined preprocessor variables.
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_NAME "$PACKAGE_NAME"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_STRING "$PACKAGE_STRING"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1184 # Let the site file select an alternate cache file if it wants to.
1185 # Prefer explicitly selected file to automatically selected ones.
1186 if test -z "$CONFIG_SITE"; then
1187 if test "x$prefix" != xNONE; then
1188 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1190 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1193 for ac_site_file in $CONFIG_SITE; do
1194 if test -r "$ac_site_file"; then
1195 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1196 echo "$as_me: loading site script $ac_site_file" >&6;}
1197 sed 's/^/| /' "$ac_site_file" >&5
1202 if test -r "$cache_file"; then
1203 # Some versions of bash will fail to source /dev/null (special
1204 # files actually), so we avoid doing that.
1205 if test -f "$cache_file"; then
1206 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1207 echo "$as_me: loading cache $cache_file" >&6;}
1209 [\\/]* | ?:[\\/]* ) . $cache_file;;
1210 *) . ./$cache_file;;
1214 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1215 echo "$as_me: creating cache $cache_file" >&6;}
1219 # Check that the precious variables saved in the cache have kept the same
1221 ac_cache_corrupted=false
1222 for ac_var in `(set) 2>&1 |
1223 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1224 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1225 eval ac_new_set=\$ac_env_${ac_var}_set
1226 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1227 eval ac_new_val="\$ac_env_${ac_var}_value"
1228 case $ac_old_set,$ac_new_set in
1230 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1231 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1232 ac_cache_corrupted=: ;;
1234 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1235 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1236 ac_cache_corrupted=: ;;
1239 if test "x$ac_old_val" != "x$ac_new_val"; then
1240 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1241 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1242 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1243 echo "$as_me: former value: $ac_old_val" >&2;}
1244 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1245 echo "$as_me: current value: $ac_new_val" >&2;}
1246 ac_cache_corrupted=:
1249 # Pass precious variables to config.status.
1250 if test "$ac_new_set" = set; then
1252 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1253 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1254 *) ac_arg=$ac_var=$ac_new_val ;;
1256 case " $ac_configure_args " in
1257 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1258 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1262 if $ac_cache_corrupted; then
1263 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1264 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1265 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1266 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1267 { (exit 1); exit 1; }; }
1271 ac_cpp='$CPP $CPPFLAGS'
1272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305 for ac_dir in ../../../.. $srcdir/../../../..; do
1306 if test -f $ac_dir/install-sh; then
1308 ac_install_sh="$ac_aux_dir/install-sh -c"
1310 elif test -f $ac_dir/install.sh; then
1312 ac_install_sh="$ac_aux_dir/install.sh -c"
1314 elif test -f $ac_dir/shtool; then
1316 ac_install_sh="$ac_aux_dir/shtool install -c"
1320 if test -z "$ac_aux_dir"; then
1321 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&5
1322 echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&2;}
1323 { (exit 1); exit 1; }; }
1325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1327 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1331 # Make sure we can run config.sub.
1332 $ac_config_sub sun4 >/dev/null 2>&1 ||
1333 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1334 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1335 { (exit 1); exit 1; }; }
1337 echo "$as_me:$LINENO: checking build system type" >&5
1338 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1339 if test "${ac_cv_build+set}" = set; then
1340 echo $ECHO_N "(cached) $ECHO_C" >&6
1342 ac_cv_build_alias=$build_alias
1343 test -z "$ac_cv_build_alias" &&
1344 ac_cv_build_alias=`$ac_config_guess`
1345 test -z "$ac_cv_build_alias" &&
1346 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1347 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1348 { (exit 1); exit 1; }; }
1349 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1350 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1351 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1352 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1356 echo "${ECHO_T}$ac_cv_build" >&6
1358 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1359 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1360 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1363 am__api_version="1.9"
1364 # Find a good install program. We prefer a C program (faster),
1365 # so one script is as good as another. But avoid the broken or
1366 # incompatible versions:
1367 # SysV /etc/install, /usr/sbin/install
1368 # SunOS /usr/etc/install
1369 # IRIX /sbin/install
1371 # AmigaOS /C/install, which installs bootblocks on floppy discs
1372 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1373 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1374 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1375 # OS/2's system install, which has a completely different semantic
1376 # ./install, which can be erroneously created by make from ./install.sh.
1377 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1378 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1379 if test -z "$INSTALL"; then
1380 if test "${ac_cv_path_install+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1387 test -z "$as_dir" && as_dir=.
1388 # Account for people who put trailing slashes in PATH elements.
1390 ./ | .// | /cC/* | \
1391 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1392 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1395 # OSF1 and SCO ODT 3.0 have their own names for install.
1396 # Don't use installbsd from OSF since it installs stuff as root
1398 for ac_prog in ginstall scoinst install; do
1399 for ac_exec_ext in '' $ac_executable_extensions; do
1400 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1401 if test $ac_prog = install &&
1402 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1403 # AIX install. It has an incompatible calling convention.
1405 elif test $ac_prog = install &&
1406 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1407 # program-specific install script used by HP pwplus--don't use.
1410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1422 if test "${ac_cv_path_install+set}" = set; then
1423 INSTALL=$ac_cv_path_install
1425 # As a last resort, use the slow shell script. We don't cache a
1426 # path for INSTALL within a source directory, because that will
1427 # break other packages using the cache if that directory is
1428 # removed, or if the path is relative.
1429 INSTALL=$ac_install_sh
1432 echo "$as_me:$LINENO: result: $INSTALL" >&5
1433 echo "${ECHO_T}$INSTALL" >&6
1435 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1436 # It thinks the first close brace ends the variable substitution.
1437 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1439 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1441 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1443 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1444 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1447 echo timestamp > conftest.file
1448 # Do `set' in a subshell so we don't clobber the current shell's
1449 # arguments. Must try -L first in case configure is actually a
1450 # symlink; some systems play weird games with the mod time of symlinks
1451 # (eg FreeBSD returns the mod time of the symlink's containing
1454 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1455 if test "$*" = "X"; then
1457 set X `ls -t $srcdir/configure conftest.file`
1460 if test "$*" != "X $srcdir/configure conftest.file" \
1461 && test "$*" != "X conftest.file $srcdir/configure"; then
1463 # If neither matched, then we have a broken ls. This can happen
1464 # if, for instance, CONFIG_SHELL is bash and it inherits a
1465 # broken ls alias from the environment. This has actually
1466 # happened. Such a system could not be considered "sane".
1467 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1468 alias in your environment" >&5
1469 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1470 alias in your environment" >&2;}
1471 { (exit 1); exit 1; }; }
1474 test "$2" = conftest.file
1480 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1481 Check your system clock" >&5
1482 echo "$as_me: error: newly created file is older than distributed files!
1483 Check your system clock" >&2;}
1484 { (exit 1); exit 1; }; }
1486 echo "$as_me:$LINENO: result: yes" >&5
1487 echo "${ECHO_T}yes" >&6
1488 test "$program_prefix" != NONE &&
1489 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1490 # Use a double $ so make ignores it.
1491 test "$program_suffix" != NONE &&
1492 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1493 # Double any \ or $. echo might interpret backslashes.
1494 # By default was `s,x,x', remove it if useless.
1495 cat <<\_ACEOF >conftest.sed
1496 s/[\\$]/&&/g;s/;s,x,x,$//
1498 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1501 # expand $ac_aux_dir to an absolute path
1502 am_aux_dir=`cd $ac_aux_dir && pwd`
1504 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1505 # Use eval to expand $SHELL
1506 if eval "$MISSING --run true"; then
1507 am_missing_run="$MISSING --run "
1510 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1511 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1514 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1515 # We used to keeping the `.' as first argument, in order to
1516 # allow $(mkdir_p) to be used without argument. As in
1517 # $(mkdir_p) $(somedir)
1518 # where $(somedir) is conditionally defined. However this is wrong
1520 # 1. if the package is installed by a user who cannot write `.'
1521 # make install will fail,
1522 # 2. the above comment should most certainly read
1523 # $(mkdir_p) $(DESTDIR)$(somedir)
1524 # so it does not work when $(somedir) is undefined and
1525 # $(DESTDIR) is not.
1526 # To support the latter case, we have to write
1527 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1528 # so the `.' trick is pointless.
1529 mkdir_p='mkdir -p --'
1531 # On NextStep and OpenStep, the `mkdir' command does not
1532 # recognize any option. It will interpret all options as
1533 # directories to create, and then abort because `.' already
1535 for d in ./-p ./--version;
1537 test -d $d && rmdir $d
1539 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1540 if test -f "$ac_aux_dir/mkinstalldirs"; then
1541 mkdir_p='$(mkinstalldirs)'
1543 mkdir_p='$(install_sh) -d'
1547 for ac_prog in gawk mawk nawk awk
1549 # Extract the first word of "$ac_prog", so it can be a program name with args.
1550 set dummy $ac_prog; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_AWK+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$AWK"; then
1557 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_AWK="$ac_prog"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1576 if test -n "$AWK"; then
1577 echo "$as_me:$LINENO: result: $AWK" >&5
1578 echo "${ECHO_T}$AWK" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1584 test -n "$AWK" && break
1587 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1589 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1590 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 cat >conftest.make <<\_ACEOF
1595 @echo 'ac_maketemp="$(MAKE)"'
1597 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1598 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1599 if test -n "$ac_maketemp"; then
1600 eval ac_cv_prog_make_${ac_make}_set=yes
1602 eval ac_cv_prog_make_${ac_make}_set=no
1606 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1607 echo "$as_me:$LINENO: result: yes" >&5
1608 echo "${ECHO_T}yes" >&6
1611 echo "$as_me:$LINENO: result: no" >&5
1612 echo "${ECHO_T}no" >&6
1613 SET_MAKE="MAKE=${MAKE-make}"
1616 rm -rf .tst 2>/dev/null
1617 mkdir .tst 2>/dev/null
1618 if test -d .tst; then
1623 rmdir .tst 2>/dev/null
1625 DEPDIR="${am__leading_dot}deps"
1627 ac_config_commands="$ac_config_commands depfiles"
1630 am_make=${MAKE-make}
1631 cat > confinc << 'END'
1636 # If we don't find an include directive, just comment out the code.
1637 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1638 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1642 # First try GNU make style include.
1643 echo "include confinc" > confmf
1644 # We grep out `Entering directory' and `Leaving directory'
1645 # messages which can occur if `w' ends up in MAKEFLAGS.
1646 # In particular we don't look at `^make:' because GNU make might
1647 # be invoked under some other name (usually "gmake"), in which
1648 # case it prints its new name instead of `make'.
1649 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1654 # Now try BSD make style include.
1655 if test "$am__include" = "#"; then
1656 echo '.include "confinc"' > confmf
1657 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1658 am__include=.include
1665 echo "$as_me:$LINENO: result: $_am_result" >&5
1666 echo "${ECHO_T}$_am_result" >&6
1667 rm -f confinc confmf
1669 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1670 if test "${enable_dependency_tracking+set}" = set; then
1671 enableval="$enable_dependency_tracking"
1674 if test "x$enable_dependency_tracking" != xno; then
1675 am_depcomp="$ac_aux_dir/depcomp"
1680 if test "x$enable_dependency_tracking" != xno; then
1691 # Check whether --enable-multilib or --disable-multilib was given.
1692 if test "${enable_multilib+set}" = set; then
1693 enableval="$enable_multilib"
1694 case "${enableval}" in
1695 yes) multilib=yes ;;
1697 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1698 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1699 { (exit 1); exit 1; }; } ;;
1704 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1705 if test "${enable_target_optspace+set}" = set; then
1706 enableval="$enable_target_optspace"
1707 case "${enableval}" in
1708 yes) target_optspace=yes ;;
1709 no) target_optspace=no ;;
1710 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1711 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1712 { (exit 1); exit 1; }; } ;;
1717 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1718 if test "${enable_malloc_debugging+set}" = set; then
1719 enableval="$enable_malloc_debugging"
1720 case "${enableval}" in
1721 yes) malloc_debugging=yes ;;
1722 no) malloc_debugging=no ;;
1723 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1724 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1725 { (exit 1); exit 1; }; } ;;
1730 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1731 if test "${enable_newlib_multithread+set}" = set; then
1732 enableval="$enable_newlib_multithread"
1733 case "${enableval}" in
1734 yes) newlib_multithread=yes ;;
1735 no) newlib_multithread=no ;;
1736 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1737 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1738 { (exit 1); exit 1; }; } ;;
1741 newlib_multithread=yes
1743 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1744 if test "${enable_newlib_iconv+set}" = set; then
1745 enableval="$enable_newlib_iconv"
1746 if test "${newlib_iconv+set}" != set; then
1747 case "${enableval}" in
1748 yes) newlib_iconv=yes ;;
1749 no) newlib_iconv=no ;;
1750 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1751 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1752 { (exit 1); exit 1; }; } ;;
1756 newlib_iconv=${newlib_iconv}
1758 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1759 if test "${enable_newlib_elix_level+set}" = set; then
1760 enableval="$enable_newlib_elix_level"
1761 case "${enableval}" in
1762 0) newlib_elix_level=0 ;;
1763 1) newlib_elix_level=1 ;;
1764 2) newlib_elix_level=2 ;;
1765 3) newlib_elix_level=3 ;;
1766 4) newlib_elix_level=4 ;;
1767 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1768 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1769 { (exit 1); exit 1; }; } ;;
1774 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1775 if test "${enable_newlib_io_float+set}" = set; then
1776 enableval="$enable_newlib_io_float"
1777 case "${enableval}" in
1778 yes) newlib_io_float=yes ;;
1779 no) newlib_io_float=no ;;
1780 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1781 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1782 { (exit 1); exit 1; }; } ;;
1787 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1788 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1789 enableval="$enable_newlib_supplied_syscalls"
1790 case "${enableval}" in
1791 yes) newlib_may_supply_syscalls=yes ;;
1792 no) newlib_may_supply_syscalls=no ;;
1793 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1794 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1795 { (exit 1); exit 1; }; } ;;
1798 newlib_may_supply_syscalls=yes
1802 if test x${newlib_may_supply_syscalls} = xyes; then
1803 MAY_SUPPLY_SYSCALLS_TRUE=
1804 MAY_SUPPLY_SYSCALLS_FALSE='#'
1806 MAY_SUPPLY_SYSCALLS_TRUE='#'
1807 MAY_SUPPLY_SYSCALLS_FALSE=
1812 test -z "${with_target_subdir}" && with_target_subdir=.
1814 if test "${srcdir}" = "."; then
1815 if test "${with_target_subdir}" != "."; then
1816 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
1818 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1821 newlib_basedir="${srcdir}/../../.."
1825 echo "$as_me:$LINENO: checking host system type" >&5
1826 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1827 if test "${ac_cv_host+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 ac_cv_host_alias=$host_alias
1831 test -z "$ac_cv_host_alias" &&
1832 ac_cv_host_alias=$ac_cv_build_alias
1833 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1834 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1835 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1836 { (exit 1); exit 1; }; }
1839 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1840 echo "${ECHO_T}$ac_cv_host" >&6
1842 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1843 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1844 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1848 # test to see if srcdir already configured
1849 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1850 test -f $srcdir/config.status; then
1851 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1852 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1853 { (exit 1); exit 1; }; }
1856 # test whether we have cygpath
1857 if test -z "$CYGPATH_W"; then
1858 if (cygpath --version) >/dev/null 2>/dev/null; then
1859 CYGPATH_W='cygpath -w'
1866 # Define the identity of the package.
1871 # Some tools Automake needs.
1873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1887 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1889 # Installed binaries are usually stripped using `strip' when the user
1890 # run `make install-strip'. However `strip' might not be the right
1891 # tool to use in cross-compilation environments, therefore Automake
1892 # will honor the `STRIP' environment variable to overrule this program.
1893 if test "$cross_compiling" != no; then
1894 if test -n "$ac_tool_prefix"; then
1895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1896 set dummy ${ac_tool_prefix}strip; ac_word=$2
1897 echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899 if test "${ac_cv_prog_STRIP+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test -n "$STRIP"; then
1903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 STRIP=$ac_cv_prog_STRIP
1922 if test -n "$STRIP"; then
1923 echo "$as_me:$LINENO: result: $STRIP" >&5
1924 echo "${ECHO_T}$STRIP" >&6
1926 echo "$as_me:$LINENO: result: no" >&5
1927 echo "${ECHO_T}no" >&6
1931 if test -z "$ac_cv_prog_STRIP"; then
1933 # Extract the first word of "strip", so it can be a program name with args.
1934 set dummy strip; ac_word=$2
1935 echo "$as_me:$LINENO: checking for $ac_word" >&5
1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test -n "$ac_ct_STRIP"; then
1941 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950 ac_cv_prog_ac_ct_STRIP="strip"
1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1960 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1961 if test -n "$ac_ct_STRIP"; then
1962 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1963 echo "${ECHO_T}$ac_ct_STRIP" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1971 STRIP="$ac_cv_prog_STRIP"
1975 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1977 # We need awk for the "check" target. The system "awk" is bad on
1979 # Always define AMTAR for backward compatibility.
1981 AMTAR=${AMTAR-"${am_missing_run}tar"}
1983 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1990 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1991 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1992 # are probably using a cross compiler, which will not be able to fully
1993 # link an executable. This should really be fixed in autoconf
2002 # Extract the first word of "gcc", so it can be a program name with args.
2003 set dummy gcc; ac_word=$2
2004 echo "$as_me:$LINENO: checking for $ac_word" >&5
2005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006 if test "${ac_cv_prog_CC+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 if test -n "$CC"; then
2010 ac_cv_prog_CC="$CC" # Let the user override the test.
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 if test -n "$CC"; then
2030 echo "$as_me:$LINENO: result: $CC" >&5
2031 echo "${ECHO_T}$CC" >&6
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2038 depcc="$CC" am_compiler_list=
2040 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2041 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2042 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2046 # We make a subdir and do the tests there. Otherwise we can end up
2047 # making bogus files that we don't know about and never remove. For
2048 # instance it was reported that on HP-UX the gcc test will end up
2049 # making a dummy file named `D' -- because `-MD' means `put the output
2052 # Copy depcomp to subdir because otherwise we won't find it if we're
2053 # using a relative directory.
2054 cp "$am_depcomp" conftest.dir
2056 # We will build objects and dependencies in a subdirectory because
2057 # it helps to detect inapplicable dependency modes. For instance
2058 # both Tru64's cc and ICC support -MD to output dependencies as a
2059 # side effect of compilation, but ICC will put the dependencies in
2060 # the current directory while Tru64 will put them in the object
2064 am_cv_CC_dependencies_compiler_type=none
2065 if test "$am_compiler_list" = ""; then
2066 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2068 for depmode in $am_compiler_list; do
2069 # Setup a source with many dependencies, because some compilers
2070 # like to wrap large dependency lists on column 80 (with \), and
2071 # we should not choose a depcomp mode which is confused by this.
2073 # We need to recreate these files for each test, as the compiler may
2074 # overwrite some of them when testing with obscure command lines.
2075 # This happens at least with the AIX C compiler.
2077 for i in 1 2 3 4 5 6; do
2078 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2079 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2080 # Solaris 8's {/usr,}/bin/sh.
2081 touch sub/conftst$i.h
2083 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2087 # after this tag, mechanisms are not by side-effect, so they'll
2088 # only be used when explicitly requested
2089 if test "x$enable_dependency_tracking" = xyes; then
2097 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2098 # mode. It turns out that the SunPro C++ compiler does not properly
2099 # handle `-M -o', and we need to detect this.
2100 if depmode=$depmode \
2101 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2102 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2103 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2104 >/dev/null 2>conftest.err &&
2105 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2106 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2107 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2108 # icc doesn't choke on unknown options, it will just issue warnings
2109 # or remarks (even with -Werror). So we grep stderr for any message
2110 # that says an option was ignored or not supported.
2111 # When given -MP, icc 7.0 and 7.1 complain thusly:
2112 # icc: Command line warning: ignoring option '-M'; no argument required
2113 # The diagnosis changed in icc 8.0:
2114 # icc: Command line remark: option '-MP' not supported
2115 if (grep 'ignoring option' conftest.err ||
2116 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2117 am_cv_CC_dependencies_compiler_type=$depmode
2126 am_cv_CC_dependencies_compiler_type=none
2130 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2131 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2132 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2137 test "x$enable_dependency_tracking" != xno \
2138 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2140 am__fastdepCC_FALSE='#'
2142 am__fastdepCC_TRUE='#'
2143 am__fastdepCC_FALSE=
2147 if test -z "$CC"; then
2148 # Extract the first word of "cc", so it can be a program name with args.
2149 set dummy cc; ac_word=$2
2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 if test "${ac_cv_prog_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 if test -n "$CC"; then
2156 ac_cv_prog_CC="$CC" # Let the user override the test.
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2166 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2167 ac_prog_rejected=yes
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 if test $ac_prog_rejected = yes; then
2178 # We found a bogon in the path, so make sure we never use it.
2179 set dummy $ac_cv_prog_CC
2181 if test $# != 0; then
2182 # We chose a different compiler from the bogus one.
2183 # However, it has the same basename, so the bogon will be chosen
2184 # first if we set CC to just the basename; use the full file name.
2186 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2192 if test -n "$CC"; then
2193 echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6
2196 echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6
2200 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2201 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2202 { (exit 1); exit 1; }; }
2205 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2206 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2207 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 cat > conftest.c <<EOF
2215 if { ac_try='${CC-cc} -E conftest.c'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2221 ac_cv_c_compiler_gnu=yes
2223 ac_cv_c_compiler_gnu=no
2226 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2227 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2229 if test $ac_cv_c_compiler_gnu = yes; then
2231 ac_test_CFLAGS="${CFLAGS+set}"
2232 ac_save_CFLAGS="$CFLAGS"
2234 ac_test_CFLAGS=${CFLAGS+set}
2235 ac_save_CFLAGS=$CFLAGS
2237 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2238 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2239 if test "${ac_cv_prog_cc_g+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 cat >conftest.$ac_ext <<_ACEOF
2245 cat confdefs.h >>conftest.$ac_ext
2246 cat >>conftest.$ac_ext <<_ACEOF
2247 /* end confdefs.h. */
2257 rm -f conftest.$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2261 grep -v '^ *+' conftest.er1 >conftest.err
2263 cat conftest.err >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try='test -z "$ac_c_werror_flag"
2267 || test ! -s conftest.err'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; } &&
2273 { ac_try='test -s conftest.$ac_objext'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; }; then
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2288 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2289 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2290 if test "$ac_test_CFLAGS" = set; then
2291 CFLAGS=$ac_save_CFLAGS
2292 elif test $ac_cv_prog_cc_g = yes; then
2293 if test "$GCC" = yes; then
2299 if test "$GCC" = yes; then
2305 if test "$ac_test_CFLAGS" = set; then
2306 CFLAGS="$ac_save_CFLAGS"
2307 elif test $ac_cv_prog_cc_g = yes; then
2314 test "${CFLAGS+set}" = set || CFLAGS="-g"
2318 if test -n "$ac_tool_prefix"; then
2319 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2320 set dummy ${ac_tool_prefix}as; ac_word=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_AS+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 if test -n "$AS"; then
2327 ac_cv_prog_AS="$AS" # Let the user override the test.
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336 ac_cv_prog_AS="${ac_tool_prefix}as"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$AS"; then
2347 echo "$as_me:$LINENO: result: $AS" >&5
2348 echo "${ECHO_T}$AS" >&6
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2355 if test -z "$ac_cv_prog_AS"; then
2357 # Extract the first word of "as", so it can be a program name with args.
2358 set dummy as; ac_word=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 if test -n "$ac_ct_AS"; then
2365 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_ac_ct_AS="as"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2384 if test -n "$ac_ct_AS"; then
2385 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2386 echo "${ECHO_T}$ac_ct_AS" >&6
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2397 if test -n "$ac_tool_prefix"; then
2398 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2399 set dummy ${ac_tool_prefix}ar; ac_word=$2
2400 echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2402 if test "${ac_cv_prog_AR+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 if test -n "$AR"; then
2406 ac_cv_prog_AR="$AR" # Let the user override the test.
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2415 ac_cv_prog_AR="${ac_tool_prefix}ar"
2416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 if test -n "$AR"; then
2426 echo "$as_me:$LINENO: result: $AR" >&5
2427 echo "${ECHO_T}$AR" >&6
2429 echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6
2434 if test -z "$ac_cv_prog_AR"; then
2436 # Extract the first word of "ar", so it can be a program name with args.
2437 set dummy ar; ac_word=$2
2438 echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2440 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test -n "$ac_ct_AR"; then
2444 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 for ac_exec_ext in '' $ac_executable_extensions; do
2452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2453 ac_cv_prog_ac_ct_AR="ar"
2454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2463 if test -n "$ac_ct_AR"; then
2464 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2465 echo "${ECHO_T}$ac_ct_AR" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2478 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2479 echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2481 if test "${ac_cv_prog_RANLIB+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$RANLIB"; then
2485 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 RANLIB=$ac_cv_prog_RANLIB
2504 if test -n "$RANLIB"; then
2505 echo "$as_me:$LINENO: result: $RANLIB" >&5
2506 echo "${ECHO_T}$RANLIB" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2513 if test -z "$ac_cv_prog_RANLIB"; then
2514 ac_ct_RANLIB=$RANLIB
2515 # Extract the first word of "ranlib", so it can be a program name with args.
2516 set dummy ranlib; ac_word=$2
2517 echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2519 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 if test -n "$ac_ct_RANLIB"; then
2523 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2532 ac_cv_prog_ac_ct_RANLIB="ranlib"
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2542 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2543 if test -n "$ac_ct_RANLIB"; then
2544 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2545 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2547 echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6
2551 RANLIB=$ac_ct_RANLIB
2553 RANLIB="$ac_cv_prog_RANLIB"
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2558 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_READELF+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$READELF"; then
2565 ac_cv_prog_READELF="$READELF" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 READELF=$ac_cv_prog_READELF
2584 if test -n "$READELF"; then
2585 echo "$as_me:$LINENO: result: $READELF" >&5
2586 echo "${ECHO_T}$READELF" >&6
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2593 if test -z "$ac_cv_prog_READELF"; then
2594 ac_ct_READELF=$READELF
2595 # Extract the first word of "readelf", so it can be a program name with args.
2596 set dummy readelf; ac_word=$2
2597 echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2599 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 if test -n "$ac_ct_READELF"; then
2603 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2612 ac_cv_prog_ac_ct_READELF="readelf"
2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2622 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2623 if test -n "$ac_ct_READELF"; then
2624 echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2625 echo "${ECHO_T}$ac_ct_READELF" >&6
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2631 READELF=$ac_ct_READELF
2633 READELF="$ac_cv_prog_READELF"
2637 # Find a good install program. We prefer a C program (faster),
2638 # so one script is as good as another. But avoid the broken or
2639 # incompatible versions:
2640 # SysV /etc/install, /usr/sbin/install
2641 # SunOS /usr/etc/install
2642 # IRIX /sbin/install
2644 # AmigaOS /C/install, which installs bootblocks on floppy discs
2645 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2646 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2647 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2648 # OS/2's system install, which has a completely different semantic
2649 # ./install, which can be erroneously created by make from ./install.sh.
2650 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2651 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2652 if test -z "$INSTALL"; then
2653 if test "${ac_cv_path_install+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 # Account for people who put trailing slashes in PATH elements.
2663 ./ | .// | /cC/* | \
2664 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2665 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2668 # OSF1 and SCO ODT 3.0 have their own names for install.
2669 # Don't use installbsd from OSF since it installs stuff as root
2671 for ac_prog in ginstall scoinst install; do
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2674 if test $ac_prog = install &&
2675 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2676 # AIX install. It has an incompatible calling convention.
2678 elif test $ac_prog = install &&
2679 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2680 # program-specific install script used by HP pwplus--don't use.
2683 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2695 if test "${ac_cv_path_install+set}" = set; then
2696 INSTALL=$ac_cv_path_install
2698 # As a last resort, use the slow shell script. We don't cache a
2699 # path for INSTALL within a source directory, because that will
2700 # break other packages using the cache if that directory is
2701 # removed, or if the path is relative.
2702 INSTALL=$ac_install_sh
2705 echo "$as_me:$LINENO: result: $INSTALL" >&5
2706 echo "${ECHO_T}$INSTALL" >&6
2708 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2709 # It thinks the first close brace ends the variable substitution.
2710 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2712 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2714 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2717 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2718 ac_given_INSTALL=$INSTALL
2720 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2721 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2722 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2723 if test "${enable_maintainer_mode+set}" = set; then
2724 enableval="$enable_maintainer_mode"
2725 USE_MAINTAINER_MODE=$enableval
2727 USE_MAINTAINER_MODE=no
2729 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2730 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2733 if test $USE_MAINTAINER_MODE = yes; then
2734 MAINTAINER_MODE_TRUE=
2735 MAINTAINER_MODE_FALSE='#'
2737 MAINTAINER_MODE_TRUE='#'
2738 MAINTAINER_MODE_FALSE=
2741 MAINT=$MAINTAINER_MODE_TRUE
2744 # By default we simply use the C compiler to build assembly code.
2746 test "${CCAS+set}" = set || CCAS=$CC
2747 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2752 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2753 # at least currently, we never actually build a program, so we never
2754 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2755 # fails, because we are probably configuring with a cross compiler
2756 # which can't create executables. So we include AC_EXEEXT to keep
2757 # automake happy, but we don't execute it, since we don't care about
2764 . ${newlib_basedir}/configure.host
2766 newlib_cflags="${newlib_cflags} -fno-builtin"
2768 NEWLIB_CFLAGS=${newlib_cflags}
2776 if test x${newlib_elix_level} = x0; then
2778 ELIX_LEVEL_0_FALSE='#'
2780 ELIX_LEVEL_0_TRUE='#'
2786 if test x${newlib_elix_level} = x1; then
2788 ELIX_LEVEL_1_FALSE='#'
2790 ELIX_LEVEL_1_TRUE='#'
2796 if test x${newlib_elix_level} = x2; then
2798 ELIX_LEVEL_2_FALSE='#'
2800 ELIX_LEVEL_2_TRUE='#'
2806 if test x${newlib_elix_level} = x3; then
2808 ELIX_LEVEL_3_FALSE='#'
2810 ELIX_LEVEL_3_TRUE='#'
2816 if test x${newlib_elix_level} = x4; then
2818 ELIX_LEVEL_4_FALSE='#'
2820 ELIX_LEVEL_4_TRUE='#'
2827 if test x${use_libtool} = xyes; then
2829 USE_LIBTOOL_FALSE='#'
2831 USE_LIBTOOL_TRUE='#'
2836 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2837 # use oext, which is set in configure.host based on the target platform.
2851 if test "${use_libtool}" = "yes"; then
2853 # Check whether --enable-shared or --disable-shared was given.
2854 if test "${enable_shared+set}" = set; then
2855 enableval="$enable_shared"
2856 p=${PACKAGE-default}
2858 yes) enable_shared=yes ;;
2859 no) enable_shared=no ;;
2862 # Look at the argument we got. We use all the common list separators.
2863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2864 for pkg in $enableval; do
2865 if test "X$pkg" = "X$p"; then
2875 # Check whether --enable-static or --disable-static was given.
2876 if test "${enable_static+set}" = set; then
2877 enableval="$enable_static"
2878 p=${PACKAGE-default}
2880 yes) enable_static=yes ;;
2881 no) enable_static=no ;;
2884 # Look at the argument we got. We use all the common list separators.
2885 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2886 for pkg in $enableval; do
2887 if test "X$pkg" = "X$p"; then
2897 # Check whether --enable-fast-install or --disable-fast-install was given.
2898 if test "${enable_fast_install+set}" = set; then
2899 enableval="$enable_fast_install"
2900 p=${PACKAGE-default}
2902 yes) enable_fast_install=yes ;;
2903 no) enable_fast_install=no ;;
2905 enable_fast_install=no
2906 # Look at the argument we got. We use all the common list separators.
2907 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2908 for pkg in $enableval; do
2909 if test "X$pkg" = "X$p"; then
2910 enable_fast_install=yes
2917 enable_fast_install=yes
2920 ac_cpp='$CPP $CPPFLAGS'
2921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2927 echo "$as_me:$LINENO: checking for $ac_word" >&5
2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2929 if test "${ac_cv_prog_CC+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2932 if test -n "$CC"; then
2933 ac_cv_prog_CC="$CC" # Let the user override the test.
2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir=.
2940 for ac_exec_ext in '' $ac_executable_extensions; do
2941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2942 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 if test -n "$CC"; then
2953 echo "$as_me:$LINENO: result: $CC" >&5
2954 echo "${ECHO_T}$CC" >&6
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2961 if test -z "$ac_cv_prog_CC"; then
2963 # Extract the first word of "gcc", so it can be a program name with args.
2964 set dummy gcc; ac_word=$2
2965 echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -n "$ac_ct_CC"; then
2971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_prog_ac_ct_CC="gcc"
2981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2990 if test -n "$ac_ct_CC"; then
2991 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2992 echo "${ECHO_T}$ac_ct_CC" >&6
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
3003 if test -z "$CC"; then
3004 if test -n "$ac_tool_prefix"; then
3005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3006 set dummy ${ac_tool_prefix}cc; ac_word=$2
3007 echo "$as_me:$LINENO: checking for $ac_word" >&5
3008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3009 if test "${ac_cv_prog_CC+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 if test -n "$CC"; then
3013 ac_cv_prog_CC="$CC" # Let the user override the test.
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir=.
3020 for ac_exec_ext in '' $ac_executable_extensions; do
3021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022 ac_cv_prog_CC="${ac_tool_prefix}cc"
3023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 if test -n "$CC"; then
3033 echo "$as_me:$LINENO: result: $CC" >&5
3034 echo "${ECHO_T}$CC" >&6
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3041 if test -z "$ac_cv_prog_CC"; then
3043 # Extract the first word of "cc", so it can be a program name with args.
3044 set dummy cc; ac_word=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 if test -n "$ac_ct_CC"; then
3051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_ac_ct_CC="cc"
3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3070 if test -n "$ac_ct_CC"; then
3071 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3072 echo "${ECHO_T}$ac_ct_CC" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3084 if test -z "$CC"; then
3085 # Extract the first word of "cc", so it can be a program name with args.
3086 set dummy cc; ac_word=$2
3087 echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3089 if test "${ac_cv_prog_CC+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC="$CC" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3104 ac_prog_rejected=yes
3108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test $ac_prog_rejected = yes; then
3115 # We found a bogon in the path, so make sure we never use it.
3116 set dummy $ac_cv_prog_CC
3118 if test $# != 0; then
3119 # We chose a different compiler from the bogus one.
3120 # However, it has the same basename, so the bogon will be chosen
3121 # first if we set CC to just the basename; use the full file name.
3123 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3129 if test -n "$CC"; then
3130 echo "$as_me:$LINENO: result: $CC" >&5
3131 echo "${ECHO_T}$CC" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3138 if test -z "$CC"; then
3139 if test -n "$ac_tool_prefix"; then
3142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_prog_CC+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC="$CC" # Let the user override the test.
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir=.
3157 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3169 if test -n "$CC"; then
3170 echo "$as_me:$LINENO: result: $CC" >&5
3171 echo "${ECHO_T}$CC" >&6
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3177 test -n "$CC" && break
3180 if test -z "$CC"; then
3184 # Extract the first word of "$ac_prog", so it can be a program name with args.
3185 set dummy $ac_prog; ac_word=$2
3186 echo "$as_me:$LINENO: checking for $ac_word" >&5
3187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3191 if test -n "$ac_ct_CC"; then
3192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_ac_ct_CC="$ac_prog"
3202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3211 if test -n "$ac_ct_CC"; then
3212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3213 echo "${ECHO_T}$ac_ct_CC" >&6
3215 echo "$as_me:$LINENO: result: no" >&5
3216 echo "${ECHO_T}no" >&6
3219 test -n "$ac_ct_CC" && break
3228 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3229 See \`config.log' for more details." >&5
3230 echo "$as_me: error: no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details." >&2;}
3232 { (exit 1); exit 1; }; }
3234 # Provide some information about the compiler.
3235 echo "$as_me:$LINENO:" \
3236 "checking for C compiler version" >&5
3237 ac_compiler=`set X $ac_compile; echo $2`
3238 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3239 (eval $ac_compiler --version </dev/null >&5) 2>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }
3243 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3244 (eval $ac_compiler -v </dev/null >&5) 2>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }
3248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3249 (eval $ac_compiler -V </dev/null >&5) 2>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3269 ac_clean_files_save=$ac_clean_files
3270 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3271 # Try to create an executable without -o first, disregard a.out.
3272 # It will help us diagnose broken compilers, and finding out an intuition
3274 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3275 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3276 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3277 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3278 (eval $ac_link_default) 2>&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; then
3282 # Find the output, starting from the most likely. This scheme is
3283 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3286 # Be careful to initialize this variable, since it used to be cached.
3287 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3289 # b.out is created by i960 compilers.
3290 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3292 test -f "$ac_file" || continue
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3297 # This is the source file.
3300 # We found the default executable, but exeext='' is most
3304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3305 # FIXME: I believe we export ac_cv_exeext for Libtool,
3306 # but it would be cool to find out if it's true. Does anybody
3307 # maintain Libtool? --akim.
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3318 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: C compiler cannot create executables
3321 See \`config.log' for more details." >&2;}
3322 { (exit 77); exit 77; }; }
3325 ac_exeext=$ac_cv_exeext
3326 echo "$as_me:$LINENO: result: $ac_file" >&5
3327 echo "${ECHO_T}$ac_file" >&6
3329 # Check the compiler produces executables we can run. If not, either
3330 # the compiler is broken, or we cross compile.
3331 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3332 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3333 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3334 # If not cross compiling, check that we can run a simple program.
3335 if test "$cross_compiling" != yes; then
3336 if { ac_try='./$ac_file'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3344 if test "$cross_compiling" = maybe; then
3347 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3348 If you meant to cross compile, use \`--host'.
3349 See \`config.log' for more details." >&5
3350 echo "$as_me: error: cannot run C compiled programs.
3351 If you meant to cross compile, use \`--host'.
3352 See \`config.log' for more details." >&2;}
3353 { (exit 1); exit 1; }; }
3357 echo "$as_me:$LINENO: result: yes" >&5
3358 echo "${ECHO_T}yes" >&6
3360 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3361 ac_clean_files=$ac_clean_files_save
3362 # Check the compiler produces executables we can run. If not, either
3363 # the compiler is broken, or we cross compile.
3364 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3365 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3366 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3367 echo "${ECHO_T}$cross_compiling" >&6
3369 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3370 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3372 (eval $ac_link) 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; then
3376 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3377 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3378 # work properly (i.e., refer to `conftest.exe'), while it won't with
3380 for ac_file in conftest.exe conftest conftest.*; do
3381 test -f "$ac_file" || continue
3383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3384 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3391 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3392 See \`config.log' for more details." >&5
3393 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3394 See \`config.log' for more details." >&2;}
3395 { (exit 1); exit 1; }; }
3398 rm -f conftest$ac_cv_exeext
3399 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3400 echo "${ECHO_T}$ac_cv_exeext" >&6
3402 rm -f conftest.$ac_ext
3403 EXEEXT=$ac_cv_exeext
3405 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3406 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3407 if test "${ac_cv_objext+set}" = set; then
3408 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 cat >conftest.$ac_ext <<_ACEOF
3413 cat confdefs.h >>conftest.$ac_ext
3414 cat >>conftest.$ac_ext <<_ACEOF
3415 /* end confdefs.h. */
3425 rm -f conftest.o conftest.obj
3426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3427 (eval $ac_compile) 2>&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; then
3431 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3434 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.$ac_ext >&5
3442 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3443 See \`config.log' for more details." >&5
3444 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3445 See \`config.log' for more details." >&2;}
3446 { (exit 1); exit 1; }; }
3449 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3451 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3452 echo "${ECHO_T}$ac_cv_objext" >&6
3453 OBJEXT=$ac_cv_objext
3455 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3456 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3457 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3478 rm -f conftest.$ac_objext
3479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480 (eval $ac_compile) 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } &&
3487 { ac_try='test -z "$ac_c_werror_flag"
3488 || test ! -s conftest.err'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; } &&
3494 { ac_try='test -s conftest.$ac_objext'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; }; then
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3508 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3511 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3512 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3513 GCC=`test $ac_compiler_gnu = yes && echo yes`
3514 ac_test_CFLAGS=${CFLAGS+set}
3515 ac_save_CFLAGS=$CFLAGS
3517 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3518 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3519 if test "${ac_cv_prog_cc_g+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3537 rm -f conftest.$ac_objext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>conftest.er1
3541 grep -v '^ *+' conftest.er1 >conftest.err
3543 cat conftest.err >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try='test -z "$ac_c_werror_flag"
3547 || test ! -s conftest.err'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; } &&
3553 { ac_try='test -s conftest.$ac_objext'
3554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; }; then
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3568 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3569 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3570 if test "$ac_test_CFLAGS" = set; then
3571 CFLAGS=$ac_save_CFLAGS
3572 elif test $ac_cv_prog_cc_g = yes; then
3573 if test "$GCC" = yes; then
3579 if test "$GCC" = yes; then
3585 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3586 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3587 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3588 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 ac_cv_prog_cc_stdc=no
3592 cat >conftest.$ac_ext <<_ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3600 #include <sys/types.h>
3601 #include <sys/stat.h>
3602 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3603 struct buf { int x; };
3604 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3605 static char *e (p, i)
3611 static char *f (char * (*g) (char **, int), char **p, ...)
3616 s = g (p, va_arg (v,int));
3621 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3622 function prototypes and stuff, but not '\xHH' hex character constants.
3623 These don't provoke an error unfortunately, instead are silently treated
3624 as 'x'. The following induces an error, until -std1 is added to get
3625 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3626 array size at least. It's necessary to write '\x00'==0 to get something
3627 that's true only with -std1. */
3628 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3630 int test (int i, double x);
3631 struct s1 {int (*f) (int a);};
3632 struct s2 {int (*f) (double a);};
3633 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3639 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3644 # Don't try gcc -ansi; that turns off useful extensions and
3645 # breaks some systems' header files.
3646 # AIX -qlanglvl=ansi
3647 # Ultrix and OSF/1 -std1
3648 # HP-UX 10.20 and later -Ae
3649 # HP-UX older versions -Aa -D_HPUX_SOURCE
3650 # SVR4 -Xc -D__EXTENSIONS__
3651 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3653 CC="$ac_save_CC $ac_arg"
3654 rm -f conftest.$ac_objext
3655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3656 (eval $ac_compile) 2>conftest.er1
3658 grep -v '^ *+' conftest.er1 >conftest.err
3660 cat conftest.err >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); } &&
3663 { ac_try='test -z "$ac_c_werror_flag"
3664 || test ! -s conftest.err'
3665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }; } &&
3670 { ac_try='test -s conftest.$ac_objext'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; }; then
3676 ac_cv_prog_cc_stdc=$ac_arg
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3683 rm -f conftest.err conftest.$ac_objext
3685 rm -f conftest.$ac_ext conftest.$ac_objext
3690 case "x$ac_cv_prog_cc_stdc" in
3692 echo "$as_me:$LINENO: result: none needed" >&5
3693 echo "${ECHO_T}none needed" >&6 ;;
3695 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3696 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3697 CC="$CC $ac_cv_prog_cc_stdc" ;;
3700 # Some people use a C++ compiler to compile C. Since we use `exit',
3701 # in C++ we need to declare it. In case someone uses the same compiler
3702 # for both compiling C and C++ we need to have the C++ compiler decide
3703 # the declaration of exit, since it's the most demanding environment.
3704 cat >conftest.$ac_ext <<_ACEOF
3709 rm -f conftest.$ac_objext
3710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711 (eval $ac_compile) 2>conftest.er1
3713 grep -v '^ *+' conftest.er1 >conftest.err
3715 cat conftest.err >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } &&
3718 { ac_try='test -z "$ac_c_werror_flag"
3719 || test ! -s conftest.err'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; } &&
3725 { ac_try='test -s conftest.$ac_objext'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; }; then
3731 for ac_declaration in \
3733 'extern "C" void std::exit (int) throw (); using std::exit;' \
3734 'extern "C" void std::exit (int); using std::exit;' \
3735 'extern "C" void exit (int) throw ();' \
3736 'extern "C" void exit (int);' \
3739 cat >conftest.$ac_ext <<_ACEOF
3742 cat confdefs.h >>conftest.$ac_ext
3743 cat >>conftest.$ac_ext <<_ACEOF
3744 /* end confdefs.h. */
3755 rm -f conftest.$ac_objext
3756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3757 (eval $ac_compile) 2>conftest.er1
3759 grep -v '^ *+' conftest.er1 >conftest.err
3761 cat conftest.err >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } &&
3764 { ac_try='test -z "$ac_c_werror_flag"
3765 || test ! -s conftest.err'
3766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }; } &&
3771 { ac_try='test -s conftest.$ac_objext'
3772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; }; then
3779 echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3785 cat >conftest.$ac_ext <<_ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3800 rm -f conftest.$ac_objext
3801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3802 (eval $ac_compile) 2>conftest.er1
3804 grep -v '^ *+' conftest.er1 >conftest.err
3806 cat conftest.err >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } &&
3809 { ac_try='test -z "$ac_c_werror_flag"
3810 || test ! -s conftest.err'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; } &&
3816 { ac_try='test -s conftest.$ac_objext'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; }; then
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 if test -n "$ac_declaration"; then
3832 echo '#ifdef __cplusplus' >>confdefs.h
3833 echo $ac_declaration >>confdefs.h
3834 echo '#endif' >>confdefs.h
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3844 ac_cpp='$CPP $CPPFLAGS'
3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 depcc="$CC" am_compiler_list=
3851 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3852 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3853 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3857 # We make a subdir and do the tests there. Otherwise we can end up
3858 # making bogus files that we don't know about and never remove. For
3859 # instance it was reported that on HP-UX the gcc test will end up
3860 # making a dummy file named `D' -- because `-MD' means `put the output
3863 # Copy depcomp to subdir because otherwise we won't find it if we're
3864 # using a relative directory.
3865 cp "$am_depcomp" conftest.dir
3867 # We will build objects and dependencies in a subdirectory because
3868 # it helps to detect inapplicable dependency modes. For instance
3869 # both Tru64's cc and ICC support -MD to output dependencies as a
3870 # side effect of compilation, but ICC will put the dependencies in
3871 # the current directory while Tru64 will put them in the object
3875 am_cv_CC_dependencies_compiler_type=none
3876 if test "$am_compiler_list" = ""; then
3877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3879 for depmode in $am_compiler_list; do
3880 # Setup a source with many dependencies, because some compilers
3881 # like to wrap large dependency lists on column 80 (with \), and
3882 # we should not choose a depcomp mode which is confused by this.
3884 # We need to recreate these files for each test, as the compiler may
3885 # overwrite some of them when testing with obscure command lines.
3886 # This happens at least with the AIX C compiler.
3888 for i in 1 2 3 4 5 6; do
3889 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3890 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3891 # Solaris 8's {/usr,}/bin/sh.
3892 touch sub/conftst$i.h
3894 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3898 # after this tag, mechanisms are not by side-effect, so they'll
3899 # only be used when explicitly requested
3900 if test "x$enable_dependency_tracking" = xyes; then
3908 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3909 # mode. It turns out that the SunPro C++ compiler does not properly
3910 # handle `-M -o', and we need to detect this.
3911 if depmode=$depmode \
3912 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3913 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3914 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3915 >/dev/null 2>conftest.err &&
3916 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3917 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3918 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3919 # icc doesn't choke on unknown options, it will just issue warnings
3920 # or remarks (even with -Werror). So we grep stderr for any message
3921 # that says an option was ignored or not supported.
3922 # When given -MP, icc 7.0 and 7.1 complain thusly:
3923 # icc: Command line warning: ignoring option '-M'; no argument required
3924 # The diagnosis changed in icc 8.0:
3925 # icc: Command line remark: option '-MP' not supported
3926 if (grep 'ignoring option' conftest.err ||
3927 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3928 am_cv_CC_dependencies_compiler_type=$depmode
3937 am_cv_CC_dependencies_compiler_type=none
3941 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3942 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3943 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3948 test "x$enable_dependency_tracking" != xno \
3949 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3951 am__fastdepCC_FALSE='#'
3953 am__fastdepCC_TRUE='#'
3954 am__fastdepCC_FALSE=
3959 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3960 if test "${with_gnu_ld+set}" = set; then
3961 withval="$with_gnu_ld"
3962 test "$withval" = no || with_gnu_ld=yes
3967 if test "$GCC" = yes; then
3968 # Check if gcc -print-prog-name=ld gives a path.
3969 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3970 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3973 # gcc leaves a trailing carriage return which upsets mingw
3974 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3976 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3979 # Accept absolute paths.
3980 [\\/]* | [A-Za-z]:[\\/]*)
3981 re_direlt='/[^/][^/]*/\.\./'
3982 # Canonicalize the path of ld
3983 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3984 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3985 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3987 test -z "$LD" && LD="$ac_prog"
3990 # If it fails, then pretend we aren't using GCC.
3994 # If it is relative, then search for the first ld in PATH.
3998 elif test "$with_gnu_ld" = yes; then
3999 echo "$as_me:$LINENO: checking for GNU ld" >&5
4000 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4002 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4003 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4005 if test "${lt_cv_path_LD+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 if test -z "$LD"; then
4009 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4010 for ac_dir in $PATH; do
4011 test -z "$ac_dir" && ac_dir=.
4012 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4013 lt_cv_path_LD="$ac_dir/$ac_prog"
4014 # Check to see if the program is GNU ld. I'd rather use --version,
4015 # but apparently some GNU ld's only accept -v.
4016 # Break only if it was the GNU/non-GNU ld that we prefer.
4017 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4018 test "$with_gnu_ld" != no && break
4020 test "$with_gnu_ld" != yes && break
4026 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4031 if test -n "$LD"; then
4032 echo "$as_me:$LINENO: result: $LD" >&5
4033 echo "${ECHO_T}$LD" >&6
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4038 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4039 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4040 { (exit 1); exit 1; }; }
4041 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4042 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4043 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4047 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4048 lt_cv_prog_gnu_ld=yes
4050 lt_cv_prog_gnu_ld=no
4053 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4054 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4055 with_gnu_ld=$lt_cv_prog_gnu_ld
4058 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4059 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4060 if test "${lt_cv_ld_reload_flag+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 lt_cv_ld_reload_flag='-r'
4065 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4066 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4067 reload_flag=$lt_cv_ld_reload_flag
4068 test -n "$reload_flag" && reload_flag=" $reload_flag"
4070 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4071 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4072 if test "${lt_cv_path_NM+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 if test -n "$NM"; then
4076 # Let the user override the test.
4079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4080 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4081 test -z "$ac_dir" && ac_dir=.
4082 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4083 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4084 # Check to see if the nm accepts a BSD-compat flag.
4085 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4086 # nm: unknown option "B" ignored
4087 # Tru64's nm complains that /dev/null is an invalid object file
4088 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4089 lt_cv_path_NM="$tmp_nm -B"
4091 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4092 lt_cv_path_NM="$tmp_nm -p"
4095 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4096 continue # so that we can try to find one that supports BSD flags
4101 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4106 echo "$as_me:$LINENO: result: $NM" >&5
4107 echo "${ECHO_T}$NM" >&6
4109 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4110 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4112 if test "$LN_S" = "ln -s"; then
4113 echo "$as_me:$LINENO: result: yes" >&5
4114 echo "${ECHO_T}yes" >&6
4116 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4117 echo "${ECHO_T}no, using $LN_S" >&6
4120 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4121 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4122 if test "${lt_cv_deplibs_check_method+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 lt_cv_file_magic_cmd='$MAGIC_CMD'
4126 lt_cv_file_magic_test_file=
4127 lt_cv_deplibs_check_method='unknown'
4128 # Need to set the preceding variable on all platforms that support
4129 # interlibrary dependencies.
4130 # 'none' -- dependencies not supported.
4131 # `unknown' -- same as none, but documents that we really don't know.
4132 # 'pass_all' -- all dependencies passed with no checks.
4133 # 'test_compile' -- check by making test program.
4134 # 'file_magic [regex]' -- check by looking for files in library path
4135 # which responds to the $file_magic_cmd with a given egrep regex.
4136 # If you have `file' or equivalent on your system and you're not sure
4137 # whether `pass_all' will *always* work, you probably want this one.
4141 lt_cv_deplibs_check_method=pass_all
4145 lt_cv_deplibs_check_method=pass_all
4149 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4150 lt_cv_file_magic_cmd='/usr/bin/file -L'
4151 lt_cv_file_magic_test_file=/shlib/libc.so
4154 cygwin* | mingw* |pw32*)
4155 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4156 lt_cv_file_magic_cmd='$OBJDUMP -f'
4159 darwin* | rhapsody*)
4160 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4161 lt_cv_file_magic_cmd='/usr/bin/file -L'
4163 rhapsody* | darwin1.012)
4164 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4167 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4173 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4176 # Not sure whether the presence of OpenBSD here was a mistake.
4177 # Let's accept both of them until this is cleared up.
4178 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4179 lt_cv_file_magic_cmd=/usr/bin/file
4180 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4184 lt_cv_deplibs_check_method=pass_all
4189 lt_cv_deplibs_check_method=pass_all
4195 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4196 lt_cv_file_magic_cmd=/usr/bin/file
4197 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4200 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4201 lt_cv_file_magic_cmd=/usr/bin/file
4202 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4210 # this will be overridden with pass_all, but let us keep it just in case
4211 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4215 *-32|*"-32 ") libmagic=32-bit;;
4216 *-n32|*"-n32 ") libmagic=N32;;
4217 *-64|*"-64 ") libmagic=64-bit;;
4218 *) libmagic=never-match;;
4220 # this will be overridden with pass_all, but let us keep it just in case
4221 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4224 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4225 lt_cv_deplibs_check_method=pass_all
4228 # This must be Linux ELF.
4229 linux-gnu*|linux-newlib*)
4231 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4232 lt_cv_deplibs_check_method=pass_all ;;
4234 # glibc up to 2.1.1 does not perform some relocations on ARM
4235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4237 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4241 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4242 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4244 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4249 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4250 lt_cv_file_magic_cmd=/usr/bin/file
4251 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4254 osf3* | osf4* | osf5*)
4255 # this will be overridden with pass_all, but let us keep it just in case
4256 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4257 lt_cv_file_magic_test_file=/shlib/libc.so
4258 lt_cv_deplibs_check_method=pass_all
4262 lt_cv_deplibs_check_method=pass_all
4266 lt_cv_deplibs_check_method=pass_all
4267 lt_cv_file_magic_test_file=/lib/libc.so
4270 sysv5uw[78]* | sysv4*uw2*)
4271 lt_cv_deplibs_check_method=pass_all
4274 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4275 case $host_vendor in
4277 lt_cv_deplibs_check_method=pass_all
4280 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]'
4281 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4288 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4289 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4290 file_magic_cmd=$lt_cv_file_magic_cmd
4291 deplibs_check_method=$lt_cv_deplibs_check_method
4296 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4298 # Only perform the check for file, if the check method requires it
4299 case $deplibs_check_method in
4301 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4302 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4303 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4304 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4312 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4315 ac_save_MAGIC_CMD="$MAGIC_CMD"
4316 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4317 ac_dummy="/usr/bin:$PATH"
4318 for ac_dir in $ac_dummy; do
4319 test -z "$ac_dir" && ac_dir=.
4320 if test -f $ac_dir/${ac_tool_prefix}file; then
4321 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4322 if test -n "$file_magic_test_file"; then
4323 case $deplibs_check_method in
4325 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4328 egrep "$file_magic_regex" > /dev/null; then
4333 *** Warning: the command libtool uses to detect shared libraries,
4334 *** $file_magic_cmd, produces output that libtool cannot recognize.
4335 *** The result is that libtool may fail to recognize shared libraries
4336 *** as such. This will affect the creation of libtool libraries that
4337 *** depend on shared libraries, but programs linked with such libtool
4338 *** libraries will work regardless of this problem. Nevertheless, you
4339 *** may want to report the problem to your system manager and/or to
4340 *** bug-libtool@gnu.org
4350 MAGIC_CMD="$ac_save_MAGIC_CMD"
4355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4356 if test -n "$MAGIC_CMD"; then
4357 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4358 echo "${ECHO_T}$MAGIC_CMD" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4364 if test -z "$lt_cv_path_MAGIC_CMD"; then
4365 if test -n "$ac_tool_prefix"; then
4366 echo "$as_me:$LINENO: checking for file" >&5
4367 echo $ECHO_N "checking for file... $ECHO_C" >&6
4368 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4376 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4379 ac_save_MAGIC_CMD="$MAGIC_CMD"
4380 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4381 ac_dummy="/usr/bin:$PATH"
4382 for ac_dir in $ac_dummy; do
4383 test -z "$ac_dir" && ac_dir=.
4384 if test -f $ac_dir/file; then
4385 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4386 if test -n "$file_magic_test_file"; then
4387 case $deplibs_check_method in
4389 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4390 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4391 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4392 egrep "$file_magic_regex" > /dev/null; then
4397 *** Warning: the command libtool uses to detect shared libraries,
4398 *** $file_magic_cmd, produces output that libtool cannot recognize.
4399 *** The result is that libtool may fail to recognize shared libraries
4400 *** as such. This will affect the creation of libtool libraries that
4401 *** depend on shared libraries, but programs linked with such libtool
4402 *** libraries will work regardless of this problem. Nevertheless, you
4403 *** may want to report the problem to your system manager and/or to
4404 *** bug-libtool@gnu.org
4414 MAGIC_CMD="$ac_save_MAGIC_CMD"
4419 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4420 if test -n "$MAGIC_CMD"; then
4421 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4422 echo "${ECHO_T}$MAGIC_CMD" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4440 echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4442 if test "${ac_cv_prog_RANLIB+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$RANLIB"; then
4446 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 RANLIB=$ac_cv_prog_RANLIB
4465 if test -n "$RANLIB"; then
4466 echo "$as_me:$LINENO: result: $RANLIB" >&5
4467 echo "${ECHO_T}$RANLIB" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4474 if test -z "$ac_cv_prog_RANLIB"; then
4475 ac_ct_RANLIB=$RANLIB
4476 # Extract the first word of "ranlib", so it can be a program name with args.
4477 set dummy ranlib; ac_word=$2
4478 echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$ac_ct_RANLIB"; then
4484 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_RANLIB="ranlib"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4503 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4504 if test -n "$ac_ct_RANLIB"; then
4505 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4506 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4512 RANLIB=$ac_ct_RANLIB
4514 RANLIB="$ac_cv_prog_RANLIB"
4517 if test -n "$ac_tool_prefix"; then
4518 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4519 set dummy ${ac_tool_prefix}strip; ac_word=$2
4520 echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4522 if test "${ac_cv_prog_STRIP+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -n "$STRIP"; then
4526 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 STRIP=$ac_cv_prog_STRIP
4545 if test -n "$STRIP"; then
4546 echo "$as_me:$LINENO: result: $STRIP" >&5
4547 echo "${ECHO_T}$STRIP" >&6
4549 echo "$as_me:$LINENO: result: no" >&5
4550 echo "${ECHO_T}no" >&6
4554 if test -z "$ac_cv_prog_STRIP"; then
4556 # Extract the first word of "strip", so it can be a program name with args.
4557 set dummy strip; ac_word=$2
4558 echo "$as_me:$LINENO: checking for $ac_word" >&5
4559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 if test -n "$ac_ct_STRIP"; then
4564 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_ac_ct_STRIP="strip"
4574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4584 if test -n "$ac_ct_STRIP"; then
4585 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4586 echo "${ECHO_T}$ac_ct_STRIP" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4594 STRIP="$ac_cv_prog_STRIP"
4598 # Check for any special flags to pass to ltconfig.
4599 libtool_flags="--cache-file=$cache_file"
4600 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4601 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4602 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4603 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4604 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4607 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4608 if test "${enable_libtool_lock+set}" = set; then
4609 enableval="$enable_libtool_lock"
4612 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4613 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4616 # Check whether --with-pic or --without-pic was given.
4617 if test "${with_pic+set}" = set; then
4623 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4624 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4626 # Some flags need to be propagated to the compiler or linker for good
4630 # Find out which ABI we are using.
4631 echo '#line 4631 "configure"' > conftest.$ac_ext
4632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633 (eval $ac_compile) 2>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); }; then
4637 case `/usr/bin/file conftest.$ac_objext` in
4653 # Find out which ABI we are using.
4654 echo 'int i;' > conftest.$ac_ext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; then
4660 case "`/usr/bin/file conftest.o`" in
4673 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4674 SAVE_CFLAGS="$CFLAGS"
4675 CFLAGS="$CFLAGS -belf"
4676 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4677 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4678 if test "${lt_cv_cc_needs_belf+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 ac_cpp='$CPP $CPPFLAGS'
4685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 cat >conftest.$ac_ext <<_ACEOF
4692 cat confdefs.h >>conftest.$ac_ext
4693 cat >>conftest.$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4704 rm -f conftest.$ac_objext conftest$ac_exeext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4706 (eval $ac_link) 2>conftest.er1
4708 grep -v '^ *+' conftest.er1 >conftest.err
4710 cat conftest.err >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try='test -z "$ac_c_werror_flag"
4714 || test ! -s conftest.err'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; } &&
4720 { ac_try='test -s conftest$ac_exeext'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; }; then
4726 lt_cv_cc_needs_belf=yes
4728 echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.$ac_ext >&5
4731 lt_cv_cc_needs_belf=no
4733 rm -f conftest.err conftest.$ac_objext \
4734 conftest$ac_exeext conftest.$ac_ext
4736 ac_cpp='$CPP $CPPFLAGS'
4737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4743 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4744 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4745 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4746 CFLAGS="$SAVE_CFLAGS"
4754 # Save cache, so that ltconfig can load it
4755 cat >confcache <<\_ACEOF
4756 # This file is a shell script that caches the results of configure
4757 # tests run on this system so they can be shared between configure
4758 # scripts and configure runs, see configure's option --config-cache.
4759 # It is not useful on other systems. If it contains results you don't
4760 # want to keep, you may remove or edit it.
4762 # config.status only pays attention to the cache file if you give it
4763 # the --recheck option to rerun configure.
4765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4771 # The following way of writing the cache mishandles newlines in values,
4772 # but we know of no workaround that is simple, portable, and efficient.
4773 # So, don't put newlines in cache variables' values.
4774 # Ultrix sh set writes to stderr and can't be redirected directly,
4775 # and sets the high bit in the cache file unless we assign to the vars.
4778 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4780 # `set' does not quote correctly, so add quotes (double-quote
4781 # substitution turns \\\\ into \\, and sed turns \\ into \).
4784 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4787 # `set' quotes correctly as required by POSIX, so do not add quotes.
4789 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4798 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4800 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4801 if test -w $cache_file; then
4802 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4803 cat confcache >$cache_file
4805 echo "not updating unwritable cache $cache_file"
4810 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4811 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4812 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4813 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4814 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4815 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4816 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4817 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4818 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4819 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4820 echo "$as_me: error: libtool configure failed" >&2;}
4821 { (exit 1); exit 1; }; }
4823 # Reload cache, that may have been modified by ltconfig
4824 if test -r "$cache_file"; then
4825 # Some versions of bash will fail to source /dev/null (special
4826 # files actually), so we avoid doing that.
4827 if test -f "$cache_file"; then
4828 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4829 echo "$as_me: loading cache $cache_file" >&6;}
4831 [\\/]* | ?:[\\/]* ) . $cache_file;;
4832 *) . ./$cache_file;;
4836 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4837 echo "$as_me: creating cache $cache_file" >&6;}
4842 # This can be used to rebuild libtool when needed
4843 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4845 # Always use our own libtool.
4846 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4848 # Redirect the config.log output again, so that the ltconfig log is not
4849 # clobbered by the next message.
4850 exec 5>>./config.log
4861 if test "x$mach_add_setjmp" = 'xtrue'; then
4862 MACH_ADD_SETJMP_TRUE=
4863 MACH_ADD_SETJMP_FALSE='#'
4865 MACH_ADD_SETJMP_TRUE='#'
4866 MACH_ADD_SETJMP_FALSE=
4870 ac_config_files="$ac_config_files Makefile"
4872 cat >confcache <<\_ACEOF
4873 # This file is a shell script that caches the results of configure
4874 # tests run on this system so they can be shared between configure
4875 # scripts and configure runs, see configure's option --config-cache.
4876 # It is not useful on other systems. If it contains results you don't
4877 # want to keep, you may remove or edit it.
4879 # config.status only pays attention to the cache file if you give it
4880 # the --recheck option to rerun configure.
4882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4888 # The following way of writing the cache mishandles newlines in values,
4889 # but we know of no workaround that is simple, portable, and efficient.
4890 # So, don't put newlines in cache variables' values.
4891 # Ultrix sh set writes to stderr and can't be redirected directly,
4892 # and sets the high bit in the cache file unless we assign to the vars.
4895 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4897 # `set' does not quote correctly, so add quotes (double-quote
4898 # substitution turns \\\\ into \\, and sed turns \\ into \).
4901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4904 # `set' quotes correctly as required by POSIX, so do not add quotes.
4906 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4915 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4917 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4918 if test -w $cache_file; then
4919 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4920 cat confcache >$cache_file
4922 echo "not updating unwritable cache $cache_file"
4927 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4928 # Let make expand exec_prefix.
4929 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4931 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4932 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4933 # trailing colons and then remove the whole line if VPATH becomes empty
4934 # (actually we leave an empty line to preserve line numbers).
4935 if test "x$srcdir" = x.; then
4936 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4937 s/:*\$(srcdir):*/:/;
4938 s/:*\${srcdir}:*/:/;
4940 s/^\([^=]*=[ ]*\):*/\1/;
4946 # Transform confdefs.h into DEFS.
4947 # Protect against shell expansion while executing Makefile rules.
4948 # Protect against Makefile macro expansion.
4950 # If the first sed substitution is executed (which looks for macros that
4951 # take arguments), then we branch to the quote section. Otherwise,
4952 # look for a macro that doesn't take arguments.
4953 cat >confdef2opt.sed <<\_ACEOF
4956 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4958 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4962 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4968 # We use echo to avoid assuming a particular line-breaking character.
4969 # The extra dot is to prevent the shell from consuming trailing
4970 # line-breaks from the sub-command output. A line-break within
4971 # single-quotes doesn't work because, if this script is created in a
4972 # platform that uses two characters for line-breaks (e.g., DOS), tr
4974 ac_LF_and_DOT=`echo; echo .`
4975 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4976 rm -f confdef2opt.sed
4981 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4982 # 1. Remove the extension, and $U if already installed.
4983 ac_i=`echo "$ac_i" |
4984 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4986 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4987 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4991 LTLIBOBJS=$ac_ltlibobjs
4994 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
4995 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4996 Usually this means the macro was only invoked conditionally." >&5
4997 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4998 Usually this means the macro was only invoked conditionally." >&2;}
4999 { (exit 1); exit 1; }; }
5001 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5002 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5003 Usually this means the macro was only invoked conditionally." >&5
5004 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5005 Usually this means the macro was only invoked conditionally." >&2;}
5006 { (exit 1); exit 1; }; }
5008 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5009 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5010 Usually this means the macro was only invoked conditionally." >&5
5011 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5012 Usually this means the macro was only invoked conditionally." >&2;}
5013 { (exit 1); exit 1; }; }
5015 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5016 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5017 Usually this means the macro was only invoked conditionally." >&5
5018 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5019 Usually this means the macro was only invoked conditionally." >&2;}
5020 { (exit 1); exit 1; }; }
5022 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5023 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5024 Usually this means the macro was only invoked conditionally." >&5
5025 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5026 Usually this means the macro was only invoked conditionally." >&2;}
5027 { (exit 1); exit 1; }; }
5029 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5030 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5031 Usually this means the macro was only invoked conditionally." >&5
5032 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5033 Usually this means the macro was only invoked conditionally." >&2;}
5034 { (exit 1); exit 1; }; }
5036 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5037 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5038 Usually this means the macro was only invoked conditionally." >&5
5039 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5040 Usually this means the macro was only invoked conditionally." >&2;}
5041 { (exit 1); exit 1; }; }
5043 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5044 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5045 Usually this means the macro was only invoked conditionally." >&5
5046 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5047 Usually this means the macro was only invoked conditionally." >&2;}
5048 { (exit 1); exit 1; }; }
5050 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5051 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5052 Usually this means the macro was only invoked conditionally." >&5
5053 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5054 Usually this means the macro was only invoked conditionally." >&2;}
5055 { (exit 1); exit 1; }; }
5057 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5058 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5059 Usually this means the macro was only invoked conditionally." >&5
5060 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5061 Usually this means the macro was only invoked conditionally." >&2;}
5062 { (exit 1); exit 1; }; }
5064 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5065 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5066 Usually this means the macro was only invoked conditionally." >&5
5067 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5068 Usually this means the macro was only invoked conditionally." >&2;}
5069 { (exit 1); exit 1; }; }
5071 if test -z "${MACH_ADD_SETJMP_TRUE}" && test -z "${MACH_ADD_SETJMP_FALSE}"; then
5072 { { echo "$as_me:$LINENO: error: conditional \"MACH_ADD_SETJMP\" was never defined.
5073 Usually this means the macro was only invoked conditionally." >&5
5074 echo "$as_me: error: conditional \"MACH_ADD_SETJMP\" was never defined.
5075 Usually this means the macro was only invoked conditionally." >&2;}
5076 { (exit 1); exit 1; }; }
5079 : ${CONFIG_STATUS=./config.status}
5080 ac_clean_files_save=$ac_clean_files
5081 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5082 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5083 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5084 cat >$CONFIG_STATUS <<_ACEOF
5086 # Generated by $as_me.
5087 # Run this file to recreate the current configuration.
5088 # Compiler output produced by configure, useful for debugging
5089 # configure, is in config.log if it exists.
5094 SHELL=\${CONFIG_SHELL-$SHELL}
5097 cat >>$CONFIG_STATUS <<\_ACEOF
5098 ## --------------------- ##
5099 ## M4sh Initialization. ##
5100 ## --------------------- ##
5102 # Be Bourne compatible
5103 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5106 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5107 # is contrary to our usage. Disable this feature.
5108 alias -g '${1+"$@"}'='"$@"'
5109 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5112 DUALCASE=1; export DUALCASE # for MKS sh
5114 # Support unset when possible.
5115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5122 # Work around bugs in pre-3.0 UWIN ksh.
5123 $as_unset ENV MAIL MAILPATH
5130 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5131 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5132 LC_TELEPHONE LC_TIME
5134 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5135 eval $as_var=C; export $as_var
5141 # Required to use basename.
5142 if expr a : '\(a\)' >/dev/null 2>&1; then
5148 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5149 as_basename=basename
5155 # Name of the executable.
5156 as_me=`$as_basename "$0" ||
5157 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5158 X"$0" : 'X\(//\)$' \| \
5159 X"$0" : 'X\(/\)$' \| \
5160 . : '\(.\)' 2>/dev/null ||
5162 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5163 /^X\/\(\/\/\)$/{ s//\1/; q; }
5164 /^X\/\(\/\).*/{ s//\1/; q; }
5168 # PATH needs CR, and LINENO needs CR and PATH.
5169 # Avoid depending upon Character Ranges.
5170 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5171 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5172 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5173 as_cr_digits='0123456789'
5174 as_cr_alnum=$as_cr_Letters$as_cr_digits
5176 # The user is always right.
5177 if test "${PATH_SEPARATOR+set}" != set; then
5178 echo "#! /bin/sh" >conf$$.sh
5179 echo "exit 0" >>conf$$.sh
5181 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5192 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5193 test "x$as_lineno_1" != "x$as_lineno_2" &&
5194 test "x$as_lineno_3" = "x$as_lineno_2" || {
5195 # Find who we are. Look in the path if we contain no path at all
5198 *[\\/]* ) as_myself=$0 ;;
5199 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir=.
5204 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5209 # We did not find ourselves, most probably we were run as `sh COMMAND'
5210 # in which case we are not to be found in the path.
5211 if test "x$as_myself" = x; then
5214 if test ! -f "$as_myself"; then
5215 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5216 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5217 { (exit 1); exit 1; }; }
5219 case $CONFIG_SHELL in
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5225 test -z "$as_dir" && as_dir=.
5226 for as_base in sh bash ksh sh5; do
5229 if ("$as_dir/$as_base" -c '
5232 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5233 test "x$as_lineno_1" != "x$as_lineno_2" &&
5234 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5235 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5236 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5237 CONFIG_SHELL=$as_dir/$as_base
5239 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5247 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5248 # uniformly replaced by the line number. The first 'sed' inserts a
5249 # line-number line before each line; the second 'sed' does the real
5250 # work. The second script uses 'N' to pair each line-number line
5251 # with the numbered line, and appends trailing '-' during
5252 # substitution so that $LINENO is not a special case at line end.
5253 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5254 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5255 sed '=' <$as_myself |
5260 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5263 s,^['$as_cr_digits']*\n,,
5265 chmod +x $as_me.lineno ||
5266 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5267 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5268 { (exit 1); exit 1; }; }
5270 # Don't try to exec as it changes $[0], causing all sort of problems
5271 # (the dirname of $[0] is not the place where we might find the
5272 # original and so on. Autoconf is especially sensible to this).
5274 # Exit status is that of the last command.
5279 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5280 *c*,-n*) ECHO_N= ECHO_C='
5282 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5283 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5286 if expr a : '\(a\)' >/dev/null 2>&1; then
5292 rm -f conf$$ conf$$.exe conf$$.file
5294 if ln -s conf$$.file conf$$ 2>/dev/null; then
5295 # We could just check for DJGPP; but this test a) works b) is more generic
5296 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5297 if test -f conf$$.exe; then
5298 # Don't use ln at all; we don't have any links
5303 elif ln conf$$.file conf$$ 2>/dev/null; then
5308 rm -f conf$$ conf$$.exe conf$$.file
5310 if mkdir -p . 2>/dev/null; then
5313 test -d ./-p && rmdir ./-p
5317 as_executable_p="test -f"
5319 # Sed expression to map a string onto a valid CPP name.
5320 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5322 # Sed expression to map a string onto a valid variable name.
5323 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5327 # We need space, tab and new line, in precisely that order.
5337 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5338 # report actual input values of CONFIG_FILES etc. instead of their
5339 # values after options handling. Logging --version etc. is OK.
5343 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5344 ## Running $as_me. ##
5349 This file was extended by newlib $as_me 1.15.0, which was
5350 generated by GNU Autoconf 2.59. Invocation command line was
5352 CONFIG_FILES = $CONFIG_FILES
5353 CONFIG_HEADERS = $CONFIG_HEADERS
5354 CONFIG_LINKS = $CONFIG_LINKS
5355 CONFIG_COMMANDS = $CONFIG_COMMANDS
5359 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5363 # Files that config.status was made for.
5364 if test -n "$ac_config_files"; then
5365 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5368 if test -n "$ac_config_headers"; then
5369 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5372 if test -n "$ac_config_links"; then
5373 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5376 if test -n "$ac_config_commands"; then
5377 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5380 cat >>$CONFIG_STATUS <<\_ACEOF
5383 \`$as_me' instantiates files from templates according to the
5384 current configuration.
5386 Usage: $0 [OPTIONS] [FILE]...
5388 -h, --help print this help, then exit
5389 -V, --version print version number, then exit
5390 -q, --quiet do not print progress messages
5391 -d, --debug don't remove temporary files
5392 --recheck update $as_me by reconfiguring in the same conditions
5393 --file=FILE[:TEMPLATE]
5394 instantiate the configuration file FILE
5396 Configuration files:
5399 Configuration commands:
5402 Report bugs to <bug-autoconf@gnu.org>."
5405 cat >>$CONFIG_STATUS <<_ACEOF
5407 newlib config.status 1.15.0
5408 configured by $0, generated by GNU Autoconf 2.59,
5409 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5411 Copyright (C) 2003 Free Software Foundation, Inc.
5412 This config.status script is free software; the Free Software Foundation
5413 gives unlimited permission to copy, distribute and modify it."
5418 cat >>$CONFIG_STATUS <<\_ACEOF
5419 # If no file are specified by the user, then we need to provide default
5420 # value. By we need to know if files were specified by the user.
5426 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5427 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5435 *) # This is not an option, so the user has probably given explicit
5438 ac_need_defaults=false;;
5442 # Handling of the options.
5444 cat >>$CONFIG_STATUS <<\_ACEOF
5445 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5447 --version | --vers* | -V )
5448 echo "$ac_cs_version"; exit 0 ;;
5450 # Conflict between --help and --header
5451 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5452 Try \`$0 --help' for more information." >&5
5453 echo "$as_me: error: ambiguous option: $1
5454 Try \`$0 --help' for more information." >&2;}
5455 { (exit 1); exit 1; }; };;
5456 --help | --hel | -h )
5457 echo "$ac_cs_usage"; exit 0 ;;
5458 --debug | --d* | -d )
5460 --file | --fil | --fi | --f )
5462 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5463 ac_need_defaults=false;;
5464 --header | --heade | --head | --hea )
5466 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5467 ac_need_defaults=false;;
5468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5469 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5473 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5474 Try \`$0 --help' for more information." >&5
5475 echo "$as_me: error: unrecognized option: $1
5476 Try \`$0 --help' for more information." >&2;}
5477 { (exit 1); exit 1; }; } ;;
5479 *) ac_config_targets="$ac_config_targets $1" ;;
5485 ac_configure_extra_args=
5487 if $ac_cs_silent; then
5489 ac_configure_extra_args="$ac_configure_extra_args --silent"
5493 cat >>$CONFIG_STATUS <<_ACEOF
5494 if \$ac_cs_recheck; then
5495 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5496 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5501 cat >>$CONFIG_STATUS <<_ACEOF
5503 # INIT-COMMANDS section.
5506 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5512 cat >>$CONFIG_STATUS <<\_ACEOF
5513 for ac_config_target in $ac_config_targets
5515 case "$ac_config_target" in
5516 # Handling of arguments.
5517 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5518 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5519 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5520 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5521 { (exit 1); exit 1; }; };;
5525 # If the user did not use the arguments to specify the items to instantiate,
5526 # then the envvar interface is used. Set only those that are not.
5527 # We use the long form for the default assignment because of an extremely
5528 # bizarre bug on SunOS 4.1.3.
5529 if $ac_need_defaults; then
5530 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5531 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5534 # Have a temporary directory for convenience. Make it in the build tree
5535 # simply because there is no reason to put it here, and in addition,
5536 # creating and moving files from /tmp can sometimes cause problems.
5537 # Create a temporary directory, and hook for its removal unless debugging.
5540 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5541 trap '{ (exit 1); exit 1; }' 1 2 13 15
5544 # Create a (secure) tmp directory for tmp files.
5547 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5548 test -n "$tmp" && test -d "$tmp"
5551 tmp=./confstat$$-$RANDOM
5552 (umask 077 && mkdir $tmp)
5555 echo "$me: cannot create a temporary directory in ." >&2
5556 { (exit 1); exit 1; }
5561 cat >>$CONFIG_STATUS <<_ACEOF
5564 # CONFIG_FILES section.
5567 # No need to generate the scripts if there are no CONFIG_FILES.
5568 # This happens for instance when ./config.status config.h
5569 if test -n "\$CONFIG_FILES"; then
5570 # Protect against being on the right side of a sed subst in config.status.
5571 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5572 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5573 s,@SHELL@,$SHELL,;t t
5574 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5575 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5576 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5577 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5578 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5579 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5580 s,@exec_prefix@,$exec_prefix,;t t
5581 s,@prefix@,$prefix,;t t
5582 s,@program_transform_name@,$program_transform_name,;t t
5583 s,@bindir@,$bindir,;t t
5584 s,@sbindir@,$sbindir,;t t
5585 s,@libexecdir@,$libexecdir,;t t
5586 s,@datadir@,$datadir,;t t
5587 s,@sysconfdir@,$sysconfdir,;t t
5588 s,@sharedstatedir@,$sharedstatedir,;t t
5589 s,@localstatedir@,$localstatedir,;t t
5590 s,@libdir@,$libdir,;t t
5591 s,@includedir@,$includedir,;t t
5592 s,@oldincludedir@,$oldincludedir,;t t
5593 s,@infodir@,$infodir,;t t
5594 s,@mandir@,$mandir,;t t
5595 s,@build_alias@,$build_alias,;t t
5596 s,@host_alias@,$host_alias,;t t
5597 s,@target_alias@,$target_alias,;t t
5599 s,@ECHO_C@,$ECHO_C,;t t
5600 s,@ECHO_N@,$ECHO_N,;t t
5601 s,@ECHO_T@,$ECHO_T,;t t
5603 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5604 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5605 s,@newlib_basedir@,$newlib_basedir,;t t
5606 s,@build@,$build,;t t
5607 s,@build_cpu@,$build_cpu,;t t
5608 s,@build_vendor@,$build_vendor,;t t
5609 s,@build_os@,$build_os,;t t
5611 s,@host_cpu@,$host_cpu,;t t
5612 s,@host_vendor@,$host_vendor,;t t
5613 s,@host_os@,$host_os,;t t
5614 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5615 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5616 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5617 s,@CYGPATH_W@,$CYGPATH_W,;t t
5618 s,@PACKAGE@,$PACKAGE,;t t
5619 s,@VERSION@,$VERSION,;t t
5620 s,@ACLOCAL@,$ACLOCAL,;t t
5621 s,@AUTOCONF@,$AUTOCONF,;t t
5622 s,@AUTOMAKE@,$AUTOMAKE,;t t
5623 s,@AUTOHEADER@,$AUTOHEADER,;t t
5624 s,@MAKEINFO@,$MAKEINFO,;t t
5625 s,@install_sh@,$install_sh,;t t
5626 s,@STRIP@,$STRIP,;t t
5627 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5628 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5629 s,@mkdir_p@,$mkdir_p,;t t
5631 s,@SET_MAKE@,$SET_MAKE,;t t
5632 s,@am__leading_dot@,$am__leading_dot,;t t
5633 s,@AMTAR@,$AMTAR,;t t
5634 s,@am__tar@,$am__tar,;t t
5635 s,@am__untar@,$am__untar,;t t
5637 s,@DEPDIR@,$DEPDIR,;t t
5638 s,@am__include@,$am__include,;t t
5639 s,@am__quote@,$am__quote,;t t
5640 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5641 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5642 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5643 s,@CCDEPMODE@,$CCDEPMODE,;t t
5644 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5645 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5647 s,@ac_ct_AS@,$ac_ct_AS,;t t
5649 s,@ac_ct_AR@,$ac_ct_AR,;t t
5650 s,@RANLIB@,$RANLIB,;t t
5651 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5652 s,@READELF@,$READELF,;t t
5653 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
5654 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5655 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5656 s,@MAINT@,$MAINT,;t t
5658 s,@CCASFLAGS@,$CCASFLAGS,;t t
5659 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5660 s,@LDFLAGS@,$LDFLAGS,;t t
5661 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5662 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5663 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5664 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5665 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5666 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5667 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5668 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5669 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5670 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5671 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5672 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5673 s,@OBJEXT@,$OBJEXT,;t t
5677 s,@libm_machine_dir@,$libm_machine_dir,;t t
5678 s,@machine_dir@,$machine_dir,;t t
5679 s,@sys_dir@,$sys_dir,;t t
5680 s,@CFLAGS@,$CFLAGS,;t t
5681 s,@CPPFLAGS@,$CPPFLAGS,;t t
5682 s,@ac_ct_CC@,$ac_ct_CC,;t t
5683 s,@EXEEXT@,$EXEEXT,;t t
5685 s,@LIBTOOL@,$LIBTOOL,;t t
5686 s,@MACH_ADD_SETJMP_TRUE@,$MACH_ADD_SETJMP_TRUE,;t t
5687 s,@MACH_ADD_SETJMP_FALSE@,$MACH_ADD_SETJMP_FALSE,;t t
5688 s,@LIBOBJS@,$LIBOBJS,;t t
5689 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5694 cat >>$CONFIG_STATUS <<\_ACEOF
5695 # Split the substitutions into bite-sized pieces for seds with
5696 # small command number limits, like on Digital OSF/1 and HP-UX.
5698 ac_sed_frag=1 # Number of current file.
5699 ac_beg=1 # First line for current file.
5700 ac_end=$ac_max_sed_lines # Line after last line for current file.
5703 while $ac_more_lines; do
5704 if test $ac_beg -gt 1; then
5705 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5707 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5709 if test ! -s $tmp/subs.frag; then
5712 # The purpose of the label and of the branching condition is to
5713 # speed up the sed processing (if there are no `@' at all, there
5714 # is no need to browse any of the substitutions).
5715 # These are the two extra sed commands mentioned above.
5717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5718 if test -z "$ac_sed_cmds"; then
5719 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5721 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5723 ac_sed_frag=`expr $ac_sed_frag + 1`
5725 ac_end=`expr $ac_end + $ac_max_sed_lines`
5728 if test -z "$ac_sed_cmds"; then
5731 fi # test -n "$CONFIG_FILES"
5734 cat >>$CONFIG_STATUS <<\_ACEOF
5735 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5736 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5738 - | *:- | *:-:* ) # input from stdin
5740 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5741 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5742 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5743 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5744 * ) ac_file_in=$ac_file.in ;;
5747 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5748 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5749 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5750 X"$ac_file" : 'X\(//\)[^/]' \| \
5751 X"$ac_file" : 'X\(//\)$' \| \
5752 X"$ac_file" : 'X\(/\)' \| \
5753 . : '\(.\)' 2>/dev/null ||
5755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5757 /^X\(\/\/\)$/{ s//\1/; q; }
5758 /^X\(\/\).*/{ s//\1/; q; }
5760 { if $as_mkdir_p; then
5765 while test ! -d "$as_dir"; do
5766 as_dirs="$as_dir $as_dirs"
5767 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5769 X"$as_dir" : 'X\(//\)[^/]' \| \
5770 X"$as_dir" : 'X\(//\)$' \| \
5771 X"$as_dir" : 'X\(/\)' \| \
5772 . : '\(.\)' 2>/dev/null ||
5774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5776 /^X\(\/\/\)$/{ s//\1/; q; }
5777 /^X\(\/\).*/{ s//\1/; q; }
5780 test ! -n "$as_dirs" || mkdir $as_dirs
5781 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5782 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5783 { (exit 1); exit 1; }; }; }
5787 if test "$ac_dir" != .; then
5788 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5789 # A "../" for each directory in $ac_dir_suffix.
5790 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5792 ac_dir_suffix= ac_top_builddir=
5796 .) # No --srcdir option. We are building in place.
5798 if test -z "$ac_top_builddir"; then
5801 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5803 [\\/]* | ?:[\\/]* ) # Absolute path.
5804 ac_srcdir=$srcdir$ac_dir_suffix;
5805 ac_top_srcdir=$srcdir ;;
5807 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5808 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5811 # Do not use `cd foo && pwd` to compute absolute paths, because
5812 # the directories may not exist.
5814 .) ac_abs_builddir="$ac_dir";;
5817 .) ac_abs_builddir=`pwd`;;
5818 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5819 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5822 case $ac_abs_builddir in
5823 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5825 case ${ac_top_builddir}. in
5826 .) ac_abs_top_builddir=$ac_abs_builddir;;
5827 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5828 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5831 case $ac_abs_builddir in
5832 .) ac_abs_srcdir=$ac_srcdir;;
5835 .) ac_abs_srcdir=$ac_abs_builddir;;
5836 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5837 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5840 case $ac_abs_builddir in
5841 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5843 case $ac_top_srcdir in
5844 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5845 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5846 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5852 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5853 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5856 if test x"$ac_file" != x-; then
5857 { echo "$as_me:$LINENO: creating $ac_file" >&5
5858 echo "$as_me: creating $ac_file" >&6;}
5861 # Let's still pretend it is `configure' which instantiates (i.e., don't
5862 # use $as_me), people would be surprised to read:
5863 # /* config.h. Generated by config.status. */
5864 if test x"$ac_file" = x-; then
5867 configure_input="$ac_file. "
5869 configure_input=$configure_input"Generated from `echo $ac_file_in |
5870 sed 's,.*/,,'` by configure."
5872 # First look for the input files in the build tree, otherwise in the
5874 ac_file_inputs=`IFS=:
5875 for f in $ac_file_in; do
5877 -) echo $tmp/stdin ;;
5879 # Absolute (can't be DOS-style, as IFS=:)
5880 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5881 echo "$as_me: error: cannot find input file: $f" >&2;}
5882 { (exit 1); exit 1; }; }
5885 if test -f "$f"; then
5888 elif test -f "$srcdir/$f"; then
5893 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5894 echo "$as_me: error: cannot find input file: $f" >&2;}
5895 { (exit 1); exit 1; }; }
5898 done` || { (exit 1); exit 1; }
5900 cat >>$CONFIG_STATUS <<_ACEOF
5904 cat >>$CONFIG_STATUS <<\_ACEOF
5906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5907 s,@configure_input@,$configure_input,;t t
5908 s,@srcdir@,$ac_srcdir,;t t
5909 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5910 s,@top_srcdir@,$ac_top_srcdir,;t t
5911 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5912 s,@builddir@,$ac_builddir,;t t
5913 s,@abs_builddir@,$ac_abs_builddir,;t t
5914 s,@top_builddir@,$ac_top_builddir,;t t
5915 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5916 s,@INSTALL@,$ac_INSTALL,;t t
5917 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5919 if test x"$ac_file" != x-; then
5920 mv $tmp/out $ac_file
5928 cat >>$CONFIG_STATUS <<\_ACEOF
5931 # CONFIG_COMMANDS section.
5933 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5934 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5935 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5936 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5937 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5938 X"$ac_dest" : 'X\(//\)[^/]' \| \
5939 X"$ac_dest" : 'X\(//\)$' \| \
5940 X"$ac_dest" : 'X\(/\)' \| \
5941 . : '\(.\)' 2>/dev/null ||
5943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5944 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5945 /^X\(\/\/\)$/{ s//\1/; q; }
5946 /^X\(\/\).*/{ s//\1/; q; }
5948 { if $as_mkdir_p; then
5953 while test ! -d "$as_dir"; do
5954 as_dirs="$as_dir $as_dirs"
5955 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5957 X"$as_dir" : 'X\(//\)[^/]' \| \
5958 X"$as_dir" : 'X\(//\)$' \| \
5959 X"$as_dir" : 'X\(/\)' \| \
5960 . : '\(.\)' 2>/dev/null ||
5962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5964 /^X\(\/\/\)$/{ s//\1/; q; }
5965 /^X\(\/\).*/{ s//\1/; q; }
5968 test ! -n "$as_dirs" || mkdir $as_dirs
5969 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5970 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5971 { (exit 1); exit 1; }; }; }
5975 if test "$ac_dir" != .; then
5976 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5977 # A "../" for each directory in $ac_dir_suffix.
5978 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5980 ac_dir_suffix= ac_top_builddir=
5984 .) # No --srcdir option. We are building in place.
5986 if test -z "$ac_top_builddir"; then
5989 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5991 [\\/]* | ?:[\\/]* ) # Absolute path.
5992 ac_srcdir=$srcdir$ac_dir_suffix;
5993 ac_top_srcdir=$srcdir ;;
5995 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5996 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5999 # Do not use `cd foo && pwd` to compute absolute paths, because
6000 # the directories may not exist.
6002 .) ac_abs_builddir="$ac_dir";;
6005 .) ac_abs_builddir=`pwd`;;
6006 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6007 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6010 case $ac_abs_builddir in
6011 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6013 case ${ac_top_builddir}. in
6014 .) ac_abs_top_builddir=$ac_abs_builddir;;
6015 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6016 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6019 case $ac_abs_builddir in
6020 .) ac_abs_srcdir=$ac_srcdir;;
6023 .) ac_abs_srcdir=$ac_abs_builddir;;
6024 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6025 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6028 case $ac_abs_builddir in
6029 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6031 case $ac_top_srcdir in
6032 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6033 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6034 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6039 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6040 echo "$as_me: executing $ac_dest commands" >&6;}
6042 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6043 # Strip MF so we end up with the name of the file.
6044 mf=`echo "$mf" | sed -e 's/:.*$//'`
6045 # Check whether this is an Automake generated Makefile or not.
6046 # We used to match only the files named `Makefile.in', but
6047 # some people rename them; so instead we look at the file content.
6048 # Grep'ing the first line is not enough: some people post-process
6049 # each Makefile.in and add a new line on top of each file to say so.
6050 # So let's grep whole file.
6051 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6052 dirpart=`(dirname "$mf") 2>/dev/null ||
6053 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6054 X"$mf" : 'X\(//\)[^/]' \| \
6055 X"$mf" : 'X\(//\)$' \| \
6056 X"$mf" : 'X\(/\)' \| \
6057 . : '\(.\)' 2>/dev/null ||
6059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6061 /^X\(\/\/\)$/{ s//\1/; q; }
6062 /^X\(\/\).*/{ s//\1/; q; }
6067 # Extract the definition of DEPDIR, am__include, and am__quote
6068 # from the Makefile without running `make'.
6069 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6070 test -z "$DEPDIR" && continue
6071 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6072 test -z "am__include" && continue
6073 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6074 # When using ansi2knr, U may be empty or an underscore; expand it
6075 U=`sed -n 's/^U = //p' < "$mf"`
6076 # Find all dependency output files, they are included files with
6077 # $(DEPDIR) in their names. We invoke sed twice because it is the
6078 # simplest approach to changing $(DEPDIR) to its actual value in the
6080 for file in `sed -n "
6081 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6082 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6083 # Make sure the directory exists.
6084 test -f "$dirpart/$file" && continue
6085 fdir=`(dirname "$file") 2>/dev/null ||
6086 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6087 X"$file" : 'X\(//\)[^/]' \| \
6088 X"$file" : 'X\(//\)$' \| \
6089 X"$file" : 'X\(/\)' \| \
6090 . : '\(.\)' 2>/dev/null ||
6092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6094 /^X\(\/\/\)$/{ s//\1/; q; }
6095 /^X\(\/\).*/{ s//\1/; q; }
6097 { if $as_mkdir_p; then
6098 mkdir -p $dirpart/$fdir
6100 as_dir=$dirpart/$fdir
6102 while test ! -d "$as_dir"; do
6103 as_dirs="$as_dir $as_dirs"
6104 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106 X"$as_dir" : 'X\(//\)[^/]' \| \
6107 X"$as_dir" : 'X\(//\)$' \| \
6108 X"$as_dir" : 'X\(/\)' \| \
6109 . : '\(.\)' 2>/dev/null ||
6111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6112 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6113 /^X\(\/\/\)$/{ s//\1/; q; }
6114 /^X\(\/\).*/{ s//\1/; q; }
6117 test ! -n "$as_dirs" || mkdir $as_dirs
6118 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6119 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6120 { (exit 1); exit 1; }; }; }
6122 # echo "creating $dirpart/$file"
6123 echo '# dummy' > "$dirpart/$file"
6131 cat >>$CONFIG_STATUS <<\_ACEOF
6133 { (exit 0); exit 0; }
6135 chmod +x $CONFIG_STATUS
6136 ac_clean_files=$ac_clean_files_save
6139 # configure is writing to config.log, and then calls config.status.
6140 # config.status does its own redirection, appending to config.log.
6141 # Unfortunately, on DOS this fails, as config.log is still kept open
6142 # by configure, so config.status won't be able to write to it; its
6143 # output is simply discarded. So we exec the FD to /dev/null,
6144 # effectively closing config.log, so it can be properly (re)opened and
6145 # appended to by config.status. When coming back to configure, we
6146 # need to make the FD available again.
6147 if test "$no_create" != yes; then
6149 ac_config_status_args=
6150 test "$silent" = yes &&
6151 ac_config_status_args="$ac_config_status_args --quiet"
6153 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6155 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6156 # would make configure fail if this is the last instruction.
6157 $ac_cs_success || { (exit 1); exit 1; }