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="a29khif"
275 ac_subdirs_all="$ac_subdirs_all a29khif"
276 ac_subdirs_all="$ac_subdirs_all arc"
277 ac_subdirs_all="$ac_subdirs_all arm"
278 ac_subdirs_all="$ac_subdirs_all d10v"
279 ac_subdirs_all="$ac_subdirs_all decstation"
280 ac_subdirs_all="$ac_subdirs_all h8300hms"
281 ac_subdirs_all="$ac_subdirs_all h8500hms"
282 ac_subdirs_all="$ac_subdirs_all linux"
283 ac_subdirs_all="$ac_subdirs_all m88kbug"
284 ac_subdirs_all="$ac_subdirs_all mmixware"
285 ac_subdirs_all="$ac_subdirs_all netware"
286 ac_subdirs_all="$ac_subdirs_all rdos"
287 ac_subdirs_all="$ac_subdirs_all rtems"
288 ac_subdirs_all="$ac_subdirs_all sh"
289 ac_subdirs_all="$ac_subdirs_all sparc64"
290 ac_subdirs_all="$ac_subdirs_all sun4"
291 ac_subdirs_all="$ac_subdirs_all sysmec"
292 ac_subdirs_all="$ac_subdirs_all sysnec810"
293 ac_subdirs_all="$ac_subdirs_all sysnecv850"
294 ac_subdirs_all="$ac_subdirs_all sysvi386"
295 ac_subdirs_all="$ac_subdirs_all sysvnecv70"
296 ac_subdirs_all="$ac_subdirs_all tic80"
297 ac_subdirs_all="$ac_subdirs_all w65"
298 ac_subdirs_all="$ac_subdirs_all z8ksim"
299 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT LN_S LIBTOOL subdirs CRT0 HAVE_SYS_DIR_TRUE HAVE_SYS_DIR_FALSE LIBOBJS LTLIBOBJS'
302 # Initialize some variables set by options.
304 ac_init_version=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
314 program_transform_name=s,x,x,
322 # Installation directory options.
323 # These are left unexpanded so users can "make install exec_prefix=/foo"
324 # and all the variables that are supposed to be based on exec_prefix
325 # by default will actually change.
326 # Use braces instead of parens because sh, perl, etc. also accept them.
327 bindir='${exec_prefix}/bin'
328 sbindir='${exec_prefix}/sbin'
329 libexecdir='${exec_prefix}/libexec'
330 datadir='${prefix}/share'
331 sysconfdir='${prefix}/etc'
332 sharedstatedir='${prefix}/com'
333 localstatedir='${prefix}/var'
334 libdir='${exec_prefix}/lib'
335 includedir='${prefix}/include'
336 oldincludedir='/usr/include'
337 infodir='${prefix}/info'
338 mandir='${prefix}/man'
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
350 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
352 # Accept the important Cygnus configure options, so we can diagnose typos.
356 -bindir | --bindir | --bindi | --bind | --bin | --bi)
358 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
361 -build | --build | --buil | --bui | --bu)
362 ac_prev=build_alias ;;
363 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
364 build_alias=$ac_optarg ;;
366 -cache-file | --cache-file | --cache-fil | --cache-fi \
367 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
368 ac_prev=cache_file ;;
369 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
370 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
371 cache_file=$ac_optarg ;;
374 cache_file=config.cache ;;
376 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
378 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
380 datadir=$ac_optarg ;;
382 -disable-* | --disable-*)
383 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
389 eval "enable_$ac_feature=no" ;;
391 -enable-* | --enable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
399 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
402 eval "enable_$ac_feature='$ac_optarg'" ;;
404 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
405 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
406 | --exec | --exe | --ex)
407 ac_prev=exec_prefix ;;
408 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
409 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
410 | --exec=* | --exe=* | --ex=*)
411 exec_prefix=$ac_optarg ;;
413 -gas | --gas | --ga | --g)
414 # Obsolete; use --with-gas.
417 -help | --help | --hel | --he | -h)
419 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
420 ac_init_help=recursive ;;
421 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
422 ac_init_help=short ;;
424 -host | --host | --hos | --ho)
425 ac_prev=host_alias ;;
426 -host=* | --host=* | --hos=* | --ho=*)
427 host_alias=$ac_optarg ;;
429 -includedir | --includedir | --includedi | --included | --include \
430 | --includ | --inclu | --incl | --inc)
431 ac_prev=includedir ;;
432 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
433 | --includ=* | --inclu=* | --incl=* | --inc=*)
434 includedir=$ac_optarg ;;
436 -infodir | --infodir | --infodi | --infod | --info | --inf)
438 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
439 infodir=$ac_optarg ;;
441 -libdir | --libdir | --libdi | --libd)
443 -libdir=* | --libdir=* | --libdi=* | --libd=*)
446 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
447 | --libexe | --libex | --libe)
448 ac_prev=libexecdir ;;
449 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
450 | --libexe=* | --libex=* | --libe=*)
451 libexecdir=$ac_optarg ;;
453 -localstatedir | --localstatedir | --localstatedi | --localstated \
454 | --localstate | --localstat | --localsta | --localst \
455 | --locals | --local | --loca | --loc | --lo)
456 ac_prev=localstatedir ;;
457 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
458 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
459 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
460 localstatedir=$ac_optarg ;;
462 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
464 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
468 # Obsolete; use --without-fp.
471 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
472 | --no-cr | --no-c | -n)
475 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
479 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
480 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
481 | --oldin | --oldi | --old | --ol | --o)
482 ac_prev=oldincludedir ;;
483 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
484 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
485 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
486 oldincludedir=$ac_optarg ;;
488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
493 -program-prefix | --program-prefix | --program-prefi | --program-pref \
494 | --program-pre | --program-pr | --program-p)
495 ac_prev=program_prefix ;;
496 -program-prefix=* | --program-prefix=* | --program-prefi=* \
497 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
498 program_prefix=$ac_optarg ;;
500 -program-suffix | --program-suffix | --program-suffi | --program-suff \
501 | --program-suf | --program-su | --program-s)
502 ac_prev=program_suffix ;;
503 -program-suffix=* | --program-suffix=* | --program-suffi=* \
504 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
505 program_suffix=$ac_optarg ;;
507 -program-transform-name | --program-transform-name \
508 | --program-transform-nam | --program-transform-na \
509 | --program-transform-n | --program-transform- \
510 | --program-transform | --program-transfor \
511 | --program-transfo | --program-transf \
512 | --program-trans | --program-tran \
513 | --progr-tra | --program-tr | --program-t)
514 ac_prev=program_transform_name ;;
515 -program-transform-name=* | --program-transform-name=* \
516 | --program-transform-nam=* | --program-transform-na=* \
517 | --program-transform-n=* | --program-transform-=* \
518 | --program-transform=* | --program-transfor=* \
519 | --program-transfo=* | --program-transf=* \
520 | --program-trans=* | --program-tran=* \
521 | --progr-tra=* | --program-tr=* | --program-t=*)
522 program_transform_name=$ac_optarg ;;
524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
525 | -silent | --silent | --silen | --sile | --sil)
528 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
530 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
532 sbindir=$ac_optarg ;;
534 -sharedstatedir | --sharedstatedir | --sharedstatedi \
535 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
536 | --sharedst | --shareds | --shared | --share | --shar \
538 ac_prev=sharedstatedir ;;
539 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
540 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
541 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
543 sharedstatedir=$ac_optarg ;;
545 -site | --site | --sit)
547 -site=* | --site=* | --sit=*)
550 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
552 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
555 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
556 | --syscon | --sysco | --sysc | --sys | --sy)
557 ac_prev=sysconfdir ;;
558 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
559 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
560 sysconfdir=$ac_optarg ;;
562 -target | --target | --targe | --targ | --tar | --ta | --t)
563 ac_prev=target_alias ;;
564 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
565 target_alias=$ac_optarg ;;
567 -v | -verbose | --verbose | --verbos | --verbo | --verb)
570 -version | --version | --versio | --versi | --vers | -V)
574 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
575 # Reject names that are not valid shell variable names.
576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
577 { echo "$as_me: error: invalid package name: $ac_package" >&2
578 { (exit 1); exit 1; }; }
579 ac_package=`echo $ac_package| sed 's/-/_/g'`
581 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
584 eval "with_$ac_package='$ac_optarg'" ;;
586 -without-* | --without-*)
587 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package | sed 's/-/_/g'`
593 eval "with_$ac_package=no" ;;
596 # Obsolete; use --with-x.
599 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
600 | --x-incl | --x-inc | --x-in | --x-i)
601 ac_prev=x_includes ;;
602 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
603 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
604 x_includes=$ac_optarg ;;
606 -x-libraries | --x-libraries | --x-librarie | --x-librari \
607 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
608 ac_prev=x_libraries ;;
609 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
610 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
611 x_libraries=$ac_optarg ;;
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
619 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
620 # Reject names that are not valid shell variable names.
621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
623 { (exit 1); exit 1; }; }
624 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
625 eval "$ac_envvar='$ac_optarg'"
629 # FIXME: should be removed in autoconf 3.0.
630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
639 if test -n "$ac_prev"; then
640 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
641 { echo "$as_me: error: missing argument to $ac_option" >&2
642 { (exit 1); exit 1; }; }
645 # Be sure to have absolute paths.
646 for ac_var in exec_prefix prefix
648 eval ac_val=$`echo $ac_var`
650 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
656 # Be sure to have absolute paths.
657 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
658 localstatedir libdir includedir oldincludedir infodir mandir
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # There might be people who depend on the old broken behavior: `$host'
669 # used to hold the argument of --host etc.
670 # FIXME: To remove some day.
675 # FIXME: To remove some day.
676 if test "x$host_alias" != x; then
677 if test "x$build_alias" = x; then
678 cross_compiling=maybe
679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
680 If a cross compiler is detected then cross compile mode will be used." >&2
681 elif test "x$build_alias" != "x$host_alias"; then
687 test -n "$host_alias" && ac_tool_prefix=$host_alias-
689 test "$silent" = yes && exec 6>/dev/null
692 # Find the source files, if location was not specified.
693 if test -z "$srcdir"; then
694 ac_srcdir_defaulted=yes
695 # Try the directory containing this script, then its parent.
696 ac_confdir=`(dirname "$0") 2>/dev/null ||
697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
698 X"$0" : 'X\(//\)[^/]' \| \
699 X"$0" : 'X\(//\)$' \| \
700 X"$0" : 'X\(/\)' \| \
701 . : '\(.\)' 2>/dev/null ||
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
709 if test ! -r $srcdir/$ac_unique_file; then
713 ac_srcdir_defaulted=no
715 if test ! -r $srcdir/$ac_unique_file; then
716 if test "$ac_srcdir_defaulted" = yes; then
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
718 { (exit 1); exit 1; }; }
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
724 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
725 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
726 { (exit 1); exit 1; }; }
727 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
728 ac_env_build_alias_set=${build_alias+set}
729 ac_env_build_alias_value=$build_alias
730 ac_cv_env_build_alias_set=${build_alias+set}
731 ac_cv_env_build_alias_value=$build_alias
732 ac_env_host_alias_set=${host_alias+set}
733 ac_env_host_alias_value=$host_alias
734 ac_cv_env_host_alias_set=${host_alias+set}
735 ac_cv_env_host_alias_value=$host_alias
736 ac_env_target_alias_set=${target_alias+set}
737 ac_env_target_alias_value=$target_alias
738 ac_cv_env_target_alias_set=${target_alias+set}
739 ac_cv_env_target_alias_value=$target_alias
740 ac_env_CCAS_set=${CCAS+set}
741 ac_env_CCAS_value=$CCAS
742 ac_cv_env_CCAS_set=${CCAS+set}
743 ac_cv_env_CCAS_value=$CCAS
744 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
745 ac_env_CCASFLAGS_value=$CCASFLAGS
746 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
747 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
748 ac_env_CC_set=${CC+set}
750 ac_cv_env_CC_set=${CC+set}
751 ac_cv_env_CC_value=$CC
752 ac_env_CFLAGS_set=${CFLAGS+set}
753 ac_env_CFLAGS_value=$CFLAGS
754 ac_cv_env_CFLAGS_set=${CFLAGS+set}
755 ac_cv_env_CFLAGS_value=$CFLAGS
756 ac_env_LDFLAGS_set=${LDFLAGS+set}
757 ac_env_LDFLAGS_value=$LDFLAGS
758 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
759 ac_cv_env_LDFLAGS_value=$LDFLAGS
760 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
761 ac_env_CPPFLAGS_value=$CPPFLAGS
762 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
763 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
766 # Report the --help message.
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
772 \`configure' configures newlib 1.14.0 to adapt to many kinds of systems.
774 Usage: $0 [OPTION]... [VAR=VALUE]...
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
779 Defaults for the options are specified in brackets.
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
806 For better control, use the options below.
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 --build=BUILD configure for building on BUILD [guessed]
832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
836 if test -n "$ac_init_help"; then
837 case $ac_init_help in
838 short | recursive ) echo "Configuration of newlib 1.14.0:";;
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-multilib build many library versions (default)
846 --enable-target-optspace optimize for space
847 --enable-malloc-debugging indicate malloc debugging requested
848 --enable-newlib-multithread enable support for multiple threads
849 --enable-newlib-iconv enable iconv library support
850 --enable-newlib-elix-level supply desired elix library level (1-4)
851 --disable-newlib-io-float disable printf/scanf family float support
852 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-shared=PKGS build shared libraries default=yes
858 --enable-static=PKGS build static libraries default=yes
859 --enable-fast-install=PKGS optimize for fast installation default=yes
860 --disable-libtool-lock avoid locking (might break parallel builds)
863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
865 --with-gnu-ld assume the C compiler uses GNU ld default=no
866 --with-pic try to use only PIC/non-PIC objects default=use both
868 Some influential environment variables:
869 CCAS assembler compiler command (defaults to CC)
870 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
878 Use these variables to override the choices made by `configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
896 ac_dir_suffix= ac_top_builddir=
900 .) # No --srcdir option. We are building in place.
902 if test -z "$ac_top_builddir"; then
905 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
915 # Do not use `cd foo && pwd` to compute absolute paths, because
916 # the directories may not exist.
918 .) ac_abs_builddir="$ac_dir";;
921 .) ac_abs_builddir=`pwd`;;
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
926 case $ac_abs_builddir in
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
929 case ${ac_top_builddir}. in
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
935 case $ac_abs_builddir in
936 .) ac_abs_srcdir=$ac_srcdir;;
939 .) ac_abs_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
944 case $ac_abs_builddir in
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
947 case $ac_top_srcdir in
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 # Check for guested configure; otherwise get Cygnus style configure.
956 if test -f $ac_srcdir/configure.gnu; then
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
959 elif test -f $ac_srcdir/configure; then
961 $SHELL $ac_srcdir/configure --help=recursive
962 elif test -f $ac_srcdir/configure.ac ||
963 test -f $ac_srcdir/configure.in; then
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 test -n "$ac_init_help" && exit 0
974 if $ac_init_version; then
976 newlib configure 1.14.0
977 generated by GNU Autoconf 2.59
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
987 This file contains any messages produced by compilers while
988 running configure, to aid debugging if configure makes a mistake.
990 It was created by newlib $as_me 1.14.0, which was
991 generated by GNU Autoconf 2.59. Invocation command line was
1002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1014 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 test -z "$as_dir" && as_dir=.
1026 echo "PATH: $as_dir"
1041 # Keep a trace of the command line.
1042 # Strip out --no-create and --no-recursion so they do not pile up.
1043 # Strip out --silent because we don't want to record it for future runs.
1044 # Also quote any args containing shell meta-characters.
1045 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_must_keep_next=false
1056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1060 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067 if test $ac_must_keep_next = true; then
1068 ac_must_keep_next=false # Got value, back to normal.
1071 *=* | --config-cache | -C | -disable-* | --disable-* \
1072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074 | -with-* | --with-* | -without-* | --without-* | --x)
1075 case "$ac_configure_args0 " in
1076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 -* ) ac_must_keep_next=true ;;
1082 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083 # Get rid of the leading space.
1089 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092 # When interrupted or exit'd, cleanup temporary files, and complete
1093 # config.log. We remove comments because anyway the quotes in there
1094 # would cause problems or look ugly.
1095 # WARNING: Be sure not to use single quotes in there, as some shells,
1096 # such as our DU 5.0 friend, will then `close' the trap.
1097 trap 'exit_status=$?
1098 # Save into config.log some information that might help in debugging.
1103 ## ---------------- ##
1104 ## Cache variables. ##
1105 ## ---------------- ##
1108 # The following way of writing the cache mishandles newlines in values,
1111 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ## ----------------- ##
1127 ## Output variables. ##
1128 ## ----------------- ##
1131 for ac_var in $ac_subst_vars
1133 eval ac_val=$`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -n "$ac_subst_files"; then
1145 for ac_var in $ac_subst_files
1147 eval ac_val=$`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1153 if test -s confdefs.h; then
1160 sed "/^$/d" confdefs.h | sort
1163 test "$ac_signal" != 0 &&
1164 echo "$as_me: caught signal $ac_signal"
1165 echo "$as_me: exit $exit_status"
1167 rm -f core *.core &&
1168 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1171 for ac_signal in 1 2 13 15; do
1172 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1177 rm -rf conftest* confdefs.h
1178 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 # Predefined preprocessor variables.
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 # Let the site file select an alternate cache file if it wants to.
1209 # Prefer explicitly selected file to automatically selected ones.
1210 if test -z "$CONFIG_SITE"; then
1211 if test "x$prefix" != xNONE; then
1212 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 for ac_site_file in $CONFIG_SITE; do
1218 if test -r "$ac_site_file"; then
1219 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220 echo "$as_me: loading site script $ac_site_file" >&6;}
1221 sed 's/^/| /' "$ac_site_file" >&5
1226 if test -r "$cache_file"; then
1227 # Some versions of bash will fail to source /dev/null (special
1228 # files actually), so we avoid doing that.
1229 if test -f "$cache_file"; then
1230 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231 echo "$as_me: loading cache $cache_file" >&6;}
1233 [\\/]* | ?:[\\/]* ) . $cache_file;;
1234 *) . ./$cache_file;;
1238 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239 echo "$as_me: creating cache $cache_file" >&6;}
1243 # Check that the precious variables saved in the cache have kept the same
1245 ac_cache_corrupted=false
1246 for ac_var in `(set) 2>&1 |
1247 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249 eval ac_new_set=\$ac_env_${ac_var}_set
1250 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251 eval ac_new_val="\$ac_env_${ac_var}_value"
1252 case $ac_old_set,$ac_new_set in
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1263 if test "x$ac_old_val" != "x$ac_new_val"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1265 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267 echo "$as_me: former value: $ac_old_val" >&2;}
1268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269 echo "$as_me: current value: $ac_new_val" >&2;}
1270 ac_cache_corrupted=:
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1290 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 for ac_dir in ../../.. $srcdir/../../..; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355 # Make sure we can run config.sub.
1356 $ac_config_sub sun4 >/dev/null 2>&1 ||
1357 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1358 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1359 { (exit 1); exit 1; }; }
1361 echo "$as_me:$LINENO: checking build system type" >&5
1362 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1363 if test "${ac_cv_build+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 ac_cv_build_alias=$build_alias
1367 test -z "$ac_cv_build_alias" &&
1368 ac_cv_build_alias=`$ac_config_guess`
1369 test -z "$ac_cv_build_alias" &&
1370 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1371 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1372 { (exit 1); exit 1; }; }
1373 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1374 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1375 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1376 { (exit 1); exit 1; }; }
1379 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1380 echo "${ECHO_T}$ac_cv_build" >&6
1382 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1383 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1384 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1387 am__api_version="1.9"
1388 # Find a good install program. We prefer a C program (faster),
1389 # so one script is as good as another. But avoid the broken or
1390 # incompatible versions:
1391 # SysV /etc/install, /usr/sbin/install
1392 # SunOS /usr/etc/install
1393 # IRIX /sbin/install
1395 # AmigaOS /C/install, which installs bootblocks on floppy discs
1396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1399 # OS/2's system install, which has a completely different semantic
1400 # ./install, which can be erroneously created by make from ./install.sh.
1401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1403 if test -z "$INSTALL"; then
1404 if test "${ac_cv_path_install+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411 test -z "$as_dir" && as_dir=.
1412 # Account for people who put trailing slashes in PATH elements.
1414 ./ | .// | /cC/* | \
1415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1416 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1419 # OSF1 and SCO ODT 3.0 have their own names for install.
1420 # Don't use installbsd from OSF since it installs stuff as root
1422 for ac_prog in ginstall scoinst install; do
1423 for ac_exec_ext in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1425 if test $ac_prog = install &&
1426 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1427 # AIX install. It has an incompatible calling convention.
1429 elif test $ac_prog = install &&
1430 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1431 # program-specific install script used by HP pwplus--don't use.
1434 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1446 if test "${ac_cv_path_install+set}" = set; then
1447 INSTALL=$ac_cv_path_install
1449 # As a last resort, use the slow shell script. We don't cache a
1450 # path for INSTALL within a source directory, because that will
1451 # break other packages using the cache if that directory is
1452 # removed, or if the path is relative.
1453 INSTALL=$ac_install_sh
1456 echo "$as_me:$LINENO: result: $INSTALL" >&5
1457 echo "${ECHO_T}$INSTALL" >&6
1459 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1460 # It thinks the first close brace ends the variable substitution.
1461 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1463 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1465 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1467 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1468 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1471 echo timestamp > conftest.file
1472 # Do `set' in a subshell so we don't clobber the current shell's
1473 # arguments. Must try -L first in case configure is actually a
1474 # symlink; some systems play weird games with the mod time of symlinks
1475 # (eg FreeBSD returns the mod time of the symlink's containing
1478 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1479 if test "$*" = "X"; then
1481 set X `ls -t $srcdir/configure conftest.file`
1484 if test "$*" != "X $srcdir/configure conftest.file" \
1485 && test "$*" != "X conftest.file $srcdir/configure"; then
1487 # If neither matched, then we have a broken ls. This can happen
1488 # if, for instance, CONFIG_SHELL is bash and it inherits a
1489 # broken ls alias from the environment. This has actually
1490 # happened. Such a system could not be considered "sane".
1491 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1492 alias in your environment" >&5
1493 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1494 alias in your environment" >&2;}
1495 { (exit 1); exit 1; }; }
1498 test "$2" = conftest.file
1504 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1505 Check your system clock" >&5
1506 echo "$as_me: error: newly created file is older than distributed files!
1507 Check your system clock" >&2;}
1508 { (exit 1); exit 1; }; }
1510 echo "$as_me:$LINENO: result: yes" >&5
1511 echo "${ECHO_T}yes" >&6
1512 test "$program_prefix" != NONE &&
1513 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1514 # Use a double $ so make ignores it.
1515 test "$program_suffix" != NONE &&
1516 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1517 # Double any \ or $. echo might interpret backslashes.
1518 # By default was `s,x,x', remove it if useless.
1519 cat <<\_ACEOF >conftest.sed
1520 s/[\\$]/&&/g;s/;s,x,x,$//
1522 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1525 # expand $ac_aux_dir to an absolute path
1526 am_aux_dir=`cd $ac_aux_dir && pwd`
1528 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1529 # Use eval to expand $SHELL
1530 if eval "$MISSING --run true"; then
1531 am_missing_run="$MISSING --run "
1534 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1535 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1538 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1539 # We used to keeping the `.' as first argument, in order to
1540 # allow $(mkdir_p) to be used without argument. As in
1541 # $(mkdir_p) $(somedir)
1542 # where $(somedir) is conditionally defined. However this is wrong
1544 # 1. if the package is installed by a user who cannot write `.'
1545 # make install will fail,
1546 # 2. the above comment should most certainly read
1547 # $(mkdir_p) $(DESTDIR)$(somedir)
1548 # so it does not work when $(somedir) is undefined and
1549 # $(DESTDIR) is not.
1550 # To support the latter case, we have to write
1551 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1552 # so the `.' trick is pointless.
1553 mkdir_p='mkdir -p --'
1555 # On NextStep and OpenStep, the `mkdir' command does not
1556 # recognize any option. It will interpret all options as
1557 # directories to create, and then abort because `.' already
1559 for d in ./-p ./--version;
1561 test -d $d && rmdir $d
1563 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1564 if test -f "$ac_aux_dir/mkinstalldirs"; then
1565 mkdir_p='$(mkinstalldirs)'
1567 mkdir_p='$(install_sh) -d'
1571 for ac_prog in gawk mawk nawk awk
1573 # Extract the first word of "$ac_prog", so it can be a program name with args.
1574 set dummy $ac_prog; ac_word=$2
1575 echo "$as_me:$LINENO: checking for $ac_word" >&5
1576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1577 if test "${ac_cv_prog_AWK+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 if test -n "$AWK"; then
1581 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587 test -z "$as_dir" && as_dir=.
1588 for ac_exec_ext in '' $ac_executable_extensions; do
1589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1590 ac_cv_prog_AWK="$ac_prog"
1591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600 if test -n "$AWK"; then
1601 echo "$as_me:$LINENO: result: $AWK" >&5
1602 echo "${ECHO_T}$AWK" >&6
1604 echo "$as_me:$LINENO: result: no" >&5
1605 echo "${ECHO_T}no" >&6
1608 test -n "$AWK" && break
1611 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1612 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1613 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1614 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 cat >conftest.make <<\_ACEOF
1619 @echo 'ac_maketemp="$(MAKE)"'
1621 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1622 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1623 if test -n "$ac_maketemp"; then
1624 eval ac_cv_prog_make_${ac_make}_set=yes
1626 eval ac_cv_prog_make_${ac_make}_set=no
1630 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1631 echo "$as_me:$LINENO: result: yes" >&5
1632 echo "${ECHO_T}yes" >&6
1635 echo "$as_me:$LINENO: result: no" >&5
1636 echo "${ECHO_T}no" >&6
1637 SET_MAKE="MAKE=${MAKE-make}"
1640 rm -rf .tst 2>/dev/null
1641 mkdir .tst 2>/dev/null
1642 if test -d .tst; then
1647 rmdir .tst 2>/dev/null
1649 DEPDIR="${am__leading_dot}deps"
1651 ac_config_commands="$ac_config_commands depfiles"
1654 am_make=${MAKE-make}
1655 cat > confinc << 'END'
1660 # If we don't find an include directive, just comment out the code.
1661 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1662 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1666 # First try GNU make style include.
1667 echo "include confinc" > confmf
1668 # We grep out `Entering directory' and `Leaving directory'
1669 # messages which can occur if `w' ends up in MAKEFLAGS.
1670 # In particular we don't look at `^make:' because GNU make might
1671 # be invoked under some other name (usually "gmake"), in which
1672 # case it prints its new name instead of `make'.
1673 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1678 # Now try BSD make style include.
1679 if test "$am__include" = "#"; then
1680 echo '.include "confinc"' > confmf
1681 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1682 am__include=.include
1689 echo "$as_me:$LINENO: result: $_am_result" >&5
1690 echo "${ECHO_T}$_am_result" >&6
1691 rm -f confinc confmf
1693 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1694 if test "${enable_dependency_tracking+set}" = set; then
1695 enableval="$enable_dependency_tracking"
1698 if test "x$enable_dependency_tracking" != xno; then
1699 am_depcomp="$ac_aux_dir/depcomp"
1704 if test "x$enable_dependency_tracking" != xno; then
1715 # Check whether --enable-multilib or --disable-multilib was given.
1716 if test "${enable_multilib+set}" = set; then
1717 enableval="$enable_multilib"
1718 case "${enableval}" in
1719 yes) multilib=yes ;;
1721 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1722 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1723 { (exit 1); exit 1; }; } ;;
1728 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1729 if test "${enable_target_optspace+set}" = set; then
1730 enableval="$enable_target_optspace"
1731 case "${enableval}" in
1732 yes) target_optspace=yes ;;
1733 no) target_optspace=no ;;
1734 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1735 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1736 { (exit 1); exit 1; }; } ;;
1741 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1742 if test "${enable_malloc_debugging+set}" = set; then
1743 enableval="$enable_malloc_debugging"
1744 case "${enableval}" in
1745 yes) malloc_debugging=yes ;;
1746 no) malloc_debugging=no ;;
1747 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1748 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1749 { (exit 1); exit 1; }; } ;;
1754 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1755 if test "${enable_newlib_multithread+set}" = set; then
1756 enableval="$enable_newlib_multithread"
1757 case "${enableval}" in
1758 yes) newlib_multithread=yes ;;
1759 no) newlib_multithread=no ;;
1760 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1761 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1762 { (exit 1); exit 1; }; } ;;
1765 newlib_multithread=yes
1767 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1768 if test "${enable_newlib_iconv+set}" = set; then
1769 enableval="$enable_newlib_iconv"
1770 if test "${newlib_iconv+set}" != set; then
1771 case "${enableval}" in
1772 yes) newlib_iconv=yes ;;
1773 no) newlib_iconv=no ;;
1774 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1775 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1776 { (exit 1); exit 1; }; } ;;
1780 newlib_iconv=${newlib_iconv}
1782 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1783 if test "${enable_newlib_elix_level+set}" = set; then
1784 enableval="$enable_newlib_elix_level"
1785 case "${enableval}" in
1786 0) newlib_elix_level=0 ;;
1787 1) newlib_elix_level=1 ;;
1788 2) newlib_elix_level=2 ;;
1789 3) newlib_elix_level=3 ;;
1790 4) newlib_elix_level=4 ;;
1791 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1792 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1793 { (exit 1); exit 1; }; } ;;
1798 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1799 if test "${enable_newlib_io_float+set}" = set; then
1800 enableval="$enable_newlib_io_float"
1801 case "${enableval}" in
1802 yes) newlib_io_float=yes ;;
1803 no) newlib_io_float=no ;;
1804 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1805 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1806 { (exit 1); exit 1; }; } ;;
1811 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1812 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1813 enableval="$enable_newlib_supplied_syscalls"
1814 case "${enableval}" in
1815 yes) newlib_may_supply_syscalls=yes ;;
1816 no) newlib_may_supply_syscalls=no ;;
1817 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1818 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1819 { (exit 1); exit 1; }; } ;;
1822 newlib_may_supply_syscalls=yes
1826 if test x${newlib_may_supply_syscalls} = xyes; then
1827 MAY_SUPPLY_SYSCALLS_TRUE=
1828 MAY_SUPPLY_SYSCALLS_FALSE='#'
1830 MAY_SUPPLY_SYSCALLS_TRUE='#'
1831 MAY_SUPPLY_SYSCALLS_FALSE=
1836 test -z "${with_target_subdir}" && with_target_subdir=.
1838 if test "${srcdir}" = "."; then
1839 if test "${with_target_subdir}" != "."; then
1840 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1842 newlib_basedir="${srcdir}/${with_multisrctop}../.."
1845 newlib_basedir="${srcdir}/../.."
1849 echo "$as_me:$LINENO: checking host system type" >&5
1850 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1851 if test "${ac_cv_host+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 ac_cv_host_alias=$host_alias
1855 test -z "$ac_cv_host_alias" &&
1856 ac_cv_host_alias=$ac_cv_build_alias
1857 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1858 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1859 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1860 { (exit 1); exit 1; }; }
1863 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1864 echo "${ECHO_T}$ac_cv_host" >&6
1866 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1867 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1868 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1872 # test to see if srcdir already configured
1873 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1874 test -f $srcdir/config.status; then
1875 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1876 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1877 { (exit 1); exit 1; }; }
1880 # test whether we have cygpath
1881 if test -z "$CYGPATH_W"; then
1882 if (cygpath --version) >/dev/null 2>/dev/null; then
1883 CYGPATH_W='cygpath -w'
1890 # Define the identity of the package.
1895 # Some tools Automake needs.
1897 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1900 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1903 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1906 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1909 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1911 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1913 # Installed binaries are usually stripped using `strip' when the user
1914 # run `make install-strip'. However `strip' might not be the right
1915 # tool to use in cross-compilation environments, therefore Automake
1916 # will honor the `STRIP' environment variable to overrule this program.
1917 if test "$cross_compiling" != no; then
1918 if test -n "$ac_tool_prefix"; then
1919 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1920 set dummy ${ac_tool_prefix}strip; ac_word=$2
1921 echo "$as_me:$LINENO: checking for $ac_word" >&5
1922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923 if test "${ac_cv_prog_STRIP+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 if test -n "$STRIP"; then
1927 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1936 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 STRIP=$ac_cv_prog_STRIP
1946 if test -n "$STRIP"; then
1947 echo "$as_me:$LINENO: result: $STRIP" >&5
1948 echo "${ECHO_T}$STRIP" >&6
1950 echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6
1955 if test -z "$ac_cv_prog_STRIP"; then
1957 # Extract the first word of "strip", so it can be a program name with args.
1958 set dummy strip; ac_word=$2
1959 echo "$as_me:$LINENO: checking for $ac_word" >&5
1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1961 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 if test -n "$ac_ct_STRIP"; then
1965 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 for ac_exec_ext in '' $ac_executable_extensions; do
1973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974 ac_cv_prog_ac_ct_STRIP="strip"
1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1984 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1985 if test -n "$ac_ct_STRIP"; then
1986 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1987 echo "${ECHO_T}$ac_ct_STRIP" >&6
1989 echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6
1995 STRIP="$ac_cv_prog_STRIP"
1999 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2001 # We need awk for the "check" target. The system "awk" is bad on
2003 # Always define AMTAR for backward compatibility.
2005 AMTAR=${AMTAR-"${am_missing_run}tar"}
2007 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2014 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2015 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2016 # are probably using a cross compiler, which will not be able to fully
2017 # link an executable. This should really be fixed in autoconf
2026 # Extract the first word of "gcc", so it can be a program name with args.
2027 set dummy gcc; ac_word=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC="$CC" # Let the user override the test.
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 if test -n "$CC"; then
2054 echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2062 depcc="$CC" am_compiler_list=
2064 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2065 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2066 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2070 # We make a subdir and do the tests there. Otherwise we can end up
2071 # making bogus files that we don't know about and never remove. For
2072 # instance it was reported that on HP-UX the gcc test will end up
2073 # making a dummy file named `D' -- because `-MD' means `put the output
2076 # Copy depcomp to subdir because otherwise we won't find it if we're
2077 # using a relative directory.
2078 cp "$am_depcomp" conftest.dir
2080 # We will build objects and dependencies in a subdirectory because
2081 # it helps to detect inapplicable dependency modes. For instance
2082 # both Tru64's cc and ICC support -MD to output dependencies as a
2083 # side effect of compilation, but ICC will put the dependencies in
2084 # the current directory while Tru64 will put them in the object
2088 am_cv_CC_dependencies_compiler_type=none
2089 if test "$am_compiler_list" = ""; then
2090 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2092 for depmode in $am_compiler_list; do
2093 # Setup a source with many dependencies, because some compilers
2094 # like to wrap large dependency lists on column 80 (with \), and
2095 # we should not choose a depcomp mode which is confused by this.
2097 # We need to recreate these files for each test, as the compiler may
2098 # overwrite some of them when testing with obscure command lines.
2099 # This happens at least with the AIX C compiler.
2101 for i in 1 2 3 4 5 6; do
2102 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2103 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2104 # Solaris 8's {/usr,}/bin/sh.
2105 touch sub/conftst$i.h
2107 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2111 # after this tag, mechanisms are not by side-effect, so they'll
2112 # only be used when explicitly requested
2113 if test "x$enable_dependency_tracking" = xyes; then
2121 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2122 # mode. It turns out that the SunPro C++ compiler does not properly
2123 # handle `-M -o', and we need to detect this.
2124 if depmode=$depmode \
2125 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2126 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2127 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2128 >/dev/null 2>conftest.err &&
2129 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2130 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2131 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2132 # icc doesn't choke on unknown options, it will just issue warnings
2133 # or remarks (even with -Werror). So we grep stderr for any message
2134 # that says an option was ignored or not supported.
2135 # When given -MP, icc 7.0 and 7.1 complain thusly:
2136 # icc: Command line warning: ignoring option '-M'; no argument required
2137 # The diagnosis changed in icc 8.0:
2138 # icc: Command line remark: option '-MP' not supported
2139 if (grep 'ignoring option' conftest.err ||
2140 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2141 am_cv_CC_dependencies_compiler_type=$depmode
2150 am_cv_CC_dependencies_compiler_type=none
2154 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2155 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2156 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2161 test "x$enable_dependency_tracking" != xno \
2162 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2164 am__fastdepCC_FALSE='#'
2166 am__fastdepCC_TRUE='#'
2167 am__fastdepCC_FALSE=
2171 if test -z "$CC"; then
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc; ac_word=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_CC+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 if test -n "$CC"; then
2180 ac_cv_prog_CC="$CC" # Let the user override the test.
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2191 ac_prog_rejected=yes
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test $ac_prog_rejected = yes; then
2202 # We found a bogon in the path, so make sure we never use it.
2203 set dummy $ac_cv_prog_CC
2205 if test $# != 0; then
2206 # We chose a different compiler from the bogus one.
2207 # However, it has the same basename, so the bogon will be chosen
2208 # first if we set CC to just the basename; use the full file name.
2210 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2216 if test -n "$CC"; then
2217 echo "$as_me:$LINENO: result: $CC" >&5
2218 echo "${ECHO_T}$CC" >&6
2220 echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6
2224 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2225 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2226 { (exit 1); exit 1; }; }
2229 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2230 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2231 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 cat > conftest.c <<EOF
2239 if { ac_try='${CC-cc} -E conftest.c'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2245 ac_cv_c_compiler_gnu=yes
2247 ac_cv_c_compiler_gnu=no
2250 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2251 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2253 if test $ac_cv_c_compiler_gnu = yes; then
2255 ac_test_CFLAGS="${CFLAGS+set}"
2256 ac_save_CFLAGS="$CFLAGS"
2258 ac_test_CFLAGS=${CFLAGS+set}
2259 ac_save_CFLAGS=$CFLAGS
2261 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2262 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2263 if test "${ac_cv_prog_cc_g+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 cat >conftest.$ac_ext <<_ACEOF
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2281 rm -f conftest.$ac_objext
2282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283 (eval $ac_compile) 2>conftest.er1
2285 grep -v '^ *+' conftest.er1 >conftest.err
2287 cat conftest.err >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } &&
2290 { ac_try='test -z "$ac_c_werror_flag"
2291 || test ! -s conftest.err'
2292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; } &&
2297 { ac_try='test -s conftest.$ac_objext'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2305 echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.$ac_ext >&5
2310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2312 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2313 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2314 if test "$ac_test_CFLAGS" = set; then
2315 CFLAGS=$ac_save_CFLAGS
2316 elif test $ac_cv_prog_cc_g = yes; then
2317 if test "$GCC" = yes; then
2323 if test "$GCC" = yes; then
2329 if test "$ac_test_CFLAGS" = set; then
2330 CFLAGS="$ac_save_CFLAGS"
2331 elif test $ac_cv_prog_cc_g = yes; then
2338 test "${CFLAGS+set}" = set || CFLAGS="-g"
2342 if test -n "$ac_tool_prefix"; then
2343 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2344 set dummy ${ac_tool_prefix}as; ac_word=$2
2345 echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347 if test "${ac_cv_prog_AS+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$AS"; then
2351 ac_cv_prog_AS="$AS" # Let the user override the test.
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360 ac_cv_prog_AS="${ac_tool_prefix}as"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 if test -n "$AS"; then
2371 echo "$as_me:$LINENO: result: $AS" >&5
2372 echo "${ECHO_T}$AS" >&6
2374 echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6
2379 if test -z "$ac_cv_prog_AS"; then
2381 # Extract the first word of "as", so it can be a program name with args.
2382 set dummy as; ac_word=$2
2383 echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2385 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 if test -n "$ac_ct_AS"; then
2389 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398 ac_cv_prog_ac_ct_AS="as"
2399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2408 if test -n "$ac_ct_AS"; then
2409 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2410 echo "${ECHO_T}$ac_ct_AS" >&6
2412 echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6
2421 if test -n "$ac_tool_prefix"; then
2422 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2423 set dummy ${ac_tool_prefix}ar; ac_word=$2
2424 echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2426 if test "${ac_cv_prog_AR+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if test -n "$AR"; then
2430 ac_cv_prog_AR="$AR" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439 ac_cv_prog_AR="${ac_tool_prefix}ar"
2440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 if test -n "$AR"; then
2450 echo "$as_me:$LINENO: result: $AR" >&5
2451 echo "${ECHO_T}$AR" >&6
2453 echo "$as_me:$LINENO: result: no" >&5
2454 echo "${ECHO_T}no" >&6
2458 if test -z "$ac_cv_prog_AR"; then
2460 # Extract the first word of "ar", so it can be a program name with args.
2461 set dummy ar; ac_word=$2
2462 echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2464 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$ac_ct_AR"; then
2468 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 ac_cv_prog_ac_ct_AR="ar"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2487 if test -n "$ac_ct_AR"; then
2488 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2489 echo "${ECHO_T}$ac_ct_AR" >&6
2491 echo "$as_me:$LINENO: result: no" >&5
2492 echo "${ECHO_T}no" >&6
2500 if test -n "$ac_tool_prefix"; then
2501 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2502 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2503 echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2505 if test "${ac_cv_prog_RANLIB+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test -n "$RANLIB"; then
2509 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 RANLIB=$ac_cv_prog_RANLIB
2528 if test -n "$RANLIB"; then
2529 echo "$as_me:$LINENO: result: $RANLIB" >&5
2530 echo "${ECHO_T}$RANLIB" >&6
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2537 if test -z "$ac_cv_prog_RANLIB"; then
2538 ac_ct_RANLIB=$RANLIB
2539 # Extract the first word of "ranlib", so it can be a program name with args.
2540 set dummy ranlib; ac_word=$2
2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 if test -n "$ac_ct_RANLIB"; then
2547 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2556 ac_cv_prog_ac_ct_RANLIB="ranlib"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2566 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2567 if test -n "$ac_ct_RANLIB"; then
2568 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2569 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2575 RANLIB=$ac_ct_RANLIB
2577 RANLIB="$ac_cv_prog_RANLIB"
2580 if test -n "$ac_tool_prefix"; then
2581 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2582 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2583 echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2585 if test "${ac_cv_prog_READELF+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 if test -n "$READELF"; then
2589 ac_cv_prog_READELF="$READELF" # Let the user override the test.
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 READELF=$ac_cv_prog_READELF
2608 if test -n "$READELF"; then
2609 echo "$as_me:$LINENO: result: $READELF" >&5
2610 echo "${ECHO_T}$READELF" >&6
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2617 if test -z "$ac_cv_prog_READELF"; then
2618 ac_ct_READELF=$READELF
2619 # Extract the first word of "readelf", so it can be a program name with args.
2620 set dummy readelf; ac_word=$2
2621 echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2623 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$ac_ct_READELF"; then
2627 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir=.
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636 ac_cv_prog_ac_ct_READELF="readelf"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2646 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2647 if test -n "$ac_ct_READELF"; then
2648 echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2649 echo "${ECHO_T}$ac_ct_READELF" >&6
2651 echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6
2655 READELF=$ac_ct_READELF
2657 READELF="$ac_cv_prog_READELF"
2661 # Find a good install program. We prefer a C program (faster),
2662 # so one script is as good as another. But avoid the broken or
2663 # incompatible versions:
2664 # SysV /etc/install, /usr/sbin/install
2665 # SunOS /usr/etc/install
2666 # IRIX /sbin/install
2668 # AmigaOS /C/install, which installs bootblocks on floppy discs
2669 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2670 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2671 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2672 # OS/2's system install, which has a completely different semantic
2673 # ./install, which can be erroneously created by make from ./install.sh.
2674 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2675 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2676 if test -z "$INSTALL"; then
2677 if test "${ac_cv_path_install+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir=.
2685 # Account for people who put trailing slashes in PATH elements.
2687 ./ | .// | /cC/* | \
2688 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2689 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2692 # OSF1 and SCO ODT 3.0 have their own names for install.
2693 # Don't use installbsd from OSF since it installs stuff as root
2695 for ac_prog in ginstall scoinst install; do
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2698 if test $ac_prog = install &&
2699 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2700 # AIX install. It has an incompatible calling convention.
2702 elif test $ac_prog = install &&
2703 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2704 # program-specific install script used by HP pwplus--don't use.
2707 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2719 if test "${ac_cv_path_install+set}" = set; then
2720 INSTALL=$ac_cv_path_install
2722 # As a last resort, use the slow shell script. We don't cache a
2723 # path for INSTALL within a source directory, because that will
2724 # break other packages using the cache if that directory is
2725 # removed, or if the path is relative.
2726 INSTALL=$ac_install_sh
2729 echo "$as_me:$LINENO: result: $INSTALL" >&5
2730 echo "${ECHO_T}$INSTALL" >&6
2732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2733 # It thinks the first close brace ends the variable substitution.
2734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2738 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2741 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2742 ac_given_INSTALL=$INSTALL
2744 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2745 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2746 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2747 if test "${enable_maintainer_mode+set}" = set; then
2748 enableval="$enable_maintainer_mode"
2749 USE_MAINTAINER_MODE=$enableval
2751 USE_MAINTAINER_MODE=no
2753 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2754 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2757 if test $USE_MAINTAINER_MODE = yes; then
2758 MAINTAINER_MODE_TRUE=
2759 MAINTAINER_MODE_FALSE='#'
2761 MAINTAINER_MODE_TRUE='#'
2762 MAINTAINER_MODE_FALSE=
2765 MAINT=$MAINTAINER_MODE_TRUE
2768 # By default we simply use the C compiler to build assembly code.
2770 test "${CCAS+set}" = set || CCAS=$CC
2771 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2776 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2777 # at least currently, we never actually build a program, so we never
2778 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2779 # fails, because we are probably configuring with a cross compiler
2780 # which can't create executables. So we include AC_EXEEXT to keep
2781 # automake happy, but we don't execute it, since we don't care about
2788 . ${newlib_basedir}/configure.host
2790 newlib_cflags="${newlib_cflags} -fno-builtin"
2792 NEWLIB_CFLAGS=${newlib_cflags}
2800 if test x${newlib_elix_level} = x0; then
2802 ELIX_LEVEL_0_FALSE='#'
2804 ELIX_LEVEL_0_TRUE='#'
2810 if test x${newlib_elix_level} = x1; then
2812 ELIX_LEVEL_1_FALSE='#'
2814 ELIX_LEVEL_1_TRUE='#'
2820 if test x${newlib_elix_level} = x2; then
2822 ELIX_LEVEL_2_FALSE='#'
2824 ELIX_LEVEL_2_TRUE='#'
2830 if test x${newlib_elix_level} = x3; then
2832 ELIX_LEVEL_3_FALSE='#'
2834 ELIX_LEVEL_3_TRUE='#'
2840 if test x${newlib_elix_level} = x4; then
2842 ELIX_LEVEL_4_FALSE='#'
2844 ELIX_LEVEL_4_TRUE='#'
2851 if test x${use_libtool} = xyes; then
2853 USE_LIBTOOL_FALSE='#'
2855 USE_LIBTOOL_TRUE='#'
2860 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2861 # use oext, which is set in configure.host based on the target platform.
2874 if test "${use_libtool}" = "yes"; then
2876 # Check whether --enable-shared or --disable-shared was given.
2877 if test "${enable_shared+set}" = set; then
2878 enableval="$enable_shared"
2879 p=${PACKAGE-default}
2881 yes) enable_shared=yes ;;
2882 no) enable_shared=no ;;
2885 # Look at the argument we got. We use all the common list separators.
2886 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2887 for pkg in $enableval; do
2888 if test "X$pkg" = "X$p"; then
2898 # Check whether --enable-static or --disable-static was given.
2899 if test "${enable_static+set}" = set; then
2900 enableval="$enable_static"
2901 p=${PACKAGE-default}
2903 yes) enable_static=yes ;;
2904 no) enable_static=no ;;
2907 # Look at the argument we got. We use all the common list separators.
2908 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2909 for pkg in $enableval; do
2910 if test "X$pkg" = "X$p"; then
2920 # Check whether --enable-fast-install or --disable-fast-install was given.
2921 if test "${enable_fast_install+set}" = set; then
2922 enableval="$enable_fast_install"
2923 p=${PACKAGE-default}
2925 yes) enable_fast_install=yes ;;
2926 no) enable_fast_install=no ;;
2928 enable_fast_install=no
2929 # Look at the argument we got. We use all the common list separators.
2930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2931 for pkg in $enableval; do
2932 if test "X$pkg" = "X$p"; then
2933 enable_fast_install=yes
2940 enable_fast_install=yes
2943 ac_cpp='$CPP $CPPFLAGS'
2944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2947 if test -n "$ac_tool_prefix"; then
2948 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2949 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2950 echo "$as_me:$LINENO: checking for $ac_word" >&5
2951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2952 if test "${ac_cv_prog_CC+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 if test -n "$CC"; then
2956 ac_cv_prog_CC="$CC" # Let the user override the test.
2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir=.
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2965 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 if test -n "$CC"; then
2976 echo "$as_me:$LINENO: result: $CC" >&5
2977 echo "${ECHO_T}$CC" >&6
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2984 if test -z "$ac_cv_prog_CC"; then
2986 # Extract the first word of "gcc", so it can be a program name with args.
2987 set dummy gcc; ac_word=$2
2988 echo "$as_me:$LINENO: checking for $ac_word" >&5
2989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 if test -n "$ac_ct_CC"; then
2994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_ac_ct_CC="gcc"
3004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3013 if test -n "$ac_ct_CC"; then
3014 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3015 echo "${ECHO_T}$ac_ct_CC" >&6
3017 echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6
3026 if test -z "$CC"; then
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3029 set dummy ${ac_tool_prefix}cc; ac_word=$2
3030 echo "$as_me:$LINENO: checking for $ac_word" >&5
3031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3032 if test "${ac_cv_prog_CC+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC="$CC" # Let the user override the test.
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir=.
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045 ac_cv_prog_CC="${ac_tool_prefix}cc"
3046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$CC"; then
3056 echo "$as_me:$LINENO: result: $CC" >&5
3057 echo "${ECHO_T}$CC" >&6
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3064 if test -z "$ac_cv_prog_CC"; then
3066 # Extract the first word of "cc", so it can be a program name with args.
3067 set dummy cc; ac_word=$2
3068 echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 if test -n "$ac_ct_CC"; then
3074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir=.
3081 for ac_exec_ext in '' $ac_executable_extensions; do
3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083 ac_cv_prog_ac_ct_CC="cc"
3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3093 if test -n "$ac_ct_CC"; then
3094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3095 echo "${ECHO_T}$ac_ct_CC" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3107 if test -z "$CC"; then
3108 # Extract the first word of "cc", so it can be a program name with args.
3109 set dummy cc; ac_word=$2
3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3112 if test "${ac_cv_prog_CC+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 if test -n "$CC"; then
3116 ac_cv_prog_CC="$CC" # Let the user override the test.
3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123 test -z "$as_dir" && as_dir=.
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3127 ac_prog_rejected=yes
3131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 if test $ac_prog_rejected = yes; then
3138 # We found a bogon in the path, so make sure we never use it.
3139 set dummy $ac_cv_prog_CC
3141 if test $# != 0; then
3142 # We chose a different compiler from the bogus one.
3143 # However, it has the same basename, so the bogon will be chosen
3144 # first if we set CC to just the basename; use the full file name.
3146 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3152 if test -n "$CC"; then
3153 echo "$as_me:$LINENO: result: $CC" >&5
3154 echo "${ECHO_T}$CC" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3161 if test -z "$CC"; then
3162 if test -n "$ac_tool_prefix"; then
3165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3166 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3167 echo "$as_me:$LINENO: checking for $ac_word" >&5
3168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3169 if test "${ac_cv_prog_CC+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 if test -n "$CC"; then
3173 ac_cv_prog_CC="$CC" # Let the user override the test.
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 if test -n "$CC"; then
3193 echo "$as_me:$LINENO: result: $CC" >&5
3194 echo "${ECHO_T}$CC" >&6
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3200 test -n "$CC" && break
3203 if test -z "$CC"; then
3207 # Extract the first word of "$ac_prog", so it can be a program name with args.
3208 set dummy $ac_prog; ac_word=$2
3209 echo "$as_me:$LINENO: checking for $ac_word" >&5
3210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3211 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 if test -n "$ac_ct_CC"; then
3215 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir=.
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_ac_ct_CC="$ac_prog"
3225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3234 if test -n "$ac_ct_CC"; then
3235 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3236 echo "${ECHO_T}$ac_ct_CC" >&6
3238 echo "$as_me:$LINENO: result: no" >&5
3239 echo "${ECHO_T}no" >&6
3242 test -n "$ac_ct_CC" && break
3251 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3252 See \`config.log' for more details." >&5
3253 echo "$as_me: error: no acceptable C compiler found in \$PATH
3254 See \`config.log' for more details." >&2;}
3255 { (exit 1); exit 1; }; }
3257 # Provide some information about the compiler.
3258 echo "$as_me:$LINENO:" \
3259 "checking for C compiler version" >&5
3260 ac_compiler=`set X $ac_compile; echo $2`
3261 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3262 (eval $ac_compiler --version </dev/null >&5) 2>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }
3266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3267 (eval $ac_compiler -v </dev/null >&5) 2>&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }
3271 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3272 (eval $ac_compiler -V </dev/null >&5) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3292 ac_clean_files_save=$ac_clean_files
3293 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3294 # Try to create an executable without -o first, disregard a.out.
3295 # It will help us diagnose broken compilers, and finding out an intuition
3297 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3298 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3299 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3300 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3301 (eval $ac_link_default) 2>&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; then
3305 # Find the output, starting from the most likely. This scheme is
3306 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3309 # Be careful to initialize this variable, since it used to be cached.
3310 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3312 # b.out is created by i960 compilers.
3313 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3315 test -f "$ac_file" || continue
3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3320 # This is the source file.
3323 # We found the default executable, but exeext='' is most
3327 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3328 # FIXME: I believe we export ac_cv_exeext for Libtool,
3329 # but it would be cool to find out if it's true. Does anybody
3330 # maintain Libtool? --akim.
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3341 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3342 See \`config.log' for more details." >&5
3343 echo "$as_me: error: C compiler cannot create executables
3344 See \`config.log' for more details." >&2;}
3345 { (exit 77); exit 77; }; }
3348 ac_exeext=$ac_cv_exeext
3349 echo "$as_me:$LINENO: result: $ac_file" >&5
3350 echo "${ECHO_T}$ac_file" >&6
3352 # Check the compiler produces executables we can run. If not, either
3353 # the compiler is broken, or we cross compile.
3354 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3355 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3356 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3357 # If not cross compiling, check that we can run a simple program.
3358 if test "$cross_compiling" != yes; then
3359 if { ac_try='./$ac_file'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3367 if test "$cross_compiling" = maybe; then
3370 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3371 If you meant to cross compile, use \`--host'.
3372 See \`config.log' for more details." >&5
3373 echo "$as_me: error: cannot run C compiled programs.
3374 If you meant to cross compile, use \`--host'.
3375 See \`config.log' for more details." >&2;}
3376 { (exit 1); exit 1; }; }
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3383 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3384 ac_clean_files=$ac_clean_files_save
3385 # Check the compiler produces executables we can run. If not, either
3386 # the compiler is broken, or we cross compile.
3387 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3388 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3389 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3390 echo "${ECHO_T}$cross_compiling" >&6
3392 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3393 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3395 (eval $ac_link) 2>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); }; then
3399 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3400 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3401 # work properly (i.e., refer to `conftest.exe'), while it won't with
3403 for ac_file in conftest.exe conftest conftest.*; do
3404 test -f "$ac_file" || continue
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3407 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3415 See \`config.log' for more details." >&5
3416 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3417 See \`config.log' for more details." >&2;}
3418 { (exit 1); exit 1; }; }
3421 rm -f conftest$ac_cv_exeext
3422 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3423 echo "${ECHO_T}$ac_cv_exeext" >&6
3425 rm -f conftest.$ac_ext
3426 EXEEXT=$ac_cv_exeext
3428 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3429 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3430 if test "${ac_cv_objext+set}" = set; then
3431 echo $ECHO_N "(cached) $ECHO_C" >&6
3433 cat >conftest.$ac_ext <<_ACEOF
3436 cat confdefs.h >>conftest.$ac_ext
3437 cat >>conftest.$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3448 rm -f conftest.o conftest.obj
3449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3450 (eval $ac_compile) 2>&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; then
3454 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3465 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3466 See \`config.log' for more details." >&5
3467 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3468 See \`config.log' for more details." >&2;}
3469 { (exit 1); exit 1; }; }
3472 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3474 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3475 echo "${ECHO_T}$ac_cv_objext" >&6
3476 OBJEXT=$ac_cv_objext
3478 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3479 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3480 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3501 rm -f conftest.$ac_objext
3502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3503 (eval $ac_compile) 2>conftest.er1
3505 grep -v '^ *+' conftest.er1 >conftest.err
3507 cat conftest.err >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } &&
3510 { ac_try='test -z "$ac_c_werror_flag"
3511 || test ! -s conftest.err'
3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; } &&
3517 { ac_try='test -s conftest.$ac_objext'
3518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); }; }; then
3525 echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3531 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3534 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3535 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3536 GCC=`test $ac_compiler_gnu = yes && echo yes`
3537 ac_test_CFLAGS=${CFLAGS+set}
3538 ac_save_CFLAGS=$CFLAGS
3540 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3541 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3542 if test "${ac_cv_prog_cc_g+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 cat >conftest.$ac_ext <<_ACEOF
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3560 rm -f conftest.$ac_objext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>conftest.er1
3564 grep -v '^ *+' conftest.er1 >conftest.err
3566 cat conftest.err >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try='test -z "$ac_c_werror_flag"
3570 || test ! -s conftest.err'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; } &&
3576 { ac_try='test -s conftest.$ac_objext'
3577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; }; then
3584 echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.$ac_ext >&5
3589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3591 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3592 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3593 if test "$ac_test_CFLAGS" = set; then
3594 CFLAGS=$ac_save_CFLAGS
3595 elif test $ac_cv_prog_cc_g = yes; then
3596 if test "$GCC" = yes; then
3602 if test "$GCC" = yes; then
3608 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3609 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3610 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 ac_cv_prog_cc_stdc=no
3615 cat >conftest.$ac_ext <<_ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3623 #include <sys/types.h>
3624 #include <sys/stat.h>
3625 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3626 struct buf { int x; };
3627 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628 static char *e (p, i)
3634 static char *f (char * (*g) (char **, int), char **p, ...)
3639 s = g (p, va_arg (v,int));
3644 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3645 function prototypes and stuff, but not '\xHH' hex character constants.
3646 These don't provoke an error unfortunately, instead are silently treated
3647 as 'x'. The following induces an error, until -std1 is added to get
3648 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3649 array size at least. It's necessary to write '\x00'==0 to get something
3650 that's true only with -std1. */
3651 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3653 int test (int i, double x);
3654 struct s1 {int (*f) (int a);};
3655 struct s2 {int (*f) (double a);};
3656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3667 # Don't try gcc -ansi; that turns off useful extensions and
3668 # breaks some systems' header files.
3669 # AIX -qlanglvl=ansi
3670 # Ultrix and OSF/1 -std1
3671 # HP-UX 10.20 and later -Ae
3672 # HP-UX older versions -Aa -D_HPUX_SOURCE
3673 # SVR4 -Xc -D__EXTENSIONS__
3674 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3676 CC="$ac_save_CC $ac_arg"
3677 rm -f conftest.$ac_objext
3678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3679 (eval $ac_compile) 2>conftest.er1
3681 grep -v '^ *+' conftest.er1 >conftest.err
3683 cat conftest.err >&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); } &&
3686 { ac_try='test -z "$ac_c_werror_flag"
3687 || test ! -s conftest.err'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; } &&
3693 { ac_try='test -s conftest.$ac_objext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3699 ac_cv_prog_cc_stdc=$ac_arg
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3706 rm -f conftest.err conftest.$ac_objext
3708 rm -f conftest.$ac_ext conftest.$ac_objext
3713 case "x$ac_cv_prog_cc_stdc" in
3715 echo "$as_me:$LINENO: result: none needed" >&5
3716 echo "${ECHO_T}none needed" >&6 ;;
3718 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3719 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3720 CC="$CC $ac_cv_prog_cc_stdc" ;;
3723 # Some people use a C++ compiler to compile C. Since we use `exit',
3724 # in C++ we need to declare it. In case someone uses the same compiler
3725 # for both compiling C and C++ we need to have the C++ compiler decide
3726 # the declaration of exit, since it's the most demanding environment.
3727 cat >conftest.$ac_ext <<_ACEOF
3732 rm -f conftest.$ac_objext
3733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3734 (eval $ac_compile) 2>conftest.er1
3736 grep -v '^ *+' conftest.er1 >conftest.err
3738 cat conftest.err >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } &&
3741 { ac_try='test -z "$ac_c_werror_flag"
3742 || test ! -s conftest.err'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; } &&
3748 { ac_try='test -s conftest.$ac_objext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3754 for ac_declaration in \
3756 'extern "C" void std::exit (int) throw (); using std::exit;' \
3757 'extern "C" void std::exit (int); using std::exit;' \
3758 'extern "C" void exit (int) throw ();' \
3759 'extern "C" void exit (int);' \
3762 cat >conftest.$ac_ext <<_ACEOF
3765 cat confdefs.h >>conftest.$ac_ext
3766 cat >>conftest.$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3778 rm -f conftest.$ac_objext
3779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3780 (eval $ac_compile) 2>conftest.er1
3782 grep -v '^ *+' conftest.er1 >conftest.err
3784 cat conftest.err >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } &&
3787 { ac_try='test -z "$ac_c_werror_flag"
3788 || test ! -s conftest.err'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; } &&
3794 { ac_try='test -s conftest.$ac_objext'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3808 cat >conftest.$ac_ext <<_ACEOF
3811 cat confdefs.h >>conftest.$ac_ext
3812 cat >>conftest.$ac_ext <<_ACEOF
3813 /* end confdefs.h. */
3823 rm -f conftest.$ac_objext
3824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3825 (eval $ac_compile) 2>conftest.er1
3827 grep -v '^ *+' conftest.er1 >conftest.err
3829 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } &&
3832 { ac_try='test -z "$ac_c_werror_flag"
3833 || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try='test -s conftest.$ac_objext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3854 if test -n "$ac_declaration"; then
3855 echo '#ifdef __cplusplus' >>confdefs.h
3856 echo $ac_declaration >>confdefs.h
3857 echo '#endif' >>confdefs.h
3861 echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.$ac_ext >&5
3865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3867 ac_cpp='$CPP $CPPFLAGS'
3868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3872 depcc="$CC" am_compiler_list=
3874 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3875 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3876 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3880 # We make a subdir and do the tests there. Otherwise we can end up
3881 # making bogus files that we don't know about and never remove. For
3882 # instance it was reported that on HP-UX the gcc test will end up
3883 # making a dummy file named `D' -- because `-MD' means `put the output
3886 # Copy depcomp to subdir because otherwise we won't find it if we're
3887 # using a relative directory.
3888 cp "$am_depcomp" conftest.dir
3890 # We will build objects and dependencies in a subdirectory because
3891 # it helps to detect inapplicable dependency modes. For instance
3892 # both Tru64's cc and ICC support -MD to output dependencies as a
3893 # side effect of compilation, but ICC will put the dependencies in
3894 # the current directory while Tru64 will put them in the object
3898 am_cv_CC_dependencies_compiler_type=none
3899 if test "$am_compiler_list" = ""; then
3900 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3902 for depmode in $am_compiler_list; do
3903 # Setup a source with many dependencies, because some compilers
3904 # like to wrap large dependency lists on column 80 (with \), and
3905 # we should not choose a depcomp mode which is confused by this.
3907 # We need to recreate these files for each test, as the compiler may
3908 # overwrite some of them when testing with obscure command lines.
3909 # This happens at least with the AIX C compiler.
3911 for i in 1 2 3 4 5 6; do
3912 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3913 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3914 # Solaris 8's {/usr,}/bin/sh.
3915 touch sub/conftst$i.h
3917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3921 # after this tag, mechanisms are not by side-effect, so they'll
3922 # only be used when explicitly requested
3923 if test "x$enable_dependency_tracking" = xyes; then
3931 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3932 # mode. It turns out that the SunPro C++ compiler does not properly
3933 # handle `-M -o', and we need to detect this.
3934 if depmode=$depmode \
3935 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3936 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3937 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3938 >/dev/null 2>conftest.err &&
3939 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3940 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3941 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3942 # icc doesn't choke on unknown options, it will just issue warnings
3943 # or remarks (even with -Werror). So we grep stderr for any message
3944 # that says an option was ignored or not supported.
3945 # When given -MP, icc 7.0 and 7.1 complain thusly:
3946 # icc: Command line warning: ignoring option '-M'; no argument required
3947 # The diagnosis changed in icc 8.0:
3948 # icc: Command line remark: option '-MP' not supported
3949 if (grep 'ignoring option' conftest.err ||
3950 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3951 am_cv_CC_dependencies_compiler_type=$depmode
3960 am_cv_CC_dependencies_compiler_type=none
3964 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3965 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3966 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3971 test "x$enable_dependency_tracking" != xno \
3972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3974 am__fastdepCC_FALSE='#'
3976 am__fastdepCC_TRUE='#'
3977 am__fastdepCC_FALSE=
3982 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3983 if test "${with_gnu_ld+set}" = set; then
3984 withval="$with_gnu_ld"
3985 test "$withval" = no || with_gnu_ld=yes
3990 if test "$GCC" = yes; then
3991 # Check if gcc -print-prog-name=ld gives a path.
3992 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3993 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3996 # gcc leaves a trailing carriage return which upsets mingw
3997 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3999 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4002 # Accept absolute paths.
4003 [\\/]* | [A-Za-z]:[\\/]*)
4004 re_direlt='/[^/][^/]*/\.\./'
4005 # Canonicalize the path of ld
4006 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4007 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4008 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4010 test -z "$LD" && LD="$ac_prog"
4013 # If it fails, then pretend we aren't using GCC.
4017 # If it is relative, then search for the first ld in PATH.
4021 elif test "$with_gnu_ld" = yes; then
4022 echo "$as_me:$LINENO: checking for GNU ld" >&5
4023 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4025 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4026 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4028 if test "${lt_cv_path_LD+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 if test -z "$LD"; then
4032 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4033 for ac_dir in $PATH; do
4034 test -z "$ac_dir" && ac_dir=.
4035 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4036 lt_cv_path_LD="$ac_dir/$ac_prog"
4037 # Check to see if the program is GNU ld. I'd rather use --version,
4038 # but apparently some GNU ld's only accept -v.
4039 # Break only if it was the GNU/non-GNU ld that we prefer.
4040 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4041 test "$with_gnu_ld" != no && break
4043 test "$with_gnu_ld" != yes && break
4049 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4054 if test -n "$LD"; then
4055 echo "$as_me:$LINENO: result: $LD" >&5
4056 echo "${ECHO_T}$LD" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4061 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4062 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4063 { (exit 1); exit 1; }; }
4064 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4065 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4066 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4070 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4071 lt_cv_prog_gnu_ld=yes
4073 lt_cv_prog_gnu_ld=no
4076 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4077 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4078 with_gnu_ld=$lt_cv_prog_gnu_ld
4081 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4082 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4083 if test "${lt_cv_ld_reload_flag+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 lt_cv_ld_reload_flag='-r'
4088 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4089 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4090 reload_flag=$lt_cv_ld_reload_flag
4091 test -n "$reload_flag" && reload_flag=" $reload_flag"
4093 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4094 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4095 if test "${lt_cv_path_NM+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -n "$NM"; then
4099 # Let the user override the test.
4102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4103 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4104 test -z "$ac_dir" && ac_dir=.
4105 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4106 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4107 # Check to see if the nm accepts a BSD-compat flag.
4108 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4109 # nm: unknown option "B" ignored
4110 # Tru64's nm complains that /dev/null is an invalid object file
4111 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4112 lt_cv_path_NM="$tmp_nm -B"
4114 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4115 lt_cv_path_NM="$tmp_nm -p"
4118 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4119 continue # so that we can try to find one that supports BSD flags
4124 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4129 echo "$as_me:$LINENO: result: $NM" >&5
4130 echo "${ECHO_T}$NM" >&6
4132 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4133 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4135 if test "$LN_S" = "ln -s"; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137 echo "${ECHO_T}yes" >&6
4139 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4140 echo "${ECHO_T}no, using $LN_S" >&6
4143 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4144 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4145 if test "${lt_cv_deplibs_check_method+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 lt_cv_file_magic_cmd='$MAGIC_CMD'
4149 lt_cv_file_magic_test_file=
4150 lt_cv_deplibs_check_method='unknown'
4151 # Need to set the preceding variable on all platforms that support
4152 # interlibrary dependencies.
4153 # 'none' -- dependencies not supported.
4154 # `unknown' -- same as none, but documents that we really don't know.
4155 # 'pass_all' -- all dependencies passed with no checks.
4156 # 'test_compile' -- check by making test program.
4157 # 'file_magic [regex]' -- check by looking for files in library path
4158 # which responds to the $file_magic_cmd with a given egrep regex.
4159 # If you have `file' or equivalent on your system and you're not sure
4160 # whether `pass_all' will *always* work, you probably want this one.
4164 lt_cv_deplibs_check_method=pass_all
4168 lt_cv_deplibs_check_method=pass_all
4172 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4173 lt_cv_file_magic_cmd='/usr/bin/file -L'
4174 lt_cv_file_magic_test_file=/shlib/libc.so
4177 cygwin* | mingw* |pw32*)
4178 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4179 lt_cv_file_magic_cmd='$OBJDUMP -f'
4182 darwin* | rhapsody*)
4183 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4184 lt_cv_file_magic_cmd='/usr/bin/file -L'
4186 rhapsody* | darwin1.012)
4187 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4190 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4196 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4199 # Not sure whether the presence of OpenBSD here was a mistake.
4200 # Let's accept both of them until this is cleared up.
4201 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4202 lt_cv_file_magic_cmd=/usr/bin/file
4203 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4207 lt_cv_deplibs_check_method=pass_all
4212 lt_cv_deplibs_check_method=pass_all
4218 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4219 lt_cv_file_magic_cmd=/usr/bin/file
4220 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4223 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4224 lt_cv_file_magic_cmd=/usr/bin/file
4225 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4233 # this will be overridden with pass_all, but let us keep it just in case
4234 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4238 *-32|*"-32 ") libmagic=32-bit;;
4239 *-n32|*"-n32 ") libmagic=N32;;
4240 *-64|*"-64 ") libmagic=64-bit;;
4241 *) libmagic=never-match;;
4243 # this will be overridden with pass_all, but let us keep it just in case
4244 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4247 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4248 lt_cv_deplibs_check_method=pass_all
4251 # This must be Linux ELF.
4252 linux-gnu*|linux-newlib*)
4254 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4255 lt_cv_deplibs_check_method=pass_all ;;
4257 # glibc up to 2.1.1 does not perform some relocations on ARM
4258 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4260 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4264 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4265 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4267 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4272 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4273 lt_cv_file_magic_cmd=/usr/bin/file
4274 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4277 osf3* | osf4* | osf5*)
4278 # this will be overridden with pass_all, but let us keep it just in case
4279 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4280 lt_cv_file_magic_test_file=/shlib/libc.so
4281 lt_cv_deplibs_check_method=pass_all
4285 lt_cv_deplibs_check_method=pass_all
4289 lt_cv_deplibs_check_method=pass_all
4290 lt_cv_file_magic_test_file=/lib/libc.so
4293 sysv5uw[78]* | sysv4*uw2*)
4294 lt_cv_deplibs_check_method=pass_all
4297 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4298 case $host_vendor in
4300 lt_cv_deplibs_check_method=pass_all
4303 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]'
4304 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4311 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4312 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4313 file_magic_cmd=$lt_cv_file_magic_cmd
4314 deplibs_check_method=$lt_cv_deplibs_check_method
4319 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4321 # Only perform the check for file, if the check method requires it
4322 case $deplibs_check_method in
4324 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4325 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4326 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4327 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4335 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4338 ac_save_MAGIC_CMD="$MAGIC_CMD"
4339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4340 ac_dummy="/usr/bin:$PATH"
4341 for ac_dir in $ac_dummy; do
4342 test -z "$ac_dir" && ac_dir=.
4343 if test -f $ac_dir/${ac_tool_prefix}file; then
4344 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4345 if test -n "$file_magic_test_file"; then
4346 case $deplibs_check_method in
4348 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4349 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4350 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4351 egrep "$file_magic_regex" > /dev/null; then
4356 *** Warning: the command libtool uses to detect shared libraries,
4357 *** $file_magic_cmd, produces output that libtool cannot recognize.
4358 *** The result is that libtool may fail to recognize shared libraries
4359 *** as such. This will affect the creation of libtool libraries that
4360 *** depend on shared libraries, but programs linked with such libtool
4361 *** libraries will work regardless of this problem. Nevertheless, you
4362 *** may want to report the problem to your system manager and/or to
4363 *** bug-libtool@gnu.org
4373 MAGIC_CMD="$ac_save_MAGIC_CMD"
4378 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4379 if test -n "$MAGIC_CMD"; then
4380 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4381 echo "${ECHO_T}$MAGIC_CMD" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4387 if test -z "$lt_cv_path_MAGIC_CMD"; then
4388 if test -n "$ac_tool_prefix"; then
4389 echo "$as_me:$LINENO: checking for file" >&5
4390 echo $ECHO_N "checking for file... $ECHO_C" >&6
4391 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4399 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4402 ac_save_MAGIC_CMD="$MAGIC_CMD"
4403 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4404 ac_dummy="/usr/bin:$PATH"
4405 for ac_dir in $ac_dummy; do
4406 test -z "$ac_dir" && ac_dir=.
4407 if test -f $ac_dir/file; then
4408 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4409 if test -n "$file_magic_test_file"; then
4410 case $deplibs_check_method in
4412 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4414 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4415 egrep "$file_magic_regex" > /dev/null; then
4420 *** Warning: the command libtool uses to detect shared libraries,
4421 *** $file_magic_cmd, produces output that libtool cannot recognize.
4422 *** The result is that libtool may fail to recognize shared libraries
4423 *** as such. This will affect the creation of libtool libraries that
4424 *** depend on shared libraries, but programs linked with such libtool
4425 *** libraries will work regardless of this problem. Nevertheless, you
4426 *** may want to report the problem to your system manager and/or to
4427 *** bug-libtool@gnu.org
4437 MAGIC_CMD="$ac_save_MAGIC_CMD"
4442 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4443 if test -n "$MAGIC_CMD"; then
4444 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4445 echo "${ECHO_T}$MAGIC_CMD" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4460 if test -n "$ac_tool_prefix"; then
4461 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4462 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4463 echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4465 if test "${ac_cv_prog_RANLIB+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$RANLIB"; then
4469 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 RANLIB=$ac_cv_prog_RANLIB
4488 if test -n "$RANLIB"; then
4489 echo "$as_me:$LINENO: result: $RANLIB" >&5
4490 echo "${ECHO_T}$RANLIB" >&6
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4497 if test -z "$ac_cv_prog_RANLIB"; then
4498 ac_ct_RANLIB=$RANLIB
4499 # Extract the first word of "ranlib", so it can be a program name with args.
4500 set dummy ranlib; ac_word=$2
4501 echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 if test -n "$ac_ct_RANLIB"; then
4507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_RANLIB="ranlib"
4517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4527 if test -n "$ac_ct_RANLIB"; then
4528 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4529 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4535 RANLIB=$ac_ct_RANLIB
4537 RANLIB="$ac_cv_prog_RANLIB"
4540 if test -n "$ac_tool_prefix"; then
4541 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4542 set dummy ${ac_tool_prefix}strip; ac_word=$2
4543 echo "$as_me:$LINENO: checking for $ac_word" >&5
4544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4545 if test "${ac_cv_prog_STRIP+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 if test -n "$STRIP"; then
4549 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 STRIP=$ac_cv_prog_STRIP
4568 if test -n "$STRIP"; then
4569 echo "$as_me:$LINENO: result: $STRIP" >&5
4570 echo "${ECHO_T}$STRIP" >&6
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4577 if test -z "$ac_cv_prog_STRIP"; then
4579 # Extract the first word of "strip", so it can be a program name with args.
4580 set dummy strip; ac_word=$2
4581 echo "$as_me:$LINENO: checking for $ac_word" >&5
4582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 if test -n "$ac_ct_STRIP"; then
4587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir=.
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4596 ac_cv_prog_ac_ct_STRIP="strip"
4597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4607 if test -n "$ac_ct_STRIP"; then
4608 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4609 echo "${ECHO_T}$ac_ct_STRIP" >&6
4611 echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6
4617 STRIP="$ac_cv_prog_STRIP"
4621 # Check for any special flags to pass to ltconfig.
4622 libtool_flags="--cache-file=$cache_file"
4623 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4624 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4625 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4626 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4627 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4630 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4631 if test "${enable_libtool_lock+set}" = set; then
4632 enableval="$enable_libtool_lock"
4635 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4636 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4639 # Check whether --with-pic or --without-pic was given.
4640 if test "${with_pic+set}" = set; then
4646 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4647 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4649 # Some flags need to be propagated to the compiler or linker for good
4653 # Find out which ABI we are using.
4654 echo '#line 4654 "configure"' > conftest.$ac_ext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; then
4660 case `/usr/bin/file conftest.$ac_objext` in
4676 # Find out which ABI we are using.
4677 echo 'int i;' > conftest.$ac_ext
4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4679 (eval $ac_compile) 2>&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; then
4683 case "`/usr/bin/file conftest.o`" in
4696 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4697 SAVE_CFLAGS="$CFLAGS"
4698 CFLAGS="$CFLAGS -belf"
4699 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4700 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4701 if test "${lt_cv_cc_needs_belf+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_cpp='$CPP $CPPFLAGS'
4708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4712 cat >conftest.$ac_ext <<_ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4727 rm -f conftest.$ac_objext conftest$ac_exeext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4729 (eval $ac_link) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1 >conftest.err
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try='test -z "$ac_c_werror_flag"
4737 || test ! -s conftest.err'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try='test -s conftest$ac_exeext'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; }; then
4749 lt_cv_cc_needs_belf=yes
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.$ac_ext >&5
4754 lt_cv_cc_needs_belf=no
4756 rm -f conftest.err conftest.$ac_objext \
4757 conftest$ac_exeext conftest.$ac_ext
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4766 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4767 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4768 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4769 CFLAGS="$SAVE_CFLAGS"
4777 # Save cache, so that ltconfig can load it
4778 cat >confcache <<\_ACEOF
4779 # This file is a shell script that caches the results of configure
4780 # tests run on this system so they can be shared between configure
4781 # scripts and configure runs, see configure's option --config-cache.
4782 # It is not useful on other systems. If it contains results you don't
4783 # want to keep, you may remove or edit it.
4785 # config.status only pays attention to the cache file if you give it
4786 # the --recheck option to rerun configure.
4788 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4794 # The following way of writing the cache mishandles newlines in values,
4795 # but we know of no workaround that is simple, portable, and efficient.
4796 # So, don't put newlines in cache variables' values.
4797 # Ultrix sh set writes to stderr and can't be redirected directly,
4798 # and sets the high bit in the cache file unless we assign to the vars.
4801 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4803 # `set' does not quote correctly, so add quotes (double-quote
4804 # substitution turns \\\\ into \\, and sed turns \\ into \).
4807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4810 # `set' quotes correctly as required by POSIX, so do not add quotes.
4812 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4819 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4821 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4823 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4824 if test -w $cache_file; then
4825 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4826 cat confcache >$cache_file
4828 echo "not updating unwritable cache $cache_file"
4833 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4834 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4835 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4836 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4837 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4838 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4839 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4840 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4841 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4842 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4843 echo "$as_me: error: libtool configure failed" >&2;}
4844 { (exit 1); exit 1; }; }
4846 # Reload cache, that may have been modified by ltconfig
4847 if test -r "$cache_file"; then
4848 # Some versions of bash will fail to source /dev/null (special
4849 # files actually), so we avoid doing that.
4850 if test -f "$cache_file"; then
4851 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4852 echo "$as_me: loading cache $cache_file" >&6;}
4854 [\\/]* | ?:[\\/]* ) . $cache_file;;
4855 *) . ./$cache_file;;
4859 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4860 echo "$as_me: creating cache $cache_file" >&6;}
4865 # This can be used to rebuild libtool when needed
4866 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4868 # Always use our own libtool.
4869 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4871 # Redirect the config.log output again, so that the ltconfig log is not
4872 # clobbered by the next message.
4873 exec 5>>./config.log
4882 if test -n "${sys_dir}"; then
4886 subdirs="$subdirs a29khif"
4890 subdirs="$subdirs arc"
4894 subdirs="$subdirs arm"
4898 subdirs="$subdirs d10v"
4902 subdirs="$subdirs decstation"
4906 subdirs="$subdirs h8300hms"
4910 subdirs="$subdirs h8500hms"
4914 subdirs="$subdirs linux"
4918 subdirs="$subdirs m88kbug"
4922 subdirs="$subdirs mmixware"
4926 subdirs="$subdirs netware"
4930 subdirs="$subdirs rdos"
4934 subdirs="$subdirs rtems"
4938 subdirs="$subdirs sh"
4942 subdirs="$subdirs sparc64"
4946 subdirs="$subdirs sun4"
4950 subdirs="$subdirs sysmec"
4954 subdirs="$subdirs sysnec810"
4958 subdirs="$subdirs sysnecv850"
4962 subdirs="$subdirs sysvi386"
4966 subdirs="$subdirs sysvnecv70"
4970 subdirs="$subdirs tic80"
4974 subdirs="$subdirs w65"
4978 subdirs="$subdirs z8ksim"
4984 if test "x${have_crt0}" = "xyes"; then
4991 if test x${sys_dir} != x; then
4993 HAVE_SYS_DIR_FALSE='#'
4995 HAVE_SYS_DIR_TRUE='#'
5000 ac_config_files="$ac_config_files Makefile"
5002 cat >confcache <<\_ACEOF
5003 # This file is a shell script that caches the results of configure
5004 # tests run on this system so they can be shared between configure
5005 # scripts and configure runs, see configure's option --config-cache.
5006 # It is not useful on other systems. If it contains results you don't
5007 # want to keep, you may remove or edit it.
5009 # config.status only pays attention to the cache file if you give it
5010 # the --recheck option to rerun configure.
5012 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5013 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5018 # The following way of writing the cache mishandles newlines in values,
5019 # but we know of no workaround that is simple, portable, and efficient.
5020 # So, don't put newlines in cache variables' values.
5021 # Ultrix sh set writes to stderr and can't be redirected directly,
5022 # and sets the high bit in the cache file unless we assign to the vars.
5025 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5027 # `set' does not quote correctly, so add quotes (double-quote
5028 # substitution turns \\\\ into \\, and sed turns \\ into \).
5031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5034 # `set' quotes correctly as required by POSIX, so do not add quotes.
5036 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5043 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5045 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5047 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5048 if test -w $cache_file; then
5049 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5050 cat confcache >$cache_file
5052 echo "not updating unwritable cache $cache_file"
5057 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5058 # Let make expand exec_prefix.
5059 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5061 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5062 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5063 # trailing colons and then remove the whole line if VPATH becomes empty
5064 # (actually we leave an empty line to preserve line numbers).
5065 if test "x$srcdir" = x.; then
5066 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5067 s/:*\$(srcdir):*/:/;
5068 s/:*\${srcdir}:*/:/;
5070 s/^\([^=]*=[ ]*\):*/\1/;
5076 # Transform confdefs.h into DEFS.
5077 # Protect against shell expansion while executing Makefile rules.
5078 # Protect against Makefile macro expansion.
5080 # If the first sed substitution is executed (which looks for macros that
5081 # take arguments), then we branch to the quote section. Otherwise,
5082 # look for a macro that doesn't take arguments.
5083 cat >confdef2opt.sed <<\_ACEOF
5086 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5088 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5092 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5098 # We use echo to avoid assuming a particular line-breaking character.
5099 # The extra dot is to prevent the shell from consuming trailing
5100 # line-breaks from the sub-command output. A line-break within
5101 # single-quotes doesn't work because, if this script is created in a
5102 # platform that uses two characters for line-breaks (e.g., DOS), tr
5104 ac_LF_and_DOT=`echo; echo .`
5105 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5106 rm -f confdef2opt.sed
5111 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5112 # 1. Remove the extension, and $U if already installed.
5113 ac_i=`echo "$ac_i" |
5114 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5116 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5117 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5121 LTLIBOBJS=$ac_ltlibobjs
5124 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5125 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5126 Usually this means the macro was only invoked conditionally." >&5
5127 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5128 Usually this means the macro was only invoked conditionally." >&2;}
5129 { (exit 1); exit 1; }; }
5131 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5132 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5133 Usually this means the macro was only invoked conditionally." >&5
5134 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5135 Usually this means the macro was only invoked conditionally." >&2;}
5136 { (exit 1); exit 1; }; }
5138 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5139 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5140 Usually this means the macro was only invoked conditionally." >&5
5141 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5142 Usually this means the macro was only invoked conditionally." >&2;}
5143 { (exit 1); exit 1; }; }
5145 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5146 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5147 Usually this means the macro was only invoked conditionally." >&5
5148 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5149 Usually this means the macro was only invoked conditionally." >&2;}
5150 { (exit 1); exit 1; }; }
5152 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5153 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5154 Usually this means the macro was only invoked conditionally." >&5
5155 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5156 Usually this means the macro was only invoked conditionally." >&2;}
5157 { (exit 1); exit 1; }; }
5159 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5160 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5161 Usually this means the macro was only invoked conditionally." >&5
5162 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5163 Usually this means the macro was only invoked conditionally." >&2;}
5164 { (exit 1); exit 1; }; }
5166 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5167 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5168 Usually this means the macro was only invoked conditionally." >&5
5169 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5170 Usually this means the macro was only invoked conditionally." >&2;}
5171 { (exit 1); exit 1; }; }
5173 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5174 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5175 Usually this means the macro was only invoked conditionally." >&5
5176 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5177 Usually this means the macro was only invoked conditionally." >&2;}
5178 { (exit 1); exit 1; }; }
5180 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5181 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5182 Usually this means the macro was only invoked conditionally." >&5
5183 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5184 Usually this means the macro was only invoked conditionally." >&2;}
5185 { (exit 1); exit 1; }; }
5187 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5188 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5189 Usually this means the macro was only invoked conditionally." >&5
5190 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5191 Usually this means the macro was only invoked conditionally." >&2;}
5192 { (exit 1); exit 1; }; }
5194 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5195 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5196 Usually this means the macro was only invoked conditionally." >&5
5197 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5198 Usually this means the macro was only invoked conditionally." >&2;}
5199 { (exit 1); exit 1; }; }
5201 if test -z "${HAVE_SYS_DIR_TRUE}" && test -z "${HAVE_SYS_DIR_FALSE}"; then
5202 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYS_DIR\" was never defined.
5203 Usually this means the macro was only invoked conditionally." >&5
5204 echo "$as_me: error: conditional \"HAVE_SYS_DIR\" was never defined.
5205 Usually this means the macro was only invoked conditionally." >&2;}
5206 { (exit 1); exit 1; }; }
5209 : ${CONFIG_STATUS=./config.status}
5210 ac_clean_files_save=$ac_clean_files
5211 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5212 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5213 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5214 cat >$CONFIG_STATUS <<_ACEOF
5216 # Generated by $as_me.
5217 # Run this file to recreate the current configuration.
5218 # Compiler output produced by configure, useful for debugging
5219 # configure, is in config.log if it exists.
5224 SHELL=\${CONFIG_SHELL-$SHELL}
5227 cat >>$CONFIG_STATUS <<\_ACEOF
5228 ## --------------------- ##
5229 ## M4sh Initialization. ##
5230 ## --------------------- ##
5232 # Be Bourne compatible
5233 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5236 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5237 # is contrary to our usage. Disable this feature.
5238 alias -g '${1+"$@"}'='"$@"'
5239 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5242 DUALCASE=1; export DUALCASE # for MKS sh
5244 # Support unset when possible.
5245 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5252 # Work around bugs in pre-3.0 UWIN ksh.
5253 $as_unset ENV MAIL MAILPATH
5260 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5261 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5262 LC_TELEPHONE LC_TIME
5264 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5265 eval $as_var=C; export $as_var
5271 # Required to use basename.
5272 if expr a : '\(a\)' >/dev/null 2>&1; then
5278 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5279 as_basename=basename
5285 # Name of the executable.
5286 as_me=`$as_basename "$0" ||
5287 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5288 X"$0" : 'X\(//\)$' \| \
5289 X"$0" : 'X\(/\)$' \| \
5290 . : '\(.\)' 2>/dev/null ||
5292 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5293 /^X\/\(\/\/\)$/{ s//\1/; q; }
5294 /^X\/\(\/\).*/{ s//\1/; q; }
5298 # PATH needs CR, and LINENO needs CR and PATH.
5299 # Avoid depending upon Character Ranges.
5300 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5301 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5302 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5303 as_cr_digits='0123456789'
5304 as_cr_alnum=$as_cr_Letters$as_cr_digits
5306 # The user is always right.
5307 if test "${PATH_SEPARATOR+set}" != set; then
5308 echo "#! /bin/sh" >conf$$.sh
5309 echo "exit 0" >>conf$$.sh
5311 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5322 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5323 test "x$as_lineno_1" != "x$as_lineno_2" &&
5324 test "x$as_lineno_3" = "x$as_lineno_2" || {
5325 # Find who we are. Look in the path if we contain no path at all
5328 *[\\/]* ) as_myself=$0 ;;
5329 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir=.
5334 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5339 # We did not find ourselves, most probably we were run as `sh COMMAND'
5340 # in which case we are not to be found in the path.
5341 if test "x$as_myself" = x; then
5344 if test ! -f "$as_myself"; then
5345 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5346 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5347 { (exit 1); exit 1; }; }
5349 case $CONFIG_SHELL in
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5355 test -z "$as_dir" && as_dir=.
5356 for as_base in sh bash ksh sh5; do
5359 if ("$as_dir/$as_base" -c '
5362 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5363 test "x$as_lineno_1" != "x$as_lineno_2" &&
5364 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5365 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5366 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5367 CONFIG_SHELL=$as_dir/$as_base
5369 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5377 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5378 # uniformly replaced by the line number. The first 'sed' inserts a
5379 # line-number line before each line; the second 'sed' does the real
5380 # work. The second script uses 'N' to pair each line-number line
5381 # with the numbered line, and appends trailing '-' during
5382 # substitution so that $LINENO is not a special case at line end.
5383 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5384 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5385 sed '=' <$as_myself |
5390 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5393 s,^['$as_cr_digits']*\n,,
5395 chmod +x $as_me.lineno ||
5396 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5397 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5398 { (exit 1); exit 1; }; }
5400 # Don't try to exec as it changes $[0], causing all sort of problems
5401 # (the dirname of $[0] is not the place where we might find the
5402 # original and so on. Autoconf is especially sensible to this).
5404 # Exit status is that of the last command.
5409 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5410 *c*,-n*) ECHO_N= ECHO_C='
5412 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5413 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5416 if expr a : '\(a\)' >/dev/null 2>&1; then
5422 rm -f conf$$ conf$$.exe conf$$.file
5424 if ln -s conf$$.file conf$$ 2>/dev/null; then
5425 # We could just check for DJGPP; but this test a) works b) is more generic
5426 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5427 if test -f conf$$.exe; then
5428 # Don't use ln at all; we don't have any links
5433 elif ln conf$$.file conf$$ 2>/dev/null; then
5438 rm -f conf$$ conf$$.exe conf$$.file
5440 if mkdir -p . 2>/dev/null; then
5443 test -d ./-p && rmdir ./-p
5447 as_executable_p="test -f"
5449 # Sed expression to map a string onto a valid CPP name.
5450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5452 # Sed expression to map a string onto a valid variable name.
5453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5457 # We need space, tab and new line, in precisely that order.
5467 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5468 # report actual input values of CONFIG_FILES etc. instead of their
5469 # values after options handling. Logging --version etc. is OK.
5473 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5474 ## Running $as_me. ##
5479 This file was extended by newlib $as_me 1.14.0, which was
5480 generated by GNU Autoconf 2.59. Invocation command line was
5482 CONFIG_FILES = $CONFIG_FILES
5483 CONFIG_HEADERS = $CONFIG_HEADERS
5484 CONFIG_LINKS = $CONFIG_LINKS
5485 CONFIG_COMMANDS = $CONFIG_COMMANDS
5489 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5493 # Files that config.status was made for.
5494 if test -n "$ac_config_files"; then
5495 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5498 if test -n "$ac_config_headers"; then
5499 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5502 if test -n "$ac_config_links"; then
5503 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5506 if test -n "$ac_config_commands"; then
5507 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5510 cat >>$CONFIG_STATUS <<\_ACEOF
5513 \`$as_me' instantiates files from templates according to the
5514 current configuration.
5516 Usage: $0 [OPTIONS] [FILE]...
5518 -h, --help print this help, then exit
5519 -V, --version print version number, then exit
5520 -q, --quiet do not print progress messages
5521 -d, --debug don't remove temporary files
5522 --recheck update $as_me by reconfiguring in the same conditions
5523 --file=FILE[:TEMPLATE]
5524 instantiate the configuration file FILE
5526 Configuration files:
5529 Configuration commands:
5532 Report bugs to <bug-autoconf@gnu.org>."
5535 cat >>$CONFIG_STATUS <<_ACEOF
5537 newlib config.status 1.14.0
5538 configured by $0, generated by GNU Autoconf 2.59,
5539 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5541 Copyright (C) 2003 Free Software Foundation, Inc.
5542 This config.status script is free software; the Free Software Foundation
5543 gives unlimited permission to copy, distribute and modify it."
5548 cat >>$CONFIG_STATUS <<\_ACEOF
5549 # If no file are specified by the user, then we need to provide default
5550 # value. By we need to know if files were specified by the user.
5556 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5557 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5565 *) # This is not an option, so the user has probably given explicit
5568 ac_need_defaults=false;;
5572 # Handling of the options.
5574 cat >>$CONFIG_STATUS <<\_ACEOF
5575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5577 --version | --vers* | -V )
5578 echo "$ac_cs_version"; exit 0 ;;
5580 # Conflict between --help and --header
5581 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5582 Try \`$0 --help' for more information." >&5
5583 echo "$as_me: error: ambiguous option: $1
5584 Try \`$0 --help' for more information." >&2;}
5585 { (exit 1); exit 1; }; };;
5586 --help | --hel | -h )
5587 echo "$ac_cs_usage"; exit 0 ;;
5588 --debug | --d* | -d )
5590 --file | --fil | --fi | --f )
5592 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5593 ac_need_defaults=false;;
5594 --header | --heade | --head | --hea )
5596 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5597 ac_need_defaults=false;;
5598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5599 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5603 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5604 Try \`$0 --help' for more information." >&5
5605 echo "$as_me: error: unrecognized option: $1
5606 Try \`$0 --help' for more information." >&2;}
5607 { (exit 1); exit 1; }; } ;;
5609 *) ac_config_targets="$ac_config_targets $1" ;;
5615 ac_configure_extra_args=
5617 if $ac_cs_silent; then
5619 ac_configure_extra_args="$ac_configure_extra_args --silent"
5623 cat >>$CONFIG_STATUS <<_ACEOF
5624 if \$ac_cs_recheck; then
5625 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5626 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5631 cat >>$CONFIG_STATUS <<_ACEOF
5633 # INIT-COMMANDS section.
5636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5642 cat >>$CONFIG_STATUS <<\_ACEOF
5643 for ac_config_target in $ac_config_targets
5645 case "$ac_config_target" in
5646 # Handling of arguments.
5647 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5648 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5649 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5650 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5651 { (exit 1); exit 1; }; };;
5655 # If the user did not use the arguments to specify the items to instantiate,
5656 # then the envvar interface is used. Set only those that are not.
5657 # We use the long form for the default assignment because of an extremely
5658 # bizarre bug on SunOS 4.1.3.
5659 if $ac_need_defaults; then
5660 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5664 # Have a temporary directory for convenience. Make it in the build tree
5665 # simply because there is no reason to put it here, and in addition,
5666 # creating and moving files from /tmp can sometimes cause problems.
5667 # Create a temporary directory, and hook for its removal unless debugging.
5670 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5671 trap '{ (exit 1); exit 1; }' 1 2 13 15
5674 # Create a (secure) tmp directory for tmp files.
5677 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5678 test -n "$tmp" && test -d "$tmp"
5681 tmp=./confstat$$-$RANDOM
5682 (umask 077 && mkdir $tmp)
5685 echo "$me: cannot create a temporary directory in ." >&2
5686 { (exit 1); exit 1; }
5691 cat >>$CONFIG_STATUS <<_ACEOF
5694 # CONFIG_FILES section.
5697 # No need to generate the scripts if there are no CONFIG_FILES.
5698 # This happens for instance when ./config.status config.h
5699 if test -n "\$CONFIG_FILES"; then
5700 # Protect against being on the right side of a sed subst in config.status.
5701 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5702 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5703 s,@SHELL@,$SHELL,;t t
5704 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5705 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5706 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5707 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5708 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5709 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5710 s,@exec_prefix@,$exec_prefix,;t t
5711 s,@prefix@,$prefix,;t t
5712 s,@program_transform_name@,$program_transform_name,;t t
5713 s,@bindir@,$bindir,;t t
5714 s,@sbindir@,$sbindir,;t t
5715 s,@libexecdir@,$libexecdir,;t t
5716 s,@datadir@,$datadir,;t t
5717 s,@sysconfdir@,$sysconfdir,;t t
5718 s,@sharedstatedir@,$sharedstatedir,;t t
5719 s,@localstatedir@,$localstatedir,;t t
5720 s,@libdir@,$libdir,;t t
5721 s,@includedir@,$includedir,;t t
5722 s,@oldincludedir@,$oldincludedir,;t t
5723 s,@infodir@,$infodir,;t t
5724 s,@mandir@,$mandir,;t t
5725 s,@build_alias@,$build_alias,;t t
5726 s,@host_alias@,$host_alias,;t t
5727 s,@target_alias@,$target_alias,;t t
5729 s,@ECHO_C@,$ECHO_C,;t t
5730 s,@ECHO_N@,$ECHO_N,;t t
5731 s,@ECHO_T@,$ECHO_T,;t t
5733 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5734 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5735 s,@newlib_basedir@,$newlib_basedir,;t t
5736 s,@build@,$build,;t t
5737 s,@build_cpu@,$build_cpu,;t t
5738 s,@build_vendor@,$build_vendor,;t t
5739 s,@build_os@,$build_os,;t t
5741 s,@host_cpu@,$host_cpu,;t t
5742 s,@host_vendor@,$host_vendor,;t t
5743 s,@host_os@,$host_os,;t t
5744 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5745 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5746 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5747 s,@CYGPATH_W@,$CYGPATH_W,;t t
5748 s,@PACKAGE@,$PACKAGE,;t t
5749 s,@VERSION@,$VERSION,;t t
5750 s,@ACLOCAL@,$ACLOCAL,;t t
5751 s,@AUTOCONF@,$AUTOCONF,;t t
5752 s,@AUTOMAKE@,$AUTOMAKE,;t t
5753 s,@AUTOHEADER@,$AUTOHEADER,;t t
5754 s,@MAKEINFO@,$MAKEINFO,;t t
5755 s,@install_sh@,$install_sh,;t t
5756 s,@STRIP@,$STRIP,;t t
5757 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5758 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5759 s,@mkdir_p@,$mkdir_p,;t t
5761 s,@SET_MAKE@,$SET_MAKE,;t t
5762 s,@am__leading_dot@,$am__leading_dot,;t t
5763 s,@AMTAR@,$AMTAR,;t t
5764 s,@am__tar@,$am__tar,;t t
5765 s,@am__untar@,$am__untar,;t t
5767 s,@DEPDIR@,$DEPDIR,;t t
5768 s,@am__include@,$am__include,;t t
5769 s,@am__quote@,$am__quote,;t t
5770 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5771 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5772 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5773 s,@CCDEPMODE@,$CCDEPMODE,;t t
5774 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5775 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5777 s,@ac_ct_AS@,$ac_ct_AS,;t t
5779 s,@ac_ct_AR@,$ac_ct_AR,;t t
5780 s,@RANLIB@,$RANLIB,;t t
5781 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5782 s,@READELF@,$READELF,;t t
5783 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
5784 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5785 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5786 s,@MAINT@,$MAINT,;t t
5788 s,@CCASFLAGS@,$CCASFLAGS,;t t
5789 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5790 s,@LDFLAGS@,$LDFLAGS,;t t
5791 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5792 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5793 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5794 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5795 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5796 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5797 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5798 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5799 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5800 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5801 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5802 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5803 s,@OBJEXT@,$OBJEXT,;t t
5807 s,@libm_machine_dir@,$libm_machine_dir,;t t
5808 s,@machine_dir@,$machine_dir,;t t
5809 s,@sys_dir@,$sys_dir,;t t
5810 s,@CFLAGS@,$CFLAGS,;t t
5811 s,@CPPFLAGS@,$CPPFLAGS,;t t
5812 s,@ac_ct_CC@,$ac_ct_CC,;t t
5813 s,@EXEEXT@,$EXEEXT,;t t
5815 s,@LIBTOOL@,$LIBTOOL,;t t
5816 s,@subdirs@,$subdirs,;t t
5818 s,@HAVE_SYS_DIR_TRUE@,$HAVE_SYS_DIR_TRUE,;t t
5819 s,@HAVE_SYS_DIR_FALSE@,$HAVE_SYS_DIR_FALSE,;t t
5820 s,@LIBOBJS@,$LIBOBJS,;t t
5821 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5826 cat >>$CONFIG_STATUS <<\_ACEOF
5827 # Split the substitutions into bite-sized pieces for seds with
5828 # small command number limits, like on Digital OSF/1 and HP-UX.
5830 ac_sed_frag=1 # Number of current file.
5831 ac_beg=1 # First line for current file.
5832 ac_end=$ac_max_sed_lines # Line after last line for current file.
5835 while $ac_more_lines; do
5836 if test $ac_beg -gt 1; then
5837 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5839 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5841 if test ! -s $tmp/subs.frag; then
5844 # The purpose of the label and of the branching condition is to
5845 # speed up the sed processing (if there are no `@' at all, there
5846 # is no need to browse any of the substitutions).
5847 # These are the two extra sed commands mentioned above.
5849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5850 if test -z "$ac_sed_cmds"; then
5851 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5853 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5855 ac_sed_frag=`expr $ac_sed_frag + 1`
5857 ac_end=`expr $ac_end + $ac_max_sed_lines`
5860 if test -z "$ac_sed_cmds"; then
5863 fi # test -n "$CONFIG_FILES"
5866 cat >>$CONFIG_STATUS <<\_ACEOF
5867 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5868 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5870 - | *:- | *:-:* ) # input from stdin
5872 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5873 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5874 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5875 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5876 * ) ac_file_in=$ac_file.in ;;
5879 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5880 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5881 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5882 X"$ac_file" : 'X\(//\)[^/]' \| \
5883 X"$ac_file" : 'X\(//\)$' \| \
5884 X"$ac_file" : 'X\(/\)' \| \
5885 . : '\(.\)' 2>/dev/null ||
5887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5889 /^X\(\/\/\)$/{ s//\1/; q; }
5890 /^X\(\/\).*/{ s//\1/; q; }
5892 { if $as_mkdir_p; then
5897 while test ! -d "$as_dir"; do
5898 as_dirs="$as_dir $as_dirs"
5899 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5901 X"$as_dir" : 'X\(//\)[^/]' \| \
5902 X"$as_dir" : 'X\(//\)$' \| \
5903 X"$as_dir" : 'X\(/\)' \| \
5904 . : '\(.\)' 2>/dev/null ||
5906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5907 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5908 /^X\(\/\/\)$/{ s//\1/; q; }
5909 /^X\(\/\).*/{ s//\1/; q; }
5912 test ! -n "$as_dirs" || mkdir $as_dirs
5913 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5914 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5915 { (exit 1); exit 1; }; }; }
5919 if test "$ac_dir" != .; then
5920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5921 # A "../" for each directory in $ac_dir_suffix.
5922 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5924 ac_dir_suffix= ac_top_builddir=
5928 .) # No --srcdir option. We are building in place.
5930 if test -z "$ac_top_builddir"; then
5933 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5935 [\\/]* | ?:[\\/]* ) # Absolute path.
5936 ac_srcdir=$srcdir$ac_dir_suffix;
5937 ac_top_srcdir=$srcdir ;;
5939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5940 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5943 # Do not use `cd foo && pwd` to compute absolute paths, because
5944 # the directories may not exist.
5946 .) ac_abs_builddir="$ac_dir";;
5949 .) ac_abs_builddir=`pwd`;;
5950 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5951 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5954 case $ac_abs_builddir in
5955 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5957 case ${ac_top_builddir}. in
5958 .) ac_abs_top_builddir=$ac_abs_builddir;;
5959 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5960 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5963 case $ac_abs_builddir in
5964 .) ac_abs_srcdir=$ac_srcdir;;
5967 .) ac_abs_srcdir=$ac_abs_builddir;;
5968 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5969 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5972 case $ac_abs_builddir in
5973 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5975 case $ac_top_srcdir in
5976 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5977 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5978 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5984 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5985 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5988 if test x"$ac_file" != x-; then
5989 { echo "$as_me:$LINENO: creating $ac_file" >&5
5990 echo "$as_me: creating $ac_file" >&6;}
5993 # Let's still pretend it is `configure' which instantiates (i.e., don't
5994 # use $as_me), people would be surprised to read:
5995 # /* config.h. Generated by config.status. */
5996 if test x"$ac_file" = x-; then
5999 configure_input="$ac_file. "
6001 configure_input=$configure_input"Generated from `echo $ac_file_in |
6002 sed 's,.*/,,'` by configure."
6004 # First look for the input files in the build tree, otherwise in the
6006 ac_file_inputs=`IFS=:
6007 for f in $ac_file_in; do
6009 -) echo $tmp/stdin ;;
6011 # Absolute (can't be DOS-style, as IFS=:)
6012 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6013 echo "$as_me: error: cannot find input file: $f" >&2;}
6014 { (exit 1); exit 1; }; }
6017 if test -f "$f"; then
6020 elif test -f "$srcdir/$f"; then
6025 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6026 echo "$as_me: error: cannot find input file: $f" >&2;}
6027 { (exit 1); exit 1; }; }
6030 done` || { (exit 1); exit 1; }
6032 cat >>$CONFIG_STATUS <<_ACEOF
6036 cat >>$CONFIG_STATUS <<\_ACEOF
6038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6039 s,@configure_input@,$configure_input,;t t
6040 s,@srcdir@,$ac_srcdir,;t t
6041 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6042 s,@top_srcdir@,$ac_top_srcdir,;t t
6043 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6044 s,@builddir@,$ac_builddir,;t t
6045 s,@abs_builddir@,$ac_abs_builddir,;t t
6046 s,@top_builddir@,$ac_top_builddir,;t t
6047 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6048 s,@INSTALL@,$ac_INSTALL,;t t
6049 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6051 if test x"$ac_file" != x-; then
6052 mv $tmp/out $ac_file
6060 cat >>$CONFIG_STATUS <<\_ACEOF
6063 # CONFIG_COMMANDS section.
6065 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6066 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6067 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6068 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6069 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6070 X"$ac_dest" : 'X\(//\)[^/]' \| \
6071 X"$ac_dest" : 'X\(//\)$' \| \
6072 X"$ac_dest" : 'X\(/\)' \| \
6073 . : '\(.\)' 2>/dev/null ||
6075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6077 /^X\(\/\/\)$/{ s//\1/; q; }
6078 /^X\(\/\).*/{ s//\1/; q; }
6080 { if $as_mkdir_p; then
6085 while test ! -d "$as_dir"; do
6086 as_dirs="$as_dir $as_dirs"
6087 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6089 X"$as_dir" : 'X\(//\)[^/]' \| \
6090 X"$as_dir" : 'X\(//\)$' \| \
6091 X"$as_dir" : 'X\(/\)' \| \
6092 . : '\(.\)' 2>/dev/null ||
6094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6096 /^X\(\/\/\)$/{ s//\1/; q; }
6097 /^X\(\/\).*/{ s//\1/; q; }
6100 test ! -n "$as_dirs" || mkdir $as_dirs
6101 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6102 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6103 { (exit 1); exit 1; }; }; }
6107 if test "$ac_dir" != .; then
6108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6109 # A "../" for each directory in $ac_dir_suffix.
6110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6112 ac_dir_suffix= ac_top_builddir=
6116 .) # No --srcdir option. We are building in place.
6118 if test -z "$ac_top_builddir"; then
6121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6123 [\\/]* | ?:[\\/]* ) # Absolute path.
6124 ac_srcdir=$srcdir$ac_dir_suffix;
6125 ac_top_srcdir=$srcdir ;;
6127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6131 # Do not use `cd foo && pwd` to compute absolute paths, because
6132 # the directories may not exist.
6134 .) ac_abs_builddir="$ac_dir";;
6137 .) ac_abs_builddir=`pwd`;;
6138 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6139 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6142 case $ac_abs_builddir in
6143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6145 case ${ac_top_builddir}. in
6146 .) ac_abs_top_builddir=$ac_abs_builddir;;
6147 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6148 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6151 case $ac_abs_builddir in
6152 .) ac_abs_srcdir=$ac_srcdir;;
6155 .) ac_abs_srcdir=$ac_abs_builddir;;
6156 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6157 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6160 case $ac_abs_builddir in
6161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6163 case $ac_top_srcdir in
6164 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6165 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6166 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6171 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6172 echo "$as_me: executing $ac_dest commands" >&6;}
6174 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6175 # Strip MF so we end up with the name of the file.
6176 mf=`echo "$mf" | sed -e 's/:.*$//'`
6177 # Check whether this is an Automake generated Makefile or not.
6178 # We used to match only the files named `Makefile.in', but
6179 # some people rename them; so instead we look at the file content.
6180 # Grep'ing the first line is not enough: some people post-process
6181 # each Makefile.in and add a new line on top of each file to say so.
6182 # So let's grep whole file.
6183 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6184 dirpart=`(dirname "$mf") 2>/dev/null ||
6185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6186 X"$mf" : 'X\(//\)[^/]' \| \
6187 X"$mf" : 'X\(//\)$' \| \
6188 X"$mf" : 'X\(/\)' \| \
6189 . : '\(.\)' 2>/dev/null ||
6191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6193 /^X\(\/\/\)$/{ s//\1/; q; }
6194 /^X\(\/\).*/{ s//\1/; q; }
6199 # Extract the definition of DEPDIR, am__include, and am__quote
6200 # from the Makefile without running `make'.
6201 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6202 test -z "$DEPDIR" && continue
6203 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6204 test -z "am__include" && continue
6205 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6206 # When using ansi2knr, U may be empty or an underscore; expand it
6207 U=`sed -n 's/^U = //p' < "$mf"`
6208 # Find all dependency output files, they are included files with
6209 # $(DEPDIR) in their names. We invoke sed twice because it is the
6210 # simplest approach to changing $(DEPDIR) to its actual value in the
6212 for file in `sed -n "
6213 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6214 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6215 # Make sure the directory exists.
6216 test -f "$dirpart/$file" && continue
6217 fdir=`(dirname "$file") 2>/dev/null ||
6218 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6219 X"$file" : 'X\(//\)[^/]' \| \
6220 X"$file" : 'X\(//\)$' \| \
6221 X"$file" : 'X\(/\)' \| \
6222 . : '\(.\)' 2>/dev/null ||
6224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6226 /^X\(\/\/\)$/{ s//\1/; q; }
6227 /^X\(\/\).*/{ s//\1/; q; }
6229 { if $as_mkdir_p; then
6230 mkdir -p $dirpart/$fdir
6232 as_dir=$dirpart/$fdir
6234 while test ! -d "$as_dir"; do
6235 as_dirs="$as_dir $as_dirs"
6236 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6238 X"$as_dir" : 'X\(//\)[^/]' \| \
6239 X"$as_dir" : 'X\(//\)$' \| \
6240 X"$as_dir" : 'X\(/\)' \| \
6241 . : '\(.\)' 2>/dev/null ||
6243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6244 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6245 /^X\(\/\/\)$/{ s//\1/; q; }
6246 /^X\(\/\).*/{ s//\1/; q; }
6249 test ! -n "$as_dirs" || mkdir $as_dirs
6250 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6251 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6252 { (exit 1); exit 1; }; }; }
6254 # echo "creating $dirpart/$file"
6255 echo '# dummy' > "$dirpart/$file"
6263 cat >>$CONFIG_STATUS <<\_ACEOF
6265 { (exit 0); exit 0; }
6267 chmod +x $CONFIG_STATUS
6268 ac_clean_files=$ac_clean_files_save
6271 # configure is writing to config.log, and then calls config.status.
6272 # config.status does its own redirection, appending to config.log.
6273 # Unfortunately, on DOS this fails, as config.log is still kept open
6274 # by configure, so config.status won't be able to write to it; its
6275 # output is simply discarded. So we exec the FD to /dev/null,
6276 # effectively closing config.log, so it can be properly (re)opened and
6277 # appended to by config.status. When coming back to configure, we
6278 # need to make the FD available again.
6279 if test "$no_create" != yes; then
6281 ac_config_status_args=
6282 test "$silent" = yes &&
6283 ac_config_status_args="$ac_config_status_args --quiet"
6285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6288 # would make configure fail if this is the last instruction.
6289 $ac_cs_success || { (exit 1); exit 1; }
6293 # CONFIG_SUBDIRS section.
6295 if test "$no_recursion" != yes; then
6297 # Remove --cache-file and --srcdir arguments so they do not pile up.
6298 ac_sub_configure_args=
6300 for ac_arg in $ac_configure_args; do
6301 if test -n "$ac_prev"; then
6306 -cache-file | --cache-file | --cache-fil | --cache-fi \
6307 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6308 ac_prev=cache_file ;;
6309 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6310 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6313 --config-cache | -C)
6315 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6317 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6319 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6321 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6323 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6327 # Always prepend --prefix to ensure using the same prefix
6328 # in subdir configurations.
6329 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6332 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6334 # Do not complain, so a configure script can configure whichever
6335 # parts of a large source tree are present.
6336 test -d $srcdir/$ac_dir || continue
6338 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6339 echo "$as_me: configuring in $ac_dir" >&6;}
6340 { if $as_mkdir_p; then
6345 while test ! -d "$as_dir"; do
6346 as_dirs="$as_dir $as_dirs"
6347 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6349 X"$as_dir" : 'X\(//\)[^/]' \| \
6350 X"$as_dir" : 'X\(//\)$' \| \
6351 X"$as_dir" : 'X\(/\)' \| \
6352 . : '\(.\)' 2>/dev/null ||
6354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6356 /^X\(\/\/\)$/{ s//\1/; q; }
6357 /^X\(\/\).*/{ s//\1/; q; }
6360 test ! -n "$as_dirs" || mkdir $as_dirs
6361 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6362 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6363 { (exit 1); exit 1; }; }; }
6367 if test "$ac_dir" != .; then
6368 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6369 # A "../" for each directory in $ac_dir_suffix.
6370 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6372 ac_dir_suffix= ac_top_builddir=
6376 .) # No --srcdir option. We are building in place.
6378 if test -z "$ac_top_builddir"; then
6381 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6383 [\\/]* | ?:[\\/]* ) # Absolute path.
6384 ac_srcdir=$srcdir$ac_dir_suffix;
6385 ac_top_srcdir=$srcdir ;;
6387 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6388 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6391 # Do not use `cd foo && pwd` to compute absolute paths, because
6392 # the directories may not exist.
6394 .) ac_abs_builddir="$ac_dir";;
6397 .) ac_abs_builddir=`pwd`;;
6398 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6399 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6402 case $ac_abs_builddir in
6403 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6405 case ${ac_top_builddir}. in
6406 .) ac_abs_top_builddir=$ac_abs_builddir;;
6407 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6408 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6411 case $ac_abs_builddir in
6412 .) ac_abs_srcdir=$ac_srcdir;;
6415 .) ac_abs_srcdir=$ac_abs_builddir;;
6416 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6417 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6420 case $ac_abs_builddir in
6421 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6423 case $ac_top_srcdir in
6424 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6425 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6426 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6433 # Check for guested configure; otherwise get Cygnus style configure.
6434 if test -f $ac_srcdir/configure.gnu; then
6435 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6436 elif test -f $ac_srcdir/configure; then
6437 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6438 elif test -f $ac_srcdir/configure.in; then
6439 ac_sub_configure=$ac_configure
6441 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6442 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6446 # The recursion is here.
6447 if test -n "$ac_sub_configure"; then
6448 # Make the cache file name correct relative to the subdirectory.
6450 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6452 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6455 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6456 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6457 # The eval makes quoting arguments work.
6458 eval $ac_sub_configure $ac_sub_configure_args \
6459 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6460 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6461 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6462 { (exit 1); exit 1; }; }