2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="Makefile.in"
275 ac_subdirs_all="$ac_subdirs_all arm"
276 ac_subdirs_all="$ac_subdirs_all cris"
277 ac_subdirs_all="$ac_subdirs_all d10v"
278 ac_subdirs_all="$ac_subdirs_all frv"
279 ac_subdirs_all="$ac_subdirs_all h8300"
280 ac_subdirs_all="$ac_subdirs_all iq2000"
281 ac_subdirs_all="$ac_subdirs_all m32r"
282 ac_subdirs_all="$ac_subdirs_all m68hc11"
283 ac_subdirs_all="$ac_subdirs_all mcore"
284 ac_subdirs_all="$ac_subdirs_all mips"
285 ac_subdirs_all="$ac_subdirs_all mn10300"
286 ac_subdirs_all="$ac_subdirs_all sh64"
287 ac_subdirs_all="$ac_subdirs_all sh"
288 ac_subdirs_all="$ac_subdirs_all ppc"
289 ac_subdirs_all="$ac_subdirs_all v850"
290 ac_subdirs_all="$ac_subdirs_all testsuite"
291 ac_subdirs_all="$ac_subdirs_all common"
292 ac_subdirs_all="$ac_subdirs_all igen"
293 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os HDEFINES CC_FOR_BUILD subdirs LIBOBJS LTLIBOBJS'
296 # Initialize some variables set by options.
298 ac_init_version=false
299 # The variables have the same names as the options, with
300 # dashes changed to underlines.
308 program_transform_name=s,x,x,
316 # Installation directory options.
317 # These are left unexpanded so users can "make install exec_prefix=/foo"
318 # and all the variables that are supposed to be based on exec_prefix
319 # by default will actually change.
320 # Use braces instead of parens because sh, perl, etc. also accept them.
321 bindir='${exec_prefix}/bin'
322 sbindir='${exec_prefix}/sbin'
323 libexecdir='${exec_prefix}/libexec'
324 datadir='${prefix}/share'
325 sysconfdir='${prefix}/etc'
326 sharedstatedir='${prefix}/com'
327 localstatedir='${prefix}/var'
328 libdir='${exec_prefix}/lib'
329 includedir='${prefix}/include'
330 oldincludedir='/usr/include'
331 infodir='${prefix}/info'
332 mandir='${prefix}/man'
337 # If the previous option needs an argument, assign it.
338 if test -n "$ac_prev"; then
339 eval "$ac_prev=\$ac_option"
344 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
346 # Accept the important Cygnus configure options, so we can diagnose typos.
350 -bindir | --bindir | --bindi | --bind | --bin | --bi)
352 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
355 -build | --build | --buil | --bui | --bu)
356 ac_prev=build_alias ;;
357 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
358 build_alias=$ac_optarg ;;
360 -cache-file | --cache-file | --cache-fil | --cache-fi \
361 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
362 ac_prev=cache_file ;;
363 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
364 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
365 cache_file=$ac_optarg ;;
368 cache_file=config.cache ;;
370 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
372 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
374 datadir=$ac_optarg ;;
376 -disable-* | --disable-*)
377 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
378 # Reject names that are not valid shell variable names.
379 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
380 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
381 { (exit 1); exit 1; }; }
382 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
383 eval "enable_$ac_feature=no" ;;
385 -enable-* | --enable-*)
386 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
387 # Reject names that are not valid shell variable names.
388 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
389 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
390 { (exit 1); exit 1; }; }
391 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
393 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
396 eval "enable_$ac_feature='$ac_optarg'" ;;
398 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
399 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
400 | --exec | --exe | --ex)
401 ac_prev=exec_prefix ;;
402 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
403 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
404 | --exec=* | --exe=* | --ex=*)
405 exec_prefix=$ac_optarg ;;
407 -gas | --gas | --ga | --g)
408 # Obsolete; use --with-gas.
411 -help | --help | --hel | --he | -h)
413 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
414 ac_init_help=recursive ;;
415 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
416 ac_init_help=short ;;
418 -host | --host | --hos | --ho)
419 ac_prev=host_alias ;;
420 -host=* | --host=* | --hos=* | --ho=*)
421 host_alias=$ac_optarg ;;
423 -includedir | --includedir | --includedi | --included | --include \
424 | --includ | --inclu | --incl | --inc)
425 ac_prev=includedir ;;
426 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
427 | --includ=* | --inclu=* | --incl=* | --inc=*)
428 includedir=$ac_optarg ;;
430 -infodir | --infodir | --infodi | --infod | --info | --inf)
432 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
433 infodir=$ac_optarg ;;
435 -libdir | --libdir | --libdi | --libd)
437 -libdir=* | --libdir=* | --libdi=* | --libd=*)
440 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
441 | --libexe | --libex | --libe)
442 ac_prev=libexecdir ;;
443 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
444 | --libexe=* | --libex=* | --libe=*)
445 libexecdir=$ac_optarg ;;
447 -localstatedir | --localstatedir | --localstatedi | --localstated \
448 | --localstate | --localstat | --localsta | --localst \
449 | --locals | --local | --loca | --loc | --lo)
450 ac_prev=localstatedir ;;
451 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
452 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
453 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
454 localstatedir=$ac_optarg ;;
456 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
458 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
462 # Obsolete; use --without-fp.
465 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
466 | --no-cr | --no-c | -n)
469 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
470 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
473 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
474 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
475 | --oldin | --oldi | --old | --ol | --o)
476 ac_prev=oldincludedir ;;
477 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
478 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
479 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
480 oldincludedir=$ac_optarg ;;
482 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
484 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
487 -program-prefix | --program-prefix | --program-prefi | --program-pref \
488 | --program-pre | --program-pr | --program-p)
489 ac_prev=program_prefix ;;
490 -program-prefix=* | --program-prefix=* | --program-prefi=* \
491 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
492 program_prefix=$ac_optarg ;;
494 -program-suffix | --program-suffix | --program-suffi | --program-suff \
495 | --program-suf | --program-su | --program-s)
496 ac_prev=program_suffix ;;
497 -program-suffix=* | --program-suffix=* | --program-suffi=* \
498 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
499 program_suffix=$ac_optarg ;;
501 -program-transform-name | --program-transform-name \
502 | --program-transform-nam | --program-transform-na \
503 | --program-transform-n | --program-transform- \
504 | --program-transform | --program-transfor \
505 | --program-transfo | --program-transf \
506 | --program-trans | --program-tran \
507 | --progr-tra | --program-tr | --program-t)
508 ac_prev=program_transform_name ;;
509 -program-transform-name=* | --program-transform-name=* \
510 | --program-transform-nam=* | --program-transform-na=* \
511 | --program-transform-n=* | --program-transform-=* \
512 | --program-transform=* | --program-transfor=* \
513 | --program-transfo=* | --program-transf=* \
514 | --program-trans=* | --program-tran=* \
515 | --progr-tra=* | --program-tr=* | --program-t=*)
516 program_transform_name=$ac_optarg ;;
518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
519 | -silent | --silent | --silen | --sile | --sil)
522 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
524 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
526 sbindir=$ac_optarg ;;
528 -sharedstatedir | --sharedstatedir | --sharedstatedi \
529 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
530 | --sharedst | --shareds | --shared | --share | --shar \
532 ac_prev=sharedstatedir ;;
533 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
534 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
535 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
537 sharedstatedir=$ac_optarg ;;
539 -site | --site | --sit)
541 -site=* | --site=* | --sit=*)
544 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
546 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
549 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
550 | --syscon | --sysco | --sysc | --sys | --sy)
551 ac_prev=sysconfdir ;;
552 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
553 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
554 sysconfdir=$ac_optarg ;;
556 -target | --target | --targe | --targ | --tar | --ta | --t)
557 ac_prev=target_alias ;;
558 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
559 target_alias=$ac_optarg ;;
561 -v | -verbose | --verbose | --verbos | --verbo | --verb)
564 -version | --version | --versio | --versi | --vers | -V)
568 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
569 # Reject names that are not valid shell variable names.
570 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
571 { echo "$as_me: error: invalid package name: $ac_package" >&2
572 { (exit 1); exit 1; }; }
573 ac_package=`echo $ac_package| sed 's/-/_/g'`
575 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
578 eval "with_$ac_package='$ac_optarg'" ;;
580 -without-* | --without-*)
581 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
582 # Reject names that are not valid shell variable names.
583 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
584 { echo "$as_me: error: invalid package name: $ac_package" >&2
585 { (exit 1); exit 1; }; }
586 ac_package=`echo $ac_package | sed 's/-/_/g'`
587 eval "with_$ac_package=no" ;;
590 # Obsolete; use --with-x.
593 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
594 | --x-incl | --x-inc | --x-in | --x-i)
595 ac_prev=x_includes ;;
596 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
597 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
598 x_includes=$ac_optarg ;;
600 -x-libraries | --x-libraries | --x-librarie | --x-librari \
601 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
602 ac_prev=x_libraries ;;
603 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
604 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
605 x_libraries=$ac_optarg ;;
607 -*) { echo "$as_me: error: unrecognized option: $ac_option
608 Try \`$0 --help' for more information." >&2
609 { (exit 1); exit 1; }; }
613 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
614 # Reject names that are not valid shell variable names.
615 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
616 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
617 { (exit 1); exit 1; }; }
618 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
619 eval "$ac_envvar='$ac_optarg'"
623 # FIXME: should be removed in autoconf 3.0.
624 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
625 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
626 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
627 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
633 if test -n "$ac_prev"; then
634 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
635 { echo "$as_me: error: missing argument to $ac_option" >&2
636 { (exit 1); exit 1; }; }
639 # Be sure to have absolute paths.
640 for ac_var in exec_prefix prefix
642 eval ac_val=$`echo $ac_var`
644 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
645 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
646 { (exit 1); exit 1; }; };;
650 # Be sure to have absolute paths.
651 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
652 localstatedir libdir includedir oldincludedir infodir mandir
654 eval ac_val=$`echo $ac_var`
656 [\\/$]* | ?:[\\/]* ) ;;
657 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
658 { (exit 1); exit 1; }; };;
662 # There might be people who depend on the old broken behavior: `$host'
663 # used to hold the argument of --host etc.
664 # FIXME: To remove some day.
669 # FIXME: To remove some day.
670 if test "x$host_alias" != x; then
671 if test "x$build_alias" = x; then
672 cross_compiling=maybe
673 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
674 If a cross compiler is detected then cross compile mode will be used." >&2
675 elif test "x$build_alias" != "x$host_alias"; then
681 test -n "$host_alias" && ac_tool_prefix=$host_alias-
683 test "$silent" = yes && exec 6>/dev/null
686 # Find the source files, if location was not specified.
687 if test -z "$srcdir"; then
688 ac_srcdir_defaulted=yes
689 # Try the directory containing this script, then its parent.
690 ac_confdir=`(dirname "$0") 2>/dev/null ||
691 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
692 X"$0" : 'X\(//\)[^/]' \| \
693 X"$0" : 'X\(//\)$' \| \
694 X"$0" : 'X\(/\)' \| \
695 . : '\(.\)' 2>/dev/null ||
697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
699 /^X\(\/\/\)$/{ s//\1/; q; }
700 /^X\(\/\).*/{ s//\1/; q; }
703 if test ! -r $srcdir/$ac_unique_file; then
707 ac_srcdir_defaulted=no
709 if test ! -r $srcdir/$ac_unique_file; then
710 if test "$ac_srcdir_defaulted" = yes; then
711 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
712 { (exit 1); exit 1; }; }
714 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
715 { (exit 1); exit 1; }; }
718 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
719 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
720 { (exit 1); exit 1; }; }
721 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
722 ac_env_build_alias_set=${build_alias+set}
723 ac_env_build_alias_value=$build_alias
724 ac_cv_env_build_alias_set=${build_alias+set}
725 ac_cv_env_build_alias_value=$build_alias
726 ac_env_host_alias_set=${host_alias+set}
727 ac_env_host_alias_value=$host_alias
728 ac_cv_env_host_alias_set=${host_alias+set}
729 ac_cv_env_host_alias_value=$host_alias
730 ac_env_target_alias_set=${target_alias+set}
731 ac_env_target_alias_value=$target_alias
732 ac_cv_env_target_alias_set=${target_alias+set}
733 ac_cv_env_target_alias_value=$target_alias
734 ac_env_CC_set=${CC+set}
736 ac_cv_env_CC_set=${CC+set}
737 ac_cv_env_CC_value=$CC
738 ac_env_CFLAGS_set=${CFLAGS+set}
739 ac_env_CFLAGS_value=$CFLAGS
740 ac_cv_env_CFLAGS_set=${CFLAGS+set}
741 ac_cv_env_CFLAGS_value=$CFLAGS
742 ac_env_LDFLAGS_set=${LDFLAGS+set}
743 ac_env_LDFLAGS_value=$LDFLAGS
744 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
745 ac_cv_env_LDFLAGS_value=$LDFLAGS
746 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
747 ac_env_CPPFLAGS_value=$CPPFLAGS
748 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
749 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
752 # Report the --help message.
754 if test "$ac_init_help" = "long"; then
755 # Omit some internal or obsolete options to make the list less imposing.
756 # This message is too long to be a string in the A/UX 3.1 sh.
758 \`configure' configures this package to adapt to many kinds of systems.
760 Usage: $0 [OPTION]... [VAR=VALUE]...
762 To assign environment variables (e.g., CC, CFLAGS...), specify them as
763 VAR=VALUE. See below for descriptions of some of the useful variables.
765 Defaults for the options are specified in brackets.
768 -h, --help display this help and exit
769 --help=short display options specific to this package
770 --help=recursive display the short help of all the included packages
771 -V, --version display version information and exit
772 -q, --quiet, --silent do not print \`checking...' messages
773 --cache-file=FILE cache test results in FILE [disabled]
774 -C, --config-cache alias for \`--cache-file=config.cache'
775 -n, --no-create do not create output files
776 --srcdir=DIR find the sources in DIR [configure dir or \`..']
781 Installation directories:
782 --prefix=PREFIX install architecture-independent files in PREFIX
784 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
787 By default, \`make install' will install all the files in
788 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
789 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
790 for instance \`--prefix=\$HOME'.
792 For better control, use the options below.
794 Fine tuning of the installation directories:
795 --bindir=DIR user executables [EPREFIX/bin]
796 --sbindir=DIR system admin executables [EPREFIX/sbin]
797 --libexecdir=DIR program executables [EPREFIX/libexec]
798 --datadir=DIR read-only architecture-independent data [PREFIX/share]
799 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
800 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
801 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
802 --libdir=DIR object code libraries [EPREFIX/lib]
803 --includedir=DIR C header files [PREFIX/include]
804 --oldincludedir=DIR C header files for non-gcc [/usr/include]
805 --infodir=DIR info documentation [PREFIX/info]
806 --mandir=DIR man documentation [PREFIX/man]
812 --program-prefix=PREFIX prepend PREFIX to installed program names
813 --program-suffix=SUFFIX append SUFFIX to installed program names
814 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
817 --build=BUILD configure for building on BUILD [guessed]
818 --host=HOST cross-compile to build programs to run on HOST [BUILD]
819 --target=TARGET configure for building compilers for TARGET [HOST]
823 if test -n "$ac_init_help"; then
828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
832 Some influential environment variables:
833 CC C compiler command
834 CFLAGS C compiler flags
835 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
836 nonstandard directory <lib dir>
837 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
838 headers in a nonstandard directory <include dir>
840 Use these variables to override the choices made by `configure' or to help
841 it to find libraries and programs with nonstandard names/locations.
846 if test "$ac_init_help" = "recursive"; then
847 # If there are subdirs, report their specific --help.
849 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
850 test -d $ac_dir || continue
853 if test "$ac_dir" != .; then
854 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
855 # A "../" for each directory in $ac_dir_suffix.
856 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
858 ac_dir_suffix= ac_top_builddir=
862 .) # No --srcdir option. We are building in place.
864 if test -z "$ac_top_builddir"; then
867 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
869 [\\/]* | ?:[\\/]* ) # Absolute path.
870 ac_srcdir=$srcdir$ac_dir_suffix;
871 ac_top_srcdir=$srcdir ;;
873 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
874 ac_top_srcdir=$ac_top_builddir$srcdir ;;
877 # Do not use `cd foo && pwd` to compute absolute paths, because
878 # the directories may not exist.
880 .) ac_abs_builddir="$ac_dir";;
883 .) ac_abs_builddir=`pwd`;;
884 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
885 *) ac_abs_builddir=`pwd`/"$ac_dir";;
888 case $ac_abs_builddir in
889 .) ac_abs_top_builddir=${ac_top_builddir}.;;
891 case ${ac_top_builddir}. in
892 .) ac_abs_top_builddir=$ac_abs_builddir;;
893 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
894 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
897 case $ac_abs_builddir in
898 .) ac_abs_srcdir=$ac_srcdir;;
901 .) ac_abs_srcdir=$ac_abs_builddir;;
902 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
903 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
906 case $ac_abs_builddir in
907 .) ac_abs_top_srcdir=$ac_top_srcdir;;
909 case $ac_top_srcdir in
910 .) ac_abs_top_srcdir=$ac_abs_builddir;;
911 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
912 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
917 # Check for guested configure; otherwise get Cygnus style configure.
918 if test -f $ac_srcdir/configure.gnu; then
920 $SHELL $ac_srcdir/configure.gnu --help=recursive
921 elif test -f $ac_srcdir/configure; then
923 $SHELL $ac_srcdir/configure --help=recursive
924 elif test -f $ac_srcdir/configure.ac ||
925 test -f $ac_srcdir/configure.in; then
929 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
935 test -n "$ac_init_help" && exit 0
936 if $ac_init_version; then
939 Copyright (C) 2003 Free Software Foundation, Inc.
940 This configure script is free software; the Free Software Foundation
941 gives unlimited permission to copy, distribute and modify it.
947 This file contains any messages produced by compilers while
948 running configure, to aid debugging if configure makes a mistake.
950 It was created by $as_me, which was
951 generated by GNU Autoconf 2.59. Invocation command line was
962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963 uname -m = `(uname -m) 2>/dev/null || echo unknown`
964 uname -r = `(uname -r) 2>/dev/null || echo unknown`
965 uname -s = `(uname -s) 2>/dev/null || echo unknown`
966 uname -v = `(uname -v) 2>/dev/null || echo unknown`
968 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
969 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
971 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
972 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
973 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
974 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
985 test -z "$as_dir" && as_dir=.
1001 # Keep a trace of the command line.
1002 # Strip out --no-create and --no-recursion so they do not pile up.
1003 # Strip out --silent because we don't want to record it for future runs.
1004 # Also quote any args containing shell meta-characters.
1005 # Make two passes to allow for proper duplicate-argument suppression.
1010 ac_must_keep_next=false
1016 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1018 | -silent | --silent | --silen | --sile | --sil)
1020 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1021 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1024 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1026 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1027 if test $ac_must_keep_next = true; then
1028 ac_must_keep_next=false # Got value, back to normal.
1031 *=* | --config-cache | -C | -disable-* | --disable-* \
1032 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1033 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1034 | -with-* | --with-* | -without-* | --without-* | --x)
1035 case "$ac_configure_args0 " in
1036 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1039 -* ) ac_must_keep_next=true ;;
1042 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1043 # Get rid of the leading space.
1049 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1050 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1052 # When interrupted or exit'd, cleanup temporary files, and complete
1053 # config.log. We remove comments because anyway the quotes in there
1054 # would cause problems or look ugly.
1055 # WARNING: Be sure not to use single quotes in there, as some shells,
1056 # such as our DU 5.0 friend, will then `close' the trap.
1057 trap 'exit_status=$?
1058 # Save into config.log some information that might help in debugging.
1063 ## ---------------- ##
1064 ## Cache variables. ##
1065 ## ---------------- ##
1068 # The following way of writing the cache mishandles newlines in values,
1071 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1074 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1079 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1086 ## ----------------- ##
1087 ## Output variables. ##
1088 ## ----------------- ##
1091 for ac_var in $ac_subst_vars
1093 eval ac_val=$`echo $ac_var`
1094 echo "$ac_var='"'"'$ac_val'"'"'"
1098 if test -n "$ac_subst_files"; then
1105 for ac_var in $ac_subst_files
1107 eval ac_val=$`echo $ac_var`
1108 echo "$ac_var='"'"'$ac_val'"'"'"
1113 if test -s confdefs.h; then
1120 sed "/^$/d" confdefs.h | sort
1123 test "$ac_signal" != 0 &&
1124 echo "$as_me: caught signal $ac_signal"
1125 echo "$as_me: exit $exit_status"
1127 rm -f core *.core &&
1128 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1131 for ac_signal in 1 2 13 15; do
1132 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1137 rm -rf conftest* confdefs.h
1138 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1141 # Predefined preprocessor variables.
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_NAME "$PACKAGE_NAME"
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_STRING "$PACKAGE_STRING"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1168 # Let the site file select an alternate cache file if it wants to.
1169 # Prefer explicitly selected file to automatically selected ones.
1170 if test -z "$CONFIG_SITE"; then
1171 if test "x$prefix" != xNONE; then
1172 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1174 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1177 for ac_site_file in $CONFIG_SITE; do
1178 if test -r "$ac_site_file"; then
1179 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1180 echo "$as_me: loading site script $ac_site_file" >&6;}
1181 sed 's/^/| /' "$ac_site_file" >&5
1186 if test -r "$cache_file"; then
1187 # Some versions of bash will fail to source /dev/null (special
1188 # files actually), so we avoid doing that.
1189 if test -f "$cache_file"; then
1190 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1191 echo "$as_me: loading cache $cache_file" >&6;}
1193 [\\/]* | ?:[\\/]* ) . $cache_file;;
1194 *) . ./$cache_file;;
1198 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1199 echo "$as_me: creating cache $cache_file" >&6;}
1203 # Check that the precious variables saved in the cache have kept the same
1205 ac_cache_corrupted=false
1206 for ac_var in `(set) 2>&1 |
1207 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1208 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1209 eval ac_new_set=\$ac_env_${ac_var}_set
1210 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1211 eval ac_new_val="\$ac_env_${ac_var}_value"
1212 case $ac_old_set,$ac_new_set in
1214 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1215 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1216 ac_cache_corrupted=: ;;
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1223 if test "x$ac_old_val" != "x$ac_new_val"; then
1224 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1225 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1226 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1227 echo "$as_me: former value: $ac_old_val" >&2;}
1228 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1229 echo "$as_me: current value: $ac_new_val" >&2;}
1230 ac_cache_corrupted=:
1233 # Pass precious variables to config.status.
1234 if test "$ac_new_set" = set; then
1236 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1237 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1238 *) ac_arg=$ac_var=$ac_new_val ;;
1240 case " $ac_configure_args " in
1241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1242 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1246 if $ac_cache_corrupted; then
1247 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1248 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1249 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1250 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1251 { (exit 1); exit 1; }; }
1255 ac_cpp='$CPP $CPPFLAGS'
1256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1280 ac_cpp='$CPP $CPPFLAGS'
1281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1284 if test -n "$ac_tool_prefix"; then
1285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1287 echo "$as_me:$LINENO: checking for $ac_word" >&5
1288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1289 if test "${ac_cv_prog_CC+set}" = set; then
1290 echo $ECHO_N "(cached) $ECHO_C" >&6
1292 if test -n "$CC"; then
1293 ac_cv_prog_CC="$CC" # Let the user override the test.
1295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1299 test -z "$as_dir" && as_dir=.
1300 for ac_exec_ext in '' $ac_executable_extensions; do
1301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1312 if test -n "$CC"; then
1313 echo "$as_me:$LINENO: result: $CC" >&5
1314 echo "${ECHO_T}$CC" >&6
1316 echo "$as_me:$LINENO: result: no" >&5
1317 echo "${ECHO_T}no" >&6
1321 if test -z "$ac_cv_prog_CC"; then
1323 # Extract the first word of "gcc", so it can be a program name with args.
1324 set dummy gcc; ac_word=$2
1325 echo "$as_me:$LINENO: checking for $ac_word" >&5
1326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1327 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1330 if test -n "$ac_ct_CC"; then
1331 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1337 test -z "$as_dir" && as_dir=.
1338 for ac_exec_ext in '' $ac_executable_extensions; do
1339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1340 ac_cv_prog_ac_ct_CC="gcc"
1341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1349 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1350 if test -n "$ac_ct_CC"; then
1351 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1352 echo "${ECHO_T}$ac_ct_CC" >&6
1354 echo "$as_me:$LINENO: result: no" >&5
1355 echo "${ECHO_T}no" >&6
1363 if test -z "$CC"; then
1364 if test -n "$ac_tool_prefix"; then
1365 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1366 set dummy ${ac_tool_prefix}cc; ac_word=$2
1367 echo "$as_me:$LINENO: checking for $ac_word" >&5
1368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1369 if test "${ac_cv_prog_CC+set}" = set; then
1370 echo $ECHO_N "(cached) $ECHO_C" >&6
1372 if test -n "$CC"; then
1373 ac_cv_prog_CC="$CC" # Let the user override the test.
1375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379 test -z "$as_dir" && as_dir=.
1380 for ac_exec_ext in '' $ac_executable_extensions; do
1381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1382 ac_cv_prog_CC="${ac_tool_prefix}cc"
1383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1392 if test -n "$CC"; then
1393 echo "$as_me:$LINENO: result: $CC" >&5
1394 echo "${ECHO_T}$CC" >&6
1396 echo "$as_me:$LINENO: result: no" >&5
1397 echo "${ECHO_T}no" >&6
1401 if test -z "$ac_cv_prog_CC"; then
1403 # Extract the first word of "cc", so it can be a program name with args.
1404 set dummy cc; ac_word=$2
1405 echo "$as_me:$LINENO: checking for $ac_word" >&5
1406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 if test -n "$ac_ct_CC"; then
1411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 test -z "$as_dir" && as_dir=.
1418 for ac_exec_ext in '' $ac_executable_extensions; do
1419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1420 ac_cv_prog_ac_ct_CC="cc"
1421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1429 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1430 if test -n "$ac_ct_CC"; then
1431 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1432 echo "${ECHO_T}$ac_ct_CC" >&6
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1444 if test -z "$CC"; then
1445 # Extract the first word of "cc", so it can be a program name with args.
1446 set dummy cc; ac_word=$2
1447 echo "$as_me:$LINENO: checking for $ac_word" >&5
1448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1449 if test "${ac_cv_prog_CC+set}" = set; then
1450 echo $ECHO_N "(cached) $ECHO_C" >&6
1452 if test -n "$CC"; then
1453 ac_cv_prog_CC="$CC" # Let the user override the test.
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 test -z "$as_dir" && as_dir=.
1461 for ac_exec_ext in '' $ac_executable_extensions; do
1462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1464 ac_prog_rejected=yes
1468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1474 if test $ac_prog_rejected = yes; then
1475 # We found a bogon in the path, so make sure we never use it.
1476 set dummy $ac_cv_prog_CC
1478 if test $# != 0; then
1479 # We chose a different compiler from the bogus one.
1480 # However, it has the same basename, so the bogon will be chosen
1481 # first if we set CC to just the basename; use the full file name.
1483 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1489 if test -n "$CC"; then
1490 echo "$as_me:$LINENO: result: $CC" >&5
1491 echo "${ECHO_T}$CC" >&6
1493 echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1498 if test -z "$CC"; then
1499 if test -n "$ac_tool_prefix"; then
1502 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 if test -n "$CC"; then
1510 ac_cv_prog_CC="$CC" # Let the user override the test.
1512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir=.
1517 for ac_exec_ext in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1529 if test -n "$CC"; then
1530 echo "$as_me:$LINENO: result: $CC" >&5
1531 echo "${ECHO_T}$CC" >&6
1533 echo "$as_me:$LINENO: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1537 test -n "$CC" && break
1540 if test -z "$CC"; then
1544 # Extract the first word of "$ac_prog", so it can be a program name with args.
1545 set dummy $ac_prog; ac_word=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$ac_ct_CC"; then
1552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir=.
1559 for ac_exec_ext in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_ac_ct_CC="$ac_prog"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1571 if test -n "$ac_ct_CC"; then
1572 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1573 echo "${ECHO_T}$ac_ct_CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1579 test -n "$ac_ct_CC" && break
1588 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1589 See \`config.log' for more details." >&5
1590 echo "$as_me: error: no acceptable C compiler found in \$PATH
1591 See \`config.log' for more details." >&2;}
1592 { (exit 1); exit 1; }; }
1594 # Provide some information about the compiler.
1595 echo "$as_me:$LINENO:" \
1596 "checking for C compiler version" >&5
1597 ac_compiler=`set X $ac_compile; echo $2`
1598 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1599 (eval $ac_compiler --version </dev/null >&5) 2>&5
1601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1602 (exit $ac_status); }
1603 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1604 (eval $ac_compiler -v </dev/null >&5) 2>&5
1606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1607 (exit $ac_status); }
1608 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1609 (eval $ac_compiler -V </dev/null >&5) 2>&5
1611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1612 (exit $ac_status); }
1614 cat >conftest.$ac_ext <<_ACEOF
1617 cat confdefs.h >>conftest.$ac_ext
1618 cat >>conftest.$ac_ext <<_ACEOF
1619 /* end confdefs.h. */
1629 ac_clean_files_save=$ac_clean_files
1630 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1631 # Try to create an executable without -o first, disregard a.out.
1632 # It will help us diagnose broken compilers, and finding out an intuition
1634 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1635 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1636 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1637 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1638 (eval $ac_link_default) 2>&5
1640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1641 (exit $ac_status); }; then
1642 # Find the output, starting from the most likely. This scheme is
1643 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1646 # Be careful to initialize this variable, since it used to be cached.
1647 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1649 # b.out is created by i960 compilers.
1650 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1652 test -f "$ac_file" || continue
1654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1657 # This is the source file.
1660 # We found the default executable, but exeext='' is most
1664 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1665 # FIXME: I believe we export ac_cv_exeext for Libtool,
1666 # but it would be cool to find out if it's true. Does anybody
1667 # maintain Libtool? --akim.
1675 echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1678 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1679 See \`config.log' for more details." >&5
1680 echo "$as_me: error: C compiler cannot create executables
1681 See \`config.log' for more details." >&2;}
1682 { (exit 77); exit 77; }; }
1685 ac_exeext=$ac_cv_exeext
1686 echo "$as_me:$LINENO: result: $ac_file" >&5
1687 echo "${ECHO_T}$ac_file" >&6
1689 # Check the compiler produces executables we can run. If not, either
1690 # the compiler is broken, or we cross compile.
1691 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1692 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1693 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1694 # If not cross compiling, check that we can run a simple program.
1695 if test "$cross_compiling" != yes; then
1696 if { ac_try='./$ac_file'
1697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1701 (exit $ac_status); }; }; then
1704 if test "$cross_compiling" = maybe; then
1707 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1708 If you meant to cross compile, use \`--host'.
1709 See \`config.log' for more details." >&5
1710 echo "$as_me: error: cannot run C compiled programs.
1711 If you meant to cross compile, use \`--host'.
1712 See \`config.log' for more details." >&2;}
1713 { (exit 1); exit 1; }; }
1717 echo "$as_me:$LINENO: result: yes" >&5
1718 echo "${ECHO_T}yes" >&6
1720 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1721 ac_clean_files=$ac_clean_files_save
1722 # Check the compiler produces executables we can run. If not, either
1723 # the compiler is broken, or we cross compile.
1724 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1725 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1726 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1727 echo "${ECHO_T}$cross_compiling" >&6
1729 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1730 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1732 (eval $ac_link) 2>&5
1734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); }; then
1736 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1737 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1738 # work properly (i.e., refer to `conftest.exe'), while it won't with
1740 for ac_file in conftest.exe conftest conftest.*; do
1741 test -f "$ac_file" || continue
1743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1744 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1751 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1752 See \`config.log' for more details." >&5
1753 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1754 See \`config.log' for more details." >&2;}
1755 { (exit 1); exit 1; }; }
1758 rm -f conftest$ac_cv_exeext
1759 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1760 echo "${ECHO_T}$ac_cv_exeext" >&6
1762 rm -f conftest.$ac_ext
1763 EXEEXT=$ac_cv_exeext
1765 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1766 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1767 if test "${ac_cv_objext+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 cat >conftest.$ac_ext <<_ACEOF
1773 cat confdefs.h >>conftest.$ac_ext
1774 cat >>conftest.$ac_ext <<_ACEOF
1775 /* end confdefs.h. */
1785 rm -f conftest.o conftest.obj
1786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1787 (eval $ac_compile) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; then
1791 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1794 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1799 echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1802 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1803 See \`config.log' for more details." >&5
1804 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1805 See \`config.log' for more details." >&2;}
1806 { (exit 1); exit 1; }; }
1809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1811 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1812 echo "${ECHO_T}$ac_cv_objext" >&6
1813 OBJEXT=$ac_cv_objext
1815 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1816 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1817 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 cat >conftest.$ac_ext <<_ACEOF
1823 cat confdefs.h >>conftest.$ac_ext
1824 cat >>conftest.$ac_ext <<_ACEOF
1825 /* end confdefs.h. */
1838 rm -f conftest.$ac_objext
1839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1840 (eval $ac_compile) 2>conftest.er1
1842 grep -v '^ *+' conftest.er1 >conftest.err
1844 cat conftest.err >&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); } &&
1847 { ac_try='test -z "$ac_c_werror_flag"
1848 || test ! -s conftest.err'
1849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 (exit $ac_status); }; } &&
1854 { ac_try='test -s conftest.$ac_objext'
1855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1859 (exit $ac_status); }; }; then
1862 echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1868 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1871 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1872 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1873 GCC=`test $ac_compiler_gnu = yes && echo yes`
1874 ac_test_CFLAGS=${CFLAGS+set}
1875 ac_save_CFLAGS=$CFLAGS
1877 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1878 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1879 if test "${ac_cv_prog_cc_g+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 cat >conftest.$ac_ext <<_ACEOF
1885 cat confdefs.h >>conftest.$ac_ext
1886 cat >>conftest.$ac_ext <<_ACEOF
1887 /* end confdefs.h. */
1897 rm -f conftest.$ac_objext
1898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1899 (eval $ac_compile) 2>conftest.er1
1901 grep -v '^ *+' conftest.er1 >conftest.err
1903 cat conftest.err >&5
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 (exit $ac_status); } &&
1906 { ac_try='test -z "$ac_c_werror_flag"
1907 || test ! -s conftest.err'
1908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912 (exit $ac_status); }; } &&
1913 { ac_try='test -s conftest.$ac_objext'
1914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918 (exit $ac_status); }; }; then
1921 echo "$as_me: failed program was:" >&5
1922 sed 's/^/| /' conftest.$ac_ext >&5
1926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1928 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1929 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1930 if test "$ac_test_CFLAGS" = set; then
1931 CFLAGS=$ac_save_CFLAGS
1932 elif test $ac_cv_prog_cc_g = yes; then
1933 if test "$GCC" = yes; then
1939 if test "$GCC" = yes; then
1945 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1946 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1947 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 ac_cv_prog_cc_stdc=no
1952 cat >conftest.$ac_ext <<_ACEOF
1955 cat confdefs.h >>conftest.$ac_ext
1956 cat >>conftest.$ac_ext <<_ACEOF
1957 /* end confdefs.h. */
1960 #include <sys/types.h>
1961 #include <sys/stat.h>
1962 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1963 struct buf { int x; };
1964 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1965 static char *e (p, i)
1971 static char *f (char * (*g) (char **, int), char **p, ...)
1976 s = g (p, va_arg (v,int));
1981 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1982 function prototypes and stuff, but not '\xHH' hex character constants.
1983 These don't provoke an error unfortunately, instead are silently treated
1984 as 'x'. The following induces an error, until -std1 is added to get
1985 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1986 array size at least. It's necessary to write '\x00'==0 to get something
1987 that's true only with -std1. */
1988 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1990 int test (int i, double x);
1991 struct s1 {int (*f) (int a);};
1992 struct s2 {int (*f) (double a);};
1993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1999 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2004 # Don't try gcc -ansi; that turns off useful extensions and
2005 # breaks some systems' header files.
2006 # AIX -qlanglvl=ansi
2007 # Ultrix and OSF/1 -std1
2008 # HP-UX 10.20 and later -Ae
2009 # HP-UX older versions -Aa -D_HPUX_SOURCE
2010 # SVR4 -Xc -D__EXTENSIONS__
2011 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2013 CC="$ac_save_CC $ac_arg"
2014 rm -f conftest.$ac_objext
2015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2016 (eval $ac_compile) 2>conftest.er1
2018 grep -v '^ *+' conftest.er1 >conftest.err
2020 cat conftest.err >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); } &&
2023 { ac_try='test -z "$ac_c_werror_flag"
2024 || test ! -s conftest.err'
2025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; } &&
2030 { ac_try='test -s conftest.$ac_objext'
2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; }; then
2036 ac_cv_prog_cc_stdc=$ac_arg
2039 echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2043 rm -f conftest.err conftest.$ac_objext
2045 rm -f conftest.$ac_ext conftest.$ac_objext
2050 case "x$ac_cv_prog_cc_stdc" in
2052 echo "$as_me:$LINENO: result: none needed" >&5
2053 echo "${ECHO_T}none needed" >&6 ;;
2055 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2056 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2057 CC="$CC $ac_cv_prog_cc_stdc" ;;
2060 # Some people use a C++ compiler to compile C. Since we use `exit',
2061 # in C++ we need to declare it. In case someone uses the same compiler
2062 # for both compiling C and C++ we need to have the C++ compiler decide
2063 # the declaration of exit, since it's the most demanding environment.
2064 cat >conftest.$ac_ext <<_ACEOF
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1 >conftest.err
2075 cat conftest.err >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try='test -z "$ac_c_werror_flag"
2079 || test ! -s conftest.err'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; } &&
2085 { ac_try='test -s conftest.$ac_objext'
2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }; }; then
2091 for ac_declaration in \
2093 'extern "C" void std::exit (int) throw (); using std::exit;' \
2094 'extern "C" void std::exit (int); using std::exit;' \
2095 'extern "C" void exit (int) throw ();' \
2096 'extern "C" void exit (int);' \
2099 cat >conftest.$ac_ext <<_ACEOF
2102 cat confdefs.h >>conftest.$ac_ext
2103 cat >>conftest.$ac_ext <<_ACEOF
2104 /* end confdefs.h. */
2115 rm -f conftest.$ac_objext
2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2117 (eval $ac_compile) 2>conftest.er1
2119 grep -v '^ *+' conftest.er1 >conftest.err
2121 cat conftest.err >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); } &&
2124 { ac_try='test -z "$ac_c_werror_flag"
2125 || test ! -s conftest.err'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; } &&
2131 { ac_try='test -s conftest.$ac_objext'
2132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; }; then
2139 echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.$ac_ext >&5
2144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2145 cat >conftest.$ac_ext <<_ACEOF
2148 cat confdefs.h >>conftest.$ac_ext
2149 cat >>conftest.$ac_ext <<_ACEOF
2150 /* end confdefs.h. */
2160 rm -f conftest.$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1 >conftest.err
2166 cat conftest.err >&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try='test -z "$ac_c_werror_flag"
2170 || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2184 echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.$ac_ext >&5
2188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2191 if test -n "$ac_declaration"; then
2192 echo '#ifdef __cplusplus' >>confdefs.h
2193 echo $ac_declaration >>confdefs.h
2194 echo '#endif' >>confdefs.h
2198 echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2204 ac_cpp='$CPP $CPPFLAGS'
2205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2210 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2211 if test -f $ac_dir/install-sh; then
2213 ac_install_sh="$ac_aux_dir/install-sh -c"
2215 elif test -f $ac_dir/install.sh; then
2217 ac_install_sh="$ac_aux_dir/install.sh -c"
2219 elif test -f $ac_dir/shtool; then
2221 ac_install_sh="$ac_aux_dir/shtool install -c"
2225 if test -z "$ac_aux_dir"; then
2226 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2227 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2228 { (exit 1); exit 1; }; }
2230 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2231 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2232 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2234 # Find a good install program. We prefer a C program (faster),
2235 # so one script is as good as another. But avoid the broken or
2236 # incompatible versions:
2237 # SysV /etc/install, /usr/sbin/install
2238 # SunOS /usr/etc/install
2239 # IRIX /sbin/install
2241 # AmigaOS /C/install, which installs bootblocks on floppy discs
2242 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2243 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2244 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2245 # OS/2's system install, which has a completely different semantic
2246 # ./install, which can be erroneously created by make from ./install.sh.
2247 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2248 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2249 if test -z "$INSTALL"; then
2250 if test "${ac_cv_path_install+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 # Account for people who put trailing slashes in PATH elements.
2260 ./ | .// | /cC/* | \
2261 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2262 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2265 # OSF1 and SCO ODT 3.0 have their own names for install.
2266 # Don't use installbsd from OSF since it installs stuff as root
2268 for ac_prog in ginstall scoinst install; do
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2271 if test $ac_prog = install &&
2272 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2273 # AIX install. It has an incompatible calling convention.
2275 elif test $ac_prog = install &&
2276 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2277 # program-specific install script used by HP pwplus--don't use.
2280 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2292 if test "${ac_cv_path_install+set}" = set; then
2293 INSTALL=$ac_cv_path_install
2295 # As a last resort, use the slow shell script. We don't cache a
2296 # path for INSTALL within a source directory, because that will
2297 # break other packages using the cache if that directory is
2298 # removed, or if the path is relative.
2299 INSTALL=$ac_install_sh
2302 echo "$as_me:$LINENO: result: $INSTALL" >&5
2303 echo "${ECHO_T}$INSTALL" >&6
2305 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2306 # It thinks the first close brace ends the variable substitution.
2307 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2309 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2311 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2315 set dummy ${ac_tool_prefix}ar; ac_word=$2
2316 echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2318 if test "${ac_cv_prog_AR+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$AR"; then
2322 ac_cv_prog_AR="$AR" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2331 ac_cv_prog_AR="${ac_tool_prefix}ar"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 if test -n "$AR"; then
2342 echo "$as_me:$LINENO: result: $AR" >&5
2343 echo "${ECHO_T}$AR" >&6
2345 echo "$as_me:$LINENO: result: no" >&5
2346 echo "${ECHO_T}no" >&6
2350 if test -z "$ac_cv_prog_AR"; then
2352 # Extract the first word of "ar", so it can be a program name with args.
2353 set dummy ar; ac_word=$2
2354 echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2356 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$ac_ct_AR"; then
2360 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369 ac_cv_prog_ac_ct_AR="ar"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2379 if test -n "$ac_ct_AR"; then
2380 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2381 echo "${ECHO_T}$ac_ct_AR" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2395 echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2397 if test "${ac_cv_prog_RANLIB+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 if test -n "$RANLIB"; then
2401 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 RANLIB=$ac_cv_prog_RANLIB
2420 if test -n "$RANLIB"; then
2421 echo "$as_me:$LINENO: result: $RANLIB" >&5
2422 echo "${ECHO_T}$RANLIB" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 if test -z "$ac_cv_prog_RANLIB"; then
2430 ac_ct_RANLIB=$RANLIB
2431 # Extract the first word of "ranlib", so it can be a program name with args.
2432 set dummy ranlib; ac_word=$2
2433 echo "$as_me:$LINENO: checking for $ac_word" >&5
2434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 if test -n "$ac_ct_RANLIB"; then
2439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2448 ac_cv_prog_ac_ct_RANLIB="ranlib"
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2455 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2459 if test -n "$ac_ct_RANLIB"; then
2460 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2461 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2467 RANLIB=$ac_ct_RANLIB
2469 RANLIB="$ac_cv_prog_RANLIB"
2473 # Make sure we can run config.sub.
2474 $ac_config_sub sun4 >/dev/null 2>&1 ||
2475 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2476 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2477 { (exit 1); exit 1; }; }
2479 echo "$as_me:$LINENO: checking build system type" >&5
2480 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2481 if test "${ac_cv_build+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 ac_cv_build_alias=$build_alias
2485 test -z "$ac_cv_build_alias" &&
2486 ac_cv_build_alias=`$ac_config_guess`
2487 test -z "$ac_cv_build_alias" &&
2488 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2489 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2490 { (exit 1); exit 1; }; }
2491 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2492 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2493 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2494 { (exit 1); exit 1; }; }
2497 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2498 echo "${ECHO_T}$ac_cv_build" >&6
2500 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2501 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2502 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2505 echo "$as_me:$LINENO: checking host system type" >&5
2506 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2507 if test "${ac_cv_host+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 ac_cv_host_alias=$host_alias
2511 test -z "$ac_cv_host_alias" &&
2512 ac_cv_host_alias=$ac_cv_build_alias
2513 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2515 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2519 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2520 echo "${ECHO_T}$ac_cv_host" >&6
2522 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2523 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2524 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2527 echo "$as_me:$LINENO: checking target system type" >&5
2528 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2529 if test "${ac_cv_target+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 ac_cv_target_alias=$target_alias
2533 test "x$ac_cv_target_alias" = "x" &&
2534 ac_cv_target_alias=$ac_cv_host_alias
2535 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2537 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2538 { (exit 1); exit 1; }; }
2541 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2542 echo "${ECHO_T}$ac_cv_target" >&6
2543 target=$ac_cv_target
2544 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2545 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2546 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2549 # The aliases save the names the user supplied, while $host etc.
2550 # will get canonicalized.
2551 test -n "$target_alias" &&
2552 test "$program_prefix$program_suffix$program_transform_name" = \
2554 program_prefix=${target_alias}-
2555 test "$program_prefix" != NONE &&
2556 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2557 # Use a double $ so make ignores it.
2558 test "$program_suffix" != NONE &&
2559 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2560 # Double any \ or $. echo might interpret backslashes.
2561 # By default was `s,x,x', remove it if useless.
2562 cat <<\_ACEOF >conftest.sed
2563 s/[\\$]/&&/g;s/;s,x,x,$//
2565 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2569 ac_cpp='$CPP $CPPFLAGS'
2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2573 if test -n "$ac_tool_prefix"; then
2574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2575 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2576 echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2578 if test "${ac_cv_prog_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if test -n "$CC"; then
2582 ac_cv_prog_CC="$CC" # Let the user override the test.
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir=.
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2591 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 if test -n "$CC"; then
2602 echo "$as_me:$LINENO: result: $CC" >&5
2603 echo "${ECHO_T}$CC" >&6
2605 echo "$as_me:$LINENO: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2610 if test -z "$ac_cv_prog_CC"; then
2612 # Extract the first word of "gcc", so it can be a program name with args.
2613 set dummy gcc; ac_word=$2
2614 echo "$as_me:$LINENO: checking for $ac_word" >&5
2615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2616 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 if test -n "$ac_ct_CC"; then
2620 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2629 ac_cv_prog_ac_ct_CC="gcc"
2630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2639 if test -n "$ac_ct_CC"; then
2640 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2641 echo "${ECHO_T}$ac_ct_CC" >&6
2643 echo "$as_me:$LINENO: result: no" >&5
2644 echo "${ECHO_T}no" >&6
2652 if test -z "$CC"; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2655 set dummy ${ac_tool_prefix}cc; ac_word=$2
2656 echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$CC"; then
2662 ac_cv_prog_CC="$CC" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_CC="${ac_tool_prefix}cc"
2672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$CC"; then
2682 echo "$as_me:$LINENO: result: $CC" >&5
2683 echo "${ECHO_T}$CC" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2690 if test -z "$ac_cv_prog_CC"; then
2692 # Extract the first word of "cc", so it can be a program name with args.
2693 set dummy cc; ac_word=$2
2694 echo "$as_me:$LINENO: checking for $ac_word" >&5
2695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 if test -n "$ac_ct_CC"; then
2700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 ac_cv_prog_ac_ct_CC="cc"
2710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2719 if test -n "$ac_ct_CC"; then
2720 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2721 echo "${ECHO_T}$ac_ct_CC" >&6
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2733 if test -z "$CC"; then
2734 # Extract the first word of "cc", so it can be a program name with args.
2735 set dummy cc; ac_word=$2
2736 echo "$as_me:$LINENO: checking for $ac_word" >&5
2737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2738 if test "${ac_cv_prog_CC+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 if test -n "$CC"; then
2742 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2753 ac_prog_rejected=yes
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 if test $ac_prog_rejected = yes; then
2764 # We found a bogon in the path, so make sure we never use it.
2765 set dummy $ac_cv_prog_CC
2767 if test $# != 0; then
2768 # We chose a different compiler from the bogus one.
2769 # However, it has the same basename, so the bogon will be chosen
2770 # first if we set CC to just the basename; use the full file name.
2772 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2778 if test -n "$CC"; then
2779 echo "$as_me:$LINENO: result: $CC" >&5
2780 echo "${ECHO_T}$CC" >&6
2782 echo "$as_me:$LINENO: result: no" >&5
2783 echo "${ECHO_T}no" >&6
2787 if test -z "$CC"; then
2788 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2792 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2793 echo "$as_me:$LINENO: checking for $ac_word" >&5
2794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795 if test "${ac_cv_prog_CC+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 if test -n "$CC"; then
2799 ac_cv_prog_CC="$CC" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$CC"; then
2819 echo "$as_me:$LINENO: result: $CC" >&5
2820 echo "${ECHO_T}$CC" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2826 test -n "$CC" && break
2829 if test -z "$CC"; then
2833 # Extract the first word of "$ac_prog", so it can be a program name with args.
2834 set dummy $ac_prog; ac_word=$2
2835 echo "$as_me:$LINENO: checking for $ac_word" >&5
2836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_ac_ct_CC="$ac_prog"
2851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2860 if test -n "$ac_ct_CC"; then
2861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2862 echo "${ECHO_T}$ac_ct_CC" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2868 test -n "$ac_ct_CC" && break
2877 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2878 See \`config.log' for more details." >&5
2879 echo "$as_me: error: no acceptable C compiler found in \$PATH
2880 See \`config.log' for more details." >&2;}
2881 { (exit 1); exit 1; }; }
2883 # Provide some information about the compiler.
2884 echo "$as_me:$LINENO:" \
2885 "checking for C compiler version" >&5
2886 ac_compiler=`set X $ac_compile; echo $2`
2887 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2888 (eval $ac_compiler --version </dev/null >&5) 2>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }
2892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2893 (eval $ac_compiler -v </dev/null >&5) 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2898 (eval $ac_compiler -V </dev/null >&5) 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }
2903 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2904 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2905 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2926 rm -f conftest.$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1 >conftest.err
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try='test -z "$ac_c_werror_flag"
2936 || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2959 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2960 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2961 GCC=`test $ac_compiler_gnu = yes && echo yes`
2962 ac_test_CFLAGS=${CFLAGS+set}
2963 ac_save_CFLAGS=$CFLAGS
2965 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2966 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2967 if test "${ac_cv_prog_cc_g+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2985 rm -f conftest.$ac_objext
2986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2987 (eval $ac_compile) 2>conftest.er1
2989 grep -v '^ *+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } &&
2994 { ac_try='test -z "$ac_c_werror_flag"
2995 || test ! -s conftest.err'
2996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; } &&
3001 { ac_try='test -s conftest.$ac_objext'
3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; }; then
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3016 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3017 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3018 if test "$ac_test_CFLAGS" = set; then
3019 CFLAGS=$ac_save_CFLAGS
3020 elif test $ac_cv_prog_cc_g = yes; then
3021 if test "$GCC" = yes; then
3027 if test "$GCC" = yes; then
3033 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3034 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3035 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3038 ac_cv_prog_cc_stdc=no
3040 cat >conftest.$ac_ext <<_ACEOF
3043 cat confdefs.h >>conftest.$ac_ext
3044 cat >>conftest.$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3048 #include <sys/types.h>
3049 #include <sys/stat.h>
3050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3051 struct buf { int x; };
3052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3053 static char *e (p, i)
3059 static char *f (char * (*g) (char **, int), char **p, ...)
3064 s = g (p, va_arg (v,int));
3069 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3070 function prototypes and stuff, but not '\xHH' hex character constants.
3071 These don't provoke an error unfortunately, instead are silently treated
3072 as 'x'. The following induces an error, until -std1 is added to get
3073 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3074 array size at least. It's necessary to write '\x00'==0 to get something
3075 that's true only with -std1. */
3076 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3078 int test (int i, double x);
3079 struct s1 {int (*f) (int a);};
3080 struct s2 {int (*f) (double a);};
3081 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3087 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3092 # Don't try gcc -ansi; that turns off useful extensions and
3093 # breaks some systems' header files.
3094 # AIX -qlanglvl=ansi
3095 # Ultrix and OSF/1 -std1
3096 # HP-UX 10.20 and later -Ae
3097 # HP-UX older versions -Aa -D_HPUX_SOURCE
3098 # SVR4 -Xc -D__EXTENSIONS__
3099 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3101 CC="$ac_save_CC $ac_arg"
3102 rm -f conftest.$ac_objext
3103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3104 (eval $ac_compile) 2>conftest.er1
3106 grep -v '^ *+' conftest.er1 >conftest.err
3108 cat conftest.err >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } &&
3111 { ac_try='test -z "$ac_c_werror_flag"
3112 || test ! -s conftest.err'
3113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); }; } &&
3118 { ac_try='test -s conftest.$ac_objext'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; }; then
3124 ac_cv_prog_cc_stdc=$ac_arg
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3131 rm -f conftest.err conftest.$ac_objext
3133 rm -f conftest.$ac_ext conftest.$ac_objext
3138 case "x$ac_cv_prog_cc_stdc" in
3140 echo "$as_me:$LINENO: result: none needed" >&5
3141 echo "${ECHO_T}none needed" >&6 ;;
3143 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3144 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3145 CC="$CC $ac_cv_prog_cc_stdc" ;;
3148 # Some people use a C++ compiler to compile C. Since we use `exit',
3149 # in C++ we need to declare it. In case someone uses the same compiler
3150 # for both compiling C and C++ we need to have the C++ compiler decide
3151 # the declaration of exit, since it's the most demanding environment.
3152 cat >conftest.$ac_ext <<_ACEOF
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 for ac_declaration in \
3181 'extern "C" void std::exit (int) throw (); using std::exit;' \
3182 'extern "C" void std::exit (int); using std::exit;' \
3183 'extern "C" void exit (int) throw ();' \
3184 'extern "C" void exit (int);' \
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3203 rm -f conftest.$ac_objext
3204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3205 (eval $ac_compile) 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try='test -z "$ac_c_werror_flag"
3213 || test ! -s conftest.err'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; } &&
3219 { ac_try='test -s conftest.$ac_objext'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; }; then
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3233 cat >conftest.$ac_ext <<_ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3248 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1 >conftest.err
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -z "$ac_c_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3279 if test -n "$ac_declaration"; then
3280 echo '#ifdef __cplusplus' >>confdefs.h
3281 echo $ac_declaration >>confdefs.h
3282 echo '#endif' >>confdefs.h
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3292 ac_cpp='$CPP $CPPFLAGS'
3293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3301 if test -n "$ac_tool_prefix"; then
3302 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3303 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3304 echo "$as_me:$LINENO: checking for $ac_word" >&5
3305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3306 if test "${ac_cv_prog_RANLIB+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 if test -n "$RANLIB"; then
3310 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3319 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 RANLIB=$ac_cv_prog_RANLIB
3329 if test -n "$RANLIB"; then
3330 echo "$as_me:$LINENO: result: $RANLIB" >&5
3331 echo "${ECHO_T}$RANLIB" >&6
3333 echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6
3338 if test -z "$ac_cv_prog_RANLIB"; then
3339 ac_ct_RANLIB=$RANLIB
3340 # Extract the first word of "ranlib", so it can be a program name with args.
3341 set dummy ranlib; ac_word=$2
3342 echo "$as_me:$LINENO: checking for $ac_word" >&5
3343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3344 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 if test -n "$ac_ct_RANLIB"; then
3348 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357 ac_cv_prog_ac_ct_RANLIB="ranlib"
3358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3367 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3368 if test -n "$ac_ct_RANLIB"; then
3369 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3370 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3376 RANLIB=$ac_ct_RANLIB
3378 RANLIB="$ac_cv_prog_RANLIB"
3382 # Put a plausible default for CC_FOR_BUILD in Makefile.
3383 if test "x$cross_compiling" = "xno"; then
3384 CC_FOR_BUILD='$(CC)'
3390 # If a cpu ever has more than one simulator to choose from, use
3391 # --enable-sim=... to choose.
3392 # Check whether --enable-sim or --disable-sim was given.
3393 if test "${enable_sim+set}" = set; then
3394 enableval="$enable_sim"
3395 case "${enableval}" in
3397 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3398 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3399 { (exit 1); exit 1; }; } ;;
3403 # WHEN ADDING ENTRIES TO THIS MATRIX:
3405 # Make sure that the left side always has two dashes. Otherwise you
3406 # can get spurious matches. Even for unambiguous cases, do this as a
3407 # convention, else the table becomes a real mess to understand and
3410 if test "${enable_sim}" != no; then
3415 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3418 subdirs="$subdirs arm"
3423 cris-*-* | crisv32-*-*)
3426 subdirs="$subdirs cris"
3434 subdirs="$subdirs d10v"
3440 subdirs="$subdirs frv"
3448 subdirs="$subdirs h8300"
3456 subdirs="$subdirs iq2000"
3464 subdirs="$subdirs m32r"
3469 m68hc11-*-*|m6811-*-*)
3472 subdirs="$subdirs m68hc11"
3480 subdirs="$subdirs mcore"
3488 subdirs="$subdirs mips"
3497 subdirs="$subdirs mn10300"
3505 subdirs="$subdirs sh64"
3513 subdirs="$subdirs sh"
3521 subdirs="$subdirs ppc"
3528 subdirs="$subdirs v850"
3534 if test "$testsuite" = yes; then
3537 subdirs="$subdirs testsuite"
3540 if test "$common" = yes; then
3543 subdirs="$subdirs common"
3546 if test "$igen" = yes; then
3549 subdirs="$subdirs igen"
3554 ac_config_files="$ac_config_files Makefile"
3555 cat >confcache <<\_ACEOF
3556 # This file is a shell script that caches the results of configure
3557 # tests run on this system so they can be shared between configure
3558 # scripts and configure runs, see configure's option --config-cache.
3559 # It is not useful on other systems. If it contains results you don't
3560 # want to keep, you may remove or edit it.
3562 # config.status only pays attention to the cache file if you give it
3563 # the --recheck option to rerun configure.
3565 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3566 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3571 # The following way of writing the cache mishandles newlines in values,
3572 # but we know of no workaround that is simple, portable, and efficient.
3573 # So, don't put newlines in cache variables' values.
3574 # Ultrix sh set writes to stderr and can't be redirected directly,
3575 # and sets the high bit in the cache file unless we assign to the vars.
3578 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3580 # `set' does not quote correctly, so add quotes (double-quote
3581 # substitution turns \\\\ into \\, and sed turns \\ into \).
3584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3587 # `set' quotes correctly as required by POSIX, so do not add quotes.
3589 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3598 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3600 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3601 if test -w $cache_file; then
3602 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3603 cat confcache >$cache_file
3605 echo "not updating unwritable cache $cache_file"
3610 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3611 # Let make expand exec_prefix.
3612 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3614 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3615 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3616 # trailing colons and then remove the whole line if VPATH becomes empty
3617 # (actually we leave an empty line to preserve line numbers).
3618 if test "x$srcdir" = x.; then
3619 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3620 s/:*\$(srcdir):*/:/;
3621 s/:*\${srcdir}:*/:/;
3623 s/^\([^=]*=[ ]*\):*/\1/;
3629 # Transform confdefs.h into DEFS.
3630 # Protect against shell expansion while executing Makefile rules.
3631 # Protect against Makefile macro expansion.
3633 # If the first sed substitution is executed (which looks for macros that
3634 # take arguments), then we branch to the quote section. Otherwise,
3635 # look for a macro that doesn't take arguments.
3636 cat >confdef2opt.sed <<\_ACEOF
3639 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3641 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3645 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3651 # We use echo to avoid assuming a particular line-breaking character.
3652 # The extra dot is to prevent the shell from consuming trailing
3653 # line-breaks from the sub-command output. A line-break within
3654 # single-quotes doesn't work because, if this script is created in a
3655 # platform that uses two characters for line-breaks (e.g., DOS), tr
3657 ac_LF_and_DOT=`echo; echo .`
3658 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3659 rm -f confdef2opt.sed
3664 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3665 # 1. Remove the extension, and $U if already installed.
3666 ac_i=`echo "$ac_i" |
3667 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3669 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3670 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3674 LTLIBOBJS=$ac_ltlibobjs
3678 : ${CONFIG_STATUS=./config.status}
3679 ac_clean_files_save=$ac_clean_files
3680 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3681 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3682 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3683 cat >$CONFIG_STATUS <<_ACEOF
3685 # Generated by $as_me.
3686 # Run this file to recreate the current configuration.
3687 # Compiler output produced by configure, useful for debugging
3688 # configure, is in config.log if it exists.
3693 SHELL=\${CONFIG_SHELL-$SHELL}
3696 cat >>$CONFIG_STATUS <<\_ACEOF
3697 ## --------------------- ##
3698 ## M4sh Initialization. ##
3699 ## --------------------- ##
3701 # Be Bourne compatible
3702 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3705 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3706 # is contrary to our usage. Disable this feature.
3707 alias -g '${1+"$@"}'='"$@"'
3708 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3711 DUALCASE=1; export DUALCASE # for MKS sh
3713 # Support unset when possible.
3714 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3721 # Work around bugs in pre-3.0 UWIN ksh.
3722 $as_unset ENV MAIL MAILPATH
3729 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3730 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3731 LC_TELEPHONE LC_TIME
3733 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3734 eval $as_var=C; export $as_var
3740 # Required to use basename.
3741 if expr a : '\(a\)' >/dev/null 2>&1; then
3747 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3748 as_basename=basename
3754 # Name of the executable.
3755 as_me=`$as_basename "$0" ||
3756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3757 X"$0" : 'X\(//\)$' \| \
3758 X"$0" : 'X\(/\)$' \| \
3759 . : '\(.\)' 2>/dev/null ||
3761 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3762 /^X\/\(\/\/\)$/{ s//\1/; q; }
3763 /^X\/\(\/\).*/{ s//\1/; q; }
3767 # PATH needs CR, and LINENO needs CR and PATH.
3768 # Avoid depending upon Character Ranges.
3769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3772 as_cr_digits='0123456789'
3773 as_cr_alnum=$as_cr_Letters$as_cr_digits
3775 # The user is always right.
3776 if test "${PATH_SEPARATOR+set}" != set; then
3777 echo "#! /bin/sh" >conf$$.sh
3778 echo "exit 0" >>conf$$.sh
3780 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3791 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3792 test "x$as_lineno_1" != "x$as_lineno_2" &&
3793 test "x$as_lineno_3" = "x$as_lineno_2" || {
3794 # Find who we are. Look in the path if we contain no path at all
3797 *[\\/]* ) as_myself=$0 ;;
3798 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir=.
3803 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3808 # We did not find ourselves, most probably we were run as `sh COMMAND'
3809 # in which case we are not to be found in the path.
3810 if test "x$as_myself" = x; then
3813 if test ! -f "$as_myself"; then
3814 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3815 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3816 { (exit 1); exit 1; }; }
3818 case $CONFIG_SHELL in
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3824 test -z "$as_dir" && as_dir=.
3825 for as_base in sh bash ksh sh5; do
3828 if ("$as_dir/$as_base" -c '
3831 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3832 test "x$as_lineno_1" != "x$as_lineno_2" &&
3833 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3834 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3835 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3836 CONFIG_SHELL=$as_dir/$as_base
3838 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3846 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3847 # uniformly replaced by the line number. The first 'sed' inserts a
3848 # line-number line before each line; the second 'sed' does the real
3849 # work. The second script uses 'N' to pair each line-number line
3850 # with the numbered line, and appends trailing '-' during
3851 # substitution so that $LINENO is not a special case at line end.
3852 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3853 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3854 sed '=' <$as_myself |
3859 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3862 s,^['$as_cr_digits']*\n,,
3864 chmod +x $as_me.lineno ||
3865 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3866 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3867 { (exit 1); exit 1; }; }
3869 # Don't try to exec as it changes $[0], causing all sort of problems
3870 # (the dirname of $[0] is not the place where we might find the
3871 # original and so on. Autoconf is especially sensible to this).
3873 # Exit status is that of the last command.
3878 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3879 *c*,-n*) ECHO_N= ECHO_C='
3881 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3882 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3885 if expr a : '\(a\)' >/dev/null 2>&1; then
3891 rm -f conf$$ conf$$.exe conf$$.file
3893 if ln -s conf$$.file conf$$ 2>/dev/null; then
3894 # We could just check for DJGPP; but this test a) works b) is more generic
3895 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3896 if test -f conf$$.exe; then
3897 # Don't use ln at all; we don't have any links
3902 elif ln conf$$.file conf$$ 2>/dev/null; then
3907 rm -f conf$$ conf$$.exe conf$$.file
3909 if mkdir -p . 2>/dev/null; then
3912 test -d ./-p && rmdir ./-p
3916 as_executable_p="test -f"
3918 # Sed expression to map a string onto a valid CPP name.
3919 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3921 # Sed expression to map a string onto a valid variable name.
3922 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3926 # We need space, tab and new line, in precisely that order.
3936 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3937 # report actual input values of CONFIG_FILES etc. instead of their
3938 # values after options handling. Logging --version etc. is OK.
3942 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3943 ## Running $as_me. ##
3948 This file was extended by $as_me, which was
3949 generated by GNU Autoconf 2.59. Invocation command line was
3951 CONFIG_FILES = $CONFIG_FILES
3952 CONFIG_HEADERS = $CONFIG_HEADERS
3953 CONFIG_LINKS = $CONFIG_LINKS
3954 CONFIG_COMMANDS = $CONFIG_COMMANDS
3958 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3962 # Files that config.status was made for.
3963 if test -n "$ac_config_files"; then
3964 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3967 if test -n "$ac_config_headers"; then
3968 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3971 if test -n "$ac_config_links"; then
3972 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3975 if test -n "$ac_config_commands"; then
3976 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3979 cat >>$CONFIG_STATUS <<\_ACEOF
3982 \`$as_me' instantiates files from templates according to the
3983 current configuration.
3985 Usage: $0 [OPTIONS] [FILE]...
3987 -h, --help print this help, then exit
3988 -V, --version print version number, then exit
3989 -q, --quiet do not print progress messages
3990 -d, --debug don't remove temporary files
3991 --recheck update $as_me by reconfiguring in the same conditions
3992 --file=FILE[:TEMPLATE]
3993 instantiate the configuration file FILE
3995 Configuration files:
3998 Report bugs to <bug-autoconf@gnu.org>."
4001 cat >>$CONFIG_STATUS <<_ACEOF
4004 configured by $0, generated by GNU Autoconf 2.59,
4005 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4007 Copyright (C) 2003 Free Software Foundation, Inc.
4008 This config.status script is free software; the Free Software Foundation
4009 gives unlimited permission to copy, distribute and modify it."
4014 cat >>$CONFIG_STATUS <<\_ACEOF
4015 # If no file are specified by the user, then we need to provide default
4016 # value. By we need to know if files were specified by the user.
4022 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4023 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4031 *) # This is not an option, so the user has probably given explicit
4034 ac_need_defaults=false;;
4038 # Handling of the options.
4040 cat >>$CONFIG_STATUS <<\_ACEOF
4041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4043 --version | --vers* | -V )
4044 echo "$ac_cs_version"; exit 0 ;;
4046 # Conflict between --help and --header
4047 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4048 Try \`$0 --help' for more information." >&5
4049 echo "$as_me: error: ambiguous option: $1
4050 Try \`$0 --help' for more information." >&2;}
4051 { (exit 1); exit 1; }; };;
4052 --help | --hel | -h )
4053 echo "$ac_cs_usage"; exit 0 ;;
4054 --debug | --d* | -d )
4056 --file | --fil | --fi | --f )
4058 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4059 ac_need_defaults=false;;
4060 --header | --heade | --head | --hea )
4062 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4063 ac_need_defaults=false;;
4064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4065 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4069 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4070 Try \`$0 --help' for more information." >&5
4071 echo "$as_me: error: unrecognized option: $1
4072 Try \`$0 --help' for more information." >&2;}
4073 { (exit 1); exit 1; }; } ;;
4075 *) ac_config_targets="$ac_config_targets $1" ;;
4081 ac_configure_extra_args=
4083 if $ac_cs_silent; then
4085 ac_configure_extra_args="$ac_configure_extra_args --silent"
4089 cat >>$CONFIG_STATUS <<_ACEOF
4090 if \$ac_cs_recheck; then
4091 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4092 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4101 cat >>$CONFIG_STATUS <<\_ACEOF
4102 for ac_config_target in $ac_config_targets
4104 case "$ac_config_target" in
4105 # Handling of arguments.
4106 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4107 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4108 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4109 { (exit 1); exit 1; }; };;
4113 # If the user did not use the arguments to specify the items to instantiate,
4114 # then the envvar interface is used. Set only those that are not.
4115 # We use the long form for the default assignment because of an extremely
4116 # bizarre bug on SunOS 4.1.3.
4117 if $ac_need_defaults; then
4118 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4121 # Have a temporary directory for convenience. Make it in the build tree
4122 # simply because there is no reason to put it here, and in addition,
4123 # creating and moving files from /tmp can sometimes cause problems.
4124 # Create a temporary directory, and hook for its removal unless debugging.
4127 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4128 trap '{ (exit 1); exit 1; }' 1 2 13 15
4131 # Create a (secure) tmp directory for tmp files.
4134 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4135 test -n "$tmp" && test -d "$tmp"
4138 tmp=./confstat$$-$RANDOM
4139 (umask 077 && mkdir $tmp)
4142 echo "$me: cannot create a temporary directory in ." >&2
4143 { (exit 1); exit 1; }
4148 cat >>$CONFIG_STATUS <<_ACEOF
4151 # CONFIG_FILES section.
4154 # No need to generate the scripts if there are no CONFIG_FILES.
4155 # This happens for instance when ./config.status config.h
4156 if test -n "\$CONFIG_FILES"; then
4157 # Protect against being on the right side of a sed subst in config.status.
4158 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4159 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4160 s,@SHELL@,$SHELL,;t t
4161 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4162 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4163 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4164 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4165 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4166 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4167 s,@exec_prefix@,$exec_prefix,;t t
4168 s,@prefix@,$prefix,;t t
4169 s,@program_transform_name@,$program_transform_name,;t t
4170 s,@bindir@,$bindir,;t t
4171 s,@sbindir@,$sbindir,;t t
4172 s,@libexecdir@,$libexecdir,;t t
4173 s,@datadir@,$datadir,;t t
4174 s,@sysconfdir@,$sysconfdir,;t t
4175 s,@sharedstatedir@,$sharedstatedir,;t t
4176 s,@localstatedir@,$localstatedir,;t t
4177 s,@libdir@,$libdir,;t t
4178 s,@includedir@,$includedir,;t t
4179 s,@oldincludedir@,$oldincludedir,;t t
4180 s,@infodir@,$infodir,;t t
4181 s,@mandir@,$mandir,;t t
4182 s,@build_alias@,$build_alias,;t t
4183 s,@host_alias@,$host_alias,;t t
4184 s,@target_alias@,$target_alias,;t t
4186 s,@ECHO_C@,$ECHO_C,;t t
4187 s,@ECHO_N@,$ECHO_N,;t t
4188 s,@ECHO_T@,$ECHO_T,;t t
4191 s,@CFLAGS@,$CFLAGS,;t t
4192 s,@LDFLAGS@,$LDFLAGS,;t t
4193 s,@CPPFLAGS@,$CPPFLAGS,;t t
4194 s,@ac_ct_CC@,$ac_ct_CC,;t t
4195 s,@EXEEXT@,$EXEEXT,;t t
4196 s,@OBJEXT@,$OBJEXT,;t t
4197 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4198 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4199 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4201 s,@ac_ct_AR@,$ac_ct_AR,;t t
4202 s,@RANLIB@,$RANLIB,;t t
4203 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4204 s,@build@,$build,;t t
4205 s,@build_cpu@,$build_cpu,;t t
4206 s,@build_vendor@,$build_vendor,;t t
4207 s,@build_os@,$build_os,;t t
4209 s,@host_cpu@,$host_cpu,;t t
4210 s,@host_vendor@,$host_vendor,;t t
4211 s,@host_os@,$host_os,;t t
4212 s,@target@,$target,;t t
4213 s,@target_cpu@,$target_cpu,;t t
4214 s,@target_vendor@,$target_vendor,;t t
4215 s,@target_os@,$target_os,;t t
4216 s,@HDEFINES@,$HDEFINES,;t t
4217 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4218 s,@subdirs@,$subdirs,;t t
4219 s,@LIBOBJS@,$LIBOBJS,;t t
4220 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4225 cat >>$CONFIG_STATUS <<\_ACEOF
4226 # Split the substitutions into bite-sized pieces for seds with
4227 # small command number limits, like on Digital OSF/1 and HP-UX.
4229 ac_sed_frag=1 # Number of current file.
4230 ac_beg=1 # First line for current file.
4231 ac_end=$ac_max_sed_lines # Line after last line for current file.
4234 while $ac_more_lines; do
4235 if test $ac_beg -gt 1; then
4236 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4238 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4240 if test ! -s $tmp/subs.frag; then
4243 # The purpose of the label and of the branching condition is to
4244 # speed up the sed processing (if there are no `@' at all, there
4245 # is no need to browse any of the substitutions).
4246 # These are the two extra sed commands mentioned above.
4248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4249 if test -z "$ac_sed_cmds"; then
4250 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4252 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4254 ac_sed_frag=`expr $ac_sed_frag + 1`
4256 ac_end=`expr $ac_end + $ac_max_sed_lines`
4259 if test -z "$ac_sed_cmds"; then
4262 fi # test -n "$CONFIG_FILES"
4265 cat >>$CONFIG_STATUS <<\_ACEOF
4266 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4267 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4269 - | *:- | *:-:* ) # input from stdin
4271 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4272 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4273 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4274 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4275 * ) ac_file_in=$ac_file.in ;;
4278 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4279 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4281 X"$ac_file" : 'X\(//\)[^/]' \| \
4282 X"$ac_file" : 'X\(//\)$' \| \
4283 X"$ac_file" : 'X\(/\)' \| \
4284 . : '\(.\)' 2>/dev/null ||
4286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4288 /^X\(\/\/\)$/{ s//\1/; q; }
4289 /^X\(\/\).*/{ s//\1/; q; }
4291 { if $as_mkdir_p; then
4296 while test ! -d "$as_dir"; do
4297 as_dirs="$as_dir $as_dirs"
4298 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4300 X"$as_dir" : 'X\(//\)[^/]' \| \
4301 X"$as_dir" : 'X\(//\)$' \| \
4302 X"$as_dir" : 'X\(/\)' \| \
4303 . : '\(.\)' 2>/dev/null ||
4305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4307 /^X\(\/\/\)$/{ s//\1/; q; }
4308 /^X\(\/\).*/{ s//\1/; q; }
4311 test ! -n "$as_dirs" || mkdir $as_dirs
4312 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4314 { (exit 1); exit 1; }; }; }
4318 if test "$ac_dir" != .; then
4319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4320 # A "../" for each directory in $ac_dir_suffix.
4321 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4323 ac_dir_suffix= ac_top_builddir=
4327 .) # No --srcdir option. We are building in place.
4329 if test -z "$ac_top_builddir"; then
4332 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4334 [\\/]* | ?:[\\/]* ) # Absolute path.
4335 ac_srcdir=$srcdir$ac_dir_suffix;
4336 ac_top_srcdir=$srcdir ;;
4338 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4339 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4342 # Do not use `cd foo && pwd` to compute absolute paths, because
4343 # the directories may not exist.
4345 .) ac_abs_builddir="$ac_dir";;
4348 .) ac_abs_builddir=`pwd`;;
4349 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4350 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4353 case $ac_abs_builddir in
4354 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4356 case ${ac_top_builddir}. in
4357 .) ac_abs_top_builddir=$ac_abs_builddir;;
4358 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4359 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4362 case $ac_abs_builddir in
4363 .) ac_abs_srcdir=$ac_srcdir;;
4366 .) ac_abs_srcdir=$ac_abs_builddir;;
4367 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4368 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4371 case $ac_abs_builddir in
4372 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4374 case $ac_top_srcdir in
4375 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4376 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4377 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4383 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4384 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4387 if test x"$ac_file" != x-; then
4388 { echo "$as_me:$LINENO: creating $ac_file" >&5
4389 echo "$as_me: creating $ac_file" >&6;}
4392 # Let's still pretend it is `configure' which instantiates (i.e., don't
4393 # use $as_me), people would be surprised to read:
4394 # /* config.h. Generated by config.status. */
4395 if test x"$ac_file" = x-; then
4398 configure_input="$ac_file. "
4400 configure_input=$configure_input"Generated from `echo $ac_file_in |
4401 sed 's,.*/,,'` by configure."
4403 # First look for the input files in the build tree, otherwise in the
4405 ac_file_inputs=`IFS=:
4406 for f in $ac_file_in; do
4408 -) echo $tmp/stdin ;;
4410 # Absolute (can't be DOS-style, as IFS=:)
4411 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4412 echo "$as_me: error: cannot find input file: $f" >&2;}
4413 { (exit 1); exit 1; }; }
4416 if test -f "$f"; then
4419 elif test -f "$srcdir/$f"; then
4424 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4425 echo "$as_me: error: cannot find input file: $f" >&2;}
4426 { (exit 1); exit 1; }; }
4429 done` || { (exit 1); exit 1; }
4431 cat >>$CONFIG_STATUS <<_ACEOF
4435 cat >>$CONFIG_STATUS <<\_ACEOF
4437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4438 s,@configure_input@,$configure_input,;t t
4439 s,@srcdir@,$ac_srcdir,;t t
4440 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4441 s,@top_srcdir@,$ac_top_srcdir,;t t
4442 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4443 s,@builddir@,$ac_builddir,;t t
4444 s,@abs_builddir@,$ac_abs_builddir,;t t
4445 s,@top_builddir@,$ac_top_builddir,;t t
4446 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4447 s,@INSTALL@,$ac_INSTALL,;t t
4448 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4450 if test x"$ac_file" != x-; then
4451 mv $tmp/out $ac_file
4460 cat >>$CONFIG_STATUS <<\_ACEOF
4462 { (exit 0); exit 0; }
4464 chmod +x $CONFIG_STATUS
4465 ac_clean_files=$ac_clean_files_save
4468 # configure is writing to config.log, and then calls config.status.
4469 # config.status does its own redirection, appending to config.log.
4470 # Unfortunately, on DOS this fails, as config.log is still kept open
4471 # by configure, so config.status won't be able to write to it; its
4472 # output is simply discarded. So we exec the FD to /dev/null,
4473 # effectively closing config.log, so it can be properly (re)opened and
4474 # appended to by config.status. When coming back to configure, we
4475 # need to make the FD available again.
4476 if test "$no_create" != yes; then
4478 ac_config_status_args=
4479 test "$silent" = yes &&
4480 ac_config_status_args="$ac_config_status_args --quiet"
4482 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4484 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4485 # would make configure fail if this is the last instruction.
4486 $ac_cs_success || { (exit 1); exit 1; }
4490 # CONFIG_SUBDIRS section.
4492 if test "$no_recursion" != yes; then
4494 # Remove --cache-file and --srcdir arguments so they do not pile up.
4495 ac_sub_configure_args=
4497 for ac_arg in $ac_configure_args; do
4498 if test -n "$ac_prev"; then
4503 -cache-file | --cache-file | --cache-fil | --cache-fi \
4504 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4505 ac_prev=cache_file ;;
4506 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4507 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4510 --config-cache | -C)
4512 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4514 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4516 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4518 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4520 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4524 # Always prepend --prefix to ensure using the same prefix
4525 # in subdir configurations.
4526 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4529 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4531 # Do not complain, so a configure script can configure whichever
4532 # parts of a large source tree are present.
4533 test -d $srcdir/$ac_dir || continue
4535 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4536 echo "$as_me: configuring in $ac_dir" >&6;}
4537 { if $as_mkdir_p; then
4542 while test ! -d "$as_dir"; do
4543 as_dirs="$as_dir $as_dirs"
4544 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4546 X"$as_dir" : 'X\(//\)[^/]' \| \
4547 X"$as_dir" : 'X\(//\)$' \| \
4548 X"$as_dir" : 'X\(/\)' \| \
4549 . : '\(.\)' 2>/dev/null ||
4551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4552 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4553 /^X\(\/\/\)$/{ s//\1/; q; }
4554 /^X\(\/\).*/{ s//\1/; q; }
4557 test ! -n "$as_dirs" || mkdir $as_dirs
4558 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4559 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4560 { (exit 1); exit 1; }; }; }
4564 if test "$ac_dir" != .; then
4565 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4566 # A "../" for each directory in $ac_dir_suffix.
4567 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4569 ac_dir_suffix= ac_top_builddir=
4573 .) # No --srcdir option. We are building in place.
4575 if test -z "$ac_top_builddir"; then
4578 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4580 [\\/]* | ?:[\\/]* ) # Absolute path.
4581 ac_srcdir=$srcdir$ac_dir_suffix;
4582 ac_top_srcdir=$srcdir ;;
4584 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4585 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4588 # Do not use `cd foo && pwd` to compute absolute paths, because
4589 # the directories may not exist.
4591 .) ac_abs_builddir="$ac_dir";;
4594 .) ac_abs_builddir=`pwd`;;
4595 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4596 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4599 case $ac_abs_builddir in
4600 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4602 case ${ac_top_builddir}. in
4603 .) ac_abs_top_builddir=$ac_abs_builddir;;
4604 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4605 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4608 case $ac_abs_builddir in
4609 .) ac_abs_srcdir=$ac_srcdir;;
4612 .) ac_abs_srcdir=$ac_abs_builddir;;
4613 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4614 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4617 case $ac_abs_builddir in
4618 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4620 case $ac_top_srcdir in
4621 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4622 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4623 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4630 # Check for guested configure; otherwise get Cygnus style configure.
4631 if test -f $ac_srcdir/configure.gnu; then
4632 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4633 elif test -f $ac_srcdir/configure; then
4634 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4635 elif test -f $ac_srcdir/configure.in; then
4636 ac_sub_configure=$ac_configure
4638 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4639 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4643 # The recursion is here.
4644 if test -n "$ac_sub_configure"; then
4645 # Make the cache file name correct relative to the subdirectory.
4647 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4649 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4652 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4653 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4654 # The eval makes quoting arguments work.
4655 eval $ac_sub_configure $ac_sub_configure_args \
4656 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4657 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4658 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4659 { (exit 1); exit 1; }; }