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="Makefile.in"
275 ac_subdirs_all="$ac_subdirs_all arm"
276 ac_subdirs_all="$ac_subdirs_all cris"
277 ac_subdirs_all="$ac_subdirs_all d10v"
278 ac_subdirs_all="$ac_subdirs_all frv"
279 ac_subdirs_all="$ac_subdirs_all h8300"
280 ac_subdirs_all="$ac_subdirs_all iq2000"
281 ac_subdirs_all="$ac_subdirs_all m32r"
282 ac_subdirs_all="$ac_subdirs_all m68hc11"
283 ac_subdirs_all="$ac_subdirs_all mcore"
284 ac_subdirs_all="$ac_subdirs_all mips"
285 ac_subdirs_all="$ac_subdirs_all mn10300"
286 ac_subdirs_all="$ac_subdirs_all sh"
287 ac_subdirs_all="$ac_subdirs_all ppc"
288 ac_subdirs_all="$ac_subdirs_all v850"
289 ac_subdirs_all="$ac_subdirs_all testsuite"
290 ac_subdirs_all="$ac_subdirs_all common"
291 ac_subdirs_all="$ac_subdirs_all igen"
292 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os HDEFINES CC_FOR_BUILD subdirs LIBOBJS LTLIBOBJS'
295 # Initialize some variables set by options.
297 ac_init_version=false
298 # The variables have the same names as the options, with
299 # dashes changed to underlines.
307 program_transform_name=s,x,x,
315 # Installation directory options.
316 # These are left unexpanded so users can "make install exec_prefix=/foo"
317 # and all the variables that are supposed to be based on exec_prefix
318 # by default will actually change.
319 # Use braces instead of parens because sh, perl, etc. also accept them.
320 bindir='${exec_prefix}/bin'
321 sbindir='${exec_prefix}/sbin'
322 libexecdir='${exec_prefix}/libexec'
323 datadir='${prefix}/share'
324 sysconfdir='${prefix}/etc'
325 sharedstatedir='${prefix}/com'
326 localstatedir='${prefix}/var'
327 libdir='${exec_prefix}/lib'
328 includedir='${prefix}/include'
329 oldincludedir='/usr/include'
330 infodir='${prefix}/info'
331 mandir='${prefix}/man'
336 # If the previous option needs an argument, assign it.
337 if test -n "$ac_prev"; then
338 eval "$ac_prev=\$ac_option"
343 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
345 # Accept the important Cygnus configure options, so we can diagnose typos.
349 -bindir | --bindir | --bindi | --bind | --bin | --bi)
351 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
354 -build | --build | --buil | --bui | --bu)
355 ac_prev=build_alias ;;
356 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
357 build_alias=$ac_optarg ;;
359 -cache-file | --cache-file | --cache-fil | --cache-fi \
360 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
361 ac_prev=cache_file ;;
362 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
363 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
364 cache_file=$ac_optarg ;;
367 cache_file=config.cache ;;
369 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
371 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
373 datadir=$ac_optarg ;;
375 -disable-* | --disable-*)
376 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
377 # Reject names that are not valid shell variable names.
378 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
379 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
380 { (exit 1); exit 1; }; }
381 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
382 eval "enable_$ac_feature=no" ;;
384 -enable-* | --enable-*)
385 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
386 # Reject names that are not valid shell variable names.
387 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
388 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
389 { (exit 1); exit 1; }; }
390 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
392 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
395 eval "enable_$ac_feature='$ac_optarg'" ;;
397 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
398 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
399 | --exec | --exe | --ex)
400 ac_prev=exec_prefix ;;
401 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
402 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
403 | --exec=* | --exe=* | --ex=*)
404 exec_prefix=$ac_optarg ;;
406 -gas | --gas | --ga | --g)
407 # Obsolete; use --with-gas.
410 -help | --help | --hel | --he | -h)
412 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
413 ac_init_help=recursive ;;
414 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
415 ac_init_help=short ;;
417 -host | --host | --hos | --ho)
418 ac_prev=host_alias ;;
419 -host=* | --host=* | --hos=* | --ho=*)
420 host_alias=$ac_optarg ;;
422 -includedir | --includedir | --includedi | --included | --include \
423 | --includ | --inclu | --incl | --inc)
424 ac_prev=includedir ;;
425 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
426 | --includ=* | --inclu=* | --incl=* | --inc=*)
427 includedir=$ac_optarg ;;
429 -infodir | --infodir | --infodi | --infod | --info | --inf)
431 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
432 infodir=$ac_optarg ;;
434 -libdir | --libdir | --libdi | --libd)
436 -libdir=* | --libdir=* | --libdi=* | --libd=*)
439 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
440 | --libexe | --libex | --libe)
441 ac_prev=libexecdir ;;
442 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
443 | --libexe=* | --libex=* | --libe=*)
444 libexecdir=$ac_optarg ;;
446 -localstatedir | --localstatedir | --localstatedi | --localstated \
447 | --localstate | --localstat | --localsta | --localst \
448 | --locals | --local | --loca | --loc | --lo)
449 ac_prev=localstatedir ;;
450 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
451 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
452 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
453 localstatedir=$ac_optarg ;;
455 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
457 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
461 # Obsolete; use --without-fp.
464 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
465 | --no-cr | --no-c | -n)
468 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
469 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
472 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
473 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
474 | --oldin | --oldi | --old | --ol | --o)
475 ac_prev=oldincludedir ;;
476 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
477 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
478 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
479 oldincludedir=$ac_optarg ;;
481 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
483 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
486 -program-prefix | --program-prefix | --program-prefi | --program-pref \
487 | --program-pre | --program-pr | --program-p)
488 ac_prev=program_prefix ;;
489 -program-prefix=* | --program-prefix=* | --program-prefi=* \
490 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
491 program_prefix=$ac_optarg ;;
493 -program-suffix | --program-suffix | --program-suffi | --program-suff \
494 | --program-suf | --program-su | --program-s)
495 ac_prev=program_suffix ;;
496 -program-suffix=* | --program-suffix=* | --program-suffi=* \
497 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
498 program_suffix=$ac_optarg ;;
500 -program-transform-name | --program-transform-name \
501 | --program-transform-nam | --program-transform-na \
502 | --program-transform-n | --program-transform- \
503 | --program-transform | --program-transfor \
504 | --program-transfo | --program-transf \
505 | --program-trans | --program-tran \
506 | --progr-tra | --program-tr | --program-t)
507 ac_prev=program_transform_name ;;
508 -program-transform-name=* | --program-transform-name=* \
509 | --program-transform-nam=* | --program-transform-na=* \
510 | --program-transform-n=* | --program-transform-=* \
511 | --program-transform=* | --program-transfor=* \
512 | --program-transfo=* | --program-transf=* \
513 | --program-trans=* | --program-tran=* \
514 | --progr-tra=* | --program-tr=* | --program-t=*)
515 program_transform_name=$ac_optarg ;;
517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
518 | -silent | --silent | --silen | --sile | --sil)
521 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
523 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
525 sbindir=$ac_optarg ;;
527 -sharedstatedir | --sharedstatedir | --sharedstatedi \
528 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
529 | --sharedst | --shareds | --shared | --share | --shar \
531 ac_prev=sharedstatedir ;;
532 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
533 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
534 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
536 sharedstatedir=$ac_optarg ;;
538 -site | --site | --sit)
540 -site=* | --site=* | --sit=*)
543 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
545 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
548 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
549 | --syscon | --sysco | --sysc | --sys | --sy)
550 ac_prev=sysconfdir ;;
551 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
552 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
553 sysconfdir=$ac_optarg ;;
555 -target | --target | --targe | --targ | --tar | --ta | --t)
556 ac_prev=target_alias ;;
557 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
558 target_alias=$ac_optarg ;;
560 -v | -verbose | --verbose | --verbos | --verbo | --verb)
563 -version | --version | --versio | --versi | --vers | -V)
567 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
568 # Reject names that are not valid shell variable names.
569 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
570 { echo "$as_me: error: invalid package name: $ac_package" >&2
571 { (exit 1); exit 1; }; }
572 ac_package=`echo $ac_package| sed 's/-/_/g'`
574 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
577 eval "with_$ac_package='$ac_optarg'" ;;
579 -without-* | --without-*)
580 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
583 { echo "$as_me: error: invalid package name: $ac_package" >&2
584 { (exit 1); exit 1; }; }
585 ac_package=`echo $ac_package | sed 's/-/_/g'`
586 eval "with_$ac_package=no" ;;
589 # Obsolete; use --with-x.
592 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
593 | --x-incl | --x-inc | --x-in | --x-i)
594 ac_prev=x_includes ;;
595 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
596 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
597 x_includes=$ac_optarg ;;
599 -x-libraries | --x-libraries | --x-librarie | --x-librari \
600 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
601 ac_prev=x_libraries ;;
602 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
603 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
604 x_libraries=$ac_optarg ;;
606 -*) { echo "$as_me: error: unrecognized option: $ac_option
607 Try \`$0 --help' for more information." >&2
608 { (exit 1); exit 1; }; }
612 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
613 # Reject names that are not valid shell variable names.
614 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
615 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
616 { (exit 1); exit 1; }; }
617 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
618 eval "$ac_envvar='$ac_optarg'"
622 # FIXME: should be removed in autoconf 3.0.
623 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
624 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
625 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
626 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
632 if test -n "$ac_prev"; then
633 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
634 { echo "$as_me: error: missing argument to $ac_option" >&2
635 { (exit 1); exit 1; }; }
638 # Be sure to have absolute paths.
639 for ac_var in exec_prefix prefix
641 eval ac_val=$`echo $ac_var`
643 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
644 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
645 { (exit 1); exit 1; }; };;
649 # Be sure to have absolute paths.
650 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
651 localstatedir libdir includedir oldincludedir infodir mandir
653 eval ac_val=$`echo $ac_var`
655 [\\/$]* | ?:[\\/]* ) ;;
656 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
657 { (exit 1); exit 1; }; };;
661 # There might be people who depend on the old broken behavior: `$host'
662 # used to hold the argument of --host etc.
663 # FIXME: To remove some day.
668 # FIXME: To remove some day.
669 if test "x$host_alias" != x; then
670 if test "x$build_alias" = x; then
671 cross_compiling=maybe
672 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
673 If a cross compiler is detected then cross compile mode will be used." >&2
674 elif test "x$build_alias" != "x$host_alias"; then
680 test -n "$host_alias" && ac_tool_prefix=$host_alias-
682 test "$silent" = yes && exec 6>/dev/null
685 # Find the source files, if location was not specified.
686 if test -z "$srcdir"; then
687 ac_srcdir_defaulted=yes
688 # Try the directory containing this script, then its parent.
689 ac_confdir=`(dirname "$0") 2>/dev/null ||
690 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
691 X"$0" : 'X\(//\)[^/]' \| \
692 X"$0" : 'X\(//\)$' \| \
693 X"$0" : 'X\(/\)' \| \
694 . : '\(.\)' 2>/dev/null ||
696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
698 /^X\(\/\/\)$/{ s//\1/; q; }
699 /^X\(\/\).*/{ s//\1/; q; }
702 if test ! -r $srcdir/$ac_unique_file; then
706 ac_srcdir_defaulted=no
708 if test ! -r $srcdir/$ac_unique_file; then
709 if test "$ac_srcdir_defaulted" = yes; then
710 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
711 { (exit 1); exit 1; }; }
713 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
714 { (exit 1); exit 1; }; }
717 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
718 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
719 { (exit 1); exit 1; }; }
720 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
721 ac_env_build_alias_set=${build_alias+set}
722 ac_env_build_alias_value=$build_alias
723 ac_cv_env_build_alias_set=${build_alias+set}
724 ac_cv_env_build_alias_value=$build_alias
725 ac_env_host_alias_set=${host_alias+set}
726 ac_env_host_alias_value=$host_alias
727 ac_cv_env_host_alias_set=${host_alias+set}
728 ac_cv_env_host_alias_value=$host_alias
729 ac_env_target_alias_set=${target_alias+set}
730 ac_env_target_alias_value=$target_alias
731 ac_cv_env_target_alias_set=${target_alias+set}
732 ac_cv_env_target_alias_value=$target_alias
733 ac_env_CC_set=${CC+set}
735 ac_cv_env_CC_set=${CC+set}
736 ac_cv_env_CC_value=$CC
737 ac_env_CFLAGS_set=${CFLAGS+set}
738 ac_env_CFLAGS_value=$CFLAGS
739 ac_cv_env_CFLAGS_set=${CFLAGS+set}
740 ac_cv_env_CFLAGS_value=$CFLAGS
741 ac_env_LDFLAGS_set=${LDFLAGS+set}
742 ac_env_LDFLAGS_value=$LDFLAGS
743 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_cv_env_LDFLAGS_value=$LDFLAGS
745 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
746 ac_env_CPPFLAGS_value=$CPPFLAGS
747 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 # Report the --help message.
753 if test "$ac_init_help" = "long"; then
754 # Omit some internal or obsolete options to make the list less imposing.
755 # This message is too long to be a string in the A/UX 3.1 sh.
757 \`configure' configures this package to adapt to many kinds of systems.
759 Usage: $0 [OPTION]... [VAR=VALUE]...
761 To assign environment variables (e.g., CC, CFLAGS...), specify them as
762 VAR=VALUE. See below for descriptions of some of the useful variables.
764 Defaults for the options are specified in brackets.
767 -h, --help display this help and exit
768 --help=short display options specific to this package
769 --help=recursive display the short help of all the included packages
770 -V, --version display version information and exit
771 -q, --quiet, --silent do not print \`checking...' messages
772 --cache-file=FILE cache test results in FILE [disabled]
773 -C, --config-cache alias for \`--cache-file=config.cache'
774 -n, --no-create do not create output files
775 --srcdir=DIR find the sources in DIR [configure dir or \`..']
780 Installation directories:
781 --prefix=PREFIX install architecture-independent files in PREFIX
783 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
786 By default, \`make install' will install all the files in
787 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
788 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
789 for instance \`--prefix=\$HOME'.
791 For better control, use the options below.
793 Fine tuning of the installation directories:
794 --bindir=DIR user executables [EPREFIX/bin]
795 --sbindir=DIR system admin executables [EPREFIX/sbin]
796 --libexecdir=DIR program executables [EPREFIX/libexec]
797 --datadir=DIR read-only architecture-independent data [PREFIX/share]
798 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
799 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
800 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
801 --libdir=DIR object code libraries [EPREFIX/lib]
802 --includedir=DIR C header files [PREFIX/include]
803 --oldincludedir=DIR C header files for non-gcc [/usr/include]
804 --infodir=DIR info documentation [PREFIX/info]
805 --mandir=DIR man documentation [PREFIX/man]
811 --program-prefix=PREFIX prepend PREFIX to installed program names
812 --program-suffix=SUFFIX append SUFFIX to installed program names
813 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
816 --build=BUILD configure for building on BUILD [guessed]
817 --host=HOST cross-compile to build programs to run on HOST [BUILD]
818 --target=TARGET configure for building compilers for TARGET [HOST]
822 if test -n "$ac_init_help"; then
827 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
828 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
831 Some influential environment variables:
832 CC C compiler command
833 CFLAGS C compiler flags
834 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
835 nonstandard directory <lib dir>
836 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
837 headers in a nonstandard directory <include dir>
839 Use these variables to override the choices made by `configure' or to help
840 it to find libraries and programs with nonstandard names/locations.
845 if test "$ac_init_help" = "recursive"; then
846 # If there are subdirs, report their specific --help.
848 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
849 test -d $ac_dir || continue
852 if test "$ac_dir" != .; then
853 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
854 # A "../" for each directory in $ac_dir_suffix.
855 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
857 ac_dir_suffix= ac_top_builddir=
861 .) # No --srcdir option. We are building in place.
863 if test -z "$ac_top_builddir"; then
866 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
868 [\\/]* | ?:[\\/]* ) # Absolute path.
869 ac_srcdir=$srcdir$ac_dir_suffix;
870 ac_top_srcdir=$srcdir ;;
872 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
873 ac_top_srcdir=$ac_top_builddir$srcdir ;;
876 # Do not use `cd foo && pwd` to compute absolute paths, because
877 # the directories may not exist.
879 .) ac_abs_builddir="$ac_dir";;
882 .) ac_abs_builddir=`pwd`;;
883 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
884 *) ac_abs_builddir=`pwd`/"$ac_dir";;
887 case $ac_abs_builddir in
888 .) ac_abs_top_builddir=${ac_top_builddir}.;;
890 case ${ac_top_builddir}. in
891 .) ac_abs_top_builddir=$ac_abs_builddir;;
892 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
893 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
896 case $ac_abs_builddir in
897 .) ac_abs_srcdir=$ac_srcdir;;
900 .) ac_abs_srcdir=$ac_abs_builddir;;
901 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
902 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
905 case $ac_abs_builddir in
906 .) ac_abs_top_srcdir=$ac_top_srcdir;;
908 case $ac_top_srcdir in
909 .) ac_abs_top_srcdir=$ac_abs_builddir;;
910 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
911 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
916 # Check for guested configure; otherwise get Cygnus style configure.
917 if test -f $ac_srcdir/configure.gnu; then
919 $SHELL $ac_srcdir/configure.gnu --help=recursive
920 elif test -f $ac_srcdir/configure; then
922 $SHELL $ac_srcdir/configure --help=recursive
923 elif test -f $ac_srcdir/configure.ac ||
924 test -f $ac_srcdir/configure.in; then
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
934 test -n "$ac_init_help" && exit 0
935 if $ac_init_version; then
938 Copyright (C) 2003 Free Software Foundation, Inc.
939 This configure script is free software; the Free Software Foundation
940 gives unlimited permission to copy, distribute and modify it.
946 This file contains any messages produced by compilers while
947 running configure, to aid debugging if configure makes a mistake.
949 It was created by $as_me, which was
950 generated by GNU Autoconf 2.59. Invocation command line was
961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
973 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
984 test -z "$as_dir" && as_dir=.
1000 # Keep a trace of the command line.
1001 # Strip out --no-create and --no-recursion so they do not pile up.
1002 # Strip out --silent because we don't want to record it for future runs.
1003 # Also quote any args containing shell meta-characters.
1004 # Make two passes to allow for proper duplicate-argument suppression.
1009 ac_must_keep_next=false
1015 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1019 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1023 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1025 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1026 if test $ac_must_keep_next = true; then
1027 ac_must_keep_next=false # Got value, back to normal.
1030 *=* | --config-cache | -C | -disable-* | --disable-* \
1031 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1032 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1033 | -with-* | --with-* | -without-* | --without-* | --x)
1034 case "$ac_configure_args0 " in
1035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1038 -* ) ac_must_keep_next=true ;;
1041 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1042 # Get rid of the leading space.
1048 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1049 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1051 # When interrupted or exit'd, cleanup temporary files, and complete
1052 # config.log. We remove comments because anyway the quotes in there
1053 # would cause problems or look ugly.
1054 # WARNING: Be sure not to use single quotes in there, as some shells,
1055 # such as our DU 5.0 friend, will then `close' the trap.
1056 trap 'exit_status=$?
1057 # Save into config.log some information that might help in debugging.
1062 ## ---------------- ##
1063 ## Cache variables. ##
1064 ## ---------------- ##
1067 # The following way of writing the cache mishandles newlines in values,
1070 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1078 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1085 ## ----------------- ##
1086 ## Output variables. ##
1087 ## ----------------- ##
1090 for ac_var in $ac_subst_vars
1092 eval ac_val=$`echo $ac_var`
1093 echo "$ac_var='"'"'$ac_val'"'"'"
1097 if test -n "$ac_subst_files"; then
1104 for ac_var in $ac_subst_files
1106 eval ac_val=$`echo $ac_var`
1107 echo "$ac_var='"'"'$ac_val'"'"'"
1112 if test -s confdefs.h; then
1119 sed "/^$/d" confdefs.h | sort
1122 test "$ac_signal" != 0 &&
1123 echo "$as_me: caught signal $ac_signal"
1124 echo "$as_me: exit $exit_status"
1126 rm -f core *.core &&
1127 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1130 for ac_signal in 1 2 13 15; do
1131 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1136 rm -rf conftest* confdefs.h
1137 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1140 # Predefined preprocessor variables.
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_NAME "$PACKAGE_NAME"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_STRING "$PACKAGE_STRING"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1167 # Let the site file select an alternate cache file if it wants to.
1168 # Prefer explicitly selected file to automatically selected ones.
1169 if test -z "$CONFIG_SITE"; then
1170 if test "x$prefix" != xNONE; then
1171 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1173 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1176 for ac_site_file in $CONFIG_SITE; do
1177 if test -r "$ac_site_file"; then
1178 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1179 echo "$as_me: loading site script $ac_site_file" >&6;}
1180 sed 's/^/| /' "$ac_site_file" >&5
1185 if test -r "$cache_file"; then
1186 # Some versions of bash will fail to source /dev/null (special
1187 # files actually), so we avoid doing that.
1188 if test -f "$cache_file"; then
1189 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1190 echo "$as_me: loading cache $cache_file" >&6;}
1192 [\\/]* | ?:[\\/]* ) . $cache_file;;
1193 *) . ./$cache_file;;
1197 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1198 echo "$as_me: creating cache $cache_file" >&6;}
1202 # Check that the precious variables saved in the cache have kept the same
1204 ac_cache_corrupted=false
1205 for ac_var in `(set) 2>&1 |
1206 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1208 eval ac_new_set=\$ac_env_${ac_var}_set
1209 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1210 eval ac_new_val="\$ac_env_${ac_var}_value"
1211 case $ac_old_set,$ac_new_set in
1213 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1214 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1215 ac_cache_corrupted=: ;;
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1219 ac_cache_corrupted=: ;;
1222 if test "x$ac_old_val" != "x$ac_new_val"; then
1223 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1224 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1225 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1226 echo "$as_me: former value: $ac_old_val" >&2;}
1227 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1228 echo "$as_me: current value: $ac_new_val" >&2;}
1229 ac_cache_corrupted=:
1232 # Pass precious variables to config.status.
1233 if test "$ac_new_set" = set; then
1235 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1237 *) ac_arg=$ac_var=$ac_new_val ;;
1239 case " $ac_configure_args " in
1240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1241 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1245 if $ac_cache_corrupted; then
1246 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1247 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1248 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1249 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1250 { (exit 1); exit 1; }; }
1254 ac_cpp='$CPP $CPPFLAGS'
1255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1279 ac_cpp='$CPP $CPPFLAGS'
1280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1283 if test -n "$ac_tool_prefix"; then
1284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1286 echo "$as_me:$LINENO: checking for $ac_word" >&5
1287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1288 if test "${ac_cv_prog_CC+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1291 if test -n "$CC"; then
1292 ac_cv_prog_CC="$CC" # Let the user override the test.
1294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1298 test -z "$as_dir" && as_dir=.
1299 for ac_exec_ext in '' $ac_executable_extensions; do
1300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1311 if test -n "$CC"; then
1312 echo "$as_me:$LINENO: result: $CC" >&5
1313 echo "${ECHO_T}$CC" >&6
1315 echo "$as_me:$LINENO: result: no" >&5
1316 echo "${ECHO_T}no" >&6
1320 if test -z "$ac_cv_prog_CC"; then
1322 # Extract the first word of "gcc", so it can be a program name with args.
1323 set dummy gcc; ac_word=$2
1324 echo "$as_me:$LINENO: checking for $ac_word" >&5
1325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 if test -n "$ac_ct_CC"; then
1330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir=.
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_ac_ct_CC="gcc"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1349 if test -n "$ac_ct_CC"; then
1350 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1351 echo "${ECHO_T}$ac_ct_CC" >&6
1353 echo "$as_me:$LINENO: result: no" >&5
1354 echo "${ECHO_T}no" >&6
1362 if test -z "$CC"; then
1363 if test -n "$ac_tool_prefix"; then
1364 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1365 set dummy ${ac_tool_prefix}cc; ac_word=$2
1366 echo "$as_me:$LINENO: checking for $ac_word" >&5
1367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1368 if test "${ac_cv_prog_CC+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1371 if test -n "$CC"; then
1372 ac_cv_prog_CC="$CC" # Let the user override the test.
1374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378 test -z "$as_dir" && as_dir=.
1379 for ac_exec_ext in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1381 ac_cv_prog_CC="${ac_tool_prefix}cc"
1382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1391 if test -n "$CC"; then
1392 echo "$as_me:$LINENO: result: $CC" >&5
1393 echo "${ECHO_T}$CC" >&6
1395 echo "$as_me:$LINENO: result: no" >&5
1396 echo "${ECHO_T}no" >&6
1400 if test -z "$ac_cv_prog_CC"; then
1402 # Extract the first word of "cc", so it can be a program name with args.
1403 set dummy cc; ac_word=$2
1404 echo "$as_me:$LINENO: checking for $ac_word" >&5
1405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 if test -n "$ac_ct_CC"; then
1410 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 test -z "$as_dir" && as_dir=.
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1419 ac_cv_prog_ac_ct_CC="cc"
1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1429 if test -n "$ac_ct_CC"; then
1430 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1431 echo "${ECHO_T}$ac_ct_CC" >&6
1433 echo "$as_me:$LINENO: result: no" >&5
1434 echo "${ECHO_T}no" >&6
1443 if test -z "$CC"; then
1444 # Extract the first word of "cc", so it can be a program name with args.
1445 set dummy cc; ac_word=$2
1446 echo "$as_me:$LINENO: checking for $ac_word" >&5
1447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1448 if test "${ac_cv_prog_CC+set}" = set; then
1449 echo $ECHO_N "(cached) $ECHO_C" >&6
1451 if test -n "$CC"; then
1452 ac_cv_prog_CC="$CC" # Let the user override the test.
1455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459 test -z "$as_dir" && as_dir=.
1460 for ac_exec_ext in '' $ac_executable_extensions; do
1461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1462 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1463 ac_prog_rejected=yes
1467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1473 if test $ac_prog_rejected = yes; then
1474 # We found a bogon in the path, so make sure we never use it.
1475 set dummy $ac_cv_prog_CC
1477 if test $# != 0; then
1478 # We chose a different compiler from the bogus one.
1479 # However, it has the same basename, so the bogon will be chosen
1480 # first if we set CC to just the basename; use the full file name.
1482 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1488 if test -n "$CC"; then
1489 echo "$as_me:$LINENO: result: $CC" >&5
1490 echo "${ECHO_T}$CC" >&6
1492 echo "$as_me:$LINENO: result: no" >&5
1493 echo "${ECHO_T}no" >&6
1497 if test -z "$CC"; then
1498 if test -n "$ac_tool_prefix"; then
1501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1503 echo "$as_me:$LINENO: checking for $ac_word" >&5
1504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505 if test "${ac_cv_prog_CC+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 if test -n "$CC"; then
1509 ac_cv_prog_CC="$CC" # Let the user override the test.
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 for ac_exec_ext in '' $ac_executable_extensions; do
1517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1518 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 if test -n "$CC"; then
1529 echo "$as_me:$LINENO: result: $CC" >&5
1530 echo "${ECHO_T}$CC" >&6
1532 echo "$as_me:$LINENO: result: no" >&5
1533 echo "${ECHO_T}no" >&6
1536 test -n "$CC" && break
1539 if test -z "$CC"; then
1543 # Extract the first word of "$ac_prog", so it can be a program name with args.
1544 set dummy $ac_prog; ac_word=$2
1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 if test -n "$ac_ct_CC"; then
1551 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir=.
1558 for ac_exec_ext in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 ac_cv_prog_ac_ct_CC="$ac_prog"
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1570 if test -n "$ac_ct_CC"; then
1571 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1572 echo "${ECHO_T}$ac_ct_CC" >&6
1574 echo "$as_me:$LINENO: result: no" >&5
1575 echo "${ECHO_T}no" >&6
1578 test -n "$ac_ct_CC" && break
1587 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1588 See \`config.log' for more details." >&5
1589 echo "$as_me: error: no acceptable C compiler found in \$PATH
1590 See \`config.log' for more details." >&2;}
1591 { (exit 1); exit 1; }; }
1593 # Provide some information about the compiler.
1594 echo "$as_me:$LINENO:" \
1595 "checking for C compiler version" >&5
1596 ac_compiler=`set X $ac_compile; echo $2`
1597 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1598 (eval $ac_compiler --version </dev/null >&5) 2>&5
1600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1601 (exit $ac_status); }
1602 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1603 (eval $ac_compiler -v </dev/null >&5) 2>&5
1605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1606 (exit $ac_status); }
1607 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1608 (eval $ac_compiler -V </dev/null >&5) 2>&5
1610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1611 (exit $ac_status); }
1613 cat >conftest.$ac_ext <<_ACEOF
1616 cat confdefs.h >>conftest.$ac_ext
1617 cat >>conftest.$ac_ext <<_ACEOF
1618 /* end confdefs.h. */
1628 ac_clean_files_save=$ac_clean_files
1629 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1630 # Try to create an executable without -o first, disregard a.out.
1631 # It will help us diagnose broken compilers, and finding out an intuition
1633 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1634 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1635 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1636 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1637 (eval $ac_link_default) 2>&5
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }; then
1641 # Find the output, starting from the most likely. This scheme is
1642 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1645 # Be careful to initialize this variable, since it used to be cached.
1646 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1648 # b.out is created by i960 compilers.
1649 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1651 test -f "$ac_file" || continue
1653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1656 # This is the source file.
1659 # We found the default executable, but exeext='' is most
1663 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1664 # FIXME: I believe we export ac_cv_exeext for Libtool,
1665 # but it would be cool to find out if it's true. Does anybody
1666 # maintain Libtool? --akim.
1674 echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1677 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1678 See \`config.log' for more details." >&5
1679 echo "$as_me: error: C compiler cannot create executables
1680 See \`config.log' for more details." >&2;}
1681 { (exit 77); exit 77; }; }
1684 ac_exeext=$ac_cv_exeext
1685 echo "$as_me:$LINENO: result: $ac_file" >&5
1686 echo "${ECHO_T}$ac_file" >&6
1688 # Check the compiler produces executables we can run. If not, either
1689 # the compiler is broken, or we cross compile.
1690 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1691 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1692 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1693 # If not cross compiling, check that we can run a simple program.
1694 if test "$cross_compiling" != yes; then
1695 if { ac_try='./$ac_file'
1696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 (exit $ac_status); }; }; then
1703 if test "$cross_compiling" = maybe; then
1706 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1707 If you meant to cross compile, use \`--host'.
1708 See \`config.log' for more details." >&5
1709 echo "$as_me: error: cannot run C compiled programs.
1710 If you meant to cross compile, use \`--host'.
1711 See \`config.log' for more details." >&2;}
1712 { (exit 1); exit 1; }; }
1716 echo "$as_me:$LINENO: result: yes" >&5
1717 echo "${ECHO_T}yes" >&6
1719 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1720 ac_clean_files=$ac_clean_files_save
1721 # Check the compiler produces executables we can run. If not, either
1722 # the compiler is broken, or we cross compile.
1723 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1724 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1725 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1726 echo "${ECHO_T}$cross_compiling" >&6
1728 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1729 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1731 (eval $ac_link) 2>&5
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }; then
1735 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1736 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1737 # work properly (i.e., refer to `conftest.exe'), while it won't with
1739 for ac_file in conftest.exe conftest conftest.*; do
1740 test -f "$ac_file" || continue
1742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1743 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1750 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1751 See \`config.log' for more details." >&5
1752 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1753 See \`config.log' for more details." >&2;}
1754 { (exit 1); exit 1; }; }
1757 rm -f conftest$ac_cv_exeext
1758 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1759 echo "${ECHO_T}$ac_cv_exeext" >&6
1761 rm -f conftest.$ac_ext
1762 EXEEXT=$ac_cv_exeext
1764 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1765 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1766 if test "${ac_cv_objext+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 cat >conftest.$ac_ext <<_ACEOF
1772 cat confdefs.h >>conftest.$ac_ext
1773 cat >>conftest.$ac_ext <<_ACEOF
1774 /* end confdefs.h. */
1784 rm -f conftest.o conftest.obj
1785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1786 (eval $ac_compile) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; then
1790 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1793 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1798 echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1802 See \`config.log' for more details." >&5
1803 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1804 See \`config.log' for more details." >&2;}
1805 { (exit 1); exit 1; }; }
1808 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1810 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1811 echo "${ECHO_T}$ac_cv_objext" >&6
1812 OBJEXT=$ac_cv_objext
1814 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1815 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1816 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 cat >conftest.$ac_ext <<_ACEOF
1822 cat confdefs.h >>conftest.$ac_ext
1823 cat >>conftest.$ac_ext <<_ACEOF
1824 /* end confdefs.h. */
1837 rm -f conftest.$ac_objext
1838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1839 (eval $ac_compile) 2>conftest.er1
1841 grep -v '^ *+' conftest.er1 >conftest.err
1843 cat conftest.err >&5
1844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1845 (exit $ac_status); } &&
1846 { ac_try='test -z "$ac_c_werror_flag"
1847 || test ! -s conftest.err'
1848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }; } &&
1853 { ac_try='test -s conftest.$ac_objext'
1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 (exit $ac_status); }; }; then
1861 echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1867 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1870 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1871 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1872 GCC=`test $ac_compiler_gnu = yes && echo yes`
1873 ac_test_CFLAGS=${CFLAGS+set}
1874 ac_save_CFLAGS=$CFLAGS
1876 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1877 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1878 if test "${ac_cv_prog_cc_g+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 cat >conftest.$ac_ext <<_ACEOF
1884 cat confdefs.h >>conftest.$ac_ext
1885 cat >>conftest.$ac_ext <<_ACEOF
1886 /* end confdefs.h. */
1896 rm -f conftest.$ac_objext
1897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1898 (eval $ac_compile) 2>conftest.er1
1900 grep -v '^ *+' conftest.er1 >conftest.err
1902 cat conftest.err >&5
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); } &&
1905 { ac_try='test -z "$ac_c_werror_flag"
1906 || test ! -s conftest.err'
1907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); }; } &&
1912 { ac_try='test -s conftest.$ac_objext'
1913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }; }; then
1920 echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1927 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1928 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1929 if test "$ac_test_CFLAGS" = set; then
1930 CFLAGS=$ac_save_CFLAGS
1931 elif test $ac_cv_prog_cc_g = yes; then
1932 if test "$GCC" = yes; then
1938 if test "$GCC" = yes; then
1944 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1945 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1946 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 ac_cv_prog_cc_stdc=no
1951 cat >conftest.$ac_ext <<_ACEOF
1954 cat confdefs.h >>conftest.$ac_ext
1955 cat >>conftest.$ac_ext <<_ACEOF
1956 /* end confdefs.h. */
1959 #include <sys/types.h>
1960 #include <sys/stat.h>
1961 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1962 struct buf { int x; };
1963 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1964 static char *e (p, i)
1970 static char *f (char * (*g) (char **, int), char **p, ...)
1975 s = g (p, va_arg (v,int));
1980 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1981 function prototypes and stuff, but not '\xHH' hex character constants.
1982 These don't provoke an error unfortunately, instead are silently treated
1983 as 'x'. The following induces an error, until -std1 is added to get
1984 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1985 array size at least. It's necessary to write '\x00'==0 to get something
1986 that's true only with -std1. */
1987 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1989 int test (int i, double x);
1990 struct s1 {int (*f) (int a);};
1991 struct s2 {int (*f) (double a);};
1992 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1998 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2003 # Don't try gcc -ansi; that turns off useful extensions and
2004 # breaks some systems' header files.
2005 # AIX -qlanglvl=ansi
2006 # Ultrix and OSF/1 -std1
2007 # HP-UX 10.20 and later -Ae
2008 # HP-UX older versions -Aa -D_HPUX_SOURCE
2009 # SVR4 -Xc -D__EXTENSIONS__
2010 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2012 CC="$ac_save_CC $ac_arg"
2013 rm -f conftest.$ac_objext
2014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2015 (eval $ac_compile) 2>conftest.er1
2017 grep -v '^ *+' conftest.er1 >conftest.err
2019 cat conftest.err >&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); } &&
2022 { ac_try='test -z "$ac_c_werror_flag"
2023 || test ! -s conftest.err'
2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); }; } &&
2029 { ac_try='test -s conftest.$ac_objext'
2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; }; then
2035 ac_cv_prog_cc_stdc=$ac_arg
2038 echo "$as_me: failed program was:" >&5
2039 sed 's/^/| /' conftest.$ac_ext >&5
2042 rm -f conftest.err conftest.$ac_objext
2044 rm -f conftest.$ac_ext conftest.$ac_objext
2049 case "x$ac_cv_prog_cc_stdc" in
2051 echo "$as_me:$LINENO: result: none needed" >&5
2052 echo "${ECHO_T}none needed" >&6 ;;
2054 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2055 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2056 CC="$CC $ac_cv_prog_cc_stdc" ;;
2059 # Some people use a C++ compiler to compile C. Since we use `exit',
2060 # in C++ we need to declare it. In case someone uses the same compiler
2061 # for both compiling C and C++ we need to have the C++ compiler decide
2062 # the declaration of exit, since it's the most demanding environment.
2063 cat >conftest.$ac_ext <<_ACEOF
2068 rm -f conftest.$ac_objext
2069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2070 (eval $ac_compile) 2>conftest.er1
2072 grep -v '^ *+' conftest.er1 >conftest.err
2074 cat conftest.err >&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); } &&
2077 { ac_try='test -z "$ac_c_werror_flag"
2078 || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2090 for ac_declaration in \
2092 'extern "C" void std::exit (int) throw (); using std::exit;' \
2093 'extern "C" void std::exit (int); using std::exit;' \
2094 'extern "C" void exit (int) throw ();' \
2095 'extern "C" void exit (int);' \
2098 cat >conftest.$ac_ext <<_ACEOF
2101 cat confdefs.h >>conftest.$ac_ext
2102 cat >>conftest.$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2114 rm -f conftest.$ac_objext
2115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>conftest.er1
2118 grep -v '^ *+' conftest.er1 >conftest.err
2120 cat conftest.err >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); } &&
2123 { ac_try='test -z "$ac_c_werror_flag"
2124 || test ! -s conftest.err'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; } &&
2130 { ac_try='test -s conftest.$ac_objext'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; }; then
2138 echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2144 cat >conftest.$ac_ext <<_ACEOF
2147 cat confdefs.h >>conftest.$ac_ext
2148 cat >>conftest.$ac_ext <<_ACEOF
2149 /* end confdefs.h. */
2159 rm -f conftest.$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2163 grep -v '^ *+' conftest.er1 >conftest.err
2165 cat conftest.err >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2183 echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2190 if test -n "$ac_declaration"; then
2191 echo '#ifdef __cplusplus' >>confdefs.h
2192 echo $ac_declaration >>confdefs.h
2193 echo '#endif' >>confdefs.h
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2203 ac_cpp='$CPP $CPPFLAGS'
2204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2209 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2210 if test -f $ac_dir/install-sh; then
2212 ac_install_sh="$ac_aux_dir/install-sh -c"
2214 elif test -f $ac_dir/install.sh; then
2216 ac_install_sh="$ac_aux_dir/install.sh -c"
2218 elif test -f $ac_dir/shtool; then
2220 ac_install_sh="$ac_aux_dir/shtool install -c"
2224 if test -z "$ac_aux_dir"; then
2225 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2226 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2227 { (exit 1); exit 1; }; }
2229 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2230 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2231 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2233 # Find a good install program. We prefer a C program (faster),
2234 # so one script is as good as another. But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2247 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2248 if test -z "$INSTALL"; then
2249 if test "${ac_cv_path_install+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 # Account for people who put trailing slashes in PATH elements.
2259 ./ | .// | /cC/* | \
2260 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2261 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2264 # OSF1 and SCO ODT 3.0 have their own names for install.
2265 # Don't use installbsd from OSF since it installs stuff as root
2267 for ac_prog in ginstall scoinst install; do
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2270 if test $ac_prog = install &&
2271 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272 # AIX install. It has an incompatible calling convention.
2274 elif test $ac_prog = install &&
2275 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276 # program-specific install script used by HP pwplus--don't use.
2279 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2291 if test "${ac_cv_path_install+set}" = set; then
2292 INSTALL=$ac_cv_path_install
2294 # As a last resort, use the slow shell script. We don't cache a
2295 # path for INSTALL within a source directory, because that will
2296 # break other packages using the cache if that directory is
2297 # removed, or if the path is relative.
2298 INSTALL=$ac_install_sh
2301 echo "$as_me:$LINENO: result: $INSTALL" >&5
2302 echo "${ECHO_T}$INSTALL" >&6
2304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2305 # It thinks the first close brace ends the variable substitution.
2306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2312 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2314 set dummy ${ac_tool_prefix}ar; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_AR+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$AR"; then
2321 ac_cv_prog_AR="$AR" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_AR="${ac_tool_prefix}ar"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$AR"; then
2341 echo "$as_me:$LINENO: result: $AR" >&5
2342 echo "${ECHO_T}$AR" >&6
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2349 if test -z "$ac_cv_prog_AR"; then
2351 # Extract the first word of "ar", so it can be a program name with args.
2352 set dummy ar; ac_word=$2
2353 echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2355 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$ac_ct_AR"; then
2359 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368 ac_cv_prog_ac_ct_AR="ar"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2378 if test -n "$ac_ct_AR"; then
2379 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2380 echo "${ECHO_T}$ac_ct_AR" >&6
2382 echo "$as_me:$LINENO: result: no" >&5
2383 echo "${ECHO_T}no" >&6
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_RANLIB+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$RANLIB"; then
2400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 RANLIB=$ac_cv_prog_RANLIB
2419 if test -n "$RANLIB"; then
2420 echo "$as_me:$LINENO: result: $RANLIB" >&5
2421 echo "${ECHO_T}$RANLIB" >&6
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2428 if test -z "$ac_cv_prog_RANLIB"; then
2429 ac_ct_RANLIB=$RANLIB
2430 # Extract the first word of "ranlib", so it can be a program name with args.
2431 set dummy ranlib; ac_word=$2
2432 echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$ac_ct_RANLIB"; then
2438 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_ac_ct_RANLIB="ranlib"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2457 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2458 if test -n "$ac_ct_RANLIB"; then
2459 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2460 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2462 echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6
2466 RANLIB=$ac_ct_RANLIB
2468 RANLIB="$ac_cv_prog_RANLIB"
2472 # Make sure we can run config.sub.
2473 $ac_config_sub sun4 >/dev/null 2>&1 ||
2474 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2475 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2476 { (exit 1); exit 1; }; }
2478 echo "$as_me:$LINENO: checking build system type" >&5
2479 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2480 if test "${ac_cv_build+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 ac_cv_build_alias=$build_alias
2484 test -z "$ac_cv_build_alias" &&
2485 ac_cv_build_alias=`$ac_config_guess`
2486 test -z "$ac_cv_build_alias" &&
2487 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2488 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2489 { (exit 1); exit 1; }; }
2490 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2492 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2496 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2497 echo "${ECHO_T}$ac_cv_build" >&6
2499 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2500 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2501 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2504 echo "$as_me:$LINENO: checking host system type" >&5
2505 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2506 if test "${ac_cv_host+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 ac_cv_host_alias=$host_alias
2510 test -z "$ac_cv_host_alias" &&
2511 ac_cv_host_alias=$ac_cv_build_alias
2512 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2513 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2514 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2515 { (exit 1); exit 1; }; }
2518 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6
2521 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2522 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2523 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2526 echo "$as_me:$LINENO: checking target system type" >&5
2527 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2528 if test "${ac_cv_target+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 ac_cv_target_alias=$target_alias
2532 test "x$ac_cv_target_alias" = "x" &&
2533 ac_cv_target_alias=$ac_cv_host_alias
2534 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2535 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2536 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2537 { (exit 1); exit 1; }; }
2540 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2541 echo "${ECHO_T}$ac_cv_target" >&6
2542 target=$ac_cv_target
2543 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2544 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2545 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2548 # The aliases save the names the user supplied, while $host etc.
2549 # will get canonicalized.
2550 test -n "$target_alias" &&
2551 test "$program_prefix$program_suffix$program_transform_name" = \
2553 program_prefix=${target_alias}-
2554 test "$program_prefix" != NONE &&
2555 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2556 # Use a double $ so make ignores it.
2557 test "$program_suffix" != NONE &&
2558 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2559 # Double any \ or $. echo might interpret backslashes.
2560 # By default was `s,x,x', remove it if useless.
2561 cat <<\_ACEOF >conftest.sed
2562 s/[\\$]/&&/g;s/;s,x,x,$//
2564 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2568 ac_cpp='$CPP $CPPFLAGS'
2569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2572 if test -n "$ac_tool_prefix"; then
2573 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2574 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2575 echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2577 if test "${ac_cv_prog_CC+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 if test -n "$CC"; then
2581 ac_cv_prog_CC="$CC" # Let the user override the test.
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2590 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test -n "$CC"; then
2601 echo "$as_me:$LINENO: result: $CC" >&5
2602 echo "${ECHO_T}$CC" >&6
2604 echo "$as_me:$LINENO: result: no" >&5
2605 echo "${ECHO_T}no" >&6
2609 if test -z "$ac_cv_prog_CC"; then
2611 # Extract the first word of "gcc", so it can be a program name with args.
2612 set dummy gcc; ac_word=$2
2613 echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -n "$ac_ct_CC"; then
2619 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_ac_ct_CC="gcc"
2629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2638 if test -n "$ac_ct_CC"; then
2639 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2640 echo "${ECHO_T}$ac_ct_CC" >&6
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2651 if test -z "$CC"; then
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}cc; ac_word=$2
2655 echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2657 if test "${ac_cv_prog_CC+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC="$CC" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_CC="${ac_tool_prefix}cc"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 if test -n "$CC"; then
2681 echo "$as_me:$LINENO: result: $CC" >&5
2682 echo "${ECHO_T}$CC" >&6
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2689 if test -z "$ac_cv_prog_CC"; then
2691 # Extract the first word of "cc", so it can be a program name with args.
2692 set dummy cc; ac_word=$2
2693 echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$ac_ct_CC"; then
2699 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_ac_ct_CC="cc"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2718 if test -n "$ac_ct_CC"; then
2719 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2720 echo "${ECHO_T}$ac_ct_CC" >&6
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2732 if test -z "$CC"; then
2733 # Extract the first word of "cc", so it can be a program name with args.
2734 set dummy cc; ac_word=$2
2735 echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2737 if test "${ac_cv_prog_CC+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test -n "$CC"; then
2741 ac_cv_prog_CC="$CC" # Let the user override the test.
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 test -z "$as_dir" && as_dir=.
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2751 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2752 ac_prog_rejected=yes
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 if test $ac_prog_rejected = yes; then
2763 # We found a bogon in the path, so make sure we never use it.
2764 set dummy $ac_cv_prog_CC
2766 if test $# != 0; then
2767 # We chose a different compiler from the bogus one.
2768 # However, it has the same basename, so the bogon will be chosen
2769 # first if we set CC to just the basename; use the full file name.
2771 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2777 if test -n "$CC"; then
2778 echo "$as_me:$LINENO: result: $CC" >&5
2779 echo "${ECHO_T}$CC" >&6
2781 echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6
2786 if test -z "$CC"; then
2787 if test -n "$ac_tool_prefix"; then
2790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2792 echo "$as_me:$LINENO: checking for $ac_word" >&5
2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2794 if test "${ac_cv_prog_CC+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 if test -n "$CC"; then
2798 ac_cv_prog_CC="$CC" # Let the user override the test.
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 if test -n "$CC"; then
2818 echo "$as_me:$LINENO: result: $CC" >&5
2819 echo "${ECHO_T}$CC" >&6
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2825 test -n "$CC" && break
2828 if test -z "$CC"; then
2832 # Extract the first word of "$ac_prog", so it can be a program name with args.
2833 set dummy $ac_prog; ac_word=$2
2834 echo "$as_me:$LINENO: checking for $ac_word" >&5
2835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2837 echo $ECHO_N "(cached) $ECHO_C" >&6
2839 if test -n "$ac_ct_CC"; then
2840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir=.
2847 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2849 ac_cv_prog_ac_ct_CC="$ac_prog"
2850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2859 if test -n "$ac_ct_CC"; then
2860 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2861 echo "${ECHO_T}$ac_ct_CC" >&6
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2867 test -n "$ac_ct_CC" && break
2876 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2877 See \`config.log' for more details." >&5
2878 echo "$as_me: error: no acceptable C compiler found in \$PATH
2879 See \`config.log' for more details." >&2;}
2880 { (exit 1); exit 1; }; }
2882 # Provide some information about the compiler.
2883 echo "$as_me:$LINENO:" \
2884 "checking for C compiler version" >&5
2885 ac_compiler=`set X $ac_compile; echo $2`
2886 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2887 (eval $ac_compiler --version </dev/null >&5) 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }
2891 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2892 (eval $ac_compiler -v </dev/null >&5) 2>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }
2896 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2897 (eval $ac_compiler -V </dev/null >&5) 2>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }
2902 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2903 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2904 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 cat >conftest.$ac_ext <<_ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2929 grep -v '^ *+' conftest.er1 >conftest.err
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2958 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2959 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2960 GCC=`test $ac_compiler_gnu = yes && echo yes`
2961 ac_test_CFLAGS=${CFLAGS+set}
2962 ac_save_CFLAGS=$CFLAGS
2964 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2965 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2966 if test "${ac_cv_prog_cc_g+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 cat >conftest.$ac_ext <<_ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2984 rm -f conftest.$ac_objext
2985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2986 (eval $ac_compile) 2>conftest.er1
2988 grep -v '^ *+' conftest.er1 >conftest.err
2990 cat conftest.err >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } &&
2993 { ac_try='test -z "$ac_c_werror_flag"
2994 || test ! -s conftest.err'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; } &&
3000 { ac_try='test -s conftest.$ac_objext'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; }; then
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3015 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3016 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3017 if test "$ac_test_CFLAGS" = set; then
3018 CFLAGS=$ac_save_CFLAGS
3019 elif test $ac_cv_prog_cc_g = yes; then
3020 if test "$GCC" = yes; then
3026 if test "$GCC" = yes; then
3032 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3033 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3034 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 ac_cv_prog_cc_stdc=no
3039 cat >conftest.$ac_ext <<_ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3047 #include <sys/types.h>
3048 #include <sys/stat.h>
3049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3050 struct buf { int x; };
3051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3052 static char *e (p, i)
3058 static char *f (char * (*g) (char **, int), char **p, ...)
3063 s = g (p, va_arg (v,int));
3068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3069 function prototypes and stuff, but not '\xHH' hex character constants.
3070 These don't provoke an error unfortunately, instead are silently treated
3071 as 'x'. The following induces an error, until -std1 is added to get
3072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3073 array size at least. It's necessary to write '\x00'==0 to get something
3074 that's true only with -std1. */
3075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3077 int test (int i, double x);
3078 struct s1 {int (*f) (int a);};
3079 struct s2 {int (*f) (double a);};
3080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3091 # Don't try gcc -ansi; that turns off useful extensions and
3092 # breaks some systems' header files.
3093 # AIX -qlanglvl=ansi
3094 # Ultrix and OSF/1 -std1
3095 # HP-UX 10.20 and later -Ae
3096 # HP-UX older versions -Aa -D_HPUX_SOURCE
3097 # SVR4 -Xc -D__EXTENSIONS__
3098 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3100 CC="$ac_save_CC $ac_arg"
3101 rm -f conftest.$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>conftest.er1
3105 grep -v '^ *+' conftest.er1 >conftest.err
3107 cat conftest.err >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try='test -z "$ac_c_werror_flag"
3111 || test ! -s conftest.err'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; } &&
3117 { ac_try='test -s conftest.$ac_objext'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; }; then
3123 ac_cv_prog_cc_stdc=$ac_arg
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3130 rm -f conftest.err conftest.$ac_objext
3132 rm -f conftest.$ac_ext conftest.$ac_objext
3137 case "x$ac_cv_prog_cc_stdc" in
3139 echo "$as_me:$LINENO: result: none needed" >&5
3140 echo "${ECHO_T}none needed" >&6 ;;
3142 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3143 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3144 CC="$CC $ac_cv_prog_cc_stdc" ;;
3147 # Some people use a C++ compiler to compile C. Since we use `exit',
3148 # in C++ we need to declare it. In case someone uses the same compiler
3149 # for both compiling C and C++ we need to have the C++ compiler decide
3150 # the declaration of exit, since it's the most demanding environment.
3151 cat >conftest.$ac_ext <<_ACEOF
3156 rm -f conftest.$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try='test -z "$ac_c_werror_flag"
3166 || test ! -s conftest.err'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; } &&
3172 { ac_try='test -s conftest.$ac_objext'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3178 for ac_declaration in \
3180 'extern "C" void std::exit (int) throw (); using std::exit;' \
3181 'extern "C" void std::exit (int); using std::exit;' \
3182 'extern "C" void exit (int) throw ();' \
3183 'extern "C" void exit (int);' \
3186 cat >conftest.$ac_ext <<_ACEOF
3189 cat confdefs.h >>conftest.$ac_ext
3190 cat >>conftest.$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3247 rm -f conftest.$ac_objext
3248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3249 (eval $ac_compile) 2>conftest.er1
3251 grep -v '^ *+' conftest.er1 >conftest.err
3253 cat conftest.err >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } &&
3256 { ac_try='test -z "$ac_c_werror_flag"
3257 || test ! -s conftest.err'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; } &&
3263 { ac_try='test -s conftest.$ac_objext'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; }; then
3271 echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3278 if test -n "$ac_declaration"; then
3279 echo '#ifdef __cplusplus' >>confdefs.h
3280 echo $ac_declaration >>confdefs.h
3281 echo '#endif' >>confdefs.h
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3300 if test -n "$ac_tool_prefix"; then
3301 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3303 echo "$as_me:$LINENO: checking for $ac_word" >&5
3304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3305 if test "${ac_cv_prog_RANLIB+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 if test -n "$RANLIB"; then
3309 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir=.
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3318 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 RANLIB=$ac_cv_prog_RANLIB
3328 if test -n "$RANLIB"; then
3329 echo "$as_me:$LINENO: result: $RANLIB" >&5
3330 echo "${ECHO_T}$RANLIB" >&6
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3337 if test -z "$ac_cv_prog_RANLIB"; then
3338 ac_ct_RANLIB=$RANLIB
3339 # Extract the first word of "ranlib", so it can be a program name with args.
3340 set dummy ranlib; ac_word=$2
3341 echo "$as_me:$LINENO: checking for $ac_word" >&5
3342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3343 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 if test -n "$ac_ct_RANLIB"; then
3347 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir=.
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3356 ac_cv_prog_ac_ct_RANLIB="ranlib"
3357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3367 if test -n "$ac_ct_RANLIB"; then
3368 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3369 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3375 RANLIB=$ac_ct_RANLIB
3377 RANLIB="$ac_cv_prog_RANLIB"
3381 # Put a plausible default for CC_FOR_BUILD in Makefile.
3382 if test "x$cross_compiling" = "xno"; then
3383 CC_FOR_BUILD='$(CC)'
3389 # If a cpu ever has more than one simulator to choose from, use
3390 # --enable-sim=... to choose.
3391 # Check whether --enable-sim or --disable-sim was given.
3392 if test "${enable_sim+set}" = set; then
3393 enableval="$enable_sim"
3394 case "${enableval}" in
3396 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3397 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3398 { (exit 1); exit 1; }; } ;;
3402 # WHEN ADDING ENTRIES TO THIS MATRIX:
3404 # Make sure that the left side always has two dashes. Otherwise you
3405 # can get spurious matches. Even for unambiguous cases, do this as a
3406 # convention, else the table becomes a real mess to understand and
3409 if test "${enable_sim}" != no; then
3414 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3417 subdirs="$subdirs arm"
3422 cris-*-* | crisv32-*-*)
3425 subdirs="$subdirs cris"
3433 subdirs="$subdirs d10v"
3439 subdirs="$subdirs frv"
3447 subdirs="$subdirs h8300"
3455 subdirs="$subdirs iq2000"
3463 subdirs="$subdirs m32r"
3468 m68hc11-*-*|m6811-*-*)
3471 subdirs="$subdirs m68hc11"
3479 subdirs="$subdirs mcore"
3487 subdirs="$subdirs mips"
3496 subdirs="$subdirs mn10300"
3504 subdirs="$subdirs sh"
3512 subdirs="$subdirs ppc"
3519 subdirs="$subdirs v850"
3524 if test "$testsuite" = yes; then
3527 subdirs="$subdirs testsuite"
3530 if test "$common" = yes; then
3533 subdirs="$subdirs common"
3536 if test "$igen" = yes; then
3539 subdirs="$subdirs igen"
3544 ac_config_files="$ac_config_files Makefile"
3545 cat >confcache <<\_ACEOF
3546 # This file is a shell script that caches the results of configure
3547 # tests run on this system so they can be shared between configure
3548 # scripts and configure runs, see configure's option --config-cache.
3549 # It is not useful on other systems. If it contains results you don't
3550 # want to keep, you may remove or edit it.
3552 # config.status only pays attention to the cache file if you give it
3553 # the --recheck option to rerun configure.
3555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3561 # The following way of writing the cache mishandles newlines in values,
3562 # but we know of no workaround that is simple, portable, and efficient.
3563 # So, don't put newlines in cache variables' values.
3564 # Ultrix sh set writes to stderr and can't be redirected directly,
3565 # and sets the high bit in the cache file unless we assign to the vars.
3568 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3570 # `set' does not quote correctly, so add quotes (double-quote
3571 # substitution turns \\\\ into \\, and sed turns \\ into \).
3574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3577 # `set' quotes correctly as required by POSIX, so do not add quotes.
3579 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3588 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3590 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3591 if test -w $cache_file; then
3592 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3593 cat confcache >$cache_file
3595 echo "not updating unwritable cache $cache_file"
3600 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3601 # Let make expand exec_prefix.
3602 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3604 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3605 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3606 # trailing colons and then remove the whole line if VPATH becomes empty
3607 # (actually we leave an empty line to preserve line numbers).
3608 if test "x$srcdir" = x.; then
3609 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3610 s/:*\$(srcdir):*/:/;
3611 s/:*\${srcdir}:*/:/;
3613 s/^\([^=]*=[ ]*\):*/\1/;
3619 # Transform confdefs.h into DEFS.
3620 # Protect against shell expansion while executing Makefile rules.
3621 # Protect against Makefile macro expansion.
3623 # If the first sed substitution is executed (which looks for macros that
3624 # take arguments), then we branch to the quote section. Otherwise,
3625 # look for a macro that doesn't take arguments.
3626 cat >confdef2opt.sed <<\_ACEOF
3629 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3631 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3635 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3641 # We use echo to avoid assuming a particular line-breaking character.
3642 # The extra dot is to prevent the shell from consuming trailing
3643 # line-breaks from the sub-command output. A line-break within
3644 # single-quotes doesn't work because, if this script is created in a
3645 # platform that uses two characters for line-breaks (e.g., DOS), tr
3647 ac_LF_and_DOT=`echo; echo .`
3648 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3649 rm -f confdef2opt.sed
3654 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3655 # 1. Remove the extension, and $U if already installed.
3656 ac_i=`echo "$ac_i" |
3657 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3659 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3660 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3664 LTLIBOBJS=$ac_ltlibobjs
3668 : ${CONFIG_STATUS=./config.status}
3669 ac_clean_files_save=$ac_clean_files
3670 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3671 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3672 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3673 cat >$CONFIG_STATUS <<_ACEOF
3675 # Generated by $as_me.
3676 # Run this file to recreate the current configuration.
3677 # Compiler output produced by configure, useful for debugging
3678 # configure, is in config.log if it exists.
3683 SHELL=\${CONFIG_SHELL-$SHELL}
3686 cat >>$CONFIG_STATUS <<\_ACEOF
3687 ## --------------------- ##
3688 ## M4sh Initialization. ##
3689 ## --------------------- ##
3691 # Be Bourne compatible
3692 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3695 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3696 # is contrary to our usage. Disable this feature.
3697 alias -g '${1+"$@"}'='"$@"'
3698 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3701 DUALCASE=1; export DUALCASE # for MKS sh
3703 # Support unset when possible.
3704 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3711 # Work around bugs in pre-3.0 UWIN ksh.
3712 $as_unset ENV MAIL MAILPATH
3719 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3720 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3721 LC_TELEPHONE LC_TIME
3723 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3724 eval $as_var=C; export $as_var
3730 # Required to use basename.
3731 if expr a : '\(a\)' >/dev/null 2>&1; then
3737 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3738 as_basename=basename
3744 # Name of the executable.
3745 as_me=`$as_basename "$0" ||
3746 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3747 X"$0" : 'X\(//\)$' \| \
3748 X"$0" : 'X\(/\)$' \| \
3749 . : '\(.\)' 2>/dev/null ||
3751 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3752 /^X\/\(\/\/\)$/{ s//\1/; q; }
3753 /^X\/\(\/\).*/{ s//\1/; q; }
3757 # PATH needs CR, and LINENO needs CR and PATH.
3758 # Avoid depending upon Character Ranges.
3759 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3760 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3761 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3762 as_cr_digits='0123456789'
3763 as_cr_alnum=$as_cr_Letters$as_cr_digits
3765 # The user is always right.
3766 if test "${PATH_SEPARATOR+set}" != set; then
3767 echo "#! /bin/sh" >conf$$.sh
3768 echo "exit 0" >>conf$$.sh
3770 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3781 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3782 test "x$as_lineno_1" != "x$as_lineno_2" &&
3783 test "x$as_lineno_3" = "x$as_lineno_2" || {
3784 # Find who we are. Look in the path if we contain no path at all
3787 *[\\/]* ) as_myself=$0 ;;
3788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3798 # We did not find ourselves, most probably we were run as `sh COMMAND'
3799 # in which case we are not to be found in the path.
3800 if test "x$as_myself" = x; then
3803 if test ! -f "$as_myself"; then
3804 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3805 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3806 { (exit 1); exit 1; }; }
3808 case $CONFIG_SHELL in
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3814 test -z "$as_dir" && as_dir=.
3815 for as_base in sh bash ksh sh5; do
3818 if ("$as_dir/$as_base" -c '
3821 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3822 test "x$as_lineno_1" != "x$as_lineno_2" &&
3823 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3824 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3825 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3826 CONFIG_SHELL=$as_dir/$as_base
3828 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3836 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3837 # uniformly replaced by the line number. The first 'sed' inserts a
3838 # line-number line before each line; the second 'sed' does the real
3839 # work. The second script uses 'N' to pair each line-number line
3840 # with the numbered line, and appends trailing '-' during
3841 # substitution so that $LINENO is not a special case at line end.
3842 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3843 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3844 sed '=' <$as_myself |
3849 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3852 s,^['$as_cr_digits']*\n,,
3854 chmod +x $as_me.lineno ||
3855 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3856 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3857 { (exit 1); exit 1; }; }
3859 # Don't try to exec as it changes $[0], causing all sort of problems
3860 # (the dirname of $[0] is not the place where we might find the
3861 # original and so on. Autoconf is especially sensible to this).
3863 # Exit status is that of the last command.
3868 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3869 *c*,-n*) ECHO_N= ECHO_C='
3871 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3872 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3875 if expr a : '\(a\)' >/dev/null 2>&1; then
3881 rm -f conf$$ conf$$.exe conf$$.file
3883 if ln -s conf$$.file conf$$ 2>/dev/null; then
3884 # We could just check for DJGPP; but this test a) works b) is more generic
3885 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3886 if test -f conf$$.exe; then
3887 # Don't use ln at all; we don't have any links
3892 elif ln conf$$.file conf$$ 2>/dev/null; then
3897 rm -f conf$$ conf$$.exe conf$$.file
3899 if mkdir -p . 2>/dev/null; then
3902 test -d ./-p && rmdir ./-p
3906 as_executable_p="test -f"
3908 # Sed expression to map a string onto a valid CPP name.
3909 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3911 # Sed expression to map a string onto a valid variable name.
3912 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3916 # We need space, tab and new line, in precisely that order.
3926 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3927 # report actual input values of CONFIG_FILES etc. instead of their
3928 # values after options handling. Logging --version etc. is OK.
3932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3933 ## Running $as_me. ##
3938 This file was extended by $as_me, which was
3939 generated by GNU Autoconf 2.59. Invocation command line was
3941 CONFIG_FILES = $CONFIG_FILES
3942 CONFIG_HEADERS = $CONFIG_HEADERS
3943 CONFIG_LINKS = $CONFIG_LINKS
3944 CONFIG_COMMANDS = $CONFIG_COMMANDS
3948 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3952 # Files that config.status was made for.
3953 if test -n "$ac_config_files"; then
3954 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3957 if test -n "$ac_config_headers"; then
3958 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3961 if test -n "$ac_config_links"; then
3962 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3965 if test -n "$ac_config_commands"; then
3966 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3969 cat >>$CONFIG_STATUS <<\_ACEOF
3972 \`$as_me' instantiates files from templates according to the
3973 current configuration.
3975 Usage: $0 [OPTIONS] [FILE]...
3977 -h, --help print this help, then exit
3978 -V, --version print version number, then exit
3979 -q, --quiet do not print progress messages
3980 -d, --debug don't remove temporary files
3981 --recheck update $as_me by reconfiguring in the same conditions
3982 --file=FILE[:TEMPLATE]
3983 instantiate the configuration file FILE
3985 Configuration files:
3991 cat >>$CONFIG_STATUS <<_ACEOF
3994 configured by $0, generated by GNU Autoconf 2.59,
3995 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3997 Copyright (C) 2003 Free Software Foundation, Inc.
3998 This config.status script is free software; the Free Software Foundation
3999 gives unlimited permission to copy, distribute and modify it."
4004 cat >>$CONFIG_STATUS <<\_ACEOF
4005 # If no file are specified by the user, then we need to provide default
4006 # value. By we need to know if files were specified by the user.
4012 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4013 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4021 *) # This is not an option, so the user has probably given explicit
4024 ac_need_defaults=false;;
4028 # Handling of the options.
4030 cat >>$CONFIG_STATUS <<\_ACEOF
4031 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4033 --version | --vers* | -V )
4034 echo "$ac_cs_version"; exit 0 ;;
4036 # Conflict between --help and --header
4037 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4038 Try \`$0 --help' for more information." >&5
4039 echo "$as_me: error: ambiguous option: $1
4040 Try \`$0 --help' for more information." >&2;}
4041 { (exit 1); exit 1; }; };;
4042 --help | --hel | -h )
4043 echo "$ac_cs_usage"; exit 0 ;;
4044 --debug | --d* | -d )
4046 --file | --fil | --fi | --f )
4048 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4049 ac_need_defaults=false;;
4050 --header | --heade | --head | --hea )
4052 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4053 ac_need_defaults=false;;
4054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4059 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4060 Try \`$0 --help' for more information." >&5
4061 echo "$as_me: error: unrecognized option: $1
4062 Try \`$0 --help' for more information." >&2;}
4063 { (exit 1); exit 1; }; } ;;
4065 *) ac_config_targets="$ac_config_targets $1" ;;
4071 ac_configure_extra_args=
4073 if $ac_cs_silent; then
4075 ac_configure_extra_args="$ac_configure_extra_args --silent"
4079 cat >>$CONFIG_STATUS <<_ACEOF
4080 if \$ac_cs_recheck; then
4081 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4082 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4091 cat >>$CONFIG_STATUS <<\_ACEOF
4092 for ac_config_target in $ac_config_targets
4094 case "$ac_config_target" in
4095 # Handling of arguments.
4096 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4097 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4098 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4099 { (exit 1); exit 1; }; };;
4103 # If the user did not use the arguments to specify the items to instantiate,
4104 # then the envvar interface is used. Set only those that are not.
4105 # We use the long form for the default assignment because of an extremely
4106 # bizarre bug on SunOS 4.1.3.
4107 if $ac_need_defaults; then
4108 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4111 # Have a temporary directory for convenience. Make it in the build tree
4112 # simply because there is no reason to put it here, and in addition,
4113 # creating and moving files from /tmp can sometimes cause problems.
4114 # Create a temporary directory, and hook for its removal unless debugging.
4117 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4118 trap '{ (exit 1); exit 1; }' 1 2 13 15
4121 # Create a (secure) tmp directory for tmp files.
4124 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4125 test -n "$tmp" && test -d "$tmp"
4128 tmp=./confstat$$-$RANDOM
4129 (umask 077 && mkdir $tmp)
4132 echo "$me: cannot create a temporary directory in ." >&2
4133 { (exit 1); exit 1; }
4138 cat >>$CONFIG_STATUS <<_ACEOF
4141 # CONFIG_FILES section.
4144 # No need to generate the scripts if there are no CONFIG_FILES.
4145 # This happens for instance when ./config.status config.h
4146 if test -n "\$CONFIG_FILES"; then
4147 # Protect against being on the right side of a sed subst in config.status.
4148 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4149 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4150 s,@SHELL@,$SHELL,;t t
4151 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4152 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4153 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4154 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4155 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4156 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4157 s,@exec_prefix@,$exec_prefix,;t t
4158 s,@prefix@,$prefix,;t t
4159 s,@program_transform_name@,$program_transform_name,;t t
4160 s,@bindir@,$bindir,;t t
4161 s,@sbindir@,$sbindir,;t t
4162 s,@libexecdir@,$libexecdir,;t t
4163 s,@datadir@,$datadir,;t t
4164 s,@sysconfdir@,$sysconfdir,;t t
4165 s,@sharedstatedir@,$sharedstatedir,;t t
4166 s,@localstatedir@,$localstatedir,;t t
4167 s,@libdir@,$libdir,;t t
4168 s,@includedir@,$includedir,;t t
4169 s,@oldincludedir@,$oldincludedir,;t t
4170 s,@infodir@,$infodir,;t t
4171 s,@mandir@,$mandir,;t t
4172 s,@build_alias@,$build_alias,;t t
4173 s,@host_alias@,$host_alias,;t t
4174 s,@target_alias@,$target_alias,;t t
4176 s,@ECHO_C@,$ECHO_C,;t t
4177 s,@ECHO_N@,$ECHO_N,;t t
4178 s,@ECHO_T@,$ECHO_T,;t t
4181 s,@CFLAGS@,$CFLAGS,;t t
4182 s,@LDFLAGS@,$LDFLAGS,;t t
4183 s,@CPPFLAGS@,$CPPFLAGS,;t t
4184 s,@ac_ct_CC@,$ac_ct_CC,;t t
4185 s,@EXEEXT@,$EXEEXT,;t t
4186 s,@OBJEXT@,$OBJEXT,;t t
4187 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4188 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4189 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4191 s,@ac_ct_AR@,$ac_ct_AR,;t t
4192 s,@RANLIB@,$RANLIB,;t t
4193 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4194 s,@build@,$build,;t t
4195 s,@build_cpu@,$build_cpu,;t t
4196 s,@build_vendor@,$build_vendor,;t t
4197 s,@build_os@,$build_os,;t t
4199 s,@host_cpu@,$host_cpu,;t t
4200 s,@host_vendor@,$host_vendor,;t t
4201 s,@host_os@,$host_os,;t t
4202 s,@target@,$target,;t t
4203 s,@target_cpu@,$target_cpu,;t t
4204 s,@target_vendor@,$target_vendor,;t t
4205 s,@target_os@,$target_os,;t t
4206 s,@HDEFINES@,$HDEFINES,;t t
4207 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4208 s,@subdirs@,$subdirs,;t t
4209 s,@LIBOBJS@,$LIBOBJS,;t t
4210 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4215 cat >>$CONFIG_STATUS <<\_ACEOF
4216 # Split the substitutions into bite-sized pieces for seds with
4217 # small command number limits, like on Digital OSF/1 and HP-UX.
4219 ac_sed_frag=1 # Number of current file.
4220 ac_beg=1 # First line for current file.
4221 ac_end=$ac_max_sed_lines # Line after last line for current file.
4224 while $ac_more_lines; do
4225 if test $ac_beg -gt 1; then
4226 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4228 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4230 if test ! -s $tmp/subs.frag; then
4233 # The purpose of the label and of the branching condition is to
4234 # speed up the sed processing (if there are no `@' at all, there
4235 # is no need to browse any of the substitutions).
4236 # These are the two extra sed commands mentioned above.
4238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4239 if test -z "$ac_sed_cmds"; then
4240 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4242 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4244 ac_sed_frag=`expr $ac_sed_frag + 1`
4246 ac_end=`expr $ac_end + $ac_max_sed_lines`
4249 if test -z "$ac_sed_cmds"; then
4252 fi # test -n "$CONFIG_FILES"
4255 cat >>$CONFIG_STATUS <<\_ACEOF
4256 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4257 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4259 - | *:- | *:-:* ) # input from stdin
4261 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4262 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4263 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4264 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4265 * ) ac_file_in=$ac_file.in ;;
4268 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4269 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4270 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4271 X"$ac_file" : 'X\(//\)[^/]' \| \
4272 X"$ac_file" : 'X\(//\)$' \| \
4273 X"$ac_file" : 'X\(/\)' \| \
4274 . : '\(.\)' 2>/dev/null ||
4276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4278 /^X\(\/\/\)$/{ s//\1/; q; }
4279 /^X\(\/\).*/{ s//\1/; q; }
4281 { if $as_mkdir_p; then
4286 while test ! -d "$as_dir"; do
4287 as_dirs="$as_dir $as_dirs"
4288 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4289 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4290 X"$as_dir" : 'X\(//\)[^/]' \| \
4291 X"$as_dir" : 'X\(//\)$' \| \
4292 X"$as_dir" : 'X\(/\)' \| \
4293 . : '\(.\)' 2>/dev/null ||
4295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4296 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4297 /^X\(\/\/\)$/{ s//\1/; q; }
4298 /^X\(\/\).*/{ s//\1/; q; }
4301 test ! -n "$as_dirs" || mkdir $as_dirs
4302 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4303 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4304 { (exit 1); exit 1; }; }; }
4308 if test "$ac_dir" != .; then
4309 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4310 # A "../" for each directory in $ac_dir_suffix.
4311 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4313 ac_dir_suffix= ac_top_builddir=
4317 .) # No --srcdir option. We are building in place.
4319 if test -z "$ac_top_builddir"; then
4322 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4324 [\\/]* | ?:[\\/]* ) # Absolute path.
4325 ac_srcdir=$srcdir$ac_dir_suffix;
4326 ac_top_srcdir=$srcdir ;;
4328 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4329 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4332 # Do not use `cd foo && pwd` to compute absolute paths, because
4333 # the directories may not exist.
4335 .) ac_abs_builddir="$ac_dir";;
4338 .) ac_abs_builddir=`pwd`;;
4339 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4340 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4343 case $ac_abs_builddir in
4344 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4346 case ${ac_top_builddir}. in
4347 .) ac_abs_top_builddir=$ac_abs_builddir;;
4348 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4349 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4352 case $ac_abs_builddir in
4353 .) ac_abs_srcdir=$ac_srcdir;;
4356 .) ac_abs_srcdir=$ac_abs_builddir;;
4357 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4358 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4361 case $ac_abs_builddir in
4362 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4364 case $ac_top_srcdir in
4365 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4366 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4367 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4373 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4374 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4377 if test x"$ac_file" != x-; then
4378 { echo "$as_me:$LINENO: creating $ac_file" >&5
4379 echo "$as_me: creating $ac_file" >&6;}
4382 # Let's still pretend it is `configure' which instantiates (i.e., don't
4383 # use $as_me), people would be surprised to read:
4384 # /* config.h. Generated by config.status. */
4385 if test x"$ac_file" = x-; then
4388 configure_input="$ac_file. "
4390 configure_input=$configure_input"Generated from `echo $ac_file_in |
4391 sed 's,.*/,,'` by configure."
4393 # First look for the input files in the build tree, otherwise in the
4395 ac_file_inputs=`IFS=:
4396 for f in $ac_file_in; do
4398 -) echo $tmp/stdin ;;
4400 # Absolute (can't be DOS-style, as IFS=:)
4401 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4402 echo "$as_me: error: cannot find input file: $f" >&2;}
4403 { (exit 1); exit 1; }; }
4406 if test -f "$f"; then
4409 elif test -f "$srcdir/$f"; then
4414 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4415 echo "$as_me: error: cannot find input file: $f" >&2;}
4416 { (exit 1); exit 1; }; }
4419 done` || { (exit 1); exit 1; }
4421 cat >>$CONFIG_STATUS <<_ACEOF
4425 cat >>$CONFIG_STATUS <<\_ACEOF
4427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4428 s,@configure_input@,$configure_input,;t t
4429 s,@srcdir@,$ac_srcdir,;t t
4430 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4431 s,@top_srcdir@,$ac_top_srcdir,;t t
4432 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4433 s,@builddir@,$ac_builddir,;t t
4434 s,@abs_builddir@,$ac_abs_builddir,;t t
4435 s,@top_builddir@,$ac_top_builddir,;t t
4436 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4437 s,@INSTALL@,$ac_INSTALL,;t t
4438 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4440 if test x"$ac_file" != x-; then
4441 mv $tmp/out $ac_file
4450 cat >>$CONFIG_STATUS <<\_ACEOF
4452 { (exit 0); exit 0; }
4454 chmod +x $CONFIG_STATUS
4455 ac_clean_files=$ac_clean_files_save
4458 # configure is writing to config.log, and then calls config.status.
4459 # config.status does its own redirection, appending to config.log.
4460 # Unfortunately, on DOS this fails, as config.log is still kept open
4461 # by configure, so config.status won't be able to write to it; its
4462 # output is simply discarded. So we exec the FD to /dev/null,
4463 # effectively closing config.log, so it can be properly (re)opened and
4464 # appended to by config.status. When coming back to configure, we
4465 # need to make the FD available again.
4466 if test "$no_create" != yes; then
4468 ac_config_status_args=
4469 test "$silent" = yes &&
4470 ac_config_status_args="$ac_config_status_args --quiet"
4472 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4474 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4475 # would make configure fail if this is the last instruction.
4476 $ac_cs_success || { (exit 1); exit 1; }
4480 # CONFIG_SUBDIRS section.
4482 if test "$no_recursion" != yes; then
4484 # Remove --cache-file and --srcdir arguments so they do not pile up.
4485 ac_sub_configure_args=
4487 for ac_arg in $ac_configure_args; do
4488 if test -n "$ac_prev"; then
4493 -cache-file | --cache-file | --cache-fil | --cache-fi \
4494 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4495 ac_prev=cache_file ;;
4496 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4497 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4500 --config-cache | -C)
4502 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4504 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4506 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4508 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4510 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4514 # Always prepend --prefix to ensure using the same prefix
4515 # in subdir configurations.
4516 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4519 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4521 # Do not complain, so a configure script can configure whichever
4522 # parts of a large source tree are present.
4523 test -d $srcdir/$ac_dir || continue
4525 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4526 echo "$as_me: configuring in $ac_dir" >&6;}
4527 { if $as_mkdir_p; then
4532 while test ! -d "$as_dir"; do
4533 as_dirs="$as_dir $as_dirs"
4534 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4536 X"$as_dir" : 'X\(//\)[^/]' \| \
4537 X"$as_dir" : 'X\(//\)$' \| \
4538 X"$as_dir" : 'X\(/\)' \| \
4539 . : '\(.\)' 2>/dev/null ||
4541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4543 /^X\(\/\/\)$/{ s//\1/; q; }
4544 /^X\(\/\).*/{ s//\1/; q; }
4547 test ! -n "$as_dirs" || mkdir $as_dirs
4548 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4549 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4550 { (exit 1); exit 1; }; }; }
4554 if test "$ac_dir" != .; then
4555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4556 # A "../" for each directory in $ac_dir_suffix.
4557 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4559 ac_dir_suffix= ac_top_builddir=
4563 .) # No --srcdir option. We are building in place.
4565 if test -z "$ac_top_builddir"; then
4568 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4570 [\\/]* | ?:[\\/]* ) # Absolute path.
4571 ac_srcdir=$srcdir$ac_dir_suffix;
4572 ac_top_srcdir=$srcdir ;;
4574 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4575 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4578 # Do not use `cd foo && pwd` to compute absolute paths, because
4579 # the directories may not exist.
4581 .) ac_abs_builddir="$ac_dir";;
4584 .) ac_abs_builddir=`pwd`;;
4585 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4586 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4589 case $ac_abs_builddir in
4590 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4592 case ${ac_top_builddir}. in
4593 .) ac_abs_top_builddir=$ac_abs_builddir;;
4594 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4595 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4598 case $ac_abs_builddir in
4599 .) ac_abs_srcdir=$ac_srcdir;;
4602 .) ac_abs_srcdir=$ac_abs_builddir;;
4603 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4604 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4607 case $ac_abs_builddir in
4608 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4610 case $ac_top_srcdir in
4611 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4612 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4613 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4620 # Check for guested configure; otherwise get Cygnus style configure.
4621 if test -f $ac_srcdir/configure.gnu; then
4622 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4623 elif test -f $ac_srcdir/configure; then
4624 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4625 elif test -f $ac_srcdir/configure.in; then
4626 ac_sub_configure=$ac_configure
4628 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4629 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4633 # The recursion is here.
4634 if test -n "$ac_sub_configure"; then
4635 # Make the cache file name correct relative to the subdirectory.
4637 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4639 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4642 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4643 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4644 # The eval makes quoting arguments work.
4645 eval $ac_sub_configure $ac_sub_configure_args \
4646 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4647 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4648 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4649 { (exit 1); exit 1; }; }