2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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.
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 target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT LN_S LIBTOOL subdirs CRT0 HAVE_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 this package 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]
833 --target=TARGET configure for building compilers for TARGET [HOST]
837 if test -n "$ac_init_help"; then
842 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
843 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
844 --enable-multilib build many library versions (default)
845 --enable-target-optspace optimize for space
846 --enable-malloc-debugging indicate malloc debugging requested
847 --enable-newlib-multithread enable support for multiple threads
848 --enable-newlib-iconv enable iconv library support
849 --enable-newlib-elix-level supply desired elix library level (1-4)
850 --disable-newlib-io-float disable printf/scanf family float support
851 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
852 --disable-dependency-tracking speeds up one-time build
853 --enable-dependency-tracking do not reject slow dependency extractors
854 --enable-maintainer-mode enable make rules and dependencies not useful
855 (and sometimes confusing) to the casual installer
856 --enable-shared=PKGS build shared libraries default=yes
857 --enable-static=PKGS build static libraries default=yes
858 --enable-fast-install=PKGS optimize for fast installation default=yes
859 --disable-libtool-lock avoid locking (might break parallel builds)
862 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
863 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
864 --with-gnu-ld assume the C compiler uses GNU ld default=no
865 --with-pic try to use only PIC/non-PIC objects default=use both
867 Some influential environment variables:
868 CCAS assembler compiler command (defaults to CC)
869 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
870 CC C compiler command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
873 nonstandard directory <lib dir>
874 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
875 headers in a nonstandard directory <include dir>
877 Use these variables to override the choices made by `configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo && pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close' the trap.
1094 trap 'exit_status=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var in $ac_subst_vars
1130 eval ac_val=$`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var in $ac_subst_files
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h; then
1157 sed "/^$/d" confdefs.h | sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core *.core &&
1165 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's/^/| /' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1262 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1287 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 for ac_dir in ../../.. $srcdir/../../..; do
1318 if test -f $ac_dir/install-sh; then
1320 ac_install_sh="$ac_aux_dir/install-sh -c"
1322 elif test -f $ac_dir/install.sh; then
1324 ac_install_sh="$ac_aux_dir/install.sh -c"
1326 elif test -f $ac_dir/shtool; then
1328 ac_install_sh="$ac_aux_dir/shtool install -c"
1332 if test -z "$ac_aux_dir"; then
1333 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
1334 echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
1335 { (exit 1); exit 1; }; }
1337 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1338 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1339 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1342 # Make sure we can run config.sub.
1343 $ac_config_sub sun4 >/dev/null 2>&1 ||
1344 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1345 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1346 { (exit 1); exit 1; }; }
1348 echo "$as_me:$LINENO: checking build system type" >&5
1349 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1350 if test "${ac_cv_build+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 ac_cv_build_alias=$build_alias
1354 test -z "$ac_cv_build_alias" &&
1355 ac_cv_build_alias=`$ac_config_guess`
1356 test -z "$ac_cv_build_alias" &&
1357 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1358 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1359 { (exit 1); exit 1; }; }
1360 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1361 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1362 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1363 { (exit 1); exit 1; }; }
1366 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1367 echo "${ECHO_T}$ac_cv_build" >&6
1369 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1370 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1371 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1374 echo "$as_me:$LINENO: checking host system type" >&5
1375 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1376 if test "${ac_cv_host+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 ac_cv_host_alias=$host_alias
1380 test -z "$ac_cv_host_alias" &&
1381 ac_cv_host_alias=$ac_cv_build_alias
1382 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1385 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1389 echo "${ECHO_T}$ac_cv_host" >&6
1391 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1392 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1393 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1396 am__api_version="1.9"
1397 # Find a good install program. We prefer a C program (faster),
1398 # so one script is as good as another. But avoid the broken or
1399 # incompatible versions:
1400 # SysV /etc/install, /usr/sbin/install
1401 # SunOS /usr/etc/install
1402 # IRIX /sbin/install
1404 # AmigaOS /C/install, which installs bootblocks on floppy discs
1405 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1406 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1407 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1408 # OS/2's system install, which has a completely different semantic
1409 # ./install, which can be erroneously created by make from ./install.sh.
1410 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1411 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1412 if test -z "$INSTALL"; then
1413 if test "${ac_cv_path_install+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420 test -z "$as_dir" && as_dir=.
1421 # Account for people who put trailing slashes in PATH elements.
1423 ./ | .// | /cC/* | \
1424 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1425 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1428 # OSF1 and SCO ODT 3.0 have their own names for install.
1429 # Don't use installbsd from OSF since it installs stuff as root
1431 for ac_prog in ginstall scoinst install; do
1432 for ac_exec_ext in '' $ac_executable_extensions; do
1433 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1434 if test $ac_prog = install &&
1435 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1436 # AIX install. It has an incompatible calling convention.
1438 elif test $ac_prog = install &&
1439 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1440 # program-specific install script used by HP pwplus--don't use.
1443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1455 if test "${ac_cv_path_install+set}" = set; then
1456 INSTALL=$ac_cv_path_install
1458 # As a last resort, use the slow shell script. We don't cache a
1459 # path for INSTALL within a source directory, because that will
1460 # break other packages using the cache if that directory is
1461 # removed, or if the path is relative.
1462 INSTALL=$ac_install_sh
1465 echo "$as_me:$LINENO: result: $INSTALL" >&5
1466 echo "${ECHO_T}$INSTALL" >&6
1468 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1469 # It thinks the first close brace ends the variable substitution.
1470 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1472 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1474 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1476 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1477 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1480 echo timestamp > conftest.file
1481 # Do `set' in a subshell so we don't clobber the current shell's
1482 # arguments. Must try -L first in case configure is actually a
1483 # symlink; some systems play weird games with the mod time of symlinks
1484 # (eg FreeBSD returns the mod time of the symlink's containing
1487 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1488 if test "$*" = "X"; then
1490 set X `ls -t $srcdir/configure conftest.file`
1493 if test "$*" != "X $srcdir/configure conftest.file" \
1494 && test "$*" != "X conftest.file $srcdir/configure"; then
1496 # If neither matched, then we have a broken ls. This can happen
1497 # if, for instance, CONFIG_SHELL is bash and it inherits a
1498 # broken ls alias from the environment. This has actually
1499 # happened. Such a system could not be considered "sane".
1500 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1501 alias in your environment" >&5
1502 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1503 alias in your environment" >&2;}
1504 { (exit 1); exit 1; }; }
1507 test "$2" = conftest.file
1513 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1514 Check your system clock" >&5
1515 echo "$as_me: error: newly created file is older than distributed files!
1516 Check your system clock" >&2;}
1517 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: yes" >&5
1520 echo "${ECHO_T}yes" >&6
1521 test "$program_prefix" != NONE &&
1522 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1523 # Use a double $ so make ignores it.
1524 test "$program_suffix" != NONE &&
1525 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1526 # Double any \ or $. echo might interpret backslashes.
1527 # By default was `s,x,x', remove it if useless.
1528 cat <<\_ACEOF >conftest.sed
1529 s/[\\$]/&&/g;s/;s,x,x,$//
1531 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1534 # expand $ac_aux_dir to an absolute path
1535 am_aux_dir=`cd $ac_aux_dir && pwd`
1537 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1538 # Use eval to expand $SHELL
1539 if eval "$MISSING --run true"; then
1540 am_missing_run="$MISSING --run "
1543 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1544 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1547 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1548 # We used to keeping the `.' as first argument, in order to
1549 # allow $(mkdir_p) to be used without argument. As in
1550 # $(mkdir_p) $(somedir)
1551 # where $(somedir) is conditionally defined. However this is wrong
1553 # 1. if the package is installed by a user who cannot write `.'
1554 # make install will fail,
1555 # 2. the above comment should most certainly read
1556 # $(mkdir_p) $(DESTDIR)$(somedir)
1557 # so it does not work when $(somedir) is undefined and
1558 # $(DESTDIR) is not.
1559 # To support the latter case, we have to write
1560 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1561 # so the `.' trick is pointless.
1562 mkdir_p='mkdir -p --'
1564 # On NextStep and OpenStep, the `mkdir' command does not
1565 # recognize any option. It will interpret all options as
1566 # directories to create, and then abort because `.' already
1568 for d in ./-p ./--version;
1570 test -d $d && rmdir $d
1572 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1573 if test -f "$ac_aux_dir/mkinstalldirs"; then
1574 mkdir_p='$(mkinstalldirs)'
1576 mkdir_p='$(install_sh) -d'
1580 for ac_prog in gawk mawk nawk awk
1582 # Extract the first word of "$ac_prog", so it can be a program name with args.
1583 set dummy $ac_prog; ac_word=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_AWK+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$AWK"; then
1590 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir=.
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_AWK="$ac_prog"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1609 if test -n "$AWK"; then
1610 echo "$as_me:$LINENO: result: $AWK" >&5
1611 echo "${ECHO_T}$AWK" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1617 test -n "$AWK" && break
1620 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1621 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1622 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1623 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 cat >conftest.make <<\_ACEOF
1628 @echo 'ac_maketemp="$(MAKE)"'
1630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1631 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1632 if test -n "$ac_maketemp"; then
1633 eval ac_cv_prog_make_${ac_make}_set=yes
1635 eval ac_cv_prog_make_${ac_make}_set=no
1639 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1640 echo "$as_me:$LINENO: result: yes" >&5
1641 echo "${ECHO_T}yes" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1646 SET_MAKE="MAKE=${MAKE-make}"
1649 rm -rf .tst 2>/dev/null
1650 mkdir .tst 2>/dev/null
1651 if test -d .tst; then
1656 rmdir .tst 2>/dev/null
1658 DEPDIR="${am__leading_dot}deps"
1660 ac_config_commands="$ac_config_commands depfiles"
1663 am_make=${MAKE-make}
1664 cat > confinc << 'END'
1669 # If we don't find an include directive, just comment out the code.
1670 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1671 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1675 # First try GNU make style include.
1676 echo "include confinc" > confmf
1677 # We grep out `Entering directory' and `Leaving directory'
1678 # messages which can occur if `w' ends up in MAKEFLAGS.
1679 # In particular we don't look at `^make:' because GNU make might
1680 # be invoked under some other name (usually "gmake"), in which
1681 # case it prints its new name instead of `make'.
1682 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1687 # Now try BSD make style include.
1688 if test "$am__include" = "#"; then
1689 echo '.include "confinc"' > confmf
1690 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1691 am__include=.include
1698 echo "$as_me:$LINENO: result: $_am_result" >&5
1699 echo "${ECHO_T}$_am_result" >&6
1700 rm -f confinc confmf
1702 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1703 if test "${enable_dependency_tracking+set}" = set; then
1704 enableval="$enable_dependency_tracking"
1707 if test "x$enable_dependency_tracking" != xno; then
1708 am_depcomp="$ac_aux_dir/depcomp"
1713 if test "x$enable_dependency_tracking" != xno; then
1724 # Check whether --enable-multilib or --disable-multilib was given.
1725 if test "${enable_multilib+set}" = set; then
1726 enableval="$enable_multilib"
1727 case "${enableval}" in
1728 yes) multilib=yes ;;
1730 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1731 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1732 { (exit 1); exit 1; }; } ;;
1737 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1738 if test "${enable_target_optspace+set}" = set; then
1739 enableval="$enable_target_optspace"
1740 case "${enableval}" in
1741 yes) target_optspace=yes ;;
1742 no) target_optspace=no ;;
1743 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1744 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1745 { (exit 1); exit 1; }; } ;;
1750 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1751 if test "${enable_malloc_debugging+set}" = set; then
1752 enableval="$enable_malloc_debugging"
1753 case "${enableval}" in
1754 yes) malloc_debugging=yes ;;
1755 no) malloc_debugging=no ;;
1756 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1757 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1758 { (exit 1); exit 1; }; } ;;
1763 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1764 if test "${enable_newlib_multithread+set}" = set; then
1765 enableval="$enable_newlib_multithread"
1766 case "${enableval}" in
1767 yes) newlib_multithread=yes ;;
1768 no) newlib_multithread=no ;;
1769 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1770 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1771 { (exit 1); exit 1; }; } ;;
1774 newlib_multithread=yes
1776 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1777 if test "${enable_newlib_iconv+set}" = set; then
1778 enableval="$enable_newlib_iconv"
1779 if test "${newlib_iconv+set}" != set; then
1780 case "${enableval}" in
1781 yes) newlib_iconv=yes ;;
1782 no) newlib_iconv=no ;;
1783 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1784 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1785 { (exit 1); exit 1; }; } ;;
1789 newlib_iconv=${newlib_iconv}
1791 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1792 if test "${enable_newlib_elix_level+set}" = set; then
1793 enableval="$enable_newlib_elix_level"
1794 case "${enableval}" in
1795 0) newlib_elix_level=0 ;;
1796 1) newlib_elix_level=1 ;;
1797 2) newlib_elix_level=2 ;;
1798 3) newlib_elix_level=3 ;;
1799 4) newlib_elix_level=4 ;;
1800 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1801 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1802 { (exit 1); exit 1; }; } ;;
1807 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1808 if test "${enable_newlib_io_float+set}" = set; then
1809 enableval="$enable_newlib_io_float"
1810 case "${enableval}" in
1811 yes) newlib_io_float=yes ;;
1812 no) newlib_io_float=no ;;
1813 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1814 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1815 { (exit 1); exit 1; }; } ;;
1820 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1821 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1822 enableval="$enable_newlib_supplied_syscalls"
1823 case "${enableval}" in
1824 yes) newlib_may_supply_syscalls=yes ;;
1825 no) newlib_may_supply_syscalls=no ;;
1826 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1827 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1828 { (exit 1); exit 1; }; } ;;
1831 newlib_may_supply_syscalls=yes
1835 if test x${newlib_may_supply_syscalls} = xyes; then
1836 MAY_SUPPLY_SYSCALLS_TRUE=
1837 MAY_SUPPLY_SYSCALLS_FALSE='#'
1839 MAY_SUPPLY_SYSCALLS_TRUE='#'
1840 MAY_SUPPLY_SYSCALLS_FALSE=
1845 test -z "${with_target_subdir}" && with_target_subdir=.
1847 if test "${srcdir}" = "."; then
1848 if test "${with_target_subdir}" != "."; then
1849 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1851 newlib_basedir="${srcdir}/${with_multisrctop}../.."
1854 newlib_basedir="${srcdir}/../.."
1858 echo "$as_me:$LINENO: checking target system type" >&5
1859 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1860 if test "${ac_cv_target+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 ac_cv_target_alias=$target_alias
1864 test "x$ac_cv_target_alias" = "x" &&
1865 ac_cv_target_alias=$ac_cv_host_alias
1866 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1867 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1868 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1869 { (exit 1); exit 1; }; }
1872 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1873 echo "${ECHO_T}$ac_cv_target" >&6
1874 target=$ac_cv_target
1875 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1876 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1877 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1880 # The aliases save the names the user supplied, while $host etc.
1881 # will get canonicalized.
1882 test -n "$target_alias" &&
1883 test "$program_prefix$program_suffix$program_transform_name" = \
1885 program_prefix=${target_alias}-
1887 # test to see if srcdir already configured
1888 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1889 test -f $srcdir/config.status; then
1890 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1891 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1892 { (exit 1); exit 1; }; }
1895 # test whether we have cygpath
1896 if test -z "$CYGPATH_W"; then
1897 if (cygpath --version) >/dev/null 2>/dev/null; then
1898 CYGPATH_W='cygpath -w'
1905 # Define the identity of the package.
1910 # Some tools Automake needs.
1912 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1915 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1918 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1921 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1924 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1926 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1928 # Installed binaries are usually stripped using `strip' when the user
1929 # run `make install-strip'. However `strip' might not be the right
1930 # tool to use in cross-compilation environments, therefore Automake
1931 # will honor the `STRIP' environment variable to overrule this program.
1932 if test "$cross_compiling" != no; then
1933 if test -n "$ac_tool_prefix"; then
1934 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1935 set dummy ${ac_tool_prefix}strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_STRIP+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$STRIP"; then
1942 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 STRIP=$ac_cv_prog_STRIP
1961 if test -n "$STRIP"; then
1962 echo "$as_me:$LINENO: result: $STRIP" >&5
1963 echo "${ECHO_T}$STRIP" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1970 if test -z "$ac_cv_prog_STRIP"; then
1972 # Extract the first word of "strip", so it can be a program name with args.
1973 set dummy strip; ac_word=$2
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 if test -n "$ac_ct_STRIP"; then
1980 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 ac_cv_prog_ac_ct_STRIP="strip"
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1999 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2000 if test -n "$ac_ct_STRIP"; then
2001 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2002 echo "${ECHO_T}$ac_ct_STRIP" >&6
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2010 STRIP="$ac_cv_prog_STRIP"
2014 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2016 # We need awk for the "check" target. The system "awk" is bad on
2018 # Always define AMTAR for backward compatibility.
2020 AMTAR=${AMTAR-"${am_missing_run}tar"}
2022 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2029 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2030 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2031 # are probably using a cross compiler, which will not be able to fully
2032 # link an executable. This should really be fixed in autoconf
2041 # Extract the first word of "gcc", so it can be a program name with args.
2042 set dummy gcc; ac_word=$2
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045 if test "${ac_cv_prog_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$CC"; then
2049 ac_cv_prog_CC="$CC" # Let the user override the test.
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 if test -n "$CC"; then
2069 echo "$as_me:$LINENO: result: $CC" >&5
2070 echo "${ECHO_T}$CC" >&6
2072 echo "$as_me:$LINENO: result: no" >&5
2073 echo "${ECHO_T}no" >&6
2077 depcc="$CC" am_compiler_list=
2079 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2080 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2081 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2085 # We make a subdir and do the tests there. Otherwise we can end up
2086 # making bogus files that we don't know about and never remove. For
2087 # instance it was reported that on HP-UX the gcc test will end up
2088 # making a dummy file named `D' -- because `-MD' means `put the output
2091 # Copy depcomp to subdir because otherwise we won't find it if we're
2092 # using a relative directory.
2093 cp "$am_depcomp" conftest.dir
2095 # We will build objects and dependencies in a subdirectory because
2096 # it helps to detect inapplicable dependency modes. For instance
2097 # both Tru64's cc and ICC support -MD to output dependencies as a
2098 # side effect of compilation, but ICC will put the dependencies in
2099 # the current directory while Tru64 will put them in the object
2103 am_cv_CC_dependencies_compiler_type=none
2104 if test "$am_compiler_list" = ""; then
2105 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2107 for depmode in $am_compiler_list; do
2108 # Setup a source with many dependencies, because some compilers
2109 # like to wrap large dependency lists on column 80 (with \), and
2110 # we should not choose a depcomp mode which is confused by this.
2112 # We need to recreate these files for each test, as the compiler may
2113 # overwrite some of them when testing with obscure command lines.
2114 # This happens at least with the AIX C compiler.
2116 for i in 1 2 3 4 5 6; do
2117 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2118 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2119 # Solaris 8's {/usr,}/bin/sh.
2120 touch sub/conftst$i.h
2122 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2126 # after this tag, mechanisms are not by side-effect, so they'll
2127 # only be used when explicitly requested
2128 if test "x$enable_dependency_tracking" = xyes; then
2136 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2137 # mode. It turns out that the SunPro C++ compiler does not properly
2138 # handle `-M -o', and we need to detect this.
2139 if depmode=$depmode \
2140 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2141 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2142 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2143 >/dev/null 2>conftest.err &&
2144 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2145 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2146 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2147 # icc doesn't choke on unknown options, it will just issue warnings
2148 # or remarks (even with -Werror). So we grep stderr for any message
2149 # that says an option was ignored or not supported.
2150 # When given -MP, icc 7.0 and 7.1 complain thusly:
2151 # icc: Command line warning: ignoring option '-M'; no argument required
2152 # The diagnosis changed in icc 8.0:
2153 # icc: Command line remark: option '-MP' not supported
2154 if (grep 'ignoring option' conftest.err ||
2155 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2156 am_cv_CC_dependencies_compiler_type=$depmode
2165 am_cv_CC_dependencies_compiler_type=none
2169 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2170 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2171 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2176 test "x$enable_dependency_tracking" != xno \
2177 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2179 am__fastdepCC_FALSE='#'
2181 am__fastdepCC_TRUE='#'
2182 am__fastdepCC_FALSE=
2186 if test -z "$CC"; then
2187 # Extract the first word of "cc", so it can be a program name with args.
2188 set dummy cc; ac_word=$2
2189 echo "$as_me:$LINENO: checking for $ac_word" >&5
2190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2191 if test "${ac_cv_prog_CC+set}" = set; then
2192 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 if test -n "$CC"; then
2195 ac_cv_prog_CC="$CC" # Let the user override the test.
2198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir=.
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2205 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2206 ac_prog_rejected=yes
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2216 if test $ac_prog_rejected = yes; then
2217 # We found a bogon in the path, so make sure we never use it.
2218 set dummy $ac_cv_prog_CC
2220 if test $# != 0; then
2221 # We chose a different compiler from the bogus one.
2222 # However, it has the same basename, so the bogon will be chosen
2223 # first if we set CC to just the basename; use the full file name.
2225 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2231 if test -n "$CC"; then
2232 echo "$as_me:$LINENO: result: $CC" >&5
2233 echo "${ECHO_T}$CC" >&6
2235 echo "$as_me:$LINENO: result: no" >&5
2236 echo "${ECHO_T}no" >&6
2239 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2240 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2241 { (exit 1); exit 1; }; }
2244 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2245 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2246 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 cat > conftest.c <<EOF
2254 if { ac_try='${CC-cc} -E conftest.c'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2260 ac_cv_c_compiler_gnu=yes
2262 ac_cv_c_compiler_gnu=no
2265 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2266 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2268 if test $ac_cv_c_compiler_gnu = yes; then
2270 ac_test_CFLAGS="${CFLAGS+set}"
2271 ac_save_CFLAGS="$CFLAGS"
2273 ac_test_CFLAGS=${CFLAGS+set}
2274 ac_save_CFLAGS=$CFLAGS
2276 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2277 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2278 if test "${ac_cv_prog_cc_g+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.$ac_ext <<_ACEOF
2284 cat confdefs.h >>conftest.$ac_ext
2285 cat >>conftest.$ac_ext <<_ACEOF
2286 /* end confdefs.h. */
2296 rm -f conftest.$ac_objext
2297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2298 (eval $ac_compile) 2>conftest.er1
2300 grep -v '^ *+' conftest.er1 >conftest.err
2302 cat conftest.err >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); } &&
2305 { ac_try='test -z "$ac_c_werror_flag"
2306 || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2320 echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2327 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2328 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2329 if test "$ac_test_CFLAGS" = set; then
2330 CFLAGS=$ac_save_CFLAGS
2331 elif test $ac_cv_prog_cc_g = yes; then
2332 if test "$GCC" = yes; then
2338 if test "$GCC" = yes; then
2344 if test "$ac_test_CFLAGS" = set; then
2345 CFLAGS="$ac_save_CFLAGS"
2346 elif test $ac_cv_prog_cc_g = yes; then
2353 test "${CFLAGS+set}" = set || CFLAGS="-g"
2357 if test -n "$ac_tool_prefix"; then
2358 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2359 set dummy ${ac_tool_prefix}as; ac_word=$2
2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2362 if test "${ac_cv_prog_AS+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$AS"; then
2366 ac_cv_prog_AS="$AS" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2375 ac_cv_prog_AS="${ac_tool_prefix}as"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 if test -n "$AS"; then
2386 echo "$as_me:$LINENO: result: $AS" >&5
2387 echo "${ECHO_T}$AS" >&6
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2394 if test -z "$ac_cv_prog_AS"; then
2396 # Extract the first word of "as", so it can be a program name with args.
2397 set dummy as; ac_word=$2
2398 echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 if test -n "$ac_ct_AS"; then
2404 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2413 ac_cv_prog_ac_ct_AS="as"
2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2423 if test -n "$ac_ct_AS"; then
2424 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2425 echo "${ECHO_T}$ac_ct_AS" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2436 if test -n "$ac_tool_prefix"; then
2437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2438 set dummy ${ac_tool_prefix}ar; ac_word=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_AR+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test -n "$AR"; then
2445 ac_cv_prog_AR="$AR" # Let the user override the test.
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_AR="${ac_tool_prefix}ar"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 if test -n "$AR"; then
2465 echo "$as_me:$LINENO: result: $AR" >&5
2466 echo "${ECHO_T}$AR" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2473 if test -z "$ac_cv_prog_AR"; then
2475 # Extract the first word of "ar", so it can be a program name with args.
2476 set dummy ar; ac_word=$2
2477 echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2479 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$ac_ct_AR"; then
2483 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2492 ac_cv_prog_ac_ct_AR="ar"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2502 if test -n "$ac_ct_AR"; then
2503 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2504 echo "${ECHO_T}$ac_ct_AR" >&6
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2515 if test -n "$ac_tool_prefix"; then
2516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2517 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2518 echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2520 if test "${ac_cv_prog_RANLIB+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test -n "$RANLIB"; then
2524 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2533 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 RANLIB=$ac_cv_prog_RANLIB
2543 if test -n "$RANLIB"; then
2544 echo "$as_me:$LINENO: result: $RANLIB" >&5
2545 echo "${ECHO_T}$RANLIB" >&6
2547 echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6
2552 if test -z "$ac_cv_prog_RANLIB"; then
2553 ac_ct_RANLIB=$RANLIB
2554 # Extract the first word of "ranlib", so it can be a program name with args.
2555 set dummy ranlib; ac_word=$2
2556 echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2558 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 if test -n "$ac_ct_RANLIB"; then
2562 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_ac_ct_RANLIB="ranlib"
2572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2581 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2582 if test -n "$ac_ct_RANLIB"; then
2583 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2584 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2586 echo "$as_me:$LINENO: result: no" >&5
2587 echo "${ECHO_T}no" >&6
2590 RANLIB=$ac_ct_RANLIB
2592 RANLIB="$ac_cv_prog_RANLIB"
2596 # Find a good install program. We prefer a C program (faster),
2597 # so one script is as good as another. But avoid the broken or
2598 # incompatible versions:
2599 # SysV /etc/install, /usr/sbin/install
2600 # SunOS /usr/etc/install
2601 # IRIX /sbin/install
2603 # AmigaOS /C/install, which installs bootblocks on floppy discs
2604 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2605 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2606 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2607 # OS/2's system install, which has a completely different semantic
2608 # ./install, which can be erroneously created by make from ./install.sh.
2609 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2610 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2611 if test -z "$INSTALL"; then
2612 if test "${ac_cv_path_install+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir=.
2620 # Account for people who put trailing slashes in PATH elements.
2622 ./ | .// | /cC/* | \
2623 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2624 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2627 # OSF1 and SCO ODT 3.0 have their own names for install.
2628 # Don't use installbsd from OSF since it installs stuff as root
2630 for ac_prog in ginstall scoinst install; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2633 if test $ac_prog = install &&
2634 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2635 # AIX install. It has an incompatible calling convention.
2637 elif test $ac_prog = install &&
2638 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2639 # program-specific install script used by HP pwplus--don't use.
2642 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2654 if test "${ac_cv_path_install+set}" = set; then
2655 INSTALL=$ac_cv_path_install
2657 # As a last resort, use the slow shell script. We don't cache a
2658 # path for INSTALL within a source directory, because that will
2659 # break other packages using the cache if that directory is
2660 # removed, or if the path is relative.
2661 INSTALL=$ac_install_sh
2664 echo "$as_me:$LINENO: result: $INSTALL" >&5
2665 echo "${ECHO_T}$INSTALL" >&6
2667 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2668 # It thinks the first close brace ends the variable substitution.
2669 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2671 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2673 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2676 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2677 ac_given_INSTALL=$INSTALL
2679 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2680 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2681 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2682 if test "${enable_maintainer_mode+set}" = set; then
2683 enableval="$enable_maintainer_mode"
2684 USE_MAINTAINER_MODE=$enableval
2686 USE_MAINTAINER_MODE=no
2688 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2689 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2692 if test $USE_MAINTAINER_MODE = yes; then
2693 MAINTAINER_MODE_TRUE=
2694 MAINTAINER_MODE_FALSE='#'
2696 MAINTAINER_MODE_TRUE='#'
2697 MAINTAINER_MODE_FALSE=
2700 MAINT=$MAINTAINER_MODE_TRUE
2703 # By default we simply use the C compiler to build assembly code.
2705 test "${CCAS+set}" = set || CCAS=$CC
2706 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2711 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2712 # at least currently, we never actually build a program, so we never
2713 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2714 # fails, because we are probably configuring with a cross compiler
2715 # which can't create executables. So we include AC_EXEEXT to keep
2716 # automake happy, but we don't execute it, since we don't care about
2723 . ${newlib_basedir}/configure.host
2725 newlib_cflags="${newlib_cflags} -fno-builtin"
2727 NEWLIB_CFLAGS=${newlib_cflags}
2735 if test x${newlib_elix_level} = x0; then
2737 ELIX_LEVEL_0_FALSE='#'
2739 ELIX_LEVEL_0_TRUE='#'
2745 if test x${newlib_elix_level} = x1; then
2747 ELIX_LEVEL_1_FALSE='#'
2749 ELIX_LEVEL_1_TRUE='#'
2755 if test x${newlib_elix_level} = x2; then
2757 ELIX_LEVEL_2_FALSE='#'
2759 ELIX_LEVEL_2_TRUE='#'
2765 if test x${newlib_elix_level} = x3; then
2767 ELIX_LEVEL_3_FALSE='#'
2769 ELIX_LEVEL_3_TRUE='#'
2775 if test x${newlib_elix_level} = x4; then
2777 ELIX_LEVEL_4_FALSE='#'
2779 ELIX_LEVEL_4_TRUE='#'
2786 if test x${use_libtool} = xyes; then
2788 USE_LIBTOOL_FALSE='#'
2790 USE_LIBTOOL_TRUE='#'
2795 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2796 # use oext, which is set in configure.host based on the target platform.
2809 if test "${use_libtool}" = "yes"; then
2811 # Check whether --enable-shared or --disable-shared was given.
2812 if test "${enable_shared+set}" = set; then
2813 enableval="$enable_shared"
2814 p=${PACKAGE-default}
2816 yes) enable_shared=yes ;;
2817 no) enable_shared=no ;;
2820 # Look at the argument we got. We use all the common list separators.
2821 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2822 for pkg in $enableval; do
2823 if test "X$pkg" = "X$p"; then
2833 # Check whether --enable-static or --disable-static was given.
2834 if test "${enable_static+set}" = set; then
2835 enableval="$enable_static"
2836 p=${PACKAGE-default}
2838 yes) enable_static=yes ;;
2839 no) enable_static=no ;;
2842 # Look at the argument we got. We use all the common list separators.
2843 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2844 for pkg in $enableval; do
2845 if test "X$pkg" = "X$p"; then
2855 # Check whether --enable-fast-install or --disable-fast-install was given.
2856 if test "${enable_fast_install+set}" = set; then
2857 enableval="$enable_fast_install"
2858 p=${PACKAGE-default}
2860 yes) enable_fast_install=yes ;;
2861 no) enable_fast_install=no ;;
2863 enable_fast_install=no
2864 # Look at the argument we got. We use all the common list separators.
2865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2866 for pkg in $enableval; do
2867 if test "X$pkg" = "X$p"; then
2868 enable_fast_install=yes
2875 enable_fast_install=yes
2878 ac_cpp='$CPP $CPPFLAGS'
2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2882 if test -n "$ac_tool_prefix"; then
2883 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2884 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2885 echo "$as_me:$LINENO: checking for $ac_word" >&5
2886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2887 if test "${ac_cv_prog_CC+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC="$CC" # Let the user override the test.
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 if test -n "$CC"; then
2911 echo "$as_me:$LINENO: result: $CC" >&5
2912 echo "${ECHO_T}$CC" >&6
2914 echo "$as_me:$LINENO: result: no" >&5
2915 echo "${ECHO_T}no" >&6
2919 if test -z "$ac_cv_prog_CC"; then
2921 # Extract the first word of "gcc", so it can be a program name with args.
2922 set dummy gcc; ac_word=$2
2923 echo "$as_me:$LINENO: checking for $ac_word" >&5
2924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2925 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 if test -n "$ac_ct_CC"; then
2929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938 ac_cv_prog_ac_ct_CC="gcc"
2939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2948 if test -n "$ac_ct_CC"; then
2949 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2950 echo "${ECHO_T}$ac_ct_CC" >&6
2952 echo "$as_me:$LINENO: result: no" >&5
2953 echo "${ECHO_T}no" >&6
2961 if test -z "$CC"; then
2962 if test -n "$ac_tool_prefix"; then
2963 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2964 set dummy ${ac_tool_prefix}cc; ac_word=$2
2965 echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2967 if test "${ac_cv_prog_CC+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -n "$CC"; then
2971 ac_cv_prog_CC="$CC" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_prog_CC="${ac_tool_prefix}cc"
2981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 if test -n "$CC"; then
2991 echo "$as_me:$LINENO: result: $CC" >&5
2992 echo "${ECHO_T}$CC" >&6
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2999 if test -z "$ac_cv_prog_CC"; then
3001 # Extract the first word of "cc", so it can be a program name with args.
3002 set dummy cc; ac_word=$2
3003 echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 if test -n "$ac_ct_CC"; then
3009 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_ac_ct_CC="cc"
3019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3030 echo "${ECHO_T}$ac_ct_CC" >&6
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3042 if test -z "$CC"; then
3043 # Extract the first word of "cc", so it can be a program name with args.
3044 set dummy cc; ac_word=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_prog_CC+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 if test -n "$CC"; then
3051 ac_cv_prog_CC="$CC" # Let the user override the test.
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3062 ac_prog_rejected=yes
3066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test $ac_prog_rejected = yes; then
3073 # We found a bogon in the path, so make sure we never use it.
3074 set dummy $ac_cv_prog_CC
3076 if test $# != 0; then
3077 # We chose a different compiler from the bogus one.
3078 # However, it has the same basename, so the bogon will be chosen
3079 # first if we set CC to just the basename; use the full file name.
3081 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3087 if test -n "$CC"; then
3088 echo "$as_me:$LINENO: result: $CC" >&5
3089 echo "${ECHO_T}$CC" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3096 if test -z "$CC"; then
3097 if test -n "$ac_tool_prefix"; then
3100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3102 echo "$as_me:$LINENO: checking for $ac_word" >&5
3103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3104 if test "${ac_cv_prog_CC+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 if test -n "$CC"; then
3108 ac_cv_prog_CC="$CC" # Let the user override the test.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 if test -n "$CC"; then
3128 echo "$as_me:$LINENO: result: $CC" >&5
3129 echo "${ECHO_T}$CC" >&6
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3135 test -n "$CC" && break
3138 if test -z "$CC"; then
3142 # Extract the first word of "$ac_prog", so it can be a program name with args.
3143 set dummy $ac_prog; ac_word=$2
3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -n "$ac_ct_CC"; then
3150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir=.
3157 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159 ac_cv_prog_ac_ct_CC="$ac_prog"
3160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3169 if test -n "$ac_ct_CC"; then
3170 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3171 echo "${ECHO_T}$ac_ct_CC" >&6
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3177 test -n "$ac_ct_CC" && break
3186 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3187 See \`config.log' for more details." >&5
3188 echo "$as_me: error: no acceptable C compiler found in \$PATH
3189 See \`config.log' for more details." >&2;}
3190 { (exit 1); exit 1; }; }
3192 # Provide some information about the compiler.
3193 echo "$as_me:$LINENO:" \
3194 "checking for C compiler version" >&5
3195 ac_compiler=`set X $ac_compile; echo $2`
3196 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3197 (eval $ac_compiler --version </dev/null >&5) 2>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); }
3201 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3202 (eval $ac_compiler -v </dev/null >&5) 2>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }
3206 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3207 (eval $ac_compiler -V </dev/null >&5) 2>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3227 ac_clean_files_save=$ac_clean_files
3228 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3229 # Try to create an executable without -o first, disregard a.out.
3230 # It will help us diagnose broken compilers, and finding out an intuition
3232 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3233 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3234 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3235 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3236 (eval $ac_link_default) 2>&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; then
3240 # Find the output, starting from the most likely. This scheme is
3241 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3244 # Be careful to initialize this variable, since it used to be cached.
3245 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3247 # b.out is created by i960 compilers.
3248 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3250 test -f "$ac_file" || continue
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3255 # This is the source file.
3258 # We found the default executable, but exeext='' is most
3262 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3263 # FIXME: I believe we export ac_cv_exeext for Libtool,
3264 # but it would be cool to find out if it's true. Does anybody
3265 # maintain Libtool? --akim.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3276 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3277 See \`config.log' for more details." >&5
3278 echo "$as_me: error: C compiler cannot create executables
3279 See \`config.log' for more details." >&2;}
3280 { (exit 77); exit 77; }; }
3283 ac_exeext=$ac_cv_exeext
3284 echo "$as_me:$LINENO: result: $ac_file" >&5
3285 echo "${ECHO_T}$ac_file" >&6
3287 # Check the compiler produces executables we can run. If not, either
3288 # the compiler is broken, or we cross compile.
3289 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3290 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3291 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3292 # If not cross compiling, check that we can run a simple program.
3293 if test "$cross_compiling" != yes; then
3294 if { ac_try='./$ac_file'
3295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; }; then
3302 if test "$cross_compiling" = maybe; then
3305 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3306 If you meant to cross compile, use \`--host'.
3307 See \`config.log' for more details." >&5
3308 echo "$as_me: error: cannot run C compiled programs.
3309 If you meant to cross compile, use \`--host'.
3310 See \`config.log' for more details." >&2;}
3311 { (exit 1); exit 1; }; }
3315 echo "$as_me:$LINENO: result: yes" >&5
3316 echo "${ECHO_T}yes" >&6
3318 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3319 ac_clean_files=$ac_clean_files_save
3320 # Check the compiler produces executables we can run. If not, either
3321 # the compiler is broken, or we cross compile.
3322 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3323 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3324 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3325 echo "${ECHO_T}$cross_compiling" >&6
3327 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3328 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3330 (eval $ac_link) 2>&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; then
3334 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3335 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3336 # work properly (i.e., refer to `conftest.exe'), while it won't with
3338 for ac_file in conftest.exe conftest conftest.*; do
3339 test -f "$ac_file" || continue
3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3342 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3349 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3350 See \`config.log' for more details." >&5
3351 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3352 See \`config.log' for more details." >&2;}
3353 { (exit 1); exit 1; }; }
3356 rm -f conftest$ac_cv_exeext
3357 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3358 echo "${ECHO_T}$ac_cv_exeext" >&6
3360 rm -f conftest.$ac_ext
3361 EXEEXT=$ac_cv_exeext
3363 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3364 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3365 if test "${ac_cv_objext+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3383 rm -f conftest.o conftest.obj
3384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3385 (eval $ac_compile) 2>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }; then
3389 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3401 See \`config.log' for more details." >&5
3402 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3403 See \`config.log' for more details." >&2;}
3404 { (exit 1); exit 1; }; }
3407 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3409 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3410 echo "${ECHO_T}$ac_cv_objext" >&6
3411 OBJEXT=$ac_cv_objext
3413 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3414 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3415 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3436 rm -f conftest.$ac_objext
3437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3438 (eval $ac_compile) 2>conftest.er1
3440 grep -v '^ *+' conftest.er1 >conftest.err
3442 cat conftest.err >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } &&
3445 { ac_try='test -z "$ac_c_werror_flag"
3446 || test ! -s conftest.err'
3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); }; } &&
3452 { ac_try='test -s conftest.$ac_objext'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; }; then
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3469 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3470 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3471 GCC=`test $ac_compiler_gnu = yes && echo yes`
3472 ac_test_CFLAGS=${CFLAGS+set}
3473 ac_save_CFLAGS=$CFLAGS
3475 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3476 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3477 if test "${ac_cv_prog_cc_g+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 cat >conftest.$ac_ext <<_ACEOF
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3495 rm -f conftest.$ac_objext
3496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3497 (eval $ac_compile) 2>conftest.er1
3499 grep -v '^ *+' conftest.er1 >conftest.err
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } &&
3504 { ac_try='test -z "$ac_c_werror_flag"
3505 || test ! -s conftest.err'
3506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); }; } &&
3511 { ac_try='test -s conftest.$ac_objext'
3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; }; then
3519 echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.$ac_ext >&5
3524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3526 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3527 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3528 if test "$ac_test_CFLAGS" = set; then
3529 CFLAGS=$ac_save_CFLAGS
3530 elif test $ac_cv_prog_cc_g = yes; then
3531 if test "$GCC" = yes; then
3537 if test "$GCC" = yes; then
3543 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3544 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3545 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 ac_cv_prog_cc_stdc=no
3550 cat >conftest.$ac_ext <<_ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3558 #include <sys/types.h>
3559 #include <sys/stat.h>
3560 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3561 struct buf { int x; };
3562 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3563 static char *e (p, i)
3569 static char *f (char * (*g) (char **, int), char **p, ...)
3574 s = g (p, va_arg (v,int));
3579 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3580 function prototypes and stuff, but not '\xHH' hex character constants.
3581 These don't provoke an error unfortunately, instead are silently treated
3582 as 'x'. The following induces an error, until -std1 is added to get
3583 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3584 array size at least. It's necessary to write '\x00'==0 to get something
3585 that's true only with -std1. */
3586 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3588 int test (int i, double x);
3589 struct s1 {int (*f) (int a);};
3590 struct s2 {int (*f) (double a);};
3591 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3597 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3602 # Don't try gcc -ansi; that turns off useful extensions and
3603 # breaks some systems' header files.
3604 # AIX -qlanglvl=ansi
3605 # Ultrix and OSF/1 -std1
3606 # HP-UX 10.20 and later -Ae
3607 # HP-UX older versions -Aa -D_HPUX_SOURCE
3608 # SVR4 -Xc -D__EXTENSIONS__
3609 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3611 CC="$ac_save_CC $ac_arg"
3612 rm -f conftest.$ac_objext
3613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3614 (eval $ac_compile) 2>conftest.er1
3616 grep -v '^ *+' conftest.er1 >conftest.err
3618 cat conftest.err >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } &&
3621 { ac_try='test -z "$ac_c_werror_flag"
3622 || test ! -s conftest.err'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; } &&
3628 { ac_try='test -s conftest.$ac_objext'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; }; then
3634 ac_cv_prog_cc_stdc=$ac_arg
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.$ac_ext >&5
3641 rm -f conftest.err conftest.$ac_objext
3643 rm -f conftest.$ac_ext conftest.$ac_objext
3648 case "x$ac_cv_prog_cc_stdc" in
3650 echo "$as_me:$LINENO: result: none needed" >&5
3651 echo "${ECHO_T}none needed" >&6 ;;
3653 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3654 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3655 CC="$CC $ac_cv_prog_cc_stdc" ;;
3658 # Some people use a C++ compiler to compile C. Since we use `exit',
3659 # in C++ we need to declare it. In case someone uses the same compiler
3660 # for both compiling C and C++ we need to have the C++ compiler decide
3661 # the declaration of exit, since it's the most demanding environment.
3662 cat >conftest.$ac_ext <<_ACEOF
3667 rm -f conftest.$ac_objext
3668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3669 (eval $ac_compile) 2>conftest.er1
3671 grep -v '^ *+' conftest.er1 >conftest.err
3673 cat conftest.err >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } &&
3676 { ac_try='test -z "$ac_c_werror_flag"
3677 || test ! -s conftest.err'
3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; } &&
3683 { ac_try='test -s conftest.$ac_objext'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; }; then
3689 for ac_declaration in \
3691 'extern "C" void std::exit (int) throw (); using std::exit;' \
3692 'extern "C" void std::exit (int); using std::exit;' \
3693 'extern "C" void exit (int) throw ();' \
3694 'extern "C" void exit (int);' \
3697 cat >conftest.$ac_ext <<_ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3717 grep -v '^ *+' conftest.er1 >conftest.err
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_c_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3762 grep -v '^ *+' conftest.er1 >conftest.err
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_c_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3789 if test -n "$ac_declaration"; then
3790 echo '#ifdef __cplusplus' >>confdefs.h
3791 echo $ac_declaration >>confdefs.h
3792 echo '#endif' >>confdefs.h
3796 echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.$ac_ext >&5
3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 depcc="$CC" am_compiler_list=
3809 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3810 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3811 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3815 # We make a subdir and do the tests there. Otherwise we can end up
3816 # making bogus files that we don't know about and never remove. For
3817 # instance it was reported that on HP-UX the gcc test will end up
3818 # making a dummy file named `D' -- because `-MD' means `put the output
3821 # Copy depcomp to subdir because otherwise we won't find it if we're
3822 # using a relative directory.
3823 cp "$am_depcomp" conftest.dir
3825 # We will build objects and dependencies in a subdirectory because
3826 # it helps to detect inapplicable dependency modes. For instance
3827 # both Tru64's cc and ICC support -MD to output dependencies as a
3828 # side effect of compilation, but ICC will put the dependencies in
3829 # the current directory while Tru64 will put them in the object
3833 am_cv_CC_dependencies_compiler_type=none
3834 if test "$am_compiler_list" = ""; then
3835 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3837 for depmode in $am_compiler_list; do
3838 # Setup a source with many dependencies, because some compilers
3839 # like to wrap large dependency lists on column 80 (with \), and
3840 # we should not choose a depcomp mode which is confused by this.
3842 # We need to recreate these files for each test, as the compiler may
3843 # overwrite some of them when testing with obscure command lines.
3844 # This happens at least with the AIX C compiler.
3846 for i in 1 2 3 4 5 6; do
3847 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3848 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3849 # Solaris 8's {/usr,}/bin/sh.
3850 touch sub/conftst$i.h
3852 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3856 # after this tag, mechanisms are not by side-effect, so they'll
3857 # only be used when explicitly requested
3858 if test "x$enable_dependency_tracking" = xyes; then
3866 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3867 # mode. It turns out that the SunPro C++ compiler does not properly
3868 # handle `-M -o', and we need to detect this.
3869 if depmode=$depmode \
3870 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3871 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3872 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3873 >/dev/null 2>conftest.err &&
3874 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3875 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3876 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3877 # icc doesn't choke on unknown options, it will just issue warnings
3878 # or remarks (even with -Werror). So we grep stderr for any message
3879 # that says an option was ignored or not supported.
3880 # When given -MP, icc 7.0 and 7.1 complain thusly:
3881 # icc: Command line warning: ignoring option '-M'; no argument required
3882 # The diagnosis changed in icc 8.0:
3883 # icc: Command line remark: option '-MP' not supported
3884 if (grep 'ignoring option' conftest.err ||
3885 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3886 am_cv_CC_dependencies_compiler_type=$depmode
3895 am_cv_CC_dependencies_compiler_type=none
3899 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3900 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3901 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3906 test "x$enable_dependency_tracking" != xno \
3907 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3909 am__fastdepCC_FALSE='#'
3911 am__fastdepCC_TRUE='#'
3912 am__fastdepCC_FALSE=
3917 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3918 if test "${with_gnu_ld+set}" = set; then
3919 withval="$with_gnu_ld"
3920 test "$withval" = no || with_gnu_ld=yes
3925 if test "$GCC" = yes; then
3926 # Check if gcc -print-prog-name=ld gives a path.
3927 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3928 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3931 # gcc leaves a trailing carriage return which upsets mingw
3932 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3934 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3937 # Accept absolute paths.
3938 [\\/]* | [A-Za-z]:[\\/]*)
3939 re_direlt='/[^/][^/]*/\.\./'
3940 # Canonicalize the path of ld
3941 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3942 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3943 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3945 test -z "$LD" && LD="$ac_prog"
3948 # If it fails, then pretend we aren't using GCC.
3952 # If it is relative, then search for the first ld in PATH.
3956 elif test "$with_gnu_ld" = yes; then
3957 echo "$as_me:$LINENO: checking for GNU ld" >&5
3958 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3960 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3961 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3963 if test "${lt_cv_path_LD+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if test -z "$LD"; then
3967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3968 for ac_dir in $PATH; do
3969 test -z "$ac_dir" && ac_dir=.
3970 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3971 lt_cv_path_LD="$ac_dir/$ac_prog"
3972 # Check to see if the program is GNU ld. I'd rather use --version,
3973 # but apparently some GNU ld's only accept -v.
3974 # Break only if it was the GNU/non-GNU ld that we prefer.
3975 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3976 test "$with_gnu_ld" != no && break
3978 test "$with_gnu_ld" != yes && break
3984 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3989 if test -n "$LD"; then
3990 echo "$as_me:$LINENO: result: $LD" >&5
3991 echo "${ECHO_T}$LD" >&6
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3996 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3997 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3998 { (exit 1); exit 1; }; }
3999 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4000 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4001 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4005 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4006 lt_cv_prog_gnu_ld=yes
4008 lt_cv_prog_gnu_ld=no
4011 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4012 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4013 with_gnu_ld=$lt_cv_prog_gnu_ld
4016 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4017 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4018 if test "${lt_cv_ld_reload_flag+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 lt_cv_ld_reload_flag='-r'
4023 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4024 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4025 reload_flag=$lt_cv_ld_reload_flag
4026 test -n "$reload_flag" && reload_flag=" $reload_flag"
4028 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4029 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4030 if test "${lt_cv_path_NM+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 if test -n "$NM"; then
4034 # Let the user override the test.
4037 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4038 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4039 test -z "$ac_dir" && ac_dir=.
4040 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4041 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4042 # Check to see if the nm accepts a BSD-compat flag.
4043 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4044 # nm: unknown option "B" ignored
4045 # Tru64's nm complains that /dev/null is an invalid object file
4046 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4047 lt_cv_path_NM="$tmp_nm -B"
4049 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4050 lt_cv_path_NM="$tmp_nm -p"
4053 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4054 continue # so that we can try to find one that supports BSD flags
4059 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4064 echo "$as_me:$LINENO: result: $NM" >&5
4065 echo "${ECHO_T}$NM" >&6
4067 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4068 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4070 if test "$LN_S" = "ln -s"; then
4071 echo "$as_me:$LINENO: result: yes" >&5
4072 echo "${ECHO_T}yes" >&6
4074 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4075 echo "${ECHO_T}no, using $LN_S" >&6
4078 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4079 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4080 if test "${lt_cv_deplibs_check_method+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 lt_cv_file_magic_cmd='$MAGIC_CMD'
4084 lt_cv_file_magic_test_file=
4085 lt_cv_deplibs_check_method='unknown'
4086 # Need to set the preceding variable on all platforms that support
4087 # interlibrary dependencies.
4088 # 'none' -- dependencies not supported.
4089 # `unknown' -- same as none, but documents that we really don't know.
4090 # 'pass_all' -- all dependencies passed with no checks.
4091 # 'test_compile' -- check by making test program.
4092 # 'file_magic [regex]' -- check by looking for files in library path
4093 # which responds to the $file_magic_cmd with a given egrep regex.
4094 # If you have `file' or equivalent on your system and you're not sure
4095 # whether `pass_all' will *always* work, you probably want this one.
4099 lt_cv_deplibs_check_method=pass_all
4103 lt_cv_deplibs_check_method=pass_all
4107 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4108 lt_cv_file_magic_cmd='/usr/bin/file -L'
4109 lt_cv_file_magic_test_file=/shlib/libc.so
4112 cygwin* | mingw* |pw32*)
4113 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4114 lt_cv_file_magic_cmd='$OBJDUMP -f'
4117 darwin* | rhapsody*)
4118 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4119 lt_cv_file_magic_cmd='/usr/bin/file -L'
4121 rhapsody* | darwin1.012)
4122 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4125 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4131 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4134 # Not sure whether the presence of OpenBSD here was a mistake.
4135 # Let's accept both of them until this is cleared up.
4136 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4137 lt_cv_file_magic_cmd=/usr/bin/file
4138 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4142 lt_cv_deplibs_check_method=pass_all
4147 lt_cv_deplibs_check_method=pass_all
4153 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4154 lt_cv_file_magic_cmd=/usr/bin/file
4155 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4158 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4159 lt_cv_file_magic_cmd=/usr/bin/file
4160 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4168 # this will be overridden with pass_all, but let us keep it just in case
4169 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4173 *-32|*"-32 ") libmagic=32-bit;;
4174 *-n32|*"-n32 ") libmagic=N32;;
4175 *-64|*"-64 ") libmagic=64-bit;;
4176 *) libmagic=never-match;;
4178 # this will be overridden with pass_all, but let us keep it just in case
4179 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4182 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4183 lt_cv_deplibs_check_method=pass_all
4186 # This must be Linux ELF.
4187 linux-gnu*|linux-newlib*)
4189 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4190 lt_cv_deplibs_check_method=pass_all ;;
4192 # glibc up to 2.1.1 does not perform some relocations on ARM
4193 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4195 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4199 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4200 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4202 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4208 lt_cv_file_magic_cmd=/usr/bin/file
4209 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4212 osf3* | osf4* | osf5*)
4213 # this will be overridden with pass_all, but let us keep it just in case
4214 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4215 lt_cv_file_magic_test_file=/shlib/libc.so
4216 lt_cv_deplibs_check_method=pass_all
4220 lt_cv_deplibs_check_method=pass_all
4224 lt_cv_deplibs_check_method=pass_all
4225 lt_cv_file_magic_test_file=/lib/libc.so
4228 sysv5uw[78]* | sysv4*uw2*)
4229 lt_cv_deplibs_check_method=pass_all
4232 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4233 case $host_vendor in
4235 lt_cv_deplibs_check_method=pass_all
4238 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]'
4239 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4246 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4247 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4248 file_magic_cmd=$lt_cv_file_magic_cmd
4249 deplibs_check_method=$lt_cv_deplibs_check_method
4254 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4256 # Only perform the check for file, if the check method requires it
4257 case $deplibs_check_method in
4259 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4260 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4261 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4262 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4270 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4273 ac_save_MAGIC_CMD="$MAGIC_CMD"
4274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4275 ac_dummy="/usr/bin:$PATH"
4276 for ac_dir in $ac_dummy; do
4277 test -z "$ac_dir" && ac_dir=.
4278 if test -f $ac_dir/${ac_tool_prefix}file; then
4279 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4280 if test -n "$file_magic_test_file"; then
4281 case $deplibs_check_method in
4283 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4284 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4285 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4286 egrep "$file_magic_regex" > /dev/null; then
4291 *** Warning: the command libtool uses to detect shared libraries,
4292 *** $file_magic_cmd, produces output that libtool cannot recognize.
4293 *** The result is that libtool may fail to recognize shared libraries
4294 *** as such. This will affect the creation of libtool libraries that
4295 *** depend on shared libraries, but programs linked with such libtool
4296 *** libraries will work regardless of this problem. Nevertheless, you
4297 *** may want to report the problem to your system manager and/or to
4298 *** bug-libtool@gnu.org
4308 MAGIC_CMD="$ac_save_MAGIC_CMD"
4313 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4314 if test -n "$MAGIC_CMD"; then
4315 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4316 echo "${ECHO_T}$MAGIC_CMD" >&6
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4322 if test -z "$lt_cv_path_MAGIC_CMD"; then
4323 if test -n "$ac_tool_prefix"; then
4324 echo "$as_me:$LINENO: checking for file" >&5
4325 echo $ECHO_N "checking for file... $ECHO_C" >&6
4326 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4334 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4337 ac_save_MAGIC_CMD="$MAGIC_CMD"
4338 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4339 ac_dummy="/usr/bin:$PATH"
4340 for ac_dir in $ac_dummy; do
4341 test -z "$ac_dir" && ac_dir=.
4342 if test -f $ac_dir/file; then
4343 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4344 if test -n "$file_magic_test_file"; then
4345 case $deplibs_check_method in
4347 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4348 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4349 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4350 egrep "$file_magic_regex" > /dev/null; then
4355 *** Warning: the command libtool uses to detect shared libraries,
4356 *** $file_magic_cmd, produces output that libtool cannot recognize.
4357 *** The result is that libtool may fail to recognize shared libraries
4358 *** as such. This will affect the creation of libtool libraries that
4359 *** depend on shared libraries, but programs linked with such libtool
4360 *** libraries will work regardless of this problem. Nevertheless, you
4361 *** may want to report the problem to your system manager and/or to
4362 *** bug-libtool@gnu.org
4372 MAGIC_CMD="$ac_save_MAGIC_CMD"
4377 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4378 if test -n "$MAGIC_CMD"; then
4379 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4380 echo "${ECHO_T}$MAGIC_CMD" >&6
4382 echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6
4395 if test -n "$ac_tool_prefix"; then
4396 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4397 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4398 echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4400 if test "${ac_cv_prog_RANLIB+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if test -n "$RANLIB"; then
4404 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 RANLIB=$ac_cv_prog_RANLIB
4423 if test -n "$RANLIB"; then
4424 echo "$as_me:$LINENO: result: $RANLIB" >&5
4425 echo "${ECHO_T}$RANLIB" >&6
4427 echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4432 if test -z "$ac_cv_prog_RANLIB"; then
4433 ac_ct_RANLIB=$RANLIB
4434 # Extract the first word of "ranlib", so it can be a program name with args.
4435 set dummy ranlib; ac_word=$2
4436 echo "$as_me:$LINENO: checking for $ac_word" >&5
4437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 if test -n "$ac_ct_RANLIB"; then
4442 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_ac_ct_RANLIB="ranlib"
4452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4462 if test -n "$ac_ct_RANLIB"; then
4463 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4464 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4470 RANLIB=$ac_ct_RANLIB
4472 RANLIB="$ac_cv_prog_RANLIB"
4475 if test -n "$ac_tool_prefix"; then
4476 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4477 set dummy ${ac_tool_prefix}strip; ac_word=$2
4478 echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4480 if test "${ac_cv_prog_STRIP+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$STRIP"; then
4484 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 STRIP=$ac_cv_prog_STRIP
4503 if test -n "$STRIP"; then
4504 echo "$as_me:$LINENO: result: $STRIP" >&5
4505 echo "${ECHO_T}$STRIP" >&6
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4512 if test -z "$ac_cv_prog_STRIP"; then
4514 # Extract the first word of "strip", so it can be a program name with args.
4515 set dummy strip; ac_word=$2
4516 echo "$as_me:$LINENO: checking for $ac_word" >&5
4517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4518 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4519 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 if test -n "$ac_ct_STRIP"; then
4522 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_ac_ct_STRIP="strip"
4532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4542 if test -n "$ac_ct_STRIP"; then
4543 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4544 echo "${ECHO_T}$ac_ct_STRIP" >&6
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4552 STRIP="$ac_cv_prog_STRIP"
4556 # Check for any special flags to pass to ltconfig.
4557 libtool_flags="--cache-file=$cache_file"
4558 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4559 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4560 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4561 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4562 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4565 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4566 if test "${enable_libtool_lock+set}" = set; then
4567 enableval="$enable_libtool_lock"
4570 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4571 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4574 # Check whether --with-pic or --without-pic was given.
4575 if test "${with_pic+set}" = set; then
4581 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4582 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4584 # Some flags need to be propagated to the compiler or linker for good
4588 # Find out which ABI we are using.
4589 echo '#line 4589 "configure"' > conftest.$ac_ext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4591 (eval $ac_compile) 2>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; then
4595 case `/usr/bin/file conftest.$ac_objext` in
4611 # Find out which ABI we are using.
4612 echo 'int i;' > conftest.$ac_ext
4613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4614 (eval $ac_compile) 2>&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; then
4618 case "`/usr/bin/file conftest.o`" in
4631 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4632 SAVE_CFLAGS="$CFLAGS"
4633 CFLAGS="$CFLAGS -belf"
4634 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4635 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4636 if test "${lt_cv_cc_needs_belf+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4642 ac_cpp='$CPP $CPPFLAGS'
4643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647 cat >conftest.$ac_ext <<_ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4662 rm -f conftest.$ac_objext conftest$ac_exeext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664 (eval $ac_link) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try='test -z "$ac_c_werror_flag"
4672 || test ! -s conftest.err'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; } &&
4678 { ac_try='test -s conftest$ac_exeext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 lt_cv_cc_needs_belf=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 lt_cv_cc_needs_belf=no
4691 rm -f conftest.err conftest.$ac_objext \
4692 conftest$ac_exeext conftest.$ac_ext
4694 ac_cpp='$CPP $CPPFLAGS'
4695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4701 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4702 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4703 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4704 CFLAGS="$SAVE_CFLAGS"
4712 # Save cache, so that ltconfig can load it
4713 cat >confcache <<\_ACEOF
4714 # This file is a shell script that caches the results of configure
4715 # tests run on this system so they can be shared between configure
4716 # scripts and configure runs, see configure's option --config-cache.
4717 # It is not useful on other systems. If it contains results you don't
4718 # want to keep, you may remove or edit it.
4720 # config.status only pays attention to the cache file if you give it
4721 # the --recheck option to rerun configure.
4723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4729 # The following way of writing the cache mishandles newlines in values,
4730 # but we know of no workaround that is simple, portable, and efficient.
4731 # So, don't put newlines in cache variables' values.
4732 # Ultrix sh set writes to stderr and can't be redirected directly,
4733 # and sets the high bit in the cache file unless we assign to the vars.
4736 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4738 # `set' does not quote correctly, so add quotes (double-quote
4739 # substitution turns \\\\ into \\, and sed turns \\ into \).
4742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4745 # `set' quotes correctly as required by POSIX, so do not add quotes.
4747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4758 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4759 if test -w $cache_file; then
4760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4761 cat confcache >$cache_file
4763 echo "not updating unwritable cache $cache_file"
4768 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4769 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4770 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4771 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4772 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4773 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4774 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4775 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4776 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4777 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4778 echo "$as_me: error: libtool configure failed" >&2;}
4779 { (exit 1); exit 1; }; }
4781 # Reload cache, that may have been modified by ltconfig
4782 if test -r "$cache_file"; then
4783 # Some versions of bash will fail to source /dev/null (special
4784 # files actually), so we avoid doing that.
4785 if test -f "$cache_file"; then
4786 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4787 echo "$as_me: loading cache $cache_file" >&6;}
4789 [\\/]* | ?:[\\/]* ) . $cache_file;;
4790 *) . ./$cache_file;;
4794 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4795 echo "$as_me: creating cache $cache_file" >&6;}
4800 # This can be used to rebuild libtool when needed
4801 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4803 # Always use our own libtool.
4804 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4806 # Redirect the config.log output again, so that the ltconfig log is not
4807 # clobbered by the next message.
4808 exec 5>>./config.log
4817 if test -n "${sys_dir}"; then
4821 subdirs="$subdirs a29khif"
4825 subdirs="$subdirs arc"
4829 subdirs="$subdirs arm"
4833 subdirs="$subdirs d10v"
4837 subdirs="$subdirs decstation"
4841 subdirs="$subdirs h8300hms"
4845 subdirs="$subdirs h8500hms"
4849 subdirs="$subdirs linux"
4853 subdirs="$subdirs m88kbug"
4857 subdirs="$subdirs mmixware"
4861 subdirs="$subdirs netware"
4865 subdirs="$subdirs rdos"
4869 subdirs="$subdirs rtems"
4873 subdirs="$subdirs sh"
4877 subdirs="$subdirs sparc64"
4881 subdirs="$subdirs sun4"
4885 subdirs="$subdirs sysmec"
4889 subdirs="$subdirs sysnec810"
4893 subdirs="$subdirs sysnecv850"
4897 subdirs="$subdirs sysvi386"
4901 subdirs="$subdirs sysvnecv70"
4905 subdirs="$subdirs tic80"
4909 subdirs="$subdirs w65"
4913 subdirs="$subdirs z8ksim"
4919 if test "x${have_crt0}" = "xyes"; then
4926 if test x${sys_dir} != x; then
4928 HAVE_SYS_DIR_FALSE='#'
4930 HAVE_SYS_DIR_TRUE='#'
4935 ac_config_files="$ac_config_files Makefile"
4936 cat >confcache <<\_ACEOF
4937 # This file is a shell script that caches the results of configure
4938 # tests run on this system so they can be shared between configure
4939 # scripts and configure runs, see configure's option --config-cache.
4940 # It is not useful on other systems. If it contains results you don't
4941 # want to keep, you may remove or edit it.
4943 # config.status only pays attention to the cache file if you give it
4944 # the --recheck option to rerun configure.
4946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4952 # The following way of writing the cache mishandles newlines in values,
4953 # but we know of no workaround that is simple, portable, and efficient.
4954 # So, don't put newlines in cache variables' values.
4955 # Ultrix sh set writes to stderr and can't be redirected directly,
4956 # and sets the high bit in the cache file unless we assign to the vars.
4959 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4961 # `set' does not quote correctly, so add quotes (double-quote
4962 # substitution turns \\\\ into \\, and sed turns \\ into \).
4965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4968 # `set' quotes correctly as required by POSIX, so do not add quotes.
4970 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4979 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4981 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4982 if test -w $cache_file; then
4983 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4984 cat confcache >$cache_file
4986 echo "not updating unwritable cache $cache_file"
4991 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4992 # Let make expand exec_prefix.
4993 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4995 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4997 # trailing colons and then remove the whole line if VPATH becomes empty
4998 # (actually we leave an empty line to preserve line numbers).
4999 if test "x$srcdir" = x.; then
5000 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5001 s/:*\$(srcdir):*/:/;
5002 s/:*\${srcdir}:*/:/;
5004 s/^\([^=]*=[ ]*\):*/\1/;
5010 # Transform confdefs.h into DEFS.
5011 # Protect against shell expansion while executing Makefile rules.
5012 # Protect against Makefile macro expansion.
5014 # If the first sed substitution is executed (which looks for macros that
5015 # take arguments), then we branch to the quote section. Otherwise,
5016 # look for a macro that doesn't take arguments.
5017 cat >confdef2opt.sed <<\_ACEOF
5020 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5022 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5026 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5032 # We use echo to avoid assuming a particular line-breaking character.
5033 # The extra dot is to prevent the shell from consuming trailing
5034 # line-breaks from the sub-command output. A line-break within
5035 # single-quotes doesn't work because, if this script is created in a
5036 # platform that uses two characters for line-breaks (e.g., DOS), tr
5038 ac_LF_and_DOT=`echo; echo .`
5039 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5040 rm -f confdef2opt.sed
5045 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5046 # 1. Remove the extension, and $U if already installed.
5047 ac_i=`echo "$ac_i" |
5048 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5050 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5051 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5055 LTLIBOBJS=$ac_ltlibobjs
5058 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5059 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5060 Usually this means the macro was only invoked conditionally." >&5
5061 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5062 Usually this means the macro was only invoked conditionally." >&2;}
5063 { (exit 1); exit 1; }; }
5065 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5066 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5067 Usually this means the macro was only invoked conditionally." >&5
5068 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5069 Usually this means the macro was only invoked conditionally." >&2;}
5070 { (exit 1); exit 1; }; }
5072 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5073 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5074 Usually this means the macro was only invoked conditionally." >&5
5075 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5076 Usually this means the macro was only invoked conditionally." >&2;}
5077 { (exit 1); exit 1; }; }
5079 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5080 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5081 Usually this means the macro was only invoked conditionally." >&5
5082 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5083 Usually this means the macro was only invoked conditionally." >&2;}
5084 { (exit 1); exit 1; }; }
5086 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5087 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5088 Usually this means the macro was only invoked conditionally." >&5
5089 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5090 Usually this means the macro was only invoked conditionally." >&2;}
5091 { (exit 1); exit 1; }; }
5093 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5094 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5095 Usually this means the macro was only invoked conditionally." >&5
5096 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5097 Usually this means the macro was only invoked conditionally." >&2;}
5098 { (exit 1); exit 1; }; }
5100 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5101 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5102 Usually this means the macro was only invoked conditionally." >&5
5103 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5104 Usually this means the macro was only invoked conditionally." >&2;}
5105 { (exit 1); exit 1; }; }
5107 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5108 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5109 Usually this means the macro was only invoked conditionally." >&5
5110 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5111 Usually this means the macro was only invoked conditionally." >&2;}
5112 { (exit 1); exit 1; }; }
5114 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5115 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5116 Usually this means the macro was only invoked conditionally." >&5
5117 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5118 Usually this means the macro was only invoked conditionally." >&2;}
5119 { (exit 1); exit 1; }; }
5121 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5122 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5123 Usually this means the macro was only invoked conditionally." >&5
5124 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5125 Usually this means the macro was only invoked conditionally." >&2;}
5126 { (exit 1); exit 1; }; }
5128 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5129 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5130 Usually this means the macro was only invoked conditionally." >&5
5131 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5132 Usually this means the macro was only invoked conditionally." >&2;}
5133 { (exit 1); exit 1; }; }
5135 if test -z "${HAVE_SYS_DIR_TRUE}" && test -z "${HAVE_SYS_DIR_FALSE}"; then
5136 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYS_DIR\" was never defined.
5137 Usually this means the macro was only invoked conditionally." >&5
5138 echo "$as_me: error: conditional \"HAVE_SYS_DIR\" was never defined.
5139 Usually this means the macro was only invoked conditionally." >&2;}
5140 { (exit 1); exit 1; }; }
5143 : ${CONFIG_STATUS=./config.status}
5144 ac_clean_files_save=$ac_clean_files
5145 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5146 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5147 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5148 cat >$CONFIG_STATUS <<_ACEOF
5150 # Generated by $as_me.
5151 # Run this file to recreate the current configuration.
5152 # Compiler output produced by configure, useful for debugging
5153 # configure, is in config.log if it exists.
5158 SHELL=\${CONFIG_SHELL-$SHELL}
5161 cat >>$CONFIG_STATUS <<\_ACEOF
5162 ## --------------------- ##
5163 ## M4sh Initialization. ##
5164 ## --------------------- ##
5166 # Be Bourne compatible
5167 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5170 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5171 # is contrary to our usage. Disable this feature.
5172 alias -g '${1+"$@"}'='"$@"'
5173 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5176 DUALCASE=1; export DUALCASE # for MKS sh
5178 # Support unset when possible.
5179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5186 # Work around bugs in pre-3.0 UWIN ksh.
5187 $as_unset ENV MAIL MAILPATH
5194 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5195 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5196 LC_TELEPHONE LC_TIME
5198 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5199 eval $as_var=C; export $as_var
5205 # Required to use basename.
5206 if expr a : '\(a\)' >/dev/null 2>&1; then
5212 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5213 as_basename=basename
5219 # Name of the executable.
5220 as_me=`$as_basename "$0" ||
5221 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5222 X"$0" : 'X\(//\)$' \| \
5223 X"$0" : 'X\(/\)$' \| \
5224 . : '\(.\)' 2>/dev/null ||
5226 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5227 /^X\/\(\/\/\)$/{ s//\1/; q; }
5228 /^X\/\(\/\).*/{ s//\1/; q; }
5232 # PATH needs CR, and LINENO needs CR and PATH.
5233 # Avoid depending upon Character Ranges.
5234 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5235 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5236 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5237 as_cr_digits='0123456789'
5238 as_cr_alnum=$as_cr_Letters$as_cr_digits
5240 # The user is always right.
5241 if test "${PATH_SEPARATOR+set}" != set; then
5242 echo "#! /bin/sh" >conf$$.sh
5243 echo "exit 0" >>conf$$.sh
5245 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5256 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5257 test "x$as_lineno_1" != "x$as_lineno_2" &&
5258 test "x$as_lineno_3" = "x$as_lineno_2" || {
5259 # Find who we are. Look in the path if we contain no path at all
5262 *[\\/]* ) as_myself=$0 ;;
5263 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir=.
5268 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5273 # We did not find ourselves, most probably we were run as `sh COMMAND'
5274 # in which case we are not to be found in the path.
5275 if test "x$as_myself" = x; then
5278 if test ! -f "$as_myself"; then
5279 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5280 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5281 { (exit 1); exit 1; }; }
5283 case $CONFIG_SHELL in
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5289 test -z "$as_dir" && as_dir=.
5290 for as_base in sh bash ksh sh5; do
5293 if ("$as_dir/$as_base" -c '
5296 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5297 test "x$as_lineno_1" != "x$as_lineno_2" &&
5298 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5299 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5300 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5301 CONFIG_SHELL=$as_dir/$as_base
5303 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5311 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5312 # uniformly replaced by the line number. The first 'sed' inserts a
5313 # line-number line before each line; the second 'sed' does the real
5314 # work. The second script uses 'N' to pair each line-number line
5315 # with the numbered line, and appends trailing '-' during
5316 # substitution so that $LINENO is not a special case at line end.
5317 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5318 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5319 sed '=' <$as_myself |
5324 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5327 s,^['$as_cr_digits']*\n,,
5329 chmod +x $as_me.lineno ||
5330 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5331 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5332 { (exit 1); exit 1; }; }
5334 # Don't try to exec as it changes $[0], causing all sort of problems
5335 # (the dirname of $[0] is not the place where we might find the
5336 # original and so on. Autoconf is especially sensible to this).
5338 # Exit status is that of the last command.
5343 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5344 *c*,-n*) ECHO_N= ECHO_C='
5346 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5347 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5350 if expr a : '\(a\)' >/dev/null 2>&1; then
5356 rm -f conf$$ conf$$.exe conf$$.file
5358 if ln -s conf$$.file conf$$ 2>/dev/null; then
5359 # We could just check for DJGPP; but this test a) works b) is more generic
5360 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5361 if test -f conf$$.exe; then
5362 # Don't use ln at all; we don't have any links
5367 elif ln conf$$.file conf$$ 2>/dev/null; then
5372 rm -f conf$$ conf$$.exe conf$$.file
5374 if mkdir -p . 2>/dev/null; then
5377 test -d ./-p && rmdir ./-p
5381 as_executable_p="test -f"
5383 # Sed expression to map a string onto a valid CPP name.
5384 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5386 # Sed expression to map a string onto a valid variable name.
5387 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5391 # We need space, tab and new line, in precisely that order.
5401 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5402 # report actual input values of CONFIG_FILES etc. instead of their
5403 # values after options handling. Logging --version etc. is OK.
5407 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5408 ## Running $as_me. ##
5413 This file was extended by $as_me, which was
5414 generated by GNU Autoconf 2.59. Invocation command line was
5416 CONFIG_FILES = $CONFIG_FILES
5417 CONFIG_HEADERS = $CONFIG_HEADERS
5418 CONFIG_LINKS = $CONFIG_LINKS
5419 CONFIG_COMMANDS = $CONFIG_COMMANDS
5423 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5427 # Files that config.status was made for.
5428 if test -n "$ac_config_files"; then
5429 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5432 if test -n "$ac_config_headers"; then
5433 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5436 if test -n "$ac_config_links"; then
5437 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5440 if test -n "$ac_config_commands"; then
5441 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5444 cat >>$CONFIG_STATUS <<\_ACEOF
5447 \`$as_me' instantiates files from templates according to the
5448 current configuration.
5450 Usage: $0 [OPTIONS] [FILE]...
5452 -h, --help print this help, then exit
5453 -V, --version print version number, then exit
5454 -q, --quiet do not print progress messages
5455 -d, --debug don't remove temporary files
5456 --recheck update $as_me by reconfiguring in the same conditions
5457 --file=FILE[:TEMPLATE]
5458 instantiate the configuration file FILE
5460 Configuration files:
5463 Configuration commands:
5466 Report bugs to <bug-autoconf@gnu.org>."
5469 cat >>$CONFIG_STATUS <<_ACEOF
5472 configured by $0, generated by GNU Autoconf 2.59,
5473 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5475 Copyright (C) 2003 Free Software Foundation, Inc.
5476 This config.status script is free software; the Free Software Foundation
5477 gives unlimited permission to copy, distribute and modify it."
5482 cat >>$CONFIG_STATUS <<\_ACEOF
5483 # If no file are specified by the user, then we need to provide default
5484 # value. By we need to know if files were specified by the user.
5490 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5491 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5499 *) # This is not an option, so the user has probably given explicit
5502 ac_need_defaults=false;;
5506 # Handling of the options.
5508 cat >>$CONFIG_STATUS <<\_ACEOF
5509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5511 --version | --vers* | -V )
5512 echo "$ac_cs_version"; exit 0 ;;
5514 # Conflict between --help and --header
5515 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5516 Try \`$0 --help' for more information." >&5
5517 echo "$as_me: error: ambiguous option: $1
5518 Try \`$0 --help' for more information." >&2;}
5519 { (exit 1); exit 1; }; };;
5520 --help | --hel | -h )
5521 echo "$ac_cs_usage"; exit 0 ;;
5522 --debug | --d* | -d )
5524 --file | --fil | --fi | --f )
5526 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5527 ac_need_defaults=false;;
5528 --header | --heade | --head | --hea )
5530 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5531 ac_need_defaults=false;;
5532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5533 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5537 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5538 Try \`$0 --help' for more information." >&5
5539 echo "$as_me: error: unrecognized option: $1
5540 Try \`$0 --help' for more information." >&2;}
5541 { (exit 1); exit 1; }; } ;;
5543 *) ac_config_targets="$ac_config_targets $1" ;;
5549 ac_configure_extra_args=
5551 if $ac_cs_silent; then
5553 ac_configure_extra_args="$ac_configure_extra_args --silent"
5557 cat >>$CONFIG_STATUS <<_ACEOF
5558 if \$ac_cs_recheck; then
5559 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5560 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5565 cat >>$CONFIG_STATUS <<_ACEOF
5567 # INIT-COMMANDS section.
5570 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5576 cat >>$CONFIG_STATUS <<\_ACEOF
5577 for ac_config_target in $ac_config_targets
5579 case "$ac_config_target" in
5580 # Handling of arguments.
5581 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5582 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5583 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5584 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5585 { (exit 1); exit 1; }; };;
5589 # If the user did not use the arguments to specify the items to instantiate,
5590 # then the envvar interface is used. Set only those that are not.
5591 # We use the long form for the default assignment because of an extremely
5592 # bizarre bug on SunOS 4.1.3.
5593 if $ac_need_defaults; then
5594 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5595 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5598 # Have a temporary directory for convenience. Make it in the build tree
5599 # simply because there is no reason to put it here, and in addition,
5600 # creating and moving files from /tmp can sometimes cause problems.
5601 # Create a temporary directory, and hook for its removal unless debugging.
5604 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5605 trap '{ (exit 1); exit 1; }' 1 2 13 15
5608 # Create a (secure) tmp directory for tmp files.
5611 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5612 test -n "$tmp" && test -d "$tmp"
5615 tmp=./confstat$$-$RANDOM
5616 (umask 077 && mkdir $tmp)
5619 echo "$me: cannot create a temporary directory in ." >&2
5620 { (exit 1); exit 1; }
5625 cat >>$CONFIG_STATUS <<_ACEOF
5628 # CONFIG_FILES section.
5631 # No need to generate the scripts if there are no CONFIG_FILES.
5632 # This happens for instance when ./config.status config.h
5633 if test -n "\$CONFIG_FILES"; then
5634 # Protect against being on the right side of a sed subst in config.status.
5635 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5636 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5637 s,@SHELL@,$SHELL,;t t
5638 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5639 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5640 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5641 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5642 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5643 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5644 s,@exec_prefix@,$exec_prefix,;t t
5645 s,@prefix@,$prefix,;t t
5646 s,@program_transform_name@,$program_transform_name,;t t
5647 s,@bindir@,$bindir,;t t
5648 s,@sbindir@,$sbindir,;t t
5649 s,@libexecdir@,$libexecdir,;t t
5650 s,@datadir@,$datadir,;t t
5651 s,@sysconfdir@,$sysconfdir,;t t
5652 s,@sharedstatedir@,$sharedstatedir,;t t
5653 s,@localstatedir@,$localstatedir,;t t
5654 s,@libdir@,$libdir,;t t
5655 s,@includedir@,$includedir,;t t
5656 s,@oldincludedir@,$oldincludedir,;t t
5657 s,@infodir@,$infodir,;t t
5658 s,@mandir@,$mandir,;t t
5659 s,@build_alias@,$build_alias,;t t
5660 s,@host_alias@,$host_alias,;t t
5661 s,@target_alias@,$target_alias,;t t
5663 s,@ECHO_C@,$ECHO_C,;t t
5664 s,@ECHO_N@,$ECHO_N,;t t
5665 s,@ECHO_T@,$ECHO_T,;t t
5667 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5668 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5669 s,@newlib_basedir@,$newlib_basedir,;t t
5670 s,@build@,$build,;t t
5671 s,@build_cpu@,$build_cpu,;t t
5672 s,@build_vendor@,$build_vendor,;t t
5673 s,@build_os@,$build_os,;t t
5675 s,@host_cpu@,$host_cpu,;t t
5676 s,@host_vendor@,$host_vendor,;t t
5677 s,@host_os@,$host_os,;t t
5678 s,@target@,$target,;t t
5679 s,@target_cpu@,$target_cpu,;t t
5680 s,@target_vendor@,$target_vendor,;t t
5681 s,@target_os@,$target_os,;t t
5682 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5683 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5684 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5685 s,@CYGPATH_W@,$CYGPATH_W,;t t
5686 s,@PACKAGE@,$PACKAGE,;t t
5687 s,@VERSION@,$VERSION,;t t
5688 s,@ACLOCAL@,$ACLOCAL,;t t
5689 s,@AUTOCONF@,$AUTOCONF,;t t
5690 s,@AUTOMAKE@,$AUTOMAKE,;t t
5691 s,@AUTOHEADER@,$AUTOHEADER,;t t
5692 s,@MAKEINFO@,$MAKEINFO,;t t
5693 s,@install_sh@,$install_sh,;t t
5694 s,@STRIP@,$STRIP,;t t
5695 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5696 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5697 s,@mkdir_p@,$mkdir_p,;t t
5699 s,@SET_MAKE@,$SET_MAKE,;t t
5700 s,@am__leading_dot@,$am__leading_dot,;t t
5701 s,@AMTAR@,$AMTAR,;t t
5702 s,@am__tar@,$am__tar,;t t
5703 s,@am__untar@,$am__untar,;t t
5705 s,@DEPDIR@,$DEPDIR,;t t
5706 s,@am__include@,$am__include,;t t
5707 s,@am__quote@,$am__quote,;t t
5708 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5709 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5710 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5711 s,@CCDEPMODE@,$CCDEPMODE,;t t
5712 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5713 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5715 s,@ac_ct_AS@,$ac_ct_AS,;t t
5717 s,@ac_ct_AR@,$ac_ct_AR,;t t
5718 s,@RANLIB@,$RANLIB,;t t
5719 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5720 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5721 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5722 s,@MAINT@,$MAINT,;t t
5724 s,@CCASFLAGS@,$CCASFLAGS,;t t
5725 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5726 s,@LDFLAGS@,$LDFLAGS,;t t
5727 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5728 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5729 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5730 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5731 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5732 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5733 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5734 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5735 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5736 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5737 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5738 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5739 s,@OBJEXT@,$OBJEXT,;t t
5743 s,@libm_machine_dir@,$libm_machine_dir,;t t
5744 s,@machine_dir@,$machine_dir,;t t
5745 s,@sys_dir@,$sys_dir,;t t
5746 s,@CFLAGS@,$CFLAGS,;t t
5747 s,@CPPFLAGS@,$CPPFLAGS,;t t
5748 s,@ac_ct_CC@,$ac_ct_CC,;t t
5749 s,@EXEEXT@,$EXEEXT,;t t
5751 s,@LIBTOOL@,$LIBTOOL,;t t
5752 s,@subdirs@,$subdirs,;t t
5754 s,@HAVE_SYS_DIR_TRUE@,$HAVE_SYS_DIR_TRUE,;t t
5755 s,@HAVE_SYS_DIR_FALSE@,$HAVE_SYS_DIR_FALSE,;t t
5756 s,@LIBOBJS@,$LIBOBJS,;t t
5757 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5762 cat >>$CONFIG_STATUS <<\_ACEOF
5763 # Split the substitutions into bite-sized pieces for seds with
5764 # small command number limits, like on Digital OSF/1 and HP-UX.
5766 ac_sed_frag=1 # Number of current file.
5767 ac_beg=1 # First line for current file.
5768 ac_end=$ac_max_sed_lines # Line after last line for current file.
5771 while $ac_more_lines; do
5772 if test $ac_beg -gt 1; then
5773 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5775 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5777 if test ! -s $tmp/subs.frag; then
5780 # The purpose of the label and of the branching condition is to
5781 # speed up the sed processing (if there are no `@' at all, there
5782 # is no need to browse any of the substitutions).
5783 # These are the two extra sed commands mentioned above.
5785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5786 if test -z "$ac_sed_cmds"; then
5787 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5789 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5791 ac_sed_frag=`expr $ac_sed_frag + 1`
5793 ac_end=`expr $ac_end + $ac_max_sed_lines`
5796 if test -z "$ac_sed_cmds"; then
5799 fi # test -n "$CONFIG_FILES"
5802 cat >>$CONFIG_STATUS <<\_ACEOF
5803 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5806 - | *:- | *:-:* ) # input from stdin
5808 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5809 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5810 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5811 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5812 * ) ac_file_in=$ac_file.in ;;
5815 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5816 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5818 X"$ac_file" : 'X\(//\)[^/]' \| \
5819 X"$ac_file" : 'X\(//\)$' \| \
5820 X"$ac_file" : 'X\(/\)' \| \
5821 . : '\(.\)' 2>/dev/null ||
5823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5825 /^X\(\/\/\)$/{ s//\1/; q; }
5826 /^X\(\/\).*/{ s//\1/; q; }
5828 { if $as_mkdir_p; then
5833 while test ! -d "$as_dir"; do
5834 as_dirs="$as_dir $as_dirs"
5835 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5837 X"$as_dir" : 'X\(//\)[^/]' \| \
5838 X"$as_dir" : 'X\(//\)$' \| \
5839 X"$as_dir" : 'X\(/\)' \| \
5840 . : '\(.\)' 2>/dev/null ||
5842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5844 /^X\(\/\/\)$/{ s//\1/; q; }
5845 /^X\(\/\).*/{ s//\1/; q; }
5848 test ! -n "$as_dirs" || mkdir $as_dirs
5849 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5850 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5851 { (exit 1); exit 1; }; }; }
5855 if test "$ac_dir" != .; then
5856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5857 # A "../" for each directory in $ac_dir_suffix.
5858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5860 ac_dir_suffix= ac_top_builddir=
5864 .) # No --srcdir option. We are building in place.
5866 if test -z "$ac_top_builddir"; then
5869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5871 [\\/]* | ?:[\\/]* ) # Absolute path.
5872 ac_srcdir=$srcdir$ac_dir_suffix;
5873 ac_top_srcdir=$srcdir ;;
5875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5879 # Do not use `cd foo && pwd` to compute absolute paths, because
5880 # the directories may not exist.
5882 .) ac_abs_builddir="$ac_dir";;
5885 .) ac_abs_builddir=`pwd`;;
5886 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5887 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5890 case $ac_abs_builddir in
5891 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5893 case ${ac_top_builddir}. in
5894 .) ac_abs_top_builddir=$ac_abs_builddir;;
5895 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5896 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5899 case $ac_abs_builddir in
5900 .) ac_abs_srcdir=$ac_srcdir;;
5903 .) ac_abs_srcdir=$ac_abs_builddir;;
5904 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5905 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5908 case $ac_abs_builddir in
5909 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5911 case $ac_top_srcdir in
5912 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5913 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5914 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5921 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5924 if test x"$ac_file" != x-; then
5925 { echo "$as_me:$LINENO: creating $ac_file" >&5
5926 echo "$as_me: creating $ac_file" >&6;}
5929 # Let's still pretend it is `configure' which instantiates (i.e., don't
5930 # use $as_me), people would be surprised to read:
5931 # /* config.h. Generated by config.status. */
5932 if test x"$ac_file" = x-; then
5935 configure_input="$ac_file. "
5937 configure_input=$configure_input"Generated from `echo $ac_file_in |
5938 sed 's,.*/,,'` by configure."
5940 # First look for the input files in the build tree, otherwise in the
5942 ac_file_inputs=`IFS=:
5943 for f in $ac_file_in; do
5945 -) echo $tmp/stdin ;;
5947 # Absolute (can't be DOS-style, as IFS=:)
5948 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5949 echo "$as_me: error: cannot find input file: $f" >&2;}
5950 { (exit 1); exit 1; }; }
5953 if test -f "$f"; then
5956 elif test -f "$srcdir/$f"; then
5961 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5962 echo "$as_me: error: cannot find input file: $f" >&2;}
5963 { (exit 1); exit 1; }; }
5966 done` || { (exit 1); exit 1; }
5968 cat >>$CONFIG_STATUS <<_ACEOF
5972 cat >>$CONFIG_STATUS <<\_ACEOF
5974 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5975 s,@configure_input@,$configure_input,;t t
5976 s,@srcdir@,$ac_srcdir,;t t
5977 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5978 s,@top_srcdir@,$ac_top_srcdir,;t t
5979 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5980 s,@builddir@,$ac_builddir,;t t
5981 s,@abs_builddir@,$ac_abs_builddir,;t t
5982 s,@top_builddir@,$ac_top_builddir,;t t
5983 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5984 s,@INSTALL@,$ac_INSTALL,;t t
5985 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5987 if test x"$ac_file" != x-; then
5988 mv $tmp/out $ac_file
5996 cat >>$CONFIG_STATUS <<\_ACEOF
5999 # CONFIG_COMMANDS section.
6001 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6002 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6003 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6004 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6005 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6006 X"$ac_dest" : 'X\(//\)[^/]' \| \
6007 X"$ac_dest" : 'X\(//\)$' \| \
6008 X"$ac_dest" : 'X\(/\)' \| \
6009 . : '\(.\)' 2>/dev/null ||
6011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6013 /^X\(\/\/\)$/{ s//\1/; q; }
6014 /^X\(\/\).*/{ s//\1/; q; }
6016 { if $as_mkdir_p; then
6021 while test ! -d "$as_dir"; do
6022 as_dirs="$as_dir $as_dirs"
6023 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6025 X"$as_dir" : 'X\(//\)[^/]' \| \
6026 X"$as_dir" : 'X\(//\)$' \| \
6027 X"$as_dir" : 'X\(/\)' \| \
6028 . : '\(.\)' 2>/dev/null ||
6030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6032 /^X\(\/\/\)$/{ s//\1/; q; }
6033 /^X\(\/\).*/{ s//\1/; q; }
6036 test ! -n "$as_dirs" || mkdir $as_dirs
6037 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6038 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6039 { (exit 1); exit 1; }; }; }
6043 if test "$ac_dir" != .; then
6044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6045 # A "../" for each directory in $ac_dir_suffix.
6046 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6048 ac_dir_suffix= ac_top_builddir=
6052 .) # No --srcdir option. We are building in place.
6054 if test -z "$ac_top_builddir"; then
6057 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6059 [\\/]* | ?:[\\/]* ) # Absolute path.
6060 ac_srcdir=$srcdir$ac_dir_suffix;
6061 ac_top_srcdir=$srcdir ;;
6063 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6064 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6067 # Do not use `cd foo && pwd` to compute absolute paths, because
6068 # the directories may not exist.
6070 .) ac_abs_builddir="$ac_dir";;
6073 .) ac_abs_builddir=`pwd`;;
6074 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6075 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6078 case $ac_abs_builddir in
6079 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6081 case ${ac_top_builddir}. in
6082 .) ac_abs_top_builddir=$ac_abs_builddir;;
6083 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6084 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6087 case $ac_abs_builddir in
6088 .) ac_abs_srcdir=$ac_srcdir;;
6091 .) ac_abs_srcdir=$ac_abs_builddir;;
6092 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6093 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6096 case $ac_abs_builddir in
6097 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6099 case $ac_top_srcdir in
6100 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6101 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6102 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6107 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6108 echo "$as_me: executing $ac_dest commands" >&6;}
6110 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6111 # Strip MF so we end up with the name of the file.
6112 mf=`echo "$mf" | sed -e 's/:.*$//'`
6113 # Check whether this is an Automake generated Makefile or not.
6114 # We used to match only the files named `Makefile.in', but
6115 # some people rename them; so instead we look at the file content.
6116 # Grep'ing the first line is not enough: some people post-process
6117 # each Makefile.in and add a new line on top of each file to say so.
6118 # So let's grep whole file.
6119 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6120 dirpart=`(dirname "$mf") 2>/dev/null ||
6121 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6122 X"$mf" : 'X\(//\)[^/]' \| \
6123 X"$mf" : 'X\(//\)$' \| \
6124 X"$mf" : 'X\(/\)' \| \
6125 . : '\(.\)' 2>/dev/null ||
6127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6129 /^X\(\/\/\)$/{ s//\1/; q; }
6130 /^X\(\/\).*/{ s//\1/; q; }
6135 # Extract the definition of DEPDIR, am__include, and am__quote
6136 # from the Makefile without running `make'.
6137 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6138 test -z "$DEPDIR" && continue
6139 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6140 test -z "am__include" && continue
6141 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6142 # When using ansi2knr, U may be empty or an underscore; expand it
6143 U=`sed -n 's/^U = //p' < "$mf"`
6144 # Find all dependency output files, they are included files with
6145 # $(DEPDIR) in their names. We invoke sed twice because it is the
6146 # simplest approach to changing $(DEPDIR) to its actual value in the
6148 for file in `sed -n "
6149 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6150 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6151 # Make sure the directory exists.
6152 test -f "$dirpart/$file" && continue
6153 fdir=`(dirname "$file") 2>/dev/null ||
6154 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6155 X"$file" : 'X\(//\)[^/]' \| \
6156 X"$file" : 'X\(//\)$' \| \
6157 X"$file" : 'X\(/\)' \| \
6158 . : '\(.\)' 2>/dev/null ||
6160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6162 /^X\(\/\/\)$/{ s//\1/; q; }
6163 /^X\(\/\).*/{ s//\1/; q; }
6165 { if $as_mkdir_p; then
6166 mkdir -p $dirpart/$fdir
6168 as_dir=$dirpart/$fdir
6170 while test ! -d "$as_dir"; do
6171 as_dirs="$as_dir $as_dirs"
6172 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6174 X"$as_dir" : 'X\(//\)[^/]' \| \
6175 X"$as_dir" : 'X\(//\)$' \| \
6176 X"$as_dir" : 'X\(/\)' \| \
6177 . : '\(.\)' 2>/dev/null ||
6179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6181 /^X\(\/\/\)$/{ s//\1/; q; }
6182 /^X\(\/\).*/{ s//\1/; q; }
6185 test ! -n "$as_dirs" || mkdir $as_dirs
6186 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6187 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6188 { (exit 1); exit 1; }; }; }
6190 # echo "creating $dirpart/$file"
6191 echo '# dummy' > "$dirpart/$file"
6199 cat >>$CONFIG_STATUS <<\_ACEOF
6201 { (exit 0); exit 0; }
6203 chmod +x $CONFIG_STATUS
6204 ac_clean_files=$ac_clean_files_save
6207 # configure is writing to config.log, and then calls config.status.
6208 # config.status does its own redirection, appending to config.log.
6209 # Unfortunately, on DOS this fails, as config.log is still kept open
6210 # by configure, so config.status won't be able to write to it; its
6211 # output is simply discarded. So we exec the FD to /dev/null,
6212 # effectively closing config.log, so it can be properly (re)opened and
6213 # appended to by config.status. When coming back to configure, we
6214 # need to make the FD available again.
6215 if test "$no_create" != yes; then
6217 ac_config_status_args=
6218 test "$silent" = yes &&
6219 ac_config_status_args="$ac_config_status_args --quiet"
6221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6224 # would make configure fail if this is the last instruction.
6225 $ac_cs_success || { (exit 1); exit 1; }
6229 # CONFIG_SUBDIRS section.
6231 if test "$no_recursion" != yes; then
6233 # Remove --cache-file and --srcdir arguments so they do not pile up.
6234 ac_sub_configure_args=
6236 for ac_arg in $ac_configure_args; do
6237 if test -n "$ac_prev"; then
6242 -cache-file | --cache-file | --cache-fil | --cache-fi \
6243 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6244 ac_prev=cache_file ;;
6245 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6246 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6249 --config-cache | -C)
6251 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6253 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6255 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6257 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6259 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6263 # Always prepend --prefix to ensure using the same prefix
6264 # in subdir configurations.
6265 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6268 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6270 # Do not complain, so a configure script can configure whichever
6271 # parts of a large source tree are present.
6272 test -d $srcdir/$ac_dir || continue
6274 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6275 echo "$as_me: configuring in $ac_dir" >&6;}
6276 { if $as_mkdir_p; then
6281 while test ! -d "$as_dir"; do
6282 as_dirs="$as_dir $as_dirs"
6283 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6285 X"$as_dir" : 'X\(//\)[^/]' \| \
6286 X"$as_dir" : 'X\(//\)$' \| \
6287 X"$as_dir" : 'X\(/\)' \| \
6288 . : '\(.\)' 2>/dev/null ||
6290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6291 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6292 /^X\(\/\/\)$/{ s//\1/; q; }
6293 /^X\(\/\).*/{ s//\1/; q; }
6296 test ! -n "$as_dirs" || mkdir $as_dirs
6297 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6298 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6299 { (exit 1); exit 1; }; }; }
6303 if test "$ac_dir" != .; then
6304 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6305 # A "../" for each directory in $ac_dir_suffix.
6306 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6308 ac_dir_suffix= ac_top_builddir=
6312 .) # No --srcdir option. We are building in place.
6314 if test -z "$ac_top_builddir"; then
6317 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6319 [\\/]* | ?:[\\/]* ) # Absolute path.
6320 ac_srcdir=$srcdir$ac_dir_suffix;
6321 ac_top_srcdir=$srcdir ;;
6323 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6324 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6327 # Do not use `cd foo && pwd` to compute absolute paths, because
6328 # the directories may not exist.
6330 .) ac_abs_builddir="$ac_dir";;
6333 .) ac_abs_builddir=`pwd`;;
6334 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6335 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6338 case $ac_abs_builddir in
6339 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6341 case ${ac_top_builddir}. in
6342 .) ac_abs_top_builddir=$ac_abs_builddir;;
6343 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6344 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6347 case $ac_abs_builddir in
6348 .) ac_abs_srcdir=$ac_srcdir;;
6351 .) ac_abs_srcdir=$ac_abs_builddir;;
6352 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6353 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6356 case $ac_abs_builddir in
6357 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6359 case $ac_top_srcdir in
6360 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6361 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6362 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6369 # Check for guested configure; otherwise get Cygnus style configure.
6370 if test -f $ac_srcdir/configure.gnu; then
6371 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6372 elif test -f $ac_srcdir/configure; then
6373 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6374 elif test -f $ac_srcdir/configure.in; then
6375 ac_sub_configure=$ac_configure
6377 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6378 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6382 # The recursion is here.
6383 if test -n "$ac_sub_configure"; then
6384 # Make the cache file name correct relative to the subdirectory.
6386 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6388 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6391 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6392 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6393 # The eval makes quoting arguments work.
6394 eval $ac_sub_configure $ac_sub_configure_args \
6395 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6396 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6397 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6398 { (exit 1); exit 1; }; }