2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for newlib 1.14.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='newlib'
269 PACKAGE_TARNAME='newlib'
270 PACKAGE_VERSION='1.14.0'
271 PACKAGE_STRING='newlib 1.14.0'
274 ac_unique_file="i386"
275 ac_subdirs_all="$ac_subdirs_all i386"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT LN_S LIBTOOL subdirs CRT0 HAVE_MACHINE_DIR_TRUE HAVE_MACHINE_DIR_FALSE LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CCAS_set=${CCAS+set}
718 ac_env_CCAS_value=$CCAS
719 ac_cv_env_CCAS_set=${CCAS+set}
720 ac_cv_env_CCAS_value=$CCAS
721 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
722 ac_env_CCASFLAGS_value=$CCASFLAGS
723 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
724 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
725 ac_env_CC_set=${CC+set}
727 ac_cv_env_CC_set=${CC+set}
728 ac_cv_env_CC_value=$CC
729 ac_env_CFLAGS_set=${CFLAGS+set}
730 ac_env_CFLAGS_value=$CFLAGS
731 ac_cv_env_CFLAGS_set=${CFLAGS+set}
732 ac_cv_env_CFLAGS_value=$CFLAGS
733 ac_env_LDFLAGS_set=${LDFLAGS+set}
734 ac_env_LDFLAGS_value=$LDFLAGS
735 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
736 ac_cv_env_LDFLAGS_value=$LDFLAGS
737 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
738 ac_env_CPPFLAGS_value=$CPPFLAGS
739 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
740 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
743 # Report the --help message.
745 if test "$ac_init_help" = "long"; then
746 # Omit some internal or obsolete options to make the list less imposing.
747 # This message is too long to be a string in the A/UX 3.1 sh.
749 \`configure' configures newlib 1.14.0 to adapt to many kinds of systems.
751 Usage: $0 [OPTION]... [VAR=VALUE]...
753 To assign environment variables (e.g., CC, CFLAGS...), specify them as
754 VAR=VALUE. See below for descriptions of some of the useful variables.
756 Defaults for the options are specified in brackets.
759 -h, --help display this help and exit
760 --help=short display options specific to this package
761 --help=recursive display the short help of all the included packages
762 -V, --version display version information and exit
763 -q, --quiet, --silent do not print \`checking...' messages
764 --cache-file=FILE cache test results in FILE [disabled]
765 -C, --config-cache alias for \`--cache-file=config.cache'
766 -n, --no-create do not create output files
767 --srcdir=DIR find the sources in DIR [configure dir or \`..']
772 Installation directories:
773 --prefix=PREFIX install architecture-independent files in PREFIX
775 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
778 By default, \`make install' will install all the files in
779 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
780 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
781 for instance \`--prefix=\$HOME'.
783 For better control, use the options below.
785 Fine tuning of the installation directories:
786 --bindir=DIR user executables [EPREFIX/bin]
787 --sbindir=DIR system admin executables [EPREFIX/sbin]
788 --libexecdir=DIR program executables [EPREFIX/libexec]
789 --datadir=DIR read-only architecture-independent data [PREFIX/share]
790 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
791 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
792 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
793 --libdir=DIR object code libraries [EPREFIX/lib]
794 --includedir=DIR C header files [PREFIX/include]
795 --oldincludedir=DIR C header files for non-gcc [/usr/include]
796 --infodir=DIR info documentation [PREFIX/info]
797 --mandir=DIR man documentation [PREFIX/man]
803 --program-prefix=PREFIX prepend PREFIX to installed program names
804 --program-suffix=SUFFIX append SUFFIX to installed program names
805 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
808 --build=BUILD configure for building on BUILD [guessed]
809 --host=HOST cross-compile to build programs to run on HOST [BUILD]
813 if test -n "$ac_init_help"; then
814 case $ac_init_help in
815 short | recursive ) echo "Configuration of newlib 1.14.0:";;
820 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
821 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
822 --enable-multilib build many library versions (default)
823 --enable-target-optspace optimize for space
824 --enable-malloc-debugging indicate malloc debugging requested
825 --enable-newlib-multithread enable support for multiple threads
826 --enable-newlib-iconv enable iconv library support
827 --enable-newlib-elix-level supply desired elix library level (1-4)
828 --disable-newlib-io-float disable printf/scanf family float support
829 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
830 --disable-dependency-tracking speeds up one-time build
831 --enable-dependency-tracking do not reject slow dependency extractors
832 --enable-maintainer-mode enable make rules and dependencies not useful
833 (and sometimes confusing) to the casual installer
834 --enable-shared=PKGS build shared libraries default=yes
835 --enable-static=PKGS build static libraries default=yes
836 --enable-fast-install=PKGS optimize for fast installation default=yes
837 --disable-libtool-lock avoid locking (might break parallel builds)
840 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
841 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
842 --with-gnu-ld assume the C compiler uses GNU ld default=no
843 --with-pic try to use only PIC/non-PIC objects default=use both
845 Some influential environment variables:
846 CCAS assembler compiler command (defaults to CC)
847 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
848 CC C compiler command
849 CFLAGS C compiler flags
850 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
851 nonstandard directory <lib dir>
852 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
853 headers in a nonstandard directory <include dir>
855 Use these variables to override the choices made by `configure' or to help
856 it to find libraries and programs with nonstandard names/locations.
861 if test "$ac_init_help" = "recursive"; then
862 # If there are subdirs, report their specific --help.
864 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
865 test -d $ac_dir || continue
868 if test "$ac_dir" != .; then
869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
870 # A "../" for each directory in $ac_dir_suffix.
871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
873 ac_dir_suffix= ac_top_builddir=
877 .) # No --srcdir option. We are building in place.
879 if test -z "$ac_top_builddir"; then
882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
884 [\\/]* | ?:[\\/]* ) # Absolute path.
885 ac_srcdir=$srcdir$ac_dir_suffix;
886 ac_top_srcdir=$srcdir ;;
888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
889 ac_top_srcdir=$ac_top_builddir$srcdir ;;
892 # Do not use `cd foo && pwd` to compute absolute paths, because
893 # the directories may not exist.
895 .) ac_abs_builddir="$ac_dir";;
898 .) ac_abs_builddir=`pwd`;;
899 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
900 *) ac_abs_builddir=`pwd`/"$ac_dir";;
903 case $ac_abs_builddir in
904 .) ac_abs_top_builddir=${ac_top_builddir}.;;
906 case ${ac_top_builddir}. in
907 .) ac_abs_top_builddir=$ac_abs_builddir;;
908 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
909 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
912 case $ac_abs_builddir in
913 .) ac_abs_srcdir=$ac_srcdir;;
916 .) ac_abs_srcdir=$ac_abs_builddir;;
917 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
918 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
921 case $ac_abs_builddir in
922 .) ac_abs_top_srcdir=$ac_top_srcdir;;
924 case $ac_top_srcdir in
925 .) ac_abs_top_srcdir=$ac_abs_builddir;;
926 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
927 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
932 # Check for guested configure; otherwise get Cygnus style configure.
933 if test -f $ac_srcdir/configure.gnu; then
935 $SHELL $ac_srcdir/configure.gnu --help=recursive
936 elif test -f $ac_srcdir/configure; then
938 $SHELL $ac_srcdir/configure --help=recursive
939 elif test -f $ac_srcdir/configure.ac ||
940 test -f $ac_srcdir/configure.in; then
944 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
950 test -n "$ac_init_help" && exit 0
951 if $ac_init_version; then
953 newlib configure 1.14.0
954 generated by GNU Autoconf 2.59
956 Copyright (C) 2003 Free Software Foundation, Inc.
957 This configure script is free software; the Free Software Foundation
958 gives unlimited permission to copy, distribute and modify it.
964 This file contains any messages produced by compilers while
965 running configure, to aid debugging if configure makes a mistake.
967 It was created by newlib $as_me 1.14.0, which was
968 generated by GNU Autoconf 2.59. Invocation command line was
979 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
980 uname -m = `(uname -m) 2>/dev/null || echo unknown`
981 uname -r = `(uname -r) 2>/dev/null || echo unknown`
982 uname -s = `(uname -s) 2>/dev/null || echo unknown`
983 uname -v = `(uname -v) 2>/dev/null || echo unknown`
985 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
986 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
988 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
989 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
990 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
991 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
992 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
993 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
994 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1002 test -z "$as_dir" && as_dir=.
1003 echo "PATH: $as_dir"
1018 # Keep a trace of the command line.
1019 # Strip out --no-create and --no-recursion so they do not pile up.
1020 # Strip out --silent because we don't want to record it for future runs.
1021 # Also quote any args containing shell meta-characters.
1022 # Make two passes to allow for proper duplicate-argument suppression.
1027 ac_must_keep_next=false
1033 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1035 | -silent | --silent | --silen | --sile | --sil)
1037 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1038 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1041 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1043 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1044 if test $ac_must_keep_next = true; then
1045 ac_must_keep_next=false # Got value, back to normal.
1048 *=* | --config-cache | -C | -disable-* | --disable-* \
1049 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1050 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1051 | -with-* | --with-* | -without-* | --without-* | --x)
1052 case "$ac_configure_args0 " in
1053 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056 -* ) ac_must_keep_next=true ;;
1059 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1060 # Get rid of the leading space.
1066 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1067 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1069 # When interrupted or exit'd, cleanup temporary files, and complete
1070 # config.log. We remove comments because anyway the quotes in there
1071 # would cause problems or look ugly.
1072 # WARNING: Be sure not to use single quotes in there, as some shells,
1073 # such as our DU 5.0 friend, will then `close' the trap.
1074 trap 'exit_status=$?
1075 # Save into config.log some information that might help in debugging.
1080 ## ---------------- ##
1081 ## Cache variables. ##
1082 ## ---------------- ##
1085 # The following way of writing the cache mishandles newlines in values,
1088 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1096 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1103 ## ----------------- ##
1104 ## Output variables. ##
1105 ## ----------------- ##
1108 for ac_var in $ac_subst_vars
1110 eval ac_val=$`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1115 if test -n "$ac_subst_files"; then
1122 for ac_var in $ac_subst_files
1124 eval ac_val=$`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -s confdefs.h; then
1137 sed "/^$/d" confdefs.h | sort
1140 test "$ac_signal" != 0 &&
1141 echo "$as_me: caught signal $ac_signal"
1142 echo "$as_me: exit $exit_status"
1144 rm -f core *.core &&
1145 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1148 for ac_signal in 1 2 13 15; do
1149 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1153 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1154 rm -rf conftest* confdefs.h
1155 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158 # Predefined preprocessor variables.
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_NAME "$PACKAGE_NAME"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_STRING "$PACKAGE_STRING"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1185 # Let the site file select an alternate cache file if it wants to.
1186 # Prefer explicitly selected file to automatically selected ones.
1187 if test -z "$CONFIG_SITE"; then
1188 if test "x$prefix" != xNONE; then
1189 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1191 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1194 for ac_site_file in $CONFIG_SITE; do
1195 if test -r "$ac_site_file"; then
1196 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1197 echo "$as_me: loading site script $ac_site_file" >&6;}
1198 sed 's/^/| /' "$ac_site_file" >&5
1203 if test -r "$cache_file"; then
1204 # Some versions of bash will fail to source /dev/null (special
1205 # files actually), so we avoid doing that.
1206 if test -f "$cache_file"; then
1207 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1208 echo "$as_me: loading cache $cache_file" >&6;}
1210 [\\/]* | ?:[\\/]* ) . $cache_file;;
1211 *) . ./$cache_file;;
1215 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1216 echo "$as_me: creating cache $cache_file" >&6;}
1220 # Check that the precious variables saved in the cache have kept the same
1222 ac_cache_corrupted=false
1223 for ac_var in `(set) 2>&1 |
1224 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1226 eval ac_new_set=\$ac_env_${ac_var}_set
1227 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1228 eval ac_new_val="\$ac_env_${ac_var}_value"
1229 case $ac_old_set,$ac_new_set in
1231 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1232 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1233 ac_cache_corrupted=: ;;
1235 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1237 ac_cache_corrupted=: ;;
1240 if test "x$ac_old_val" != "x$ac_new_val"; then
1241 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1242 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1243 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1244 echo "$as_me: former value: $ac_old_val" >&2;}
1245 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1246 echo "$as_me: current value: $ac_new_val" >&2;}
1247 ac_cache_corrupted=:
1250 # Pass precious variables to config.status.
1251 if test "$ac_new_set" = set; then
1253 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1254 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1255 *) ac_arg=$ac_var=$ac_new_val ;;
1257 case " $ac_configure_args " in
1258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1259 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1263 if $ac_cache_corrupted; then
1264 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1265 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1266 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1267 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1268 { (exit 1); exit 1; }; }
1272 ac_cpp='$CPP $CPPFLAGS'
1273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306 for ac_dir in ../../../../.. $srcdir/../../../../..; do
1307 if test -f $ac_dir/install-sh; then
1309 ac_install_sh="$ac_aux_dir/install-sh -c"
1311 elif test -f $ac_dir/install.sh; then
1313 ac_install_sh="$ac_aux_dir/install.sh -c"
1315 elif test -f $ac_dir/shtool; then
1317 ac_install_sh="$ac_aux_dir/shtool install -c"
1321 if test -z "$ac_aux_dir"; then
1322 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../../.. $srcdir/../../../../.." >&5
1323 echo "$as_me: error: cannot find install-sh or install.sh in ../../../../.. $srcdir/../../../../.." >&2;}
1324 { (exit 1); exit 1; }; }
1326 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1327 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1328 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1332 # Make sure we can run config.sub.
1333 $ac_config_sub sun4 >/dev/null 2>&1 ||
1334 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1335 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1336 { (exit 1); exit 1; }; }
1338 echo "$as_me:$LINENO: checking build system type" >&5
1339 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1340 if test "${ac_cv_build+set}" = set; then
1341 echo $ECHO_N "(cached) $ECHO_C" >&6
1343 ac_cv_build_alias=$build_alias
1344 test -z "$ac_cv_build_alias" &&
1345 ac_cv_build_alias=`$ac_config_guess`
1346 test -z "$ac_cv_build_alias" &&
1347 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1348 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1349 { (exit 1); exit 1; }; }
1350 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1351 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1352 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1353 { (exit 1); exit 1; }; }
1356 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1357 echo "${ECHO_T}$ac_cv_build" >&6
1359 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1360 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1361 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1364 am__api_version="1.9"
1365 # Find a good install program. We prefer a C program (faster),
1366 # so one script is as good as another. But avoid the broken or
1367 # incompatible versions:
1368 # SysV /etc/install, /usr/sbin/install
1369 # SunOS /usr/etc/install
1370 # IRIX /sbin/install
1372 # AmigaOS /C/install, which installs bootblocks on floppy discs
1373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1376 # OS/2's system install, which has a completely different semantic
1377 # ./install, which can be erroneously created by make from ./install.sh.
1378 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1379 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1380 if test -z "$INSTALL"; then
1381 if test "${ac_cv_path_install+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir=.
1389 # Account for people who put trailing slashes in PATH elements.
1391 ./ | .// | /cC/* | \
1392 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1393 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1396 # OSF1 and SCO ODT 3.0 have their own names for install.
1397 # Don't use installbsd from OSF since it installs stuff as root
1399 for ac_prog in ginstall scoinst install; do
1400 for ac_exec_ext in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1402 if test $ac_prog = install &&
1403 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1404 # AIX install. It has an incompatible calling convention.
1406 elif test $ac_prog = install &&
1407 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1408 # program-specific install script used by HP pwplus--don't use.
1411 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1423 if test "${ac_cv_path_install+set}" = set; then
1424 INSTALL=$ac_cv_path_install
1426 # As a last resort, use the slow shell script. We don't cache a
1427 # path for INSTALL within a source directory, because that will
1428 # break other packages using the cache if that directory is
1429 # removed, or if the path is relative.
1430 INSTALL=$ac_install_sh
1433 echo "$as_me:$LINENO: result: $INSTALL" >&5
1434 echo "${ECHO_T}$INSTALL" >&6
1436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1437 # It thinks the first close brace ends the variable substitution.
1438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1442 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1444 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1445 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1448 echo timestamp > conftest.file
1449 # Do `set' in a subshell so we don't clobber the current shell's
1450 # arguments. Must try -L first in case configure is actually a
1451 # symlink; some systems play weird games with the mod time of symlinks
1452 # (eg FreeBSD returns the mod time of the symlink's containing
1455 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1456 if test "$*" = "X"; then
1458 set X `ls -t $srcdir/configure conftest.file`
1461 if test "$*" != "X $srcdir/configure conftest.file" \
1462 && test "$*" != "X conftest.file $srcdir/configure"; then
1464 # If neither matched, then we have a broken ls. This can happen
1465 # if, for instance, CONFIG_SHELL is bash and it inherits a
1466 # broken ls alias from the environment. This has actually
1467 # happened. Such a system could not be considered "sane".
1468 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1469 alias in your environment" >&5
1470 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1471 alias in your environment" >&2;}
1472 { (exit 1); exit 1; }; }
1475 test "$2" = conftest.file
1481 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1482 Check your system clock" >&5
1483 echo "$as_me: error: newly created file is older than distributed files!
1484 Check your system clock" >&2;}
1485 { (exit 1); exit 1; }; }
1487 echo "$as_me:$LINENO: result: yes" >&5
1488 echo "${ECHO_T}yes" >&6
1489 test "$program_prefix" != NONE &&
1490 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1491 # Use a double $ so make ignores it.
1492 test "$program_suffix" != NONE &&
1493 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1494 # Double any \ or $. echo might interpret backslashes.
1495 # By default was `s,x,x', remove it if useless.
1496 cat <<\_ACEOF >conftest.sed
1497 s/[\\$]/&&/g;s/;s,x,x,$//
1499 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1502 # expand $ac_aux_dir to an absolute path
1503 am_aux_dir=`cd $ac_aux_dir && pwd`
1505 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1506 # Use eval to expand $SHELL
1507 if eval "$MISSING --run true"; then
1508 am_missing_run="$MISSING --run "
1511 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1512 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1515 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1516 # We used to keeping the `.' as first argument, in order to
1517 # allow $(mkdir_p) to be used without argument. As in
1518 # $(mkdir_p) $(somedir)
1519 # where $(somedir) is conditionally defined. However this is wrong
1521 # 1. if the package is installed by a user who cannot write `.'
1522 # make install will fail,
1523 # 2. the above comment should most certainly read
1524 # $(mkdir_p) $(DESTDIR)$(somedir)
1525 # so it does not work when $(somedir) is undefined and
1526 # $(DESTDIR) is not.
1527 # To support the latter case, we have to write
1528 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1529 # so the `.' trick is pointless.
1530 mkdir_p='mkdir -p --'
1532 # On NextStep and OpenStep, the `mkdir' command does not
1533 # recognize any option. It will interpret all options as
1534 # directories to create, and then abort because `.' already
1536 for d in ./-p ./--version;
1538 test -d $d && rmdir $d
1540 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1541 if test -f "$ac_aux_dir/mkinstalldirs"; then
1542 mkdir_p='$(mkinstalldirs)'
1544 mkdir_p='$(install_sh) -d'
1548 for ac_prog in gawk mawk nawk awk
1550 # Extract the first word of "$ac_prog", so it can be a program name with args.
1551 set dummy $ac_prog; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_AWK+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$AWK"; then
1558 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir=.
1565 for ac_exec_ext in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_AWK="$ac_prog"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 if test -n "$AWK"; then
1578 echo "$as_me:$LINENO: result: $AWK" >&5
1579 echo "${ECHO_T}$AWK" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1585 test -n "$AWK" && break
1588 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1590 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 cat >conftest.make <<\_ACEOF
1596 @echo 'ac_maketemp="$(MAKE)"'
1598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1600 if test -n "$ac_maketemp"; then
1601 eval ac_cv_prog_make_${ac_make}_set=yes
1603 eval ac_cv_prog_make_${ac_make}_set=no
1607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1608 echo "$as_me:$LINENO: result: yes" >&5
1609 echo "${ECHO_T}yes" >&6
1612 echo "$as_me:$LINENO: result: no" >&5
1613 echo "${ECHO_T}no" >&6
1614 SET_MAKE="MAKE=${MAKE-make}"
1617 rm -rf .tst 2>/dev/null
1618 mkdir .tst 2>/dev/null
1619 if test -d .tst; then
1624 rmdir .tst 2>/dev/null
1626 DEPDIR="${am__leading_dot}deps"
1628 ac_config_commands="$ac_config_commands depfiles"
1631 am_make=${MAKE-make}
1632 cat > confinc << 'END'
1637 # If we don't find an include directive, just comment out the code.
1638 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1639 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1643 # First try GNU make style include.
1644 echo "include confinc" > confmf
1645 # We grep out `Entering directory' and `Leaving directory'
1646 # messages which can occur if `w' ends up in MAKEFLAGS.
1647 # In particular we don't look at `^make:' because GNU make might
1648 # be invoked under some other name (usually "gmake"), in which
1649 # case it prints its new name instead of `make'.
1650 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1655 # Now try BSD make style include.
1656 if test "$am__include" = "#"; then
1657 echo '.include "confinc"' > confmf
1658 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1659 am__include=.include
1666 echo "$as_me:$LINENO: result: $_am_result" >&5
1667 echo "${ECHO_T}$_am_result" >&6
1668 rm -f confinc confmf
1670 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1671 if test "${enable_dependency_tracking+set}" = set; then
1672 enableval="$enable_dependency_tracking"
1675 if test "x$enable_dependency_tracking" != xno; then
1676 am_depcomp="$ac_aux_dir/depcomp"
1681 if test "x$enable_dependency_tracking" != xno; then
1692 # Check whether --enable-multilib or --disable-multilib was given.
1693 if test "${enable_multilib+set}" = set; then
1694 enableval="$enable_multilib"
1695 case "${enableval}" in
1696 yes) multilib=yes ;;
1698 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1699 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1700 { (exit 1); exit 1; }; } ;;
1705 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1706 if test "${enable_target_optspace+set}" = set; then
1707 enableval="$enable_target_optspace"
1708 case "${enableval}" in
1709 yes) target_optspace=yes ;;
1710 no) target_optspace=no ;;
1711 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1712 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1713 { (exit 1); exit 1; }; } ;;
1718 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1719 if test "${enable_malloc_debugging+set}" = set; then
1720 enableval="$enable_malloc_debugging"
1721 case "${enableval}" in
1722 yes) malloc_debugging=yes ;;
1723 no) malloc_debugging=no ;;
1724 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1725 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1726 { (exit 1); exit 1; }; } ;;
1731 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1732 if test "${enable_newlib_multithread+set}" = set; then
1733 enableval="$enable_newlib_multithread"
1734 case "${enableval}" in
1735 yes) newlib_multithread=yes ;;
1736 no) newlib_multithread=no ;;
1737 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1738 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1739 { (exit 1); exit 1; }; } ;;
1742 newlib_multithread=yes
1744 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1745 if test "${enable_newlib_iconv+set}" = set; then
1746 enableval="$enable_newlib_iconv"
1747 if test "${newlib_iconv+set}" != set; then
1748 case "${enableval}" in
1749 yes) newlib_iconv=yes ;;
1750 no) newlib_iconv=no ;;
1751 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1752 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1753 { (exit 1); exit 1; }; } ;;
1757 newlib_iconv=${newlib_iconv}
1759 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1760 if test "${enable_newlib_elix_level+set}" = set; then
1761 enableval="$enable_newlib_elix_level"
1762 case "${enableval}" in
1763 0) newlib_elix_level=0 ;;
1764 1) newlib_elix_level=1 ;;
1765 2) newlib_elix_level=2 ;;
1766 3) newlib_elix_level=3 ;;
1767 4) newlib_elix_level=4 ;;
1768 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1769 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1770 { (exit 1); exit 1; }; } ;;
1775 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1776 if test "${enable_newlib_io_float+set}" = set; then
1777 enableval="$enable_newlib_io_float"
1778 case "${enableval}" in
1779 yes) newlib_io_float=yes ;;
1780 no) newlib_io_float=no ;;
1781 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1782 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1783 { (exit 1); exit 1; }; } ;;
1788 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1789 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1790 enableval="$enable_newlib_supplied_syscalls"
1791 case "${enableval}" in
1792 yes) newlib_may_supply_syscalls=yes ;;
1793 no) newlib_may_supply_syscalls=no ;;
1794 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1795 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1796 { (exit 1); exit 1; }; } ;;
1799 newlib_may_supply_syscalls=yes
1803 if test x${newlib_may_supply_syscalls} = xyes; then
1804 MAY_SUPPLY_SYSCALLS_TRUE=
1805 MAY_SUPPLY_SYSCALLS_FALSE='#'
1807 MAY_SUPPLY_SYSCALLS_TRUE='#'
1808 MAY_SUPPLY_SYSCALLS_FALSE=
1813 test -z "${with_target_subdir}" && with_target_subdir=.
1815 if test "${srcdir}" = "."; then
1816 if test "${with_target_subdir}" != "."; then
1817 newlib_basedir="${srcdir}/${with_multisrctop}../../../../.."
1819 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
1822 newlib_basedir="${srcdir}/../../../.."
1826 echo "$as_me:$LINENO: checking host system type" >&5
1827 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1828 if test "${ac_cv_host+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 ac_cv_host_alias=$host_alias
1832 test -z "$ac_cv_host_alias" &&
1833 ac_cv_host_alias=$ac_cv_build_alias
1834 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1835 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1836 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1837 { (exit 1); exit 1; }; }
1840 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1841 echo "${ECHO_T}$ac_cv_host" >&6
1843 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1844 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1845 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1849 # test to see if srcdir already configured
1850 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1851 test -f $srcdir/config.status; then
1852 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1853 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1854 { (exit 1); exit 1; }; }
1857 # test whether we have cygpath
1858 if test -z "$CYGPATH_W"; then
1859 if (cygpath --version) >/dev/null 2>/dev/null; then
1860 CYGPATH_W='cygpath -w'
1867 # Define the identity of the package.
1872 # Some tools Automake needs.
1874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890 # Installed binaries are usually stripped using `strip' when the user
1891 # run `make install-strip'. However `strip' might not be the right
1892 # tool to use in cross-compilation environments, therefore Automake
1893 # will honor the `STRIP' environment variable to overrule this program.
1894 if test "$cross_compiling" != no; then
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$STRIP"; then
1904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 STRIP=$ac_cv_prog_STRIP
1923 if test -n "$STRIP"; then
1924 echo "$as_me:$LINENO: result: $STRIP" >&5
1925 echo "${ECHO_T}$STRIP" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_STRIP"; then
1934 # Extract the first word of "strip", so it can be a program name with args.
1935 set dummy strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$ac_ct_STRIP"; then
1942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_STRIP="strip"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962 if test -n "$ac_ct_STRIP"; then
1963 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964 echo "${ECHO_T}$ac_ct_STRIP" >&6
1966 echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1972 STRIP="$ac_cv_prog_STRIP"
1976 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978 # We need awk for the "check" target. The system "awk" is bad on
1980 # Always define AMTAR for backward compatibility.
1982 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1991 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1992 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1993 # are probably using a cross compiler, which will not be able to fully
1994 # link an executable. This should really be fixed in autoconf
2003 # Extract the first word of "gcc", so it can be a program name with args.
2004 set dummy gcc; ac_word=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC="$CC" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 if test -n "$CC"; then
2031 echo "$as_me:$LINENO: result: $CC" >&5
2032 echo "${ECHO_T}$CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2039 depcc="$CC" am_compiler_list=
2041 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2042 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2043 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2047 # We make a subdir and do the tests there. Otherwise we can end up
2048 # making bogus files that we don't know about and never remove. For
2049 # instance it was reported that on HP-UX the gcc test will end up
2050 # making a dummy file named `D' -- because `-MD' means `put the output
2053 # Copy depcomp to subdir because otherwise we won't find it if we're
2054 # using a relative directory.
2055 cp "$am_depcomp" conftest.dir
2057 # We will build objects and dependencies in a subdirectory because
2058 # it helps to detect inapplicable dependency modes. For instance
2059 # both Tru64's cc and ICC support -MD to output dependencies as a
2060 # side effect of compilation, but ICC will put the dependencies in
2061 # the current directory while Tru64 will put them in the object
2065 am_cv_CC_dependencies_compiler_type=none
2066 if test "$am_compiler_list" = ""; then
2067 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2069 for depmode in $am_compiler_list; do
2070 # Setup a source with many dependencies, because some compilers
2071 # like to wrap large dependency lists on column 80 (with \), and
2072 # we should not choose a depcomp mode which is confused by this.
2074 # We need to recreate these files for each test, as the compiler may
2075 # overwrite some of them when testing with obscure command lines.
2076 # This happens at least with the AIX C compiler.
2078 for i in 1 2 3 4 5 6; do
2079 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2080 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2081 # Solaris 8's {/usr,}/bin/sh.
2082 touch sub/conftst$i.h
2084 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2088 # after this tag, mechanisms are not by side-effect, so they'll
2089 # only be used when explicitly requested
2090 if test "x$enable_dependency_tracking" = xyes; then
2098 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2099 # mode. It turns out that the SunPro C++ compiler does not properly
2100 # handle `-M -o', and we need to detect this.
2101 if depmode=$depmode \
2102 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2103 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2104 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2105 >/dev/null 2>conftest.err &&
2106 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2107 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2108 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2109 # icc doesn't choke on unknown options, it will just issue warnings
2110 # or remarks (even with -Werror). So we grep stderr for any message
2111 # that says an option was ignored or not supported.
2112 # When given -MP, icc 7.0 and 7.1 complain thusly:
2113 # icc: Command line warning: ignoring option '-M'; no argument required
2114 # The diagnosis changed in icc 8.0:
2115 # icc: Command line remark: option '-MP' not supported
2116 if (grep 'ignoring option' conftest.err ||
2117 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2118 am_cv_CC_dependencies_compiler_type=$depmode
2127 am_cv_CC_dependencies_compiler_type=none
2131 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2132 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2133 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2138 test "x$enable_dependency_tracking" != xno \
2139 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2141 am__fastdepCC_FALSE='#'
2143 am__fastdepCC_TRUE='#'
2144 am__fastdepCC_FALSE=
2148 if test -z "$CC"; then
2149 # Extract the first word of "cc", so it can be a program name with args.
2150 set dummy cc; ac_word=$2
2151 echo "$as_me:$LINENO: checking for $ac_word" >&5
2152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2153 if test "${ac_cv_prog_CC+set}" = set; then
2154 echo $ECHO_N "(cached) $ECHO_C" >&6
2156 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir=.
2165 for ac_exec_ext in '' $ac_executable_extensions; do
2166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2168 ac_prog_rejected=yes
2172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 if test $ac_prog_rejected = yes; then
2179 # We found a bogon in the path, so make sure we never use it.
2180 set dummy $ac_cv_prog_CC
2182 if test $# != 0; then
2183 # We chose a different compiler from the bogus one.
2184 # However, it has the same basename, so the bogon will be chosen
2185 # first if we set CC to just the basename; use the full file name.
2187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2193 if test -n "$CC"; then
2194 echo "$as_me:$LINENO: result: $CC" >&5
2195 echo "${ECHO_T}$CC" >&6
2197 echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6
2201 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2202 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2203 { (exit 1); exit 1; }; }
2206 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2207 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2208 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 cat > conftest.c <<EOF
2216 if { ac_try='${CC-cc} -E conftest.c'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2222 ac_cv_c_compiler_gnu=yes
2224 ac_cv_c_compiler_gnu=no
2227 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2228 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2230 if test $ac_cv_c_compiler_gnu = yes; then
2232 ac_test_CFLAGS="${CFLAGS+set}"
2233 ac_save_CFLAGS="$CFLAGS"
2235 ac_test_CFLAGS=${CFLAGS+set}
2236 ac_save_CFLAGS=$CFLAGS
2238 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2239 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2240 if test "${ac_cv_prog_cc_g+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 cat >conftest.$ac_ext <<_ACEOF
2246 cat confdefs.h >>conftest.$ac_ext
2247 cat >>conftest.$ac_ext <<_ACEOF
2248 /* end confdefs.h. */
2258 rm -f conftest.$ac_objext
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260 (eval $ac_compile) 2>conftest.er1
2262 grep -v '^ *+' conftest.er1 >conftest.err
2264 cat conftest.err >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); } &&
2267 { ac_try='test -z "$ac_c_werror_flag"
2268 || test ! -s conftest.err'
2269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; } &&
2274 { ac_try='test -s conftest.$ac_objext'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; }; then
2282 echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.$ac_ext >&5
2287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2289 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2290 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2291 if test "$ac_test_CFLAGS" = set; then
2292 CFLAGS=$ac_save_CFLAGS
2293 elif test $ac_cv_prog_cc_g = yes; then
2294 if test "$GCC" = yes; then
2300 if test "$GCC" = yes; then
2306 if test "$ac_test_CFLAGS" = set; then
2307 CFLAGS="$ac_save_CFLAGS"
2308 elif test $ac_cv_prog_cc_g = yes; then
2315 test "${CFLAGS+set}" = set || CFLAGS="-g"
2319 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2321 set dummy ${ac_tool_prefix}as; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_AS+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$AS"; then
2328 ac_cv_prog_AS="$AS" # Let the user override the test.
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_AS="${ac_tool_prefix}as"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 if test -n "$AS"; then
2348 echo "$as_me:$LINENO: result: $AS" >&5
2349 echo "${ECHO_T}$AS" >&6
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2356 if test -z "$ac_cv_prog_AS"; then
2358 # Extract the first word of "as", so it can be a program name with args.
2359 set dummy as; ac_word=$2
2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2362 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_AS"; then
2366 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2375 ac_cv_prog_ac_ct_AS="as"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2385 if test -n "$ac_ct_AS"; then
2386 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2387 echo "${ECHO_T}$ac_ct_AS" >&6
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2398 if test -n "$ac_tool_prefix"; then
2399 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2400 set dummy ${ac_tool_prefix}ar; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_AR+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 if test -n "$AR"; then
2407 ac_cv_prog_AR="$AR" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_AR="${ac_tool_prefix}ar"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 if test -n "$AR"; then
2427 echo "$as_me:$LINENO: result: $AR" >&5
2428 echo "${ECHO_T}$AR" >&6
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2435 if test -z "$ac_cv_prog_AR"; then
2437 # Extract the first word of "ar", so it can be a program name with args.
2438 set dummy ar; ac_word=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test -n "$ac_ct_AR"; then
2445 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_AR="ar"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2464 if test -n "$ac_ct_AR"; then
2465 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2466 echo "${ECHO_T}$ac_ct_AR" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2477 if test -n "$ac_tool_prefix"; then
2478 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2479 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2480 echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2482 if test "${ac_cv_prog_RANLIB+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$RANLIB"; then
2486 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 RANLIB=$ac_cv_prog_RANLIB
2505 if test -n "$RANLIB"; then
2506 echo "$as_me:$LINENO: result: $RANLIB" >&5
2507 echo "${ECHO_T}$RANLIB" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2514 if test -z "$ac_cv_prog_RANLIB"; then
2515 ac_ct_RANLIB=$RANLIB
2516 # Extract the first word of "ranlib", so it can be a program name with args.
2517 set dummy ranlib; ac_word=$2
2518 echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2520 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test -n "$ac_ct_RANLIB"; then
2524 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2533 ac_cv_prog_ac_ct_RANLIB="ranlib"
2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2543 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2544 if test -n "$ac_ct_RANLIB"; then
2545 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2546 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2548 echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6
2552 RANLIB=$ac_ct_RANLIB
2554 RANLIB="$ac_cv_prog_RANLIB"
2558 # Find a good install program. We prefer a C program (faster),
2559 # so one script is as good as another. But avoid the broken or
2560 # incompatible versions:
2561 # SysV /etc/install, /usr/sbin/install
2562 # SunOS /usr/etc/install
2563 # IRIX /sbin/install
2565 # AmigaOS /C/install, which installs bootblocks on floppy discs
2566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2569 # OS/2's system install, which has a completely different semantic
2570 # ./install, which can be erroneously created by make from ./install.sh.
2571 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2572 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2573 if test -z "$INSTALL"; then
2574 if test "${ac_cv_path_install+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 # Account for people who put trailing slashes in PATH elements.
2584 ./ | .// | /cC/* | \
2585 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2586 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2589 # OSF1 and SCO ODT 3.0 have their own names for install.
2590 # Don't use installbsd from OSF since it installs stuff as root
2592 for ac_prog in ginstall scoinst install; do
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2595 if test $ac_prog = install &&
2596 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2597 # AIX install. It has an incompatible calling convention.
2599 elif test $ac_prog = install &&
2600 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2601 # program-specific install script used by HP pwplus--don't use.
2604 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2616 if test "${ac_cv_path_install+set}" = set; then
2617 INSTALL=$ac_cv_path_install
2619 # As a last resort, use the slow shell script. We don't cache a
2620 # path for INSTALL within a source directory, because that will
2621 # break other packages using the cache if that directory is
2622 # removed, or if the path is relative.
2623 INSTALL=$ac_install_sh
2626 echo "$as_me:$LINENO: result: $INSTALL" >&5
2627 echo "${ECHO_T}$INSTALL" >&6
2629 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2630 # It thinks the first close brace ends the variable substitution.
2631 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2633 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2635 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2638 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2639 ac_given_INSTALL=$INSTALL
2641 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2642 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2643 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2644 if test "${enable_maintainer_mode+set}" = set; then
2645 enableval="$enable_maintainer_mode"
2646 USE_MAINTAINER_MODE=$enableval
2648 USE_MAINTAINER_MODE=no
2650 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2651 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2654 if test $USE_MAINTAINER_MODE = yes; then
2655 MAINTAINER_MODE_TRUE=
2656 MAINTAINER_MODE_FALSE='#'
2658 MAINTAINER_MODE_TRUE='#'
2659 MAINTAINER_MODE_FALSE=
2662 MAINT=$MAINTAINER_MODE_TRUE
2665 # By default we simply use the C compiler to build assembly code.
2667 test "${CCAS+set}" = set || CCAS=$CC
2668 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2673 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2674 # at least currently, we never actually build a program, so we never
2675 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2676 # fails, because we are probably configuring with a cross compiler
2677 # which can't create executables. So we include AC_EXEEXT to keep
2678 # automake happy, but we don't execute it, since we don't care about
2685 . ${newlib_basedir}/configure.host
2687 newlib_cflags="${newlib_cflags} -fno-builtin"
2689 NEWLIB_CFLAGS=${newlib_cflags}
2697 if test x${newlib_elix_level} = x0; then
2699 ELIX_LEVEL_0_FALSE='#'
2701 ELIX_LEVEL_0_TRUE='#'
2707 if test x${newlib_elix_level} = x1; then
2709 ELIX_LEVEL_1_FALSE='#'
2711 ELIX_LEVEL_1_TRUE='#'
2717 if test x${newlib_elix_level} = x2; then
2719 ELIX_LEVEL_2_FALSE='#'
2721 ELIX_LEVEL_2_TRUE='#'
2727 if test x${newlib_elix_level} = x3; then
2729 ELIX_LEVEL_3_FALSE='#'
2731 ELIX_LEVEL_3_TRUE='#'
2737 if test x${newlib_elix_level} = x4; then
2739 ELIX_LEVEL_4_FALSE='#'
2741 ELIX_LEVEL_4_TRUE='#'
2748 if test x${use_libtool} = xyes; then
2750 USE_LIBTOOL_FALSE='#'
2752 USE_LIBTOOL_TRUE='#'
2757 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2758 # use oext, which is set in configure.host based on the target platform.
2771 if test "${use_libtool}" = "yes"; then
2773 # Check whether --enable-shared or --disable-shared was given.
2774 if test "${enable_shared+set}" = set; then
2775 enableval="$enable_shared"
2776 p=${PACKAGE-default}
2778 yes) enable_shared=yes ;;
2779 no) enable_shared=no ;;
2782 # Look at the argument we got. We use all the common list separators.
2783 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2784 for pkg in $enableval; do
2785 if test "X$pkg" = "X$p"; then
2795 # Check whether --enable-static or --disable-static was given.
2796 if test "${enable_static+set}" = set; then
2797 enableval="$enable_static"
2798 p=${PACKAGE-default}
2800 yes) enable_static=yes ;;
2801 no) enable_static=no ;;
2804 # Look at the argument we got. We use all the common list separators.
2805 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2806 for pkg in $enableval; do
2807 if test "X$pkg" = "X$p"; then
2817 # Check whether --enable-fast-install or --disable-fast-install was given.
2818 if test "${enable_fast_install+set}" = set; then
2819 enableval="$enable_fast_install"
2820 p=${PACKAGE-default}
2822 yes) enable_fast_install=yes ;;
2823 no) enable_fast_install=no ;;
2825 enable_fast_install=no
2826 # Look at the argument we got. We use all the common list separators.
2827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2828 for pkg in $enableval; do
2829 if test "X$pkg" = "X$p"; then
2830 enable_fast_install=yes
2837 enable_fast_install=yes
2840 ac_cpp='$CPP $CPPFLAGS'
2841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2844 if test -n "$ac_tool_prefix"; then
2845 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2846 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2847 echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2849 if test "${ac_cv_prog_CC+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 if test -n "$CC"; then
2853 ac_cv_prog_CC="$CC" # Let the user override the test.
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 if test -n "$CC"; then
2873 echo "$as_me:$LINENO: result: $CC" >&5
2874 echo "${ECHO_T}$CC" >&6
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2881 if test -z "$ac_cv_prog_CC"; then
2883 # Extract the first word of "gcc", so it can be a program name with args.
2884 set dummy gcc; ac_word=$2
2885 echo "$as_me:$LINENO: checking for $ac_word" >&5
2886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 if test -n "$ac_ct_CC"; then
2891 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_ac_ct_CC="gcc"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2910 if test -n "$ac_ct_CC"; then
2911 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2912 echo "${ECHO_T}$ac_ct_CC" >&6
2914 echo "$as_me:$LINENO: result: no" >&5
2915 echo "${ECHO_T}no" >&6
2923 if test -z "$CC"; then
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2926 set dummy ${ac_tool_prefix}cc; 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}cc"
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 "cc", so it can be a program name with args.
2964 set dummy cc; 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="cc"
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
3004 if test -z "$CC"; then
3005 # Extract the first word of "cc", so it can be a program name with args.
3006 set dummy 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.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3023 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3024 ac_prog_rejected=yes
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test $ac_prog_rejected = yes; then
3035 # We found a bogon in the path, so make sure we never use it.
3036 set dummy $ac_cv_prog_CC
3038 if test $# != 0; then
3039 # We chose a different compiler from the bogus one.
3040 # However, it has the same basename, so the bogon will be chosen
3041 # first if we set CC to just the basename; use the full file name.
3043 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3049 if test -n "$CC"; then
3050 echo "$as_me:$LINENO: result: $CC" >&5
3051 echo "${ECHO_T}$CC" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3058 if test -z "$CC"; then
3059 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3064 echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3066 if test "${ac_cv_prog_CC+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC="$CC" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 echo "$as_me:$LINENO: result: $CC" >&5
3091 echo "${ECHO_T}$CC" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3097 test -n "$CC" && break
3100 if test -z "$CC"; then
3104 # Extract the first word of "$ac_prog", so it can be a program name with args.
3105 set dummy $ac_prog; ac_word=$2
3106 echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$ac_ct_CC"; then
3112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_ac_ct_CC="$ac_prog"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3131 if test -n "$ac_ct_CC"; then
3132 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3133 echo "${ECHO_T}$ac_ct_CC" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3139 test -n "$ac_ct_CC" && break
3148 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3149 See \`config.log' for more details." >&5
3150 echo "$as_me: error: no acceptable C compiler found in \$PATH
3151 See \`config.log' for more details." >&2;}
3152 { (exit 1); exit 1; }; }
3154 # Provide some information about the compiler.
3155 echo "$as_me:$LINENO:" \
3156 "checking for C compiler version" >&5
3157 ac_compiler=`set X $ac_compile; echo $2`
3158 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3159 (eval $ac_compiler --version </dev/null >&5) 2>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }
3163 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3164 (eval $ac_compiler -v </dev/null >&5) 2>&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }
3168 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3169 (eval $ac_compiler -V </dev/null >&5) 2>&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }
3174 cat >conftest.$ac_ext <<_ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 ac_clean_files_save=$ac_clean_files
3190 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3191 # Try to create an executable without -o first, disregard a.out.
3192 # It will help us diagnose broken compilers, and finding out an intuition
3194 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3195 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3196 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3197 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3198 (eval $ac_link_default) 2>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; then
3202 # Find the output, starting from the most likely. This scheme is
3203 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3206 # Be careful to initialize this variable, since it used to be cached.
3207 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3209 # b.out is created by i960 compilers.
3210 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3212 test -f "$ac_file" || continue
3214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3217 # This is the source file.
3220 # We found the default executable, but exeext='' is most
3224 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225 # FIXME: I believe we export ac_cv_exeext for Libtool,
3226 # but it would be cool to find out if it's true. Does anybody
3227 # maintain Libtool? --akim.
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3239 See \`config.log' for more details." >&5
3240 echo "$as_me: error: C compiler cannot create executables
3241 See \`config.log' for more details." >&2;}
3242 { (exit 77); exit 77; }; }
3245 ac_exeext=$ac_cv_exeext
3246 echo "$as_me:$LINENO: result: $ac_file" >&5
3247 echo "${ECHO_T}$ac_file" >&6
3249 # Check the compiler produces executables we can run. If not, either
3250 # the compiler is broken, or we cross compile.
3251 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3252 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3253 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3254 # If not cross compiling, check that we can run a simple program.
3255 if test "$cross_compiling" != yes; then
3256 if { ac_try='./$ac_file'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3264 if test "$cross_compiling" = maybe; then
3267 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3268 If you meant to cross compile, use \`--host'.
3269 See \`config.log' for more details." >&5
3270 echo "$as_me: error: cannot run C compiled programs.
3271 If you meant to cross compile, use \`--host'.
3272 See \`config.log' for more details." >&2;}
3273 { (exit 1); exit 1; }; }
3277 echo "$as_me:$LINENO: result: yes" >&5
3278 echo "${ECHO_T}yes" >&6
3280 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3281 ac_clean_files=$ac_clean_files_save
3282 # Check the compiler produces executables we can run. If not, either
3283 # the compiler is broken, or we cross compile.
3284 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3285 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3286 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3287 echo "${ECHO_T}$cross_compiling" >&6
3289 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3290 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3292 (eval $ac_link) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; then
3296 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3297 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3298 # work properly (i.e., refer to `conftest.exe'), while it won't with
3300 for ac_file in conftest.exe conftest conftest.*; do
3301 test -f "$ac_file" || continue
3303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3304 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3312 See \`config.log' for more details." >&5
3313 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3314 See \`config.log' for more details." >&2;}
3315 { (exit 1); exit 1; }; }
3318 rm -f conftest$ac_cv_exeext
3319 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3320 echo "${ECHO_T}$ac_cv_exeext" >&6
3322 rm -f conftest.$ac_ext
3323 EXEEXT=$ac_cv_exeext
3325 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3326 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3327 if test "${ac_cv_objext+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 cat >conftest.$ac_ext <<_ACEOF
3333 cat confdefs.h >>conftest.$ac_ext
3334 cat >>conftest.$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3345 rm -f conftest.o conftest.obj
3346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3347 (eval $ac_compile) 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; then
3351 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.$ac_ext >&5
3362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3363 See \`config.log' for more details." >&5
3364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3365 See \`config.log' for more details." >&2;}
3366 { (exit 1); exit 1; }; }
3369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3371 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3372 echo "${ECHO_T}$ac_cv_objext" >&6
3373 OBJEXT=$ac_cv_objext
3375 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3376 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3377 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 cat >conftest.$ac_ext <<_ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3398 rm -f conftest.$ac_objext
3399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400 (eval $ac_compile) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try='test -z "$ac_c_werror_flag"
3408 || test ! -s conftest.err'
3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; } &&
3414 { ac_try='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3431 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3432 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3433 GCC=`test $ac_compiler_gnu = yes && echo yes`
3434 ac_test_CFLAGS=${CFLAGS+set}
3435 ac_save_CFLAGS=$CFLAGS
3437 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3438 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3439 if test "${ac_cv_prog_cc_g+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3457 rm -f conftest.$ac_objext
3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>conftest.er1
3461 grep -v '^ *+' conftest.er1 >conftest.err
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try='test -z "$ac_c_werror_flag"
3467 || test ! -s conftest.err'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; } &&
3473 { ac_try='test -s conftest.$ac_objext'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3488 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3489 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3490 if test "$ac_test_CFLAGS" = set; then
3491 CFLAGS=$ac_save_CFLAGS
3492 elif test $ac_cv_prog_cc_g = yes; then
3493 if test "$GCC" = yes; then
3499 if test "$GCC" = yes; then
3505 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3506 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3507 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 ac_cv_prog_cc_stdc=no
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3520 #include <sys/types.h>
3521 #include <sys/stat.h>
3522 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3523 struct buf { int x; };
3524 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3525 static char *e (p, i)
3531 static char *f (char * (*g) (char **, int), char **p, ...)
3536 s = g (p, va_arg (v,int));
3541 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3542 function prototypes and stuff, but not '\xHH' hex character constants.
3543 These don't provoke an error unfortunately, instead are silently treated
3544 as 'x'. The following induces an error, until -std1 is added to get
3545 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3546 array size at least. It's necessary to write '\x00'==0 to get something
3547 that's true only with -std1. */
3548 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3550 int test (int i, double x);
3551 struct s1 {int (*f) (int a);};
3552 struct s2 {int (*f) (double a);};
3553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3564 # Don't try gcc -ansi; that turns off useful extensions and
3565 # breaks some systems' header files.
3566 # AIX -qlanglvl=ansi
3567 # Ultrix and OSF/1 -std1
3568 # HP-UX 10.20 and later -Ae
3569 # HP-UX older versions -Aa -D_HPUX_SOURCE
3570 # SVR4 -Xc -D__EXTENSIONS__
3571 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3573 CC="$ac_save_CC $ac_arg"
3574 rm -f conftest.$ac_objext
3575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3576 (eval $ac_compile) 2>conftest.er1
3578 grep -v '^ *+' conftest.er1 >conftest.err
3580 cat conftest.err >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } &&
3583 { ac_try='test -z "$ac_c_werror_flag"
3584 || test ! -s conftest.err'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; } &&
3590 { ac_try='test -s conftest.$ac_objext'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; }; then
3596 ac_cv_prog_cc_stdc=$ac_arg
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3603 rm -f conftest.err conftest.$ac_objext
3605 rm -f conftest.$ac_ext conftest.$ac_objext
3610 case "x$ac_cv_prog_cc_stdc" in
3612 echo "$as_me:$LINENO: result: none needed" >&5
3613 echo "${ECHO_T}none needed" >&6 ;;
3615 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3616 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3617 CC="$CC $ac_cv_prog_cc_stdc" ;;
3620 # Some people use a C++ compiler to compile C. Since we use `exit',
3621 # in C++ we need to declare it. In case someone uses the same compiler
3622 # for both compiling C and C++ we need to have the C++ compiler decide
3623 # the declaration of exit, since it's the most demanding environment.
3624 cat >conftest.$ac_ext <<_ACEOF
3629 rm -f conftest.$ac_objext
3630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3631 (eval $ac_compile) 2>conftest.er1
3633 grep -v '^ *+' conftest.er1 >conftest.err
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } &&
3638 { ac_try='test -z "$ac_c_werror_flag"
3639 || test ! -s conftest.err'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; } &&
3645 { ac_try='test -s conftest.$ac_objext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3651 for ac_declaration in \
3653 'extern "C" void std::exit (int) throw (); using std::exit;' \
3654 'extern "C" void std::exit (int); using std::exit;' \
3655 'extern "C" void exit (int) throw ();' \
3656 'extern "C" void exit (int);' \
3659 cat >conftest.$ac_ext <<_ACEOF
3662 cat confdefs.h >>conftest.$ac_ext
3663 cat >>conftest.$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3675 rm -f conftest.$ac_objext
3676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3677 (eval $ac_compile) 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } &&
3684 { ac_try='test -z "$ac_c_werror_flag"
3685 || test ! -s conftest.err'
3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); }; } &&
3691 { ac_try='test -s conftest.$ac_objext'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3705 cat >conftest.$ac_ext <<_ACEOF
3708 cat confdefs.h >>conftest.$ac_ext
3709 cat >>conftest.$ac_ext <<_ACEOF
3710 /* end confdefs.h. */
3720 rm -f conftest.$ac_objext
3721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3722 (eval $ac_compile) 2>conftest.er1
3724 grep -v '^ *+' conftest.er1 >conftest.err
3726 cat conftest.err >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } &&
3729 { ac_try='test -z "$ac_c_werror_flag"
3730 || test ! -s conftest.err'
3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }; } &&
3736 { ac_try='test -s conftest.$ac_objext'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; }; then
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3751 if test -n "$ac_declaration"; then
3752 echo '#ifdef __cplusplus' >>confdefs.h
3753 echo $ac_declaration >>confdefs.h
3754 echo '#endif' >>confdefs.h
3758 echo "$as_me: failed program was:" >&5
3759 sed 's/^/| /' conftest.$ac_ext >&5
3762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769 depcc="$CC" am_compiler_list=
3771 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3772 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3773 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3777 # We make a subdir and do the tests there. Otherwise we can end up
3778 # making bogus files that we don't know about and never remove. For
3779 # instance it was reported that on HP-UX the gcc test will end up
3780 # making a dummy file named `D' -- because `-MD' means `put the output
3783 # Copy depcomp to subdir because otherwise we won't find it if we're
3784 # using a relative directory.
3785 cp "$am_depcomp" conftest.dir
3787 # We will build objects and dependencies in a subdirectory because
3788 # it helps to detect inapplicable dependency modes. For instance
3789 # both Tru64's cc and ICC support -MD to output dependencies as a
3790 # side effect of compilation, but ICC will put the dependencies in
3791 # the current directory while Tru64 will put them in the object
3795 am_cv_CC_dependencies_compiler_type=none
3796 if test "$am_compiler_list" = ""; then
3797 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3799 for depmode in $am_compiler_list; do
3800 # Setup a source with many dependencies, because some compilers
3801 # like to wrap large dependency lists on column 80 (with \), and
3802 # we should not choose a depcomp mode which is confused by this.
3804 # We need to recreate these files for each test, as the compiler may
3805 # overwrite some of them when testing with obscure command lines.
3806 # This happens at least with the AIX C compiler.
3808 for i in 1 2 3 4 5 6; do
3809 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3810 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3811 # Solaris 8's {/usr,}/bin/sh.
3812 touch sub/conftst$i.h
3814 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3818 # after this tag, mechanisms are not by side-effect, so they'll
3819 # only be used when explicitly requested
3820 if test "x$enable_dependency_tracking" = xyes; then
3828 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3829 # mode. It turns out that the SunPro C++ compiler does not properly
3830 # handle `-M -o', and we need to detect this.
3831 if depmode=$depmode \
3832 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3833 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3834 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3835 >/dev/null 2>conftest.err &&
3836 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3837 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3838 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3839 # icc doesn't choke on unknown options, it will just issue warnings
3840 # or remarks (even with -Werror). So we grep stderr for any message
3841 # that says an option was ignored or not supported.
3842 # When given -MP, icc 7.0 and 7.1 complain thusly:
3843 # icc: Command line warning: ignoring option '-M'; no argument required
3844 # The diagnosis changed in icc 8.0:
3845 # icc: Command line remark: option '-MP' not supported
3846 if (grep 'ignoring option' conftest.err ||
3847 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3848 am_cv_CC_dependencies_compiler_type=$depmode
3857 am_cv_CC_dependencies_compiler_type=none
3861 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3862 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3863 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3868 test "x$enable_dependency_tracking" != xno \
3869 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3871 am__fastdepCC_FALSE='#'
3873 am__fastdepCC_TRUE='#'
3874 am__fastdepCC_FALSE=
3879 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3880 if test "${with_gnu_ld+set}" = set; then
3881 withval="$with_gnu_ld"
3882 test "$withval" = no || with_gnu_ld=yes
3887 if test "$GCC" = yes; then
3888 # Check if gcc -print-prog-name=ld gives a path.
3889 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3890 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3893 # gcc leaves a trailing carriage return which upsets mingw
3894 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3896 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3899 # Accept absolute paths.
3900 [\\/]* | [A-Za-z]:[\\/]*)
3901 re_direlt='/[^/][^/]*/\.\./'
3902 # Canonicalize the path of ld
3903 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3904 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3905 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3907 test -z "$LD" && LD="$ac_prog"
3910 # If it fails, then pretend we aren't using GCC.
3914 # If it is relative, then search for the first ld in PATH.
3918 elif test "$with_gnu_ld" = yes; then
3919 echo "$as_me:$LINENO: checking for GNU ld" >&5
3920 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3922 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3923 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3925 if test "${lt_cv_path_LD+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 if test -z "$LD"; then
3929 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3930 for ac_dir in $PATH; do
3931 test -z "$ac_dir" && ac_dir=.
3932 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3933 lt_cv_path_LD="$ac_dir/$ac_prog"
3934 # Check to see if the program is GNU ld. I'd rather use --version,
3935 # but apparently some GNU ld's only accept -v.
3936 # Break only if it was the GNU/non-GNU ld that we prefer.
3937 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3938 test "$with_gnu_ld" != no && break
3940 test "$with_gnu_ld" != yes && break
3946 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3951 if test -n "$LD"; then
3952 echo "$as_me:$LINENO: result: $LD" >&5
3953 echo "${ECHO_T}$LD" >&6
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3958 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3959 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3960 { (exit 1); exit 1; }; }
3961 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3962 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3963 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3967 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3968 lt_cv_prog_gnu_ld=yes
3970 lt_cv_prog_gnu_ld=no
3973 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3974 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3975 with_gnu_ld=$lt_cv_prog_gnu_ld
3978 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3979 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3980 if test "${lt_cv_ld_reload_flag+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 lt_cv_ld_reload_flag='-r'
3985 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3986 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3987 reload_flag=$lt_cv_ld_reload_flag
3988 test -n "$reload_flag" && reload_flag=" $reload_flag"
3990 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3991 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3992 if test "${lt_cv_path_NM+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3995 if test -n "$NM"; then
3996 # Let the user override the test.
3999 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4000 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4001 test -z "$ac_dir" && ac_dir=.
4002 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4003 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4004 # Check to see if the nm accepts a BSD-compat flag.
4005 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4006 # nm: unknown option "B" ignored
4007 # Tru64's nm complains that /dev/null is an invalid object file
4008 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4009 lt_cv_path_NM="$tmp_nm -B"
4011 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4012 lt_cv_path_NM="$tmp_nm -p"
4015 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4016 continue # so that we can try to find one that supports BSD flags
4021 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4026 echo "$as_me:$LINENO: result: $NM" >&5
4027 echo "${ECHO_T}$NM" >&6
4029 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4030 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4032 if test "$LN_S" = "ln -s"; then
4033 echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6
4036 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4037 echo "${ECHO_T}no, using $LN_S" >&6
4040 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4041 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4042 if test "${lt_cv_deplibs_check_method+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 lt_cv_file_magic_cmd='$MAGIC_CMD'
4046 lt_cv_file_magic_test_file=
4047 lt_cv_deplibs_check_method='unknown'
4048 # Need to set the preceding variable on all platforms that support
4049 # interlibrary dependencies.
4050 # 'none' -- dependencies not supported.
4051 # `unknown' -- same as none, but documents that we really don't know.
4052 # 'pass_all' -- all dependencies passed with no checks.
4053 # 'test_compile' -- check by making test program.
4054 # 'file_magic [regex]' -- check by looking for files in library path
4055 # which responds to the $file_magic_cmd with a given egrep regex.
4056 # If you have `file' or equivalent on your system and you're not sure
4057 # whether `pass_all' will *always* work, you probably want this one.
4061 lt_cv_deplibs_check_method=pass_all
4065 lt_cv_deplibs_check_method=pass_all
4069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4070 lt_cv_file_magic_cmd='/usr/bin/file -L'
4071 lt_cv_file_magic_test_file=/shlib/libc.so
4074 cygwin* | mingw* |pw32*)
4075 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4076 lt_cv_file_magic_cmd='$OBJDUMP -f'
4079 darwin* | rhapsody*)
4080 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4081 lt_cv_file_magic_cmd='/usr/bin/file -L'
4083 rhapsody* | darwin1.012)
4084 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4087 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4093 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4096 # Not sure whether the presence of OpenBSD here was a mistake.
4097 # Let's accept both of them until this is cleared up.
4098 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4099 lt_cv_file_magic_cmd=/usr/bin/file
4100 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4104 lt_cv_deplibs_check_method=pass_all
4109 lt_cv_deplibs_check_method=pass_all
4115 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4116 lt_cv_file_magic_cmd=/usr/bin/file
4117 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4120 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4121 lt_cv_file_magic_cmd=/usr/bin/file
4122 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4130 # this will be overridden with pass_all, but let us keep it just in case
4131 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4135 *-32|*"-32 ") libmagic=32-bit;;
4136 *-n32|*"-n32 ") libmagic=N32;;
4137 *-64|*"-64 ") libmagic=64-bit;;
4138 *) libmagic=never-match;;
4140 # this will be overridden with pass_all, but let us keep it just in case
4141 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4144 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4145 lt_cv_deplibs_check_method=pass_all
4148 # This must be Linux ELF.
4149 linux-gnu*|linux-newlib*)
4151 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4152 lt_cv_deplibs_check_method=pass_all ;;
4154 # glibc up to 2.1.1 does not perform some relocations on ARM
4155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4157 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4161 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4162 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4164 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4169 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4170 lt_cv_file_magic_cmd=/usr/bin/file
4171 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4174 osf3* | osf4* | osf5*)
4175 # this will be overridden with pass_all, but let us keep it just in case
4176 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4177 lt_cv_file_magic_test_file=/shlib/libc.so
4178 lt_cv_deplibs_check_method=pass_all
4182 lt_cv_deplibs_check_method=pass_all
4186 lt_cv_deplibs_check_method=pass_all
4187 lt_cv_file_magic_test_file=/lib/libc.so
4190 sysv5uw[78]* | sysv4*uw2*)
4191 lt_cv_deplibs_check_method=pass_all
4194 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4195 case $host_vendor in
4197 lt_cv_deplibs_check_method=pass_all
4200 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]'
4201 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4208 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4209 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4210 file_magic_cmd=$lt_cv_file_magic_cmd
4211 deplibs_check_method=$lt_cv_deplibs_check_method
4216 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4218 # Only perform the check for file, if the check method requires it
4219 case $deplibs_check_method in
4221 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4222 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4223 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4224 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4232 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4235 ac_save_MAGIC_CMD="$MAGIC_CMD"
4236 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4237 ac_dummy="/usr/bin:$PATH"
4238 for ac_dir in $ac_dummy; do
4239 test -z "$ac_dir" && ac_dir=.
4240 if test -f $ac_dir/${ac_tool_prefix}file; then
4241 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4242 if test -n "$file_magic_test_file"; then
4243 case $deplibs_check_method in
4245 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4246 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4247 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4248 egrep "$file_magic_regex" > /dev/null; then
4253 *** Warning: the command libtool uses to detect shared libraries,
4254 *** $file_magic_cmd, produces output that libtool cannot recognize.
4255 *** The result is that libtool may fail to recognize shared libraries
4256 *** as such. This will affect the creation of libtool libraries that
4257 *** depend on shared libraries, but programs linked with such libtool
4258 *** libraries will work regardless of this problem. Nevertheless, you
4259 *** may want to report the problem to your system manager and/or to
4260 *** bug-libtool@gnu.org
4270 MAGIC_CMD="$ac_save_MAGIC_CMD"
4275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4276 if test -n "$MAGIC_CMD"; then
4277 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4278 echo "${ECHO_T}$MAGIC_CMD" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4284 if test -z "$lt_cv_path_MAGIC_CMD"; then
4285 if test -n "$ac_tool_prefix"; then
4286 echo "$as_me:$LINENO: checking for file" >&5
4287 echo $ECHO_N "checking for file... $ECHO_C" >&6
4288 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4296 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4299 ac_save_MAGIC_CMD="$MAGIC_CMD"
4300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4301 ac_dummy="/usr/bin:$PATH"
4302 for ac_dir in $ac_dummy; do
4303 test -z "$ac_dir" && ac_dir=.
4304 if test -f $ac_dir/file; then
4305 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4306 if test -n "$file_magic_test_file"; then
4307 case $deplibs_check_method in
4309 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4310 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4311 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4312 egrep "$file_magic_regex" > /dev/null; then
4317 *** Warning: the command libtool uses to detect shared libraries,
4318 *** $file_magic_cmd, produces output that libtool cannot recognize.
4319 *** The result is that libtool may fail to recognize shared libraries
4320 *** as such. This will affect the creation of libtool libraries that
4321 *** depend on shared libraries, but programs linked with such libtool
4322 *** libraries will work regardless of this problem. Nevertheless, you
4323 *** may want to report the problem to your system manager and/or to
4324 *** bug-libtool@gnu.org
4334 MAGIC_CMD="$ac_save_MAGIC_CMD"
4339 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4340 if test -n "$MAGIC_CMD"; then
4341 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4342 echo "${ECHO_T}$MAGIC_CMD" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4357 if test -n "$ac_tool_prefix"; then
4358 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4359 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4360 echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4362 if test "${ac_cv_prog_RANLIB+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$RANLIB"; then
4366 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 RANLIB=$ac_cv_prog_RANLIB
4385 if test -n "$RANLIB"; then
4386 echo "$as_me:$LINENO: result: $RANLIB" >&5
4387 echo "${ECHO_T}$RANLIB" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4394 if test -z "$ac_cv_prog_RANLIB"; then
4395 ac_ct_RANLIB=$RANLIB
4396 # Extract the first word of "ranlib", so it can be a program name with args.
4397 set dummy ranlib; ac_word=$2
4398 echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4400 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if test -n "$ac_ct_RANLIB"; then
4404 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_ac_ct_RANLIB="ranlib"
4414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4423 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4424 if test -n "$ac_ct_RANLIB"; then
4425 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4426 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4432 RANLIB=$ac_ct_RANLIB
4434 RANLIB="$ac_cv_prog_RANLIB"
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$STRIP"; then
4446 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 STRIP=$ac_cv_prog_STRIP
4465 if test -n "$STRIP"; then
4466 echo "$as_me:$LINENO: result: $STRIP" >&5
4467 echo "${ECHO_T}$STRIP" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4474 if test -z "$ac_cv_prog_STRIP"; then
4476 # Extract the first word of "strip", so it can be a program name with args.
4477 set dummy strip; 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_STRIP+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$ac_ct_STRIP"; then
4484 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4504 if test -n "$ac_ct_STRIP"; then
4505 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4506 echo "${ECHO_T}$ac_ct_STRIP" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4514 STRIP="$ac_cv_prog_STRIP"
4518 # Check for any special flags to pass to ltconfig.
4519 libtool_flags="--cache-file=$cache_file"
4520 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4521 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4522 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4523 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4524 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4527 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4528 if test "${enable_libtool_lock+set}" = set; then
4529 enableval="$enable_libtool_lock"
4532 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4533 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4536 # Check whether --with-pic or --without-pic was given.
4537 if test "${with_pic+set}" = set; then
4543 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4544 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4546 # Some flags need to be propagated to the compiler or linker for good
4550 # Find out which ABI we are using.
4551 echo '#line 4551 "configure"' > conftest.$ac_ext
4552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4553 (eval $ac_compile) 2>&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; then
4557 case `/usr/bin/file conftest.$ac_objext` in
4573 # Find out which ABI we are using.
4574 echo 'int i;' > conftest.$ac_ext
4575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4576 (eval $ac_compile) 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; then
4580 case "`/usr/bin/file conftest.o`" in
4593 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4594 SAVE_CFLAGS="$CFLAGS"
4595 CFLAGS="$CFLAGS -belf"
4596 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4597 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4598 if test "${lt_cv_cc_needs_belf+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 cat >conftest.$ac_ext <<_ACEOF
4612 cat confdefs.h >>conftest.$ac_ext
4613 cat >>conftest.$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4624 rm -f conftest.$ac_objext conftest$ac_exeext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4626 (eval $ac_link) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1 >conftest.err
4630 cat conftest.err >&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try='test -z "$ac_c_werror_flag"
4634 || test ! -s conftest.err'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; } &&
4640 { ac_try='test -s conftest$ac_exeext'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then
4646 lt_cv_cc_needs_belf=yes
4648 echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.$ac_ext >&5
4651 lt_cv_cc_needs_belf=no
4653 rm -f conftest.err conftest.$ac_objext \
4654 conftest$ac_exeext conftest.$ac_ext
4656 ac_cpp='$CPP $CPPFLAGS'
4657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4663 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4664 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4665 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4666 CFLAGS="$SAVE_CFLAGS"
4674 # Save cache, so that ltconfig can load it
4675 cat >confcache <<\_ACEOF
4676 # This file is a shell script that caches the results of configure
4677 # tests run on this system so they can be shared between configure
4678 # scripts and configure runs, see configure's option --config-cache.
4679 # It is not useful on other systems. If it contains results you don't
4680 # want to keep, you may remove or edit it.
4682 # config.status only pays attention to the cache file if you give it
4683 # the --recheck option to rerun configure.
4685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4691 # The following way of writing the cache mishandles newlines in values,
4692 # but we know of no workaround that is simple, portable, and efficient.
4693 # So, don't put newlines in cache variables' values.
4694 # Ultrix sh set writes to stderr and can't be redirected directly,
4695 # and sets the high bit in the cache file unless we assign to the vars.
4698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4700 # `set' does not quote correctly, so add quotes (double-quote
4701 # substitution turns \\\\ into \\, and sed turns \\ into \).
4704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4707 # `set' quotes correctly as required by POSIX, so do not add quotes.
4709 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4718 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4720 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4721 if test -w $cache_file; then
4722 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4723 cat confcache >$cache_file
4725 echo "not updating unwritable cache $cache_file"
4730 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4731 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4732 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4733 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4734 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4735 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4736 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4737 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4738 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4739 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4740 echo "$as_me: error: libtool configure failed" >&2;}
4741 { (exit 1); exit 1; }; }
4743 # Reload cache, that may have been modified by ltconfig
4744 if test -r "$cache_file"; then
4745 # Some versions of bash will fail to source /dev/null (special
4746 # files actually), so we avoid doing that.
4747 if test -f "$cache_file"; then
4748 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4749 echo "$as_me: loading cache $cache_file" >&6;}
4751 [\\/]* | ?:[\\/]* ) . $cache_file;;
4752 *) . ./$cache_file;;
4756 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4757 echo "$as_me: creating cache $cache_file" >&6;}
4762 # This can be used to rebuild libtool when needed
4763 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4765 # Always use our own libtool.
4766 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4768 # Redirect the config.log output again, so that the ltconfig log is not
4769 # clobbered by the next message.
4770 exec 5>>./config.log
4779 if test -n "${machine_dir}"; then
4780 case ${machine_dir} in
4783 subdirs="$subdirs i386"
4789 if test -n "${machine_dir}"; then
4796 if test x${machine_dir} != x; then
4797 HAVE_MACHINE_DIR_TRUE=
4798 HAVE_MACHINE_DIR_FALSE='#'
4800 HAVE_MACHINE_DIR_TRUE='#'
4801 HAVE_MACHINE_DIR_FALSE=
4805 ac_config_files="$ac_config_files Makefile"
4807 cat >confcache <<\_ACEOF
4808 # This file is a shell script that caches the results of configure
4809 # tests run on this system so they can be shared between configure
4810 # scripts and configure runs, see configure's option --config-cache.
4811 # It is not useful on other systems. If it contains results you don't
4812 # want to keep, you may remove or edit it.
4814 # config.status only pays attention to the cache file if you give it
4815 # the --recheck option to rerun configure.
4817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4823 # The following way of writing the cache mishandles newlines in values,
4824 # but we know of no workaround that is simple, portable, and efficient.
4825 # So, don't put newlines in cache variables' values.
4826 # Ultrix sh set writes to stderr and can't be redirected directly,
4827 # and sets the high bit in the cache file unless we assign to the vars.
4830 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4832 # `set' does not quote correctly, so add quotes (double-quote
4833 # substitution turns \\\\ into \\, and sed turns \\ into \).
4836 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4839 # `set' quotes correctly as required by POSIX, so do not add quotes.
4841 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4848 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4850 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4852 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4853 if test -w $cache_file; then
4854 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4855 cat confcache >$cache_file
4857 echo "not updating unwritable cache $cache_file"
4862 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4863 # Let make expand exec_prefix.
4864 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4866 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4867 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4868 # trailing colons and then remove the whole line if VPATH becomes empty
4869 # (actually we leave an empty line to preserve line numbers).
4870 if test "x$srcdir" = x.; then
4871 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4872 s/:*\$(srcdir):*/:/;
4873 s/:*\${srcdir}:*/:/;
4875 s/^\([^=]*=[ ]*\):*/\1/;
4881 # Transform confdefs.h into DEFS.
4882 # Protect against shell expansion while executing Makefile rules.
4883 # Protect against Makefile macro expansion.
4885 # If the first sed substitution is executed (which looks for macros that
4886 # take arguments), then we branch to the quote section. Otherwise,
4887 # look for a macro that doesn't take arguments.
4888 cat >confdef2opt.sed <<\_ACEOF
4891 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4893 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4897 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4903 # We use echo to avoid assuming a particular line-breaking character.
4904 # The extra dot is to prevent the shell from consuming trailing
4905 # line-breaks from the sub-command output. A line-break within
4906 # single-quotes doesn't work because, if this script is created in a
4907 # platform that uses two characters for line-breaks (e.g., DOS), tr
4909 ac_LF_and_DOT=`echo; echo .`
4910 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4911 rm -f confdef2opt.sed
4916 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4917 # 1. Remove the extension, and $U if already installed.
4918 ac_i=`echo "$ac_i" |
4919 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4921 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4922 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4926 LTLIBOBJS=$ac_ltlibobjs
4929 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
4930 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4931 Usually this means the macro was only invoked conditionally." >&5
4932 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4933 Usually this means the macro was only invoked conditionally." >&2;}
4934 { (exit 1); exit 1; }; }
4936 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4937 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4938 Usually this means the macro was only invoked conditionally." >&5
4939 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4940 Usually this means the macro was only invoked conditionally." >&2;}
4941 { (exit 1); exit 1; }; }
4943 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4944 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4945 Usually this means the macro was only invoked conditionally." >&5
4946 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4947 Usually this means the macro was only invoked conditionally." >&2;}
4948 { (exit 1); exit 1; }; }
4950 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4951 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4952 Usually this means the macro was only invoked conditionally." >&5
4953 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4954 Usually this means the macro was only invoked conditionally." >&2;}
4955 { (exit 1); exit 1; }; }
4957 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
4958 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
4959 Usually this means the macro was only invoked conditionally." >&5
4960 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
4961 Usually this means the macro was only invoked conditionally." >&2;}
4962 { (exit 1); exit 1; }; }
4964 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
4965 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
4966 Usually this means the macro was only invoked conditionally." >&5
4967 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
4968 Usually this means the macro was only invoked conditionally." >&2;}
4969 { (exit 1); exit 1; }; }
4971 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
4972 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
4973 Usually this means the macro was only invoked conditionally." >&5
4974 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
4975 Usually this means the macro was only invoked conditionally." >&2;}
4976 { (exit 1); exit 1; }; }
4978 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
4979 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
4980 Usually this means the macro was only invoked conditionally." >&5
4981 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
4982 Usually this means the macro was only invoked conditionally." >&2;}
4983 { (exit 1); exit 1; }; }
4985 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
4986 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
4987 Usually this means the macro was only invoked conditionally." >&5
4988 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
4989 Usually this means the macro was only invoked conditionally." >&2;}
4990 { (exit 1); exit 1; }; }
4992 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
4993 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
4994 Usually this means the macro was only invoked conditionally." >&5
4995 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
4996 Usually this means the macro was only invoked conditionally." >&2;}
4997 { (exit 1); exit 1; }; }
4999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5000 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5001 Usually this means the macro was only invoked conditionally." >&5
5002 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5003 Usually this means the macro was only invoked conditionally." >&2;}
5004 { (exit 1); exit 1; }; }
5006 if test -z "${HAVE_MACHINE_DIR_TRUE}" && test -z "${HAVE_MACHINE_DIR_FALSE}"; then
5007 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
5008 Usually this means the macro was only invoked conditionally." >&5
5009 echo "$as_me: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
5010 Usually this means the macro was only invoked conditionally." >&2;}
5011 { (exit 1); exit 1; }; }
5014 : ${CONFIG_STATUS=./config.status}
5015 ac_clean_files_save=$ac_clean_files
5016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5017 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5018 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5019 cat >$CONFIG_STATUS <<_ACEOF
5021 # Generated by $as_me.
5022 # Run this file to recreate the current configuration.
5023 # Compiler output produced by configure, useful for debugging
5024 # configure, is in config.log if it exists.
5029 SHELL=\${CONFIG_SHELL-$SHELL}
5032 cat >>$CONFIG_STATUS <<\_ACEOF
5033 ## --------------------- ##
5034 ## M4sh Initialization. ##
5035 ## --------------------- ##
5037 # Be Bourne compatible
5038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5041 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5042 # is contrary to our usage. Disable this feature.
5043 alias -g '${1+"$@"}'='"$@"'
5044 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5047 DUALCASE=1; export DUALCASE # for MKS sh
5049 # Support unset when possible.
5050 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5057 # Work around bugs in pre-3.0 UWIN ksh.
5058 $as_unset ENV MAIL MAILPATH
5065 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5066 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5067 LC_TELEPHONE LC_TIME
5069 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5070 eval $as_var=C; export $as_var
5076 # Required to use basename.
5077 if expr a : '\(a\)' >/dev/null 2>&1; then
5083 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5084 as_basename=basename
5090 # Name of the executable.
5091 as_me=`$as_basename "$0" ||
5092 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5093 X"$0" : 'X\(//\)$' \| \
5094 X"$0" : 'X\(/\)$' \| \
5095 . : '\(.\)' 2>/dev/null ||
5097 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5098 /^X\/\(\/\/\)$/{ s//\1/; q; }
5099 /^X\/\(\/\).*/{ s//\1/; q; }
5103 # PATH needs CR, and LINENO needs CR and PATH.
5104 # Avoid depending upon Character Ranges.
5105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5108 as_cr_digits='0123456789'
5109 as_cr_alnum=$as_cr_Letters$as_cr_digits
5111 # The user is always right.
5112 if test "${PATH_SEPARATOR+set}" != set; then
5113 echo "#! /bin/sh" >conf$$.sh
5114 echo "exit 0" >>conf$$.sh
5116 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5127 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5128 test "x$as_lineno_1" != "x$as_lineno_2" &&
5129 test "x$as_lineno_3" = "x$as_lineno_2" || {
5130 # Find who we are. Look in the path if we contain no path at all
5133 *[\\/]* ) as_myself=$0 ;;
5134 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir=.
5139 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5144 # We did not find ourselves, most probably we were run as `sh COMMAND'
5145 # in which case we are not to be found in the path.
5146 if test "x$as_myself" = x; then
5149 if test ! -f "$as_myself"; then
5150 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5151 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5152 { (exit 1); exit 1; }; }
5154 case $CONFIG_SHELL in
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5160 test -z "$as_dir" && as_dir=.
5161 for as_base in sh bash ksh sh5; do
5164 if ("$as_dir/$as_base" -c '
5167 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5168 test "x$as_lineno_1" != "x$as_lineno_2" &&
5169 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5170 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5171 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5172 CONFIG_SHELL=$as_dir/$as_base
5174 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5182 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5183 # uniformly replaced by the line number. The first 'sed' inserts a
5184 # line-number line before each line; the second 'sed' does the real
5185 # work. The second script uses 'N' to pair each line-number line
5186 # with the numbered line, and appends trailing '-' during
5187 # substitution so that $LINENO is not a special case at line end.
5188 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5189 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5190 sed '=' <$as_myself |
5195 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5198 s,^['$as_cr_digits']*\n,,
5200 chmod +x $as_me.lineno ||
5201 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5202 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5203 { (exit 1); exit 1; }; }
5205 # Don't try to exec as it changes $[0], causing all sort of problems
5206 # (the dirname of $[0] is not the place where we might find the
5207 # original and so on. Autoconf is especially sensible to this).
5209 # Exit status is that of the last command.
5214 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5215 *c*,-n*) ECHO_N= ECHO_C='
5217 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5218 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5221 if expr a : '\(a\)' >/dev/null 2>&1; then
5227 rm -f conf$$ conf$$.exe conf$$.file
5229 if ln -s conf$$.file conf$$ 2>/dev/null; then
5230 # We could just check for DJGPP; but this test a) works b) is more generic
5231 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5232 if test -f conf$$.exe; then
5233 # Don't use ln at all; we don't have any links
5238 elif ln conf$$.file conf$$ 2>/dev/null; then
5243 rm -f conf$$ conf$$.exe conf$$.file
5245 if mkdir -p . 2>/dev/null; then
5248 test -d ./-p && rmdir ./-p
5252 as_executable_p="test -f"
5254 # Sed expression to map a string onto a valid CPP name.
5255 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5257 # Sed expression to map a string onto a valid variable name.
5258 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5262 # We need space, tab and new line, in precisely that order.
5272 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5273 # report actual input values of CONFIG_FILES etc. instead of their
5274 # values after options handling. Logging --version etc. is OK.
5278 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5279 ## Running $as_me. ##
5284 This file was extended by newlib $as_me 1.14.0, which was
5285 generated by GNU Autoconf 2.59. Invocation command line was
5287 CONFIG_FILES = $CONFIG_FILES
5288 CONFIG_HEADERS = $CONFIG_HEADERS
5289 CONFIG_LINKS = $CONFIG_LINKS
5290 CONFIG_COMMANDS = $CONFIG_COMMANDS
5294 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5298 # Files that config.status was made for.
5299 if test -n "$ac_config_files"; then
5300 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5303 if test -n "$ac_config_headers"; then
5304 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5307 if test -n "$ac_config_links"; then
5308 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5311 if test -n "$ac_config_commands"; then
5312 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5315 cat >>$CONFIG_STATUS <<\_ACEOF
5318 \`$as_me' instantiates files from templates according to the
5319 current configuration.
5321 Usage: $0 [OPTIONS] [FILE]...
5323 -h, --help print this help, then exit
5324 -V, --version print version number, then exit
5325 -q, --quiet do not print progress messages
5326 -d, --debug don't remove temporary files
5327 --recheck update $as_me by reconfiguring in the same conditions
5328 --file=FILE[:TEMPLATE]
5329 instantiate the configuration file FILE
5331 Configuration files:
5334 Configuration commands:
5337 Report bugs to <bug-autoconf@gnu.org>."
5340 cat >>$CONFIG_STATUS <<_ACEOF
5342 newlib config.status 1.14.0
5343 configured by $0, generated by GNU Autoconf 2.59,
5344 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5346 Copyright (C) 2003 Free Software Foundation, Inc.
5347 This config.status script is free software; the Free Software Foundation
5348 gives unlimited permission to copy, distribute and modify it."
5353 cat >>$CONFIG_STATUS <<\_ACEOF
5354 # If no file are specified by the user, then we need to provide default
5355 # value. By we need to know if files were specified by the user.
5361 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5362 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5370 *) # This is not an option, so the user has probably given explicit
5373 ac_need_defaults=false;;
5377 # Handling of the options.
5379 cat >>$CONFIG_STATUS <<\_ACEOF
5380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5382 --version | --vers* | -V )
5383 echo "$ac_cs_version"; exit 0 ;;
5385 # Conflict between --help and --header
5386 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5387 Try \`$0 --help' for more information." >&5
5388 echo "$as_me: error: ambiguous option: $1
5389 Try \`$0 --help' for more information." >&2;}
5390 { (exit 1); exit 1; }; };;
5391 --help | --hel | -h )
5392 echo "$ac_cs_usage"; exit 0 ;;
5393 --debug | --d* | -d )
5395 --file | --fil | --fi | --f )
5397 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5398 ac_need_defaults=false;;
5399 --header | --heade | --head | --hea )
5401 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5402 ac_need_defaults=false;;
5403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5404 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5408 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5409 Try \`$0 --help' for more information." >&5
5410 echo "$as_me: error: unrecognized option: $1
5411 Try \`$0 --help' for more information." >&2;}
5412 { (exit 1); exit 1; }; } ;;
5414 *) ac_config_targets="$ac_config_targets $1" ;;
5420 ac_configure_extra_args=
5422 if $ac_cs_silent; then
5424 ac_configure_extra_args="$ac_configure_extra_args --silent"
5428 cat >>$CONFIG_STATUS <<_ACEOF
5429 if \$ac_cs_recheck; then
5430 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5431 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5436 cat >>$CONFIG_STATUS <<_ACEOF
5438 # INIT-COMMANDS section.
5441 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5447 cat >>$CONFIG_STATUS <<\_ACEOF
5448 for ac_config_target in $ac_config_targets
5450 case "$ac_config_target" in
5451 # Handling of arguments.
5452 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5453 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5454 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5455 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5456 { (exit 1); exit 1; }; };;
5460 # If the user did not use the arguments to specify the items to instantiate,
5461 # then the envvar interface is used. Set only those that are not.
5462 # We use the long form for the default assignment because of an extremely
5463 # bizarre bug on SunOS 4.1.3.
5464 if $ac_need_defaults; then
5465 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5466 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5469 # Have a temporary directory for convenience. Make it in the build tree
5470 # simply because there is no reason to put it here, and in addition,
5471 # creating and moving files from /tmp can sometimes cause problems.
5472 # Create a temporary directory, and hook for its removal unless debugging.
5475 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5476 trap '{ (exit 1); exit 1; }' 1 2 13 15
5479 # Create a (secure) tmp directory for tmp files.
5482 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5483 test -n "$tmp" && test -d "$tmp"
5486 tmp=./confstat$$-$RANDOM
5487 (umask 077 && mkdir $tmp)
5490 echo "$me: cannot create a temporary directory in ." >&2
5491 { (exit 1); exit 1; }
5496 cat >>$CONFIG_STATUS <<_ACEOF
5499 # CONFIG_FILES section.
5502 # No need to generate the scripts if there are no CONFIG_FILES.
5503 # This happens for instance when ./config.status config.h
5504 if test -n "\$CONFIG_FILES"; then
5505 # Protect against being on the right side of a sed subst in config.status.
5506 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5507 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5508 s,@SHELL@,$SHELL,;t t
5509 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5510 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5511 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5512 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5513 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5514 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5515 s,@exec_prefix@,$exec_prefix,;t t
5516 s,@prefix@,$prefix,;t t
5517 s,@program_transform_name@,$program_transform_name,;t t
5518 s,@bindir@,$bindir,;t t
5519 s,@sbindir@,$sbindir,;t t
5520 s,@libexecdir@,$libexecdir,;t t
5521 s,@datadir@,$datadir,;t t
5522 s,@sysconfdir@,$sysconfdir,;t t
5523 s,@sharedstatedir@,$sharedstatedir,;t t
5524 s,@localstatedir@,$localstatedir,;t t
5525 s,@libdir@,$libdir,;t t
5526 s,@includedir@,$includedir,;t t
5527 s,@oldincludedir@,$oldincludedir,;t t
5528 s,@infodir@,$infodir,;t t
5529 s,@mandir@,$mandir,;t t
5530 s,@build_alias@,$build_alias,;t t
5531 s,@host_alias@,$host_alias,;t t
5532 s,@target_alias@,$target_alias,;t t
5534 s,@ECHO_C@,$ECHO_C,;t t
5535 s,@ECHO_N@,$ECHO_N,;t t
5536 s,@ECHO_T@,$ECHO_T,;t t
5538 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5539 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5540 s,@newlib_basedir@,$newlib_basedir,;t t
5541 s,@build@,$build,;t t
5542 s,@build_cpu@,$build_cpu,;t t
5543 s,@build_vendor@,$build_vendor,;t t
5544 s,@build_os@,$build_os,;t t
5546 s,@host_cpu@,$host_cpu,;t t
5547 s,@host_vendor@,$host_vendor,;t t
5548 s,@host_os@,$host_os,;t t
5549 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5550 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5551 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5552 s,@CYGPATH_W@,$CYGPATH_W,;t t
5553 s,@PACKAGE@,$PACKAGE,;t t
5554 s,@VERSION@,$VERSION,;t t
5555 s,@ACLOCAL@,$ACLOCAL,;t t
5556 s,@AUTOCONF@,$AUTOCONF,;t t
5557 s,@AUTOMAKE@,$AUTOMAKE,;t t
5558 s,@AUTOHEADER@,$AUTOHEADER,;t t
5559 s,@MAKEINFO@,$MAKEINFO,;t t
5560 s,@install_sh@,$install_sh,;t t
5561 s,@STRIP@,$STRIP,;t t
5562 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5563 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5564 s,@mkdir_p@,$mkdir_p,;t t
5566 s,@SET_MAKE@,$SET_MAKE,;t t
5567 s,@am__leading_dot@,$am__leading_dot,;t t
5568 s,@AMTAR@,$AMTAR,;t t
5569 s,@am__tar@,$am__tar,;t t
5570 s,@am__untar@,$am__untar,;t t
5572 s,@DEPDIR@,$DEPDIR,;t t
5573 s,@am__include@,$am__include,;t t
5574 s,@am__quote@,$am__quote,;t t
5575 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5576 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5577 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5578 s,@CCDEPMODE@,$CCDEPMODE,;t t
5579 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5580 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5582 s,@ac_ct_AS@,$ac_ct_AS,;t t
5584 s,@ac_ct_AR@,$ac_ct_AR,;t t
5585 s,@RANLIB@,$RANLIB,;t t
5586 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5587 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5588 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5589 s,@MAINT@,$MAINT,;t t
5591 s,@CCASFLAGS@,$CCASFLAGS,;t t
5592 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5593 s,@LDFLAGS@,$LDFLAGS,;t t
5594 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5595 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5596 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5597 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5598 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5599 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5600 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5601 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5602 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5603 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5604 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5605 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5606 s,@OBJEXT@,$OBJEXT,;t t
5610 s,@libm_machine_dir@,$libm_machine_dir,;t t
5611 s,@machine_dir@,$machine_dir,;t t
5612 s,@sys_dir@,$sys_dir,;t t
5613 s,@CFLAGS@,$CFLAGS,;t t
5614 s,@CPPFLAGS@,$CPPFLAGS,;t t
5615 s,@ac_ct_CC@,$ac_ct_CC,;t t
5616 s,@EXEEXT@,$EXEEXT,;t t
5618 s,@LIBTOOL@,$LIBTOOL,;t t
5619 s,@subdirs@,$subdirs,;t t
5621 s,@HAVE_MACHINE_DIR_TRUE@,$HAVE_MACHINE_DIR_TRUE,;t t
5622 s,@HAVE_MACHINE_DIR_FALSE@,$HAVE_MACHINE_DIR_FALSE,;t t
5623 s,@LIBOBJS@,$LIBOBJS,;t t
5624 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5629 cat >>$CONFIG_STATUS <<\_ACEOF
5630 # Split the substitutions into bite-sized pieces for seds with
5631 # small command number limits, like on Digital OSF/1 and HP-UX.
5633 ac_sed_frag=1 # Number of current file.
5634 ac_beg=1 # First line for current file.
5635 ac_end=$ac_max_sed_lines # Line after last line for current file.
5638 while $ac_more_lines; do
5639 if test $ac_beg -gt 1; then
5640 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5642 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5644 if test ! -s $tmp/subs.frag; then
5647 # The purpose of the label and of the branching condition is to
5648 # speed up the sed processing (if there are no `@' at all, there
5649 # is no need to browse any of the substitutions).
5650 # These are the two extra sed commands mentioned above.
5652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5653 if test -z "$ac_sed_cmds"; then
5654 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5656 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5658 ac_sed_frag=`expr $ac_sed_frag + 1`
5660 ac_end=`expr $ac_end + $ac_max_sed_lines`
5663 if test -z "$ac_sed_cmds"; then
5666 fi # test -n "$CONFIG_FILES"
5669 cat >>$CONFIG_STATUS <<\_ACEOF
5670 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5671 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5673 - | *:- | *:-:* ) # input from stdin
5675 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5676 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5677 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5678 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5679 * ) ac_file_in=$ac_file.in ;;
5682 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5683 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5684 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5685 X"$ac_file" : 'X\(//\)[^/]' \| \
5686 X"$ac_file" : 'X\(//\)$' \| \
5687 X"$ac_file" : 'X\(/\)' \| \
5688 . : '\(.\)' 2>/dev/null ||
5690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5692 /^X\(\/\/\)$/{ s//\1/; q; }
5693 /^X\(\/\).*/{ s//\1/; q; }
5695 { if $as_mkdir_p; then
5700 while test ! -d "$as_dir"; do
5701 as_dirs="$as_dir $as_dirs"
5702 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5704 X"$as_dir" : 'X\(//\)[^/]' \| \
5705 X"$as_dir" : 'X\(//\)$' \| \
5706 X"$as_dir" : 'X\(/\)' \| \
5707 . : '\(.\)' 2>/dev/null ||
5709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5710 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5711 /^X\(\/\/\)$/{ s//\1/; q; }
5712 /^X\(\/\).*/{ s//\1/; q; }
5715 test ! -n "$as_dirs" || mkdir $as_dirs
5716 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5717 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5718 { (exit 1); exit 1; }; }; }
5722 if test "$ac_dir" != .; then
5723 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5724 # A "../" for each directory in $ac_dir_suffix.
5725 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5727 ac_dir_suffix= ac_top_builddir=
5731 .) # No --srcdir option. We are building in place.
5733 if test -z "$ac_top_builddir"; then
5736 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5738 [\\/]* | ?:[\\/]* ) # Absolute path.
5739 ac_srcdir=$srcdir$ac_dir_suffix;
5740 ac_top_srcdir=$srcdir ;;
5742 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5743 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5746 # Do not use `cd foo && pwd` to compute absolute paths, because
5747 # the directories may not exist.
5749 .) ac_abs_builddir="$ac_dir";;
5752 .) ac_abs_builddir=`pwd`;;
5753 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5754 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5757 case $ac_abs_builddir in
5758 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5760 case ${ac_top_builddir}. in
5761 .) ac_abs_top_builddir=$ac_abs_builddir;;
5762 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5763 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5766 case $ac_abs_builddir in
5767 .) ac_abs_srcdir=$ac_srcdir;;
5770 .) ac_abs_srcdir=$ac_abs_builddir;;
5771 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5772 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5775 case $ac_abs_builddir in
5776 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5778 case $ac_top_srcdir in
5779 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5780 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5781 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5787 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5788 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5791 if test x"$ac_file" != x-; then
5792 { echo "$as_me:$LINENO: creating $ac_file" >&5
5793 echo "$as_me: creating $ac_file" >&6;}
5796 # Let's still pretend it is `configure' which instantiates (i.e., don't
5797 # use $as_me), people would be surprised to read:
5798 # /* config.h. Generated by config.status. */
5799 if test x"$ac_file" = x-; then
5802 configure_input="$ac_file. "
5804 configure_input=$configure_input"Generated from `echo $ac_file_in |
5805 sed 's,.*/,,'` by configure."
5807 # First look for the input files in the build tree, otherwise in the
5809 ac_file_inputs=`IFS=:
5810 for f in $ac_file_in; do
5812 -) echo $tmp/stdin ;;
5814 # Absolute (can't be DOS-style, as IFS=:)
5815 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5816 echo "$as_me: error: cannot find input file: $f" >&2;}
5817 { (exit 1); exit 1; }; }
5820 if test -f "$f"; then
5823 elif test -f "$srcdir/$f"; then
5828 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5829 echo "$as_me: error: cannot find input file: $f" >&2;}
5830 { (exit 1); exit 1; }; }
5833 done` || { (exit 1); exit 1; }
5835 cat >>$CONFIG_STATUS <<_ACEOF
5839 cat >>$CONFIG_STATUS <<\_ACEOF
5841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5842 s,@configure_input@,$configure_input,;t t
5843 s,@srcdir@,$ac_srcdir,;t t
5844 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5845 s,@top_srcdir@,$ac_top_srcdir,;t t
5846 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5847 s,@builddir@,$ac_builddir,;t t
5848 s,@abs_builddir@,$ac_abs_builddir,;t t
5849 s,@top_builddir@,$ac_top_builddir,;t t
5850 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5851 s,@INSTALL@,$ac_INSTALL,;t t
5852 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5854 if test x"$ac_file" != x-; then
5855 mv $tmp/out $ac_file
5863 cat >>$CONFIG_STATUS <<\_ACEOF
5866 # CONFIG_COMMANDS section.
5868 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5869 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5870 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5871 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5872 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5873 X"$ac_dest" : 'X\(//\)[^/]' \| \
5874 X"$ac_dest" : 'X\(//\)$' \| \
5875 X"$ac_dest" : 'X\(/\)' \| \
5876 . : '\(.\)' 2>/dev/null ||
5878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5880 /^X\(\/\/\)$/{ s//\1/; q; }
5881 /^X\(\/\).*/{ s//\1/; q; }
5883 { if $as_mkdir_p; then
5888 while test ! -d "$as_dir"; do
5889 as_dirs="$as_dir $as_dirs"
5890 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5891 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5892 X"$as_dir" : 'X\(//\)[^/]' \| \
5893 X"$as_dir" : 'X\(//\)$' \| \
5894 X"$as_dir" : 'X\(/\)' \| \
5895 . : '\(.\)' 2>/dev/null ||
5897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5899 /^X\(\/\/\)$/{ s//\1/; q; }
5900 /^X\(\/\).*/{ s//\1/; q; }
5903 test ! -n "$as_dirs" || mkdir $as_dirs
5904 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5905 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5906 { (exit 1); exit 1; }; }; }
5910 if test "$ac_dir" != .; then
5911 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5912 # A "../" for each directory in $ac_dir_suffix.
5913 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5915 ac_dir_suffix= ac_top_builddir=
5919 .) # No --srcdir option. We are building in place.
5921 if test -z "$ac_top_builddir"; then
5924 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5926 [\\/]* | ?:[\\/]* ) # Absolute path.
5927 ac_srcdir=$srcdir$ac_dir_suffix;
5928 ac_top_srcdir=$srcdir ;;
5930 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5931 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5934 # Do not use `cd foo && pwd` to compute absolute paths, because
5935 # the directories may not exist.
5937 .) ac_abs_builddir="$ac_dir";;
5940 .) ac_abs_builddir=`pwd`;;
5941 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5942 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5945 case $ac_abs_builddir in
5946 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5948 case ${ac_top_builddir}. in
5949 .) ac_abs_top_builddir=$ac_abs_builddir;;
5950 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5951 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5954 case $ac_abs_builddir in
5955 .) ac_abs_srcdir=$ac_srcdir;;
5958 .) ac_abs_srcdir=$ac_abs_builddir;;
5959 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5960 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5963 case $ac_abs_builddir in
5964 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5966 case $ac_top_srcdir in
5967 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5968 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5969 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5974 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5975 echo "$as_me: executing $ac_dest commands" >&6;}
5977 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5978 # Strip MF so we end up with the name of the file.
5979 mf=`echo "$mf" | sed -e 's/:.*$//'`
5980 # Check whether this is an Automake generated Makefile or not.
5981 # We used to match only the files named `Makefile.in', but
5982 # some people rename them; so instead we look at the file content.
5983 # Grep'ing the first line is not enough: some people post-process
5984 # each Makefile.in and add a new line on top of each file to say so.
5985 # So let's grep whole file.
5986 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5987 dirpart=`(dirname "$mf") 2>/dev/null ||
5988 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5989 X"$mf" : 'X\(//\)[^/]' \| \
5990 X"$mf" : 'X\(//\)$' \| \
5991 X"$mf" : 'X\(/\)' \| \
5992 . : '\(.\)' 2>/dev/null ||
5994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5996 /^X\(\/\/\)$/{ s//\1/; q; }
5997 /^X\(\/\).*/{ s//\1/; q; }
6002 # Extract the definition of DEPDIR, am__include, and am__quote
6003 # from the Makefile without running `make'.
6004 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6005 test -z "$DEPDIR" && continue
6006 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6007 test -z "am__include" && continue
6008 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6009 # When using ansi2knr, U may be empty or an underscore; expand it
6010 U=`sed -n 's/^U = //p' < "$mf"`
6011 # Find all dependency output files, they are included files with
6012 # $(DEPDIR) in their names. We invoke sed twice because it is the
6013 # simplest approach to changing $(DEPDIR) to its actual value in the
6015 for file in `sed -n "
6016 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6017 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6018 # Make sure the directory exists.
6019 test -f "$dirpart/$file" && continue
6020 fdir=`(dirname "$file") 2>/dev/null ||
6021 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6022 X"$file" : 'X\(//\)[^/]' \| \
6023 X"$file" : 'X\(//\)$' \| \
6024 X"$file" : 'X\(/\)' \| \
6025 . : '\(.\)' 2>/dev/null ||
6027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6029 /^X\(\/\/\)$/{ s//\1/; q; }
6030 /^X\(\/\).*/{ s//\1/; q; }
6032 { if $as_mkdir_p; then
6033 mkdir -p $dirpart/$fdir
6035 as_dir=$dirpart/$fdir
6037 while test ! -d "$as_dir"; do
6038 as_dirs="$as_dir $as_dirs"
6039 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6041 X"$as_dir" : 'X\(//\)[^/]' \| \
6042 X"$as_dir" : 'X\(//\)$' \| \
6043 X"$as_dir" : 'X\(/\)' \| \
6044 . : '\(.\)' 2>/dev/null ||
6046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6047 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6048 /^X\(\/\/\)$/{ s//\1/; q; }
6049 /^X\(\/\).*/{ s//\1/; q; }
6052 test ! -n "$as_dirs" || mkdir $as_dirs
6053 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6054 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6055 { (exit 1); exit 1; }; }; }
6057 # echo "creating $dirpart/$file"
6058 echo '# dummy' > "$dirpart/$file"
6066 cat >>$CONFIG_STATUS <<\_ACEOF
6068 { (exit 0); exit 0; }
6070 chmod +x $CONFIG_STATUS
6071 ac_clean_files=$ac_clean_files_save
6074 # configure is writing to config.log, and then calls config.status.
6075 # config.status does its own redirection, appending to config.log.
6076 # Unfortunately, on DOS this fails, as config.log is still kept open
6077 # by configure, so config.status won't be able to write to it; its
6078 # output is simply discarded. So we exec the FD to /dev/null,
6079 # effectively closing config.log, so it can be properly (re)opened and
6080 # appended to by config.status. When coming back to configure, we
6081 # need to make the FD available again.
6082 if test "$no_create" != yes; then
6084 ac_config_status_args=
6085 test "$silent" = yes &&
6086 ac_config_status_args="$ac_config_status_args --quiet"
6088 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6090 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6091 # would make configure fail if this is the last instruction.
6092 $ac_cs_success || { (exit 1); exit 1; }
6096 # CONFIG_SUBDIRS section.
6098 if test "$no_recursion" != yes; then
6100 # Remove --cache-file and --srcdir arguments so they do not pile up.
6101 ac_sub_configure_args=
6103 for ac_arg in $ac_configure_args; do
6104 if test -n "$ac_prev"; then
6109 -cache-file | --cache-file | --cache-fil | --cache-fi \
6110 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6111 ac_prev=cache_file ;;
6112 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6113 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6116 --config-cache | -C)
6118 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6120 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6122 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6124 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6126 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6130 # Always prepend --prefix to ensure using the same prefix
6131 # in subdir configurations.
6132 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6135 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6137 # Do not complain, so a configure script can configure whichever
6138 # parts of a large source tree are present.
6139 test -d $srcdir/$ac_dir || continue
6141 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6142 echo "$as_me: configuring in $ac_dir" >&6;}
6143 { if $as_mkdir_p; then
6148 while test ! -d "$as_dir"; do
6149 as_dirs="$as_dir $as_dirs"
6150 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6152 X"$as_dir" : 'X\(//\)[^/]' \| \
6153 X"$as_dir" : 'X\(//\)$' \| \
6154 X"$as_dir" : 'X\(/\)' \| \
6155 . : '\(.\)' 2>/dev/null ||
6157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6159 /^X\(\/\/\)$/{ s//\1/; q; }
6160 /^X\(\/\).*/{ s//\1/; q; }
6163 test ! -n "$as_dirs" || mkdir $as_dirs
6164 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6166 { (exit 1); exit 1; }; }; }
6170 if test "$ac_dir" != .; then
6171 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6172 # A "../" for each directory in $ac_dir_suffix.
6173 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6175 ac_dir_suffix= ac_top_builddir=
6179 .) # No --srcdir option. We are building in place.
6181 if test -z "$ac_top_builddir"; then
6184 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6186 [\\/]* | ?:[\\/]* ) # Absolute path.
6187 ac_srcdir=$srcdir$ac_dir_suffix;
6188 ac_top_srcdir=$srcdir ;;
6190 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6191 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6194 # Do not use `cd foo && pwd` to compute absolute paths, because
6195 # the directories may not exist.
6197 .) ac_abs_builddir="$ac_dir";;
6200 .) ac_abs_builddir=`pwd`;;
6201 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6202 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6205 case $ac_abs_builddir in
6206 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6208 case ${ac_top_builddir}. in
6209 .) ac_abs_top_builddir=$ac_abs_builddir;;
6210 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6211 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6214 case $ac_abs_builddir in
6215 .) ac_abs_srcdir=$ac_srcdir;;
6218 .) ac_abs_srcdir=$ac_abs_builddir;;
6219 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6220 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6223 case $ac_abs_builddir in
6224 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6226 case $ac_top_srcdir in
6227 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6228 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6229 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6236 # Check for guested configure; otherwise get Cygnus style configure.
6237 if test -f $ac_srcdir/configure.gnu; then
6238 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6239 elif test -f $ac_srcdir/configure; then
6240 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6241 elif test -f $ac_srcdir/configure.in; then
6242 ac_sub_configure=$ac_configure
6244 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6245 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6249 # The recursion is here.
6250 if test -n "$ac_sub_configure"; then
6251 # Make the cache file name correct relative to the subdirectory.
6253 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6255 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6258 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6259 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6260 # The eval makes quoting arguments work.
6261 eval $ac_sub_configure $ac_sub_configure_args \
6262 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6263 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6264 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6265 { (exit 1); exit 1; }; }