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="main.c"
275 ac_default_prefix=/usr/local/cacao
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subdirs_all="$ac_subdirs_all mm/boehm-gc gnuclasspathnat"
314 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot COMPILER_OBJECTS ARCH_DIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS CCASFLAGS RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LIBTHREAD THREAD_OBJ ZIP_LIBS ZIP_C USEGTK AWTPEERS AWT_OBJS subdirs LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CCAS_set=${CCAS+set}
772 ac_env_CCAS_value=$CCAS
773 ac_cv_env_CCAS_set=${CCAS+set}
774 ac_cv_env_CCAS_value=$CCAS
775 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
776 ac_env_CCASFLAGS_value=$CCASFLAGS
777 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
778 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures this package to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --program-prefix=PREFIX prepend PREFIX to installed program names
846 --program-suffix=SUFFIX append SUFFIX to installed program names
847 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
850 --build=BUILD configure for building on BUILD [guessed]
851 --host=HOST cross-compile to build programs to run on HOST [BUILD]
855 if test -n "$ac_init_help"; then
860 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
861 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
862 --disable-dependency-tracking speeds up one-time build
863 --enable-dependency-tracking do not reject slow dependency extractors
864 --enable-threads enable threads support default=yes
865 --disable-__thread do not use TLS features even when supporting them
866 --enable-zlib enable zip archive class storage (experimental), needs zlib default=no
867 --enable-gtk-peer enable threads support default=no
869 Some influential environment variables:
870 CC C compiler command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
873 nonstandard directory <lib dir>
874 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
875 headers in a nonstandard directory <include dir>
876 CCAS assembler compiler command (defaults to CC)
877 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
880 Use these variables to override the choices made by `configure' or to help
881 it to find libraries and programs with nonstandard names/locations.
886 if test "$ac_init_help" = "recursive"; then
887 # If there are subdirs, report their specific --help.
889 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
890 test -d $ac_dir || continue
893 if test "$ac_dir" != .; then
894 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
895 # A "../" for each directory in $ac_dir_suffix.
896 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898 ac_dir_suffix= ac_top_builddir=
902 .) # No --srcdir option. We are building in place.
904 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909 [\\/]* | ?:[\\/]* ) # Absolute path.
910 ac_srcdir=$srcdir$ac_dir_suffix;
911 ac_top_srcdir=$srcdir ;;
913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 # Do not use `cd foo && pwd` to compute absolute paths, because
918 # the directories may not exist.
920 .) ac_abs_builddir="$ac_dir";;
923 .) ac_abs_builddir=`pwd`;;
924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
925 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 case $ac_abs_builddir in
929 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 case ${ac_top_builddir}. in
932 .) ac_abs_top_builddir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 case $ac_abs_builddir in
938 .) ac_abs_srcdir=$ac_srcdir;;
941 .) ac_abs_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 case $ac_abs_builddir in
947 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 case $ac_top_srcdir in
950 .) ac_abs_top_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 # Check for guested configure; otherwise get Cygnus style configure.
958 if test -f $ac_srcdir/configure.gnu; then
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
961 elif test -f $ac_srcdir/configure; then
963 $SHELL $ac_srcdir/configure --help=recursive
964 elif test -f $ac_srcdir/configure.ac ||
965 test -f $ac_srcdir/configure.in; then
969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
987 This file contains any messages produced by compilers while
988 running configure, to aid debugging if configure makes a mistake.
990 It was created by $as_me, which was
991 generated by GNU Autoconf 2.59. Invocation command line was
1002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1014 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 test -z "$as_dir" && as_dir=.
1026 echo "PATH: $as_dir"
1041 # Keep a trace of the command line.
1042 # Strip out --no-create and --no-recursion so they do not pile up.
1043 # Strip out --silent because we don't want to record it for future runs.
1044 # Also quote any args containing shell meta-characters.
1045 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_must_keep_next=false
1056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1060 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067 if test $ac_must_keep_next = true; then
1068 ac_must_keep_next=false # Got value, back to normal.
1071 *=* | --config-cache | -C | -disable-* | --disable-* \
1072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074 | -with-* | --with-* | -without-* | --without-* | --x)
1075 case "$ac_configure_args0 " in
1076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 -* ) ac_must_keep_next=true ;;
1082 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083 # Get rid of the leading space.
1089 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092 # When interrupted or exit'd, cleanup temporary files, and complete
1093 # config.log. We remove comments because anyway the quotes in there
1094 # would cause problems or look ugly.
1095 # WARNING: Be sure not to use single quotes in there, as some shells,
1096 # such as our DU 5.0 friend, will then `close' the trap.
1097 trap 'exit_status=$?
1098 # Save into config.log some information that might help in debugging.
1103 ## ---------------- ##
1104 ## Cache variables. ##
1105 ## ---------------- ##
1108 # The following way of writing the cache mishandles newlines in values,
1111 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ## ----------------- ##
1127 ## Output variables. ##
1128 ## ----------------- ##
1131 for ac_var in $ac_subst_vars
1133 eval ac_val=$`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -n "$ac_subst_files"; then
1145 for ac_var in $ac_subst_files
1147 eval ac_val=$`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1153 if test -s confdefs.h; then
1160 sed "/^$/d" confdefs.h | sort
1163 test "$ac_signal" != 0 &&
1164 echo "$as_me: caught signal $ac_signal"
1165 echo "$as_me: exit $exit_status"
1167 rm -f core *.core &&
1168 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1171 for ac_signal in 1 2 13 15; do
1172 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1177 rm -rf conftest* confdefs.h
1178 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 # Predefined preprocessor variables.
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 # Let the site file select an alternate cache file if it wants to.
1209 # Prefer explicitly selected file to automatically selected ones.
1210 if test -z "$CONFIG_SITE"; then
1211 if test "x$prefix" != xNONE; then
1212 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 for ac_site_file in $CONFIG_SITE; do
1218 if test -r "$ac_site_file"; then
1219 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220 echo "$as_me: loading site script $ac_site_file" >&6;}
1221 sed 's/^/| /' "$ac_site_file" >&5
1226 if test -r "$cache_file"; then
1227 # Some versions of bash will fail to source /dev/null (special
1228 # files actually), so we avoid doing that.
1229 if test -f "$cache_file"; then
1230 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231 echo "$as_me: loading cache $cache_file" >&6;}
1233 [\\/]* | ?:[\\/]* ) . $cache_file;;
1234 *) . ./$cache_file;;
1238 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239 echo "$as_me: creating cache $cache_file" >&6;}
1243 # Check that the precious variables saved in the cache have kept the same
1245 ac_cache_corrupted=false
1246 for ac_var in `(set) 2>&1 |
1247 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249 eval ac_new_set=\$ac_env_${ac_var}_set
1250 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251 eval ac_new_val="\$ac_env_${ac_var}_value"
1252 case $ac_old_set,$ac_new_set in
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1263 if test "x$ac_old_val" != "x$ac_new_val"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1265 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267 echo "$as_me: former value: $ac_old_val" >&2;}
1268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269 echo "$as_me: current value: $ac_new_val" >&2;}
1270 ac_cache_corrupted=:
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1290 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1320 if test -f $ac_dir/install-sh; then
1322 ac_install_sh="$ac_aux_dir/install-sh -c"
1324 elif test -f $ac_dir/install.sh; then
1326 ac_install_sh="$ac_aux_dir/install.sh -c"
1328 elif test -f $ac_dir/shtool; then
1330 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 if test -z "$ac_aux_dir"; then
1335 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1336 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1337 { (exit 1); exit 1; }; }
1339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343 # Make sure we can run config.sub.
1344 $ac_config_sub sun4 >/dev/null 2>&1 ||
1345 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: checking build system type" >&5
1350 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351 if test "${ac_cv_build+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 ac_cv_build_alias=$build_alias
1355 test -z "$ac_cv_build_alias" &&
1356 ac_cv_build_alias=`$ac_config_guess`
1357 test -z "$ac_cv_build_alias" &&
1358 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360 { (exit 1); exit 1; }; }
1361 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364 { (exit 1); exit 1; }; }
1367 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368 echo "${ECHO_T}$ac_cv_build" >&6
1370 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1371 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1372 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1375 echo "$as_me:$LINENO: checking host system type" >&5
1376 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377 if test "${ac_cv_host+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_host_alias=$host_alias
1381 test -z "$ac_cv_host_alias" &&
1382 ac_cv_host_alias=$ac_cv_build_alias
1383 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1389 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390 echo "${ECHO_T}$ac_cv_host" >&6
1392 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1393 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1394 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1398 am__api_version="1.8"
1399 # Find a good install program. We prefer a C program (faster),
1400 # so one script is as good as another. But avoid the broken or
1401 # incompatible versions:
1402 # SysV /etc/install, /usr/sbin/install
1403 # SunOS /usr/etc/install
1404 # IRIX /sbin/install
1406 # AmigaOS /C/install, which installs bootblocks on floppy discs
1407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1410 # OS/2's system install, which has a completely different semantic
1411 # ./install, which can be erroneously created by make from ./install.sh.
1412 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1413 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1414 if test -z "$INSTALL"; then
1415 if test "${ac_cv_path_install+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 # Account for people who put trailing slashes in PATH elements.
1425 ./ | .// | /cC/* | \
1426 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1427 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1430 # OSF1 and SCO ODT 3.0 have their own names for install.
1431 # Don't use installbsd from OSF since it installs stuff as root
1433 for ac_prog in ginstall scoinst install; do
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1436 if test $ac_prog = install &&
1437 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1438 # AIX install. It has an incompatible calling convention.
1440 elif test $ac_prog = install &&
1441 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1442 # program-specific install script used by HP pwplus--don't use.
1445 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1457 if test "${ac_cv_path_install+set}" = set; then
1458 INSTALL=$ac_cv_path_install
1460 # As a last resort, use the slow shell script. We don't cache a
1461 # path for INSTALL within a source directory, because that will
1462 # break other packages using the cache if that directory is
1463 # removed, or if the path is relative.
1464 INSTALL=$ac_install_sh
1467 echo "$as_me:$LINENO: result: $INSTALL" >&5
1468 echo "${ECHO_T}$INSTALL" >&6
1470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1471 # It thinks the first close brace ends the variable substitution.
1472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1476 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1478 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1479 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1482 echo timestamp > conftest.file
1483 # Do `set' in a subshell so we don't clobber the current shell's
1484 # arguments. Must try -L first in case configure is actually a
1485 # symlink; some systems play weird games with the mod time of symlinks
1486 # (eg FreeBSD returns the mod time of the symlink's containing
1489 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1490 if test "$*" = "X"; then
1492 set X `ls -t $srcdir/configure conftest.file`
1495 if test "$*" != "X $srcdir/configure conftest.file" \
1496 && test "$*" != "X conftest.file $srcdir/configure"; then
1498 # If neither matched, then we have a broken ls. This can happen
1499 # if, for instance, CONFIG_SHELL is bash and it inherits a
1500 # broken ls alias from the environment. This has actually
1501 # happened. Such a system could not be considered "sane".
1502 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1503 alias in your environment" >&5
1504 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1505 alias in your environment" >&2;}
1506 { (exit 1); exit 1; }; }
1509 test "$2" = conftest.file
1515 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1516 Check your system clock" >&5
1517 echo "$as_me: error: newly created file is older than distributed files!
1518 Check your system clock" >&2;}
1519 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: yes" >&5
1522 echo "${ECHO_T}yes" >&6
1523 test "$program_prefix" != NONE &&
1524 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1525 # Use a double $ so make ignores it.
1526 test "$program_suffix" != NONE &&
1527 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1528 # Double any \ or $. echo might interpret backslashes.
1529 # By default was `s,x,x', remove it if useless.
1530 cat <<\_ACEOF >conftest.sed
1531 s/[\\$]/&&/g;s/;s,x,x,$//
1533 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1536 # expand $ac_aux_dir to an absolute path
1537 am_aux_dir=`cd $ac_aux_dir && pwd`
1539 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1540 # Use eval to expand $SHELL
1541 if eval "$MISSING --run true"; then
1542 am_missing_run="$MISSING --run "
1545 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1546 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1549 if mkdir -p -- . 2>/dev/null; then
1550 # Keeping the `.' argument allows $(mkdir_p) to be used without
1551 # argument. Indeed, we sometimes output rules like
1552 # $(mkdir_p) $(somedir)
1553 # where $(somedir) is conditionally defined.
1554 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1555 # expensive solution, as it forces Make to start a sub-shell.)
1556 mkdir_p='mkdir -p -- .'
1558 # On NextStep and OpenStep, the `mkdir' command does not
1559 # recognize any option. It will interpret all options as
1560 # directories to create, and then abort because `.' already
1564 test -d $d && rmdir $d
1566 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1567 if test -f "$ac_aux_dir/mkinstalldirs"; then
1568 mkdir_p='$(mkinstalldirs)'
1570 mkdir_p='$(install_sh) -d'
1574 for ac_prog in gawk mawk nawk awk
1576 # Extract the first word of "$ac_prog", so it can be a program name with args.
1577 set dummy $ac_prog; ac_word=$2
1578 echo "$as_me:$LINENO: checking for $ac_word" >&5
1579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1580 if test "${ac_cv_prog_AWK+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 if test -n "$AWK"; then
1584 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 for ac_exec_ext in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1593 ac_cv_prog_AWK="$ac_prog"
1594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 if test -n "$AWK"; then
1604 echo "$as_me:$LINENO: result: $AWK" >&5
1605 echo "${ECHO_T}$AWK" >&6
1607 echo "$as_me:$LINENO: result: no" >&5
1608 echo "${ECHO_T}no" >&6
1611 test -n "$AWK" && break
1614 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1616 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1617 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 cat >conftest.make <<\_ACEOF
1622 @echo 'ac_maketemp="$(MAKE)"'
1624 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1625 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1626 if test -n "$ac_maketemp"; then
1627 eval ac_cv_prog_make_${ac_make}_set=yes
1629 eval ac_cv_prog_make_${ac_make}_set=no
1633 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1634 echo "$as_me:$LINENO: result: yes" >&5
1635 echo "${ECHO_T}yes" >&6
1638 echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6
1640 SET_MAKE="MAKE=${MAKE-make}"
1643 rm -rf .tst 2>/dev/null
1644 mkdir .tst 2>/dev/null
1645 if test -d .tst; then
1650 rmdir .tst 2>/dev/null
1652 # test to see if srcdir already configured
1653 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1654 test -f $srcdir/config.status; then
1655 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1656 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1657 { (exit 1); exit 1; }; }
1660 # test whether we have cygpath
1661 if test -z "$CYGPATH_W"; then
1662 if (cygpath --version) >/dev/null 2>/dev/null; then
1663 CYGPATH_W='cygpath -w'
1670 # Define the identity of the package.
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE "$PACKAGE"
1680 cat >>confdefs.h <<_ACEOF
1681 #define VERSION "$VERSION"
1684 # Some tools Automake needs.
1686 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1689 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1692 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1695 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1698 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1701 AMTAR=${AMTAR-"${am_missing_run}tar"}
1703 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1705 # Installed binaries are usually stripped using `strip' when the user
1706 # run `make install-strip'. However `strip' might not be the right
1707 # tool to use in cross-compilation environments, therefore Automake
1708 # will honor the `STRIP' environment variable to overrule this program.
1709 if test "$cross_compiling" != no; then
1710 if test -n "$ac_tool_prefix"; then
1711 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1712 set dummy ${ac_tool_prefix}strip; ac_word=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_STRIP+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 if test -n "$STRIP"; then
1719 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 STRIP=$ac_cv_prog_STRIP
1738 if test -n "$STRIP"; then
1739 echo "$as_me:$LINENO: result: $STRIP" >&5
1740 echo "${ECHO_T}$STRIP" >&6
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1747 if test -z "$ac_cv_prog_STRIP"; then
1749 # Extract the first word of "strip", so it can be a program name with args.
1750 set dummy strip; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 if test -n "$ac_ct_STRIP"; then
1757 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 ac_cv_prog_ac_ct_STRIP="strip"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1776 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1777 if test -n "$ac_ct_STRIP"; then
1778 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1779 echo "${ECHO_T}$ac_ct_STRIP" >&6
1781 echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1787 STRIP="$ac_cv_prog_STRIP"
1791 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1793 # We need awk for the "check" target. The system "awk" is bad on
1798 ac_config_headers="$ac_config_headers config.h"
1807 CFLAGS="-Wall -O2 -g3 -mieee -D__ALPHA__"
1808 cat >>confdefs.h <<\_ACEOF
1809 #define TRACE_ARGS_NUM 6
1812 cat >>confdefs.h <<\_ACEOF
1813 #define USE_CODEMMAP 1
1818 i386* | i486* | i586* | i686* )
1820 CFLAGS="-Wall -O2 -g3 -D__I386__"
1821 cat >>confdefs.h <<\_ACEOF
1822 #define TRACE_ARGS_NUM 8
1825 cat >>confdefs.h <<\_ACEOF
1826 #define USE_CODEMMAP 1
1833 CFLAGS="-64 -O2 -OPT:Olimit=0 -g -DMAP_ANONYMOUS=0 -woff 1110,1164,1515 -D__MIPS__"
1835 cat >>confdefs.h <<\_ACEOF
1836 #define TRACE_ARGS_NUM 8
1843 CFLAGS="-Wall -O2 -g -DMAP_ANONYMOUS=0 -no-cpp-precomp -D__POWERPC__"
1844 cat >>confdefs.h <<\_ACEOF
1845 #define TRACE_ARGS_NUM 8
1852 CFLAGS="-Wall -O2 -g3 -D__X86_64__"
1853 cat >>confdefs.h <<\_ACEOF
1854 #define TRACE_ARGS_NUM 6
1857 cat >>confdefs.h <<\_ACEOF
1858 #define USE_CODEMMAP 1
1864 { { echo "$as_me:$LINENO: error: $host_cpu systems are not supported at this time" >&5
1865 echo "$as_me: error: $host_cpu systems are not supported at this time" >&2;}
1866 { (exit 1); exit 1; }; }
1873 CFLAGS="$CFLAGS -D__LINUX__"
1881 cat >>confdefs.h <<_ACEOF
1882 #define ARCH_DIR "$ARCH_DIR"
1888 ac_cpp='$CPP $CPPFLAGS'
1889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1892 if test -n "$ac_tool_prefix"; then
1893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1894 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1895 echo "$as_me:$LINENO: checking for $ac_word" >&5
1896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897 if test "${ac_cv_prog_CC+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 if test -n "$CC"; then
1901 ac_cv_prog_CC="$CC" # Let the user override the test.
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 if test -n "$CC"; then
1921 echo "$as_me:$LINENO: result: $CC" >&5
1922 echo "${ECHO_T}$CC" >&6
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1929 if test -z "$ac_cv_prog_CC"; then
1931 # Extract the first word of "gcc", so it can be a program name with args.
1932 set dummy gcc; ac_word=$2
1933 echo "$as_me:$LINENO: checking for $ac_word" >&5
1934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1935 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 if test -n "$ac_ct_CC"; then
1939 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 test -z "$as_dir" && as_dir=.
1946 for ac_exec_ext in '' $ac_executable_extensions; do
1947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948 ac_cv_prog_ac_ct_CC="gcc"
1949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1958 if test -n "$ac_ct_CC"; then
1959 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1960 echo "${ECHO_T}$ac_ct_CC" >&6
1962 echo "$as_me:$LINENO: result: no" >&5
1963 echo "${ECHO_T}no" >&6
1971 if test -z "$CC"; then
1972 if test -n "$ac_tool_prefix"; then
1973 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1974 set dummy ${ac_tool_prefix}cc; ac_word=$2
1975 echo "$as_me:$LINENO: checking for $ac_word" >&5
1976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1977 if test "${ac_cv_prog_CC+set}" = set; then
1978 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 if test -n "$CC"; then
1981 ac_cv_prog_CC="$CC" # Let the user override the test.
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 ac_cv_prog_CC="${ac_tool_prefix}cc"
1991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 if test -n "$CC"; then
2001 echo "$as_me:$LINENO: result: $CC" >&5
2002 echo "${ECHO_T}$CC" >&6
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2009 if test -z "$ac_cv_prog_CC"; then
2011 # Extract the first word of "cc", so it can be a program name with args.
2012 set dummy cc; ac_word=$2
2013 echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 if test -n "$ac_ct_CC"; then
2019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 for ac_exec_ext in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2028 ac_cv_prog_ac_ct_CC="cc"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2038 if test -n "$ac_ct_CC"; then
2039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2040 echo "${ECHO_T}$ac_ct_CC" >&6
2042 echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6
2052 if test -z "$CC"; then
2053 # Extract the first word of "cc", so it can be a program name with args.
2054 set dummy cc; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_CC+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 if test -n "$CC"; then
2061 ac_cv_prog_CC="$CC" # Let the user override the test.
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2072 ac_prog_rejected=yes
2076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2082 if test $ac_prog_rejected = yes; then
2083 # We found a bogon in the path, so make sure we never use it.
2084 set dummy $ac_cv_prog_CC
2086 if test $# != 0; then
2087 # We chose a different compiler from the bogus one.
2088 # However, it has the same basename, so the bogon will be chosen
2089 # first if we set CC to just the basename; use the full file name.
2091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2097 if test -n "$CC"; then
2098 echo "$as_me:$LINENO: result: $CC" >&5
2099 echo "${ECHO_T}$CC" >&6
2101 echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6
2106 if test -z "$CC"; then
2107 if test -n "$ac_tool_prefix"; then
2110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2112 echo "$as_me:$LINENO: checking for $ac_word" >&5
2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2114 if test "${ac_cv_prog_CC+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 if test -n "$CC"; then
2118 ac_cv_prog_CC="$CC" # Let the user override the test.
2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir=.
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2127 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 if test -n "$CC"; then
2138 echo "$as_me:$LINENO: result: $CC" >&5
2139 echo "${ECHO_T}$CC" >&6
2141 echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6
2145 test -n "$CC" && break
2148 if test -z "$CC"; then
2152 # Extract the first word of "$ac_prog", so it can be a program name with args.
2153 set dummy $ac_prog; ac_word=$2
2154 echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2156 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 if test -n "$ac_ct_CC"; then
2160 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169 ac_cv_prog_ac_ct_CC="$ac_prog"
2170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2179 if test -n "$ac_ct_CC"; then
2180 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2181 echo "${ECHO_T}$ac_ct_CC" >&6
2183 echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6
2187 test -n "$ac_ct_CC" && break
2196 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2197 See \`config.log' for more details." >&5
2198 echo "$as_me: error: no acceptable C compiler found in \$PATH
2199 See \`config.log' for more details." >&2;}
2200 { (exit 1); exit 1; }; }
2202 # Provide some information about the compiler.
2203 echo "$as_me:$LINENO:" \
2204 "checking for C compiler version" >&5
2205 ac_compiler=`set X $ac_compile; echo $2`
2206 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2207 (eval $ac_compiler --version </dev/null >&5) 2>&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); }
2211 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2212 (eval $ac_compiler -v </dev/null >&5) 2>&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }
2216 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2217 (eval $ac_compiler -V </dev/null >&5) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }
2222 cat >conftest.$ac_ext <<_ACEOF
2225 cat confdefs.h >>conftest.$ac_ext
2226 cat >>conftest.$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2237 ac_clean_files_save=$ac_clean_files
2238 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2239 # Try to create an executable without -o first, disregard a.out.
2240 # It will help us diagnose broken compilers, and finding out an intuition
2242 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2243 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2244 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2245 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2246 (eval $ac_link_default) 2>&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }; then
2250 # Find the output, starting from the most likely. This scheme is
2251 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2254 # Be careful to initialize this variable, since it used to be cached.
2255 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2257 # b.out is created by i960 compilers.
2258 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2260 test -f "$ac_file" || continue
2262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2265 # This is the source file.
2268 # We found the default executable, but exeext='' is most
2272 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2273 # FIXME: I believe we export ac_cv_exeext for Libtool,
2274 # but it would be cool to find out if it's true. Does anybody
2275 # maintain Libtool? --akim.
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2286 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2287 See \`config.log' for more details." >&5
2288 echo "$as_me: error: C compiler cannot create executables
2289 See \`config.log' for more details." >&2;}
2290 { (exit 77); exit 77; }; }
2293 ac_exeext=$ac_cv_exeext
2294 echo "$as_me:$LINENO: result: $ac_file" >&5
2295 echo "${ECHO_T}$ac_file" >&6
2297 # Check the compiler produces executables we can run. If not, either
2298 # the compiler is broken, or we cross compile.
2299 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2300 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2301 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2302 # If not cross compiling, check that we can run a simple program.
2303 if test "$cross_compiling" != yes; then
2304 if { ac_try='./$ac_file'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; }; then
2312 if test "$cross_compiling" = maybe; then
2315 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2316 If you meant to cross compile, use \`--host'.
2317 See \`config.log' for more details." >&5
2318 echo "$as_me: error: cannot run C compiled programs.
2319 If you meant to cross compile, use \`--host'.
2320 See \`config.log' for more details." >&2;}
2321 { (exit 1); exit 1; }; }
2325 echo "$as_me:$LINENO: result: yes" >&5
2326 echo "${ECHO_T}yes" >&6
2328 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2329 ac_clean_files=$ac_clean_files_save
2330 # Check the compiler produces executables we can run. If not, either
2331 # the compiler is broken, or we cross compile.
2332 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2333 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2334 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2335 echo "${ECHO_T}$cross_compiling" >&6
2337 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2338 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2340 (eval $ac_link) 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; then
2344 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2345 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2346 # work properly (i.e., refer to `conftest.exe'), while it won't with
2348 for ac_file in conftest.exe conftest conftest.*; do
2349 test -f "$ac_file" || continue
2351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2352 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2359 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2360 See \`config.log' for more details." >&5
2361 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2362 See \`config.log' for more details." >&2;}
2363 { (exit 1); exit 1; }; }
2366 rm -f conftest$ac_cv_exeext
2367 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2368 echo "${ECHO_T}$ac_cv_exeext" >&6
2370 rm -f conftest.$ac_ext
2371 EXEEXT=$ac_cv_exeext
2373 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2374 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2375 if test "${ac_cv_objext+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 cat >conftest.$ac_ext <<_ACEOF
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2393 rm -f conftest.o conftest.obj
2394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2395 (eval $ac_compile) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2410 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2411 See \`config.log' for more details." >&5
2412 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2413 See \`config.log' for more details." >&2;}
2414 { (exit 1); exit 1; }; }
2417 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2419 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2420 echo "${ECHO_T}$ac_cv_objext" >&6
2421 OBJEXT=$ac_cv_objext
2423 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2424 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2425 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 cat >conftest.$ac_ext <<_ACEOF
2431 cat confdefs.h >>conftest.$ac_ext
2432 cat >>conftest.$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2446 rm -f conftest.$ac_objext
2447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2448 (eval $ac_compile) 2>conftest.er1
2450 grep -v '^ *+' conftest.er1 >conftest.err
2452 cat conftest.err >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } &&
2455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; } &&
2461 { ac_try='test -s conftest.$ac_objext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2475 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2478 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2479 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2480 GCC=`test $ac_compiler_gnu = yes && echo yes`
2481 ac_test_CFLAGS=${CFLAGS+set}
2482 ac_save_CFLAGS=$CFLAGS
2484 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2485 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2486 if test "${ac_cv_prog_cc_g+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 cat >conftest.$ac_ext <<_ACEOF
2492 cat confdefs.h >>conftest.$ac_ext
2493 cat >>conftest.$ac_ext <<_ACEOF
2494 /* end confdefs.h. */
2504 rm -f conftest.$ac_objext
2505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2506 (eval $ac_compile) 2>conftest.er1
2508 grep -v '^ *+' conftest.er1 >conftest.err
2510 cat conftest.err >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } &&
2513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; } &&
2519 { ac_try='test -s conftest.$ac_objext'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2534 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2535 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2536 if test "$ac_test_CFLAGS" = set; then
2537 CFLAGS=$ac_save_CFLAGS
2538 elif test $ac_cv_prog_cc_g = yes; then
2539 if test "$GCC" = yes; then
2545 if test "$GCC" = yes; then
2551 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2552 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2553 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 ac_cv_prog_cc_stdc=no
2558 cat >conftest.$ac_ext <<_ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2566 #include <sys/types.h>
2567 #include <sys/stat.h>
2568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2569 struct buf { int x; };
2570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2571 static char *e (p, i)
2577 static char *f (char * (*g) (char **, int), char **p, ...)
2582 s = g (p, va_arg (v,int));
2587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2588 function prototypes and stuff, but not '\xHH' hex character constants.
2589 These don't provoke an error unfortunately, instead are silently treated
2590 as 'x'. The following induces an error, until -std1 is added to get
2591 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2592 array size at least. It's necessary to write '\x00'==0 to get something
2593 that's true only with -std1. */
2594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2596 int test (int i, double x);
2597 struct s1 {int (*f) (int a);};
2598 struct s2 {int (*f) (double a);};
2599 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2605 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2610 # Don't try gcc -ansi; that turns off useful extensions and
2611 # breaks some systems' header files.
2612 # AIX -qlanglvl=ansi
2613 # Ultrix and OSF/1 -std1
2614 # HP-UX 10.20 and later -Ae
2615 # HP-UX older versions -Aa -D_HPUX_SOURCE
2616 # SVR4 -Xc -D__EXTENSIONS__
2617 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2619 CC="$ac_save_CC $ac_arg"
2620 rm -f conftest.$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>conftest.er1
2624 grep -v '^ *+' conftest.er1 >conftest.err
2626 cat conftest.err >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); } &&
2629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; } &&
2635 { ac_try='test -s conftest.$ac_objext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2641 ac_cv_prog_cc_stdc=$ac_arg
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2648 rm -f conftest.err conftest.$ac_objext
2650 rm -f conftest.$ac_ext conftest.$ac_objext
2655 case "x$ac_cv_prog_cc_stdc" in
2657 echo "$as_me:$LINENO: result: none needed" >&5
2658 echo "${ECHO_T}none needed" >&6 ;;
2660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2661 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2662 CC="$CC $ac_cv_prog_cc_stdc" ;;
2665 # Some people use a C++ compiler to compile C. Since we use `exit',
2666 # in C++ we need to declare it. In case someone uses the same compiler
2667 # for both compiling C and C++ we need to have the C++ compiler decide
2668 # the declaration of exit, since it's the most demanding environment.
2669 cat >conftest.$ac_ext <<_ACEOF
2674 rm -f conftest.$ac_objext
2675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2676 (eval $ac_compile) 2>conftest.er1
2678 grep -v '^ *+' conftest.er1 >conftest.err
2680 cat conftest.err >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); } &&
2683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; } &&
2689 { ac_try='test -s conftest.$ac_objext'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; }; then
2695 for ac_declaration in \
2697 'extern "C" void std::exit (int) throw (); using std::exit;' \
2698 'extern "C" void std::exit (int); using std::exit;' \
2699 'extern "C" void exit (int) throw ();' \
2700 'extern "C" void exit (int);' \
2703 cat >conftest.$ac_ext <<_ACEOF
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2719 rm -f conftest.$ac_objext
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>conftest.er1
2723 grep -v '^ *+' conftest.er1 >conftest.err
2725 cat conftest.err >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2748 cat >conftest.$ac_ext <<_ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2763 rm -f conftest.$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765 (eval $ac_compile) 2>conftest.er1
2767 grep -v '^ *+' conftest.er1 >conftest.err
2769 cat conftest.err >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; } &&
2778 { ac_try='test -s conftest.$ac_objext'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; }; then
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2793 if test -n "$ac_declaration"; then
2794 echo '#ifdef __cplusplus' >>confdefs.h
2795 echo $ac_declaration >>confdefs.h
2796 echo '#endif' >>confdefs.h
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2806 ac_cpp='$CPP $CPPFLAGS'
2807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2810 DEPDIR="${am__leading_dot}deps"
2812 ac_config_commands="$ac_config_commands depfiles"
2815 am_make=${MAKE-make}
2816 cat > confinc << 'END'
2821 # If we don't find an include directive, just comment out the code.
2822 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2823 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2827 # First try GNU make style include.
2828 echo "include confinc" > confmf
2829 # We grep out `Entering directory' and `Leaving directory'
2830 # messages which can occur if `w' ends up in MAKEFLAGS.
2831 # In particular we don't look at `^make:' because GNU make might
2832 # be invoked under some other name (usually "gmake"), in which
2833 # case it prints its new name instead of `make'.
2834 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2839 # Now try BSD make style include.
2840 if test "$am__include" = "#"; then
2841 echo '.include "confinc"' > confmf
2842 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2843 am__include=.include
2850 echo "$as_me:$LINENO: result: $_am_result" >&5
2851 echo "${ECHO_T}$_am_result" >&6
2852 rm -f confinc confmf
2854 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2855 if test "${enable_dependency_tracking+set}" = set; then
2856 enableval="$enable_dependency_tracking"
2859 if test "x$enable_dependency_tracking" != xno; then
2860 am_depcomp="$ac_aux_dir/depcomp"
2865 if test "x$enable_dependency_tracking" != xno; then
2876 depcc="$CC" am_compiler_list=
2878 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2879 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2880 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2884 # We make a subdir and do the tests there. Otherwise we can end up
2885 # making bogus files that we don't know about and never remove. For
2886 # instance it was reported that on HP-UX the gcc test will end up
2887 # making a dummy file named `D' -- because `-MD' means `put the output
2890 # Copy depcomp to subdir because otherwise we won't find it if we're
2891 # using a relative directory.
2892 cp "$am_depcomp" conftest.dir
2894 # We will build objects and dependencies in a subdirectory because
2895 # it helps to detect inapplicable dependency modes. For instance
2896 # both Tru64's cc and ICC support -MD to output dependencies as a
2897 # side effect of compilation, but ICC will put the dependencies in
2898 # the current directory while Tru64 will put them in the object
2902 am_cv_CC_dependencies_compiler_type=none
2903 if test "$am_compiler_list" = ""; then
2904 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2906 for depmode in $am_compiler_list; do
2907 # Setup a source with many dependencies, because some compilers
2908 # like to wrap large dependency lists on column 80 (with \), and
2909 # we should not choose a depcomp mode which is confused by this.
2911 # We need to recreate these files for each test, as the compiler may
2912 # overwrite some of them when testing with obscure command lines.
2913 # This happens at least with the AIX C compiler.
2915 for i in 1 2 3 4 5 6; do
2916 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2919 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2923 # after this tag, mechanisms are not by side-effect, so they'll
2924 # only be used when explicitly requested
2925 if test "x$enable_dependency_tracking" = xyes; then
2933 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2934 # mode. It turns out that the SunPro C++ compiler does not properly
2935 # handle `-M -o', and we need to detect this.
2936 if depmode=$depmode \
2937 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2938 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2939 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2940 >/dev/null 2>conftest.err &&
2941 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2942 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2943 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2944 # icc doesn't choke on unknown options, it will just issue warnings
2945 # (even with -Werror). So we grep stderr for any message
2946 # that says an option was ignored.
2947 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2948 am_cv_CC_dependencies_compiler_type=$depmode
2957 am_cv_CC_dependencies_compiler_type=none
2961 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2962 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2963 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2968 test "x$enable_dependency_tracking" != xno \
2969 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2971 am__fastdepCC_FALSE='#'
2973 am__fastdepCC_TRUE='#'
2974 am__fastdepCC_FALSE=
2978 # By default we simply use the C compiler to build assembly code.
2980 test "${CCAS+set}" = set || CCAS=$CC
2981 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2988 echo "$as_me:$LINENO: checking for $ac_word" >&5
2989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2990 if test "${ac_cv_prog_RANLIB+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 if test -n "$RANLIB"; then
2994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 RANLIB=$ac_cv_prog_RANLIB
3013 if test -n "$RANLIB"; then
3014 echo "$as_me:$LINENO: result: $RANLIB" >&5
3015 echo "${ECHO_T}$RANLIB" >&6
3017 echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6
3022 if test -z "$ac_cv_prog_RANLIB"; then
3023 ac_ct_RANLIB=$RANLIB
3024 # Extract the first word of "ranlib", so it can be a program name with args.
3025 set dummy ranlib; ac_word=$2
3026 echo "$as_me:$LINENO: checking for $ac_word" >&5
3027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3028 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 if test -n "$ac_ct_RANLIB"; then
3032 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_ac_ct_RANLIB="ranlib"
3042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3051 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3052 if test -n "$ac_ct_RANLIB"; then
3053 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3054 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3060 RANLIB=$ac_ct_RANLIB
3062 RANLIB="$ac_cv_prog_RANLIB"
3065 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3066 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3067 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3068 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 cat >conftest.make <<\_ACEOF
3073 @echo 'ac_maketemp="$(MAKE)"'
3075 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3076 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3077 if test -n "$ac_maketemp"; then
3078 eval ac_cv_prog_make_${ac_make}_set=yes
3080 eval ac_cv_prog_make_${ac_make}_set=no
3084 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3089 echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6
3091 SET_MAKE="MAKE=${MAKE-make}"
3103 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3104 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3105 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3106 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3116 #include <sys/types.h>
3128 rm -f conftest.$ac_objext
3129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3130 (eval $ac_compile) 2>conftest.er1
3132 grep -v '^ *+' conftest.er1 >conftest.err
3134 cat conftest.err >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } &&
3137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; } &&
3143 { ac_try='test -s conftest.$ac_objext'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; }; then
3149 eval "$as_ac_Header=yes"
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 eval "$as_ac_Header=no"
3156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3161 cat >>confdefs.h <<_ACEOF
3162 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3165 ac_header_dirent=$ac_hdr; break
3169 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3170 if test $ac_header_dirent = dirent.h; then
3171 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3172 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3173 if test "${ac_cv_search_opendir+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 ac_func_search_save_LIBS=$LIBS
3177 ac_cv_search_opendir=no
3178 cat >conftest.$ac_ext <<_ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3185 /* Override any gcc2 internal prototype to avoid an error. */
3189 /* We use char because int might match the return type of a gcc2
3190 builtin and then its argument prototype would still apply. */
3200 rm -f conftest.$ac_objext conftest$ac_exeext
3201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3202 (eval $ac_link) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; } &&
3215 { ac_try='test -s conftest$ac_exeext'
3216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; }; then
3221 ac_cv_search_opendir="none required"
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f conftest.err conftest.$ac_objext \
3228 conftest$ac_exeext conftest.$ac_ext
3229 if test "$ac_cv_search_opendir" = no; then
3230 for ac_lib in dir; do
3231 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3239 /* Override any gcc2 internal prototype to avoid an error. */
3243 /* We use char because int might match the return type of a gcc2
3244 builtin and then its argument prototype would still apply. */
3254 rm -f conftest.$ac_objext conftest$ac_exeext
3255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3256 (eval $ac_link) 2>conftest.er1
3258 grep -v '^ *+' conftest.er1 >conftest.err
3260 cat conftest.err >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } &&
3263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try='test -s conftest$ac_exeext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 ac_cv_search_opendir="-l$ac_lib"
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3282 rm -f conftest.err conftest.$ac_objext \
3283 conftest$ac_exeext conftest.$ac_ext
3286 LIBS=$ac_func_search_save_LIBS
3288 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3289 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3290 if test "$ac_cv_search_opendir" != no; then
3291 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3296 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3297 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3298 if test "${ac_cv_search_opendir+set}" = set; then
3299 echo $ECHO_N "(cached) $ECHO_C" >&6
3301 ac_func_search_save_LIBS=$LIBS
3302 ac_cv_search_opendir=no
3303 cat >conftest.$ac_ext <<_ACEOF
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3310 /* Override any gcc2 internal prototype to avoid an error. */
3314 /* We use char because int might match the return type of a gcc2
3315 builtin and then its argument prototype would still apply. */
3325 rm -f conftest.$ac_objext conftest$ac_exeext
3326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3327 (eval $ac_link) 2>conftest.er1
3329 grep -v '^ *+' conftest.er1 >conftest.err
3331 cat conftest.err >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); } &&
3334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; } &&
3340 { ac_try='test -s conftest$ac_exeext'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3346 ac_cv_search_opendir="none required"
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3352 rm -f conftest.err conftest.$ac_objext \
3353 conftest$ac_exeext conftest.$ac_ext
3354 if test "$ac_cv_search_opendir" = no; then
3356 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3364 /* Override any gcc2 internal prototype to avoid an error. */
3368 /* We use char because int might match the return type of a gcc2
3369 builtin and then its argument prototype would still apply. */
3379 rm -f conftest.$ac_objext conftest$ac_exeext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3381 (eval $ac_link) 2>conftest.er1
3383 grep -v '^ *+' conftest.er1 >conftest.err
3385 cat conftest.err >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } &&
3388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; } &&
3394 { ac_try='test -s conftest$ac_exeext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 ac_cv_search_opendir="-l$ac_lib"
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3407 rm -f conftest.err conftest.$ac_objext \
3408 conftest$ac_exeext conftest.$ac_ext
3411 LIBS=$ac_func_search_save_LIBS
3413 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3414 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3415 if test "$ac_cv_search_opendir" != no; then
3416 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3423 ac_cpp='$CPP $CPPFLAGS'
3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3428 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3429 # On Suns, sometimes $CPP names a directory.
3430 if test -n "$CPP" && test -d "$CPP"; then
3433 if test -z "$CPP"; then
3434 if test "${ac_cv_prog_CPP+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 # Double quotes because CPP needs to be expanded
3438 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3441 for ac_c_preproc_warn_flag in '' yes
3443 # Use a header file that comes with gcc, so configuring glibc
3444 # with a fresh cross-compiler works.
3445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3446 # <limits.h> exists even on freestanding compilers.
3447 # On the NeXT, cc -E runs the code through the compiler's parser,
3448 # not just through cpp. "Syntax error" is here to catch this case.
3449 cat >conftest.$ac_ext <<_ACEOF
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3456 # include <limits.h>
3458 # include <assert.h>
3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } >/dev/null; then
3470 if test -s conftest.err; then
3471 ac_cpp_err=$ac_c_preproc_warn_flag
3472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3479 if test -z "$ac_cpp_err"; then
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 # Broken: fails on valid input.
3488 rm -f conftest.err conftest.$ac_ext
3490 # OK, works on sane cases. Now check whether non-existent headers
3491 # can be detected and how.
3492 cat >conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3498 #include <ac_nonexistent.h>
3500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3503 grep -v '^ *+' conftest.er1 >conftest.err
3505 cat conftest.err >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev/null; then
3508 if test -s conftest.err; then
3509 ac_cpp_err=$ac_c_preproc_warn_flag
3510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3517 if test -z "$ac_cpp_err"; then
3518 # Broken: success on invalid input.
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3524 # Passes both tests.
3528 rm -f conftest.err conftest.$ac_ext
3531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3532 rm -f conftest.err conftest.$ac_ext
3533 if $ac_preproc_ok; then
3545 echo "$as_me:$LINENO: result: $CPP" >&5
3546 echo "${ECHO_T}$CPP" >&6
3548 for ac_c_preproc_warn_flag in '' yes
3550 # Use a header file that comes with gcc, so configuring glibc
3551 # with a fresh cross-compiler works.
3552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3553 # <limits.h> exists even on freestanding compilers.
3554 # On the NeXT, cc -E runs the code through the compiler's parser,
3555 # not just through cpp. "Syntax error" is here to catch this case.
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3563 # include <limits.h>
3565 # include <assert.h>
3569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3572 grep -v '^ *+' conftest.er1 >conftest.err
3574 cat conftest.err >&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); } >/dev/null; then
3577 if test -s conftest.err; then
3578 ac_cpp_err=$ac_c_preproc_warn_flag
3579 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3586 if test -z "$ac_cpp_err"; then
3589 echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.$ac_ext >&5
3592 # Broken: fails on valid input.
3595 rm -f conftest.err conftest.$ac_ext
3597 # OK, works on sane cases. Now check whether non-existent headers
3598 # can be detected and how.
3599 cat >conftest.$ac_ext <<_ACEOF
3602 cat confdefs.h >>conftest.$ac_ext
3603 cat >>conftest.$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3605 #include <ac_nonexistent.h>
3607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3610 grep -v '^ *+' conftest.er1 >conftest.err
3612 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } >/dev/null; then
3615 if test -s conftest.err; then
3616 ac_cpp_err=$ac_c_preproc_warn_flag
3617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3624 if test -z "$ac_cpp_err"; then
3625 # Broken: success on invalid input.
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3631 # Passes both tests.
3635 rm -f conftest.err conftest.$ac_ext
3638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3639 rm -f conftest.err conftest.$ac_ext
3640 if $ac_preproc_ok; then
3643 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3644 See \`config.log' for more details." >&5
3645 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3646 See \`config.log' for more details." >&2;}
3647 { (exit 1); exit 1; }; }
3651 ac_cpp='$CPP $CPPFLAGS'
3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657 echo "$as_me:$LINENO: checking for egrep" >&5
3658 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3659 if test "${ac_cv_prog_egrep+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3663 then ac_cv_prog_egrep='grep -E'
3664 else ac_cv_prog_egrep='egrep'
3667 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3668 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3669 EGREP=$ac_cv_prog_egrep
3672 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3673 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3674 if test "${ac_cv_header_stdc+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 cat >conftest.$ac_ext <<_ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3696 rm -f conftest.$ac_objext
3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3698 (eval $ac_compile) 2>conftest.er1
3700 grep -v '^ *+' conftest.er1 >conftest.err
3702 cat conftest.err >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } &&
3705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; } &&
3711 { ac_try='test -s conftest.$ac_objext'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 ac_cv_header_stdc=yes
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 ac_cv_header_stdc=no
3724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3726 if test $ac_cv_header_stdc = yes; then
3727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3728 cat >conftest.$ac_ext <<_ACEOF
3731 cat confdefs.h >>conftest.$ac_ext
3732 cat >>conftest.$ac_ext <<_ACEOF
3733 /* end confdefs.h. */
3737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3738 $EGREP "memchr" >/dev/null 2>&1; then
3741 ac_cv_header_stdc=no
3747 if test $ac_cv_header_stdc = yes; then
3748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3749 cat >conftest.$ac_ext <<_ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3759 $EGREP "free" >/dev/null 2>&1; then
3762 ac_cv_header_stdc=no
3768 if test $ac_cv_header_stdc = yes; then
3769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3770 if test "$cross_compiling" = yes; then
3773 cat >conftest.$ac_ext <<_ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3780 #if ((' ' & 0x0FF) == 0x020)
3781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3784 # define ISLOWER(c) \
3785 (('a' <= (c) && (c) <= 'i') \
3786 || ('j' <= (c) && (c) <= 'r') \
3787 || ('s' <= (c) && (c) <= 'z'))
3788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3796 for (i = 0; i < 256; i++)
3797 if (XOR (islower (i), ISLOWER (i))
3798 || toupper (i) != TOUPPER (i))
3803 rm -f conftest$ac_exeext
3804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3805 (eval $ac_link) 2>&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; }; then
3816 echo "$as_me: program exited with status $ac_status" >&5
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3821 ac_cv_header_stdc=no
3823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3827 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3828 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3829 if test $ac_cv_header_stdc = yes; then
3831 cat >>confdefs.h <<\_ACEOF
3832 #define STDC_HEADERS 1
3837 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3847 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3848 inttypes.h stdint.h unistd.h
3850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3851 echo "$as_me:$LINENO: checking for $ac_header" >&5
3852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 cat >conftest.$ac_ext <<_ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 $ac_includes_default
3864 #include <$ac_header>
3866 rm -f conftest.$ac_objext
3867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3868 (eval $ac_compile) 2>conftest.er1
3870 grep -v '^ *+' conftest.er1 >conftest.err
3872 cat conftest.err >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } &&
3875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; } &&
3881 { ac_try='test -s conftest.$ac_objext'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; }; then
3887 eval "$as_ac_Header=yes"
3889 echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.$ac_ext >&5
3892 eval "$as_ac_Header=no"
3894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3899 cat >>confdefs.h <<_ACEOF
3900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3909 for ac_header in fcntl.h
3911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3913 echo "$as_me:$LINENO: checking for $ac_header" >&5
3914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3921 # Is the header compilable?
3922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3924 cat >conftest.$ac_ext <<_ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3930 $ac_includes_default
3931 #include <$ac_header>
3933 rm -f conftest.$ac_objext
3934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3935 (eval $ac_compile) 2>conftest.er1
3937 grep -v '^ *+' conftest.er1 >conftest.err
3939 cat conftest.err >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); } &&
3942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); }; } &&
3948 { ac_try='test -s conftest.$ac_objext'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; }; then
3954 ac_header_compiler=yes
3956 echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.$ac_ext >&5
3959 ac_header_compiler=no
3961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3963 echo "${ECHO_T}$ac_header_compiler" >&6
3965 # Is the header present?
3966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3968 cat >conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 #include <$ac_header>
3976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3979 grep -v '^ *+' conftest.er1 >conftest.err
3981 cat conftest.err >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } >/dev/null; then
3984 if test -s conftest.err; then
3985 ac_cpp_err=$ac_c_preproc_warn_flag
3986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3993 if test -z "$ac_cpp_err"; then
3994 ac_header_preproc=yes
3996 echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 ac_header_preproc=no
4001 rm -f conftest.err conftest.$ac_ext
4002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4003 echo "${ECHO_T}$ac_header_preproc" >&6
4005 # So? What about this header?
4006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4012 ac_header_preproc=yes
4015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4029 ## ------------------------------------------ ##
4030 ## Report this to the AC_PACKAGE_NAME lists. ##
4031 ## ------------------------------------------ ##
4034 sed "s/^/$as_me: WARNING: /" >&2
4037 echo "$as_me:$LINENO: checking for $ac_header" >&5
4038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 eval "$as_ac_Header=\$ac_header_preproc"
4044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4049 cat >>confdefs.h <<_ACEOF
4050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4058 for ac_header in sys/time.h
4060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4062 echo "$as_me:$LINENO: checking for $ac_header" >&5
4063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4070 # Is the header compilable?
4071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4073 cat >conftest.$ac_ext <<_ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 $ac_includes_default
4080 #include <$ac_header>
4082 rm -f conftest.$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084 (eval $ac_compile) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try='test -s conftest.$ac_objext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_header_compiler=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 ac_header_compiler=no
4110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4112 echo "${ECHO_T}$ac_header_compiler" >&6
4114 # Is the header present?
4115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4117 cat >conftest.$ac_ext <<_ACEOF
4120 cat confdefs.h >>conftest.$ac_ext
4121 cat >>conftest.$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4123 #include <$ac_header>
4125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4128 grep -v '^ *+' conftest.er1 >conftest.err
4130 cat conftest.err >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } >/dev/null; then
4133 if test -s conftest.err; then
4134 ac_cpp_err=$ac_c_preproc_warn_flag
4135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4142 if test -z "$ac_cpp_err"; then
4143 ac_header_preproc=yes
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 ac_header_preproc=no
4150 rm -f conftest.err conftest.$ac_ext
4151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4152 echo "${ECHO_T}$ac_header_preproc" >&6
4154 # So? What about this header?
4155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4161 ac_header_preproc=yes
4164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4178 ## ------------------------------------------ ##
4179 ## Report this to the AC_PACKAGE_NAME lists. ##
4180 ## ------------------------------------------ ##
4183 sed "s/^/$as_me: WARNING: /" >&2
4186 echo "$as_me:$LINENO: checking for $ac_header" >&5
4187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 eval "$as_ac_Header=\$ac_header_preproc"
4193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4198 cat >>confdefs.h <<_ACEOF
4199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4207 for ac_header in unistd.h
4209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4211 echo "$as_me:$LINENO: checking for $ac_header" >&5
4212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4219 # Is the header compilable?
4220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4222 cat >conftest.$ac_ext <<_ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 $ac_includes_default
4229 #include <$ac_header>
4231 rm -f conftest.$ac_objext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233 (eval $ac_compile) 2>conftest.er1
4235 grep -v '^ *+' conftest.er1 >conftest.err
4237 cat conftest.err >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } &&
4240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); }; } &&
4246 { ac_try='test -s conftest.$ac_objext'
4247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); }; }; then
4252 ac_header_compiler=yes
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.$ac_ext >&5
4257 ac_header_compiler=no
4259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4261 echo "${ECHO_T}$ac_header_compiler" >&6
4263 # Is the header present?
4264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4266 cat >conftest.$ac_ext <<_ACEOF
4269 cat confdefs.h >>conftest.$ac_ext
4270 cat >>conftest.$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4272 #include <$ac_header>
4274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4277 grep -v '^ *+' conftest.er1 >conftest.err
4279 cat conftest.err >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } >/dev/null; then
4282 if test -s conftest.err; then
4283 ac_cpp_err=$ac_c_preproc_warn_flag
4284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4291 if test -z "$ac_cpp_err"; then
4292 ac_header_preproc=yes
4294 echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 ac_header_preproc=no
4299 rm -f conftest.err conftest.$ac_ext
4300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4301 echo "${ECHO_T}$ac_header_preproc" >&6
4303 # So? What about this header?
4304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4310 ac_header_preproc=yes
4313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4327 ## ------------------------------------------ ##
4328 ## Report this to the AC_PACKAGE_NAME lists. ##
4329 ## ------------------------------------------ ##
4332 sed "s/^/$as_me: WARNING: /" >&2
4335 echo "$as_me:$LINENO: checking for $ac_header" >&5
4336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 eval "$as_ac_Header=\$ac_header_preproc"
4342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4347 cat >>confdefs.h <<_ACEOF
4348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4356 for ac_header in sys/ioctl.h
4358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4360 echo "$as_me:$LINENO: checking for $ac_header" >&5
4361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4368 # Is the header compilable?
4369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4371 cat >conftest.$ac_ext <<_ACEOF
4374 cat confdefs.h >>conftest.$ac_ext
4375 cat >>conftest.$ac_ext <<_ACEOF
4376 /* end confdefs.h. */
4377 $ac_includes_default
4378 #include <$ac_header>
4380 rm -f conftest.$ac_objext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382 (eval $ac_compile) 2>conftest.er1
4384 grep -v '^ *+' conftest.er1 >conftest.err
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } &&
4389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; } &&
4395 { ac_try='test -s conftest.$ac_objext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4401 ac_header_compiler=yes
4403 echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4406 ac_header_compiler=no
4408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4410 echo "${ECHO_T}$ac_header_compiler" >&6
4412 # Is the header present?
4413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4415 cat >conftest.$ac_ext <<_ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>conftest.$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4421 #include <$ac_header>
4423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4426 grep -v '^ *+' conftest.er1 >conftest.err
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } >/dev/null; then
4431 if test -s conftest.err; then
4432 ac_cpp_err=$ac_c_preproc_warn_flag
4433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4440 if test -z "$ac_cpp_err"; then
4441 ac_header_preproc=yes
4443 echo "$as_me: failed program was:" >&5
4444 sed 's/^/| /' conftest.$ac_ext >&5
4446 ac_header_preproc=no
4448 rm -f conftest.err conftest.$ac_ext
4449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4450 echo "${ECHO_T}$ac_header_preproc" >&6
4452 # So? What about this header?
4453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4459 ac_header_preproc=yes
4462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4476 ## ------------------------------------------ ##
4477 ## Report this to the AC_PACKAGE_NAME lists. ##
4478 ## ------------------------------------------ ##
4481 sed "s/^/$as_me: WARNING: /" >&2
4484 echo "$as_me:$LINENO: checking for $ac_header" >&5
4485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 eval "$as_ac_Header=\$ac_header_preproc"
4491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4496 cat >>confdefs.h <<_ACEOF
4497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4505 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4506 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4507 if test "${ac_cv_c_const+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 cat >conftest.$ac_ext <<_ACEOF
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4520 /* FIXME: Include the comments suggested by Paul. */
4522 /* Ultrix mips cc rejects this. */
4523 typedef int charset[2];
4525 /* SunOS 4.1.1 cc rejects this. */
4526 char const *const *ccp;
4528 /* NEC SVR4.0.2 mips cc rejects this. */
4529 struct point {int x, y;};
4530 static struct point const zero = {0,0};
4531 /* AIX XL C 1.02.0.0 rejects this.
4532 It does not let you subtract one const X* pointer from another in
4533 an arm of an if-expression whose if-part is not a constant
4535 const char *g = "string";
4536 ccp = &g + (g ? g-g : 0);
4537 /* HPUX 7.0 cc rejects these. */
4540 ccp = (char const *const *) p;
4541 { /* SCO 3.2v4 cc rejects this. */
4543 char const *s = 0 ? (char *) 0 : (char const *) 0;
4547 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4549 const int *foo = &x[0];
4552 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4553 typedef const int *iptr;
4557 { /* AIX XL C 1.02.0.0 rejects this saying
4558 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4559 struct s { int j; const int *ap[3]; };
4560 struct s *b; b->j = 5;
4562 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4571 rm -f conftest.$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1 >conftest.err
4577 cat conftest.err >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; } &&
4586 { ac_try='test -s conftest.$ac_objext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4601 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4602 echo "${ECHO_T}$ac_cv_c_const" >&6
4603 if test $ac_cv_c_const = no; then
4605 cat >>confdefs.h <<\_ACEOF
4611 echo "$as_me:$LINENO: checking for inline" >&5
4612 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4613 if test "${ac_cv_c_inline+set}" = set; then
4614 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 for ac_kw in inline __inline__ __inline; do
4618 cat >conftest.$ac_ext <<_ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4626 static $ac_kw foo_t static_foo () {return 0; }
4627 $ac_kw foo_t foo () {return 0; }
4631 rm -f conftest.$ac_objext
4632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633 (eval $ac_compile) 2>conftest.er1
4635 grep -v '^ *+' conftest.er1 >conftest.err
4637 cat conftest.err >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } &&
4640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; } &&
4646 { ac_try='test -s conftest.$ac_objext'
4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; }; then
4652 ac_cv_c_inline=$ac_kw; break
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.$ac_ext >&5
4658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4662 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4663 echo "${ECHO_T}$ac_cv_c_inline" >&6
4666 case $ac_cv_c_inline in
4669 case $ac_cv_c_inline in
4671 *) ac_val=$ac_cv_c_inline;;
4673 cat >>confdefs.h <<_ACEOF
4675 #define inline $ac_val
4681 echo "$as_me:$LINENO: checking for off_t" >&5
4682 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4683 if test "${ac_cv_type_off_t+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 $ac_includes_default
4704 rm -f conftest.$ac_objext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4706 (eval $ac_compile) 2>conftest.er1
4708 grep -v '^ *+' conftest.er1 >conftest.err
4710 cat conftest.err >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 ac_cv_type_off_t=yes
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4734 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4735 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4736 if test $ac_cv_type_off_t = yes; then
4740 cat >>confdefs.h <<_ACEOF
4746 echo "$as_me:$LINENO: checking for size_t" >&5
4747 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4748 if test "${ac_cv_type_size_t+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 cat >conftest.$ac_ext <<_ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 $ac_includes_default
4763 if (sizeof (size_t))
4769 rm -f conftest.$ac_objext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771 (eval $ac_compile) 2>conftest.er1
4773 grep -v '^ *+' conftest.er1 >conftest.err
4775 cat conftest.err >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } &&
4778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; } &&
4784 { ac_try='test -s conftest.$ac_objext'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; }; then
4790 ac_cv_type_size_t=yes
4792 echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.$ac_ext >&5
4795 ac_cv_type_size_t=no
4797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4799 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4800 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4801 if test $ac_cv_type_size_t = yes; then
4805 cat >>confdefs.h <<_ACEOF
4806 #define size_t unsigned
4811 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4812 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4813 if test "${ac_cv_header_time+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 cat >conftest.$ac_ext <<_ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #include <sys/types.h>
4823 #include <sys/time.h>
4829 if ((struct tm *) 0)
4835 rm -f conftest.$ac_objext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837 (eval $ac_compile) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; } &&
4850 { ac_try='test -s conftest.$ac_objext'
4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; }; then
4856 ac_cv_header_time=yes
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.$ac_ext >&5
4861 ac_cv_header_time=no
4863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4865 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4866 echo "${ECHO_T}$ac_cv_header_time" >&6
4867 if test $ac_cv_header_time = yes; then
4869 cat >>confdefs.h <<\_ACEOF
4870 #define TIME_WITH_SYS_TIME 1
4875 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4876 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4877 if test "${ac_cv_struct_tm+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 cat >conftest.$ac_ext <<_ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4886 #include <sys/types.h>
4892 struct tm *tp; tp->tm_sec;
4897 rm -f conftest.$ac_objext
4898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4899 (eval $ac_compile) 2>conftest.er1
4901 grep -v '^ *+' conftest.er1 >conftest.err
4903 cat conftest.err >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } &&
4906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; } &&
4912 { ac_try='test -s conftest.$ac_objext'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; }; then
4918 ac_cv_struct_tm=time.h
4920 echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.$ac_ext >&5
4923 ac_cv_struct_tm=sys/time.h
4925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4927 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4928 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4929 if test $ac_cv_struct_tm = sys/time.h; then
4931 cat >>confdefs.h <<\_ACEOF
4932 #define TM_IN_SYS_TIME 1
4938 if test $ac_cv_c_compiler_gnu = yes; then
4939 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4940 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4941 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 ac_pattern="Autoconf.*'x'"
4945 cat >conftest.$ac_ext <<_ACEOF
4948 cat confdefs.h >>conftest.$ac_ext
4949 cat >>conftest.$ac_ext <<_ACEOF
4950 /* end confdefs.h. */
4954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4955 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4956 ac_cv_prog_gcc_traditional=yes
4958 ac_cv_prog_gcc_traditional=no
4963 if test $ac_cv_prog_gcc_traditional = no; then
4964 cat >conftest.$ac_ext <<_ACEOF
4967 cat confdefs.h >>conftest.$ac_ext
4968 cat >>conftest.$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4974 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4975 ac_cv_prog_gcc_traditional=yes
4981 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4982 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4983 if test $ac_cv_prog_gcc_traditional = yes; then
4984 CC="$CC -traditional"
4988 echo "$as_me:$LINENO: checking for working memcmp" >&5
4989 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4990 if test "${ac_cv_func_memcmp_working+set}" = set; then
4991 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 if test "$cross_compiling" = yes; then
4994 ac_cv_func_memcmp_working=no
4996 cat >conftest.$ac_ext <<_ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 $ac_includes_default
5007 /* Some versions of memcmp are not 8-bit clean. */
5008 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
5009 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5012 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5013 or more and with at least one buffer not starting on a 4-byte boundary.
5014 William Lewis provided this test program. */
5019 for (i = 0; i < 4; i++)
5023 strcpy (a, "--------01111111");
5024 strcpy (b, "--------10000000");
5025 if (memcmp (a, b, 16) >= 0)
5035 rm -f conftest$ac_exeext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5037 (eval $ac_link) 2>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_func_memcmp_working=yes
5048 echo "$as_me: program exited with status $ac_status" >&5
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_cv_func_memcmp_working=no
5055 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5058 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5059 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
5060 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
5061 "memcmp.$ac_objext" | \
5062 *" memcmp.$ac_objext" | \
5063 "memcmp.$ac_objext "* | \
5064 *" memcmp.$ac_objext "* ) ;;
5065 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
5071 for ac_header in stdlib.h unistd.h
5073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5075 echo "$as_me:$LINENO: checking for $ac_header" >&5
5076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5083 # Is the header compilable?
5084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5086 cat >conftest.$ac_ext <<_ACEOF
5089 cat confdefs.h >>conftest.$ac_ext
5090 cat >>conftest.$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5092 $ac_includes_default
5093 #include <$ac_header>
5095 rm -f conftest.$ac_objext
5096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5097 (eval $ac_compile) 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; } &&
5110 { ac_try='test -s conftest.$ac_objext'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_header_compiler=yes
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5121 ac_header_compiler=no
5123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5125 echo "${ECHO_T}$ac_header_compiler" >&6
5127 # Is the header present?
5128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5130 cat >conftest.$ac_ext <<_ACEOF
5133 cat confdefs.h >>conftest.$ac_ext
5134 cat >>conftest.$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5136 #include <$ac_header>
5138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5141 grep -v '^ *+' conftest.er1 >conftest.err
5143 cat conftest.err >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } >/dev/null; then
5146 if test -s conftest.err; then
5147 ac_cpp_err=$ac_c_preproc_warn_flag
5148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5155 if test -z "$ac_cpp_err"; then
5156 ac_header_preproc=yes
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.$ac_ext >&5
5161 ac_header_preproc=no
5163 rm -f conftest.err conftest.$ac_ext
5164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5165 echo "${ECHO_T}$ac_header_preproc" >&6
5167 # So? What about this header?
5168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5174 ac_header_preproc=yes
5177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5191 ## ------------------------------------------ ##
5192 ## Report this to the AC_PACKAGE_NAME lists. ##
5193 ## ------------------------------------------ ##
5196 sed "s/^/$as_me: WARNING: /" >&2
5199 echo "$as_me:$LINENO: checking for $ac_header" >&5
5200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5204 eval "$as_ac_Header=\$ac_header_preproc"
5206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5211 cat >>confdefs.h <<_ACEOF
5212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5220 for ac_func in getpagesize
5222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5223 echo "$as_me:$LINENO: checking for $ac_func" >&5
5224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5225 if eval "test \"\${$as_ac_var+set}\" = set"; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 cat >conftest.$ac_ext <<_ACEOF
5231 cat confdefs.h >>conftest.$ac_ext
5232 cat >>conftest.$ac_ext <<_ACEOF
5233 /* end confdefs.h. */
5234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5236 #define $ac_func innocuous_$ac_func
5238 /* System header to define __stub macros and hopefully few prototypes,
5239 which can conflict with char $ac_func (); below.
5240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5241 <limits.h> exists even on freestanding compilers. */
5244 # include <limits.h>
5246 # include <assert.h>
5251 /* Override any gcc2 internal prototype to avoid an error. */
5256 /* We use char because int might match the return type of a gcc2
5257 builtin and then its argument prototype would still apply. */
5259 /* The GNU C library defines this for functions which it implements
5260 to always fail with ENOSYS. Some functions are actually named
5261 something starting with __ and the normal name is an alias. */
5262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5265 char (*f) () = $ac_func;
5274 return f != $ac_func;
5279 rm -f conftest.$ac_objext conftest$ac_exeext
5280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5281 (eval $ac_link) 2>conftest.er1
5283 grep -v '^ *+' conftest.er1 >conftest.err
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; } &&
5294 { ac_try='test -s conftest$ac_exeext'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; }; then
5300 eval "$as_ac_var=yes"
5302 echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5305 eval "$as_ac_var=no"
5307 rm -f conftest.err conftest.$ac_objext \
5308 conftest$ac_exeext conftest.$ac_ext
5310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5312 if test `eval echo '${'$as_ac_var'}'` = yes; then
5313 cat >>confdefs.h <<_ACEOF
5314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5320 echo "$as_me:$LINENO: checking for working mmap" >&5
5321 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5322 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 if test "$cross_compiling" = yes; then
5326 ac_cv_func_mmap_fixed_mapped=no
5328 cat >conftest.$ac_ext <<_ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h. */
5334 $ac_includes_default
5335 /* malloc might have been renamed as rpl_malloc. */
5338 /* Thanks to Mike Haertel and Jim Avera for this test.
5339 Here is a matrix of mmap possibilities:
5340 mmap private not fixed
5341 mmap private fixed at somewhere currently unmapped
5342 mmap private fixed at somewhere already mapped
5343 mmap shared not fixed
5344 mmap shared fixed at somewhere currently unmapped
5345 mmap shared fixed at somewhere already mapped
5346 For private mappings, we should verify that changes cannot be read()
5347 back from the file, nor mmap's back from the file at a different
5348 address. (There have been systems where private was not correctly
5349 implemented like the infamous i386 svr4.0, and systems where the
5350 VM page cache was not coherent with the file system buffer cache
5351 like early versions of FreeBSD and possibly contemporary NetBSD.)
5352 For shared mappings, we should conversely verify that changes get
5353 propagated back to all the places they're supposed to be.
5355 Grep wants private fixed already mapped.
5356 The main things grep needs to know about mmap are:
5357 * does it exist and is it safe to write into the mmap'd area
5358 * how to use it (BSD variants) */
5361 #include <sys/mman.h>
5363 #if !STDC_HEADERS && !HAVE_STDLIB_H
5367 /* This mess was copied from the GNU getpagesize.h. */
5368 #if !HAVE_GETPAGESIZE
5369 /* Assume that all systems that can run configure have sys/param.h. */
5370 # if !HAVE_SYS_PARAM_H
5371 # define HAVE_SYS_PARAM_H 1
5374 # ifdef _SC_PAGESIZE
5375 # define getpagesize() sysconf(_SC_PAGESIZE)
5376 # else /* no _SC_PAGESIZE */
5377 # if HAVE_SYS_PARAM_H
5378 # include <sys/param.h>
5379 # ifdef EXEC_PAGESIZE
5380 # define getpagesize() EXEC_PAGESIZE
5381 # else /* no EXEC_PAGESIZE */
5383 # define getpagesize() NBPG * CLSIZE
5386 # endif /* no CLSIZE */
5387 # else /* no NBPG */
5389 # define getpagesize() NBPC
5390 # else /* no NBPC */
5392 # define getpagesize() PAGESIZE
5393 # endif /* PAGESIZE */
5394 # endif /* no NBPC */
5395 # endif /* no NBPG */
5396 # endif /* no EXEC_PAGESIZE */
5397 # else /* no HAVE_SYS_PARAM_H */
5398 # define getpagesize() 8192 /* punt totally */
5399 # endif /* no HAVE_SYS_PARAM_H */
5400 # endif /* no _SC_PAGESIZE */
5402 #endif /* no HAVE_GETPAGESIZE */
5407 char *data, *data2, *data3;
5411 pagesize = getpagesize ();
5413 /* First, make a file with some known garbage in it. */
5414 data = (char *) malloc (pagesize);
5417 for (i = 0; i < pagesize; ++i)
5418 *(data + i) = rand ();
5420 fd = creat ("conftest.mmap", 0600);
5423 if (write (fd, data, pagesize) != pagesize)
5427 /* Next, try to mmap the file at a fixed address which already has
5428 something else allocated at it. If we can, also make sure that
5429 we see the same garbage. */
5430 fd = open ("conftest.mmap", O_RDWR);
5433 data2 = (char *) malloc (2 * pagesize);
5436 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5437 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5438 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5440 for (i = 0; i < pagesize; ++i)
5441 if (*(data + i) != *(data2 + i))
5444 /* Finally, make sure that changes to the mapped area do not
5445 percolate back to the file as seen by read(). (This is a bug on
5446 some variants of i386 svr4.0.) */
5447 for (i = 0; i < pagesize; ++i)
5448 *(data2 + i) = *(data2 + i) + 1;
5449 data3 = (char *) malloc (pagesize);
5452 if (read (fd, data3, pagesize) != pagesize)
5454 for (i = 0; i < pagesize; ++i)
5455 if (*(data + i) != *(data3 + i))
5461 rm -f conftest$ac_exeext
5462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5463 (eval $ac_link) 2>&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); }; }; then
5472 ac_cv_func_mmap_fixed_mapped=yes
5474 echo "$as_me: program exited with status $ac_status" >&5
5475 echo "$as_me: failed program was:" >&5
5476 sed 's/^/| /' conftest.$ac_ext >&5
5479 ac_cv_func_mmap_fixed_mapped=no
5481 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5484 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5485 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5486 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5488 cat >>confdefs.h <<\_ACEOF
5495 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5496 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5497 if test "${ac_cv_type_signal+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 cat >conftest.$ac_ext <<_ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 #include <sys/types.h>
5512 extern "C" void (*signal (int, void (*)(int)))(int);
5514 void (*signal ()) ();
5525 rm -f conftest.$ac_objext
5526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5527 (eval $ac_compile) 2>conftest.er1
5529 grep -v '^ *+' conftest.er1 >conftest.err
5531 cat conftest.err >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } &&
5534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); }; } &&
5540 { ac_try='test -s conftest.$ac_objext'
5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; }; then
5546 ac_cv_type_signal=void
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.$ac_ext >&5
5551 ac_cv_type_signal=int
5553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5555 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5556 echo "${ECHO_T}$ac_cv_type_signal" >&6
5558 cat >>confdefs.h <<_ACEOF
5559 #define RETSIGTYPE $ac_cv_type_signal
5569 for ac_func in getcwd gettimeofday mkdir mktime select socket
5571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5572 echo "$as_me:$LINENO: checking for $ac_func" >&5
5573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5574 if eval "test \"\${$as_ac_var+set}\" = set"; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 cat >conftest.$ac_ext <<_ACEOF
5580 cat confdefs.h >>conftest.$ac_ext
5581 cat >>conftest.$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5585 #define $ac_func innocuous_$ac_func
5587 /* System header to define __stub macros and hopefully few prototypes,
5588 which can conflict with char $ac_func (); below.
5589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5590 <limits.h> exists even on freestanding compilers. */
5593 # include <limits.h>
5595 # include <assert.h>
5600 /* Override any gcc2 internal prototype to avoid an error. */
5605 /* We use char because int might match the return type of a gcc2
5606 builtin and then its argument prototype would still apply. */
5608 /* The GNU C library defines this for functions which it implements
5609 to always fail with ENOSYS. Some functions are actually named
5610 something starting with __ and the normal name is an alias. */
5611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5614 char (*f) () = $ac_func;
5623 return f != $ac_func;
5628 rm -f conftest.$ac_objext conftest$ac_exeext
5629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630 (eval $ac_link) 2>conftest.er1
5632 grep -v '^ *+' conftest.er1 >conftest.err
5634 cat conftest.err >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } &&
5637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); }; } &&
5643 { ac_try='test -s conftest$ac_exeext'
5644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }; }; then
5649 eval "$as_ac_var=yes"
5651 echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.$ac_ext >&5
5654 eval "$as_ac_var=no"
5656 rm -f conftest.err conftest.$ac_objext \
5657 conftest$ac_exeext conftest.$ac_ext
5659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5661 if test `eval echo '${'$as_ac_var'}'` = yes; then
5662 cat >>confdefs.h <<_ACEOF
5663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5670 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5671 echo "$as_me:$LINENO: checking whether MAP_FAILED is defined" >&5
5672 echo $ECHO_N "checking whether MAP_FAILED is defined... $ECHO_C" >&6
5673 if test "${ac_cv_map_failed+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 cat >conftest.$ac_ext <<_ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 #include <sys/mman.h>
5687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5688 $EGREP "yes" >/dev/null 2>&1; then
5689 ac_cv_map_failed=yes
5696 echo "$as_me:$LINENO: result: $ac_cv_map_failed" >&5
5697 echo "${ECHO_T}$ac_cv_map_failed" >&6
5699 echo "$as_me:$LINENO: checking whether MAP_ANONYMOUS is defined" >&5
5700 echo $ECHO_N "checking whether MAP_ANONYMOUS is defined... $ECHO_C" >&6
5701 if test "${ac_cv_map_anonymous+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 cat >conftest.$ac_ext <<_ACEOF
5707 cat confdefs.h >>conftest.$ac_ext
5708 cat >>conftest.$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5710 #include <sys/mman.h>
5711 #ifdef MAP_ANONYMOUS
5715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5716 $EGREP "yes" >/dev/null 2>&1; then
5717 ac_cv_map_anonymous=yes
5719 ac_cv_map_anonymous=no
5724 echo "$as_me:$LINENO: result: $ac_cv_map_anonymous" >&5
5725 echo "${ECHO_T}$ac_cv_map_anonymous" >&6
5727 if test $ac_cv_map_failed = yes; then
5728 cat >>confdefs.h <<\_ACEOF
5729 #define HAVE_MAP_FAILED 1
5734 if test $ac_cv_map_anonymous = yes; then
5735 cat >>confdefs.h <<\_ACEOF
5736 #define HAVE_MAP_ANONYMOUS 1
5744 # Check whether --enable-threads or --disable-threads was given.
5745 if test "${enable_threads+set}" = set; then
5746 enableval="$enable_threads"
5749 # Check whether --enable-__thread or --disable-__thread was given.
5750 if test "${enable___thread+set}" = set; then
5751 enableval="$enable___thread"
5752 use__thread=$enablevalval
5758 echo "$as_me:$LINENO: checking whether to include threads support" >&5
5759 echo $ECHO_N "checking whether to include threads support... $ECHO_C" >&6
5760 if test x"$enable_threads" = "xno"; then
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5764 echo "$as_me:$LINENO: result: yes" >&5
5765 echo "${ECHO_T}yes" >&6
5767 cat >>confdefs.h <<\_ACEOF
5768 #define USE_THREADS 1
5771 cat >>confdefs.h <<\_ACEOF
5772 #define EXTERNAL_OVERFLOW 1
5775 cat >>confdefs.h <<\_ACEOF
5776 #define DONT_FREE_FIRST 1
5780 LIBTHREAD="libthreads.a"
5781 THREAD_OBJ="threads/libthreads.a"
5786 if test "x$use__thread" != xno; then
5787 echo "$as_me:$LINENO: checking for __thread" >&5
5788 echo $ECHO_N "checking for __thread... $ECHO_C" >&6
5789 if test "${ac_cv_gcc___thread+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 cat > conftest.c <<\EOF
5793 __thread int a = 42;
5795 if { ac_try='${CC-cc} $CFLAGS -c conftest.c >&5'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; }; then
5801 ac_cv_gcc___thread=yes
5803 ac_cv_gcc___thread=no
5807 echo "$as_me:$LINENO: result: $ac_cv_gcc___thread" >&5
5808 echo "${ECHO_T}$ac_cv_gcc___thread" >&6
5809 if test "$ac_cv_gcc___thread" = yes; then
5810 cat >>confdefs.h <<\_ACEOF
5811 #define HAVE___THREAD 1
5816 ac_cv_gcc___thread=no
5819 # Check whether --enable-zlib or --disable-zlib was given.
5820 if test "${enable_zlib+set}" = set; then
5821 enableval="$enable_zlib"
5825 echo "$as_me:$LINENO: checking whether zip archives should be supported" >&5
5826 echo $ECHO_N "checking whether zip archives should be supported... $ECHO_C" >&6
5827 if test x"$enable_zlib" = "xyes"; then
5830 cat >>confdefs.h <<\_ACEOF
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5840 echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6
5847 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
5848 if test "${enable_gtk_peer+set}" = set; then
5849 enableval="$enable_gtk_peer"
5853 echo "$as_me:$LINENO: checking whether to use gtk awt peers" >&5
5854 echo $ECHO_N "checking whether to use gtk awt peers... $ECHO_C" >&6
5855 if test x"$enable_gtk_peer" = "xyes"; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5858 AWTPEERS="java.awt.peer.ComponentPeer \
5859 java.awt.peer.MenuPeer \
5860 java.awt.peer.MenuItemPeer \
5861 gnu.java.awt.peer.gtk.GdkPixbufDecoder \
5862 gnu.java.awt.peer.gtk.GtkMenuBarPeer \
5863 gnu.java.awt.peer.gtk.GtkScrollPanePeer \
5864 gnu.java.awt.peer.gtk.GtkMenuPeer \
5865 gnu.java.awt.peer.gtk.GtkTextComponentPeer \
5866 gnu.java.awt.peer.gtk.GtkComponentPeer \
5867 gnu.java.awt.peer.gtk.GtkPopupMenuPeer \
5868 gnu.java.awt.peer.gtk.GtkCheckboxGroupPeer \
5869 gnu.java.awt.peer.gtk.GtkMenuItemPeer \
5870 gnu.java.awt.peer.gtk.GdkGraphics \
5871 gnu.java.awt.peer.gtk.GtkToolkit \
5872 gnu.java.awt.peer.gtk.GtkCanvasPeer \
5873 gnu.java.awt.peer.gtk.GtkFramePeer \
5874 gnu.java.awt.peer.gtk.GdkFontMetrics \
5875 gnu.java.awt.peer.gtk.GtkScrollbarPeer \
5876 gnu.java.awt.peer.gtk.GtkGenericPeer \
5877 gnu.java.awt.peer.gtk.GtkListPeer \
5878 gnu.java.awt.peer.gtk.GtkLabelPeer \
5879 gnu.java.awt.peer.gtk.GtkTextAreaPeer \
5880 gnu.java.awt.peer.gtk.GtkCheckboxPeer \
5881 gnu.java.awt.peer.gtk.GtkFileDialogPeer \
5882 gnu.java.awt.peer.gtk.GtkImagePainter \
5883 gnu.java.awt.peer.gtk.GtkChoicePeer \
5884 gnu.java.awt.peer.gtk.GtkPanelPeer \
5885 gnu.java.awt.peer.gtk.GtkMainThread \
5886 gnu.java.awt.peer.gtk.GtkButtonPeer \
5887 gnu.java.awt.peer.gtk.GtkTextFieldPeer \
5888 gnu.java.awt.peer.gtk.GtkCheckboxMenuItemPeer \
5889 gnu.java.awt.peer.gtk.GtkClipboard \
5890 gnu.java.awt.peer.gtk.GtkWindowPeer"
5891 AWT_OBJS="gnuclasspathnat/native/jni/gtk-peer/.libs/libgtkpeer.a \
5892 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 \
5893 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \
5894 -lgthread-2.0 -lart_lgpl_2"
5899 cat >>confdefs.h <<\_ACEOF
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5918 subdirs="$subdirs mm/boehm-gc gnuclasspathnat"
5921 ac_config_files="$ac_config_files Makefile mm/Makefile toolbox/Makefile threads/Makefile jit/Makefile jit/loop/Makefile jit/alpha/Makefile jit/i386/Makefile jit/mips/Makefile jit/powerpc/Makefile jit/x86_64/Makefile nat/Makefile doc/Makefile tst/Makefile tst/kaffe/Makefile jvmtst/Makefile"
5922 cat >confcache <<\_ACEOF
5923 # This file is a shell script that caches the results of configure
5924 # tests run on this system so they can be shared between configure
5925 # scripts and configure runs, see configure's option --config-cache.
5926 # It is not useful on other systems. If it contains results you don't
5927 # want to keep, you may remove or edit it.
5929 # config.status only pays attention to the cache file if you give it
5930 # the --recheck option to rerun configure.
5932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5938 # The following way of writing the cache mishandles newlines in values,
5939 # but we know of no workaround that is simple, portable, and efficient.
5940 # So, don't put newlines in cache variables' values.
5941 # Ultrix sh set writes to stderr and can't be redirected directly,
5942 # and sets the high bit in the cache file unless we assign to the vars.
5945 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5947 # `set' does not quote correctly, so add quotes (double-quote
5948 # substitution turns \\\\ into \\, and sed turns \\ into \).
5951 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5954 # `set' quotes correctly as required by POSIX, so do not add quotes.
5956 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5963 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5965 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5967 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5968 if test -w $cache_file; then
5969 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5970 cat confcache >$cache_file
5972 echo "not updating unwritable cache $cache_file"
5977 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5978 # Let make expand exec_prefix.
5979 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5981 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5982 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5983 # trailing colons and then remove the whole line if VPATH becomes empty
5984 # (actually we leave an empty line to preserve line numbers).
5985 if test "x$srcdir" = x.; then
5986 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5987 s/:*\$(srcdir):*/:/;
5988 s/:*\${srcdir}:*/:/;
5990 s/^\([^=]*=[ ]*\):*/\1/;
5996 DEFS=-DHAVE_CONFIG_H
6000 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6001 # 1. Remove the extension, and $U if already installed.
6002 ac_i=`echo "$ac_i" |
6003 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6005 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6006 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6010 LTLIBOBJS=$ac_ltlibobjs
6013 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6014 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6015 Usually this means the macro was only invoked conditionally." >&5
6016 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6017 Usually this means the macro was only invoked conditionally." >&2;}
6018 { (exit 1); exit 1; }; }
6020 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6021 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6022 Usually this means the macro was only invoked conditionally." >&5
6023 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6024 Usually this means the macro was only invoked conditionally." >&2;}
6025 { (exit 1); exit 1; }; }
6028 : ${CONFIG_STATUS=./config.status}
6029 ac_clean_files_save=$ac_clean_files
6030 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6031 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6032 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6033 cat >$CONFIG_STATUS <<_ACEOF
6035 # Generated by $as_me.
6036 # Run this file to recreate the current configuration.
6037 # Compiler output produced by configure, useful for debugging
6038 # configure, is in config.log if it exists.
6043 SHELL=\${CONFIG_SHELL-$SHELL}
6046 cat >>$CONFIG_STATUS <<\_ACEOF
6047 ## --------------------- ##
6048 ## M4sh Initialization. ##
6049 ## --------------------- ##
6051 # Be Bourne compatible
6052 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6055 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6056 # is contrary to our usage. Disable this feature.
6057 alias -g '${1+"$@"}'='"$@"'
6058 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6061 DUALCASE=1; export DUALCASE # for MKS sh
6063 # Support unset when possible.
6064 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6071 # Work around bugs in pre-3.0 UWIN ksh.
6072 $as_unset ENV MAIL MAILPATH
6079 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6080 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6081 LC_TELEPHONE LC_TIME
6083 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6084 eval $as_var=C; export $as_var
6090 # Required to use basename.
6091 if expr a : '\(a\)' >/dev/null 2>&1; then
6097 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6098 as_basename=basename
6104 # Name of the executable.
6105 as_me=`$as_basename "$0" ||
6106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6107 X"$0" : 'X\(//\)$' \| \
6108 X"$0" : 'X\(/\)$' \| \
6109 . : '\(.\)' 2>/dev/null ||
6111 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6112 /^X\/\(\/\/\)$/{ s//\1/; q; }
6113 /^X\/\(\/\).*/{ s//\1/; q; }
6117 # PATH needs CR, and LINENO needs CR and PATH.
6118 # Avoid depending upon Character Ranges.
6119 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6120 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6121 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6122 as_cr_digits='0123456789'
6123 as_cr_alnum=$as_cr_Letters$as_cr_digits
6125 # The user is always right.
6126 if test "${PATH_SEPARATOR+set}" != set; then
6127 echo "#! /bin/sh" >conf$$.sh
6128 echo "exit 0" >>conf$$.sh
6130 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6142 test "x$as_lineno_1" != "x$as_lineno_2" &&
6143 test "x$as_lineno_3" = "x$as_lineno_2" || {
6144 # Find who we are. Look in the path if we contain no path at all
6147 *[\\/]* ) as_myself=$0 ;;
6148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6158 # We did not find ourselves, most probably we were run as `sh COMMAND'
6159 # in which case we are not to be found in the path.
6160 if test "x$as_myself" = x; then
6163 if test ! -f "$as_myself"; then
6164 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6165 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6166 { (exit 1); exit 1; }; }
6168 case $CONFIG_SHELL in
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6174 test -z "$as_dir" && as_dir=.
6175 for as_base in sh bash ksh sh5; do
6178 if ("$as_dir/$as_base" -c '
6181 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6182 test "x$as_lineno_1" != "x$as_lineno_2" &&
6183 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6184 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6185 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6186 CONFIG_SHELL=$as_dir/$as_base
6188 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6196 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6197 # uniformly replaced by the line number. The first 'sed' inserts a
6198 # line-number line before each line; the second 'sed' does the real
6199 # work. The second script uses 'N' to pair each line-number line
6200 # with the numbered line, and appends trailing '-' during
6201 # substitution so that $LINENO is not a special case at line end.
6202 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6203 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6204 sed '=' <$as_myself |
6209 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6212 s,^['$as_cr_digits']*\n,,
6214 chmod +x $as_me.lineno ||
6215 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6216 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6217 { (exit 1); exit 1; }; }
6219 # Don't try to exec as it changes $[0], causing all sort of problems
6220 # (the dirname of $[0] is not the place where we might find the
6221 # original and so on. Autoconf is especially sensible to this).
6223 # Exit status is that of the last command.
6228 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6229 *c*,-n*) ECHO_N= ECHO_C='
6231 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6232 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6235 if expr a : '\(a\)' >/dev/null 2>&1; then
6241 rm -f conf$$ conf$$.exe conf$$.file
6243 if ln -s conf$$.file conf$$ 2>/dev/null; then
6244 # We could just check for DJGPP; but this test a) works b) is more generic
6245 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6246 if test -f conf$$.exe; then
6247 # Don't use ln at all; we don't have any links
6252 elif ln conf$$.file conf$$ 2>/dev/null; then
6257 rm -f conf$$ conf$$.exe conf$$.file
6259 if mkdir -p . 2>/dev/null; then
6262 test -d ./-p && rmdir ./-p
6266 as_executable_p="test -f"
6268 # Sed expression to map a string onto a valid CPP name.
6269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6271 # Sed expression to map a string onto a valid variable name.
6272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6276 # We need space, tab and new line, in precisely that order.
6286 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6287 # report actual input values of CONFIG_FILES etc. instead of their
6288 # values after options handling. Logging --version etc. is OK.
6292 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6293 ## Running $as_me. ##
6298 This file was extended by $as_me, which was
6299 generated by GNU Autoconf 2.59. Invocation command line was
6301 CONFIG_FILES = $CONFIG_FILES
6302 CONFIG_HEADERS = $CONFIG_HEADERS
6303 CONFIG_LINKS = $CONFIG_LINKS
6304 CONFIG_COMMANDS = $CONFIG_COMMANDS
6308 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6312 # Files that config.status was made for.
6313 if test -n "$ac_config_files"; then
6314 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6317 if test -n "$ac_config_headers"; then
6318 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6321 if test -n "$ac_config_links"; then
6322 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6325 if test -n "$ac_config_commands"; then
6326 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6329 cat >>$CONFIG_STATUS <<\_ACEOF
6332 \`$as_me' instantiates files from templates according to the
6333 current configuration.
6335 Usage: $0 [OPTIONS] [FILE]...
6337 -h, --help print this help, then exit
6338 -V, --version print version number, then exit
6339 -q, --quiet do not print progress messages
6340 -d, --debug don't remove temporary files
6341 --recheck update $as_me by reconfiguring in the same conditions
6342 --file=FILE[:TEMPLATE]
6343 instantiate the configuration file FILE
6344 --header=FILE[:TEMPLATE]
6345 instantiate the configuration header FILE
6347 Configuration files:
6350 Configuration headers:
6353 Configuration commands:
6356 Report bugs to <bug-autoconf@gnu.org>."
6359 cat >>$CONFIG_STATUS <<_ACEOF
6362 configured by $0, generated by GNU Autoconf 2.59,
6363 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6365 Copyright (C) 2003 Free Software Foundation, Inc.
6366 This config.status script is free software; the Free Software Foundation
6367 gives unlimited permission to copy, distribute and modify it."
6372 cat >>$CONFIG_STATUS <<\_ACEOF
6373 # If no file are specified by the user, then we need to provide default
6374 # value. By we need to know if files were specified by the user.
6380 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6381 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6389 *) # This is not an option, so the user has probably given explicit
6392 ac_need_defaults=false;;
6396 # Handling of the options.
6398 cat >>$CONFIG_STATUS <<\_ACEOF
6399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6401 --version | --vers* | -V )
6402 echo "$ac_cs_version"; exit 0 ;;
6404 # Conflict between --help and --header
6405 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6406 Try \`$0 --help' for more information." >&5
6407 echo "$as_me: error: ambiguous option: $1
6408 Try \`$0 --help' for more information." >&2;}
6409 { (exit 1); exit 1; }; };;
6410 --help | --hel | -h )
6411 echo "$ac_cs_usage"; exit 0 ;;
6412 --debug | --d* | -d )
6414 --file | --fil | --fi | --f )
6416 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6417 ac_need_defaults=false;;
6418 --header | --heade | --head | --hea )
6420 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6421 ac_need_defaults=false;;
6422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6423 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6427 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6428 Try \`$0 --help' for more information." >&5
6429 echo "$as_me: error: unrecognized option: $1
6430 Try \`$0 --help' for more information." >&2;}
6431 { (exit 1); exit 1; }; } ;;
6433 *) ac_config_targets="$ac_config_targets $1" ;;
6439 ac_configure_extra_args=
6441 if $ac_cs_silent; then
6443 ac_configure_extra_args="$ac_configure_extra_args --silent"
6447 cat >>$CONFIG_STATUS <<_ACEOF
6448 if \$ac_cs_recheck; then
6449 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6450 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6455 cat >>$CONFIG_STATUS <<_ACEOF
6457 # INIT-COMMANDS section.
6460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6466 cat >>$CONFIG_STATUS <<\_ACEOF
6467 for ac_config_target in $ac_config_targets
6469 case "$ac_config_target" in
6470 # Handling of arguments.
6471 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6472 "mm/Makefile" ) CONFIG_FILES="$CONFIG_FILES mm/Makefile" ;;
6473 "toolbox/Makefile" ) CONFIG_FILES="$CONFIG_FILES toolbox/Makefile" ;;
6474 "threads/Makefile" ) CONFIG_FILES="$CONFIG_FILES threads/Makefile" ;;
6475 "jit/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/Makefile" ;;
6476 "jit/loop/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/loop/Makefile" ;;
6477 "jit/alpha/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/alpha/Makefile" ;;
6478 "jit/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/i386/Makefile" ;;
6479 "jit/mips/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/mips/Makefile" ;;
6480 "jit/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/powerpc/Makefile" ;;
6481 "jit/x86_64/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/x86_64/Makefile" ;;
6482 "nat/Makefile" ) CONFIG_FILES="$CONFIG_FILES nat/Makefile" ;;
6483 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6484 "tst/Makefile" ) CONFIG_FILES="$CONFIG_FILES tst/Makefile" ;;
6485 "tst/kaffe/Makefile" ) CONFIG_FILES="$CONFIG_FILES tst/kaffe/Makefile" ;;
6486 "jvmtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES jvmtst/Makefile" ;;
6487 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6488 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6489 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6490 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6491 { (exit 1); exit 1; }; };;
6495 # If the user did not use the arguments to specify the items to instantiate,
6496 # then the envvar interface is used. Set only those that are not.
6497 # We use the long form for the default assignment because of an extremely
6498 # bizarre bug on SunOS 4.1.3.
6499 if $ac_need_defaults; then
6500 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6501 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6502 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6505 # Have a temporary directory for convenience. Make it in the build tree
6506 # simply because there is no reason to put it here, and in addition,
6507 # creating and moving files from /tmp can sometimes cause problems.
6508 # Create a temporary directory, and hook for its removal unless debugging.
6511 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6512 trap '{ (exit 1); exit 1; }' 1 2 13 15
6515 # Create a (secure) tmp directory for tmp files.
6518 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6519 test -n "$tmp" && test -d "$tmp"
6522 tmp=./confstat$$-$RANDOM
6523 (umask 077 && mkdir $tmp)
6526 echo "$me: cannot create a temporary directory in ." >&2
6527 { (exit 1); exit 1; }
6532 cat >>$CONFIG_STATUS <<_ACEOF
6535 # CONFIG_FILES section.
6538 # No need to generate the scripts if there are no CONFIG_FILES.
6539 # This happens for instance when ./config.status config.h
6540 if test -n "\$CONFIG_FILES"; then
6541 # Protect against being on the right side of a sed subst in config.status.
6542 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6543 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6544 s,@SHELL@,$SHELL,;t t
6545 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6546 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6547 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6548 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6549 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6550 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6551 s,@exec_prefix@,$exec_prefix,;t t
6552 s,@prefix@,$prefix,;t t
6553 s,@program_transform_name@,$program_transform_name,;t t
6554 s,@bindir@,$bindir,;t t
6555 s,@sbindir@,$sbindir,;t t
6556 s,@libexecdir@,$libexecdir,;t t
6557 s,@datadir@,$datadir,;t t
6558 s,@sysconfdir@,$sysconfdir,;t t
6559 s,@sharedstatedir@,$sharedstatedir,;t t
6560 s,@localstatedir@,$localstatedir,;t t
6561 s,@libdir@,$libdir,;t t
6562 s,@includedir@,$includedir,;t t
6563 s,@oldincludedir@,$oldincludedir,;t t
6564 s,@infodir@,$infodir,;t t
6565 s,@mandir@,$mandir,;t t
6566 s,@build_alias@,$build_alias,;t t
6567 s,@host_alias@,$host_alias,;t t
6568 s,@target_alias@,$target_alias,;t t
6570 s,@ECHO_C@,$ECHO_C,;t t
6571 s,@ECHO_N@,$ECHO_N,;t t
6572 s,@ECHO_T@,$ECHO_T,;t t
6574 s,@build@,$build,;t t
6575 s,@build_cpu@,$build_cpu,;t t
6576 s,@build_vendor@,$build_vendor,;t t
6577 s,@build_os@,$build_os,;t t
6579 s,@host_cpu@,$host_cpu,;t t
6580 s,@host_vendor@,$host_vendor,;t t
6581 s,@host_os@,$host_os,;t t
6582 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6583 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6584 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6585 s,@CYGPATH_W@,$CYGPATH_W,;t t
6586 s,@PACKAGE@,$PACKAGE,;t t
6587 s,@VERSION@,$VERSION,;t t
6588 s,@ACLOCAL@,$ACLOCAL,;t t
6589 s,@AUTOCONF@,$AUTOCONF,;t t
6590 s,@AUTOMAKE@,$AUTOMAKE,;t t
6591 s,@AUTOHEADER@,$AUTOHEADER,;t t
6592 s,@MAKEINFO@,$MAKEINFO,;t t
6593 s,@AMTAR@,$AMTAR,;t t
6594 s,@install_sh@,$install_sh,;t t
6595 s,@STRIP@,$STRIP,;t t
6596 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6597 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6598 s,@mkdir_p@,$mkdir_p,;t t
6600 s,@SET_MAKE@,$SET_MAKE,;t t
6601 s,@am__leading_dot@,$am__leading_dot,;t t
6602 s,@COMPILER_OBJECTS@,$COMPILER_OBJECTS,;t t
6603 s,@ARCH_DIR@,$ARCH_DIR,;t t
6605 s,@CFLAGS@,$CFLAGS,;t t
6606 s,@LDFLAGS@,$LDFLAGS,;t t
6607 s,@CPPFLAGS@,$CPPFLAGS,;t t
6608 s,@ac_ct_CC@,$ac_ct_CC,;t t
6609 s,@EXEEXT@,$EXEEXT,;t t
6610 s,@OBJEXT@,$OBJEXT,;t t
6611 s,@DEPDIR@,$DEPDIR,;t t
6612 s,@am__include@,$am__include,;t t
6613 s,@am__quote@,$am__quote,;t t
6614 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6615 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6616 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6617 s,@CCDEPMODE@,$CCDEPMODE,;t t
6618 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6619 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6621 s,@CCASFLAGS@,$CCASFLAGS,;t t
6622 s,@RANLIB@,$RANLIB,;t t
6623 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6625 s,@EGREP@,$EGREP,;t t
6626 s,@LIBOBJS@,$LIBOBJS,;t t
6627 s,@LIBTHREAD@,$LIBTHREAD,;t t
6628 s,@THREAD_OBJ@,$THREAD_OBJ,;t t
6629 s,@ZIP_LIBS@,$ZIP_LIBS,;t t
6630 s,@ZIP_C@,$ZIP_C,;t t
6631 s,@USEGTK@,$USEGTK,;t t
6632 s,@AWTPEERS@,$AWTPEERS,;t t
6633 s,@AWT_OBJS@,$AWT_OBJS,;t t
6634 s,@subdirs@,$subdirs,;t t
6635 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6640 cat >>$CONFIG_STATUS <<\_ACEOF
6641 # Split the substitutions into bite-sized pieces for seds with
6642 # small command number limits, like on Digital OSF/1 and HP-UX.
6644 ac_sed_frag=1 # Number of current file.
6645 ac_beg=1 # First line for current file.
6646 ac_end=$ac_max_sed_lines # Line after last line for current file.
6649 while $ac_more_lines; do
6650 if test $ac_beg -gt 1; then
6651 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6653 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6655 if test ! -s $tmp/subs.frag; then
6658 # The purpose of the label and of the branching condition is to
6659 # speed up the sed processing (if there are no `@' at all, there
6660 # is no need to browse any of the substitutions).
6661 # These are the two extra sed commands mentioned above.
6663 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6664 if test -z "$ac_sed_cmds"; then
6665 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6667 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6669 ac_sed_frag=`expr $ac_sed_frag + 1`
6671 ac_end=`expr $ac_end + $ac_max_sed_lines`
6674 if test -z "$ac_sed_cmds"; then
6677 fi # test -n "$CONFIG_FILES"
6680 cat >>$CONFIG_STATUS <<\_ACEOF
6681 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6682 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6684 - | *:- | *:-:* ) # input from stdin
6686 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6687 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6688 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6689 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6690 * ) ac_file_in=$ac_file.in ;;
6693 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6694 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6696 X"$ac_file" : 'X\(//\)[^/]' \| \
6697 X"$ac_file" : 'X\(//\)$' \| \
6698 X"$ac_file" : 'X\(/\)' \| \
6699 . : '\(.\)' 2>/dev/null ||
6701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6703 /^X\(\/\/\)$/{ s//\1/; q; }
6704 /^X\(\/\).*/{ s//\1/; q; }
6706 { if $as_mkdir_p; then
6711 while test ! -d "$as_dir"; do
6712 as_dirs="$as_dir $as_dirs"
6713 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6715 X"$as_dir" : 'X\(//\)[^/]' \| \
6716 X"$as_dir" : 'X\(//\)$' \| \
6717 X"$as_dir" : 'X\(/\)' \| \
6718 . : '\(.\)' 2>/dev/null ||
6720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6722 /^X\(\/\/\)$/{ s//\1/; q; }
6723 /^X\(\/\).*/{ s//\1/; q; }
6726 test ! -n "$as_dirs" || mkdir $as_dirs
6727 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6728 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6729 { (exit 1); exit 1; }; }; }
6733 if test "$ac_dir" != .; then
6734 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6735 # A "../" for each directory in $ac_dir_suffix.
6736 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6738 ac_dir_suffix= ac_top_builddir=
6742 .) # No --srcdir option. We are building in place.
6744 if test -z "$ac_top_builddir"; then
6747 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6749 [\\/]* | ?:[\\/]* ) # Absolute path.
6750 ac_srcdir=$srcdir$ac_dir_suffix;
6751 ac_top_srcdir=$srcdir ;;
6753 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6754 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6757 # Do not use `cd foo && pwd` to compute absolute paths, because
6758 # the directories may not exist.
6760 .) ac_abs_builddir="$ac_dir";;
6763 .) ac_abs_builddir=`pwd`;;
6764 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6765 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6768 case $ac_abs_builddir in
6769 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6771 case ${ac_top_builddir}. in
6772 .) ac_abs_top_builddir=$ac_abs_builddir;;
6773 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6774 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6777 case $ac_abs_builddir in
6778 .) ac_abs_srcdir=$ac_srcdir;;
6781 .) ac_abs_srcdir=$ac_abs_builddir;;
6782 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6783 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6786 case $ac_abs_builddir in
6787 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6789 case $ac_top_srcdir in
6790 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6791 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6792 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6798 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6799 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6802 # Let's still pretend it is `configure' which instantiates (i.e., don't
6803 # use $as_me), people would be surprised to read:
6804 # /* config.h. Generated by config.status. */
6805 if test x"$ac_file" = x-; then
6808 configure_input="$ac_file. "
6810 configure_input=$configure_input"Generated from `echo $ac_file_in |
6811 sed 's,.*/,,'` by configure."
6813 # First look for the input files in the build tree, otherwise in the
6815 ac_file_inputs=`IFS=:
6816 for f in $ac_file_in; do
6818 -) echo $tmp/stdin ;;
6820 # Absolute (can't be DOS-style, as IFS=:)
6821 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6822 echo "$as_me: error: cannot find input file: $f" >&2;}
6823 { (exit 1); exit 1; }; }
6826 if test -f "$f"; then
6829 elif test -f "$srcdir/$f"; then
6834 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6835 echo "$as_me: error: cannot find input file: $f" >&2;}
6836 { (exit 1); exit 1; }; }
6839 done` || { (exit 1); exit 1; }
6841 if test x"$ac_file" != x-; then
6842 { echo "$as_me:$LINENO: creating $ac_file" >&5
6843 echo "$as_me: creating $ac_file" >&6;}
6847 cat >>$CONFIG_STATUS <<_ACEOF
6851 cat >>$CONFIG_STATUS <<\_ACEOF
6853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6854 s,@configure_input@,$configure_input,;t t
6855 s,@srcdir@,$ac_srcdir,;t t
6856 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6857 s,@top_srcdir@,$ac_top_srcdir,;t t
6858 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6859 s,@builddir@,$ac_builddir,;t t
6860 s,@abs_builddir@,$ac_abs_builddir,;t t
6861 s,@top_builddir@,$ac_top_builddir,;t t
6862 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6863 s,@INSTALL@,$ac_INSTALL,;t t
6864 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6866 if test x"$ac_file" != x-; then
6867 mv $tmp/out $ac_file
6875 cat >>$CONFIG_STATUS <<\_ACEOF
6878 # CONFIG_HEADER section.
6881 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6882 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6884 # ac_d sets the value in "#define NAME VALUE" lines.
6885 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6886 ac_dB='[ ].*$,\1#\2'
6889 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6890 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6891 ac_uB='$,\1#\2define\3'
6895 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6896 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6898 - | *:- | *:-:* ) # input from stdin
6900 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6901 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6902 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6903 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6904 * ) ac_file_in=$ac_file.in ;;
6907 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6908 echo "$as_me: creating $ac_file" >&6;}
6910 # First look for the input files in the build tree, otherwise in the
6912 ac_file_inputs=`IFS=:
6913 for f in $ac_file_in; do
6915 -) echo $tmp/stdin ;;
6917 # Absolute (can't be DOS-style, as IFS=:)
6918 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6919 echo "$as_me: error: cannot find input file: $f" >&2;}
6920 { (exit 1); exit 1; }; }
6921 # Do quote $f, to prevent DOS paths from being IFS'd.
6924 if test -f "$f"; then
6927 elif test -f "$srcdir/$f"; then
6932 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6933 echo "$as_me: error: cannot find input file: $f" >&2;}
6934 { (exit 1); exit 1; }; }
6937 done` || { (exit 1); exit 1; }
6938 # Remove the trailing spaces.
6939 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6943 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6944 # `conftest.undefs', that substitutes the proper values into
6945 # config.h.in to produce config.h. The first handles `#define'
6946 # templates, and the second `#undef' templates.
6947 # And first: Protect against being on the right side of a sed subst in
6948 # config.status. Protect against being in an unquoted here document
6950 rm -f conftest.defines conftest.undefs
6951 # Using a here document instead of a string reduces the quoting nightmare.
6952 # Putting comments in sed scripts is not portable.
6954 # `end' is used to avoid that the second main sed command (meant for
6955 # 0-ary CPP macros) applies to n-ary macro definitions.
6956 # See the Autoconf documentation for `clear'.
6957 cat >confdef2sed.sed <<\_ACEOF
6962 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6964 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6967 # If some macros were called several times there might be several times
6968 # the same #defines, which is useless. Nevertheless, we may not want to
6969 # sort them, since we want the *last* AC-DEFINE to be honored.
6970 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6971 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6972 rm -f confdef2sed.sed
6974 # This sed command replaces #undef with comments. This is necessary, for
6975 # example, in the case of _POSIX_SOURCE, which is predefined and required
6976 # on some systems where configure will not decide to define it.
6977 cat >>conftest.undefs <<\_ACEOF
6978 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6981 # Break up conftest.defines because some shells have a limit on the size
6982 # of here documents, and old seds have small limits too (100 cmds).
6983 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6984 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6985 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6986 echo ' :' >>$CONFIG_STATUS
6988 while grep . conftest.defines >/dev/null
6990 # Write a limited-size here document to $tmp/defines.sed.
6991 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6992 # Speed up: don't consider the non `#define' lines.
6993 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6994 # Work around the forget-to-reset-the-flag bug.
6995 echo 't clr' >>$CONFIG_STATUS
6996 echo ': clr' >>$CONFIG_STATUS
6997 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6999 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7003 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7004 rm -f conftest.defines
7005 mv conftest.tail conftest.defines
7007 rm -f conftest.defines
7008 echo ' fi # grep' >>$CONFIG_STATUS
7009 echo >>$CONFIG_STATUS
7011 # Break up conftest.undefs because some shells have a limit on the size
7012 # of here documents, and old seds have small limits too (100 cmds).
7013 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7015 while grep . conftest.undefs >/dev/null
7017 # Write a limited-size here document to $tmp/undefs.sed.
7018 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7019 # Speed up: don't consider the non `#undef'
7020 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7021 # Work around the forget-to-reset-the-flag bug.
7022 echo 't clr' >>$CONFIG_STATUS
7023 echo ': clr' >>$CONFIG_STATUS
7024 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7026 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7030 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7031 rm -f conftest.undefs
7032 mv conftest.tail conftest.undefs
7034 rm -f conftest.undefs
7036 cat >>$CONFIG_STATUS <<\_ACEOF
7037 # Let's still pretend it is `configure' which instantiates (i.e., don't
7038 # use $as_me), people would be surprised to read:
7039 # /* config.h. Generated by config.status. */
7040 if test x"$ac_file" = x-; then
7041 echo "/* Generated by configure. */" >$tmp/config.h
7043 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7045 cat $tmp/in >>$tmp/config.h
7047 if test x"$ac_file" != x-; then
7048 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7049 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7050 echo "$as_me: $ac_file is unchanged" >&6;}
7052 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7053 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7054 X"$ac_file" : 'X\(//\)[^/]' \| \
7055 X"$ac_file" : 'X\(//\)$' \| \
7056 X"$ac_file" : 'X\(/\)' \| \
7057 . : '\(.\)' 2>/dev/null ||
7059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7061 /^X\(\/\/\)$/{ s//\1/; q; }
7062 /^X\(\/\).*/{ s//\1/; q; }
7064 { if $as_mkdir_p; then
7069 while test ! -d "$as_dir"; do
7070 as_dirs="$as_dir $as_dirs"
7071 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7073 X"$as_dir" : 'X\(//\)[^/]' \| \
7074 X"$as_dir" : 'X\(//\)$' \| \
7075 X"$as_dir" : 'X\(/\)' \| \
7076 . : '\(.\)' 2>/dev/null ||
7078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7080 /^X\(\/\/\)$/{ s//\1/; q; }
7081 /^X\(\/\).*/{ s//\1/; q; }
7084 test ! -n "$as_dirs" || mkdir $as_dirs
7085 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7086 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7087 { (exit 1); exit 1; }; }; }
7090 mv $tmp/config.h $ac_file
7096 # Compute $ac_file's index in $config_headers.
7098 for _am_header in $config_headers :; do
7100 $ac_file | $ac_file:* )
7103 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7106 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7107 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7108 X$ac_file : 'X\(//\)[^/]' \| \
7109 X$ac_file : 'X\(//\)$' \| \
7110 X$ac_file : 'X\(/\)' \| \
7111 . : '\(.\)' 2>/dev/null ||
7113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7115 /^X\(\/\/\)$/{ s//\1/; q; }
7116 /^X\(\/\).*/{ s//\1/; q; }
7117 s/.*/./; q'`/stamp-h$_am_stamp_count
7120 cat >>$CONFIG_STATUS <<\_ACEOF
7123 # CONFIG_COMMANDS section.
7125 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7126 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7127 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7128 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7129 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7130 X"$ac_dest" : 'X\(//\)[^/]' \| \
7131 X"$ac_dest" : 'X\(//\)$' \| \
7132 X"$ac_dest" : 'X\(/\)' \| \
7133 . : '\(.\)' 2>/dev/null ||
7135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7137 /^X\(\/\/\)$/{ s//\1/; q; }
7138 /^X\(\/\).*/{ s//\1/; q; }
7140 { if $as_mkdir_p; then
7145 while test ! -d "$as_dir"; do
7146 as_dirs="$as_dir $as_dirs"
7147 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7149 X"$as_dir" : 'X\(//\)[^/]' \| \
7150 X"$as_dir" : 'X\(//\)$' \| \
7151 X"$as_dir" : 'X\(/\)' \| \
7152 . : '\(.\)' 2>/dev/null ||
7154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7156 /^X\(\/\/\)$/{ s//\1/; q; }
7157 /^X\(\/\).*/{ s//\1/; q; }
7160 test ! -n "$as_dirs" || mkdir $as_dirs
7161 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7163 { (exit 1); exit 1; }; }; }
7167 if test "$ac_dir" != .; then
7168 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7169 # A "../" for each directory in $ac_dir_suffix.
7170 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7172 ac_dir_suffix= ac_top_builddir=
7176 .) # No --srcdir option. We are building in place.
7178 if test -z "$ac_top_builddir"; then
7181 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7183 [\\/]* | ?:[\\/]* ) # Absolute path.
7184 ac_srcdir=$srcdir$ac_dir_suffix;
7185 ac_top_srcdir=$srcdir ;;
7187 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7188 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7191 # Do not use `cd foo && pwd` to compute absolute paths, because
7192 # the directories may not exist.
7194 .) ac_abs_builddir="$ac_dir";;
7197 .) ac_abs_builddir=`pwd`;;
7198 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7199 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7202 case $ac_abs_builddir in
7203 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7205 case ${ac_top_builddir}. in
7206 .) ac_abs_top_builddir=$ac_abs_builddir;;
7207 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7208 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7211 case $ac_abs_builddir in
7212 .) ac_abs_srcdir=$ac_srcdir;;
7215 .) ac_abs_srcdir=$ac_abs_builddir;;
7216 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7217 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7220 case $ac_abs_builddir in
7221 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7223 case $ac_top_srcdir in
7224 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7225 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7226 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7231 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7232 echo "$as_me: executing $ac_dest commands" >&6;}
7234 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7235 # Strip MF so we end up with the name of the file.
7236 mf=`echo "$mf" | sed -e 's/:.*$//'`
7237 # Check whether this is an Automake generated Makefile or not.
7238 # We used to match only the files named `Makefile.in', but
7239 # some people rename them; so instead we look at the file content.
7240 # Grep'ing the first line is not enough: some people post-process
7241 # each Makefile.in and add a new line on top of each file to say so.
7242 # So let's grep whole file.
7243 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7244 dirpart=`(dirname "$mf") 2>/dev/null ||
7245 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7246 X"$mf" : 'X\(//\)[^/]' \| \
7247 X"$mf" : 'X\(//\)$' \| \
7248 X"$mf" : 'X\(/\)' \| \
7249 . : '\(.\)' 2>/dev/null ||
7251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7253 /^X\(\/\/\)$/{ s//\1/; q; }
7254 /^X\(\/\).*/{ s//\1/; q; }
7259 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7260 # Extract the definition of DEP_FILES from the Makefile without
7262 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7263 test -z "$DEPDIR" && continue
7264 # When using ansi2knr, U may be empty or an underscore; expand it
7265 U=`sed -n -e '/^U = / s///p' < "$mf"`
7266 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7267 # We invoke sed twice because it is the simplest approach to
7268 # changing $(DEPDIR) to its actual value in the expansion.
7269 for file in `sed -n -e '
7270 /^DEP_FILES = .*\\\\$/ {
7279 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7280 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7281 # Make sure the directory exists.
7282 test -f "$dirpart/$file" && continue
7283 fdir=`(dirname "$file") 2>/dev/null ||
7284 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7285 X"$file" : 'X\(//\)[^/]' \| \
7286 X"$file" : 'X\(//\)$' \| \
7287 X"$file" : 'X\(/\)' \| \
7288 . : '\(.\)' 2>/dev/null ||
7290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7291 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7292 /^X\(\/\/\)$/{ s//\1/; q; }
7293 /^X\(\/\).*/{ s//\1/; q; }
7295 { if $as_mkdir_p; then
7296 mkdir -p $dirpart/$fdir
7298 as_dir=$dirpart/$fdir
7300 while test ! -d "$as_dir"; do
7301 as_dirs="$as_dir $as_dirs"
7302 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7304 X"$as_dir" : 'X\(//\)[^/]' \| \
7305 X"$as_dir" : 'X\(//\)$' \| \
7306 X"$as_dir" : 'X\(/\)' \| \
7307 . : '\(.\)' 2>/dev/null ||
7309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7311 /^X\(\/\/\)$/{ s//\1/; q; }
7312 /^X\(\/\).*/{ s//\1/; q; }
7315 test ! -n "$as_dirs" || mkdir $as_dirs
7316 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7317 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7318 { (exit 1); exit 1; }; }; }
7320 # echo "creating $dirpart/$file"
7321 echo '# dummy' > "$dirpart/$file"
7329 cat >>$CONFIG_STATUS <<\_ACEOF
7331 { (exit 0); exit 0; }
7333 chmod +x $CONFIG_STATUS
7334 ac_clean_files=$ac_clean_files_save
7337 # configure is writing to config.log, and then calls config.status.
7338 # config.status does its own redirection, appending to config.log.
7339 # Unfortunately, on DOS this fails, as config.log is still kept open
7340 # by configure, so config.status won't be able to write to it; its
7341 # output is simply discarded. So we exec the FD to /dev/null,
7342 # effectively closing config.log, so it can be properly (re)opened and
7343 # appended to by config.status. When coming back to configure, we
7344 # need to make the FD available again.
7345 if test "$no_create" != yes; then
7347 ac_config_status_args=
7348 test "$silent" = yes &&
7349 ac_config_status_args="$ac_config_status_args --quiet"
7351 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7353 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7354 # would make configure fail if this is the last instruction.
7355 $ac_cs_success || { (exit 1); exit 1; }
7359 # CONFIG_SUBDIRS section.
7361 if test "$no_recursion" != yes; then
7363 # Remove --cache-file and --srcdir arguments so they do not pile up.
7364 ac_sub_configure_args=
7366 for ac_arg in $ac_configure_args; do
7367 if test -n "$ac_prev"; then
7372 -cache-file | --cache-file | --cache-fil | --cache-fi \
7373 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7374 ac_prev=cache_file ;;
7375 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7376 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
7379 --config-cache | -C)
7381 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7383 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7385 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7387 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7389 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
7393 # Always prepend --prefix to ensure using the same prefix
7394 # in subdir configurations.
7395 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
7398 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
7400 # Do not complain, so a configure script can configure whichever
7401 # parts of a large source tree are present.
7402 test -d $srcdir/$ac_dir || continue
7404 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7405 echo "$as_me: configuring in $ac_dir" >&6;}
7406 { if $as_mkdir_p; then
7411 while test ! -d "$as_dir"; do
7412 as_dirs="$as_dir $as_dirs"
7413 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7415 X"$as_dir" : 'X\(//\)[^/]' \| \
7416 X"$as_dir" : 'X\(//\)$' \| \
7417 X"$as_dir" : 'X\(/\)' \| \
7418 . : '\(.\)' 2>/dev/null ||
7420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7422 /^X\(\/\/\)$/{ s//\1/; q; }
7423 /^X\(\/\).*/{ s//\1/; q; }
7426 test ! -n "$as_dirs" || mkdir $as_dirs
7427 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7428 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7429 { (exit 1); exit 1; }; }; }
7433 if test "$ac_dir" != .; then
7434 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7435 # A "../" for each directory in $ac_dir_suffix.
7436 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7438 ac_dir_suffix= ac_top_builddir=
7442 .) # No --srcdir option. We are building in place.
7444 if test -z "$ac_top_builddir"; then
7447 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7449 [\\/]* | ?:[\\/]* ) # Absolute path.
7450 ac_srcdir=$srcdir$ac_dir_suffix;
7451 ac_top_srcdir=$srcdir ;;
7453 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7454 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7457 # Do not use `cd foo && pwd` to compute absolute paths, because
7458 # the directories may not exist.
7460 .) ac_abs_builddir="$ac_dir";;
7463 .) ac_abs_builddir=`pwd`;;
7464 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7465 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7468 case $ac_abs_builddir in
7469 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7471 case ${ac_top_builddir}. in
7472 .) ac_abs_top_builddir=$ac_abs_builddir;;
7473 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7474 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7477 case $ac_abs_builddir in
7478 .) ac_abs_srcdir=$ac_srcdir;;
7481 .) ac_abs_srcdir=$ac_abs_builddir;;
7482 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7483 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7486 case $ac_abs_builddir in
7487 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7489 case $ac_top_srcdir in
7490 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7491 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7492 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7499 # Check for guested configure; otherwise get Cygnus style configure.
7500 if test -f $ac_srcdir/configure.gnu; then
7501 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
7502 elif test -f $ac_srcdir/configure; then
7503 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
7504 elif test -f $ac_srcdir/configure.in; then
7505 ac_sub_configure=$ac_configure
7507 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7508 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7512 # The recursion is here.
7513 if test -n "$ac_sub_configure"; then
7514 # Make the cache file name correct relative to the subdirectory.
7516 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7518 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7521 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7522 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7523 # The eval makes quoting arguments work.
7524 eval $ac_sub_configure $ac_sub_configure_args \
7525 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7526 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7527 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7528 { (exit 1); exit 1; }; }