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="i386"
275 ac_subdirs_all="$ac_subdirs_all i386"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 machlib HAVE_LIBM_MACHINE_DIR_TRUE HAVE_LIBM_MACHINE_DIR_FALSE LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CCAS_set=${CCAS+set}
718 ac_env_CCAS_value=$CCAS
719 ac_cv_env_CCAS_set=${CCAS+set}
720 ac_cv_env_CCAS_value=$CCAS
721 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
722 ac_env_CCASFLAGS_value=$CCASFLAGS
723 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
724 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
725 ac_env_CC_set=${CC+set}
727 ac_cv_env_CC_set=${CC+set}
728 ac_cv_env_CC_value=$CC
729 ac_env_CFLAGS_set=${CFLAGS+set}
730 ac_env_CFLAGS_value=$CFLAGS
731 ac_cv_env_CFLAGS_set=${CFLAGS+set}
732 ac_cv_env_CFLAGS_value=$CFLAGS
733 ac_env_LDFLAGS_set=${LDFLAGS+set}
734 ac_env_LDFLAGS_value=$LDFLAGS
735 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
736 ac_cv_env_LDFLAGS_value=$LDFLAGS
737 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
738 ac_env_CPPFLAGS_value=$CPPFLAGS
739 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
740 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
743 # Report the --help message.
745 if test "$ac_init_help" = "long"; then
746 # Omit some internal or obsolete options to make the list less imposing.
747 # This message is too long to be a string in the A/UX 3.1 sh.
749 \`configure' configures this package to adapt to many kinds of systems.
751 Usage: $0 [OPTION]... [VAR=VALUE]...
753 To assign environment variables (e.g., CC, CFLAGS...), specify them as
754 VAR=VALUE. See below for descriptions of some of the useful variables.
756 Defaults for the options are specified in brackets.
759 -h, --help display this help and exit
760 --help=short display options specific to this package
761 --help=recursive display the short help of all the included packages
762 -V, --version display version information and exit
763 -q, --quiet, --silent do not print \`checking...' messages
764 --cache-file=FILE cache test results in FILE [disabled]
765 -C, --config-cache alias for \`--cache-file=config.cache'
766 -n, --no-create do not create output files
767 --srcdir=DIR find the sources in DIR [configure dir or \`..']
772 Installation directories:
773 --prefix=PREFIX install architecture-independent files in PREFIX
775 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
778 By default, \`make install' will install all the files in
779 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
780 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
781 for instance \`--prefix=\$HOME'.
783 For better control, use the options below.
785 Fine tuning of the installation directories:
786 --bindir=DIR user executables [EPREFIX/bin]
787 --sbindir=DIR system admin executables [EPREFIX/sbin]
788 --libexecdir=DIR program executables [EPREFIX/libexec]
789 --datadir=DIR read-only architecture-independent data [PREFIX/share]
790 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
791 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
792 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
793 --libdir=DIR object code libraries [EPREFIX/lib]
794 --includedir=DIR C header files [PREFIX/include]
795 --oldincludedir=DIR C header files for non-gcc [/usr/include]
796 --infodir=DIR info documentation [PREFIX/info]
797 --mandir=DIR man documentation [PREFIX/man]
803 --program-prefix=PREFIX prepend PREFIX to installed program names
804 --program-suffix=SUFFIX append SUFFIX to installed program names
805 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
808 --build=BUILD configure for building on BUILD [guessed]
809 --host=HOST cross-compile to build programs to run on HOST [BUILD]
810 --target=TARGET configure for building compilers for TARGET [HOST]
814 if test -n "$ac_init_help"; then
819 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
820 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
821 --enable-multilib build many library versions (default)
822 --enable-target-optspace optimize for space
823 --enable-malloc-debugging indicate malloc debugging requested
824 --enable-newlib-multithread enable support for multiple threads
825 --enable-newlib-iconv enable iconv library support
826 --enable-newlib-elix-level supply desired elix library level (1-4)
827 --disable-newlib-io-float disable printf/scanf family float support
828 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
829 --disable-dependency-tracking speeds up one-time build
830 --enable-dependency-tracking do not reject slow dependency extractors
831 --enable-maintainer-mode enable make rules and dependencies not useful
832 (and sometimes confusing) to the casual installer
833 --enable-shared=PKGS build shared libraries default=yes
834 --enable-static=PKGS build static libraries default=yes
835 --enable-fast-install=PKGS optimize for fast installation default=yes
836 --disable-libtool-lock avoid locking (might break parallel builds)
839 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
840 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
841 --with-gnu-ld assume the C compiler uses GNU ld default=no
842 --with-pic try to use only PIC/non-PIC objects default=use both
844 Some influential environment variables:
845 CCAS assembler compiler command (defaults to CC)
846 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
847 CC C compiler command
848 CFLAGS C compiler flags
849 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
850 nonstandard directory <lib dir>
851 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
852 headers in a nonstandard directory <include dir>
854 Use these variables to override the choices made by `configure' or to help
855 it to find libraries and programs with nonstandard names/locations.
860 if test "$ac_init_help" = "recursive"; then
861 # If there are subdirs, report their specific --help.
863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
864 test -d $ac_dir || continue
867 if test "$ac_dir" != .; then
868 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
869 # A "../" for each directory in $ac_dir_suffix.
870 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
872 ac_dir_suffix= ac_top_builddir=
876 .) # No --srcdir option. We are building in place.
878 if test -z "$ac_top_builddir"; then
881 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
883 [\\/]* | ?:[\\/]* ) # Absolute path.
884 ac_srcdir=$srcdir$ac_dir_suffix;
885 ac_top_srcdir=$srcdir ;;
887 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
888 ac_top_srcdir=$ac_top_builddir$srcdir ;;
891 # Do not use `cd foo && pwd` to compute absolute paths, because
892 # the directories may not exist.
894 .) ac_abs_builddir="$ac_dir";;
897 .) ac_abs_builddir=`pwd`;;
898 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
899 *) ac_abs_builddir=`pwd`/"$ac_dir";;
902 case $ac_abs_builddir in
903 .) ac_abs_top_builddir=${ac_top_builddir}.;;
905 case ${ac_top_builddir}. in
906 .) ac_abs_top_builddir=$ac_abs_builddir;;
907 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
908 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
911 case $ac_abs_builddir in
912 .) ac_abs_srcdir=$ac_srcdir;;
915 .) ac_abs_srcdir=$ac_abs_builddir;;
916 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
917 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
920 case $ac_abs_builddir in
921 .) ac_abs_top_srcdir=$ac_top_srcdir;;
923 case $ac_top_srcdir in
924 .) ac_abs_top_srcdir=$ac_abs_builddir;;
925 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
926 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
953 Copyright (C) 2003 Free Software Foundation, Inc.
954 This configure script is free software; the Free Software Foundation
955 gives unlimited permission to copy, distribute and modify it.
961 This file contains any messages produced by compilers while
962 running configure, to aid debugging if configure makes a mistake.
964 It was created by $as_me, which was
965 generated by GNU Autoconf 2.59. Invocation command line was
976 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
977 uname -m = `(uname -m) 2>/dev/null || echo unknown`
978 uname -r = `(uname -r) 2>/dev/null || echo unknown`
979 uname -s = `(uname -s) 2>/dev/null || echo unknown`
980 uname -v = `(uname -v) 2>/dev/null || echo unknown`
982 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
983 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
985 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
986 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
987 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
988 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
989 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
990 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
991 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
999 test -z "$as_dir" && as_dir=.
1000 echo "PATH: $as_dir"
1015 # Keep a trace of the command line.
1016 # Strip out --no-create and --no-recursion so they do not pile up.
1017 # Strip out --silent because we don't want to record it for future runs.
1018 # Also quote any args containing shell meta-characters.
1019 # Make two passes to allow for proper duplicate-argument suppression.
1024 ac_must_keep_next=false
1030 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032 | -silent | --silent | --silen | --sile | --sil)
1034 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1035 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1038 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1040 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1041 if test $ac_must_keep_next = true; then
1042 ac_must_keep_next=false # Got value, back to normal.
1045 *=* | --config-cache | -C | -disable-* | --disable-* \
1046 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1047 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1048 | -with-* | --with-* | -without-* | --without-* | --x)
1049 case "$ac_configure_args0 " in
1050 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1053 -* ) ac_must_keep_next=true ;;
1056 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1057 # Get rid of the leading space.
1063 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1064 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1066 # When interrupted or exit'd, cleanup temporary files, and complete
1067 # config.log. We remove comments because anyway the quotes in there
1068 # would cause problems or look ugly.
1069 # WARNING: Be sure not to use single quotes in there, as some shells,
1070 # such as our DU 5.0 friend, will then `close' the trap.
1071 trap 'exit_status=$?
1072 # Save into config.log some information that might help in debugging.
1077 ## ---------------- ##
1078 ## Cache variables. ##
1079 ## ---------------- ##
1082 # The following way of writing the cache mishandles newlines in values,
1085 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1088 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1093 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1100 ## ----------------- ##
1101 ## Output variables. ##
1102 ## ----------------- ##
1105 for ac_var in $ac_subst_vars
1107 eval ac_val=$`echo $ac_var`
1108 echo "$ac_var='"'"'$ac_val'"'"'"
1112 if test -n "$ac_subst_files"; then
1119 for ac_var in $ac_subst_files
1121 eval ac_val=$`echo $ac_var`
1122 echo "$ac_var='"'"'$ac_val'"'"'"
1127 if test -s confdefs.h; then
1134 sed "/^$/d" confdefs.h | sort
1137 test "$ac_signal" != 0 &&
1138 echo "$as_me: caught signal $ac_signal"
1139 echo "$as_me: exit $exit_status"
1141 rm -f core *.core &&
1142 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1145 for ac_signal in 1 2 13 15; do
1146 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1150 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1151 rm -rf conftest* confdefs.h
1152 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1155 # Predefined preprocessor variables.
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_NAME "$PACKAGE_NAME"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_STRING "$PACKAGE_STRING"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1182 # Let the site file select an alternate cache file if it wants to.
1183 # Prefer explicitly selected file to automatically selected ones.
1184 if test -z "$CONFIG_SITE"; then
1185 if test "x$prefix" != xNONE; then
1186 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1188 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1191 for ac_site_file in $CONFIG_SITE; do
1192 if test -r "$ac_site_file"; then
1193 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1194 echo "$as_me: loading site script $ac_site_file" >&6;}
1195 sed 's/^/| /' "$ac_site_file" >&5
1200 if test -r "$cache_file"; then
1201 # Some versions of bash will fail to source /dev/null (special
1202 # files actually), so we avoid doing that.
1203 if test -f "$cache_file"; then
1204 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1205 echo "$as_me: loading cache $cache_file" >&6;}
1207 [\\/]* | ?:[\\/]* ) . $cache_file;;
1208 *) . ./$cache_file;;
1212 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1213 echo "$as_me: creating cache $cache_file" >&6;}
1217 # Check that the precious variables saved in the cache have kept the same
1219 ac_cache_corrupted=false
1220 for ac_var in `(set) 2>&1 |
1221 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1222 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1223 eval ac_new_set=\$ac_env_${ac_var}_set
1224 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1225 eval ac_new_val="\$ac_env_${ac_var}_value"
1226 case $ac_old_set,$ac_new_set in
1228 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1229 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1230 ac_cache_corrupted=: ;;
1232 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1234 ac_cache_corrupted=: ;;
1237 if test "x$ac_old_val" != "x$ac_new_val"; then
1238 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1239 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1240 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1241 echo "$as_me: former value: $ac_old_val" >&2;}
1242 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1243 echo "$as_me: current value: $ac_new_val" >&2;}
1244 ac_cache_corrupted=:
1247 # Pass precious variables to config.status.
1248 if test "$ac_new_set" = set; then
1250 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1251 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1252 *) ac_arg=$ac_var=$ac_new_val ;;
1254 case " $ac_configure_args " in
1255 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1256 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1260 if $ac_cache_corrupted; then
1261 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1262 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1263 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1264 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1265 { (exit 1); exit 1; }; }
1269 ac_cpp='$CPP $CPPFLAGS'
1270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1294 for ac_dir in ../../.. $srcdir/../../..; do
1295 if test -f $ac_dir/install-sh; then
1297 ac_install_sh="$ac_aux_dir/install-sh -c"
1299 elif test -f $ac_dir/install.sh; then
1301 ac_install_sh="$ac_aux_dir/install.sh -c"
1303 elif test -f $ac_dir/shtool; then
1305 ac_install_sh="$ac_aux_dir/shtool install -c"
1309 if test -z "$ac_aux_dir"; then
1310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
1312 { (exit 1); exit 1; }; }
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1319 # Make sure we can run config.sub.
1320 $ac_config_sub sun4 >/dev/null 2>&1 ||
1321 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1322 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1323 { (exit 1); exit 1; }; }
1325 echo "$as_me:$LINENO: checking build system type" >&5
1326 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1327 if test "${ac_cv_build+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1330 ac_cv_build_alias=$build_alias
1331 test -z "$ac_cv_build_alias" &&
1332 ac_cv_build_alias=`$ac_config_guess`
1333 test -z "$ac_cv_build_alias" &&
1334 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1335 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1336 { (exit 1); exit 1; }; }
1337 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1338 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1339 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1340 { (exit 1); exit 1; }; }
1343 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1344 echo "${ECHO_T}$ac_cv_build" >&6
1346 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1347 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1348 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1351 echo "$as_me:$LINENO: checking host system type" >&5
1352 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1353 if test "${ac_cv_host+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_host_alias=$host_alias
1357 test -z "$ac_cv_host_alias" &&
1358 ac_cv_host_alias=$ac_cv_build_alias
1359 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1360 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1361 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1362 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1366 echo "${ECHO_T}$ac_cv_host" >&6
1368 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1369 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1370 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1373 am__api_version="1.9"
1374 # Find a good install program. We prefer a C program (faster),
1375 # so one script is as good as another. But avoid the broken or
1376 # incompatible versions:
1377 # SysV /etc/install, /usr/sbin/install
1378 # SunOS /usr/etc/install
1379 # IRIX /sbin/install
1381 # AmigaOS /C/install, which installs bootblocks on floppy discs
1382 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1383 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1384 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1385 # OS/2's system install, which has a completely different semantic
1386 # ./install, which can be erroneously created by make from ./install.sh.
1387 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1388 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1389 if test -z "$INSTALL"; then
1390 if test "${ac_cv_path_install+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1397 test -z "$as_dir" && as_dir=.
1398 # Account for people who put trailing slashes in PATH elements.
1400 ./ | .// | /cC/* | \
1401 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1402 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1405 # OSF1 and SCO ODT 3.0 have their own names for install.
1406 # Don't use installbsd from OSF since it installs stuff as root
1408 for ac_prog in ginstall scoinst install; do
1409 for ac_exec_ext in '' $ac_executable_extensions; do
1410 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1411 if test $ac_prog = install &&
1412 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1413 # AIX install. It has an incompatible calling convention.
1415 elif test $ac_prog = install &&
1416 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1417 # program-specific install script used by HP pwplus--don't use.
1420 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1432 if test "${ac_cv_path_install+set}" = set; then
1433 INSTALL=$ac_cv_path_install
1435 # As a last resort, use the slow shell script. We don't cache a
1436 # path for INSTALL within a source directory, because that will
1437 # break other packages using the cache if that directory is
1438 # removed, or if the path is relative.
1439 INSTALL=$ac_install_sh
1442 echo "$as_me:$LINENO: result: $INSTALL" >&5
1443 echo "${ECHO_T}$INSTALL" >&6
1445 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1446 # It thinks the first close brace ends the variable substitution.
1447 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1449 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1451 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1453 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1454 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1457 echo timestamp > conftest.file
1458 # Do `set' in a subshell so we don't clobber the current shell's
1459 # arguments. Must try -L first in case configure is actually a
1460 # symlink; some systems play weird games with the mod time of symlinks
1461 # (eg FreeBSD returns the mod time of the symlink's containing
1464 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1465 if test "$*" = "X"; then
1467 set X `ls -t $srcdir/configure conftest.file`
1470 if test "$*" != "X $srcdir/configure conftest.file" \
1471 && test "$*" != "X conftest.file $srcdir/configure"; then
1473 # If neither matched, then we have a broken ls. This can happen
1474 # if, for instance, CONFIG_SHELL is bash and it inherits a
1475 # broken ls alias from the environment. This has actually
1476 # happened. Such a system could not be considered "sane".
1477 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1478 alias in your environment" >&5
1479 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1480 alias in your environment" >&2;}
1481 { (exit 1); exit 1; }; }
1484 test "$2" = conftest.file
1490 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1491 Check your system clock" >&5
1492 echo "$as_me: error: newly created file is older than distributed files!
1493 Check your system clock" >&2;}
1494 { (exit 1); exit 1; }; }
1496 echo "$as_me:$LINENO: result: yes" >&5
1497 echo "${ECHO_T}yes" >&6
1498 test "$program_prefix" != NONE &&
1499 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1500 # Use a double $ so make ignores it.
1501 test "$program_suffix" != NONE &&
1502 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1503 # Double any \ or $. echo might interpret backslashes.
1504 # By default was `s,x,x', remove it if useless.
1505 cat <<\_ACEOF >conftest.sed
1506 s/[\\$]/&&/g;s/;s,x,x,$//
1508 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1511 # expand $ac_aux_dir to an absolute path
1512 am_aux_dir=`cd $ac_aux_dir && pwd`
1514 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1515 # Use eval to expand $SHELL
1516 if eval "$MISSING --run true"; then
1517 am_missing_run="$MISSING --run "
1520 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1521 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1524 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1525 # We used to keeping the `.' as first argument, in order to
1526 # allow $(mkdir_p) to be used without argument. As in
1527 # $(mkdir_p) $(somedir)
1528 # where $(somedir) is conditionally defined. However this is wrong
1530 # 1. if the package is installed by a user who cannot write `.'
1531 # make install will fail,
1532 # 2. the above comment should most certainly read
1533 # $(mkdir_p) $(DESTDIR)$(somedir)
1534 # so it does not work when $(somedir) is undefined and
1535 # $(DESTDIR) is not.
1536 # To support the latter case, we have to write
1537 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1538 # so the `.' trick is pointless.
1539 mkdir_p='mkdir -p --'
1541 # On NextStep and OpenStep, the `mkdir' command does not
1542 # recognize any option. It will interpret all options as
1543 # directories to create, and then abort because `.' already
1545 for d in ./-p ./--version;
1547 test -d $d && rmdir $d
1549 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1550 if test -f "$ac_aux_dir/mkinstalldirs"; then
1551 mkdir_p='$(mkinstalldirs)'
1553 mkdir_p='$(install_sh) -d'
1557 for ac_prog in gawk mawk nawk awk
1559 # Extract the first word of "$ac_prog", so it can be a program name with args.
1560 set dummy $ac_prog; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_AWK+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$AWK"; then
1567 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_AWK="$ac_prog"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 if test -n "$AWK"; then
1587 echo "$as_me:$LINENO: result: $AWK" >&5
1588 echo "${ECHO_T}$AWK" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1594 test -n "$AWK" && break
1597 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1598 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1599 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1600 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 cat >conftest.make <<\_ACEOF
1605 @echo 'ac_maketemp="$(MAKE)"'
1607 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1608 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1609 if test -n "$ac_maketemp"; then
1610 eval ac_cv_prog_make_${ac_make}_set=yes
1612 eval ac_cv_prog_make_${ac_make}_set=no
1616 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1617 echo "$as_me:$LINENO: result: yes" >&5
1618 echo "${ECHO_T}yes" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1623 SET_MAKE="MAKE=${MAKE-make}"
1626 rm -rf .tst 2>/dev/null
1627 mkdir .tst 2>/dev/null
1628 if test -d .tst; then
1633 rmdir .tst 2>/dev/null
1635 DEPDIR="${am__leading_dot}deps"
1637 ac_config_commands="$ac_config_commands depfiles"
1640 am_make=${MAKE-make}
1641 cat > confinc << 'END'
1646 # If we don't find an include directive, just comment out the code.
1647 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1648 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1652 # First try GNU make style include.
1653 echo "include confinc" > confmf
1654 # We grep out `Entering directory' and `Leaving directory'
1655 # messages which can occur if `w' ends up in MAKEFLAGS.
1656 # In particular we don't look at `^make:' because GNU make might
1657 # be invoked under some other name (usually "gmake"), in which
1658 # case it prints its new name instead of `make'.
1659 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1664 # Now try BSD make style include.
1665 if test "$am__include" = "#"; then
1666 echo '.include "confinc"' > confmf
1667 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1668 am__include=.include
1675 echo "$as_me:$LINENO: result: $_am_result" >&5
1676 echo "${ECHO_T}$_am_result" >&6
1677 rm -f confinc confmf
1679 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1680 if test "${enable_dependency_tracking+set}" = set; then
1681 enableval="$enable_dependency_tracking"
1684 if test "x$enable_dependency_tracking" != xno; then
1685 am_depcomp="$ac_aux_dir/depcomp"
1690 if test "x$enable_dependency_tracking" != xno; then
1701 # Check whether --enable-multilib or --disable-multilib was given.
1702 if test "${enable_multilib+set}" = set; then
1703 enableval="$enable_multilib"
1704 case "${enableval}" in
1705 yes) multilib=yes ;;
1707 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1708 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1709 { (exit 1); exit 1; }; } ;;
1714 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1715 if test "${enable_target_optspace+set}" = set; then
1716 enableval="$enable_target_optspace"
1717 case "${enableval}" in
1718 yes) target_optspace=yes ;;
1719 no) target_optspace=no ;;
1720 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1721 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1722 { (exit 1); exit 1; }; } ;;
1727 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1728 if test "${enable_malloc_debugging+set}" = set; then
1729 enableval="$enable_malloc_debugging"
1730 case "${enableval}" in
1731 yes) malloc_debugging=yes ;;
1732 no) malloc_debugging=no ;;
1733 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1734 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1735 { (exit 1); exit 1; }; } ;;
1740 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1741 if test "${enable_newlib_multithread+set}" = set; then
1742 enableval="$enable_newlib_multithread"
1743 case "${enableval}" in
1744 yes) newlib_multithread=yes ;;
1745 no) newlib_multithread=no ;;
1746 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1747 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1748 { (exit 1); exit 1; }; } ;;
1751 newlib_multithread=yes
1753 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1754 if test "${enable_newlib_iconv+set}" = set; then
1755 enableval="$enable_newlib_iconv"
1756 if test "${newlib_iconv+set}" != set; then
1757 case "${enableval}" in
1758 yes) newlib_iconv=yes ;;
1759 no) newlib_iconv=no ;;
1760 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1761 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1762 { (exit 1); exit 1; }; } ;;
1766 newlib_iconv=${newlib_iconv}
1768 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1769 if test "${enable_newlib_elix_level+set}" = set; then
1770 enableval="$enable_newlib_elix_level"
1771 case "${enableval}" in
1772 0) newlib_elix_level=0 ;;
1773 1) newlib_elix_level=1 ;;
1774 2) newlib_elix_level=2 ;;
1775 3) newlib_elix_level=3 ;;
1776 4) newlib_elix_level=4 ;;
1777 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1778 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1779 { (exit 1); exit 1; }; } ;;
1784 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1785 if test "${enable_newlib_io_float+set}" = set; then
1786 enableval="$enable_newlib_io_float"
1787 case "${enableval}" in
1788 yes) newlib_io_float=yes ;;
1789 no) newlib_io_float=no ;;
1790 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1791 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1792 { (exit 1); exit 1; }; } ;;
1797 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1798 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1799 enableval="$enable_newlib_supplied_syscalls"
1800 case "${enableval}" in
1801 yes) newlib_may_supply_syscalls=yes ;;
1802 no) newlib_may_supply_syscalls=no ;;
1803 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1804 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1805 { (exit 1); exit 1; }; } ;;
1808 newlib_may_supply_syscalls=yes
1812 if test x${newlib_may_supply_syscalls} = xyes; then
1813 MAY_SUPPLY_SYSCALLS_TRUE=
1814 MAY_SUPPLY_SYSCALLS_FALSE='#'
1816 MAY_SUPPLY_SYSCALLS_TRUE='#'
1817 MAY_SUPPLY_SYSCALLS_FALSE=
1822 test -z "${with_target_subdir}" && with_target_subdir=.
1824 if test "${srcdir}" = "."; then
1825 if test "${with_target_subdir}" != "."; then
1826 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1828 newlib_basedir="${srcdir}/${with_multisrctop}../.."
1831 newlib_basedir="${srcdir}/../.."
1835 echo "$as_me:$LINENO: checking target system type" >&5
1836 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1837 if test "${ac_cv_target+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 ac_cv_target_alias=$target_alias
1841 test "x$ac_cv_target_alias" = "x" &&
1842 ac_cv_target_alias=$ac_cv_host_alias
1843 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1844 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1845 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1846 { (exit 1); exit 1; }; }
1849 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1850 echo "${ECHO_T}$ac_cv_target" >&6
1851 target=$ac_cv_target
1852 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1853 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1854 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1857 # The aliases save the names the user supplied, while $host etc.
1858 # will get canonicalized.
1859 test -n "$target_alias" &&
1860 test "$program_prefix$program_suffix$program_transform_name" = \
1862 program_prefix=${target_alias}-
1864 # test to see if srcdir already configured
1865 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1866 test -f $srcdir/config.status; then
1867 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1868 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1869 { (exit 1); exit 1; }; }
1872 # test whether we have cygpath
1873 if test -z "$CYGPATH_W"; then
1874 if (cygpath --version) >/dev/null 2>/dev/null; then
1875 CYGPATH_W='cygpath -w'
1882 # Define the identity of the package.
1887 # Some tools Automake needs.
1889 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1892 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1895 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1898 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1901 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1903 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1905 # Installed binaries are usually stripped using `strip' when the user
1906 # run `make install-strip'. However `strip' might not be the right
1907 # tool to use in cross-compilation environments, therefore Automake
1908 # will honor the `STRIP' environment variable to overrule this program.
1909 if test "$cross_compiling" != no; then
1910 if test -n "$ac_tool_prefix"; then
1911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1912 set dummy ${ac_tool_prefix}strip; ac_word=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_STRIP+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 if test -n "$STRIP"; then
1919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 test -z "$as_dir" && as_dir=.
1926 for ac_exec_ext in '' $ac_executable_extensions; do
1927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 STRIP=$ac_cv_prog_STRIP
1938 if test -n "$STRIP"; then
1939 echo "$as_me:$LINENO: result: $STRIP" >&5
1940 echo "${ECHO_T}$STRIP" >&6
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1947 if test -z "$ac_cv_prog_STRIP"; then
1949 # Extract the first word of "strip", so it can be a program name with args.
1950 set dummy strip; ac_word=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$ac_ct_STRIP"; then
1957 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_ac_ct_STRIP="strip"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1977 if test -n "$ac_ct_STRIP"; then
1978 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1979 echo "${ECHO_T}$ac_ct_STRIP" >&6
1981 echo "$as_me:$LINENO: result: no" >&5
1982 echo "${ECHO_T}no" >&6
1987 STRIP="$ac_cv_prog_STRIP"
1991 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1993 # We need awk for the "check" target. The system "awk" is bad on
1995 # Always define AMTAR for backward compatibility.
1997 AMTAR=${AMTAR-"${am_missing_run}tar"}
1999 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2006 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2007 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2008 # are probably using a cross compiler, which will not be able to fully
2009 # link an executable. This should really be fixed in autoconf
2018 # Extract the first word of "gcc", so it can be a program name with args.
2019 set dummy gcc; ac_word=$2
2020 echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2022 if test "${ac_cv_prog_CC+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC="$CC" # Let the user override the test.
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 if test -n "$CC"; then
2046 echo "$as_me:$LINENO: result: $CC" >&5
2047 echo "${ECHO_T}$CC" >&6
2049 echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6
2054 depcc="$CC" am_compiler_list=
2056 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2057 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2058 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2062 # We make a subdir and do the tests there. Otherwise we can end up
2063 # making bogus files that we don't know about and never remove. For
2064 # instance it was reported that on HP-UX the gcc test will end up
2065 # making a dummy file named `D' -- because `-MD' means `put the output
2068 # Copy depcomp to subdir because otherwise we won't find it if we're
2069 # using a relative directory.
2070 cp "$am_depcomp" conftest.dir
2072 # We will build objects and dependencies in a subdirectory because
2073 # it helps to detect inapplicable dependency modes. For instance
2074 # both Tru64's cc and ICC support -MD to output dependencies as a
2075 # side effect of compilation, but ICC will put the dependencies in
2076 # the current directory while Tru64 will put them in the object
2080 am_cv_CC_dependencies_compiler_type=none
2081 if test "$am_compiler_list" = ""; then
2082 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2084 for depmode in $am_compiler_list; do
2085 # Setup a source with many dependencies, because some compilers
2086 # like to wrap large dependency lists on column 80 (with \), and
2087 # we should not choose a depcomp mode which is confused by this.
2089 # We need to recreate these files for each test, as the compiler may
2090 # overwrite some of them when testing with obscure command lines.
2091 # This happens at least with the AIX C compiler.
2093 for i in 1 2 3 4 5 6; do
2094 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2095 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2096 # Solaris 8's {/usr,}/bin/sh.
2097 touch sub/conftst$i.h
2099 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2103 # after this tag, mechanisms are not by side-effect, so they'll
2104 # only be used when explicitly requested
2105 if test "x$enable_dependency_tracking" = xyes; then
2113 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2114 # mode. It turns out that the SunPro C++ compiler does not properly
2115 # handle `-M -o', and we need to detect this.
2116 if depmode=$depmode \
2117 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2118 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2119 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2120 >/dev/null 2>conftest.err &&
2121 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2122 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2123 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2124 # icc doesn't choke on unknown options, it will just issue warnings
2125 # or remarks (even with -Werror). So we grep stderr for any message
2126 # that says an option was ignored or not supported.
2127 # When given -MP, icc 7.0 and 7.1 complain thusly:
2128 # icc: Command line warning: ignoring option '-M'; no argument required
2129 # The diagnosis changed in icc 8.0:
2130 # icc: Command line remark: option '-MP' not supported
2131 if (grep 'ignoring option' conftest.err ||
2132 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2133 am_cv_CC_dependencies_compiler_type=$depmode
2142 am_cv_CC_dependencies_compiler_type=none
2146 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2147 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2148 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2153 test "x$enable_dependency_tracking" != xno \
2154 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2156 am__fastdepCC_FALSE='#'
2158 am__fastdepCC_TRUE='#'
2159 am__fastdepCC_FALSE=
2163 if test -z "$CC"; then
2164 # Extract the first word of "cc", so it can be a program name with args.
2165 set dummy cc; ac_word=$2
2166 echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2183 ac_prog_rejected=yes
2187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test $ac_prog_rejected = yes; then
2194 # We found a bogon in the path, so make sure we never use it.
2195 set dummy $ac_cv_prog_CC
2197 if test $# != 0; then
2198 # We chose a different compiler from the bogus one.
2199 # However, it has the same basename, so the bogon will be chosen
2200 # first if we set CC to just the basename; use the full file name.
2202 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2208 if test -n "$CC"; then
2209 echo "$as_me:$LINENO: result: $CC" >&5
2210 echo "${ECHO_T}$CC" >&6
2212 echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2216 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2217 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2218 { (exit 1); exit 1; }; }
2221 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2222 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2223 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 cat > conftest.c <<EOF
2231 if { ac_try='${CC-cc} -E conftest.c'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2237 ac_cv_c_compiler_gnu=yes
2239 ac_cv_c_compiler_gnu=no
2242 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2243 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2245 if test $ac_cv_c_compiler_gnu = yes; then
2247 ac_test_CFLAGS="${CFLAGS+set}"
2248 ac_save_CFLAGS="$CFLAGS"
2250 ac_test_CFLAGS=${CFLAGS+set}
2251 ac_save_CFLAGS=$CFLAGS
2253 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2254 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2255 if test "${ac_cv_prog_cc_g+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 cat >conftest.$ac_ext <<_ACEOF
2261 cat confdefs.h >>conftest.$ac_ext
2262 cat >>conftest.$ac_ext <<_ACEOF
2263 /* end confdefs.h. */
2273 rm -f conftest.$ac_objext
2274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2275 (eval $ac_compile) 2>conftest.er1
2277 grep -v '^ *+' conftest.er1 >conftest.err
2279 cat conftest.err >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); } &&
2282 { ac_try='test -z "$ac_c_werror_flag"
2283 || test ! -s conftest.err'
2284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }; } &&
2289 { ac_try='test -s conftest.$ac_objext'
2290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; }; then
2297 echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.$ac_ext >&5
2302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2304 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2305 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2306 if test "$ac_test_CFLAGS" = set; then
2307 CFLAGS=$ac_save_CFLAGS
2308 elif test $ac_cv_prog_cc_g = yes; then
2309 if test "$GCC" = yes; then
2315 if test "$GCC" = yes; then
2321 if test "$ac_test_CFLAGS" = set; then
2322 CFLAGS="$ac_save_CFLAGS"
2323 elif test $ac_cv_prog_cc_g = yes; then
2330 test "${CFLAGS+set}" = set || CFLAGS="-g"
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2336 set dummy ${ac_tool_prefix}as; ac_word=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_AS+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$AS"; then
2343 ac_cv_prog_AS="$AS" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_AS="${ac_tool_prefix}as"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test -n "$AS"; then
2363 echo "$as_me:$LINENO: result: $AS" >&5
2364 echo "${ECHO_T}$AS" >&6
2366 echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6
2371 if test -z "$ac_cv_prog_AS"; then
2373 # Extract the first word of "as", so it can be a program name with args.
2374 set dummy as; ac_word=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$ac_ct_AS"; then
2381 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_ac_ct_AS="as"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2400 if test -n "$ac_ct_AS"; then
2401 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2402 echo "${ECHO_T}$ac_ct_AS" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2413 if test -n "$ac_tool_prefix"; then
2414 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2415 set dummy ${ac_tool_prefix}ar; ac_word=$2
2416 echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2418 if test "${ac_cv_prog_AR+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 if test -n "$AR"; then
2422 ac_cv_prog_AR="$AR" # Let the user override the test.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2431 ac_cv_prog_AR="${ac_tool_prefix}ar"
2432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 if test -n "$AR"; then
2442 echo "$as_me:$LINENO: result: $AR" >&5
2443 echo "${ECHO_T}$AR" >&6
2445 echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6
2450 if test -z "$ac_cv_prog_AR"; then
2452 # Extract the first word of "ar", so it can be a program name with args.
2453 set dummy ar; ac_word=$2
2454 echo "$as_me:$LINENO: checking for $ac_word" >&5
2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2456 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 if test -n "$ac_ct_AR"; then
2460 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2469 ac_cv_prog_ac_ct_AR="ar"
2470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2479 if test -n "$ac_ct_AR"; then
2480 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2481 echo "${ECHO_T}$ac_ct_AR" >&6
2483 echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6
2492 if test -n "$ac_tool_prefix"; then
2493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2494 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2495 echo "$as_me:$LINENO: checking for $ac_word" >&5
2496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2497 if test "${ac_cv_prog_RANLIB+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 if test -n "$RANLIB"; then
2501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 RANLIB=$ac_cv_prog_RANLIB
2520 if test -n "$RANLIB"; then
2521 echo "$as_me:$LINENO: result: $RANLIB" >&5
2522 echo "${ECHO_T}$RANLIB" >&6
2524 echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6
2529 if test -z "$ac_cv_prog_RANLIB"; then
2530 ac_ct_RANLIB=$RANLIB
2531 # Extract the first word of "ranlib", so it can be a program name with args.
2532 set dummy ranlib; ac_word=$2
2533 echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2535 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$ac_ct_RANLIB"; then
2539 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_ac_ct_RANLIB="ranlib"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2558 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2559 if test -n "$ac_ct_RANLIB"; then
2560 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2561 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2567 RANLIB=$ac_ct_RANLIB
2569 RANLIB="$ac_cv_prog_RANLIB"
2573 # Find a good install program. We prefer a C program (faster),
2574 # so one script is as good as another. But avoid the broken or
2575 # incompatible versions:
2576 # SysV /etc/install, /usr/sbin/install
2577 # SunOS /usr/etc/install
2578 # IRIX /sbin/install
2580 # AmigaOS /C/install, which installs bootblocks on floppy discs
2581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2584 # OS/2's system install, which has a completely different semantic
2585 # ./install, which can be erroneously created by make from ./install.sh.
2586 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2587 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2588 if test -z "$INSTALL"; then
2589 if test "${ac_cv_path_install+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir=.
2597 # Account for people who put trailing slashes in PATH elements.
2599 ./ | .// | /cC/* | \
2600 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2601 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2604 # OSF1 and SCO ODT 3.0 have their own names for install.
2605 # Don't use installbsd from OSF since it installs stuff as root
2607 for ac_prog in ginstall scoinst install; do
2608 for ac_exec_ext in '' $ac_executable_extensions; do
2609 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2610 if test $ac_prog = install &&
2611 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2612 # AIX install. It has an incompatible calling convention.
2614 elif test $ac_prog = install &&
2615 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2616 # program-specific install script used by HP pwplus--don't use.
2619 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2631 if test "${ac_cv_path_install+set}" = set; then
2632 INSTALL=$ac_cv_path_install
2634 # As a last resort, use the slow shell script. We don't cache a
2635 # path for INSTALL within a source directory, because that will
2636 # break other packages using the cache if that directory is
2637 # removed, or if the path is relative.
2638 INSTALL=$ac_install_sh
2641 echo "$as_me:$LINENO: result: $INSTALL" >&5
2642 echo "${ECHO_T}$INSTALL" >&6
2644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2645 # It thinks the first close brace ends the variable substitution.
2646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2653 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2654 ac_given_INSTALL=$INSTALL
2656 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2657 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2658 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2659 if test "${enable_maintainer_mode+set}" = set; then
2660 enableval="$enable_maintainer_mode"
2661 USE_MAINTAINER_MODE=$enableval
2663 USE_MAINTAINER_MODE=no
2665 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2666 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2669 if test $USE_MAINTAINER_MODE = yes; then
2670 MAINTAINER_MODE_TRUE=
2671 MAINTAINER_MODE_FALSE='#'
2673 MAINTAINER_MODE_TRUE='#'
2674 MAINTAINER_MODE_FALSE=
2677 MAINT=$MAINTAINER_MODE_TRUE
2680 # By default we simply use the C compiler to build assembly code.
2682 test "${CCAS+set}" = set || CCAS=$CC
2683 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2688 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2689 # at least currently, we never actually build a program, so we never
2690 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2691 # fails, because we are probably configuring with a cross compiler
2692 # which can't create executables. So we include AC_EXEEXT to keep
2693 # automake happy, but we don't execute it, since we don't care about
2700 . ${newlib_basedir}/configure.host
2702 newlib_cflags="${newlib_cflags} -fno-builtin"
2704 NEWLIB_CFLAGS=${newlib_cflags}
2712 if test x${newlib_elix_level} = x0; then
2714 ELIX_LEVEL_0_FALSE='#'
2716 ELIX_LEVEL_0_TRUE='#'
2722 if test x${newlib_elix_level} = x1; then
2724 ELIX_LEVEL_1_FALSE='#'
2726 ELIX_LEVEL_1_TRUE='#'
2732 if test x${newlib_elix_level} = x2; then
2734 ELIX_LEVEL_2_FALSE='#'
2736 ELIX_LEVEL_2_TRUE='#'
2742 if test x${newlib_elix_level} = x3; then
2744 ELIX_LEVEL_3_FALSE='#'
2746 ELIX_LEVEL_3_TRUE='#'
2752 if test x${newlib_elix_level} = x4; then
2754 ELIX_LEVEL_4_FALSE='#'
2756 ELIX_LEVEL_4_TRUE='#'
2763 if test x${use_libtool} = xyes; then
2765 USE_LIBTOOL_FALSE='#'
2767 USE_LIBTOOL_TRUE='#'
2772 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
2773 # use oext, which is set in configure.host based on the target platform.
2787 if test "${use_libtool}" = "yes"; then
2789 # Check whether --enable-shared or --disable-shared was given.
2790 if test "${enable_shared+set}" = set; then
2791 enableval="$enable_shared"
2792 p=${PACKAGE-default}
2794 yes) enable_shared=yes ;;
2795 no) enable_shared=no ;;
2798 # Look at the argument we got. We use all the common list separators.
2799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2800 for pkg in $enableval; do
2801 if test "X$pkg" = "X$p"; then
2811 # Check whether --enable-static or --disable-static was given.
2812 if test "${enable_static+set}" = set; then
2813 enableval="$enable_static"
2814 p=${PACKAGE-default}
2816 yes) enable_static=yes ;;
2817 no) enable_static=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-fast-install or --disable-fast-install was given.
2834 if test "${enable_fast_install+set}" = set; then
2835 enableval="$enable_fast_install"
2836 p=${PACKAGE-default}
2838 yes) enable_fast_install=yes ;;
2839 no) enable_fast_install=no ;;
2841 enable_fast_install=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
2846 enable_fast_install=yes
2853 enable_fast_install=yes
2856 ac_cpp='$CPP $CPPFLAGS'
2857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2860 if test -n "$ac_tool_prefix"; then
2861 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2862 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2863 echo "$as_me:$LINENO: checking for $ac_word" >&5
2864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2865 if test "${ac_cv_prog_CC+set}" = set; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC="$CC" # Let the user override the test.
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 for ac_exec_ext in '' $ac_executable_extensions; do
2877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 if test -n "$CC"; then
2889 echo "$as_me:$LINENO: result: $CC" >&5
2890 echo "${ECHO_T}$CC" >&6
2892 echo "$as_me:$LINENO: result: no" >&5
2893 echo "${ECHO_T}no" >&6
2897 if test -z "$ac_cv_prog_CC"; then
2899 # Extract the first word of "gcc", so it can be a program name with args.
2900 set dummy gcc; ac_word=$2
2901 echo "$as_me:$LINENO: checking for $ac_word" >&5
2902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2903 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 if test -n "$ac_ct_CC"; then
2907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir=.
2914 for ac_exec_ext in '' $ac_executable_extensions; do
2915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2916 ac_cv_prog_ac_ct_CC="gcc"
2917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2926 if test -n "$ac_ct_CC"; then
2927 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2928 echo "${ECHO_T}$ac_ct_CC" >&6
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2939 if test -z "$CC"; then
2940 if test -n "$ac_tool_prefix"; then
2941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2942 set dummy ${ac_tool_prefix}cc; ac_word=$2
2943 echo "$as_me:$LINENO: checking for $ac_word" >&5
2944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2945 if test "${ac_cv_prog_CC+set}" = set; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 if test -n "$CC"; then
2949 ac_cv_prog_CC="$CC" # Let the user override the test.
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_CC="${ac_tool_prefix}cc"
2959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 if test -n "$CC"; then
2969 echo "$as_me:$LINENO: result: $CC" >&5
2970 echo "${ECHO_T}$CC" >&6
2972 echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6
2977 if test -z "$ac_cv_prog_CC"; then
2979 # Extract the first word of "cc", so it can be a program name with args.
2980 set dummy cc; ac_word=$2
2981 echo "$as_me:$LINENO: checking for $ac_word" >&5
2982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -n "$ac_ct_CC"; then
2987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_ac_ct_CC="cc"
2997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3006 if test -n "$ac_ct_CC"; then
3007 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3008 echo "${ECHO_T}$ac_ct_CC" >&6
3010 echo "$as_me:$LINENO: result: no" >&5
3011 echo "${ECHO_T}no" >&6
3020 if test -z "$CC"; then
3021 # Extract the first word of "cc", so it can be a program name with args.
3022 set dummy cc; ac_word=$2
3023 echo "$as_me:$LINENO: checking for $ac_word" >&5
3024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3025 if test "${ac_cv_prog_CC+set}" = set; then
3026 echo $ECHO_N "(cached) $ECHO_C" >&6
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC="$CC" # Let the user override the test.
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3040 ac_prog_rejected=yes
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 if test $ac_prog_rejected = yes; then
3051 # We found a bogon in the path, so make sure we never use it.
3052 set dummy $ac_cv_prog_CC
3054 if test $# != 0; then
3055 # We chose a different compiler from the bogus one.
3056 # However, it has the same basename, so the bogon will be chosen
3057 # first if we set CC to just the basename; use the full file name.
3059 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3065 if test -n "$CC"; then
3066 echo "$as_me:$LINENO: result: $CC" >&5
3067 echo "${ECHO_T}$CC" >&6
3069 echo "$as_me:$LINENO: result: no" >&5
3070 echo "${ECHO_T}no" >&6
3074 if test -z "$CC"; then
3075 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3079 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3080 echo "$as_me:$LINENO: checking for $ac_word" >&5
3081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3082 if test "${ac_cv_prog_CC+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC="$CC" # Let the user override the test.
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 if test -n "$CC"; then
3106 echo "$as_me:$LINENO: result: $CC" >&5
3107 echo "${ECHO_T}$CC" >&6
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3113 test -n "$CC" && break
3116 if test -z "$CC"; then
3120 # Extract the first word of "$ac_prog", so it can be a program name with args.
3121 set dummy $ac_prog; ac_word=$2
3122 echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3124 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 if test -n "$ac_ct_CC"; then
3128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_ac_ct_CC="$ac_prog"
3138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3147 if test -n "$ac_ct_CC"; then
3148 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3149 echo "${ECHO_T}$ac_ct_CC" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3155 test -n "$ac_ct_CC" && break
3164 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3165 See \`config.log' for more details." >&5
3166 echo "$as_me: error: no acceptable C compiler found in \$PATH
3167 See \`config.log' for more details." >&2;}
3168 { (exit 1); exit 1; }; }
3170 # Provide some information about the compiler.
3171 echo "$as_me:$LINENO:" \
3172 "checking for C compiler version" >&5
3173 ac_compiler=`set X $ac_compile; echo $2`
3174 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3175 (eval $ac_compiler --version </dev/null >&5) 2>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }
3179 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3180 (eval $ac_compiler -v </dev/null >&5) 2>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }
3184 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3185 (eval $ac_compiler -V </dev/null >&5) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }
3190 cat >conftest.$ac_ext <<_ACEOF
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3205 ac_clean_files_save=$ac_clean_files
3206 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3207 # Try to create an executable without -o first, disregard a.out.
3208 # It will help us diagnose broken compilers, and finding out an intuition
3210 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3211 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3212 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3213 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3214 (eval $ac_link_default) 2>&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; then
3218 # Find the output, starting from the most likely. This scheme is
3219 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3222 # Be careful to initialize this variable, since it used to be cached.
3223 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3225 # b.out is created by i960 compilers.
3226 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3228 test -f "$ac_file" || continue
3230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3233 # This is the source file.
3236 # We found the default executable, but exeext='' is most
3240 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3241 # FIXME: I believe we export ac_cv_exeext for Libtool,
3242 # but it would be cool to find out if it's true. Does anybody
3243 # maintain Libtool? --akim.
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3255 See \`config.log' for more details." >&5
3256 echo "$as_me: error: C compiler cannot create executables
3257 See \`config.log' for more details." >&2;}
3258 { (exit 77); exit 77; }; }
3261 ac_exeext=$ac_cv_exeext
3262 echo "$as_me:$LINENO: result: $ac_file" >&5
3263 echo "${ECHO_T}$ac_file" >&6
3265 # Check the compiler produces executables we can run. If not, either
3266 # the compiler is broken, or we cross compile.
3267 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3268 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3269 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3270 # If not cross compiling, check that we can run a simple program.
3271 if test "$cross_compiling" != yes; then
3272 if { ac_try='./$ac_file'
3273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); }; }; then
3280 if test "$cross_compiling" = maybe; then
3283 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3284 If you meant to cross compile, use \`--host'.
3285 See \`config.log' for more details." >&5
3286 echo "$as_me: error: cannot run C compiled programs.
3287 If you meant to cross compile, use \`--host'.
3288 See \`config.log' for more details." >&2;}
3289 { (exit 1); exit 1; }; }
3293 echo "$as_me:$LINENO: result: yes" >&5
3294 echo "${ECHO_T}yes" >&6
3296 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3297 ac_clean_files=$ac_clean_files_save
3298 # Check the compiler produces executables we can run. If not, either
3299 # the compiler is broken, or we cross compile.
3300 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3301 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3302 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3303 echo "${ECHO_T}$cross_compiling" >&6
3305 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3306 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3308 (eval $ac_link) 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; then
3312 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3313 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
3316 for ac_file in conftest.exe conftest conftest.*; do
3317 test -f "$ac_file" || continue
3319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3320 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3327 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3328 See \`config.log' for more details." >&5
3329 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3330 See \`config.log' for more details." >&2;}
3331 { (exit 1); exit 1; }; }
3334 rm -f conftest$ac_cv_exeext
3335 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3336 echo "${ECHO_T}$ac_cv_exeext" >&6
3338 rm -f conftest.$ac_ext
3339 EXEEXT=$ac_cv_exeext
3341 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3342 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3343 if test "${ac_cv_objext+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 cat >conftest.$ac_ext <<_ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3361 rm -f conftest.o conftest.obj
3362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3363 (eval $ac_compile) 2>&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; then
3367 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3370 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3379 See \`config.log' for more details." >&5
3380 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3381 See \`config.log' for more details." >&2;}
3382 { (exit 1); exit 1; }; }
3385 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3387 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3388 echo "${ECHO_T}$ac_cv_objext" >&6
3389 OBJEXT=$ac_cv_objext
3391 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3392 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3393 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 cat >conftest.$ac_ext <<_ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3414 rm -f conftest.$ac_objext
3415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3416 (eval $ac_compile) 2>conftest.er1
3418 grep -v '^ *+' conftest.er1 >conftest.err
3420 cat conftest.err >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); } &&
3423 { ac_try='test -z "$ac_c_werror_flag"
3424 || test ! -s conftest.err'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; } &&
3430 { ac_try='test -s conftest.$ac_objext'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); }; }; then
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3447 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3448 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3449 GCC=`test $ac_compiler_gnu = yes && echo yes`
3450 ac_test_CFLAGS=${CFLAGS+set}
3451 ac_save_CFLAGS=$CFLAGS
3453 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3454 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3455 if test "${ac_cv_prog_cc_g+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3473 rm -f conftest.$ac_objext
3474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 (eval $ac_compile) 2>conftest.er1
3477 grep -v '^ *+' conftest.er1 >conftest.err
3479 cat conftest.err >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } &&
3482 { ac_try='test -z "$ac_c_werror_flag"
3483 || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try='test -s conftest.$ac_objext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3504 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3505 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3506 if test "$ac_test_CFLAGS" = set; then
3507 CFLAGS=$ac_save_CFLAGS
3508 elif test $ac_cv_prog_cc_g = yes; then
3509 if test "$GCC" = yes; then
3515 if test "$GCC" = yes; then
3521 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3522 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3523 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 ac_cv_prog_cc_stdc=no
3528 cat >conftest.$ac_ext <<_ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3536 #include <sys/types.h>
3537 #include <sys/stat.h>
3538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3539 struct buf { int x; };
3540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3541 static char *e (p, i)
3547 static char *f (char * (*g) (char **, int), char **p, ...)
3552 s = g (p, va_arg (v,int));
3557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3558 function prototypes and stuff, but not '\xHH' hex character constants.
3559 These don't provoke an error unfortunately, instead are silently treated
3560 as 'x'. The following induces an error, until -std1 is added to get
3561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3562 array size at least. It's necessary to write '\x00'==0 to get something
3563 that's true only with -std1. */
3564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3566 int test (int i, double x);
3567 struct s1 {int (*f) (int a);};
3568 struct s2 {int (*f) (double a);};
3569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3580 # Don't try gcc -ansi; that turns off useful extensions and
3581 # breaks some systems' header files.
3582 # AIX -qlanglvl=ansi
3583 # Ultrix and OSF/1 -std1
3584 # HP-UX 10.20 and later -Ae
3585 # HP-UX older versions -Aa -D_HPUX_SOURCE
3586 # SVR4 -Xc -D__EXTENSIONS__
3587 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3589 CC="$ac_save_CC $ac_arg"
3590 rm -f conftest.$ac_objext
3591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3592 (eval $ac_compile) 2>conftest.er1
3594 grep -v '^ *+' conftest.er1 >conftest.err
3596 cat conftest.err >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } &&
3599 { ac_try='test -z "$ac_c_werror_flag"
3600 || test ! -s conftest.err'
3601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; } &&
3606 { ac_try='test -s conftest.$ac_objext'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; }; then
3612 ac_cv_prog_cc_stdc=$ac_arg
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3619 rm -f conftest.err conftest.$ac_objext
3621 rm -f conftest.$ac_ext conftest.$ac_objext
3626 case "x$ac_cv_prog_cc_stdc" in
3628 echo "$as_me:$LINENO: result: none needed" >&5
3629 echo "${ECHO_T}none needed" >&6 ;;
3631 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3632 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3633 CC="$CC $ac_cv_prog_cc_stdc" ;;
3636 # Some people use a C++ compiler to compile C. Since we use `exit',
3637 # in C++ we need to declare it. In case someone uses the same compiler
3638 # for both compiling C and C++ we need to have the C++ compiler decide
3639 # the declaration of exit, since it's the most demanding environment.
3640 cat >conftest.$ac_ext <<_ACEOF
3645 rm -f conftest.$ac_objext
3646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3647 (eval $ac_compile) 2>conftest.er1
3649 grep -v '^ *+' conftest.er1 >conftest.err
3651 cat conftest.err >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } &&
3654 { ac_try='test -z "$ac_c_werror_flag"
3655 || test ! -s conftest.err'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; } &&
3661 { ac_try='test -s conftest.$ac_objext'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; }; then
3667 for ac_declaration in \
3669 'extern "C" void std::exit (int) throw (); using std::exit;' \
3670 'extern "C" void std::exit (int); using std::exit;' \
3671 'extern "C" void exit (int) throw ();' \
3672 'extern "C" void exit (int);' \
3675 cat >conftest.$ac_ext <<_ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3691 rm -f conftest.$ac_objext
3692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3693 (eval $ac_compile) 2>conftest.er1
3695 grep -v '^ *+' conftest.er1 >conftest.err
3697 cat conftest.err >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } &&
3700 { ac_try='test -z "$ac_c_werror_flag"
3701 || test ! -s conftest.err'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; } &&
3707 { ac_try='test -s conftest.$ac_objext'
3708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }; }; then
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3721 cat >conftest.$ac_ext <<_ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3736 rm -f conftest.$ac_objext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3738 (eval $ac_compile) 2>conftest.er1
3740 grep -v '^ *+' conftest.er1 >conftest.err
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } &&
3745 { ac_try='test -z "$ac_c_werror_flag"
3746 || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } &&
3752 { ac_try='test -s conftest.$ac_objext'
3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; }; then
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3767 if test -n "$ac_declaration"; then
3768 echo '#ifdef __cplusplus' >>confdefs.h
3769 echo $ac_declaration >>confdefs.h
3770 echo '#endif' >>confdefs.h
3774 echo "$as_me: failed program was:" >&5
3775 sed 's/^/| /' conftest.$ac_ext >&5
3778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3780 ac_cpp='$CPP $CPPFLAGS'
3781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3785 depcc="$CC" am_compiler_list=
3787 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3788 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3789 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3793 # We make a subdir and do the tests there. Otherwise we can end up
3794 # making bogus files that we don't know about and never remove. For
3795 # instance it was reported that on HP-UX the gcc test will end up
3796 # making a dummy file named `D' -- because `-MD' means `put the output
3799 # Copy depcomp to subdir because otherwise we won't find it if we're
3800 # using a relative directory.
3801 cp "$am_depcomp" conftest.dir
3803 # We will build objects and dependencies in a subdirectory because
3804 # it helps to detect inapplicable dependency modes. For instance
3805 # both Tru64's cc and ICC support -MD to output dependencies as a
3806 # side effect of compilation, but ICC will put the dependencies in
3807 # the current directory while Tru64 will put them in the object
3811 am_cv_CC_dependencies_compiler_type=none
3812 if test "$am_compiler_list" = ""; then
3813 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3815 for depmode in $am_compiler_list; do
3816 # Setup a source with many dependencies, because some compilers
3817 # like to wrap large dependency lists on column 80 (with \), and
3818 # we should not choose a depcomp mode which is confused by this.
3820 # We need to recreate these files for each test, as the compiler may
3821 # overwrite some of them when testing with obscure command lines.
3822 # This happens at least with the AIX C compiler.
3824 for i in 1 2 3 4 5 6; do
3825 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3826 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3827 # Solaris 8's {/usr,}/bin/sh.
3828 touch sub/conftst$i.h
3830 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3834 # after this tag, mechanisms are not by side-effect, so they'll
3835 # only be used when explicitly requested
3836 if test "x$enable_dependency_tracking" = xyes; then
3844 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3845 # mode. It turns out that the SunPro C++ compiler does not properly
3846 # handle `-M -o', and we need to detect this.
3847 if depmode=$depmode \
3848 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3849 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3850 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3851 >/dev/null 2>conftest.err &&
3852 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3853 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3854 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3855 # icc doesn't choke on unknown options, it will just issue warnings
3856 # or remarks (even with -Werror). So we grep stderr for any message
3857 # that says an option was ignored or not supported.
3858 # When given -MP, icc 7.0 and 7.1 complain thusly:
3859 # icc: Command line warning: ignoring option '-M'; no argument required
3860 # The diagnosis changed in icc 8.0:
3861 # icc: Command line remark: option '-MP' not supported
3862 if (grep 'ignoring option' conftest.err ||
3863 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3864 am_cv_CC_dependencies_compiler_type=$depmode
3873 am_cv_CC_dependencies_compiler_type=none
3877 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3878 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3879 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3884 test "x$enable_dependency_tracking" != xno \
3885 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3887 am__fastdepCC_FALSE='#'
3889 am__fastdepCC_TRUE='#'
3890 am__fastdepCC_FALSE=
3895 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3896 if test "${with_gnu_ld+set}" = set; then
3897 withval="$with_gnu_ld"
3898 test "$withval" = no || with_gnu_ld=yes
3903 if test "$GCC" = yes; then
3904 # Check if gcc -print-prog-name=ld gives a path.
3905 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3906 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3909 # gcc leaves a trailing carriage return which upsets mingw
3910 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3912 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3915 # Accept absolute paths.
3916 [\\/]* | [A-Za-z]:[\\/]*)
3917 re_direlt='/[^/][^/]*/\.\./'
3918 # Canonicalize the path of ld
3919 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3920 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3921 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3923 test -z "$LD" && LD="$ac_prog"
3926 # If it fails, then pretend we aren't using GCC.
3930 # If it is relative, then search for the first ld in PATH.
3934 elif test "$with_gnu_ld" = yes; then
3935 echo "$as_me:$LINENO: checking for GNU ld" >&5
3936 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3938 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3939 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3941 if test "${lt_cv_path_LD+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 if test -z "$LD"; then
3945 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3946 for ac_dir in $PATH; do
3947 test -z "$ac_dir" && ac_dir=.
3948 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3949 lt_cv_path_LD="$ac_dir/$ac_prog"
3950 # Check to see if the program is GNU ld. I'd rather use --version,
3951 # but apparently some GNU ld's only accept -v.
3952 # Break only if it was the GNU/non-GNU ld that we prefer.
3953 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3954 test "$with_gnu_ld" != no && break
3956 test "$with_gnu_ld" != yes && break
3962 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3967 if test -n "$LD"; then
3968 echo "$as_me:$LINENO: result: $LD" >&5
3969 echo "${ECHO_T}$LD" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3974 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3975 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3976 { (exit 1); exit 1; }; }
3977 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3978 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3979 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3983 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3984 lt_cv_prog_gnu_ld=yes
3986 lt_cv_prog_gnu_ld=no
3989 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3990 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3991 with_gnu_ld=$lt_cv_prog_gnu_ld
3994 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3995 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3996 if test "${lt_cv_ld_reload_flag+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 lt_cv_ld_reload_flag='-r'
4001 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4002 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4003 reload_flag=$lt_cv_ld_reload_flag
4004 test -n "$reload_flag" && reload_flag=" $reload_flag"
4006 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4007 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4008 if test "${lt_cv_path_NM+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 if test -n "$NM"; then
4012 # Let the user override the test.
4015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4016 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4017 test -z "$ac_dir" && ac_dir=.
4018 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4019 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4020 # Check to see if the nm accepts a BSD-compat flag.
4021 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4022 # nm: unknown option "B" ignored
4023 # Tru64's nm complains that /dev/null is an invalid object file
4024 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4025 lt_cv_path_NM="$tmp_nm -B"
4027 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4028 lt_cv_path_NM="$tmp_nm -p"
4031 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4032 continue # so that we can try to find one that supports BSD flags
4037 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4042 echo "$as_me:$LINENO: result: $NM" >&5
4043 echo "${ECHO_T}$NM" >&6
4045 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4046 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4048 if test "$LN_S" = "ln -s"; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4052 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4053 echo "${ECHO_T}no, using $LN_S" >&6
4056 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4057 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4058 if test "${lt_cv_deplibs_check_method+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 lt_cv_file_magic_cmd='$MAGIC_CMD'
4062 lt_cv_file_magic_test_file=
4063 lt_cv_deplibs_check_method='unknown'
4064 # Need to set the preceding variable on all platforms that support
4065 # interlibrary dependencies.
4066 # 'none' -- dependencies not supported.
4067 # `unknown' -- same as none, but documents that we really don't know.
4068 # 'pass_all' -- all dependencies passed with no checks.
4069 # 'test_compile' -- check by making test program.
4070 # 'file_magic [regex]' -- check by looking for files in library path
4071 # which responds to the $file_magic_cmd with a given egrep regex.
4072 # If you have `file' or equivalent on your system and you're not sure
4073 # whether `pass_all' will *always* work, you probably want this one.
4077 lt_cv_deplibs_check_method=pass_all
4081 lt_cv_deplibs_check_method=pass_all
4085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4086 lt_cv_file_magic_cmd='/usr/bin/file -L'
4087 lt_cv_file_magic_test_file=/shlib/libc.so
4090 cygwin* | mingw* |pw32*)
4091 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4092 lt_cv_file_magic_cmd='$OBJDUMP -f'
4095 darwin* | rhapsody*)
4096 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4097 lt_cv_file_magic_cmd='/usr/bin/file -L'
4099 rhapsody* | darwin1.012)
4100 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4103 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4109 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4112 # Not sure whether the presence of OpenBSD here was a mistake.
4113 # Let's accept both of them until this is cleared up.
4114 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4115 lt_cv_file_magic_cmd=/usr/bin/file
4116 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4120 lt_cv_deplibs_check_method=pass_all
4125 lt_cv_deplibs_check_method=pass_all
4131 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4132 lt_cv_file_magic_cmd=/usr/bin/file
4133 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4137 lt_cv_file_magic_cmd=/usr/bin/file
4138 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4146 # this will be overridden with pass_all, but let us keep it just in case
4147 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4151 *-32|*"-32 ") libmagic=32-bit;;
4152 *-n32|*"-n32 ") libmagic=N32;;
4153 *-64|*"-64 ") libmagic=64-bit;;
4154 *) libmagic=never-match;;
4156 # this will be overridden with pass_all, but let us keep it just in case
4157 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4160 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4161 lt_cv_deplibs_check_method=pass_all
4164 # This must be Linux ELF.
4165 linux-gnu*|linux-newlib*)
4167 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4168 lt_cv_deplibs_check_method=pass_all ;;
4170 # glibc up to 2.1.1 does not perform some relocations on ARM
4171 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4173 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4177 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4178 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4180 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4186 lt_cv_file_magic_cmd=/usr/bin/file
4187 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4190 osf3* | osf4* | osf5*)
4191 # this will be overridden with pass_all, but let us keep it just in case
4192 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4193 lt_cv_file_magic_test_file=/shlib/libc.so
4194 lt_cv_deplibs_check_method=pass_all
4198 lt_cv_deplibs_check_method=pass_all
4202 lt_cv_deplibs_check_method=pass_all
4203 lt_cv_file_magic_test_file=/lib/libc.so
4206 sysv5uw[78]* | sysv4*uw2*)
4207 lt_cv_deplibs_check_method=pass_all
4210 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4211 case $host_vendor in
4213 lt_cv_deplibs_check_method=pass_all
4216 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]'
4217 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4224 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4225 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4226 file_magic_cmd=$lt_cv_file_magic_cmd
4227 deplibs_check_method=$lt_cv_deplibs_check_method
4232 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4234 # Only perform the check for file, if the check method requires it
4235 case $deplibs_check_method in
4237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4238 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4239 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4240 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4251 ac_save_MAGIC_CMD="$MAGIC_CMD"
4252 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4253 ac_dummy="/usr/bin:$PATH"
4254 for ac_dir in $ac_dummy; do
4255 test -z "$ac_dir" && ac_dir=.
4256 if test -f $ac_dir/${ac_tool_prefix}file; then
4257 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4258 if test -n "$file_magic_test_file"; then
4259 case $deplibs_check_method in
4261 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4263 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4264 egrep "$file_magic_regex" > /dev/null; then
4269 *** Warning: the command libtool uses to detect shared libraries,
4270 *** $file_magic_cmd, produces output that libtool cannot recognize.
4271 *** The result is that libtool may fail to recognize shared libraries
4272 *** as such. This will affect the creation of libtool libraries that
4273 *** depend on shared libraries, but programs linked with such libtool
4274 *** libraries will work regardless of this problem. Nevertheless, you
4275 *** may want to report the problem to your system manager and/or to
4276 *** bug-libtool@gnu.org
4286 MAGIC_CMD="$ac_save_MAGIC_CMD"
4291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4292 if test -n "$MAGIC_CMD"; then
4293 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4294 echo "${ECHO_T}$MAGIC_CMD" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4300 if test -z "$lt_cv_path_MAGIC_CMD"; then
4301 if test -n "$ac_tool_prefix"; then
4302 echo "$as_me:$LINENO: checking for file" >&5
4303 echo $ECHO_N "checking for file... $ECHO_C" >&6
4304 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4312 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4315 ac_save_MAGIC_CMD="$MAGIC_CMD"
4316 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4317 ac_dummy="/usr/bin:$PATH"
4318 for ac_dir in $ac_dummy; do
4319 test -z "$ac_dir" && ac_dir=.
4320 if test -f $ac_dir/file; then
4321 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4322 if test -n "$file_magic_test_file"; then
4323 case $deplibs_check_method in
4325 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4328 egrep "$file_magic_regex" > /dev/null; then
4333 *** Warning: the command libtool uses to detect shared libraries,
4334 *** $file_magic_cmd, produces output that libtool cannot recognize.
4335 *** The result is that libtool may fail to recognize shared libraries
4336 *** as such. This will affect the creation of libtool libraries that
4337 *** depend on shared libraries, but programs linked with such libtool
4338 *** libraries will work regardless of this problem. Nevertheless, you
4339 *** may want to report the problem to your system manager and/or to
4340 *** bug-libtool@gnu.org
4350 MAGIC_CMD="$ac_save_MAGIC_CMD"
4355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4356 if test -n "$MAGIC_CMD"; then
4357 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4358 echo "${ECHO_T}$MAGIC_CMD" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4376 echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4378 if test "${ac_cv_prog_RANLIB+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if test -n "$RANLIB"; then
4382 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 RANLIB=$ac_cv_prog_RANLIB
4401 if test -n "$RANLIB"; then
4402 echo "$as_me:$LINENO: result: $RANLIB" >&5
4403 echo "${ECHO_T}$RANLIB" >&6
4405 echo "$as_me:$LINENO: result: no" >&5
4406 echo "${ECHO_T}no" >&6
4410 if test -z "$ac_cv_prog_RANLIB"; then
4411 ac_ct_RANLIB=$RANLIB
4412 # Extract the first word of "ranlib", so it can be a program name with args.
4413 set dummy ranlib; ac_word=$2
4414 echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4416 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 if test -n "$ac_ct_RANLIB"; then
4420 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_ac_ct_RANLIB="ranlib"
4430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4439 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4440 if test -n "$ac_ct_RANLIB"; then
4441 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4442 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4444 echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6
4448 RANLIB=$ac_ct_RANLIB
4450 RANLIB="$ac_cv_prog_RANLIB"
4453 if test -n "$ac_tool_prefix"; then
4454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4455 set dummy ${ac_tool_prefix}strip; ac_word=$2
4456 echo "$as_me:$LINENO: checking for $ac_word" >&5
4457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4458 if test "${ac_cv_prog_STRIP+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 if test -n "$STRIP"; then
4462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 STRIP=$ac_cv_prog_STRIP
4481 if test -n "$STRIP"; then
4482 echo "$as_me:$LINENO: result: $STRIP" >&5
4483 echo "${ECHO_T}$STRIP" >&6
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4490 if test -z "$ac_cv_prog_STRIP"; then
4492 # Extract the first word of "strip", so it can be a program name with args.
4493 set dummy strip; ac_word=$2
4494 echo "$as_me:$LINENO: checking for $ac_word" >&5
4495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4496 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 if test -n "$ac_ct_STRIP"; then
4500 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4509 ac_cv_prog_ac_ct_STRIP="strip"
4510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4519 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4520 if test -n "$ac_ct_STRIP"; then
4521 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4522 echo "${ECHO_T}$ac_ct_STRIP" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 STRIP="$ac_cv_prog_STRIP"
4534 # Check for any special flags to pass to ltconfig.
4535 libtool_flags="--cache-file=$cache_file"
4536 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4537 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4538 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4539 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4540 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4543 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4544 if test "${enable_libtool_lock+set}" = set; then
4545 enableval="$enable_libtool_lock"
4548 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4549 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4552 # Check whether --with-pic or --without-pic was given.
4553 if test "${with_pic+set}" = set; then
4559 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4560 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4562 # Some flags need to be propagated to the compiler or linker for good
4566 # Find out which ABI we are using.
4567 echo '#line 4567 "configure"' > conftest.$ac_ext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; then
4573 case `/usr/bin/file conftest.$ac_objext` in
4589 # Find out which ABI we are using.
4590 echo 'int i;' > conftest.$ac_ext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; then
4596 case "`/usr/bin/file conftest.o`" in
4609 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4610 SAVE_CFLAGS="$CFLAGS"
4611 CFLAGS="$CFLAGS -belf"
4612 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4613 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4614 if test "${lt_cv_cc_needs_belf+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4625 cat >conftest.$ac_ext <<_ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4640 rm -f conftest.$ac_objext conftest$ac_exeext
4641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4642 (eval $ac_link) 2>conftest.er1
4644 grep -v '^ *+' conftest.er1 >conftest.err
4646 cat conftest.err >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try='test -z "$ac_c_werror_flag"
4650 || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; } &&
4656 { ac_try='test -s conftest$ac_exeext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 lt_cv_cc_needs_belf=yes
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.$ac_ext >&5
4667 lt_cv_cc_needs_belf=no
4669 rm -f conftest.err conftest.$ac_objext \
4670 conftest$ac_exeext conftest.$ac_ext
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4679 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4680 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4681 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4682 CFLAGS="$SAVE_CFLAGS"
4690 # Save cache, so that ltconfig can load it
4691 cat >confcache <<\_ACEOF
4692 # This file is a shell script that caches the results of configure
4693 # tests run on this system so they can be shared between configure
4694 # scripts and configure runs, see configure's option --config-cache.
4695 # It is not useful on other systems. If it contains results you don't
4696 # want to keep, you may remove or edit it.
4698 # config.status only pays attention to the cache file if you give it
4699 # the --recheck option to rerun configure.
4701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4707 # The following way of writing the cache mishandles newlines in values,
4708 # but we know of no workaround that is simple, portable, and efficient.
4709 # So, don't put newlines in cache variables' values.
4710 # Ultrix sh set writes to stderr and can't be redirected directly,
4711 # and sets the high bit in the cache file unless we assign to the vars.
4714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4716 # `set' does not quote correctly, so add quotes (double-quote
4717 # substitution turns \\\\ into \\, and sed turns \\ into \).
4720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4723 # `set' quotes correctly as required by POSIX, so do not add quotes.
4725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4736 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4737 if test -w $cache_file; then
4738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4739 cat confcache >$cache_file
4741 echo "not updating unwritable cache $cache_file"
4746 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4747 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4748 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4749 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4750 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4751 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4752 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4753 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4754 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4755 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4756 echo "$as_me: error: libtool configure failed" >&2;}
4757 { (exit 1); exit 1; }; }
4759 # Reload cache, that may have been modified by ltconfig
4760 if test -r "$cache_file"; then
4761 # Some versions of bash will fail to source /dev/null (special
4762 # files actually), so we avoid doing that.
4763 if test -f "$cache_file"; then
4764 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4765 echo "$as_me: loading cache $cache_file" >&6;}
4767 [\\/]* | ?:[\\/]* ) . $cache_file;;
4768 *) . ./$cache_file;;
4772 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4773 echo "$as_me: creating cache $cache_file" >&6;}
4778 # This can be used to rebuild libtool when needed
4779 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4781 # Always use our own libtool.
4782 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4784 # Redirect the config.log output again, so that the ltconfig log is not
4785 # clobbered by the next message.
4786 exec 5>>./config.log
4797 if test -n "${libm_machine_dir}"; then
4798 case ${libm_machine_dir} in
4801 subdirs="$subdirs i386"
4804 if test "${use_libtool}" = "yes"; then
4805 machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext}
4807 machlib=${libm_machine_dir}/lib.${aext}
4816 if test x${libm_machine_dir} != x; then
4817 HAVE_LIBM_MACHINE_DIR_TRUE=
4818 HAVE_LIBM_MACHINE_DIR_FALSE='#'
4820 HAVE_LIBM_MACHINE_DIR_TRUE='#'
4821 HAVE_LIBM_MACHINE_DIR_FALSE=
4824 ac_config_files="$ac_config_files Makefile"
4825 cat >confcache <<\_ACEOF
4826 # This file is a shell script that caches the results of configure
4827 # tests run on this system so they can be shared between configure
4828 # scripts and configure runs, see configure's option --config-cache.
4829 # It is not useful on other systems. If it contains results you don't
4830 # want to keep, you may remove or edit it.
4832 # config.status only pays attention to the cache file if you give it
4833 # the --recheck option to rerun configure.
4835 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4836 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4841 # The following way of writing the cache mishandles newlines in values,
4842 # but we know of no workaround that is simple, portable, and efficient.
4843 # So, don't put newlines in cache variables' values.
4844 # Ultrix sh set writes to stderr and can't be redirected directly,
4845 # and sets the high bit in the cache file unless we assign to the vars.
4848 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4850 # `set' does not quote correctly, so add quotes (double-quote
4851 # substitution turns \\\\ into \\, and sed turns \\ into \).
4854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4857 # `set' quotes correctly as required by POSIX, so do not add quotes.
4859 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4866 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4868 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4870 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4871 if test -w $cache_file; then
4872 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4873 cat confcache >$cache_file
4875 echo "not updating unwritable cache $cache_file"
4880 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4881 # Let make expand exec_prefix.
4882 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4884 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4885 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4886 # trailing colons and then remove the whole line if VPATH becomes empty
4887 # (actually we leave an empty line to preserve line numbers).
4888 if test "x$srcdir" = x.; then
4889 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4890 s/:*\$(srcdir):*/:/;
4891 s/:*\${srcdir}:*/:/;
4893 s/^\([^=]*=[ ]*\):*/\1/;
4899 # Transform confdefs.h into DEFS.
4900 # Protect against shell expansion while executing Makefile rules.
4901 # Protect against Makefile macro expansion.
4903 # If the first sed substitution is executed (which looks for macros that
4904 # take arguments), then we branch to the quote section. Otherwise,
4905 # look for a macro that doesn't take arguments.
4906 cat >confdef2opt.sed <<\_ACEOF
4909 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4911 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4915 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4921 # We use echo to avoid assuming a particular line-breaking character.
4922 # The extra dot is to prevent the shell from consuming trailing
4923 # line-breaks from the sub-command output. A line-break within
4924 # single-quotes doesn't work because, if this script is created in a
4925 # platform that uses two characters for line-breaks (e.g., DOS), tr
4927 ac_LF_and_DOT=`echo; echo .`
4928 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4929 rm -f confdef2opt.sed
4934 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4935 # 1. Remove the extension, and $U if already installed.
4936 ac_i=`echo "$ac_i" |
4937 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4939 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4940 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4944 LTLIBOBJS=$ac_ltlibobjs
4947 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
4948 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4949 Usually this means the macro was only invoked conditionally." >&5
4950 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4951 Usually this means the macro was only invoked conditionally." >&2;}
4952 { (exit 1); exit 1; }; }
4954 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4955 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4956 Usually this means the macro was only invoked conditionally." >&5
4957 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4958 Usually this means the macro was only invoked conditionally." >&2;}
4959 { (exit 1); exit 1; }; }
4961 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4962 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4963 Usually this means the macro was only invoked conditionally." >&5
4964 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4965 Usually this means the macro was only invoked conditionally." >&2;}
4966 { (exit 1); exit 1; }; }
4968 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4969 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4970 Usually this means the macro was only invoked conditionally." >&5
4971 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4972 Usually this means the macro was only invoked conditionally." >&2;}
4973 { (exit 1); exit 1; }; }
4975 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
4976 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
4977 Usually this means the macro was only invoked conditionally." >&5
4978 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
4979 Usually this means the macro was only invoked conditionally." >&2;}
4980 { (exit 1); exit 1; }; }
4982 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
4983 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
4984 Usually this means the macro was only invoked conditionally." >&5
4985 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
4986 Usually this means the macro was only invoked conditionally." >&2;}
4987 { (exit 1); exit 1; }; }
4989 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
4990 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
4991 Usually this means the macro was only invoked conditionally." >&5
4992 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
4993 Usually this means the macro was only invoked conditionally." >&2;}
4994 { (exit 1); exit 1; }; }
4996 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
4997 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
4998 Usually this means the macro was only invoked conditionally." >&5
4999 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5000 Usually this means the macro was only invoked conditionally." >&2;}
5001 { (exit 1); exit 1; }; }
5003 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5004 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5005 Usually this means the macro was only invoked conditionally." >&5
5006 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5007 Usually this means the macro was only invoked conditionally." >&2;}
5008 { (exit 1); exit 1; }; }
5010 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5011 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5012 Usually this means the macro was only invoked conditionally." >&5
5013 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5014 Usually this means the macro was only invoked conditionally." >&2;}
5015 { (exit 1); exit 1; }; }
5017 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5018 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5019 Usually this means the macro was only invoked conditionally." >&5
5020 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5021 Usually this means the macro was only invoked conditionally." >&2;}
5022 { (exit 1); exit 1; }; }
5024 if test -z "${HAVE_LIBM_MACHINE_DIR_TRUE}" && test -z "${HAVE_LIBM_MACHINE_DIR_FALSE}"; then
5025 { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBM_MACHINE_DIR\" was never defined.
5026 Usually this means the macro was only invoked conditionally." >&5
5027 echo "$as_me: error: conditional \"HAVE_LIBM_MACHINE_DIR\" was never defined.
5028 Usually this means the macro was only invoked conditionally." >&2;}
5029 { (exit 1); exit 1; }; }
5032 : ${CONFIG_STATUS=./config.status}
5033 ac_clean_files_save=$ac_clean_files
5034 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5035 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5036 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5037 cat >$CONFIG_STATUS <<_ACEOF
5039 # Generated by $as_me.
5040 # Run this file to recreate the current configuration.
5041 # Compiler output produced by configure, useful for debugging
5042 # configure, is in config.log if it exists.
5047 SHELL=\${CONFIG_SHELL-$SHELL}
5050 cat >>$CONFIG_STATUS <<\_ACEOF
5051 ## --------------------- ##
5052 ## M4sh Initialization. ##
5053 ## --------------------- ##
5055 # Be Bourne compatible
5056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5059 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5060 # is contrary to our usage. Disable this feature.
5061 alias -g '${1+"$@"}'='"$@"'
5062 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5065 DUALCASE=1; export DUALCASE # for MKS sh
5067 # Support unset when possible.
5068 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5075 # Work around bugs in pre-3.0 UWIN ksh.
5076 $as_unset ENV MAIL MAILPATH
5083 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5084 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5085 LC_TELEPHONE LC_TIME
5087 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5088 eval $as_var=C; export $as_var
5094 # Required to use basename.
5095 if expr a : '\(a\)' >/dev/null 2>&1; then
5101 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5102 as_basename=basename
5108 # Name of the executable.
5109 as_me=`$as_basename "$0" ||
5110 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5111 X"$0" : 'X\(//\)$' \| \
5112 X"$0" : 'X\(/\)$' \| \
5113 . : '\(.\)' 2>/dev/null ||
5115 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5116 /^X\/\(\/\/\)$/{ s//\1/; q; }
5117 /^X\/\(\/\).*/{ s//\1/; q; }
5121 # PATH needs CR, and LINENO needs CR and PATH.
5122 # Avoid depending upon Character Ranges.
5123 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5124 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5125 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5126 as_cr_digits='0123456789'
5127 as_cr_alnum=$as_cr_Letters$as_cr_digits
5129 # The user is always right.
5130 if test "${PATH_SEPARATOR+set}" != set; then
5131 echo "#! /bin/sh" >conf$$.sh
5132 echo "exit 0" >>conf$$.sh
5134 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5146 test "x$as_lineno_1" != "x$as_lineno_2" &&
5147 test "x$as_lineno_3" = "x$as_lineno_2" || {
5148 # Find who we are. Look in the path if we contain no path at all
5151 *[\\/]* ) as_myself=$0 ;;
5152 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5162 # We did not find ourselves, most probably we were run as `sh COMMAND'
5163 # in which case we are not to be found in the path.
5164 if test "x$as_myself" = x; then
5167 if test ! -f "$as_myself"; then
5168 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5169 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5170 { (exit 1); exit 1; }; }
5172 case $CONFIG_SHELL in
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5178 test -z "$as_dir" && as_dir=.
5179 for as_base in sh bash ksh sh5; do
5182 if ("$as_dir/$as_base" -c '
5185 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5186 test "x$as_lineno_1" != "x$as_lineno_2" &&
5187 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5188 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5189 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5190 CONFIG_SHELL=$as_dir/$as_base
5192 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5200 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5201 # uniformly replaced by the line number. The first 'sed' inserts a
5202 # line-number line before each line; the second 'sed' does the real
5203 # work. The second script uses 'N' to pair each line-number line
5204 # with the numbered line, and appends trailing '-' during
5205 # substitution so that $LINENO is not a special case at line end.
5206 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5207 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5208 sed '=' <$as_myself |
5213 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5216 s,^['$as_cr_digits']*\n,,
5218 chmod +x $as_me.lineno ||
5219 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5220 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5221 { (exit 1); exit 1; }; }
5223 # Don't try to exec as it changes $[0], causing all sort of problems
5224 # (the dirname of $[0] is not the place where we might find the
5225 # original and so on. Autoconf is especially sensible to this).
5227 # Exit status is that of the last command.
5232 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5233 *c*,-n*) ECHO_N= ECHO_C='
5235 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5236 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5239 if expr a : '\(a\)' >/dev/null 2>&1; then
5245 rm -f conf$$ conf$$.exe conf$$.file
5247 if ln -s conf$$.file conf$$ 2>/dev/null; then
5248 # We could just check for DJGPP; but this test a) works b) is more generic
5249 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5250 if test -f conf$$.exe; then
5251 # Don't use ln at all; we don't have any links
5256 elif ln conf$$.file conf$$ 2>/dev/null; then
5261 rm -f conf$$ conf$$.exe conf$$.file
5263 if mkdir -p . 2>/dev/null; then
5266 test -d ./-p && rmdir ./-p
5270 as_executable_p="test -f"
5272 # Sed expression to map a string onto a valid CPP name.
5273 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5275 # Sed expression to map a string onto a valid variable name.
5276 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5280 # We need space, tab and new line, in precisely that order.
5290 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5291 # report actual input values of CONFIG_FILES etc. instead of their
5292 # values after options handling. Logging --version etc. is OK.
5296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5297 ## Running $as_me. ##
5302 This file was extended by $as_me, which was
5303 generated by GNU Autoconf 2.59. Invocation command line was
5305 CONFIG_FILES = $CONFIG_FILES
5306 CONFIG_HEADERS = $CONFIG_HEADERS
5307 CONFIG_LINKS = $CONFIG_LINKS
5308 CONFIG_COMMANDS = $CONFIG_COMMANDS
5312 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5316 # Files that config.status was made for.
5317 if test -n "$ac_config_files"; then
5318 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5321 if test -n "$ac_config_headers"; then
5322 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5325 if test -n "$ac_config_links"; then
5326 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5329 if test -n "$ac_config_commands"; then
5330 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5333 cat >>$CONFIG_STATUS <<\_ACEOF
5336 \`$as_me' instantiates files from templates according to the
5337 current configuration.
5339 Usage: $0 [OPTIONS] [FILE]...
5341 -h, --help print this help, then exit
5342 -V, --version print version number, then exit
5343 -q, --quiet do not print progress messages
5344 -d, --debug don't remove temporary files
5345 --recheck update $as_me by reconfiguring in the same conditions
5346 --file=FILE[:TEMPLATE]
5347 instantiate the configuration file FILE
5349 Configuration files:
5352 Configuration commands:
5355 Report bugs to <bug-autoconf@gnu.org>."
5358 cat >>$CONFIG_STATUS <<_ACEOF
5361 configured by $0, generated by GNU Autoconf 2.59,
5362 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5364 Copyright (C) 2003 Free Software Foundation, Inc.
5365 This config.status script is free software; the Free Software Foundation
5366 gives unlimited permission to copy, distribute and modify it."
5371 cat >>$CONFIG_STATUS <<\_ACEOF
5372 # If no file are specified by the user, then we need to provide default
5373 # value. By we need to know if files were specified by the user.
5379 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5380 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5388 *) # This is not an option, so the user has probably given explicit
5391 ac_need_defaults=false;;
5395 # Handling of the options.
5397 cat >>$CONFIG_STATUS <<\_ACEOF
5398 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5400 --version | --vers* | -V )
5401 echo "$ac_cs_version"; exit 0 ;;
5403 # Conflict between --help and --header
5404 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5405 Try \`$0 --help' for more information." >&5
5406 echo "$as_me: error: ambiguous option: $1
5407 Try \`$0 --help' for more information." >&2;}
5408 { (exit 1); exit 1; }; };;
5409 --help | --hel | -h )
5410 echo "$ac_cs_usage"; exit 0 ;;
5411 --debug | --d* | -d )
5413 --file | --fil | --fi | --f )
5415 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5416 ac_need_defaults=false;;
5417 --header | --heade | --head | --hea )
5419 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5420 ac_need_defaults=false;;
5421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5422 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5426 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5427 Try \`$0 --help' for more information." >&5
5428 echo "$as_me: error: unrecognized option: $1
5429 Try \`$0 --help' for more information." >&2;}
5430 { (exit 1); exit 1; }; } ;;
5432 *) ac_config_targets="$ac_config_targets $1" ;;
5438 ac_configure_extra_args=
5440 if $ac_cs_silent; then
5442 ac_configure_extra_args="$ac_configure_extra_args --silent"
5446 cat >>$CONFIG_STATUS <<_ACEOF
5447 if \$ac_cs_recheck; then
5448 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5449 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5454 cat >>$CONFIG_STATUS <<_ACEOF
5456 # INIT-COMMANDS section.
5459 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5465 cat >>$CONFIG_STATUS <<\_ACEOF
5466 for ac_config_target in $ac_config_targets
5468 case "$ac_config_target" in
5469 # Handling of arguments.
5470 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5471 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5472 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5473 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5474 { (exit 1); exit 1; }; };;
5478 # If the user did not use the arguments to specify the items to instantiate,
5479 # then the envvar interface is used. Set only those that are not.
5480 # We use the long form for the default assignment because of an extremely
5481 # bizarre bug on SunOS 4.1.3.
5482 if $ac_need_defaults; then
5483 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5484 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5487 # Have a temporary directory for convenience. Make it in the build tree
5488 # simply because there is no reason to put it here, and in addition,
5489 # creating and moving files from /tmp can sometimes cause problems.
5490 # Create a temporary directory, and hook for its removal unless debugging.
5493 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5494 trap '{ (exit 1); exit 1; }' 1 2 13 15
5497 # Create a (secure) tmp directory for tmp files.
5500 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5501 test -n "$tmp" && test -d "$tmp"
5504 tmp=./confstat$$-$RANDOM
5505 (umask 077 && mkdir $tmp)
5508 echo "$me: cannot create a temporary directory in ." >&2
5509 { (exit 1); exit 1; }
5514 cat >>$CONFIG_STATUS <<_ACEOF
5517 # CONFIG_FILES section.
5520 # No need to generate the scripts if there are no CONFIG_FILES.
5521 # This happens for instance when ./config.status config.h
5522 if test -n "\$CONFIG_FILES"; then
5523 # Protect against being on the right side of a sed subst in config.status.
5524 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5525 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5526 s,@SHELL@,$SHELL,;t t
5527 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5528 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5529 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5530 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5531 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5532 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5533 s,@exec_prefix@,$exec_prefix,;t t
5534 s,@prefix@,$prefix,;t t
5535 s,@program_transform_name@,$program_transform_name,;t t
5536 s,@bindir@,$bindir,;t t
5537 s,@sbindir@,$sbindir,;t t
5538 s,@libexecdir@,$libexecdir,;t t
5539 s,@datadir@,$datadir,;t t
5540 s,@sysconfdir@,$sysconfdir,;t t
5541 s,@sharedstatedir@,$sharedstatedir,;t t
5542 s,@localstatedir@,$localstatedir,;t t
5543 s,@libdir@,$libdir,;t t
5544 s,@includedir@,$includedir,;t t
5545 s,@oldincludedir@,$oldincludedir,;t t
5546 s,@infodir@,$infodir,;t t
5547 s,@mandir@,$mandir,;t t
5548 s,@build_alias@,$build_alias,;t t
5549 s,@host_alias@,$host_alias,;t t
5550 s,@target_alias@,$target_alias,;t t
5552 s,@ECHO_C@,$ECHO_C,;t t
5553 s,@ECHO_N@,$ECHO_N,;t t
5554 s,@ECHO_T@,$ECHO_T,;t t
5556 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
5557 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
5558 s,@newlib_basedir@,$newlib_basedir,;t t
5559 s,@build@,$build,;t t
5560 s,@build_cpu@,$build_cpu,;t t
5561 s,@build_vendor@,$build_vendor,;t t
5562 s,@build_os@,$build_os,;t t
5564 s,@host_cpu@,$host_cpu,;t t
5565 s,@host_vendor@,$host_vendor,;t t
5566 s,@host_os@,$host_os,;t t
5567 s,@target@,$target,;t t
5568 s,@target_cpu@,$target_cpu,;t t
5569 s,@target_vendor@,$target_vendor,;t t
5570 s,@target_os@,$target_os,;t t
5571 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5572 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5573 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5574 s,@CYGPATH_W@,$CYGPATH_W,;t t
5575 s,@PACKAGE@,$PACKAGE,;t t
5576 s,@VERSION@,$VERSION,;t t
5577 s,@ACLOCAL@,$ACLOCAL,;t t
5578 s,@AUTOCONF@,$AUTOCONF,;t t
5579 s,@AUTOMAKE@,$AUTOMAKE,;t t
5580 s,@AUTOHEADER@,$AUTOHEADER,;t t
5581 s,@MAKEINFO@,$MAKEINFO,;t t
5582 s,@install_sh@,$install_sh,;t t
5583 s,@STRIP@,$STRIP,;t t
5584 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5585 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5586 s,@mkdir_p@,$mkdir_p,;t t
5588 s,@SET_MAKE@,$SET_MAKE,;t t
5589 s,@am__leading_dot@,$am__leading_dot,;t t
5590 s,@AMTAR@,$AMTAR,;t t
5591 s,@am__tar@,$am__tar,;t t
5592 s,@am__untar@,$am__untar,;t t
5594 s,@DEPDIR@,$DEPDIR,;t t
5595 s,@am__include@,$am__include,;t t
5596 s,@am__quote@,$am__quote,;t t
5597 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5598 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5599 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5600 s,@CCDEPMODE@,$CCDEPMODE,;t t
5601 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5602 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5604 s,@ac_ct_AS@,$ac_ct_AS,;t t
5606 s,@ac_ct_AR@,$ac_ct_AR,;t t
5607 s,@RANLIB@,$RANLIB,;t t
5608 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5609 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5610 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5611 s,@MAINT@,$MAINT,;t t
5613 s,@CCASFLAGS@,$CCASFLAGS,;t t
5614 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
5615 s,@LDFLAGS@,$LDFLAGS,;t t
5616 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
5617 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
5618 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5619 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5620 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5621 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5622 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5623 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5624 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5625 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5626 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5627 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5628 s,@OBJEXT@,$OBJEXT,;t t
5632 s,@libm_machine_dir@,$libm_machine_dir,;t t
5633 s,@machine_dir@,$machine_dir,;t t
5634 s,@sys_dir@,$sys_dir,;t t
5635 s,@CFLAGS@,$CFLAGS,;t t
5636 s,@CPPFLAGS@,$CPPFLAGS,;t t
5637 s,@ac_ct_CC@,$ac_ct_CC,;t t
5638 s,@EXEEXT@,$EXEEXT,;t t
5640 s,@LIBTOOL@,$LIBTOOL,;t t
5641 s,@subdirs@,$subdirs,;t t
5642 s,@machlib@,$machlib,;t t
5643 s,@HAVE_LIBM_MACHINE_DIR_TRUE@,$HAVE_LIBM_MACHINE_DIR_TRUE,;t t
5644 s,@HAVE_LIBM_MACHINE_DIR_FALSE@,$HAVE_LIBM_MACHINE_DIR_FALSE,;t t
5645 s,@LIBOBJS@,$LIBOBJS,;t t
5646 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5651 cat >>$CONFIG_STATUS <<\_ACEOF
5652 # Split the substitutions into bite-sized pieces for seds with
5653 # small command number limits, like on Digital OSF/1 and HP-UX.
5655 ac_sed_frag=1 # Number of current file.
5656 ac_beg=1 # First line for current file.
5657 ac_end=$ac_max_sed_lines # Line after last line for current file.
5660 while $ac_more_lines; do
5661 if test $ac_beg -gt 1; then
5662 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5664 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5666 if test ! -s $tmp/subs.frag; then
5669 # The purpose of the label and of the branching condition is to
5670 # speed up the sed processing (if there are no `@' at all, there
5671 # is no need to browse any of the substitutions).
5672 # These are the two extra sed commands mentioned above.
5674 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5675 if test -z "$ac_sed_cmds"; then
5676 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5678 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5680 ac_sed_frag=`expr $ac_sed_frag + 1`
5682 ac_end=`expr $ac_end + $ac_max_sed_lines`
5685 if test -z "$ac_sed_cmds"; then
5688 fi # test -n "$CONFIG_FILES"
5691 cat >>$CONFIG_STATUS <<\_ACEOF
5692 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5693 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5695 - | *:- | *:-:* ) # input from stdin
5697 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5698 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5699 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5700 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5701 * ) ac_file_in=$ac_file.in ;;
5704 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5705 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5706 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5707 X"$ac_file" : 'X\(//\)[^/]' \| \
5708 X"$ac_file" : 'X\(//\)$' \| \
5709 X"$ac_file" : 'X\(/\)' \| \
5710 . : '\(.\)' 2>/dev/null ||
5712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5714 /^X\(\/\/\)$/{ s//\1/; q; }
5715 /^X\(\/\).*/{ s//\1/; q; }
5717 { if $as_mkdir_p; then
5722 while test ! -d "$as_dir"; do
5723 as_dirs="$as_dir $as_dirs"
5724 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5726 X"$as_dir" : 'X\(//\)[^/]' \| \
5727 X"$as_dir" : 'X\(//\)$' \| \
5728 X"$as_dir" : 'X\(/\)' \| \
5729 . : '\(.\)' 2>/dev/null ||
5731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5733 /^X\(\/\/\)$/{ s//\1/; q; }
5734 /^X\(\/\).*/{ s//\1/; q; }
5737 test ! -n "$as_dirs" || mkdir $as_dirs
5738 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5739 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5740 { (exit 1); exit 1; }; }; }
5744 if test "$ac_dir" != .; then
5745 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5746 # A "../" for each directory in $ac_dir_suffix.
5747 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5749 ac_dir_suffix= ac_top_builddir=
5753 .) # No --srcdir option. We are building in place.
5755 if test -z "$ac_top_builddir"; then
5758 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5760 [\\/]* | ?:[\\/]* ) # Absolute path.
5761 ac_srcdir=$srcdir$ac_dir_suffix;
5762 ac_top_srcdir=$srcdir ;;
5764 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5765 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5768 # Do not use `cd foo && pwd` to compute absolute paths, because
5769 # the directories may not exist.
5771 .) ac_abs_builddir="$ac_dir";;
5774 .) ac_abs_builddir=`pwd`;;
5775 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5776 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5779 case $ac_abs_builddir in
5780 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5782 case ${ac_top_builddir}. in
5783 .) ac_abs_top_builddir=$ac_abs_builddir;;
5784 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5785 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5788 case $ac_abs_builddir in
5789 .) ac_abs_srcdir=$ac_srcdir;;
5792 .) ac_abs_srcdir=$ac_abs_builddir;;
5793 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5794 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5797 case $ac_abs_builddir in
5798 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5800 case $ac_top_srcdir in
5801 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5802 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5803 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5809 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5810 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5813 if test x"$ac_file" != x-; then
5814 { echo "$as_me:$LINENO: creating $ac_file" >&5
5815 echo "$as_me: creating $ac_file" >&6;}
5818 # Let's still pretend it is `configure' which instantiates (i.e., don't
5819 # use $as_me), people would be surprised to read:
5820 # /* config.h. Generated by config.status. */
5821 if test x"$ac_file" = x-; then
5824 configure_input="$ac_file. "
5826 configure_input=$configure_input"Generated from `echo $ac_file_in |
5827 sed 's,.*/,,'` by configure."
5829 # First look for the input files in the build tree, otherwise in the
5831 ac_file_inputs=`IFS=:
5832 for f in $ac_file_in; do
5834 -) echo $tmp/stdin ;;
5836 # Absolute (can't be DOS-style, as IFS=:)
5837 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5838 echo "$as_me: error: cannot find input file: $f" >&2;}
5839 { (exit 1); exit 1; }; }
5842 if test -f "$f"; then
5845 elif test -f "$srcdir/$f"; then
5850 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5851 echo "$as_me: error: cannot find input file: $f" >&2;}
5852 { (exit 1); exit 1; }; }
5855 done` || { (exit 1); exit 1; }
5857 cat >>$CONFIG_STATUS <<_ACEOF
5861 cat >>$CONFIG_STATUS <<\_ACEOF
5863 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5864 s,@configure_input@,$configure_input,;t t
5865 s,@srcdir@,$ac_srcdir,;t t
5866 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5867 s,@top_srcdir@,$ac_top_srcdir,;t t
5868 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5869 s,@builddir@,$ac_builddir,;t t
5870 s,@abs_builddir@,$ac_abs_builddir,;t t
5871 s,@top_builddir@,$ac_top_builddir,;t t
5872 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5873 s,@INSTALL@,$ac_INSTALL,;t t
5874 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5876 if test x"$ac_file" != x-; then
5877 mv $tmp/out $ac_file
5885 cat >>$CONFIG_STATUS <<\_ACEOF
5888 # CONFIG_COMMANDS section.
5890 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5891 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5892 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5893 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5894 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5895 X"$ac_dest" : 'X\(//\)[^/]' \| \
5896 X"$ac_dest" : 'X\(//\)$' \| \
5897 X"$ac_dest" : 'X\(/\)' \| \
5898 . : '\(.\)' 2>/dev/null ||
5900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5902 /^X\(\/\/\)$/{ s//\1/; q; }
5903 /^X\(\/\).*/{ s//\1/; q; }
5905 { if $as_mkdir_p; then
5910 while test ! -d "$as_dir"; do
5911 as_dirs="$as_dir $as_dirs"
5912 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5914 X"$as_dir" : 'X\(//\)[^/]' \| \
5915 X"$as_dir" : 'X\(//\)$' \| \
5916 X"$as_dir" : 'X\(/\)' \| \
5917 . : '\(.\)' 2>/dev/null ||
5919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5921 /^X\(\/\/\)$/{ s//\1/; q; }
5922 /^X\(\/\).*/{ s//\1/; q; }
5925 test ! -n "$as_dirs" || mkdir $as_dirs
5926 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5927 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5928 { (exit 1); exit 1; }; }; }
5932 if test "$ac_dir" != .; then
5933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5934 # A "../" for each directory in $ac_dir_suffix.
5935 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5937 ac_dir_suffix= ac_top_builddir=
5941 .) # No --srcdir option. We are building in place.
5943 if test -z "$ac_top_builddir"; then
5946 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5948 [\\/]* | ?:[\\/]* ) # Absolute path.
5949 ac_srcdir=$srcdir$ac_dir_suffix;
5950 ac_top_srcdir=$srcdir ;;
5952 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5953 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5956 # Do not use `cd foo && pwd` to compute absolute paths, because
5957 # the directories may not exist.
5959 .) ac_abs_builddir="$ac_dir";;
5962 .) ac_abs_builddir=`pwd`;;
5963 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5964 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5967 case $ac_abs_builddir in
5968 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5970 case ${ac_top_builddir}. in
5971 .) ac_abs_top_builddir=$ac_abs_builddir;;
5972 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5973 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5976 case $ac_abs_builddir in
5977 .) ac_abs_srcdir=$ac_srcdir;;
5980 .) ac_abs_srcdir=$ac_abs_builddir;;
5981 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5982 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5985 case $ac_abs_builddir in
5986 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5988 case $ac_top_srcdir in
5989 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5990 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5991 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5996 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5997 echo "$as_me: executing $ac_dest commands" >&6;}
5999 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6000 # Strip MF so we end up with the name of the file.
6001 mf=`echo "$mf" | sed -e 's/:.*$//'`
6002 # Check whether this is an Automake generated Makefile or not.
6003 # We used to match only the files named `Makefile.in', but
6004 # some people rename them; so instead we look at the file content.
6005 # Grep'ing the first line is not enough: some people post-process
6006 # each Makefile.in and add a new line on top of each file to say so.
6007 # So let's grep whole file.
6008 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6009 dirpart=`(dirname "$mf") 2>/dev/null ||
6010 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6011 X"$mf" : 'X\(//\)[^/]' \| \
6012 X"$mf" : 'X\(//\)$' \| \
6013 X"$mf" : 'X\(/\)' \| \
6014 . : '\(.\)' 2>/dev/null ||
6016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6018 /^X\(\/\/\)$/{ s//\1/; q; }
6019 /^X\(\/\).*/{ s//\1/; q; }
6024 # Extract the definition of DEPDIR, am__include, and am__quote
6025 # from the Makefile without running `make'.
6026 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6027 test -z "$DEPDIR" && continue
6028 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6029 test -z "am__include" && continue
6030 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6031 # When using ansi2knr, U may be empty or an underscore; expand it
6032 U=`sed -n 's/^U = //p' < "$mf"`
6033 # Find all dependency output files, they are included files with
6034 # $(DEPDIR) in their names. We invoke sed twice because it is the
6035 # simplest approach to changing $(DEPDIR) to its actual value in the
6037 for file in `sed -n "
6038 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6039 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6040 # Make sure the directory exists.
6041 test -f "$dirpart/$file" && continue
6042 fdir=`(dirname "$file") 2>/dev/null ||
6043 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6044 X"$file" : 'X\(//\)[^/]' \| \
6045 X"$file" : 'X\(//\)$' \| \
6046 X"$file" : 'X\(/\)' \| \
6047 . : '\(.\)' 2>/dev/null ||
6049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6051 /^X\(\/\/\)$/{ s//\1/; q; }
6052 /^X\(\/\).*/{ s//\1/; q; }
6054 { if $as_mkdir_p; then
6055 mkdir -p $dirpart/$fdir
6057 as_dir=$dirpart/$fdir
6059 while test ! -d "$as_dir"; do
6060 as_dirs="$as_dir $as_dirs"
6061 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6063 X"$as_dir" : 'X\(//\)[^/]' \| \
6064 X"$as_dir" : 'X\(//\)$' \| \
6065 X"$as_dir" : 'X\(/\)' \| \
6066 . : '\(.\)' 2>/dev/null ||
6068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6070 /^X\(\/\/\)$/{ s//\1/; q; }
6071 /^X\(\/\).*/{ s//\1/; q; }
6074 test ! -n "$as_dirs" || mkdir $as_dirs
6075 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6076 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6077 { (exit 1); exit 1; }; }; }
6079 # echo "creating $dirpart/$file"
6080 echo '# dummy' > "$dirpart/$file"
6088 cat >>$CONFIG_STATUS <<\_ACEOF
6090 { (exit 0); exit 0; }
6092 chmod +x $CONFIG_STATUS
6093 ac_clean_files=$ac_clean_files_save
6096 # configure is writing to config.log, and then calls config.status.
6097 # config.status does its own redirection, appending to config.log.
6098 # Unfortunately, on DOS this fails, as config.log is still kept open
6099 # by configure, so config.status won't be able to write to it; its
6100 # output is simply discarded. So we exec the FD to /dev/null,
6101 # effectively closing config.log, so it can be properly (re)opened and
6102 # appended to by config.status. When coming back to configure, we
6103 # need to make the FD available again.
6104 if test "$no_create" != yes; then
6106 ac_config_status_args=
6107 test "$silent" = yes &&
6108 ac_config_status_args="$ac_config_status_args --quiet"
6110 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6112 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6113 # would make configure fail if this is the last instruction.
6114 $ac_cs_success || { (exit 1); exit 1; }
6118 # CONFIG_SUBDIRS section.
6120 if test "$no_recursion" != yes; then
6122 # Remove --cache-file and --srcdir arguments so they do not pile up.
6123 ac_sub_configure_args=
6125 for ac_arg in $ac_configure_args; do
6126 if test -n "$ac_prev"; then
6131 -cache-file | --cache-file | --cache-fil | --cache-fi \
6132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6133 ac_prev=cache_file ;;
6134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6138 --config-cache | -C)
6140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6144 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6146 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6148 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6152 # Always prepend --prefix to ensure using the same prefix
6153 # in subdir configurations.
6154 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6157 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6159 # Do not complain, so a configure script can configure whichever
6160 # parts of a large source tree are present.
6161 test -d $srcdir/$ac_dir || continue
6163 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6164 echo "$as_me: configuring in $ac_dir" >&6;}
6165 { if $as_mkdir_p; then
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 \"$ac_dir\"" >&5
6187 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6188 { (exit 1); exit 1; }; }; }
6192 if test "$ac_dir" != .; then
6193 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6194 # A "../" for each directory in $ac_dir_suffix.
6195 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6197 ac_dir_suffix= ac_top_builddir=
6201 .) # No --srcdir option. We are building in place.
6203 if test -z "$ac_top_builddir"; then
6206 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6208 [\\/]* | ?:[\\/]* ) # Absolute path.
6209 ac_srcdir=$srcdir$ac_dir_suffix;
6210 ac_top_srcdir=$srcdir ;;
6212 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6213 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6216 # Do not use `cd foo && pwd` to compute absolute paths, because
6217 # the directories may not exist.
6219 .) ac_abs_builddir="$ac_dir";;
6222 .) ac_abs_builddir=`pwd`;;
6223 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6224 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6227 case $ac_abs_builddir in
6228 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6230 case ${ac_top_builddir}. in
6231 .) ac_abs_top_builddir=$ac_abs_builddir;;
6232 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6233 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6236 case $ac_abs_builddir in
6237 .) ac_abs_srcdir=$ac_srcdir;;
6240 .) ac_abs_srcdir=$ac_abs_builddir;;
6241 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6242 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6245 case $ac_abs_builddir in
6246 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6248 case $ac_top_srcdir in
6249 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6250 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6251 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6258 # Check for guested configure; otherwise get Cygnus style configure.
6259 if test -f $ac_srcdir/configure.gnu; then
6260 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6261 elif test -f $ac_srcdir/configure; then
6262 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6263 elif test -f $ac_srcdir/configure.in; then
6264 ac_sub_configure=$ac_configure
6266 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6267 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6271 # The recursion is here.
6272 if test -n "$ac_sub_configure"; then
6273 # Make the cache file name correct relative to the subdirectory.
6275 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6277 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6280 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6281 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6282 # The eval makes quoting arguments work.
6283 eval $ac_sub_configure $ac_sub_configure_args \
6284 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6285 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6286 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6287 { (exit 1); exit 1; }; }