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 m32c"
282 ac_subdirs_all="$ac_subdirs_all m32r"
283 ac_subdirs_all="$ac_subdirs_all m68hc11"
284 ac_subdirs_all="$ac_subdirs_all mcore"
285 ac_subdirs_all="$ac_subdirs_all mips"
286 ac_subdirs_all="$ac_subdirs_all mn10300"
287 ac_subdirs_all="$ac_subdirs_all sh64"
288 ac_subdirs_all="$ac_subdirs_all sh"
289 ac_subdirs_all="$ac_subdirs_all ppc"
290 ac_subdirs_all="$ac_subdirs_all v850"
291 ac_subdirs_all="$ac_subdirs_all testsuite"
292 ac_subdirs_all="$ac_subdirs_all common"
293 ac_subdirs_all="$ac_subdirs_all igen"
294 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 CFLAGS_FOR_BUILD subdirs LIBOBJS LTLIBOBJS'
297 # Initialize some variables set by options.
299 ac_init_version=false
300 # The variables have the same names as the options, with
301 # dashes changed to underlines.
309 program_transform_name=s,x,x,
317 # Installation directory options.
318 # These are left unexpanded so users can "make install exec_prefix=/foo"
319 # and all the variables that are supposed to be based on exec_prefix
320 # by default will actually change.
321 # Use braces instead of parens because sh, perl, etc. also accept them.
322 bindir='${exec_prefix}/bin'
323 sbindir='${exec_prefix}/sbin'
324 libexecdir='${exec_prefix}/libexec'
325 datadir='${prefix}/share'
326 sysconfdir='${prefix}/etc'
327 sharedstatedir='${prefix}/com'
328 localstatedir='${prefix}/var'
329 libdir='${exec_prefix}/lib'
330 includedir='${prefix}/include'
331 oldincludedir='/usr/include'
332 infodir='${prefix}/info'
333 mandir='${prefix}/man'
338 # If the previous option needs an argument, assign it.
339 if test -n "$ac_prev"; then
340 eval "$ac_prev=\$ac_option"
345 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
347 # Accept the important Cygnus configure options, so we can diagnose typos.
351 -bindir | --bindir | --bindi | --bind | --bin | --bi)
353 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
356 -build | --build | --buil | --bui | --bu)
357 ac_prev=build_alias ;;
358 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
359 build_alias=$ac_optarg ;;
361 -cache-file | --cache-file | --cache-fil | --cache-fi \
362 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
363 ac_prev=cache_file ;;
364 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
365 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
366 cache_file=$ac_optarg ;;
369 cache_file=config.cache ;;
371 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
373 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
375 datadir=$ac_optarg ;;
377 -disable-* | --disable-*)
378 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
379 # Reject names that are not valid shell variable names.
380 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
381 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
382 { (exit 1); exit 1; }; }
383 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
384 eval "enable_$ac_feature=no" ;;
386 -enable-* | --enable-*)
387 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
388 # Reject names that are not valid shell variable names.
389 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
390 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
391 { (exit 1); exit 1; }; }
392 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
394 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
397 eval "enable_$ac_feature='$ac_optarg'" ;;
399 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
400 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
401 | --exec | --exe | --ex)
402 ac_prev=exec_prefix ;;
403 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
404 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
405 | --exec=* | --exe=* | --ex=*)
406 exec_prefix=$ac_optarg ;;
408 -gas | --gas | --ga | --g)
409 # Obsolete; use --with-gas.
412 -help | --help | --hel | --he | -h)
414 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
415 ac_init_help=recursive ;;
416 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
417 ac_init_help=short ;;
419 -host | --host | --hos | --ho)
420 ac_prev=host_alias ;;
421 -host=* | --host=* | --hos=* | --ho=*)
422 host_alias=$ac_optarg ;;
424 -includedir | --includedir | --includedi | --included | --include \
425 | --includ | --inclu | --incl | --inc)
426 ac_prev=includedir ;;
427 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
428 | --includ=* | --inclu=* | --incl=* | --inc=*)
429 includedir=$ac_optarg ;;
431 -infodir | --infodir | --infodi | --infod | --info | --inf)
433 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
434 infodir=$ac_optarg ;;
436 -libdir | --libdir | --libdi | --libd)
438 -libdir=* | --libdir=* | --libdi=* | --libd=*)
441 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
442 | --libexe | --libex | --libe)
443 ac_prev=libexecdir ;;
444 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
445 | --libexe=* | --libex=* | --libe=*)
446 libexecdir=$ac_optarg ;;
448 -localstatedir | --localstatedir | --localstatedi | --localstated \
449 | --localstate | --localstat | --localsta | --localst \
450 | --locals | --local | --loca | --loc | --lo)
451 ac_prev=localstatedir ;;
452 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
453 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
454 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
455 localstatedir=$ac_optarg ;;
457 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
459 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
463 # Obsolete; use --without-fp.
466 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
467 | --no-cr | --no-c | -n)
470 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
471 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
474 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
475 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
476 | --oldin | --oldi | --old | --ol | --o)
477 ac_prev=oldincludedir ;;
478 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
479 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
480 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
481 oldincludedir=$ac_optarg ;;
483 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
485 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
488 -program-prefix | --program-prefix | --program-prefi | --program-pref \
489 | --program-pre | --program-pr | --program-p)
490 ac_prev=program_prefix ;;
491 -program-prefix=* | --program-prefix=* | --program-prefi=* \
492 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
493 program_prefix=$ac_optarg ;;
495 -program-suffix | --program-suffix | --program-suffi | --program-suff \
496 | --program-suf | --program-su | --program-s)
497 ac_prev=program_suffix ;;
498 -program-suffix=* | --program-suffix=* | --program-suffi=* \
499 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
500 program_suffix=$ac_optarg ;;
502 -program-transform-name | --program-transform-name \
503 | --program-transform-nam | --program-transform-na \
504 | --program-transform-n | --program-transform- \
505 | --program-transform | --program-transfor \
506 | --program-transfo | --program-transf \
507 | --program-trans | --program-tran \
508 | --progr-tra | --program-tr | --program-t)
509 ac_prev=program_transform_name ;;
510 -program-transform-name=* | --program-transform-name=* \
511 | --program-transform-nam=* | --program-transform-na=* \
512 | --program-transform-n=* | --program-transform-=* \
513 | --program-transform=* | --program-transfor=* \
514 | --program-transfo=* | --program-transf=* \
515 | --program-trans=* | --program-tran=* \
516 | --progr-tra=* | --program-tr=* | --program-t=*)
517 program_transform_name=$ac_optarg ;;
519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
520 | -silent | --silent | --silen | --sile | --sil)
523 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
525 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
527 sbindir=$ac_optarg ;;
529 -sharedstatedir | --sharedstatedir | --sharedstatedi \
530 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
531 | --sharedst | --shareds | --shared | --share | --shar \
533 ac_prev=sharedstatedir ;;
534 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
535 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
536 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
538 sharedstatedir=$ac_optarg ;;
540 -site | --site | --sit)
542 -site=* | --site=* | --sit=*)
545 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
547 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
550 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
551 | --syscon | --sysco | --sysc | --sys | --sy)
552 ac_prev=sysconfdir ;;
553 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
554 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
555 sysconfdir=$ac_optarg ;;
557 -target | --target | --targe | --targ | --tar | --ta | --t)
558 ac_prev=target_alias ;;
559 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
560 target_alias=$ac_optarg ;;
562 -v | -verbose | --verbose | --verbos | --verbo | --verb)
565 -version | --version | --versio | --versi | --vers | -V)
569 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
570 # Reject names that are not valid shell variable names.
571 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
572 { echo "$as_me: error: invalid package name: $ac_package" >&2
573 { (exit 1); exit 1; }; }
574 ac_package=`echo $ac_package| sed 's/-/_/g'`
576 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
579 eval "with_$ac_package='$ac_optarg'" ;;
581 -without-* | --without-*)
582 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
583 # Reject names that are not valid shell variable names.
584 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
585 { echo "$as_me: error: invalid package name: $ac_package" >&2
586 { (exit 1); exit 1; }; }
587 ac_package=`echo $ac_package | sed 's/-/_/g'`
588 eval "with_$ac_package=no" ;;
591 # Obsolete; use --with-x.
594 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
595 | --x-incl | --x-inc | --x-in | --x-i)
596 ac_prev=x_includes ;;
597 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
598 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
599 x_includes=$ac_optarg ;;
601 -x-libraries | --x-libraries | --x-librarie | --x-librari \
602 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
603 ac_prev=x_libraries ;;
604 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
605 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
606 x_libraries=$ac_optarg ;;
608 -*) { echo "$as_me: error: unrecognized option: $ac_option
609 Try \`$0 --help' for more information." >&2
610 { (exit 1); exit 1; }; }
614 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
615 # Reject names that are not valid shell variable names.
616 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
617 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
618 { (exit 1); exit 1; }; }
619 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
620 eval "$ac_envvar='$ac_optarg'"
624 # FIXME: should be removed in autoconf 3.0.
625 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
626 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
627 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
628 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
634 if test -n "$ac_prev"; then
635 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
636 { echo "$as_me: error: missing argument to $ac_option" >&2
637 { (exit 1); exit 1; }; }
640 # Be sure to have absolute paths.
641 for ac_var in exec_prefix prefix
643 eval ac_val=$`echo $ac_var`
645 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
646 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
647 { (exit 1); exit 1; }; };;
651 # Be sure to have absolute paths.
652 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
653 localstatedir libdir includedir oldincludedir infodir mandir
655 eval ac_val=$`echo $ac_var`
657 [\\/$]* | ?:[\\/]* ) ;;
658 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
659 { (exit 1); exit 1; }; };;
663 # There might be people who depend on the old broken behavior: `$host'
664 # used to hold the argument of --host etc.
665 # FIXME: To remove some day.
670 # FIXME: To remove some day.
671 if test "x$host_alias" != x; then
672 if test "x$build_alias" = x; then
673 cross_compiling=maybe
674 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
675 If a cross compiler is detected then cross compile mode will be used." >&2
676 elif test "x$build_alias" != "x$host_alias"; then
682 test -n "$host_alias" && ac_tool_prefix=$host_alias-
684 test "$silent" = yes && exec 6>/dev/null
687 # Find the source files, if location was not specified.
688 if test -z "$srcdir"; then
689 ac_srcdir_defaulted=yes
690 # Try the directory containing this script, then its parent.
691 ac_confdir=`(dirname "$0") 2>/dev/null ||
692 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
693 X"$0" : 'X\(//\)[^/]' \| \
694 X"$0" : 'X\(//\)$' \| \
695 X"$0" : 'X\(/\)' \| \
696 . : '\(.\)' 2>/dev/null ||
698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
700 /^X\(\/\/\)$/{ s//\1/; q; }
701 /^X\(\/\).*/{ s//\1/; q; }
704 if test ! -r $srcdir/$ac_unique_file; then
708 ac_srcdir_defaulted=no
710 if test ! -r $srcdir/$ac_unique_file; then
711 if test "$ac_srcdir_defaulted" = yes; then
712 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
713 { (exit 1); exit 1; }; }
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
716 { (exit 1); exit 1; }; }
719 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
720 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
721 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
753 # Report the --help message.
755 if test "$ac_init_help" = "long"; then
756 # Omit some internal or obsolete options to make the list less imposing.
757 # This message is too long to be a string in the A/UX 3.1 sh.
759 \`configure' configures this package to adapt to many kinds of systems.
761 Usage: $0 [OPTION]... [VAR=VALUE]...
763 To assign environment variables (e.g., CC, CFLAGS...), specify them as
764 VAR=VALUE. See below for descriptions of some of the useful variables.
766 Defaults for the options are specified in brackets.
769 -h, --help display this help and exit
770 --help=short display options specific to this package
771 --help=recursive display the short help of all the included packages
772 -V, --version display version information and exit
773 -q, --quiet, --silent do not print \`checking...' messages
774 --cache-file=FILE cache test results in FILE [disabled]
775 -C, --config-cache alias for \`--cache-file=config.cache'
776 -n, --no-create do not create output files
777 --srcdir=DIR find the sources in DIR [configure dir or \`..']
782 Installation directories:
783 --prefix=PREFIX install architecture-independent files in PREFIX
785 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
788 By default, \`make install' will install all the files in
789 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
790 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
791 for instance \`--prefix=\$HOME'.
793 For better control, use the options below.
795 Fine tuning of the installation directories:
796 --bindir=DIR user executables [EPREFIX/bin]
797 --sbindir=DIR system admin executables [EPREFIX/sbin]
798 --libexecdir=DIR program executables [EPREFIX/libexec]
799 --datadir=DIR read-only architecture-independent data [PREFIX/share]
800 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
801 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
802 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
803 --libdir=DIR object code libraries [EPREFIX/lib]
804 --includedir=DIR C header files [PREFIX/include]
805 --oldincludedir=DIR C header files for non-gcc [/usr/include]
806 --infodir=DIR info documentation [PREFIX/info]
807 --mandir=DIR man documentation [PREFIX/man]
813 --program-prefix=PREFIX prepend PREFIX to installed program names
814 --program-suffix=SUFFIX append SUFFIX to installed program names
815 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
818 --build=BUILD configure for building on BUILD [guessed]
819 --host=HOST cross-compile to build programs to run on HOST [BUILD]
820 --target=TARGET configure for building compilers for TARGET [HOST]
824 if test -n "$ac_init_help"; then
829 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
830 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
833 Some influential environment variables:
834 CC C compiler command
835 CFLAGS C compiler flags
836 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
837 nonstandard directory <lib dir>
838 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
839 headers in a nonstandard directory <include dir>
841 Use these variables to override the choices made by `configure' or to help
842 it to find libraries and programs with nonstandard names/locations.
847 if test "$ac_init_help" = "recursive"; then
848 # If there are subdirs, report their specific --help.
850 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
851 test -d $ac_dir || continue
854 if test "$ac_dir" != .; then
855 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
856 # A "../" for each directory in $ac_dir_suffix.
857 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
859 ac_dir_suffix= ac_top_builddir=
863 .) # No --srcdir option. We are building in place.
865 if test -z "$ac_top_builddir"; then
868 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
870 [\\/]* | ?:[\\/]* ) # Absolute path.
871 ac_srcdir=$srcdir$ac_dir_suffix;
872 ac_top_srcdir=$srcdir ;;
874 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
875 ac_top_srcdir=$ac_top_builddir$srcdir ;;
878 # Do not use `cd foo && pwd` to compute absolute paths, because
879 # the directories may not exist.
881 .) ac_abs_builddir="$ac_dir";;
884 .) ac_abs_builddir=`pwd`;;
885 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
886 *) ac_abs_builddir=`pwd`/"$ac_dir";;
889 case $ac_abs_builddir in
890 .) ac_abs_top_builddir=${ac_top_builddir}.;;
892 case ${ac_top_builddir}. in
893 .) ac_abs_top_builddir=$ac_abs_builddir;;
894 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
895 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
898 case $ac_abs_builddir in
899 .) ac_abs_srcdir=$ac_srcdir;;
902 .) ac_abs_srcdir=$ac_abs_builddir;;
903 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
904 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
907 case $ac_abs_builddir in
908 .) ac_abs_top_srcdir=$ac_top_srcdir;;
910 case $ac_top_srcdir in
911 .) ac_abs_top_srcdir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
913 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
918 # Check for guested configure; otherwise get Cygnus style configure.
919 if test -f $ac_srcdir/configure.gnu; then
921 $SHELL $ac_srcdir/configure.gnu --help=recursive
922 elif test -f $ac_srcdir/configure; then
924 $SHELL $ac_srcdir/configure --help=recursive
925 elif test -f $ac_srcdir/configure.ac ||
926 test -f $ac_srcdir/configure.in; then
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
936 test -n "$ac_init_help" && exit 0
937 if $ac_init_version; then
940 Copyright (C) 2003 Free Software Foundation, Inc.
941 This configure script is free software; the Free Software Foundation
942 gives unlimited permission to copy, distribute and modify it.
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by $as_me, which was
952 generated by GNU Autoconf 2.59. Invocation command line was
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986 test -z "$as_dir" && as_dir=.
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Strip out --silent because we don't want to record it for future runs.
1005 # Also quote any args containing shell meta-characters.
1006 # Make two passes to allow for proper duplicate-argument suppression.
1011 ac_must_keep_next=false
1017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019 | -silent | --silent | --silen | --sile | --sil)
1021 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1022 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1025 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1027 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1028 if test $ac_must_keep_next = true; then
1029 ac_must_keep_next=false # Got value, back to normal.
1032 *=* | --config-cache | -C | -disable-* | --disable-* \
1033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1035 | -with-* | --with-* | -without-* | --without-* | --x)
1036 case "$ac_configure_args0 " in
1037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1040 -* ) ac_must_keep_next=true ;;
1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1050 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1051 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053 # When interrupted or exit'd, cleanup temporary files, and complete
1054 # config.log. We remove comments because anyway the quotes in there
1055 # would cause problems or look ugly.
1056 # WARNING: Be sure not to use single quotes in there, as some shells,
1057 # such as our DU 5.0 friend, will then `close' the trap.
1058 trap 'exit_status=$?
1059 # Save into config.log some information that might help in debugging.
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1069 # The following way of writing the cache mishandles newlines in values,
1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1092 for ac_var in $ac_subst_vars
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1099 if test -n "$ac_subst_files"; then
1106 for ac_var in $ac_subst_files
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -s confdefs.h; then
1121 sed "/^$/d" confdefs.h | sort
1124 test "$ac_signal" != 0 &&
1125 echo "$as_me: caught signal $ac_signal"
1126 echo "$as_me: exit $exit_status"
1128 rm -f core *.core &&
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1132 for ac_signal in 1 2 13 15; do
1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1138 rm -rf conftest* confdefs.h
1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142 # Predefined preprocessor variables.
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169 # Let the site file select an alternate cache file if it wants to.
1170 # Prefer explicitly selected file to automatically selected ones.
1171 if test -z "$CONFIG_SITE"; then
1172 if test "x$prefix" != xNONE; then
1173 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1175 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178 for ac_site_file in $CONFIG_SITE; do
1179 if test -r "$ac_site_file"; then
1180 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181 echo "$as_me: loading site script $ac_site_file" >&6;}
1182 sed 's/^/| /' "$ac_site_file" >&5
1187 if test -r "$cache_file"; then
1188 # Some versions of bash will fail to source /dev/null (special
1189 # files actually), so we avoid doing that.
1190 if test -f "$cache_file"; then
1191 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192 echo "$as_me: loading cache $cache_file" >&6;}
1194 [\\/]* | ?:[\\/]* ) . $cache_file;;
1195 *) . ./$cache_file;;
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1204 # Check that the precious variables saved in the cache have kept the same
1206 ac_cache_corrupted=false
1207 for ac_var in `(set) 2>&1 |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1210 eval ac_new_set=\$ac_env_${ac_var}_set
1211 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1212 eval ac_new_val="\$ac_env_${ac_var}_value"
1213 case $ac_old_set,$ac_new_set in
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221 ac_cache_corrupted=: ;;
1224 if test "x$ac_old_val" != "x$ac_new_val"; then
1225 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1226 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1227 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1228 echo "$as_me: former value: $ac_old_val" >&2;}
1229 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1230 echo "$as_me: current value: $ac_new_val" >&2;}
1231 ac_cache_corrupted=:
1234 # Pass precious variables to config.status.
1235 if test "$ac_new_set" = set; then
1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1239 *) ac_arg=$ac_var=$ac_new_val ;;
1241 case " $ac_configure_args " in
1242 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1243 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1247 if $ac_cache_corrupted; then
1248 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1249 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1250 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1251 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1252 { (exit 1); exit 1; }; }
1256 ac_cpp='$CPP $CPPFLAGS'
1257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1281 ac_cpp='$CPP $CPPFLAGS'
1282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285 if test -n "$ac_tool_prefix"; then
1286 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1287 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1288 echo "$as_me:$LINENO: checking for $ac_word" >&5
1289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1290 if test "${ac_cv_prog_CC+set}" = set; then
1291 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 if test -n "$CC"; then
1294 ac_cv_prog_CC="$CC" # Let the user override the test.
1296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 test -z "$as_dir" && as_dir=.
1301 for ac_exec_ext in '' $ac_executable_extensions; do
1302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1303 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1313 if test -n "$CC"; then
1314 echo "$as_me:$LINENO: result: $CC" >&5
1315 echo "${ECHO_T}$CC" >&6
1317 echo "$as_me:$LINENO: result: no" >&5
1318 echo "${ECHO_T}no" >&6
1322 if test -z "$ac_cv_prog_CC"; then
1324 # Extract the first word of "gcc", so it can be a program name with args.
1325 set dummy gcc; ac_word=$2
1326 echo "$as_me:$LINENO: checking for $ac_word" >&5
1327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1331 if test -n "$ac_ct_CC"; then
1332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 test -z "$as_dir" && as_dir=.
1339 for ac_exec_ext in '' $ac_executable_extensions; do
1340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1341 ac_cv_prog_ac_ct_CC="gcc"
1342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1351 if test -n "$ac_ct_CC"; then
1352 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1353 echo "${ECHO_T}$ac_ct_CC" >&6
1355 echo "$as_me:$LINENO: result: no" >&5
1356 echo "${ECHO_T}no" >&6
1364 if test -z "$CC"; then
1365 if test -n "$ac_tool_prefix"; then
1366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1367 set dummy ${ac_tool_prefix}cc; ac_word=$2
1368 echo "$as_me:$LINENO: checking for $ac_word" >&5
1369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1370 if test "${ac_cv_prog_CC+set}" = set; then
1371 echo $ECHO_N "(cached) $ECHO_C" >&6
1373 if test -n "$CC"; then
1374 ac_cv_prog_CC="$CC" # Let the user override the test.
1376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1380 test -z "$as_dir" && as_dir=.
1381 for ac_exec_ext in '' $ac_executable_extensions; do
1382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1383 ac_cv_prog_CC="${ac_tool_prefix}cc"
1384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1393 if test -n "$CC"; then
1394 echo "$as_me:$LINENO: result: $CC" >&5
1395 echo "${ECHO_T}$CC" >&6
1397 echo "$as_me:$LINENO: result: no" >&5
1398 echo "${ECHO_T}no" >&6
1402 if test -z "$ac_cv_prog_CC"; then
1404 # Extract the first word of "cc", so it can be a program name with args.
1405 set dummy cc; ac_word=$2
1406 echo "$as_me:$LINENO: checking for $ac_word" >&5
1407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1408 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 if test -n "$ac_ct_CC"; then
1412 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418 test -z "$as_dir" && as_dir=.
1419 for ac_exec_ext in '' $ac_executable_extensions; do
1420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1421 ac_cv_prog_ac_ct_CC="cc"
1422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1431 if test -n "$ac_ct_CC"; then
1432 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1433 echo "${ECHO_T}$ac_ct_CC" >&6
1435 echo "$as_me:$LINENO: result: no" >&5
1436 echo "${ECHO_T}no" >&6
1445 if test -z "$CC"; then
1446 # Extract the first word of "cc", so it can be a program name with args.
1447 set dummy cc; ac_word=$2
1448 echo "$as_me:$LINENO: checking for $ac_word" >&5
1449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1450 if test "${ac_cv_prog_CC+set}" = set; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1453 if test -n "$CC"; then
1454 ac_cv_prog_CC="$CC" # Let the user override the test.
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir=.
1462 for ac_exec_ext in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1464 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1465 ac_prog_rejected=yes
1469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1475 if test $ac_prog_rejected = yes; then
1476 # We found a bogon in the path, so make sure we never use it.
1477 set dummy $ac_cv_prog_CC
1479 if test $# != 0; then
1480 # We chose a different compiler from the bogus one.
1481 # However, it has the same basename, so the bogon will be chosen
1482 # first if we set CC to just the basename; use the full file name.
1484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1490 if test -n "$CC"; then
1491 echo "$as_me:$LINENO: result: $CC" >&5
1492 echo "${ECHO_T}$CC" >&6
1494 echo "$as_me:$LINENO: result: no" >&5
1495 echo "${ECHO_T}no" >&6
1499 if test -z "$CC"; then
1500 if test -n "$ac_tool_prefix"; then
1503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1505 echo "$as_me:$LINENO: checking for $ac_word" >&5
1506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1507 if test "${ac_cv_prog_CC+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 if test -n "$CC"; then
1511 ac_cv_prog_CC="$CC" # Let the user override the test.
1513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517 test -z "$as_dir" && as_dir=.
1518 for ac_exec_ext in '' $ac_executable_extensions; do
1519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1520 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1530 if test -n "$CC"; then
1531 echo "$as_me:$LINENO: result: $CC" >&5
1532 echo "${ECHO_T}$CC" >&6
1534 echo "$as_me:$LINENO: result: no" >&5
1535 echo "${ECHO_T}no" >&6
1538 test -n "$CC" && break
1541 if test -z "$CC"; then
1545 # Extract the first word of "$ac_prog", so it can be a program name with args.
1546 set dummy $ac_prog; ac_word=$2
1547 echo "$as_me:$LINENO: checking for $ac_word" >&5
1548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 if test -n "$ac_ct_CC"; then
1553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1559 test -z "$as_dir" && as_dir=.
1560 for ac_exec_ext in '' $ac_executable_extensions; do
1561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1562 ac_cv_prog_ac_ct_CC="$ac_prog"
1563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1572 if test -n "$ac_ct_CC"; then
1573 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1574 echo "${ECHO_T}$ac_ct_CC" >&6
1576 echo "$as_me:$LINENO: result: no" >&5
1577 echo "${ECHO_T}no" >&6
1580 test -n "$ac_ct_CC" && break
1589 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1590 See \`config.log' for more details." >&5
1591 echo "$as_me: error: no acceptable C compiler found in \$PATH
1592 See \`config.log' for more details." >&2;}
1593 { (exit 1); exit 1; }; }
1595 # Provide some information about the compiler.
1596 echo "$as_me:$LINENO:" \
1597 "checking for C compiler version" >&5
1598 ac_compiler=`set X $ac_compile; echo $2`
1599 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1600 (eval $ac_compiler --version </dev/null >&5) 2>&5
1602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1603 (exit $ac_status); }
1604 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1605 (eval $ac_compiler -v </dev/null >&5) 2>&5
1607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1608 (exit $ac_status); }
1609 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1610 (eval $ac_compiler -V </dev/null >&5) 2>&5
1612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1613 (exit $ac_status); }
1615 cat >conftest.$ac_ext <<_ACEOF
1618 cat confdefs.h >>conftest.$ac_ext
1619 cat >>conftest.$ac_ext <<_ACEOF
1620 /* end confdefs.h. */
1630 ac_clean_files_save=$ac_clean_files
1631 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1632 # Try to create an executable without -o first, disregard a.out.
1633 # It will help us diagnose broken compilers, and finding out an intuition
1635 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1636 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1637 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1638 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1639 (eval $ac_link_default) 2>&5
1641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1642 (exit $ac_status); }; then
1643 # Find the output, starting from the most likely. This scheme is
1644 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1647 # Be careful to initialize this variable, since it used to be cached.
1648 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1650 # b.out is created by i960 compilers.
1651 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1653 test -f "$ac_file" || continue
1655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1658 # This is the source file.
1661 # We found the default executable, but exeext='' is most
1665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1666 # FIXME: I believe we export ac_cv_exeext for Libtool,
1667 # but it would be cool to find out if it's true. Does anybody
1668 # maintain Libtool? --akim.
1676 echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1679 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1680 See \`config.log' for more details." >&5
1681 echo "$as_me: error: C compiler cannot create executables
1682 See \`config.log' for more details." >&2;}
1683 { (exit 77); exit 77; }; }
1686 ac_exeext=$ac_cv_exeext
1687 echo "$as_me:$LINENO: result: $ac_file" >&5
1688 echo "${ECHO_T}$ac_file" >&6
1690 # Check the compiler produces executables we can run. If not, either
1691 # the compiler is broken, or we cross compile.
1692 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1693 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1694 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1695 # If not cross compiling, check that we can run a simple program.
1696 if test "$cross_compiling" != yes; then
1697 if { ac_try='./$ac_file'
1698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1702 (exit $ac_status); }; }; then
1705 if test "$cross_compiling" = maybe; then
1708 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1709 If you meant to cross compile, use \`--host'.
1710 See \`config.log' for more details." >&5
1711 echo "$as_me: error: cannot run C compiled programs.
1712 If you meant to cross compile, use \`--host'.
1713 See \`config.log' for more details." >&2;}
1714 { (exit 1); exit 1; }; }
1718 echo "$as_me:$LINENO: result: yes" >&5
1719 echo "${ECHO_T}yes" >&6
1721 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1722 ac_clean_files=$ac_clean_files_save
1723 # Check the compiler produces executables we can run. If not, either
1724 # the compiler is broken, or we cross compile.
1725 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1726 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1727 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1728 echo "${ECHO_T}$cross_compiling" >&6
1730 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1731 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1733 (eval $ac_link) 2>&5
1735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1736 (exit $ac_status); }; then
1737 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1738 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1739 # work properly (i.e., refer to `conftest.exe'), while it won't with
1741 for ac_file in conftest.exe conftest conftest.*; do
1742 test -f "$ac_file" || continue
1744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1745 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1752 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1753 See \`config.log' for more details." >&5
1754 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1755 See \`config.log' for more details." >&2;}
1756 { (exit 1); exit 1; }; }
1759 rm -f conftest$ac_cv_exeext
1760 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1761 echo "${ECHO_T}$ac_cv_exeext" >&6
1763 rm -f conftest.$ac_ext
1764 EXEEXT=$ac_cv_exeext
1766 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1767 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1768 if test "${ac_cv_objext+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 cat >conftest.$ac_ext <<_ACEOF
1774 cat confdefs.h >>conftest.$ac_ext
1775 cat >>conftest.$ac_ext <<_ACEOF
1776 /* end confdefs.h. */
1786 rm -f conftest.o conftest.obj
1787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1788 (eval $ac_compile) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; then
1792 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1794 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1795 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1800 echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1803 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1804 See \`config.log' for more details." >&5
1805 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1806 See \`config.log' for more details." >&2;}
1807 { (exit 1); exit 1; }; }
1810 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1812 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1813 echo "${ECHO_T}$ac_cv_objext" >&6
1814 OBJEXT=$ac_cv_objext
1816 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1817 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1818 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 cat >conftest.$ac_ext <<_ACEOF
1824 cat confdefs.h >>conftest.$ac_ext
1825 cat >>conftest.$ac_ext <<_ACEOF
1826 /* end confdefs.h. */
1839 rm -f conftest.$ac_objext
1840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1841 (eval $ac_compile) 2>conftest.er1
1843 grep -v '^ *+' conftest.er1 >conftest.err
1845 cat conftest.err >&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); } &&
1848 { ac_try='test -z "$ac_c_werror_flag"
1849 || test ! -s conftest.err'
1850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1854 (exit $ac_status); }; } &&
1855 { ac_try='test -s conftest.$ac_objext'
1856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1860 (exit $ac_status); }; }; then
1863 echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1869 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1872 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1873 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1874 GCC=`test $ac_compiler_gnu = yes && echo yes`
1875 ac_test_CFLAGS=${CFLAGS+set}
1876 ac_save_CFLAGS=$CFLAGS
1878 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1879 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1880 if test "${ac_cv_prog_cc_g+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 cat >conftest.$ac_ext <<_ACEOF
1886 cat confdefs.h >>conftest.$ac_ext
1887 cat >>conftest.$ac_ext <<_ACEOF
1888 /* end confdefs.h. */
1898 rm -f conftest.$ac_objext
1899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1900 (eval $ac_compile) 2>conftest.er1
1902 grep -v '^ *+' conftest.er1 >conftest.err
1904 cat conftest.err >&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); } &&
1907 { ac_try='test -z "$ac_c_werror_flag"
1908 || test ! -s conftest.err'
1909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }; } &&
1914 { ac_try='test -s conftest.$ac_objext'
1915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }; }; then
1922 echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.$ac_ext >&5
1927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1929 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1930 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1931 if test "$ac_test_CFLAGS" = set; then
1932 CFLAGS=$ac_save_CFLAGS
1933 elif test $ac_cv_prog_cc_g = yes; then
1934 if test "$GCC" = yes; then
1940 if test "$GCC" = yes; then
1946 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1947 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1948 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 ac_cv_prog_cc_stdc=no
1953 cat >conftest.$ac_ext <<_ACEOF
1956 cat confdefs.h >>conftest.$ac_ext
1957 cat >>conftest.$ac_ext <<_ACEOF
1958 /* end confdefs.h. */
1961 #include <sys/types.h>
1962 #include <sys/stat.h>
1963 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1964 struct buf { int x; };
1965 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1966 static char *e (p, i)
1972 static char *f (char * (*g) (char **, int), char **p, ...)
1977 s = g (p, va_arg (v,int));
1982 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1983 function prototypes and stuff, but not '\xHH' hex character constants.
1984 These don't provoke an error unfortunately, instead are silently treated
1985 as 'x'. The following induces an error, until -std1 is added to get
1986 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1987 array size at least. It's necessary to write '\x00'==0 to get something
1988 that's true only with -std1. */
1989 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1991 int test (int i, double x);
1992 struct s1 {int (*f) (int a);};
1993 struct s2 {int (*f) (double a);};
1994 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2000 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2005 # Don't try gcc -ansi; that turns off useful extensions and
2006 # breaks some systems' header files.
2007 # AIX -qlanglvl=ansi
2008 # Ultrix and OSF/1 -std1
2009 # HP-UX 10.20 and later -Ae
2010 # HP-UX older versions -Aa -D_HPUX_SOURCE
2011 # SVR4 -Xc -D__EXTENSIONS__
2012 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2014 CC="$ac_save_CC $ac_arg"
2015 rm -f conftest.$ac_objext
2016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2017 (eval $ac_compile) 2>conftest.er1
2019 grep -v '^ *+' conftest.er1 >conftest.err
2021 cat conftest.err >&5
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023 (exit $ac_status); } &&
2024 { ac_try='test -z "$ac_c_werror_flag"
2025 || test ! -s conftest.err'
2026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; } &&
2031 { ac_try='test -s conftest.$ac_objext'
2032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }; }; then
2037 ac_cv_prog_cc_stdc=$ac_arg
2040 echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2044 rm -f conftest.err conftest.$ac_objext
2046 rm -f conftest.$ac_ext conftest.$ac_objext
2051 case "x$ac_cv_prog_cc_stdc" in
2053 echo "$as_me:$LINENO: result: none needed" >&5
2054 echo "${ECHO_T}none needed" >&6 ;;
2056 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2057 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2058 CC="$CC $ac_cv_prog_cc_stdc" ;;
2061 # Some people use a C++ compiler to compile C. Since we use `exit',
2062 # in C++ we need to declare it. In case someone uses the same compiler
2063 # for both compiling C and C++ we need to have the C++ compiler decide
2064 # the declaration of exit, since it's the most demanding environment.
2065 cat >conftest.$ac_ext <<_ACEOF
2070 rm -f conftest.$ac_objext
2071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2072 (eval $ac_compile) 2>conftest.er1
2074 grep -v '^ *+' conftest.er1 >conftest.err
2076 cat conftest.err >&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); } &&
2079 { ac_try='test -z "$ac_c_werror_flag"
2080 || test ! -s conftest.err'
2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }; } &&
2086 { ac_try='test -s conftest.$ac_objext'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; }; then
2092 for ac_declaration in \
2094 'extern "C" void std::exit (int) throw (); using std::exit;' \
2095 'extern "C" void std::exit (int); using std::exit;' \
2096 'extern "C" void exit (int) throw ();' \
2097 'extern "C" void exit (int);' \
2100 cat >conftest.$ac_ext <<_ACEOF
2103 cat confdefs.h >>conftest.$ac_ext
2104 cat >>conftest.$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2116 rm -f conftest.$ac_objext
2117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2118 (eval $ac_compile) 2>conftest.er1
2120 grep -v '^ *+' conftest.er1 >conftest.err
2122 cat conftest.err >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); } &&
2125 { ac_try='test -z "$ac_c_werror_flag"
2126 || test ! -s conftest.err'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; } &&
2132 { ac_try='test -s conftest.$ac_objext'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; }; then
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2146 cat >conftest.$ac_ext <<_ACEOF
2149 cat confdefs.h >>conftest.$ac_ext
2150 cat >>conftest.$ac_ext <<_ACEOF
2151 /* end confdefs.h. */
2161 rm -f conftest.$ac_objext
2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2163 (eval $ac_compile) 2>conftest.er1
2165 grep -v '^ *+' conftest.er1 >conftest.err
2167 cat conftest.err >&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); } &&
2170 { ac_try='test -z "$ac_c_werror_flag"
2171 || test ! -s conftest.err'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; } &&
2177 { ac_try='test -s conftest.$ac_objext'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; }; then
2185 echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2192 if test -n "$ac_declaration"; then
2193 echo '#ifdef __cplusplus' >>confdefs.h
2194 echo $ac_declaration >>confdefs.h
2195 echo '#endif' >>confdefs.h
2199 echo "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.$ac_ext >&5
2203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2205 ac_cpp='$CPP $CPPFLAGS'
2206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2211 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2212 if test -f $ac_dir/install-sh; then
2214 ac_install_sh="$ac_aux_dir/install-sh -c"
2216 elif test -f $ac_dir/install.sh; then
2218 ac_install_sh="$ac_aux_dir/install.sh -c"
2220 elif test -f $ac_dir/shtool; then
2222 ac_install_sh="$ac_aux_dir/shtool install -c"
2226 if test -z "$ac_aux_dir"; then
2227 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2228 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2229 { (exit 1); exit 1; }; }
2231 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2232 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2233 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2235 # Find a good install program. We prefer a C program (faster),
2236 # so one script is as good as another. But avoid the broken or
2237 # incompatible versions:
2238 # SysV /etc/install, /usr/sbin/install
2239 # SunOS /usr/etc/install
2240 # IRIX /sbin/install
2242 # AmigaOS /C/install, which installs bootblocks on floppy discs
2243 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2244 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2245 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2246 # OS/2's system install, which has a completely different semantic
2247 # ./install, which can be erroneously created by make from ./install.sh.
2248 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2249 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2250 if test -z "$INSTALL"; then
2251 if test "${ac_cv_path_install+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir=.
2259 # Account for people who put trailing slashes in PATH elements.
2261 ./ | .// | /cC/* | \
2262 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2263 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2266 # OSF1 and SCO ODT 3.0 have their own names for install.
2267 # Don't use installbsd from OSF since it installs stuff as root
2269 for ac_prog in ginstall scoinst install; do
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2272 if test $ac_prog = install &&
2273 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2274 # AIX install. It has an incompatible calling convention.
2276 elif test $ac_prog = install &&
2277 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2278 # program-specific install script used by HP pwplus--don't use.
2281 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2293 if test "${ac_cv_path_install+set}" = set; then
2294 INSTALL=$ac_cv_path_install
2296 # As a last resort, use the slow shell script. We don't cache a
2297 # path for INSTALL within a source directory, because that will
2298 # break other packages using the cache if that directory is
2299 # removed, or if the path is relative.
2300 INSTALL=$ac_install_sh
2303 echo "$as_me:$LINENO: result: $INSTALL" >&5
2304 echo "${ECHO_T}$INSTALL" >&6
2306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2307 # It thinks the first close brace ends the variable substitution.
2308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2314 if test -n "$ac_tool_prefix"; then
2315 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2316 set dummy ${ac_tool_prefix}ar; ac_word=$2
2317 echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2319 if test "${ac_cv_prog_AR+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 if test -n "$AR"; then
2323 ac_cv_prog_AR="$AR" # Let the user override the test.
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2332 ac_cv_prog_AR="${ac_tool_prefix}ar"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 if test -n "$AR"; then
2343 echo "$as_me:$LINENO: result: $AR" >&5
2344 echo "${ECHO_T}$AR" >&6
2346 echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6
2351 if test -z "$ac_cv_prog_AR"; then
2353 # Extract the first word of "ar", so it can be a program name with args.
2354 set dummy ar; ac_word=$2
2355 echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2357 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 if test -n "$ac_ct_AR"; then
2361 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2370 ac_cv_prog_ac_ct_AR="ar"
2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2380 if test -n "$ac_ct_AR"; then
2381 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2382 echo "${ECHO_T}$ac_ct_AR" >&6
2384 echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6
2393 if test -n "$ac_tool_prefix"; then
2394 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2396 echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2398 if test "${ac_cv_prog_RANLIB+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 if test -n "$RANLIB"; then
2402 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 RANLIB=$ac_cv_prog_RANLIB
2421 if test -n "$RANLIB"; then
2422 echo "$as_me:$LINENO: result: $RANLIB" >&5
2423 echo "${ECHO_T}$RANLIB" >&6
2425 echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6
2430 if test -z "$ac_cv_prog_RANLIB"; then
2431 ac_ct_RANLIB=$RANLIB
2432 # Extract the first word of "ranlib", so it can be a program name with args.
2433 set dummy ranlib; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$ac_ct_RANLIB"; then
2440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_ac_ct_RANLIB="ranlib"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2460 if test -n "$ac_ct_RANLIB"; then
2461 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2462 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2464 echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6
2468 RANLIB=$ac_ct_RANLIB
2470 RANLIB="$ac_cv_prog_RANLIB"
2474 # Make sure we can run config.sub.
2475 $ac_config_sub sun4 >/dev/null 2>&1 ||
2476 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2477 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2478 { (exit 1); exit 1; }; }
2480 echo "$as_me:$LINENO: checking build system type" >&5
2481 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2482 if test "${ac_cv_build+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 ac_cv_build_alias=$build_alias
2486 test -z "$ac_cv_build_alias" &&
2487 ac_cv_build_alias=`$ac_config_guess`
2488 test -z "$ac_cv_build_alias" &&
2489 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2490 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2491 { (exit 1); exit 1; }; }
2492 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2494 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2495 { (exit 1); exit 1; }; }
2498 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2499 echo "${ECHO_T}$ac_cv_build" >&6
2501 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2502 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2503 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2506 echo "$as_me:$LINENO: checking host system type" >&5
2507 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2508 if test "${ac_cv_host+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 ac_cv_host_alias=$host_alias
2512 test -z "$ac_cv_host_alias" &&
2513 ac_cv_host_alias=$ac_cv_build_alias
2514 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2516 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2517 { (exit 1); exit 1; }; }
2520 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2521 echo "${ECHO_T}$ac_cv_host" >&6
2523 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2524 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2525 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2528 echo "$as_me:$LINENO: checking target system type" >&5
2529 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2530 if test "${ac_cv_target+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 ac_cv_target_alias=$target_alias
2534 test "x$ac_cv_target_alias" = "x" &&
2535 ac_cv_target_alias=$ac_cv_host_alias
2536 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2538 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2539 { (exit 1); exit 1; }; }
2542 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2543 echo "${ECHO_T}$ac_cv_target" >&6
2544 target=$ac_cv_target
2545 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2546 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2547 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2550 # The aliases save the names the user supplied, while $host etc.
2551 # will get canonicalized.
2552 test -n "$target_alias" &&
2553 test "$program_prefix$program_suffix$program_transform_name" = \
2555 program_prefix=${target_alias}-
2556 test "$program_prefix" != NONE &&
2557 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2558 # Use a double $ so make ignores it.
2559 test "$program_suffix" != NONE &&
2560 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2561 # Double any \ or $. echo might interpret backslashes.
2562 # By default was `s,x,x', remove it if useless.
2563 cat <<\_ACEOF >conftest.sed
2564 s/[\\$]/&&/g;s/;s,x,x,$//
2566 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2570 ac_cpp='$CPP $CPPFLAGS'
2571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2574 if test -n "$ac_tool_prefix"; then
2575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2577 echo "$as_me:$LINENO: checking for $ac_word" >&5
2578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2579 if test "${ac_cv_prog_CC+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 if test -n "$CC"; then
2583 ac_cv_prog_CC="$CC" # Let the user override the test.
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir=.
2590 for ac_exec_ext in '' $ac_executable_extensions; do
2591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2592 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 if test -n "$CC"; then
2603 echo "$as_me:$LINENO: result: $CC" >&5
2604 echo "${ECHO_T}$CC" >&6
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2611 if test -z "$ac_cv_prog_CC"; then
2613 # Extract the first word of "gcc", so it can be a program name with args.
2614 set dummy gcc; ac_word=$2
2615 echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2617 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 if test -n "$ac_ct_CC"; then
2621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_ac_ct_CC="gcc"
2631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2640 if test -n "$ac_ct_CC"; then
2641 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2642 echo "${ECHO_T}$ac_ct_CC" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2656 set dummy ${ac_tool_prefix}cc; ac_word=$2
2657 echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2659 if test "${ac_cv_prog_CC+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC="$CC" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2672 ac_cv_prog_CC="${ac_tool_prefix}cc"
2673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 if test -n "$CC"; then
2683 echo "$as_me:$LINENO: result: $CC" >&5
2684 echo "${ECHO_T}$CC" >&6
2686 echo "$as_me:$LINENO: result: no" >&5
2687 echo "${ECHO_T}no" >&6
2691 if test -z "$ac_cv_prog_CC"; then
2693 # Extract the first word of "cc", so it can be a program name with args.
2694 set dummy cc; ac_word=$2
2695 echo "$as_me:$LINENO: checking for $ac_word" >&5
2696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 if test -n "$ac_ct_CC"; then
2701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_ac_ct_CC="cc"
2711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2720 if test -n "$ac_ct_CC"; then
2721 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2722 echo "${ECHO_T}$ac_ct_CC" >&6
2724 echo "$as_me:$LINENO: result: no" >&5
2725 echo "${ECHO_T}no" >&6
2734 if test -z "$CC"; then
2735 # Extract the first word of "cc", so it can be a program name with args.
2736 set dummy cc; ac_word=$2
2737 echo "$as_me:$LINENO: checking for $ac_word" >&5
2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2739 if test "${ac_cv_prog_CC+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 if test -n "$CC"; then
2743 ac_cv_prog_CC="$CC" # Let the user override the test.
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir=.
2751 for ac_exec_ext in '' $ac_executable_extensions; do
2752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2754 ac_prog_rejected=yes
2758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 if test $ac_prog_rejected = yes; then
2765 # We found a bogon in the path, so make sure we never use it.
2766 set dummy $ac_cv_prog_CC
2768 if test $# != 0; then
2769 # We chose a different compiler from the bogus one.
2770 # However, it has the same basename, so the bogon will be chosen
2771 # first if we set CC to just the basename; use the full file name.
2773 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2779 if test -n "$CC"; then
2780 echo "$as_me:$LINENO: result: $CC" >&5
2781 echo "${ECHO_T}$CC" >&6
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2788 if test -z "$CC"; then
2789 if test -n "$ac_tool_prefix"; then
2792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2794 echo "$as_me:$LINENO: checking for $ac_word" >&5
2795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2796 if test "${ac_cv_prog_CC+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 if test -n "$CC"; then
2800 ac_cv_prog_CC="$CC" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$CC"; then
2820 echo "$as_me:$LINENO: result: $CC" >&5
2821 echo "${ECHO_T}$CC" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2827 test -n "$CC" && break
2830 if test -z "$CC"; then
2834 # Extract the first word of "$ac_prog", so it can be a program name with args.
2835 set dummy $ac_prog; ac_word=$2
2836 echo "$as_me:$LINENO: checking for $ac_word" >&5
2837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2838 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 if test -n "$ac_ct_CC"; then
2842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_prog_ac_ct_CC="$ac_prog"
2852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2861 if test -n "$ac_ct_CC"; then
2862 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2863 echo "${ECHO_T}$ac_ct_CC" >&6
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2869 test -n "$ac_ct_CC" && break
2878 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2879 See \`config.log' for more details." >&5
2880 echo "$as_me: error: no acceptable C compiler found in \$PATH
2881 See \`config.log' for more details." >&2;}
2882 { (exit 1); exit 1; }; }
2884 # Provide some information about the compiler.
2885 echo "$as_me:$LINENO:" \
2886 "checking for C compiler version" >&5
2887 ac_compiler=`set X $ac_compile; echo $2`
2888 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2889 (eval $ac_compiler --version </dev/null >&5) 2>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }
2893 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2894 (eval $ac_compiler -v </dev/null >&5) 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }
2898 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2899 (eval $ac_compiler -V </dev/null >&5) 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }
2904 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2905 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2906 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 cat >conftest.$ac_ext <<_ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2927 rm -f conftest.$ac_objext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2929 (eval $ac_compile) 2>conftest.er1
2931 grep -v '^ *+' conftest.er1 >conftest.err
2933 cat conftest.err >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } &&
2936 { ac_try='test -z "$ac_c_werror_flag"
2937 || test ! -s conftest.err'
2938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; } &&
2943 { ac_try='test -s conftest.$ac_objext'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; }; then
2951 echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2957 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2960 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2961 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2962 GCC=`test $ac_compiler_gnu = yes && echo yes`
2963 ac_test_CFLAGS=${CFLAGS+set}
2964 ac_save_CFLAGS=$CFLAGS
2966 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2967 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2968 if test "${ac_cv_prog_cc_g+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 cat >conftest.$ac_ext <<_ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2986 rm -f conftest.$ac_objext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2988 (eval $ac_compile) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -z "$ac_c_werror_flag"
2996 || test ! -s conftest.err'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; } &&
3002 { ac_try='test -s conftest.$ac_objext'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3017 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3018 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3019 if test "$ac_test_CFLAGS" = set; then
3020 CFLAGS=$ac_save_CFLAGS
3021 elif test $ac_cv_prog_cc_g = yes; then
3022 if test "$GCC" = yes; then
3028 if test "$GCC" = yes; then
3034 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3035 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3036 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 ac_cv_prog_cc_stdc=no
3041 cat >conftest.$ac_ext <<_ACEOF
3044 cat confdefs.h >>conftest.$ac_ext
3045 cat >>conftest.$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3049 #include <sys/types.h>
3050 #include <sys/stat.h>
3051 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3052 struct buf { int x; };
3053 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3054 static char *e (p, i)
3060 static char *f (char * (*g) (char **, int), char **p, ...)
3065 s = g (p, va_arg (v,int));
3070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3071 function prototypes and stuff, but not '\xHH' hex character constants.
3072 These don't provoke an error unfortunately, instead are silently treated
3073 as 'x'. The following induces an error, until -std1 is added to get
3074 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3075 array size at least. It's necessary to write '\x00'==0 to get something
3076 that's true only with -std1. */
3077 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3079 int test (int i, double x);
3080 struct s1 {int (*f) (int a);};
3081 struct s2 {int (*f) (double a);};
3082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3088 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3093 # Don't try gcc -ansi; that turns off useful extensions and
3094 # breaks some systems' header files.
3095 # AIX -qlanglvl=ansi
3096 # Ultrix and OSF/1 -std1
3097 # HP-UX 10.20 and later -Ae
3098 # HP-UX older versions -Aa -D_HPUX_SOURCE
3099 # SVR4 -Xc -D__EXTENSIONS__
3100 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3102 CC="$ac_save_CC $ac_arg"
3103 rm -f conftest.$ac_objext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 (eval $ac_compile) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1 >conftest.err
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } &&
3112 { ac_try='test -z "$ac_c_werror_flag"
3113 || test ! -s conftest.err'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; } &&
3119 { ac_try='test -s conftest.$ac_objext'
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; }; then
3125 ac_cv_prog_cc_stdc=$ac_arg
3128 echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3132 rm -f conftest.err conftest.$ac_objext
3134 rm -f conftest.$ac_ext conftest.$ac_objext
3139 case "x$ac_cv_prog_cc_stdc" in
3141 echo "$as_me:$LINENO: result: none needed" >&5
3142 echo "${ECHO_T}none needed" >&6 ;;
3144 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3145 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3146 CC="$CC $ac_cv_prog_cc_stdc" ;;
3149 # Some people use a C++ compiler to compile C. Since we use `exit',
3150 # in C++ we need to declare it. In case someone uses the same compiler
3151 # for both compiling C and C++ we need to have the C++ compiler decide
3152 # the declaration of exit, since it's the most demanding environment.
3153 cat >conftest.$ac_ext <<_ACEOF
3158 rm -f conftest.$ac_objext
3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3160 (eval $ac_compile) 2>conftest.er1
3162 grep -v '^ *+' conftest.er1 >conftest.err
3164 cat conftest.err >&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); } &&
3167 { ac_try='test -z "$ac_c_werror_flag"
3168 || test ! -s conftest.err'
3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; } &&
3174 { ac_try='test -s conftest.$ac_objext'
3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; }; then
3180 for ac_declaration in \
3182 'extern "C" void std::exit (int) throw (); using std::exit;' \
3183 'extern "C" void std::exit (int); using std::exit;' \
3184 'extern "C" void exit (int) throw ();' \
3185 'extern "C" void exit (int);' \
3188 cat >conftest.$ac_ext <<_ACEOF
3191 cat confdefs.h >>conftest.$ac_ext
3192 cat >>conftest.$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3204 rm -f conftest.$ac_objext
3205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3206 (eval $ac_compile) 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_c_werror_flag"
3214 || test ! -s conftest.err'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; } &&
3220 { ac_try='test -s conftest.$ac_objext'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3249 rm -f conftest.$ac_objext
3250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3251 (eval $ac_compile) 2>conftest.er1
3253 grep -v '^ *+' conftest.er1 >conftest.err
3255 cat conftest.err >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } &&
3258 { ac_try='test -z "$ac_c_werror_flag"
3259 || test ! -s conftest.err'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; } &&
3265 { ac_try='test -s conftest.$ac_objext'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3280 if test -n "$ac_declaration"; then
3281 echo '#ifdef __cplusplus' >>confdefs.h
3282 echo $ac_declaration >>confdefs.h
3283 echo '#endif' >>confdefs.h
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_cpp='$CPP $CPPFLAGS'
3294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 if test -n "$ac_tool_prefix"; then
3303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3304 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3305 echo "$as_me:$LINENO: checking for $ac_word" >&5
3306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3307 if test "${ac_cv_prog_RANLIB+set}" = set; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 if test -n "$RANLIB"; then
3311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir=.
3318 for ac_exec_ext in '' $ac_executable_extensions; do
3319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329 RANLIB=$ac_cv_prog_RANLIB
3330 if test -n "$RANLIB"; then
3331 echo "$as_me:$LINENO: result: $RANLIB" >&5
3332 echo "${ECHO_T}$RANLIB" >&6
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3339 if test -z "$ac_cv_prog_RANLIB"; then
3340 ac_ct_RANLIB=$RANLIB
3341 # Extract the first word of "ranlib", so it can be a program name with args.
3342 set dummy ranlib; ac_word=$2
3343 echo "$as_me:$LINENO: checking for $ac_word" >&5
3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -n "$ac_ct_RANLIB"; then
3349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_ac_ct_RANLIB="ranlib"
3359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3369 if test -n "$ac_ct_RANLIB"; then
3370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3371 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3377 RANLIB=$ac_ct_RANLIB
3379 RANLIB="$ac_cv_prog_RANLIB"
3383 # Put a plausible default for CC_FOR_BUILD in Makefile.
3384 if test "x$cross_compiling" = "xno"; then
3385 CC_FOR_BUILD='$(CC)'
3390 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3393 # If a cpu ever has more than one simulator to choose from, use
3394 # --enable-sim=... to choose.
3395 # Check whether --enable-sim or --disable-sim was given.
3396 if test "${enable_sim+set}" = set; then
3397 enableval="$enable_sim"
3398 case "${enableval}" in
3400 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3401 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3402 { (exit 1); exit 1; }; } ;;
3406 # WHEN ADDING ENTRIES TO THIS MATRIX:
3408 # Make sure that the left side always has two dashes. Otherwise you
3409 # can get spurious matches. Even for unambiguous cases, do this as a
3410 # convention, else the table becomes a real mess to understand and
3413 if test "${enable_sim}" != no; then
3418 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3421 subdirs="$subdirs arm"
3426 cris-*-* | crisv32-*-*)
3429 subdirs="$subdirs cris"
3437 subdirs="$subdirs d10v"
3443 subdirs="$subdirs frv"
3451 subdirs="$subdirs h8300"
3459 subdirs="$subdirs iq2000"
3467 subdirs="$subdirs m32c"
3474 subdirs="$subdirs m32r"
3479 m68hc11-*-*|m6811-*-*)
3482 subdirs="$subdirs m68hc11"
3490 subdirs="$subdirs mcore"
3498 subdirs="$subdirs mips"
3507 subdirs="$subdirs mn10300"
3515 subdirs="$subdirs sh64"
3523 subdirs="$subdirs sh"
3531 subdirs="$subdirs ppc"
3538 subdirs="$subdirs v850"
3544 if test "$testsuite" = yes; then
3547 subdirs="$subdirs testsuite"
3550 if test "$common" = yes; then
3553 subdirs="$subdirs common"
3556 if test "$igen" = yes; then
3559 subdirs="$subdirs igen"
3564 ac_config_files="$ac_config_files Makefile"
3565 cat >confcache <<\_ACEOF
3566 # This file is a shell script that caches the results of configure
3567 # tests run on this system so they can be shared between configure
3568 # scripts and configure runs, see configure's option --config-cache.
3569 # It is not useful on other systems. If it contains results you don't
3570 # want to keep, you may remove or edit it.
3572 # config.status only pays attention to the cache file if you give it
3573 # the --recheck option to rerun configure.
3575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3581 # The following way of writing the cache mishandles newlines in values,
3582 # but we know of no workaround that is simple, portable, and efficient.
3583 # So, don't put newlines in cache variables' values.
3584 # Ultrix sh set writes to stderr and can't be redirected directly,
3585 # and sets the high bit in the cache file unless we assign to the vars.
3588 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3590 # `set' does not quote correctly, so add quotes (double-quote
3591 # substitution turns \\\\ into \\, and sed turns \\ into \).
3594 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3597 # `set' quotes correctly as required by POSIX, so do not add quotes.
3599 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3608 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3610 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3611 if test -w $cache_file; then
3612 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3613 cat confcache >$cache_file
3615 echo "not updating unwritable cache $cache_file"
3620 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3621 # Let make expand exec_prefix.
3622 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3624 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3625 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3626 # trailing colons and then remove the whole line if VPATH becomes empty
3627 # (actually we leave an empty line to preserve line numbers).
3628 if test "x$srcdir" = x.; then
3629 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3630 s/:*\$(srcdir):*/:/;
3631 s/:*\${srcdir}:*/:/;
3633 s/^\([^=]*=[ ]*\):*/\1/;
3639 # Transform confdefs.h into DEFS.
3640 # Protect against shell expansion while executing Makefile rules.
3641 # Protect against Makefile macro expansion.
3643 # If the first sed substitution is executed (which looks for macros that
3644 # take arguments), then we branch to the quote section. Otherwise,
3645 # look for a macro that doesn't take arguments.
3646 cat >confdef2opt.sed <<\_ACEOF
3649 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3651 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3655 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3661 # We use echo to avoid assuming a particular line-breaking character.
3662 # The extra dot is to prevent the shell from consuming trailing
3663 # line-breaks from the sub-command output. A line-break within
3664 # single-quotes doesn't work because, if this script is created in a
3665 # platform that uses two characters for line-breaks (e.g., DOS), tr
3667 ac_LF_and_DOT=`echo; echo .`
3668 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3669 rm -f confdef2opt.sed
3674 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3675 # 1. Remove the extension, and $U if already installed.
3676 ac_i=`echo "$ac_i" |
3677 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3679 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3680 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3684 LTLIBOBJS=$ac_ltlibobjs
3688 : ${CONFIG_STATUS=./config.status}
3689 ac_clean_files_save=$ac_clean_files
3690 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3691 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3692 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3693 cat >$CONFIG_STATUS <<_ACEOF
3695 # Generated by $as_me.
3696 # Run this file to recreate the current configuration.
3697 # Compiler output produced by configure, useful for debugging
3698 # configure, is in config.log if it exists.
3703 SHELL=\${CONFIG_SHELL-$SHELL}
3706 cat >>$CONFIG_STATUS <<\_ACEOF
3707 ## --------------------- ##
3708 ## M4sh Initialization. ##
3709 ## --------------------- ##
3711 # Be Bourne compatible
3712 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3715 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3716 # is contrary to our usage. Disable this feature.
3717 alias -g '${1+"$@"}'='"$@"'
3718 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3721 DUALCASE=1; export DUALCASE # for MKS sh
3723 # Support unset when possible.
3724 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3731 # Work around bugs in pre-3.0 UWIN ksh.
3732 $as_unset ENV MAIL MAILPATH
3739 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3740 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3741 LC_TELEPHONE LC_TIME
3743 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3744 eval $as_var=C; export $as_var
3750 # Required to use basename.
3751 if expr a : '\(a\)' >/dev/null 2>&1; then
3757 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3758 as_basename=basename
3764 # Name of the executable.
3765 as_me=`$as_basename "$0" ||
3766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3767 X"$0" : 'X\(//\)$' \| \
3768 X"$0" : 'X\(/\)$' \| \
3769 . : '\(.\)' 2>/dev/null ||
3771 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3772 /^X\/\(\/\/\)$/{ s//\1/; q; }
3773 /^X\/\(\/\).*/{ s//\1/; q; }
3777 # PATH needs CR, and LINENO needs CR and PATH.
3778 # Avoid depending upon Character Ranges.
3779 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3780 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3781 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3782 as_cr_digits='0123456789'
3783 as_cr_alnum=$as_cr_Letters$as_cr_digits
3785 # The user is always right.
3786 if test "${PATH_SEPARATOR+set}" != set; then
3787 echo "#! /bin/sh" >conf$$.sh
3788 echo "exit 0" >>conf$$.sh
3790 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3801 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3802 test "x$as_lineno_1" != "x$as_lineno_2" &&
3803 test "x$as_lineno_3" = "x$as_lineno_2" || {
3804 # Find who we are. Look in the path if we contain no path at all
3807 *[\\/]* ) as_myself=$0 ;;
3808 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir=.
3813 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3818 # We did not find ourselves, most probably we were run as `sh COMMAND'
3819 # in which case we are not to be found in the path.
3820 if test "x$as_myself" = x; then
3823 if test ! -f "$as_myself"; then
3824 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3825 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3826 { (exit 1); exit 1; }; }
3828 case $CONFIG_SHELL in
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3834 test -z "$as_dir" && as_dir=.
3835 for as_base in sh bash ksh sh5; do
3838 if ("$as_dir/$as_base" -c '
3841 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3842 test "x$as_lineno_1" != "x$as_lineno_2" &&
3843 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3844 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3845 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3846 CONFIG_SHELL=$as_dir/$as_base
3848 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3856 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3857 # uniformly replaced by the line number. The first 'sed' inserts a
3858 # line-number line before each line; the second 'sed' does the real
3859 # work. The second script uses 'N' to pair each line-number line
3860 # with the numbered line, and appends trailing '-' during
3861 # substitution so that $LINENO is not a special case at line end.
3862 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3863 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3864 sed '=' <$as_myself |
3869 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3872 s,^['$as_cr_digits']*\n,,
3874 chmod +x $as_me.lineno ||
3875 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3876 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3877 { (exit 1); exit 1; }; }
3879 # Don't try to exec as it changes $[0], causing all sort of problems
3880 # (the dirname of $[0] is not the place where we might find the
3881 # original and so on. Autoconf is especially sensible to this).
3883 # Exit status is that of the last command.
3888 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3889 *c*,-n*) ECHO_N= ECHO_C='
3891 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3892 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3895 if expr a : '\(a\)' >/dev/null 2>&1; then
3901 rm -f conf$$ conf$$.exe conf$$.file
3903 if ln -s conf$$.file conf$$ 2>/dev/null; then
3904 # We could just check for DJGPP; but this test a) works b) is more generic
3905 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3906 if test -f conf$$.exe; then
3907 # Don't use ln at all; we don't have any links
3912 elif ln conf$$.file conf$$ 2>/dev/null; then
3917 rm -f conf$$ conf$$.exe conf$$.file
3919 if mkdir -p . 2>/dev/null; then
3922 test -d ./-p && rmdir ./-p
3926 as_executable_p="test -f"
3928 # Sed expression to map a string onto a valid CPP name.
3929 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3931 # Sed expression to map a string onto a valid variable name.
3932 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3936 # We need space, tab and new line, in precisely that order.
3946 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3947 # report actual input values of CONFIG_FILES etc. instead of their
3948 # values after options handling. Logging --version etc. is OK.
3952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3953 ## Running $as_me. ##
3958 This file was extended by $as_me, which was
3959 generated by GNU Autoconf 2.59. Invocation command line was
3961 CONFIG_FILES = $CONFIG_FILES
3962 CONFIG_HEADERS = $CONFIG_HEADERS
3963 CONFIG_LINKS = $CONFIG_LINKS
3964 CONFIG_COMMANDS = $CONFIG_COMMANDS
3968 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3972 # Files that config.status was made for.
3973 if test -n "$ac_config_files"; then
3974 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3977 if test -n "$ac_config_headers"; then
3978 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3981 if test -n "$ac_config_links"; then
3982 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3985 if test -n "$ac_config_commands"; then
3986 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3989 cat >>$CONFIG_STATUS <<\_ACEOF
3992 \`$as_me' instantiates files from templates according to the
3993 current configuration.
3995 Usage: $0 [OPTIONS] [FILE]...
3997 -h, --help print this help, then exit
3998 -V, --version print version number, then exit
3999 -q, --quiet do not print progress messages
4000 -d, --debug don't remove temporary files
4001 --recheck update $as_me by reconfiguring in the same conditions
4002 --file=FILE[:TEMPLATE]
4003 instantiate the configuration file FILE
4005 Configuration files:
4008 Report bugs to <bug-autoconf@gnu.org>."
4011 cat >>$CONFIG_STATUS <<_ACEOF
4014 configured by $0, generated by GNU Autoconf 2.59,
4015 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4017 Copyright (C) 2003 Free Software Foundation, Inc.
4018 This config.status script is free software; the Free Software Foundation
4019 gives unlimited permission to copy, distribute and modify it."
4024 cat >>$CONFIG_STATUS <<\_ACEOF
4025 # If no file are specified by the user, then we need to provide default
4026 # value. By we need to know if files were specified by the user.
4032 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4033 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4041 *) # This is not an option, so the user has probably given explicit
4044 ac_need_defaults=false;;
4048 # Handling of the options.
4050 cat >>$CONFIG_STATUS <<\_ACEOF
4051 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4053 --version | --vers* | -V )
4054 echo "$ac_cs_version"; exit 0 ;;
4056 # Conflict between --help and --header
4057 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4058 Try \`$0 --help' for more information." >&5
4059 echo "$as_me: error: ambiguous option: $1
4060 Try \`$0 --help' for more information." >&2;}
4061 { (exit 1); exit 1; }; };;
4062 --help | --hel | -h )
4063 echo "$ac_cs_usage"; exit 0 ;;
4064 --debug | --d* | -d )
4066 --file | --fil | --fi | --f )
4068 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4069 ac_need_defaults=false;;
4070 --header | --heade | --head | --hea )
4072 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4073 ac_need_defaults=false;;
4074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4075 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4079 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4080 Try \`$0 --help' for more information." >&5
4081 echo "$as_me: error: unrecognized option: $1
4082 Try \`$0 --help' for more information." >&2;}
4083 { (exit 1); exit 1; }; } ;;
4085 *) ac_config_targets="$ac_config_targets $1" ;;
4091 ac_configure_extra_args=
4093 if $ac_cs_silent; then
4095 ac_configure_extra_args="$ac_configure_extra_args --silent"
4099 cat >>$CONFIG_STATUS <<_ACEOF
4100 if \$ac_cs_recheck; then
4101 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4102 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4111 cat >>$CONFIG_STATUS <<\_ACEOF
4112 for ac_config_target in $ac_config_targets
4114 case "$ac_config_target" in
4115 # Handling of arguments.
4116 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4117 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4118 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4119 { (exit 1); exit 1; }; };;
4123 # If the user did not use the arguments to specify the items to instantiate,
4124 # then the envvar interface is used. Set only those that are not.
4125 # We use the long form for the default assignment because of an extremely
4126 # bizarre bug on SunOS 4.1.3.
4127 if $ac_need_defaults; then
4128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4131 # Have a temporary directory for convenience. Make it in the build tree
4132 # simply because there is no reason to put it here, and in addition,
4133 # creating and moving files from /tmp can sometimes cause problems.
4134 # Create a temporary directory, and hook for its removal unless debugging.
4137 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4138 trap '{ (exit 1); exit 1; }' 1 2 13 15
4141 # Create a (secure) tmp directory for tmp files.
4144 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4145 test -n "$tmp" && test -d "$tmp"
4148 tmp=./confstat$$-$RANDOM
4149 (umask 077 && mkdir $tmp)
4152 echo "$me: cannot create a temporary directory in ." >&2
4153 { (exit 1); exit 1; }
4158 cat >>$CONFIG_STATUS <<_ACEOF
4161 # CONFIG_FILES section.
4164 # No need to generate the scripts if there are no CONFIG_FILES.
4165 # This happens for instance when ./config.status config.h
4166 if test -n "\$CONFIG_FILES"; then
4167 # Protect against being on the right side of a sed subst in config.status.
4168 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4169 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4170 s,@SHELL@,$SHELL,;t t
4171 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4172 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4173 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4174 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4175 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4176 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4177 s,@exec_prefix@,$exec_prefix,;t t
4178 s,@prefix@,$prefix,;t t
4179 s,@program_transform_name@,$program_transform_name,;t t
4180 s,@bindir@,$bindir,;t t
4181 s,@sbindir@,$sbindir,;t t
4182 s,@libexecdir@,$libexecdir,;t t
4183 s,@datadir@,$datadir,;t t
4184 s,@sysconfdir@,$sysconfdir,;t t
4185 s,@sharedstatedir@,$sharedstatedir,;t t
4186 s,@localstatedir@,$localstatedir,;t t
4187 s,@libdir@,$libdir,;t t
4188 s,@includedir@,$includedir,;t t
4189 s,@oldincludedir@,$oldincludedir,;t t
4190 s,@infodir@,$infodir,;t t
4191 s,@mandir@,$mandir,;t t
4192 s,@build_alias@,$build_alias,;t t
4193 s,@host_alias@,$host_alias,;t t
4194 s,@target_alias@,$target_alias,;t t
4196 s,@ECHO_C@,$ECHO_C,;t t
4197 s,@ECHO_N@,$ECHO_N,;t t
4198 s,@ECHO_T@,$ECHO_T,;t t
4201 s,@CFLAGS@,$CFLAGS,;t t
4202 s,@LDFLAGS@,$LDFLAGS,;t t
4203 s,@CPPFLAGS@,$CPPFLAGS,;t t
4204 s,@ac_ct_CC@,$ac_ct_CC,;t t
4205 s,@EXEEXT@,$EXEEXT,;t t
4206 s,@OBJEXT@,$OBJEXT,;t t
4207 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4208 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4209 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4211 s,@ac_ct_AR@,$ac_ct_AR,;t t
4212 s,@RANLIB@,$RANLIB,;t t
4213 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4214 s,@build@,$build,;t t
4215 s,@build_cpu@,$build_cpu,;t t
4216 s,@build_vendor@,$build_vendor,;t t
4217 s,@build_os@,$build_os,;t t
4219 s,@host_cpu@,$host_cpu,;t t
4220 s,@host_vendor@,$host_vendor,;t t
4221 s,@host_os@,$host_os,;t t
4222 s,@target@,$target,;t t
4223 s,@target_cpu@,$target_cpu,;t t
4224 s,@target_vendor@,$target_vendor,;t t
4225 s,@target_os@,$target_os,;t t
4226 s,@HDEFINES@,$HDEFINES,;t t
4227 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4228 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4229 s,@subdirs@,$subdirs,;t t
4230 s,@LIBOBJS@,$LIBOBJS,;t t
4231 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4236 cat >>$CONFIG_STATUS <<\_ACEOF
4237 # Split the substitutions into bite-sized pieces for seds with
4238 # small command number limits, like on Digital OSF/1 and HP-UX.
4240 ac_sed_frag=1 # Number of current file.
4241 ac_beg=1 # First line for current file.
4242 ac_end=$ac_max_sed_lines # Line after last line for current file.
4245 while $ac_more_lines; do
4246 if test $ac_beg -gt 1; then
4247 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4249 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4251 if test ! -s $tmp/subs.frag; then
4254 # The purpose of the label and of the branching condition is to
4255 # speed up the sed processing (if there are no `@' at all, there
4256 # is no need to browse any of the substitutions).
4257 # These are the two extra sed commands mentioned above.
4259 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4260 if test -z "$ac_sed_cmds"; then
4261 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4263 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4265 ac_sed_frag=`expr $ac_sed_frag + 1`
4267 ac_end=`expr $ac_end + $ac_max_sed_lines`
4270 if test -z "$ac_sed_cmds"; then
4273 fi # test -n "$CONFIG_FILES"
4276 cat >>$CONFIG_STATUS <<\_ACEOF
4277 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4278 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4280 - | *:- | *:-:* ) # input from stdin
4282 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4283 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4284 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4285 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4286 * ) ac_file_in=$ac_file.in ;;
4289 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4290 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4291 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4292 X"$ac_file" : 'X\(//\)[^/]' \| \
4293 X"$ac_file" : 'X\(//\)$' \| \
4294 X"$ac_file" : 'X\(/\)' \| \
4295 . : '\(.\)' 2>/dev/null ||
4297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4299 /^X\(\/\/\)$/{ s//\1/; q; }
4300 /^X\(\/\).*/{ s//\1/; q; }
4302 { if $as_mkdir_p; then
4307 while test ! -d "$as_dir"; do
4308 as_dirs="$as_dir $as_dirs"
4309 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4311 X"$as_dir" : 'X\(//\)[^/]' \| \
4312 X"$as_dir" : 'X\(//\)$' \| \
4313 X"$as_dir" : 'X\(/\)' \| \
4314 . : '\(.\)' 2>/dev/null ||
4316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4318 /^X\(\/\/\)$/{ s//\1/; q; }
4319 /^X\(\/\).*/{ s//\1/; q; }
4322 test ! -n "$as_dirs" || mkdir $as_dirs
4323 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4324 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4325 { (exit 1); exit 1; }; }; }
4329 if test "$ac_dir" != .; then
4330 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4331 # A "../" for each directory in $ac_dir_suffix.
4332 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4334 ac_dir_suffix= ac_top_builddir=
4338 .) # No --srcdir option. We are building in place.
4340 if test -z "$ac_top_builddir"; then
4343 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4345 [\\/]* | ?:[\\/]* ) # Absolute path.
4346 ac_srcdir=$srcdir$ac_dir_suffix;
4347 ac_top_srcdir=$srcdir ;;
4349 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4350 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4353 # Do not use `cd foo && pwd` to compute absolute paths, because
4354 # the directories may not exist.
4356 .) ac_abs_builddir="$ac_dir";;
4359 .) ac_abs_builddir=`pwd`;;
4360 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4361 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4364 case $ac_abs_builddir in
4365 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4367 case ${ac_top_builddir}. in
4368 .) ac_abs_top_builddir=$ac_abs_builddir;;
4369 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4370 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4373 case $ac_abs_builddir in
4374 .) ac_abs_srcdir=$ac_srcdir;;
4377 .) ac_abs_srcdir=$ac_abs_builddir;;
4378 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4379 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4382 case $ac_abs_builddir in
4383 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4385 case $ac_top_srcdir in
4386 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4387 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4388 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4394 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4395 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4398 if test x"$ac_file" != x-; then
4399 { echo "$as_me:$LINENO: creating $ac_file" >&5
4400 echo "$as_me: creating $ac_file" >&6;}
4403 # Let's still pretend it is `configure' which instantiates (i.e., don't
4404 # use $as_me), people would be surprised to read:
4405 # /* config.h. Generated by config.status. */
4406 if test x"$ac_file" = x-; then
4409 configure_input="$ac_file. "
4411 configure_input=$configure_input"Generated from `echo $ac_file_in |
4412 sed 's,.*/,,'` by configure."
4414 # First look for the input files in the build tree, otherwise in the
4416 ac_file_inputs=`IFS=:
4417 for f in $ac_file_in; do
4419 -) echo $tmp/stdin ;;
4421 # Absolute (can't be DOS-style, as IFS=:)
4422 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4423 echo "$as_me: error: cannot find input file: $f" >&2;}
4424 { (exit 1); exit 1; }; }
4427 if test -f "$f"; then
4430 elif test -f "$srcdir/$f"; then
4435 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4436 echo "$as_me: error: cannot find input file: $f" >&2;}
4437 { (exit 1); exit 1; }; }
4440 done` || { (exit 1); exit 1; }
4442 cat >>$CONFIG_STATUS <<_ACEOF
4446 cat >>$CONFIG_STATUS <<\_ACEOF
4448 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4449 s,@configure_input@,$configure_input,;t t
4450 s,@srcdir@,$ac_srcdir,;t t
4451 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4452 s,@top_srcdir@,$ac_top_srcdir,;t t
4453 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4454 s,@builddir@,$ac_builddir,;t t
4455 s,@abs_builddir@,$ac_abs_builddir,;t t
4456 s,@top_builddir@,$ac_top_builddir,;t t
4457 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4458 s,@INSTALL@,$ac_INSTALL,;t t
4459 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4461 if test x"$ac_file" != x-; then
4462 mv $tmp/out $ac_file
4471 cat >>$CONFIG_STATUS <<\_ACEOF
4473 { (exit 0); exit 0; }
4475 chmod +x $CONFIG_STATUS
4476 ac_clean_files=$ac_clean_files_save
4479 # configure is writing to config.log, and then calls config.status.
4480 # config.status does its own redirection, appending to config.log.
4481 # Unfortunately, on DOS this fails, as config.log is still kept open
4482 # by configure, so config.status won't be able to write to it; its
4483 # output is simply discarded. So we exec the FD to /dev/null,
4484 # effectively closing config.log, so it can be properly (re)opened and
4485 # appended to by config.status. When coming back to configure, we
4486 # need to make the FD available again.
4487 if test "$no_create" != yes; then
4489 ac_config_status_args=
4490 test "$silent" = yes &&
4491 ac_config_status_args="$ac_config_status_args --quiet"
4493 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4495 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4496 # would make configure fail if this is the last instruction.
4497 $ac_cs_success || { (exit 1); exit 1; }
4501 # CONFIG_SUBDIRS section.
4503 if test "$no_recursion" != yes; then
4505 # Remove --cache-file and --srcdir arguments so they do not pile up.
4506 ac_sub_configure_args=
4508 for ac_arg in $ac_configure_args; do
4509 if test -n "$ac_prev"; then
4514 -cache-file | --cache-file | --cache-fil | --cache-fi \
4515 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4516 ac_prev=cache_file ;;
4517 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4518 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4521 --config-cache | -C)
4523 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4525 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4527 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4529 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4531 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4535 # Always prepend --prefix to ensure using the same prefix
4536 # in subdir configurations.
4537 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4540 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4542 # Do not complain, so a configure script can configure whichever
4543 # parts of a large source tree are present.
4544 test -d $srcdir/$ac_dir || continue
4546 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4547 echo "$as_me: configuring in $ac_dir" >&6;}
4548 { if $as_mkdir_p; then
4553 while test ! -d "$as_dir"; do
4554 as_dirs="$as_dir $as_dirs"
4555 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4556 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4557 X"$as_dir" : 'X\(//\)[^/]' \| \
4558 X"$as_dir" : 'X\(//\)$' \| \
4559 X"$as_dir" : 'X\(/\)' \| \
4560 . : '\(.\)' 2>/dev/null ||
4562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4564 /^X\(\/\/\)$/{ s//\1/; q; }
4565 /^X\(\/\).*/{ s//\1/; q; }
4568 test ! -n "$as_dirs" || mkdir $as_dirs
4569 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4570 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4571 { (exit 1); exit 1; }; }; }
4575 if test "$ac_dir" != .; then
4576 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4577 # A "../" for each directory in $ac_dir_suffix.
4578 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4580 ac_dir_suffix= ac_top_builddir=
4584 .) # No --srcdir option. We are building in place.
4586 if test -z "$ac_top_builddir"; then
4589 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4591 [\\/]* | ?:[\\/]* ) # Absolute path.
4592 ac_srcdir=$srcdir$ac_dir_suffix;
4593 ac_top_srcdir=$srcdir ;;
4595 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4596 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4599 # Do not use `cd foo && pwd` to compute absolute paths, because
4600 # the directories may not exist.
4602 .) ac_abs_builddir="$ac_dir";;
4605 .) ac_abs_builddir=`pwd`;;
4606 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4607 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4610 case $ac_abs_builddir in
4611 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4613 case ${ac_top_builddir}. in
4614 .) ac_abs_top_builddir=$ac_abs_builddir;;
4615 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4616 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4619 case $ac_abs_builddir in
4620 .) ac_abs_srcdir=$ac_srcdir;;
4623 .) ac_abs_srcdir=$ac_abs_builddir;;
4624 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4625 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4628 case $ac_abs_builddir in
4629 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4631 case $ac_top_srcdir in
4632 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4633 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4634 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4641 # Check for guested configure; otherwise get Cygnus style configure.
4642 if test -f $ac_srcdir/configure.gnu; then
4643 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4644 elif test -f $ac_srcdir/configure; then
4645 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4646 elif test -f $ac_srcdir/configure.in; then
4647 ac_sub_configure=$ac_configure
4649 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4650 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4654 # The recursion is here.
4655 if test -n "$ac_sub_configure"; then
4656 # Make the cache file name correct relative to the subdirectory.
4658 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4660 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4663 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4664 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4665 # The eval makes quoting arguments work.
4666 eval $ac_sub_configure $ac_sub_configure_args \
4667 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4668 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4669 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4670 { (exit 1); exit 1; }; }