2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="Makefile.in"
275 ac_subdirs_all="$ac_subdirs_all arm"
276 ac_subdirs_all="$ac_subdirs_all cris"
277 ac_subdirs_all="$ac_subdirs_all d10v"
278 ac_subdirs_all="$ac_subdirs_all frv"
279 ac_subdirs_all="$ac_subdirs_all h8300"
280 ac_subdirs_all="$ac_subdirs_all iq2000"
281 ac_subdirs_all="$ac_subdirs_all m32c"
282 ac_subdirs_all="$ac_subdirs_all m32r"
283 ac_subdirs_all="$ac_subdirs_all m68hc11"
284 ac_subdirs_all="$ac_subdirs_all mcore"
285 ac_subdirs_all="$ac_subdirs_all mips"
286 ac_subdirs_all="$ac_subdirs_all mn10300"
287 ac_subdirs_all="$ac_subdirs_all sh64"
288 ac_subdirs_all="$ac_subdirs_all sh"
289 ac_subdirs_all="$ac_subdirs_all erc32"
290 ac_subdirs_all="$ac_subdirs_all ppc"
291 ac_subdirs_all="$ac_subdirs_all v850"
292 ac_subdirs_all="$ac_subdirs_all testsuite"
293 ac_subdirs_all="$ac_subdirs_all common"
294 ac_subdirs_all="$ac_subdirs_all igen"
295 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os HDEFINES CC_FOR_BUILD CFLAGS_FOR_BUILD subdirs LIBOBJS LTLIBOBJS'
298 # Initialize some variables set by options.
300 ac_init_version=false
301 # The variables have the same names as the options, with
302 # dashes changed to underlines.
310 program_transform_name=s,x,x,
318 # Installation directory options.
319 # These are left unexpanded so users can "make install exec_prefix=/foo"
320 # and all the variables that are supposed to be based on exec_prefix
321 # by default will actually change.
322 # Use braces instead of parens because sh, perl, etc. also accept them.
323 bindir='${exec_prefix}/bin'
324 sbindir='${exec_prefix}/sbin'
325 libexecdir='${exec_prefix}/libexec'
326 datadir='${prefix}/share'
327 sysconfdir='${prefix}/etc'
328 sharedstatedir='${prefix}/com'
329 localstatedir='${prefix}/var'
330 libdir='${exec_prefix}/lib'
331 includedir='${prefix}/include'
332 oldincludedir='/usr/include'
333 infodir='${prefix}/info'
334 mandir='${prefix}/man'
339 # If the previous option needs an argument, assign it.
340 if test -n "$ac_prev"; then
341 eval "$ac_prev=\$ac_option"
346 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
348 # Accept the important Cygnus configure options, so we can diagnose typos.
352 -bindir | --bindir | --bindi | --bind | --bin | --bi)
354 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
357 -build | --build | --buil | --bui | --bu)
358 ac_prev=build_alias ;;
359 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
360 build_alias=$ac_optarg ;;
362 -cache-file | --cache-file | --cache-fil | --cache-fi \
363 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
364 ac_prev=cache_file ;;
365 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
366 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
367 cache_file=$ac_optarg ;;
370 cache_file=config.cache ;;
372 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
374 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
376 datadir=$ac_optarg ;;
378 -disable-* | --disable-*)
379 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
380 # Reject names that are not valid shell variable names.
381 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
382 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
383 { (exit 1); exit 1; }; }
384 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
385 eval "enable_$ac_feature=no" ;;
387 -enable-* | --enable-*)
388 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
389 # Reject names that are not valid shell variable names.
390 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
391 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
392 { (exit 1); exit 1; }; }
393 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
395 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 eval "enable_$ac_feature='$ac_optarg'" ;;
400 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
401 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
402 | --exec | --exe | --ex)
403 ac_prev=exec_prefix ;;
404 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
405 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
406 | --exec=* | --exe=* | --ex=*)
407 exec_prefix=$ac_optarg ;;
409 -gas | --gas | --ga | --g)
410 # Obsolete; use --with-gas.
413 -help | --help | --hel | --he | -h)
415 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
416 ac_init_help=recursive ;;
417 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
418 ac_init_help=short ;;
420 -host | --host | --hos | --ho)
421 ac_prev=host_alias ;;
422 -host=* | --host=* | --hos=* | --ho=*)
423 host_alias=$ac_optarg ;;
425 -includedir | --includedir | --includedi | --included | --include \
426 | --includ | --inclu | --incl | --inc)
427 ac_prev=includedir ;;
428 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
429 | --includ=* | --inclu=* | --incl=* | --inc=*)
430 includedir=$ac_optarg ;;
432 -infodir | --infodir | --infodi | --infod | --info | --inf)
434 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
435 infodir=$ac_optarg ;;
437 -libdir | --libdir | --libdi | --libd)
439 -libdir=* | --libdir=* | --libdi=* | --libd=*)
442 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
443 | --libexe | --libex | --libe)
444 ac_prev=libexecdir ;;
445 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
446 | --libexe=* | --libex=* | --libe=*)
447 libexecdir=$ac_optarg ;;
449 -localstatedir | --localstatedir | --localstatedi | --localstated \
450 | --localstate | --localstat | --localsta | --localst \
451 | --locals | --local | --loca | --loc | --lo)
452 ac_prev=localstatedir ;;
453 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
454 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
455 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
456 localstatedir=$ac_optarg ;;
458 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
460 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
464 # Obsolete; use --without-fp.
467 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
468 | --no-cr | --no-c | -n)
471 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
472 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
475 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
476 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
477 | --oldin | --oldi | --old | --ol | --o)
478 ac_prev=oldincludedir ;;
479 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
480 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
481 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
482 oldincludedir=$ac_optarg ;;
484 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
486 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
489 -program-prefix | --program-prefix | --program-prefi | --program-pref \
490 | --program-pre | --program-pr | --program-p)
491 ac_prev=program_prefix ;;
492 -program-prefix=* | --program-prefix=* | --program-prefi=* \
493 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
494 program_prefix=$ac_optarg ;;
496 -program-suffix | --program-suffix | --program-suffi | --program-suff \
497 | --program-suf | --program-su | --program-s)
498 ac_prev=program_suffix ;;
499 -program-suffix=* | --program-suffix=* | --program-suffi=* \
500 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
501 program_suffix=$ac_optarg ;;
503 -program-transform-name | --program-transform-name \
504 | --program-transform-nam | --program-transform-na \
505 | --program-transform-n | --program-transform- \
506 | --program-transform | --program-transfor \
507 | --program-transfo | --program-transf \
508 | --program-trans | --program-tran \
509 | --progr-tra | --program-tr | --program-t)
510 ac_prev=program_transform_name ;;
511 -program-transform-name=* | --program-transform-name=* \
512 | --program-transform-nam=* | --program-transform-na=* \
513 | --program-transform-n=* | --program-transform-=* \
514 | --program-transform=* | --program-transfor=* \
515 | --program-transfo=* | --program-transf=* \
516 | --program-trans=* | --program-tran=* \
517 | --progr-tra=* | --program-tr=* | --program-t=*)
518 program_transform_name=$ac_optarg ;;
520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
521 | -silent | --silent | --silen | --sile | --sil)
524 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
526 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
528 sbindir=$ac_optarg ;;
530 -sharedstatedir | --sharedstatedir | --sharedstatedi \
531 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
532 | --sharedst | --shareds | --shared | --share | --shar \
534 ac_prev=sharedstatedir ;;
535 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
536 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
537 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
539 sharedstatedir=$ac_optarg ;;
541 -site | --site | --sit)
543 -site=* | --site=* | --sit=*)
546 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
548 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
551 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
552 | --syscon | --sysco | --sysc | --sys | --sy)
553 ac_prev=sysconfdir ;;
554 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
555 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
556 sysconfdir=$ac_optarg ;;
558 -target | --target | --targe | --targ | --tar | --ta | --t)
559 ac_prev=target_alias ;;
560 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
561 target_alias=$ac_optarg ;;
563 -v | -verbose | --verbose | --verbos | --verbo | --verb)
566 -version | --version | --versio | --versi | --vers | -V)
570 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
571 # Reject names that are not valid shell variable names.
572 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
573 { echo "$as_me: error: invalid package name: $ac_package" >&2
574 { (exit 1); exit 1; }; }
575 ac_package=`echo $ac_package| sed 's/-/_/g'`
577 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
580 eval "with_$ac_package='$ac_optarg'" ;;
582 -without-* | --without-*)
583 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package=`echo $ac_package | sed 's/-/_/g'`
589 eval "with_$ac_package=no" ;;
592 # Obsolete; use --with-x.
595 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
596 | --x-incl | --x-inc | --x-in | --x-i)
597 ac_prev=x_includes ;;
598 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
599 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
600 x_includes=$ac_optarg ;;
602 -x-libraries | --x-libraries | --x-librarie | --x-librari \
603 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
604 ac_prev=x_libraries ;;
605 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
606 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
607 x_libraries=$ac_optarg ;;
609 -*) { echo "$as_me: error: unrecognized option: $ac_option
610 Try \`$0 --help' for more information." >&2
611 { (exit 1); exit 1; }; }
615 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
616 # Reject names that are not valid shell variable names.
617 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
618 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
619 { (exit 1); exit 1; }; }
620 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
621 eval "$ac_envvar='$ac_optarg'"
625 # FIXME: should be removed in autoconf 3.0.
626 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
627 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
628 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
629 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
635 if test -n "$ac_prev"; then
636 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
637 { echo "$as_me: error: missing argument to $ac_option" >&2
638 { (exit 1); exit 1; }; }
641 # Be sure to have absolute paths.
642 for ac_var in exec_prefix prefix
644 eval ac_val=$`echo $ac_var`
646 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
647 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
648 { (exit 1); exit 1; }; };;
652 # Be sure to have absolute paths.
653 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
654 localstatedir libdir includedir oldincludedir infodir mandir
656 eval ac_val=$`echo $ac_var`
658 [\\/$]* | ?:[\\/]* ) ;;
659 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
660 { (exit 1); exit 1; }; };;
664 # There might be people who depend on the old broken behavior: `$host'
665 # used to hold the argument of --host etc.
666 # FIXME: To remove some day.
671 # FIXME: To remove some day.
672 if test "x$host_alias" != x; then
673 if test "x$build_alias" = x; then
674 cross_compiling=maybe
675 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
676 If a cross compiler is detected then cross compile mode will be used." >&2
677 elif test "x$build_alias" != "x$host_alias"; then
683 test -n "$host_alias" && ac_tool_prefix=$host_alias-
685 test "$silent" = yes && exec 6>/dev/null
688 # Find the source files, if location was not specified.
689 if test -z "$srcdir"; then
690 ac_srcdir_defaulted=yes
691 # Try the directory containing this script, then its parent.
692 ac_confdir=`(dirname "$0") 2>/dev/null ||
693 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
694 X"$0" : 'X\(//\)[^/]' \| \
695 X"$0" : 'X\(//\)$' \| \
696 X"$0" : 'X\(/\)' \| \
697 . : '\(.\)' 2>/dev/null ||
699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
701 /^X\(\/\/\)$/{ s//\1/; q; }
702 /^X\(\/\).*/{ s//\1/; q; }
705 if test ! -r $srcdir/$ac_unique_file; then
709 ac_srcdir_defaulted=no
711 if test ! -r $srcdir/$ac_unique_file; then
712 if test "$ac_srcdir_defaulted" = yes; then
713 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
714 { (exit 1); exit 1; }; }
716 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
717 { (exit 1); exit 1; }; }
720 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
721 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
722 { (exit 1); exit 1; }; }
723 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
724 ac_env_build_alias_set=${build_alias+set}
725 ac_env_build_alias_value=$build_alias
726 ac_cv_env_build_alias_set=${build_alias+set}
727 ac_cv_env_build_alias_value=$build_alias
728 ac_env_host_alias_set=${host_alias+set}
729 ac_env_host_alias_value=$host_alias
730 ac_cv_env_host_alias_set=${host_alias+set}
731 ac_cv_env_host_alias_value=$host_alias
732 ac_env_target_alias_set=${target_alias+set}
733 ac_env_target_alias_value=$target_alias
734 ac_cv_env_target_alias_set=${target_alias+set}
735 ac_cv_env_target_alias_value=$target_alias
736 ac_env_CC_set=${CC+set}
738 ac_cv_env_CC_set=${CC+set}
739 ac_cv_env_CC_value=$CC
740 ac_env_CFLAGS_set=${CFLAGS+set}
741 ac_env_CFLAGS_value=$CFLAGS
742 ac_cv_env_CFLAGS_set=${CFLAGS+set}
743 ac_cv_env_CFLAGS_value=$CFLAGS
744 ac_env_LDFLAGS_set=${LDFLAGS+set}
745 ac_env_LDFLAGS_value=$LDFLAGS
746 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
747 ac_cv_env_LDFLAGS_value=$LDFLAGS
748 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
749 ac_env_CPPFLAGS_value=$CPPFLAGS
750 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
751 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
754 # Report the --help message.
756 if test "$ac_init_help" = "long"; then
757 # Omit some internal or obsolete options to make the list less imposing.
758 # This message is too long to be a string in the A/UX 3.1 sh.
760 \`configure' configures this package to adapt to many kinds of systems.
762 Usage: $0 [OPTION]... [VAR=VALUE]...
764 To assign environment variables (e.g., CC, CFLAGS...), specify them as
765 VAR=VALUE. See below for descriptions of some of the useful variables.
767 Defaults for the options are specified in brackets.
770 -h, --help display this help and exit
771 --help=short display options specific to this package
772 --help=recursive display the short help of all the included packages
773 -V, --version display version information and exit
774 -q, --quiet, --silent do not print \`checking...' messages
775 --cache-file=FILE cache test results in FILE [disabled]
776 -C, --config-cache alias for \`--cache-file=config.cache'
777 -n, --no-create do not create output files
778 --srcdir=DIR find the sources in DIR [configure dir or \`..']
783 Installation directories:
784 --prefix=PREFIX install architecture-independent files in PREFIX
786 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
789 By default, \`make install' will install all the files in
790 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
791 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
792 for instance \`--prefix=\$HOME'.
794 For better control, use the options below.
796 Fine tuning of the installation directories:
797 --bindir=DIR user executables [EPREFIX/bin]
798 --sbindir=DIR system admin executables [EPREFIX/sbin]
799 --libexecdir=DIR program executables [EPREFIX/libexec]
800 --datadir=DIR read-only architecture-independent data [PREFIX/share]
801 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
802 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
803 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
804 --libdir=DIR object code libraries [EPREFIX/lib]
805 --includedir=DIR C header files [PREFIX/include]
806 --oldincludedir=DIR C header files for non-gcc [/usr/include]
807 --infodir=DIR info documentation [PREFIX/info]
808 --mandir=DIR man documentation [PREFIX/man]
814 --program-prefix=PREFIX prepend PREFIX to installed program names
815 --program-suffix=SUFFIX append SUFFIX to installed program names
816 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
819 --build=BUILD configure for building on BUILD [guessed]
820 --host=HOST cross-compile to build programs to run on HOST [BUILD]
821 --target=TARGET configure for building compilers for TARGET [HOST]
825 if test -n "$ac_init_help"; then
830 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
831 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
834 Some influential environment variables:
835 CC C compiler command
836 CFLAGS C compiler flags
837 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
838 nonstandard directory <lib dir>
839 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
840 headers in a nonstandard directory <include dir>
842 Use these variables to override the choices made by `configure' or to help
843 it to find libraries and programs with nonstandard names/locations.
848 if test "$ac_init_help" = "recursive"; then
849 # If there are subdirs, report their specific --help.
851 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852 test -d $ac_dir || continue
855 if test "$ac_dir" != .; then
856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857 # A "../" for each directory in $ac_dir_suffix.
858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
860 ac_dir_suffix= ac_top_builddir=
864 .) # No --srcdir option. We are building in place.
866 if test -z "$ac_top_builddir"; then
869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
871 [\\/]* | ?:[\\/]* ) # Absolute path.
872 ac_srcdir=$srcdir$ac_dir_suffix;
873 ac_top_srcdir=$srcdir ;;
875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
879 # Do not use `cd foo && pwd` to compute absolute paths, because
880 # the directories may not exist.
882 .) ac_abs_builddir="$ac_dir";;
885 .) ac_abs_builddir=`pwd`;;
886 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
887 *) ac_abs_builddir=`pwd`/"$ac_dir";;
890 case $ac_abs_builddir in
891 .) ac_abs_top_builddir=${ac_top_builddir}.;;
893 case ${ac_top_builddir}. in
894 .) ac_abs_top_builddir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
896 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
899 case $ac_abs_builddir in
900 .) ac_abs_srcdir=$ac_srcdir;;
903 .) ac_abs_srcdir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
905 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
908 case $ac_abs_builddir in
909 .) ac_abs_top_srcdir=$ac_top_srcdir;;
911 case $ac_top_srcdir in
912 .) ac_abs_top_srcdir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
914 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
919 # Check for guested configure; otherwise get Cygnus style configure.
920 if test -f $ac_srcdir/configure.gnu; then
922 $SHELL $ac_srcdir/configure.gnu --help=recursive
923 elif test -f $ac_srcdir/configure; then
925 $SHELL $ac_srcdir/configure --help=recursive
926 elif test -f $ac_srcdir/configure.ac ||
927 test -f $ac_srcdir/configure.in; then
931 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
937 test -n "$ac_init_help" && exit 0
938 if $ac_init_version; then
941 Copyright (C) 2003 Free Software Foundation, Inc.
942 This configure script is free software; the Free Software Foundation
943 gives unlimited permission to copy, distribute and modify it.
949 This file contains any messages produced by compilers while
950 running configure, to aid debugging if configure makes a mistake.
952 It was created by $as_me, which was
953 generated by GNU Autoconf 2.59. Invocation command line was
964 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
965 uname -m = `(uname -m) 2>/dev/null || echo unknown`
966 uname -r = `(uname -r) 2>/dev/null || echo unknown`
967 uname -s = `(uname -s) 2>/dev/null || echo unknown`
968 uname -v = `(uname -v) 2>/dev/null || echo unknown`
970 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
971 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
973 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
974 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
975 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
976 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
977 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
978 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
979 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
987 test -z "$as_dir" && as_dir=.
1003 # Keep a trace of the command line.
1004 # Strip out --no-create and --no-recursion so they do not pile up.
1005 # Strip out --silent because we don't want to record it for future runs.
1006 # Also quote any args containing shell meta-characters.
1007 # Make two passes to allow for proper duplicate-argument suppression.
1012 ac_must_keep_next=false
1018 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1020 | -silent | --silent | --silen | --sile | --sil)
1022 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1023 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1026 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1028 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1029 if test $ac_must_keep_next = true; then
1030 ac_must_keep_next=false # Got value, back to normal.
1033 *=* | --config-cache | -C | -disable-* | --disable-* \
1034 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1035 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1036 | -with-* | --with-* | -without-* | --without-* | --x)
1037 case "$ac_configure_args0 " in
1038 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1041 -* ) ac_must_keep_next=true ;;
1044 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1045 # Get rid of the leading space.
1051 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1052 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1054 # When interrupted or exit'd, cleanup temporary files, and complete
1055 # config.log. We remove comments because anyway the quotes in there
1056 # would cause problems or look ugly.
1057 # WARNING: Be sure not to use single quotes in there, as some shells,
1058 # such as our DU 5.0 friend, will then `close' the trap.
1059 trap 'exit_status=$?
1060 # Save into config.log some information that might help in debugging.
1065 ## ---------------- ##
1066 ## Cache variables. ##
1067 ## ---------------- ##
1070 # The following way of writing the cache mishandles newlines in values,
1073 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1076 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1081 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1088 ## ----------------- ##
1089 ## Output variables. ##
1090 ## ----------------- ##
1093 for ac_var in $ac_subst_vars
1095 eval ac_val=$`echo $ac_var`
1096 echo "$ac_var='"'"'$ac_val'"'"'"
1100 if test -n "$ac_subst_files"; then
1107 for ac_var in $ac_subst_files
1109 eval ac_val=$`echo $ac_var`
1110 echo "$ac_var='"'"'$ac_val'"'"'"
1115 if test -s confdefs.h; then
1122 sed "/^$/d" confdefs.h | sort
1125 test "$ac_signal" != 0 &&
1126 echo "$as_me: caught signal $ac_signal"
1127 echo "$as_me: exit $exit_status"
1129 rm -f core *.core &&
1130 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1133 for ac_signal in 1 2 13 15; do
1134 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1138 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1139 rm -rf conftest* confdefs.h
1140 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1143 # Predefined preprocessor variables.
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_NAME "$PACKAGE_NAME"
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_STRING "$PACKAGE_STRING"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1170 # Let the site file select an alternate cache file if it wants to.
1171 # Prefer explicitly selected file to automatically selected ones.
1172 if test -z "$CONFIG_SITE"; then
1173 if test "x$prefix" != xNONE; then
1174 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1176 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1179 for ac_site_file in $CONFIG_SITE; do
1180 if test -r "$ac_site_file"; then
1181 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1182 echo "$as_me: loading site script $ac_site_file" >&6;}
1183 sed 's/^/| /' "$ac_site_file" >&5
1188 if test -r "$cache_file"; then
1189 # Some versions of bash will fail to source /dev/null (special
1190 # files actually), so we avoid doing that.
1191 if test -f "$cache_file"; then
1192 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1193 echo "$as_me: loading cache $cache_file" >&6;}
1195 [\\/]* | ?:[\\/]* ) . $cache_file;;
1196 *) . ./$cache_file;;
1200 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1201 echo "$as_me: creating cache $cache_file" >&6;}
1205 # Check that the precious variables saved in the cache have kept the same
1207 ac_cache_corrupted=false
1208 for ac_var in `(set) 2>&1 |
1209 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1210 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1211 eval ac_new_set=\$ac_env_${ac_var}_set
1212 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1213 eval ac_new_val="\$ac_env_${ac_var}_value"
1214 case $ac_old_set,$ac_new_set in
1216 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1218 ac_cache_corrupted=: ;;
1220 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1221 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1222 ac_cache_corrupted=: ;;
1225 if test "x$ac_old_val" != "x$ac_new_val"; then
1226 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1227 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1228 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1229 echo "$as_me: former value: $ac_old_val" >&2;}
1230 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1231 echo "$as_me: current value: $ac_new_val" >&2;}
1232 ac_cache_corrupted=:
1235 # Pass precious variables to config.status.
1236 if test "$ac_new_set" = set; then
1238 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1239 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1240 *) ac_arg=$ac_var=$ac_new_val ;;
1242 case " $ac_configure_args " in
1243 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1244 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1248 if $ac_cache_corrupted; then
1249 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1250 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1251 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1252 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1253 { (exit 1); exit 1; }; }
1257 ac_cpp='$CPP $CPPFLAGS'
1258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1282 ac_cpp='$CPP $CPPFLAGS'
1283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1286 if test -n "$ac_tool_prefix"; then
1287 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1289 echo "$as_me:$LINENO: checking for $ac_word" >&5
1290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1291 if test "${ac_cv_prog_CC+set}" = set; then
1292 echo $ECHO_N "(cached) $ECHO_C" >&6
1294 if test -n "$CC"; then
1295 ac_cv_prog_CC="$CC" # Let the user override the test.
1297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1301 test -z "$as_dir" && as_dir=.
1302 for ac_exec_ext in '' $ac_executable_extensions; do
1303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1304 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1314 if test -n "$CC"; then
1315 echo "$as_me:$LINENO: result: $CC" >&5
1316 echo "${ECHO_T}$CC" >&6
1318 echo "$as_me:$LINENO: result: no" >&5
1319 echo "${ECHO_T}no" >&6
1323 if test -z "$ac_cv_prog_CC"; then
1325 # Extract the first word of "gcc", so it can be a program name with args.
1326 set dummy gcc; ac_word=$2
1327 echo "$as_me:$LINENO: checking for $ac_word" >&5
1328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1330 echo $ECHO_N "(cached) $ECHO_C" >&6
1332 if test -n "$ac_ct_CC"; then
1333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1339 test -z "$as_dir" && as_dir=.
1340 for ac_exec_ext in '' $ac_executable_extensions; do
1341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1342 ac_cv_prog_ac_ct_CC="gcc"
1343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1352 if test -n "$ac_ct_CC"; then
1353 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1354 echo "${ECHO_T}$ac_ct_CC" >&6
1356 echo "$as_me:$LINENO: result: no" >&5
1357 echo "${ECHO_T}no" >&6
1365 if test -z "$CC"; then
1366 if test -n "$ac_tool_prefix"; then
1367 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1368 set dummy ${ac_tool_prefix}cc; ac_word=$2
1369 echo "$as_me:$LINENO: checking for $ac_word" >&5
1370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371 if test "${ac_cv_prog_CC+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 if test -n "$CC"; then
1375 ac_cv_prog_CC="$CC" # Let the user override the test.
1377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1381 test -z "$as_dir" && as_dir=.
1382 for ac_exec_ext in '' $ac_executable_extensions; do
1383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1384 ac_cv_prog_CC="${ac_tool_prefix}cc"
1385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1394 if test -n "$CC"; then
1395 echo "$as_me:$LINENO: result: $CC" >&5
1396 echo "${ECHO_T}$CC" >&6
1398 echo "$as_me:$LINENO: result: no" >&5
1399 echo "${ECHO_T}no" >&6
1403 if test -z "$ac_cv_prog_CC"; then
1405 # Extract the first word of "cc", so it can be a program name with args.
1406 set dummy cc; ac_word=$2
1407 echo "$as_me:$LINENO: checking for $ac_word" >&5
1408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 if test -n "$ac_ct_CC"; then
1413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 test -z "$as_dir" && as_dir=.
1420 for ac_exec_ext in '' $ac_executable_extensions; do
1421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1422 ac_cv_prog_ac_ct_CC="cc"
1423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1432 if test -n "$ac_ct_CC"; then
1433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1434 echo "${ECHO_T}$ac_ct_CC" >&6
1436 echo "$as_me:$LINENO: result: no" >&5
1437 echo "${ECHO_T}no" >&6
1446 if test -z "$CC"; then
1447 # Extract the first word of "cc", so it can be a program name with args.
1448 set dummy cc; ac_word=$2
1449 echo "$as_me:$LINENO: checking for $ac_word" >&5
1450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1451 if test "${ac_cv_prog_CC+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 if test -n "$CC"; then
1455 ac_cv_prog_CC="$CC" # Let the user override the test.
1458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1462 test -z "$as_dir" && as_dir=.
1463 for ac_exec_ext in '' $ac_executable_extensions; do
1464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1465 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1466 ac_prog_rejected=yes
1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1476 if test $ac_prog_rejected = yes; then
1477 # We found a bogon in the path, so make sure we never use it.
1478 set dummy $ac_cv_prog_CC
1480 if test $# != 0; then
1481 # We chose a different compiler from the bogus one.
1482 # However, it has the same basename, so the bogon will be chosen
1483 # first if we set CC to just the basename; use the full file name.
1485 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1500 if test -z "$CC"; then
1501 if test -n "$ac_tool_prefix"; then
1504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_CC+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 if test -n "$CC"; then
1512 ac_cv_prog_CC="$CC" # Let the user override the test.
1514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir=.
1519 for ac_exec_ext in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531 if test -n "$CC"; then
1532 echo "$as_me:$LINENO: result: $CC" >&5
1533 echo "${ECHO_T}$CC" >&6
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1539 test -n "$CC" && break
1542 if test -z "$CC"; then
1546 # Extract the first word of "$ac_prog", so it can be a program name with args.
1547 set dummy $ac_prog; ac_word=$2
1548 echo "$as_me:$LINENO: checking for $ac_word" >&5
1549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 if test -n "$ac_ct_CC"; then
1554 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560 test -z "$as_dir" && as_dir=.
1561 for ac_exec_ext in '' $ac_executable_extensions; do
1562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1563 ac_cv_prog_ac_ct_CC="$ac_prog"
1564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1573 if test -n "$ac_ct_CC"; then
1574 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1575 echo "${ECHO_T}$ac_ct_CC" >&6
1577 echo "$as_me:$LINENO: result: no" >&5
1578 echo "${ECHO_T}no" >&6
1581 test -n "$ac_ct_CC" && break
1590 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1591 See \`config.log' for more details." >&5
1592 echo "$as_me: error: no acceptable C compiler found in \$PATH
1593 See \`config.log' for more details." >&2;}
1594 { (exit 1); exit 1; }; }
1596 # Provide some information about the compiler.
1597 echo "$as_me:$LINENO:" \
1598 "checking for C compiler version" >&5
1599 ac_compiler=`set X $ac_compile; echo $2`
1600 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1601 (eval $ac_compiler --version </dev/null >&5) 2>&5
1603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1604 (exit $ac_status); }
1605 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1606 (eval $ac_compiler -v </dev/null >&5) 2>&5
1608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1609 (exit $ac_status); }
1610 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1611 (eval $ac_compiler -V </dev/null >&5) 2>&5
1613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1614 (exit $ac_status); }
1616 cat >conftest.$ac_ext <<_ACEOF
1619 cat confdefs.h >>conftest.$ac_ext
1620 cat >>conftest.$ac_ext <<_ACEOF
1621 /* end confdefs.h. */
1631 ac_clean_files_save=$ac_clean_files
1632 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1633 # Try to create an executable without -o first, disregard a.out.
1634 # It will help us diagnose broken compilers, and finding out an intuition
1636 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1637 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1638 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1639 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1640 (eval $ac_link_default) 2>&5
1642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1643 (exit $ac_status); }; then
1644 # Find the output, starting from the most likely. This scheme is
1645 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1648 # Be careful to initialize this variable, since it used to be cached.
1649 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1651 # b.out is created by i960 compilers.
1652 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1654 test -f "$ac_file" || continue
1656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1659 # This is the source file.
1662 # We found the default executable, but exeext='' is most
1666 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1667 # FIXME: I believe we export ac_cv_exeext for Libtool,
1668 # but it would be cool to find out if it's true. Does anybody
1669 # maintain Libtool? --akim.
1677 echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1680 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1681 See \`config.log' for more details." >&5
1682 echo "$as_me: error: C compiler cannot create executables
1683 See \`config.log' for more details." >&2;}
1684 { (exit 77); exit 77; }; }
1687 ac_exeext=$ac_cv_exeext
1688 echo "$as_me:$LINENO: result: $ac_file" >&5
1689 echo "${ECHO_T}$ac_file" >&6
1691 # Check the compiler produces executables we can run. If not, either
1692 # the compiler is broken, or we cross compile.
1693 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1694 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1695 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1696 # If not cross compiling, check that we can run a simple program.
1697 if test "$cross_compiling" != yes; then
1698 if { ac_try='./$ac_file'
1699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }; }; then
1706 if test "$cross_compiling" = maybe; then
1709 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1710 If you meant to cross compile, use \`--host'.
1711 See \`config.log' for more details." >&5
1712 echo "$as_me: error: cannot run C compiled programs.
1713 If you meant to cross compile, use \`--host'.
1714 See \`config.log' for more details." >&2;}
1715 { (exit 1); exit 1; }; }
1719 echo "$as_me:$LINENO: result: yes" >&5
1720 echo "${ECHO_T}yes" >&6
1722 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1723 ac_clean_files=$ac_clean_files_save
1724 # Check the compiler produces executables we can run. If not, either
1725 # the compiler is broken, or we cross compile.
1726 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1727 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1728 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1729 echo "${ECHO_T}$cross_compiling" >&6
1731 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1732 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1734 (eval $ac_link) 2>&5
1736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1737 (exit $ac_status); }; then
1738 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1739 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1740 # work properly (i.e., refer to `conftest.exe'), while it won't with
1742 for ac_file in conftest.exe conftest conftest.*; do
1743 test -f "$ac_file" || continue
1745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1746 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1753 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1754 See \`config.log' for more details." >&5
1755 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1756 See \`config.log' for more details." >&2;}
1757 { (exit 1); exit 1; }; }
1760 rm -f conftest$ac_cv_exeext
1761 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1762 echo "${ECHO_T}$ac_cv_exeext" >&6
1764 rm -f conftest.$ac_ext
1765 EXEEXT=$ac_cv_exeext
1767 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1768 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1769 if test "${ac_cv_objext+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 cat >conftest.$ac_ext <<_ACEOF
1775 cat confdefs.h >>conftest.$ac_ext
1776 cat >>conftest.$ac_ext <<_ACEOF
1777 /* end confdefs.h. */
1787 rm -f conftest.o conftest.obj
1788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1789 (eval $ac_compile) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1801 echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1805 See \`config.log' for more details." >&5
1806 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1807 See \`config.log' for more details." >&2;}
1808 { (exit 1); exit 1; }; }
1811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1813 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1814 echo "${ECHO_T}$ac_cv_objext" >&6
1815 OBJEXT=$ac_cv_objext
1817 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1818 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1819 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 cat >conftest.$ac_ext <<_ACEOF
1825 cat confdefs.h >>conftest.$ac_ext
1826 cat >>conftest.$ac_ext <<_ACEOF
1827 /* end confdefs.h. */
1840 rm -f conftest.$ac_objext
1841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1842 (eval $ac_compile) 2>conftest.er1
1844 grep -v '^ *+' conftest.er1 >conftest.err
1846 cat conftest.err >&5
1847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848 (exit $ac_status); } &&
1849 { ac_try='test -z "$ac_c_werror_flag"
1850 || test ! -s conftest.err'
1851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1855 (exit $ac_status); }; } &&
1856 { ac_try='test -s conftest.$ac_objext'
1857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }; }; then
1864 echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1870 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1873 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1874 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1875 GCC=`test $ac_compiler_gnu = yes && echo yes`
1876 ac_test_CFLAGS=${CFLAGS+set}
1877 ac_save_CFLAGS=$CFLAGS
1879 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1880 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1881 if test "${ac_cv_prog_cc_g+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 cat >conftest.$ac_ext <<_ACEOF
1887 cat confdefs.h >>conftest.$ac_ext
1888 cat >>conftest.$ac_ext <<_ACEOF
1889 /* end confdefs.h. */
1899 rm -f conftest.$ac_objext
1900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1901 (eval $ac_compile) 2>conftest.er1
1903 grep -v '^ *+' conftest.er1 >conftest.err
1905 cat conftest.err >&5
1906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1907 (exit $ac_status); } &&
1908 { ac_try='test -z "$ac_c_werror_flag"
1909 || test ! -s conftest.err'
1910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }; } &&
1915 { ac_try='test -s conftest.$ac_objext'
1916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1920 (exit $ac_status); }; }; then
1923 echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1930 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1931 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1932 if test "$ac_test_CFLAGS" = set; then
1933 CFLAGS=$ac_save_CFLAGS
1934 elif test $ac_cv_prog_cc_g = yes; then
1935 if test "$GCC" = yes; then
1941 if test "$GCC" = yes; then
1947 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1948 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1949 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 ac_cv_prog_cc_stdc=no
1954 cat >conftest.$ac_ext <<_ACEOF
1957 cat confdefs.h >>conftest.$ac_ext
1958 cat >>conftest.$ac_ext <<_ACEOF
1959 /* end confdefs.h. */
1962 #include <sys/types.h>
1963 #include <sys/stat.h>
1964 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1965 struct buf { int x; };
1966 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1967 static char *e (p, i)
1973 static char *f (char * (*g) (char **, int), char **p, ...)
1978 s = g (p, va_arg (v,int));
1983 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1984 function prototypes and stuff, but not '\xHH' hex character constants.
1985 These don't provoke an error unfortunately, instead are silently treated
1986 as 'x'. The following induces an error, until -std1 is added to get
1987 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1988 array size at least. It's necessary to write '\x00'==0 to get something
1989 that's true only with -std1. */
1990 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1992 int test (int i, double x);
1993 struct s1 {int (*f) (int a);};
1994 struct s2 {int (*f) (double a);};
1995 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2001 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2006 # Don't try gcc -ansi; that turns off useful extensions and
2007 # breaks some systems' header files.
2008 # AIX -qlanglvl=ansi
2009 # Ultrix and OSF/1 -std1
2010 # HP-UX 10.20 and later -Ae
2011 # HP-UX older versions -Aa -D_HPUX_SOURCE
2012 # SVR4 -Xc -D__EXTENSIONS__
2013 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2015 CC="$ac_save_CC $ac_arg"
2016 rm -f conftest.$ac_objext
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>conftest.er1
2020 grep -v '^ *+' conftest.er1 >conftest.err
2022 cat conftest.err >&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); } &&
2025 { ac_try='test -z "$ac_c_werror_flag"
2026 || test ! -s conftest.err'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; } &&
2032 { ac_try='test -s conftest.$ac_objext'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; }; then
2038 ac_cv_prog_cc_stdc=$ac_arg
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2045 rm -f conftest.err conftest.$ac_objext
2047 rm -f conftest.$ac_ext conftest.$ac_objext
2052 case "x$ac_cv_prog_cc_stdc" in
2054 echo "$as_me:$LINENO: result: none needed" >&5
2055 echo "${ECHO_T}none needed" >&6 ;;
2057 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2058 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2059 CC="$CC $ac_cv_prog_cc_stdc" ;;
2062 # Some people use a C++ compiler to compile C. Since we use `exit',
2063 # in C++ we need to declare it. In case someone uses the same compiler
2064 # for both compiling C and C++ we need to have the C++ compiler decide
2065 # the declaration of exit, since it's the most demanding environment.
2066 cat >conftest.$ac_ext <<_ACEOF
2071 rm -f conftest.$ac_objext
2072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2073 (eval $ac_compile) 2>conftest.er1
2075 grep -v '^ *+' conftest.er1 >conftest.err
2077 cat conftest.err >&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); } &&
2080 { ac_try='test -z "$ac_c_werror_flag"
2081 || test ! -s conftest.err'
2082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }; } &&
2087 { ac_try='test -s conftest.$ac_objext'
2088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }; }; then
2093 for ac_declaration in \
2095 'extern "C" void std::exit (int) throw (); using std::exit;' \
2096 'extern "C" void std::exit (int); using std::exit;' \
2097 'extern "C" void exit (int) throw ();' \
2098 'extern "C" void exit (int);' \
2101 cat >conftest.$ac_ext <<_ACEOF
2104 cat confdefs.h >>conftest.$ac_ext
2105 cat >>conftest.$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2117 rm -f conftest.$ac_objext
2118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2119 (eval $ac_compile) 2>conftest.er1
2121 grep -v '^ *+' conftest.er1 >conftest.err
2123 cat conftest.err >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); } &&
2126 { ac_try='test -z "$ac_c_werror_flag"
2127 || test ! -s conftest.err'
2128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132 (exit $ac_status); }; } &&
2133 { ac_try='test -s conftest.$ac_objext'
2134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2138 (exit $ac_status); }; }; then
2141 echo "$as_me: failed program was:" >&5
2142 sed 's/^/| /' conftest.$ac_ext >&5
2146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2147 cat >conftest.$ac_ext <<_ACEOF
2150 cat confdefs.h >>conftest.$ac_ext
2151 cat >>conftest.$ac_ext <<_ACEOF
2152 /* end confdefs.h. */
2162 rm -f conftest.$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1 >conftest.err
2168 cat conftest.err >&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try='test -z "$ac_c_werror_flag"
2172 || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.$ac_ext >&5
2190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2193 if test -n "$ac_declaration"; then
2194 echo '#ifdef __cplusplus' >>confdefs.h
2195 echo $ac_declaration >>confdefs.h
2196 echo '#endif' >>confdefs.h
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.$ac_ext >&5
2204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2206 ac_cpp='$CPP $CPPFLAGS'
2207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2212 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2213 if test -f $ac_dir/install-sh; then
2215 ac_install_sh="$ac_aux_dir/install-sh -c"
2217 elif test -f $ac_dir/install.sh; then
2219 ac_install_sh="$ac_aux_dir/install.sh -c"
2221 elif test -f $ac_dir/shtool; then
2223 ac_install_sh="$ac_aux_dir/shtool install -c"
2227 if test -z "$ac_aux_dir"; then
2228 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2229 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2230 { (exit 1); exit 1; }; }
2232 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2233 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2234 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2236 # Find a good install program. We prefer a C program (faster),
2237 # so one script is as good as another. But avoid the broken or
2238 # incompatible versions:
2239 # SysV /etc/install, /usr/sbin/install
2240 # SunOS /usr/etc/install
2241 # IRIX /sbin/install
2243 # AmigaOS /C/install, which installs bootblocks on floppy discs
2244 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2245 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2246 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2247 # OS/2's system install, which has a completely different semantic
2248 # ./install, which can be erroneously created by make from ./install.sh.
2249 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2250 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2251 if test -z "$INSTALL"; then
2252 if test "${ac_cv_path_install+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 test -z "$as_dir" && as_dir=.
2260 # Account for people who put trailing slashes in PATH elements.
2262 ./ | .// | /cC/* | \
2263 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2264 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2267 # OSF1 and SCO ODT 3.0 have their own names for install.
2268 # Don't use installbsd from OSF since it installs stuff as root
2270 for ac_prog in ginstall scoinst install; do
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2273 if test $ac_prog = install &&
2274 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2275 # AIX install. It has an incompatible calling convention.
2277 elif test $ac_prog = install &&
2278 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2279 # program-specific install script used by HP pwplus--don't use.
2282 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2294 if test "${ac_cv_path_install+set}" = set; then
2295 INSTALL=$ac_cv_path_install
2297 # As a last resort, use the slow shell script. We don't cache a
2298 # path for INSTALL within a source directory, because that will
2299 # break other packages using the cache if that directory is
2300 # removed, or if the path is relative.
2301 INSTALL=$ac_install_sh
2304 echo "$as_me:$LINENO: result: $INSTALL" >&5
2305 echo "${ECHO_T}$INSTALL" >&6
2307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2308 # It thinks the first close brace ends the variable substitution.
2309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2311 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2313 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2315 if test -n "$ac_tool_prefix"; then
2316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2317 set dummy ${ac_tool_prefix}ar; ac_word=$2
2318 echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320 if test "${ac_cv_prog_AR+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 if test -n "$AR"; then
2324 ac_cv_prog_AR="$AR" # Let the user override the test.
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333 ac_cv_prog_AR="${ac_tool_prefix}ar"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 if test -n "$AR"; then
2344 echo "$as_me:$LINENO: result: $AR" >&5
2345 echo "${ECHO_T}$AR" >&6
2347 echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2352 if test -z "$ac_cv_prog_AR"; then
2354 # Extract the first word of "ar", so it can be a program name with args.
2355 set dummy ar; ac_word=$2
2356 echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_AR"; then
2362 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_ac_ct_AR="ar"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2381 if test -n "$ac_ct_AR"; then
2382 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2383 echo "${ECHO_T}$ac_ct_AR" >&6
2385 echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6
2394 if test -n "$ac_tool_prefix"; then
2395 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2397 echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2399 if test "${ac_cv_prog_RANLIB+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 if test -n "$RANLIB"; then
2403 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir=.
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2412 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 RANLIB=$ac_cv_prog_RANLIB
2422 if test -n "$RANLIB"; then
2423 echo "$as_me:$LINENO: result: $RANLIB" >&5
2424 echo "${ECHO_T}$RANLIB" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2431 if test -z "$ac_cv_prog_RANLIB"; then
2432 ac_ct_RANLIB=$RANLIB
2433 # Extract the first word of "ranlib", so it can be a program name with args.
2434 set dummy ranlib; ac_word=$2
2435 echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 if test -n "$ac_ct_RANLIB"; then
2441 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2450 ac_cv_prog_ac_ct_RANLIB="ranlib"
2451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2461 if test -n "$ac_ct_RANLIB"; then
2462 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2463 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2465 echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6
2469 RANLIB=$ac_ct_RANLIB
2471 RANLIB="$ac_cv_prog_RANLIB"
2475 # Make sure we can run config.sub.
2476 $ac_config_sub sun4 >/dev/null 2>&1 ||
2477 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2478 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2479 { (exit 1); exit 1; }; }
2481 echo "$as_me:$LINENO: checking build system type" >&5
2482 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2483 if test "${ac_cv_build+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 ac_cv_build_alias=$build_alias
2487 test -z "$ac_cv_build_alias" &&
2488 ac_cv_build_alias=`$ac_config_guess`
2489 test -z "$ac_cv_build_alias" &&
2490 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2491 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2492 { (exit 1); exit 1; }; }
2493 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2494 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2495 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2496 { (exit 1); exit 1; }; }
2499 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2500 echo "${ECHO_T}$ac_cv_build" >&6
2502 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2503 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2504 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2507 echo "$as_me:$LINENO: checking host system type" >&5
2508 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2509 if test "${ac_cv_host+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 ac_cv_host_alias=$host_alias
2513 test -z "$ac_cv_host_alias" &&
2514 ac_cv_host_alias=$ac_cv_build_alias
2515 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2517 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2518 { (exit 1); exit 1; }; }
2521 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2522 echo "${ECHO_T}$ac_cv_host" >&6
2524 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2525 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2526 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2529 echo "$as_me:$LINENO: checking target system type" >&5
2530 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2531 if test "${ac_cv_target+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 ac_cv_target_alias=$target_alias
2535 test "x$ac_cv_target_alias" = "x" &&
2536 ac_cv_target_alias=$ac_cv_host_alias
2537 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2539 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2540 { (exit 1); exit 1; }; }
2543 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2544 echo "${ECHO_T}$ac_cv_target" >&6
2545 target=$ac_cv_target
2546 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2547 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2548 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2551 # The aliases save the names the user supplied, while $host etc.
2552 # will get canonicalized.
2553 test -n "$target_alias" &&
2554 test "$program_prefix$program_suffix$program_transform_name" = \
2556 program_prefix=${target_alias}-
2557 test "$program_prefix" != NONE &&
2558 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2559 # Use a double $ so make ignores it.
2560 test "$program_suffix" != NONE &&
2561 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2562 # Double any \ or $. echo might interpret backslashes.
2563 # By default was `s,x,x', remove it if useless.
2564 cat <<\_ACEOF >conftest.sed
2565 s/[\\$]/&&/g;s/;s,x,x,$//
2567 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2571 ac_cpp='$CPP $CPPFLAGS'
2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2575 if test -n "$ac_tool_prefix"; then
2576 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2577 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2578 echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2580 if test "${ac_cv_prog_CC+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC="$CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2593 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test -n "$CC"; then
2604 echo "$as_me:$LINENO: result: $CC" >&5
2605 echo "${ECHO_T}$CC" >&6
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2612 if test -z "$ac_cv_prog_CC"; then
2614 # Extract the first word of "gcc", so it can be a program name with args.
2615 set dummy gcc; ac_word=$2
2616 echo "$as_me:$LINENO: checking for $ac_word" >&5
2617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2618 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 if test -n "$ac_ct_CC"; then
2622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir=.
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2631 ac_cv_prog_ac_ct_CC="gcc"
2632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2641 if test -n "$ac_ct_CC"; then
2642 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2643 echo "${ECHO_T}$ac_ct_CC" >&6
2645 echo "$as_me:$LINENO: result: no" >&5
2646 echo "${ECHO_T}no" >&6
2654 if test -z "$CC"; then
2655 if test -n "$ac_tool_prefix"; then
2656 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2657 set dummy ${ac_tool_prefix}cc; ac_word=$2
2658 echo "$as_me:$LINENO: checking for $ac_word" >&5
2659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2660 if test "${ac_cv_prog_CC+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC="$CC" # Let the user override the test.
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673 ac_cv_prog_CC="${ac_tool_prefix}cc"
2674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 echo "$as_me:$LINENO: result: $CC" >&5
2685 echo "${ECHO_T}$CC" >&6
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2692 if test -z "$ac_cv_prog_CC"; then
2694 # Extract the first word of "cc", so it can be a program name with args.
2695 set dummy cc; ac_word=$2
2696 echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2701 if test -n "$ac_ct_CC"; then
2702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_ac_ct_CC="cc"
2712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2721 if test -n "$ac_ct_CC"; then
2722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2723 echo "${ECHO_T}$ac_ct_CC" >&6
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2735 if test -z "$CC"; then
2736 # Extract the first word of "cc", so it can be a program name with args.
2737 set dummy cc; ac_word=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_CC+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2755 ac_prog_rejected=yes
2759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 if test $ac_prog_rejected = yes; then
2766 # We found a bogon in the path, so make sure we never use it.
2767 set dummy $ac_cv_prog_CC
2769 if test $# != 0; then
2770 # We chose a different compiler from the bogus one.
2771 # However, it has the same basename, so the bogon will be chosen
2772 # first if we set CC to just the basename; use the full file name.
2774 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2780 if test -n "$CC"; then
2781 echo "$as_me:$LINENO: result: $CC" >&5
2782 echo "${ECHO_T}$CC" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2789 if test -z "$CC"; then
2790 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2795 echo "$as_me:$LINENO: checking for $ac_word" >&5
2796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2797 if test "${ac_cv_prog_CC+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 if test -n "$CC"; then
2801 ac_cv_prog_CC="$CC" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 if test -n "$CC"; then
2821 echo "$as_me:$LINENO: result: $CC" >&5
2822 echo "${ECHO_T}$CC" >&6
2824 echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6
2828 test -n "$CC" && break
2831 if test -z "$CC"; then
2835 # Extract the first word of "$ac_prog", so it can be a program name with args.
2836 set dummy $ac_prog; ac_word=$2
2837 echo "$as_me:$LINENO: checking for $ac_word" >&5
2838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2839 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 if test -n "$ac_ct_CC"; then
2843 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2852 ac_cv_prog_ac_ct_CC="$ac_prog"
2853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2862 if test -n "$ac_ct_CC"; then
2863 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2864 echo "${ECHO_T}$ac_ct_CC" >&6
2866 echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6
2870 test -n "$ac_ct_CC" && break
2879 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2880 See \`config.log' for more details." >&5
2881 echo "$as_me: error: no acceptable C compiler found in \$PATH
2882 See \`config.log' for more details." >&2;}
2883 { (exit 1); exit 1; }; }
2885 # Provide some information about the compiler.
2886 echo "$as_me:$LINENO:" \
2887 "checking for C compiler version" >&5
2888 ac_compiler=`set X $ac_compile; echo $2`
2889 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2890 (eval $ac_compiler --version </dev/null >&5) 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }
2894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2895 (eval $ac_compiler -v </dev/null >&5) 2>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2899 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2900 (eval $ac_compiler -V </dev/null >&5) 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2905 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930 (eval $ac_compile) 2>conftest.er1
2932 grep -v '^ *+' conftest.er1 >conftest.err
2934 cat conftest.err >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } &&
2937 { ac_try='test -z "$ac_c_werror_flag"
2938 || test ! -s conftest.err'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; } &&
2944 { ac_try='test -s conftest.$ac_objext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2961 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2962 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2963 GCC=`test $ac_compiler_gnu = yes && echo yes`
2964 ac_test_CFLAGS=${CFLAGS+set}
2965 ac_save_CFLAGS=$CFLAGS
2967 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2968 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2969 if test "${ac_cv_prog_cc_g+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 cat >conftest.$ac_ext <<_ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2987 rm -f conftest.$ac_objext
2988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2989 (eval $ac_compile) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try='test -z "$ac_c_werror_flag"
2997 || test ! -s conftest.err'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; } &&
3003 { ac_try='test -s conftest.$ac_objext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3018 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3020 if test "$ac_test_CFLAGS" = set; then
3021 CFLAGS=$ac_save_CFLAGS
3022 elif test $ac_cv_prog_cc_g = yes; then
3023 if test "$GCC" = yes; then
3029 if test "$GCC" = yes; then
3035 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3036 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3037 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 ac_cv_prog_cc_stdc=no
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3050 #include <sys/types.h>
3051 #include <sys/stat.h>
3052 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3053 struct buf { int x; };
3054 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3055 static char *e (p, i)
3061 static char *f (char * (*g) (char **, int), char **p, ...)
3066 s = g (p, va_arg (v,int));
3071 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3072 function prototypes and stuff, but not '\xHH' hex character constants.
3073 These don't provoke an error unfortunately, instead are silently treated
3074 as 'x'. The following induces an error, until -std1 is added to get
3075 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3076 array size at least. It's necessary to write '\x00'==0 to get something
3077 that's true only with -std1. */
3078 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3080 int test (int i, double x);
3081 struct s1 {int (*f) (int a);};
3082 struct s2 {int (*f) (double a);};
3083 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3089 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3094 # Don't try gcc -ansi; that turns off useful extensions and
3095 # breaks some systems' header files.
3096 # AIX -qlanglvl=ansi
3097 # Ultrix and OSF/1 -std1
3098 # HP-UX 10.20 and later -Ae
3099 # HP-UX older versions -Aa -D_HPUX_SOURCE
3100 # SVR4 -Xc -D__EXTENSIONS__
3101 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3103 CC="$ac_save_CC $ac_arg"
3104 rm -f conftest.$ac_objext
3105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3106 (eval $ac_compile) 2>conftest.er1
3108 grep -v '^ *+' conftest.er1 >conftest.err
3110 cat conftest.err >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } &&
3113 { ac_try='test -z "$ac_c_werror_flag"
3114 || test ! -s conftest.err'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; } &&
3120 { ac_try='test -s conftest.$ac_objext'
3121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; }; then
3126 ac_cv_prog_cc_stdc=$ac_arg
3129 echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3133 rm -f conftest.err conftest.$ac_objext
3135 rm -f conftest.$ac_ext conftest.$ac_objext
3140 case "x$ac_cv_prog_cc_stdc" in
3142 echo "$as_me:$LINENO: result: none needed" >&5
3143 echo "${ECHO_T}none needed" >&6 ;;
3145 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3146 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3147 CC="$CC $ac_cv_prog_cc_stdc" ;;
3150 # Some people use a C++ compiler to compile C. Since we use `exit',
3151 # in C++ we need to declare it. In case someone uses the same compiler
3152 # for both compiling C and C++ we need to have the C++ compiler decide
3153 # the declaration of exit, since it's the most demanding environment.
3154 cat >conftest.$ac_ext <<_ACEOF
3159 rm -f conftest.$ac_objext
3160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161 (eval $ac_compile) 2>conftest.er1
3163 grep -v '^ *+' conftest.er1 >conftest.err
3165 cat conftest.err >&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } &&
3168 { ac_try='test -z "$ac_c_werror_flag"
3169 || test ! -s conftest.err'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; } &&
3175 { ac_try='test -s conftest.$ac_objext'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; }; then
3181 for ac_declaration in \
3183 'extern "C" void std::exit (int) throw (); using std::exit;' \
3184 'extern "C" void std::exit (int); using std::exit;' \
3185 'extern "C" void exit (int) throw ();' \
3186 'extern "C" void exit (int);' \
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3205 rm -f conftest.$ac_objext
3206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3207 (eval $ac_compile) 2>conftest.er1
3209 grep -v '^ *+' conftest.er1 >conftest.err
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -z "$ac_c_werror_flag"
3215 || test ! -s conftest.err'
3216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; } &&
3221 { ac_try='test -s conftest.$ac_objext'
3222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; }; then
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3250 rm -f conftest.$ac_objext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3252 (eval $ac_compile) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } &&
3259 { ac_try='test -z "$ac_c_werror_flag"
3260 || test ! -s conftest.err'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; } &&
3266 { ac_try='test -s conftest.$ac_objext'
3267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }; }; then
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3281 if test -n "$ac_declaration"; then
3282 echo '#ifdef __cplusplus' >>confdefs.h
3283 echo $ac_declaration >>confdefs.h
3284 echo '#endif' >>confdefs.h
3288 echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3294 ac_cpp='$CPP $CPPFLAGS'
3295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 if test -n "$ac_tool_prefix"; then
3304 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3305 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3306 echo "$as_me:$LINENO: checking for $ac_word" >&5
3307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3308 if test "${ac_cv_prog_RANLIB+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3311 if test -n "$RANLIB"; then
3312 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3330 RANLIB=$ac_cv_prog_RANLIB
3331 if test -n "$RANLIB"; then
3332 echo "$as_me:$LINENO: result: $RANLIB" >&5
3333 echo "${ECHO_T}$RANLIB" >&6
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3340 if test -z "$ac_cv_prog_RANLIB"; then
3341 ac_ct_RANLIB=$RANLIB
3342 # Extract the first word of "ranlib", so it can be a program name with args.
3343 set dummy ranlib; ac_word=$2
3344 echo "$as_me:$LINENO: checking for $ac_word" >&5
3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 if test -n "$ac_ct_RANLIB"; then
3350 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir=.
3357 for ac_exec_ext in '' $ac_executable_extensions; do
3358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359 ac_cv_prog_ac_ct_RANLIB="ranlib"
3360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3369 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3370 if test -n "$ac_ct_RANLIB"; then
3371 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3372 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3378 RANLIB=$ac_ct_RANLIB
3380 RANLIB="$ac_cv_prog_RANLIB"
3384 # Put a plausible default for CC_FOR_BUILD in Makefile.
3385 if test "x$cross_compiling" = "xno"; then
3386 CC_FOR_BUILD='$(CC)'
3391 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3394 # If a cpu ever has more than one simulator to choose from, use
3395 # --enable-sim=... to choose.
3396 # Check whether --enable-sim or --disable-sim was given.
3397 if test "${enable_sim+set}" = set; then
3398 enableval="$enable_sim"
3399 case "${enableval}" in
3401 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3402 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3403 { (exit 1); exit 1; }; } ;;
3407 # WHEN ADDING ENTRIES TO THIS MATRIX:
3409 # Make sure that the left side always has two dashes. Otherwise you
3410 # can get spurious matches. Even for unambiguous cases, do this as a
3411 # convention, else the table becomes a real mess to understand and
3414 if test "${enable_sim}" != no; then
3419 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3422 subdirs="$subdirs arm"
3426 cris-*-* | crisv32-*-*)
3429 subdirs="$subdirs cris"
3436 subdirs="$subdirs d10v"
3442 subdirs="$subdirs frv"
3449 subdirs="$subdirs h8300"
3456 subdirs="$subdirs iq2000"
3463 subdirs="$subdirs m32c"
3469 subdirs="$subdirs m32r"
3473 m68hc11-*-*|m6811-*-*)
3476 subdirs="$subdirs m68hc11"
3483 subdirs="$subdirs mcore"
3490 subdirs="$subdirs mips"
3498 subdirs="$subdirs mn10300"
3505 subdirs="$subdirs sh64"
3512 subdirs="$subdirs sh"
3516 sparc-*-rtems*|sparc-*-elf*)
3519 subdirs="$subdirs erc32"
3526 subdirs="$subdirs ppc"
3532 subdirs="$subdirs v850"
3537 # No simulator subdir, so the subdir "common" isn't needed.
3541 if test "$testsuite" = yes; then
3544 subdirs="$subdirs testsuite"
3547 if test "$common" = yes; then
3550 subdirs="$subdirs common"
3553 if test "$igen" = yes; then
3556 subdirs="$subdirs igen"
3561 ac_config_files="$ac_config_files Makefile"
3562 cat >confcache <<\_ACEOF
3563 # This file is a shell script that caches the results of configure
3564 # tests run on this system so they can be shared between configure
3565 # scripts and configure runs, see configure's option --config-cache.
3566 # It is not useful on other systems. If it contains results you don't
3567 # want to keep, you may remove or edit it.
3569 # config.status only pays attention to the cache file if you give it
3570 # the --recheck option to rerun configure.
3572 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3573 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3578 # The following way of writing the cache mishandles newlines in values,
3579 # but we know of no workaround that is simple, portable, and efficient.
3580 # So, don't put newlines in cache variables' values.
3581 # Ultrix sh set writes to stderr and can't be redirected directly,
3582 # and sets the high bit in the cache file unless we assign to the vars.
3585 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3587 # `set' does not quote correctly, so add quotes (double-quote
3588 # substitution turns \\\\ into \\, and sed turns \\ into \).
3591 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3594 # `set' quotes correctly as required by POSIX, so do not add quotes.
3596 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3605 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3607 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3608 if test -w $cache_file; then
3609 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3610 cat confcache >$cache_file
3612 echo "not updating unwritable cache $cache_file"
3617 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3618 # Let make expand exec_prefix.
3619 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3621 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3622 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3623 # trailing colons and then remove the whole line if VPATH becomes empty
3624 # (actually we leave an empty line to preserve line numbers).
3625 if test "x$srcdir" = x.; then
3626 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3627 s/:*\$(srcdir):*/:/;
3628 s/:*\${srcdir}:*/:/;
3630 s/^\([^=]*=[ ]*\):*/\1/;
3636 # Transform confdefs.h into DEFS.
3637 # Protect against shell expansion while executing Makefile rules.
3638 # Protect against Makefile macro expansion.
3640 # If the first sed substitution is executed (which looks for macros that
3641 # take arguments), then we branch to the quote section. Otherwise,
3642 # look for a macro that doesn't take arguments.
3643 cat >confdef2opt.sed <<\_ACEOF
3646 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3648 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3652 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3658 # We use echo to avoid assuming a particular line-breaking character.
3659 # The extra dot is to prevent the shell from consuming trailing
3660 # line-breaks from the sub-command output. A line-break within
3661 # single-quotes doesn't work because, if this script is created in a
3662 # platform that uses two characters for line-breaks (e.g., DOS), tr
3664 ac_LF_and_DOT=`echo; echo .`
3665 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3666 rm -f confdef2opt.sed
3671 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3672 # 1. Remove the extension, and $U if already installed.
3673 ac_i=`echo "$ac_i" |
3674 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3676 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3677 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3681 LTLIBOBJS=$ac_ltlibobjs
3685 : ${CONFIG_STATUS=./config.status}
3686 ac_clean_files_save=$ac_clean_files
3687 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3688 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3689 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3690 cat >$CONFIG_STATUS <<_ACEOF
3692 # Generated by $as_me.
3693 # Run this file to recreate the current configuration.
3694 # Compiler output produced by configure, useful for debugging
3695 # configure, is in config.log if it exists.
3700 SHELL=\${CONFIG_SHELL-$SHELL}
3703 cat >>$CONFIG_STATUS <<\_ACEOF
3704 ## --------------------- ##
3705 ## M4sh Initialization. ##
3706 ## --------------------- ##
3708 # Be Bourne compatible
3709 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3712 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3713 # is contrary to our usage. Disable this feature.
3714 alias -g '${1+"$@"}'='"$@"'
3715 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3718 DUALCASE=1; export DUALCASE # for MKS sh
3720 # Support unset when possible.
3721 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3728 # Work around bugs in pre-3.0 UWIN ksh.
3729 $as_unset ENV MAIL MAILPATH
3736 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3737 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3738 LC_TELEPHONE LC_TIME
3740 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3741 eval $as_var=C; export $as_var
3747 # Required to use basename.
3748 if expr a : '\(a\)' >/dev/null 2>&1; then
3754 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3755 as_basename=basename
3761 # Name of the executable.
3762 as_me=`$as_basename "$0" ||
3763 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3764 X"$0" : 'X\(//\)$' \| \
3765 X"$0" : 'X\(/\)$' \| \
3766 . : '\(.\)' 2>/dev/null ||
3768 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3769 /^X\/\(\/\/\)$/{ s//\1/; q; }
3770 /^X\/\(\/\).*/{ s//\1/; q; }
3774 # PATH needs CR, and LINENO needs CR and PATH.
3775 # Avoid depending upon Character Ranges.
3776 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3777 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3778 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3779 as_cr_digits='0123456789'
3780 as_cr_alnum=$as_cr_Letters$as_cr_digits
3782 # The user is always right.
3783 if test "${PATH_SEPARATOR+set}" != set; then
3784 echo "#! /bin/sh" >conf$$.sh
3785 echo "exit 0" >>conf$$.sh
3787 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3798 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3799 test "x$as_lineno_1" != "x$as_lineno_2" &&
3800 test "x$as_lineno_3" = "x$as_lineno_2" || {
3801 # Find who we are. Look in the path if we contain no path at all
3804 *[\\/]* ) as_myself=$0 ;;
3805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3815 # We did not find ourselves, most probably we were run as `sh COMMAND'
3816 # in which case we are not to be found in the path.
3817 if test "x$as_myself" = x; then
3820 if test ! -f "$as_myself"; then
3821 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3822 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3823 { (exit 1); exit 1; }; }
3825 case $CONFIG_SHELL in
3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3831 test -z "$as_dir" && as_dir=.
3832 for as_base in sh bash ksh sh5; do
3835 if ("$as_dir/$as_base" -c '
3838 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3839 test "x$as_lineno_1" != "x$as_lineno_2" &&
3840 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3841 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3842 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3843 CONFIG_SHELL=$as_dir/$as_base
3845 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3853 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3854 # uniformly replaced by the line number. The first 'sed' inserts a
3855 # line-number line before each line; the second 'sed' does the real
3856 # work. The second script uses 'N' to pair each line-number line
3857 # with the numbered line, and appends trailing '-' during
3858 # substitution so that $LINENO is not a special case at line end.
3859 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3860 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3861 sed '=' <$as_myself |
3866 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3869 s,^['$as_cr_digits']*\n,,
3871 chmod +x $as_me.lineno ||
3872 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3873 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3874 { (exit 1); exit 1; }; }
3876 # Don't try to exec as it changes $[0], causing all sort of problems
3877 # (the dirname of $[0] is not the place where we might find the
3878 # original and so on. Autoconf is especially sensible to this).
3880 # Exit status is that of the last command.
3885 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3886 *c*,-n*) ECHO_N= ECHO_C='
3888 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3889 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3892 if expr a : '\(a\)' >/dev/null 2>&1; then
3898 rm -f conf$$ conf$$.exe conf$$.file
3900 if ln -s conf$$.file conf$$ 2>/dev/null; then
3901 # We could just check for DJGPP; but this test a) works b) is more generic
3902 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3903 if test -f conf$$.exe; then
3904 # Don't use ln at all; we don't have any links
3909 elif ln conf$$.file conf$$ 2>/dev/null; then
3914 rm -f conf$$ conf$$.exe conf$$.file
3916 if mkdir -p . 2>/dev/null; then
3919 test -d ./-p && rmdir ./-p
3923 as_executable_p="test -f"
3925 # Sed expression to map a string onto a valid CPP name.
3926 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3928 # Sed expression to map a string onto a valid variable name.
3929 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3933 # We need space, tab and new line, in precisely that order.
3943 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3944 # report actual input values of CONFIG_FILES etc. instead of their
3945 # values after options handling. Logging --version etc. is OK.
3949 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3950 ## Running $as_me. ##
3955 This file was extended by $as_me, which was
3956 generated by GNU Autoconf 2.59. Invocation command line was
3958 CONFIG_FILES = $CONFIG_FILES
3959 CONFIG_HEADERS = $CONFIG_HEADERS
3960 CONFIG_LINKS = $CONFIG_LINKS
3961 CONFIG_COMMANDS = $CONFIG_COMMANDS
3965 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3969 # Files that config.status was made for.
3970 if test -n "$ac_config_files"; then
3971 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3974 if test -n "$ac_config_headers"; then
3975 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3978 if test -n "$ac_config_links"; then
3979 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3982 if test -n "$ac_config_commands"; then
3983 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3986 cat >>$CONFIG_STATUS <<\_ACEOF
3989 \`$as_me' instantiates files from templates according to the
3990 current configuration.
3992 Usage: $0 [OPTIONS] [FILE]...
3994 -h, --help print this help, then exit
3995 -V, --version print version number, then exit
3996 -q, --quiet do not print progress messages
3997 -d, --debug don't remove temporary files
3998 --recheck update $as_me by reconfiguring in the same conditions
3999 --file=FILE[:TEMPLATE]
4000 instantiate the configuration file FILE
4002 Configuration files:
4005 Report bugs to <bug-autoconf@gnu.org>."
4008 cat >>$CONFIG_STATUS <<_ACEOF
4011 configured by $0, generated by GNU Autoconf 2.59,
4012 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4014 Copyright (C) 2003 Free Software Foundation, Inc.
4015 This config.status script is free software; the Free Software Foundation
4016 gives unlimited permission to copy, distribute and modify it."
4021 cat >>$CONFIG_STATUS <<\_ACEOF
4022 # If no file are specified by the user, then we need to provide default
4023 # value. By we need to know if files were specified by the user.
4029 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4030 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4038 *) # This is not an option, so the user has probably given explicit
4041 ac_need_defaults=false;;
4045 # Handling of the options.
4047 cat >>$CONFIG_STATUS <<\_ACEOF
4048 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4050 --version | --vers* | -V )
4051 echo "$ac_cs_version"; exit 0 ;;
4053 # Conflict between --help and --header
4054 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4055 Try \`$0 --help' for more information." >&5
4056 echo "$as_me: error: ambiguous option: $1
4057 Try \`$0 --help' for more information." >&2;}
4058 { (exit 1); exit 1; }; };;
4059 --help | --hel | -h )
4060 echo "$ac_cs_usage"; exit 0 ;;
4061 --debug | --d* | -d )
4063 --file | --fil | --fi | --f )
4065 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4066 ac_need_defaults=false;;
4067 --header | --heade | --head | --hea )
4069 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4070 ac_need_defaults=false;;
4071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4072 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4076 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4077 Try \`$0 --help' for more information." >&5
4078 echo "$as_me: error: unrecognized option: $1
4079 Try \`$0 --help' for more information." >&2;}
4080 { (exit 1); exit 1; }; } ;;
4082 *) ac_config_targets="$ac_config_targets $1" ;;
4088 ac_configure_extra_args=
4090 if $ac_cs_silent; then
4092 ac_configure_extra_args="$ac_configure_extra_args --silent"
4096 cat >>$CONFIG_STATUS <<_ACEOF
4097 if \$ac_cs_recheck; then
4098 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4099 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4108 cat >>$CONFIG_STATUS <<\_ACEOF
4109 for ac_config_target in $ac_config_targets
4111 case "$ac_config_target" in
4112 # Handling of arguments.
4113 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4114 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4115 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4116 { (exit 1); exit 1; }; };;
4120 # If the user did not use the arguments to specify the items to instantiate,
4121 # then the envvar interface is used. Set only those that are not.
4122 # We use the long form for the default assignment because of an extremely
4123 # bizarre bug on SunOS 4.1.3.
4124 if $ac_need_defaults; then
4125 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4128 # Have a temporary directory for convenience. Make it in the build tree
4129 # simply because there is no reason to put it here, and in addition,
4130 # creating and moving files from /tmp can sometimes cause problems.
4131 # Create a temporary directory, and hook for its removal unless debugging.
4134 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4135 trap '{ (exit 1); exit 1; }' 1 2 13 15
4138 # Create a (secure) tmp directory for tmp files.
4141 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4142 test -n "$tmp" && test -d "$tmp"
4145 tmp=./confstat$$-$RANDOM
4146 (umask 077 && mkdir $tmp)
4149 echo "$me: cannot create a temporary directory in ." >&2
4150 { (exit 1); exit 1; }
4155 cat >>$CONFIG_STATUS <<_ACEOF
4158 # CONFIG_FILES section.
4161 # No need to generate the scripts if there are no CONFIG_FILES.
4162 # This happens for instance when ./config.status config.h
4163 if test -n "\$CONFIG_FILES"; then
4164 # Protect against being on the right side of a sed subst in config.status.
4165 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4166 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4167 s,@SHELL@,$SHELL,;t t
4168 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4169 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4170 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4171 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4172 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4173 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4174 s,@exec_prefix@,$exec_prefix,;t t
4175 s,@prefix@,$prefix,;t t
4176 s,@program_transform_name@,$program_transform_name,;t t
4177 s,@bindir@,$bindir,;t t
4178 s,@sbindir@,$sbindir,;t t
4179 s,@libexecdir@,$libexecdir,;t t
4180 s,@datadir@,$datadir,;t t
4181 s,@sysconfdir@,$sysconfdir,;t t
4182 s,@sharedstatedir@,$sharedstatedir,;t t
4183 s,@localstatedir@,$localstatedir,;t t
4184 s,@libdir@,$libdir,;t t
4185 s,@includedir@,$includedir,;t t
4186 s,@oldincludedir@,$oldincludedir,;t t
4187 s,@infodir@,$infodir,;t t
4188 s,@mandir@,$mandir,;t t
4189 s,@build_alias@,$build_alias,;t t
4190 s,@host_alias@,$host_alias,;t t
4191 s,@target_alias@,$target_alias,;t t
4193 s,@ECHO_C@,$ECHO_C,;t t
4194 s,@ECHO_N@,$ECHO_N,;t t
4195 s,@ECHO_T@,$ECHO_T,;t t
4198 s,@CFLAGS@,$CFLAGS,;t t
4199 s,@LDFLAGS@,$LDFLAGS,;t t
4200 s,@CPPFLAGS@,$CPPFLAGS,;t t
4201 s,@ac_ct_CC@,$ac_ct_CC,;t t
4202 s,@EXEEXT@,$EXEEXT,;t t
4203 s,@OBJEXT@,$OBJEXT,;t t
4204 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4205 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4206 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4208 s,@ac_ct_AR@,$ac_ct_AR,;t t
4209 s,@RANLIB@,$RANLIB,;t t
4210 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4211 s,@build@,$build,;t t
4212 s,@build_cpu@,$build_cpu,;t t
4213 s,@build_vendor@,$build_vendor,;t t
4214 s,@build_os@,$build_os,;t t
4216 s,@host_cpu@,$host_cpu,;t t
4217 s,@host_vendor@,$host_vendor,;t t
4218 s,@host_os@,$host_os,;t t
4219 s,@target@,$target,;t t
4220 s,@target_cpu@,$target_cpu,;t t
4221 s,@target_vendor@,$target_vendor,;t t
4222 s,@target_os@,$target_os,;t t
4223 s,@HDEFINES@,$HDEFINES,;t t
4224 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4225 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4226 s,@subdirs@,$subdirs,;t t
4227 s,@LIBOBJS@,$LIBOBJS,;t t
4228 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4233 cat >>$CONFIG_STATUS <<\_ACEOF
4234 # Split the substitutions into bite-sized pieces for seds with
4235 # small command number limits, like on Digital OSF/1 and HP-UX.
4237 ac_sed_frag=1 # Number of current file.
4238 ac_beg=1 # First line for current file.
4239 ac_end=$ac_max_sed_lines # Line after last line for current file.
4242 while $ac_more_lines; do
4243 if test $ac_beg -gt 1; then
4244 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4246 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4248 if test ! -s $tmp/subs.frag; then
4251 # The purpose of the label and of the branching condition is to
4252 # speed up the sed processing (if there are no `@' at all, there
4253 # is no need to browse any of the substitutions).
4254 # These are the two extra sed commands mentioned above.
4256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4257 if test -z "$ac_sed_cmds"; then
4258 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4260 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4262 ac_sed_frag=`expr $ac_sed_frag + 1`
4264 ac_end=`expr $ac_end + $ac_max_sed_lines`
4267 if test -z "$ac_sed_cmds"; then
4270 fi # test -n "$CONFIG_FILES"
4273 cat >>$CONFIG_STATUS <<\_ACEOF
4274 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4275 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4277 - | *:- | *:-:* ) # input from stdin
4279 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4280 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4281 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4282 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4283 * ) ac_file_in=$ac_file.in ;;
4286 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4287 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4289 X"$ac_file" : 'X\(//\)[^/]' \| \
4290 X"$ac_file" : 'X\(//\)$' \| \
4291 X"$ac_file" : 'X\(/\)' \| \
4292 . : '\(.\)' 2>/dev/null ||
4294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4296 /^X\(\/\/\)$/{ s//\1/; q; }
4297 /^X\(\/\).*/{ s//\1/; q; }
4299 { if $as_mkdir_p; then
4304 while test ! -d "$as_dir"; do
4305 as_dirs="$as_dir $as_dirs"
4306 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4308 X"$as_dir" : 'X\(//\)[^/]' \| \
4309 X"$as_dir" : 'X\(//\)$' \| \
4310 X"$as_dir" : 'X\(/\)' \| \
4311 . : '\(.\)' 2>/dev/null ||
4313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4315 /^X\(\/\/\)$/{ s//\1/; q; }
4316 /^X\(\/\).*/{ s//\1/; q; }
4319 test ! -n "$as_dirs" || mkdir $as_dirs
4320 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4321 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4322 { (exit 1); exit 1; }; }; }
4326 if test "$ac_dir" != .; then
4327 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4328 # A "../" for each directory in $ac_dir_suffix.
4329 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4331 ac_dir_suffix= ac_top_builddir=
4335 .) # No --srcdir option. We are building in place.
4337 if test -z "$ac_top_builddir"; then
4340 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4342 [\\/]* | ?:[\\/]* ) # Absolute path.
4343 ac_srcdir=$srcdir$ac_dir_suffix;
4344 ac_top_srcdir=$srcdir ;;
4346 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4347 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4350 # Do not use `cd foo && pwd` to compute absolute paths, because
4351 # the directories may not exist.
4353 .) ac_abs_builddir="$ac_dir";;
4356 .) ac_abs_builddir=`pwd`;;
4357 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4358 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4361 case $ac_abs_builddir in
4362 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4364 case ${ac_top_builddir}. in
4365 .) ac_abs_top_builddir=$ac_abs_builddir;;
4366 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4367 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4370 case $ac_abs_builddir in
4371 .) ac_abs_srcdir=$ac_srcdir;;
4374 .) ac_abs_srcdir=$ac_abs_builddir;;
4375 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4376 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4379 case $ac_abs_builddir in
4380 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4382 case $ac_top_srcdir in
4383 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4384 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4385 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4391 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4392 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4395 if test x"$ac_file" != x-; then
4396 { echo "$as_me:$LINENO: creating $ac_file" >&5
4397 echo "$as_me: creating $ac_file" >&6;}
4400 # Let's still pretend it is `configure' which instantiates (i.e., don't
4401 # use $as_me), people would be surprised to read:
4402 # /* config.h. Generated by config.status. */
4403 if test x"$ac_file" = x-; then
4406 configure_input="$ac_file. "
4408 configure_input=$configure_input"Generated from `echo $ac_file_in |
4409 sed 's,.*/,,'` by configure."
4411 # First look for the input files in the build tree, otherwise in the
4413 ac_file_inputs=`IFS=:
4414 for f in $ac_file_in; do
4416 -) echo $tmp/stdin ;;
4418 # Absolute (can't be DOS-style, as IFS=:)
4419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4420 echo "$as_me: error: cannot find input file: $f" >&2;}
4421 { (exit 1); exit 1; }; }
4424 if test -f "$f"; then
4427 elif test -f "$srcdir/$f"; then
4432 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4433 echo "$as_me: error: cannot find input file: $f" >&2;}
4434 { (exit 1); exit 1; }; }
4437 done` || { (exit 1); exit 1; }
4439 cat >>$CONFIG_STATUS <<_ACEOF
4443 cat >>$CONFIG_STATUS <<\_ACEOF
4445 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4446 s,@configure_input@,$configure_input,;t t
4447 s,@srcdir@,$ac_srcdir,;t t
4448 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4449 s,@top_srcdir@,$ac_top_srcdir,;t t
4450 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4451 s,@builddir@,$ac_builddir,;t t
4452 s,@abs_builddir@,$ac_abs_builddir,;t t
4453 s,@top_builddir@,$ac_top_builddir,;t t
4454 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4455 s,@INSTALL@,$ac_INSTALL,;t t
4456 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4458 if test x"$ac_file" != x-; then
4459 mv $tmp/out $ac_file
4468 cat >>$CONFIG_STATUS <<\_ACEOF
4470 { (exit 0); exit 0; }
4472 chmod +x $CONFIG_STATUS
4473 ac_clean_files=$ac_clean_files_save
4476 # configure is writing to config.log, and then calls config.status.
4477 # config.status does its own redirection, appending to config.log.
4478 # Unfortunately, on DOS this fails, as config.log is still kept open
4479 # by configure, so config.status won't be able to write to it; its
4480 # output is simply discarded. So we exec the FD to /dev/null,
4481 # effectively closing config.log, so it can be properly (re)opened and
4482 # appended to by config.status. When coming back to configure, we
4483 # need to make the FD available again.
4484 if test "$no_create" != yes; then
4486 ac_config_status_args=
4487 test "$silent" = yes &&
4488 ac_config_status_args="$ac_config_status_args --quiet"
4490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4493 # would make configure fail if this is the last instruction.
4494 $ac_cs_success || { (exit 1); exit 1; }
4498 # CONFIG_SUBDIRS section.
4500 if test "$no_recursion" != yes; then
4502 # Remove --cache-file and --srcdir arguments so they do not pile up.
4503 ac_sub_configure_args=
4505 for ac_arg in $ac_configure_args; do
4506 if test -n "$ac_prev"; then
4511 -cache-file | --cache-file | --cache-fil | --cache-fi \
4512 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4513 ac_prev=cache_file ;;
4514 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4515 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4518 --config-cache | -C)
4520 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4522 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4528 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4532 # Always prepend --prefix to ensure using the same prefix
4533 # in subdir configurations.
4534 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4537 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4539 # Do not complain, so a configure script can configure whichever
4540 # parts of a large source tree are present.
4541 test -d $srcdir/$ac_dir || continue
4543 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4544 echo "$as_me: configuring in $ac_dir" >&6;}
4545 { if $as_mkdir_p; then
4550 while test ! -d "$as_dir"; do
4551 as_dirs="$as_dir $as_dirs"
4552 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4554 X"$as_dir" : 'X\(//\)[^/]' \| \
4555 X"$as_dir" : 'X\(//\)$' \| \
4556 X"$as_dir" : 'X\(/\)' \| \
4557 . : '\(.\)' 2>/dev/null ||
4559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4561 /^X\(\/\/\)$/{ s//\1/; q; }
4562 /^X\(\/\).*/{ s//\1/; q; }
4565 test ! -n "$as_dirs" || mkdir $as_dirs
4566 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4567 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4568 { (exit 1); exit 1; }; }; }
4572 if test "$ac_dir" != .; then
4573 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4574 # A "../" for each directory in $ac_dir_suffix.
4575 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4577 ac_dir_suffix= ac_top_builddir=
4581 .) # No --srcdir option. We are building in place.
4583 if test -z "$ac_top_builddir"; then
4586 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4588 [\\/]* | ?:[\\/]* ) # Absolute path.
4589 ac_srcdir=$srcdir$ac_dir_suffix;
4590 ac_top_srcdir=$srcdir ;;
4592 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4593 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4596 # Do not use `cd foo && pwd` to compute absolute paths, because
4597 # the directories may not exist.
4599 .) ac_abs_builddir="$ac_dir";;
4602 .) ac_abs_builddir=`pwd`;;
4603 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4604 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4607 case $ac_abs_builddir in
4608 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4610 case ${ac_top_builddir}. in
4611 .) ac_abs_top_builddir=$ac_abs_builddir;;
4612 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4613 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4616 case $ac_abs_builddir in
4617 .) ac_abs_srcdir=$ac_srcdir;;
4620 .) ac_abs_srcdir=$ac_abs_builddir;;
4621 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4622 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4625 case $ac_abs_builddir in
4626 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4628 case $ac_top_srcdir in
4629 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4630 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4631 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4638 # Check for guested configure; otherwise get Cygnus style configure.
4639 if test -f $ac_srcdir/configure.gnu; then
4640 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4641 elif test -f $ac_srcdir/configure; then
4642 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4643 elif test -f $ac_srcdir/configure.in; then
4644 ac_sub_configure=$ac_configure
4646 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4647 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4651 # The recursion is here.
4652 if test -n "$ac_sub_configure"; then
4653 # Make the cache file name correct relative to the subdirectory.
4655 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4657 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4660 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4661 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4662 # The eval makes quoting arguments work.
4663 eval $ac_sub_configure $ac_sub_configure_args \
4664 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4665 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4666 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4667 { (exit 1); exit 1; }; }