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 --version . >/dev/null 2>&1 && test ! -d ./--version; 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
1562 for d in ./-p ./--version;
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"
2456 || test ! -s conftest.err'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; } &&
2462 { ac_try='test -s conftest.$ac_objext'
2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }; }; then
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2476 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2479 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2480 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2481 GCC=`test $ac_compiler_gnu = yes && echo yes`
2482 ac_test_CFLAGS=${CFLAGS+set}
2483 ac_save_CFLAGS=$CFLAGS
2485 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2486 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2487 if test "${ac_cv_prog_cc_g+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 cat >conftest.$ac_ext <<_ACEOF
2493 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2505 rm -f conftest.$ac_objext
2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507 (eval $ac_compile) 2>conftest.er1
2509 grep -v '^ *+' conftest.er1 >conftest.err
2511 cat conftest.err >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); } &&
2514 { ac_try='test -z "$ac_c_werror_flag"
2515 || test ! -s conftest.err'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; } &&
2521 { ac_try='test -s conftest.$ac_objext'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2536 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2537 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2538 if test "$ac_test_CFLAGS" = set; then
2539 CFLAGS=$ac_save_CFLAGS
2540 elif test $ac_cv_prog_cc_g = yes; then
2541 if test "$GCC" = yes; then
2547 if test "$GCC" = yes; then
2553 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2554 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2555 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 ac_cv_prog_cc_stdc=no
2560 cat >conftest.$ac_ext <<_ACEOF
2563 cat confdefs.h >>conftest.$ac_ext
2564 cat >>conftest.$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2568 #include <sys/types.h>
2569 #include <sys/stat.h>
2570 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2571 struct buf { int x; };
2572 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2573 static char *e (p, i)
2579 static char *f (char * (*g) (char **, int), char **p, ...)
2584 s = g (p, va_arg (v,int));
2589 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2590 function prototypes and stuff, but not '\xHH' hex character constants.
2591 These don't provoke an error unfortunately, instead are silently treated
2592 as 'x'. The following induces an error, until -std1 is added to get
2593 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2594 array size at least. It's necessary to write '\x00'==0 to get something
2595 that's true only with -std1. */
2596 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2598 int test (int i, double x);
2599 struct s1 {int (*f) (int a);};
2600 struct s2 {int (*f) (double a);};
2601 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2607 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2612 # Don't try gcc -ansi; that turns off useful extensions and
2613 # breaks some systems' header files.
2614 # AIX -qlanglvl=ansi
2615 # Ultrix and OSF/1 -std1
2616 # HP-UX 10.20 and later -Ae
2617 # HP-UX older versions -Aa -D_HPUX_SOURCE
2618 # SVR4 -Xc -D__EXTENSIONS__
2619 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2621 CC="$ac_save_CC $ac_arg"
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2626 grep -v '^ *+' conftest.er1 >conftest.err
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try='test -z "$ac_c_werror_flag"
2632 || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2644 ac_cv_prog_cc_stdc=$ac_arg
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2651 rm -f conftest.err conftest.$ac_objext
2653 rm -f conftest.$ac_ext conftest.$ac_objext
2658 case "x$ac_cv_prog_cc_stdc" in
2660 echo "$as_me:$LINENO: result: none needed" >&5
2661 echo "${ECHO_T}none needed" >&6 ;;
2663 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2664 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2665 CC="$CC $ac_cv_prog_cc_stdc" ;;
2668 # Some people use a C++ compiler to compile C. Since we use `exit',
2669 # in C++ we need to declare it. In case someone uses the same compiler
2670 # for both compiling C and C++ we need to have the C++ compiler decide
2671 # the declaration of exit, since it's the most demanding environment.
2672 cat >conftest.$ac_ext <<_ACEOF
2677 rm -f conftest.$ac_objext
2678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2679 (eval $ac_compile) 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } &&
2686 { ac_try='test -z "$ac_c_werror_flag"
2687 || test ! -s conftest.err'
2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; } &&
2693 { ac_try='test -s conftest.$ac_objext'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; }; then
2699 for ac_declaration in \
2701 'extern "C" void std::exit (int) throw (); using std::exit;' \
2702 'extern "C" void std::exit (int); using std::exit;' \
2703 'extern "C" void exit (int) throw ();' \
2704 'extern "C" void exit (int);' \
2707 cat >conftest.$ac_ext <<_ACEOF
2710 cat confdefs.h >>conftest.$ac_ext
2711 cat >>conftest.$ac_ext <<_ACEOF
2712 /* end confdefs.h. */
2723 rm -f conftest.$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>conftest.er1
2727 grep -v '^ *+' conftest.er1 >conftest.err
2729 cat conftest.err >&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try='test -z "$ac_c_werror_flag"
2733 || test ! -s conftest.err'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; } &&
2739 { ac_try='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1 >conftest.err
2774 cat conftest.err >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try='test -z "$ac_c_werror_flag"
2778 || test ! -s conftest.err'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.$ac_ext >&5
2796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2799 if test -n "$ac_declaration"; then
2800 echo '#ifdef __cplusplus' >>confdefs.h
2801 echo $ac_declaration >>confdefs.h
2802 echo '#endif' >>confdefs.h
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2812 ac_cpp='$CPP $CPPFLAGS'
2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816 DEPDIR="${am__leading_dot}deps"
2818 ac_config_commands="$ac_config_commands depfiles"
2821 am_make=${MAKE-make}
2822 cat > confinc << 'END'
2827 # If we don't find an include directive, just comment out the code.
2828 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2829 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2833 # First try GNU make style include.
2834 echo "include confinc" > confmf
2835 # We grep out `Entering directory' and `Leaving directory'
2836 # messages which can occur if `w' ends up in MAKEFLAGS.
2837 # In particular we don't look at `^make:' because GNU make might
2838 # be invoked under some other name (usually "gmake"), in which
2839 # case it prints its new name instead of `make'.
2840 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2845 # Now try BSD make style include.
2846 if test "$am__include" = "#"; then
2847 echo '.include "confinc"' > confmf
2848 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2849 am__include=.include
2856 echo "$as_me:$LINENO: result: $_am_result" >&5
2857 echo "${ECHO_T}$_am_result" >&6
2858 rm -f confinc confmf
2860 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2861 if test "${enable_dependency_tracking+set}" = set; then
2862 enableval="$enable_dependency_tracking"
2865 if test "x$enable_dependency_tracking" != xno; then
2866 am_depcomp="$ac_aux_dir/depcomp"
2871 if test "x$enable_dependency_tracking" != xno; then
2882 depcc="$CC" am_compiler_list=
2884 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2885 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2886 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2890 # We make a subdir and do the tests there. Otherwise we can end up
2891 # making bogus files that we don't know about and never remove. For
2892 # instance it was reported that on HP-UX the gcc test will end up
2893 # making a dummy file named `D' -- because `-MD' means `put the output
2896 # Copy depcomp to subdir because otherwise we won't find it if we're
2897 # using a relative directory.
2898 cp "$am_depcomp" conftest.dir
2900 # We will build objects and dependencies in a subdirectory because
2901 # it helps to detect inapplicable dependency modes. For instance
2902 # both Tru64's cc and ICC support -MD to output dependencies as a
2903 # side effect of compilation, but ICC will put the dependencies in
2904 # the current directory while Tru64 will put them in the object
2908 am_cv_CC_dependencies_compiler_type=none
2909 if test "$am_compiler_list" = ""; then
2910 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2912 for depmode in $am_compiler_list; do
2913 # Setup a source with many dependencies, because some compilers
2914 # like to wrap large dependency lists on column 80 (with \), and
2915 # we should not choose a depcomp mode which is confused by this.
2917 # We need to recreate these files for each test, as the compiler may
2918 # overwrite some of them when testing with obscure command lines.
2919 # This happens at least with the AIX C compiler.
2921 for i in 1 2 3 4 5 6; do
2922 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2923 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2924 # Solaris 8's {/usr,}/bin/sh.
2925 touch sub/conftst$i.h
2927 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2931 # after this tag, mechanisms are not by side-effect, so they'll
2932 # only be used when explicitly requested
2933 if test "x$enable_dependency_tracking" = xyes; then
2941 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2942 # mode. It turns out that the SunPro C++ compiler does not properly
2943 # handle `-M -o', and we need to detect this.
2944 if depmode=$depmode \
2945 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2946 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2947 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2948 >/dev/null 2>conftest.err &&
2949 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2950 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2951 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2952 # icc doesn't choke on unknown options, it will just issue warnings
2953 # (even with -Werror). So we grep stderr for any message
2954 # that says an option was ignored.
2955 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2956 am_cv_CC_dependencies_compiler_type=$depmode
2965 am_cv_CC_dependencies_compiler_type=none
2969 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2970 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2971 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2976 test "x$enable_dependency_tracking" != xno \
2977 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2979 am__fastdepCC_FALSE='#'
2981 am__fastdepCC_TRUE='#'
2982 am__fastdepCC_FALSE=
2986 # By default we simply use the C compiler to build assembly code.
2988 test "${CCAS+set}" = set || CCAS=$CC
2989 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2996 echo "$as_me:$LINENO: checking for $ac_word" >&5
2997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2998 if test "${ac_cv_prog_RANLIB+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 if test -n "$RANLIB"; then
3002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 RANLIB=$ac_cv_prog_RANLIB
3021 if test -n "$RANLIB"; then
3022 echo "$as_me:$LINENO: result: $RANLIB" >&5
3023 echo "${ECHO_T}$RANLIB" >&6
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3030 if test -z "$ac_cv_prog_RANLIB"; then
3031 ac_ct_RANLIB=$RANLIB
3032 # Extract the first word of "ranlib", so it can be a program name with args.
3033 set dummy ranlib; ac_word=$2
3034 echo "$as_me:$LINENO: checking for $ac_word" >&5
3035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3036 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 if test -n "$ac_ct_RANLIB"; then
3040 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_ac_ct_RANLIB="ranlib"
3050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3059 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3060 if test -n "$ac_ct_RANLIB"; then
3061 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3062 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3068 RANLIB=$ac_ct_RANLIB
3070 RANLIB="$ac_cv_prog_RANLIB"
3073 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3074 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3075 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3076 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 cat >conftest.make <<\_ACEOF
3081 @echo 'ac_maketemp="$(MAKE)"'
3083 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3084 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3085 if test -n "$ac_maketemp"; then
3086 eval ac_cv_prog_make_${ac_make}_set=yes
3088 eval ac_cv_prog_make_${ac_make}_set=no
3092 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3093 echo "$as_me:$LINENO: result: yes" >&5
3094 echo "${ECHO_T}yes" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3099 SET_MAKE="MAKE=${MAKE-make}"
3111 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3112 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3113 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3114 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 cat >conftest.$ac_ext <<_ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124 #include <sys/types.h>
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -z "$ac_c_werror_flag"
3146 || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 eval "$as_ac_Header=yes"
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 eval "$as_ac_Header=no"
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3170 cat >>confdefs.h <<_ACEOF
3171 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3174 ac_header_dirent=$ac_hdr; break
3178 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3179 if test $ac_header_dirent = dirent.h; then
3180 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3181 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3182 if test "${ac_cv_search_opendir+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 ac_func_search_save_LIBS=$LIBS
3186 ac_cv_search_opendir=no
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3194 /* Override any gcc2 internal prototype to avoid an error. */
3198 /* We use char because int might match the return type of a gcc2
3199 builtin and then its argument prototype would still apply. */
3209 rm -f conftest.$ac_objext conftest$ac_exeext
3210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3211 (eval $ac_link) 2>conftest.er1
3213 grep -v '^ *+' conftest.er1 >conftest.err
3215 cat conftest.err >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } &&
3218 { ac_try='test -z "$ac_c_werror_flag"
3219 || test ! -s conftest.err'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try='test -s conftest$ac_exeext'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; }; then
3231 ac_cv_search_opendir="none required"
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f conftest.err conftest.$ac_objext \
3238 conftest$ac_exeext conftest.$ac_ext
3239 if test "$ac_cv_search_opendir" = no; then
3240 for ac_lib in dir; do
3241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3242 cat >conftest.$ac_ext <<_ACEOF
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h. */
3249 /* Override any gcc2 internal prototype to avoid an error. */
3253 /* We use char because int might match the return type of a gcc2
3254 builtin and then its argument prototype would still apply. */
3264 rm -f conftest.$ac_objext conftest$ac_exeext
3265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3266 (eval $ac_link) 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } &&
3273 { ac_try='test -z "$ac_c_werror_flag"
3274 || test ! -s conftest.err'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; } &&
3280 { ac_try='test -s conftest$ac_exeext'
3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then
3286 ac_cv_search_opendir="-l$ac_lib"
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3293 rm -f conftest.err conftest.$ac_objext \
3294 conftest$ac_exeext conftest.$ac_ext
3297 LIBS=$ac_func_search_save_LIBS
3299 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3300 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3301 if test "$ac_cv_search_opendir" != no; then
3302 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3307 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3308 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3309 if test "${ac_cv_search_opendir+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 ac_func_search_save_LIBS=$LIBS
3313 ac_cv_search_opendir=no
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3321 /* Override any gcc2 internal prototype to avoid an error. */
3325 /* We use char because int might match the return type of a gcc2
3326 builtin and then its argument prototype would still apply. */
3336 rm -f conftest.$ac_objext conftest$ac_exeext
3337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3338 (eval $ac_link) 2>conftest.er1
3340 grep -v '^ *+' conftest.er1 >conftest.err
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try='test -z "$ac_c_werror_flag"
3346 || test ! -s conftest.err'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try='test -s conftest$ac_exeext'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; }; then
3358 ac_cv_search_opendir="none required"
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f conftest.err conftest.$ac_objext \
3365 conftest$ac_exeext conftest.$ac_ext
3366 if test "$ac_cv_search_opendir" = no; then
3368 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3376 /* Override any gcc2 internal prototype to avoid an error. */
3380 /* We use char because int might match the return type of a gcc2
3381 builtin and then its argument prototype would still apply. */
3391 rm -f conftest.$ac_objext conftest$ac_exeext
3392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3393 (eval $ac_link) 2>conftest.er1
3395 grep -v '^ *+' conftest.er1 >conftest.err
3397 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try='test -z "$ac_c_werror_flag"
3401 || test ! -s conftest.err'
3402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); }; } &&
3407 { ac_try='test -s conftest$ac_exeext'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
3413 ac_cv_search_opendir="-l$ac_lib"
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3420 rm -f conftest.err conftest.$ac_objext \
3421 conftest$ac_exeext conftest.$ac_ext
3424 LIBS=$ac_func_search_save_LIBS
3426 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3427 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3428 if test "$ac_cv_search_opendir" != no; then
3429 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3436 ac_cpp='$CPP $CPPFLAGS'
3437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3442 # On Suns, sometimes $CPP names a directory.
3443 if test -n "$CPP" && test -d "$CPP"; then
3446 if test -z "$CPP"; then
3447 if test "${ac_cv_prog_CPP+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 # Double quotes because CPP needs to be expanded
3451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3454 for ac_c_preproc_warn_flag in '' yes
3456 # Use a header file that comes with gcc, so configuring glibc
3457 # with a fresh cross-compiler works.
3458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3459 # <limits.h> exists even on freestanding compilers.
3460 # On the NeXT, cc -E runs the code through the compiler's parser,
3461 # not just through cpp. "Syntax error" is here to catch this case.
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3469 # include <limits.h>
3471 # include <assert.h>
3475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1 >conftest.err
3480 cat conftest.err >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } >/dev/null; then
3483 if test -s conftest.err; then
3484 ac_cpp_err=$ac_c_preproc_warn_flag
3485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3492 if test -z "$ac_cpp_err"; then
3495 echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 # Broken: fails on valid input.
3501 rm -f conftest.err conftest.$ac_ext
3503 # OK, works on sane cases. Now check whether non-existent headers
3504 # can be detected and how.
3505 cat >conftest.$ac_ext <<_ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3511 #include <ac_nonexistent.h>
3513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3516 grep -v '^ *+' conftest.er1 >conftest.err
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } >/dev/null; then
3521 if test -s conftest.err; then
3522 ac_cpp_err=$ac_c_preproc_warn_flag
3523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3530 if test -z "$ac_cpp_err"; then
3531 # Broken: success on invalid input.
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3537 # Passes both tests.
3541 rm -f conftest.err conftest.$ac_ext
3544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3545 rm -f conftest.err conftest.$ac_ext
3546 if $ac_preproc_ok; then
3558 echo "$as_me:$LINENO: result: $CPP" >&5
3559 echo "${ECHO_T}$CPP" >&6
3561 for ac_c_preproc_warn_flag in '' yes
3563 # Use a header file that comes with gcc, so configuring glibc
3564 # with a fresh cross-compiler works.
3565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3566 # <limits.h> exists even on freestanding compilers.
3567 # On the NeXT, cc -E runs the code through the compiler's parser,
3568 # not just through cpp. "Syntax error" is here to catch this case.
3569 cat >conftest.$ac_ext <<_ACEOF
3572 cat confdefs.h >>conftest.$ac_ext
3573 cat >>conftest.$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3576 # include <limits.h>
3578 # include <assert.h>
3582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3585 grep -v '^ *+' conftest.er1 >conftest.err
3587 cat conftest.err >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } >/dev/null; then
3590 if test -s conftest.err; then
3591 ac_cpp_err=$ac_c_preproc_warn_flag
3592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3599 if test -z "$ac_cpp_err"; then
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 # Broken: fails on valid input.
3608 rm -f conftest.err conftest.$ac_ext
3610 # OK, works on sane cases. Now check whether non-existent headers
3611 # can be detected and how.
3612 cat >conftest.$ac_ext <<_ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 #include <ac_nonexistent.h>
3620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null; then
3628 if test -s conftest.err; then
3629 ac_cpp_err=$ac_c_preproc_warn_flag
3630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3637 if test -z "$ac_cpp_err"; then
3638 # Broken: success on invalid input.
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 # Passes both tests.
3648 rm -f conftest.err conftest.$ac_ext
3651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652 rm -f conftest.err conftest.$ac_ext
3653 if $ac_preproc_ok; then
3656 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3657 See \`config.log' for more details." >&5
3658 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3659 See \`config.log' for more details." >&2;}
3660 { (exit 1); exit 1; }; }
3664 ac_cpp='$CPP $CPPFLAGS'
3665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 echo "$as_me:$LINENO: checking for egrep" >&5
3671 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3672 if test "${ac_cv_prog_egrep+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3676 then ac_cv_prog_egrep='grep -E'
3677 else ac_cv_prog_egrep='egrep'
3680 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3681 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3682 EGREP=$ac_cv_prog_egrep
3685 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3686 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3687 if test "${ac_cv_header_stdc+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 cat >conftest.$ac_ext <<_ACEOF
3693 cat confdefs.h >>conftest.$ac_ext
3694 cat >>conftest.$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3709 rm -f conftest.$ac_objext
3710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711 (eval $ac_compile) 2>conftest.er1
3713 grep -v '^ *+' conftest.er1 >conftest.err
3715 cat conftest.err >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } &&
3718 { ac_try='test -z "$ac_c_werror_flag"
3719 || test ! -s conftest.err'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; } &&
3725 { ac_try='test -s conftest.$ac_objext'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; }; then
3731 ac_cv_header_stdc=yes
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 ac_cv_header_stdc=no
3738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3740 if test $ac_cv_header_stdc = yes; then
3741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3752 $EGREP "memchr" >/dev/null 2>&1; then
3755 ac_cv_header_stdc=no
3761 if test $ac_cv_header_stdc = yes; then
3762 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3763 cat >conftest.$ac_ext <<_ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3773 $EGREP "free" >/dev/null 2>&1; then
3776 ac_cv_header_stdc=no
3782 if test $ac_cv_header_stdc = yes; then
3783 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3784 if test "$cross_compiling" = yes; then
3787 cat >conftest.$ac_ext <<_ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3794 #if ((' ' & 0x0FF) == 0x020)
3795 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3796 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3798 # define ISLOWER(c) \
3799 (('a' <= (c) && (c) <= 'i') \
3800 || ('j' <= (c) && (c) <= 'r') \
3801 || ('s' <= (c) && (c) <= 'z'))
3802 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3805 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3810 for (i = 0; i < 256; i++)
3811 if (XOR (islower (i), ISLOWER (i))
3812 || toupper (i) != TOUPPER (i))
3817 rm -f conftest$ac_exeext
3818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3819 (eval $ac_link) 2>&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3830 echo "$as_me: program exited with status $ac_status" >&5
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.$ac_ext >&5
3835 ac_cv_header_stdc=no
3837 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3841 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3842 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3843 if test $ac_cv_header_stdc = yes; then
3845 cat >>confdefs.h <<\_ACEOF
3846 #define STDC_HEADERS 1
3851 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3861 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3862 inttypes.h stdint.h unistd.h
3864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3865 echo "$as_me:$LINENO: checking for $ac_header" >&5
3866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 $ac_includes_default
3878 #include <$ac_header>
3880 rm -f conftest.$ac_objext
3881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3882 (eval $ac_compile) 2>conftest.er1
3884 grep -v '^ *+' conftest.er1 >conftest.err
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } &&
3889 { ac_try='test -z "$ac_c_werror_flag"
3890 || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try='test -s conftest.$ac_objext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 eval "$as_ac_Header=yes"
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3907 eval "$as_ac_Header=no"
3909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3914 cat >>confdefs.h <<_ACEOF
3915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3924 for ac_header in fcntl.h
3926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3928 echo "$as_me:$LINENO: checking for $ac_header" >&5
3929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3936 # Is the header compilable?
3937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3939 cat >conftest.$ac_ext <<_ACEOF
3942 cat confdefs.h >>conftest.$ac_ext
3943 cat >>conftest.$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3945 $ac_includes_default
3946 #include <$ac_header>
3948 rm -f conftest.$ac_objext
3949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3950 (eval $ac_compile) 2>conftest.er1
3952 grep -v '^ *+' conftest.er1 >conftest.err
3954 cat conftest.err >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } &&
3957 { ac_try='test -z "$ac_c_werror_flag"
3958 || test ! -s conftest.err'
3959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); }; } &&
3964 { ac_try='test -s conftest.$ac_objext'
3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }; }; then
3970 ac_header_compiler=yes
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 ac_header_compiler=no
3977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3979 echo "${ECHO_T}$ac_header_compiler" >&6
3981 # Is the header present?
3982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3984 cat >conftest.$ac_ext <<_ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3990 #include <$ac_header>
3992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3995 grep -v '^ *+' conftest.er1 >conftest.err
3997 cat conftest.err >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } >/dev/null; then
4000 if test -s conftest.err; then
4001 ac_cpp_err=$ac_c_preproc_warn_flag
4002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4009 if test -z "$ac_cpp_err"; then
4010 ac_header_preproc=yes
4012 echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.$ac_ext >&5
4015 ac_header_preproc=no
4017 rm -f conftest.err conftest.$ac_ext
4018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4019 echo "${ECHO_T}$ac_header_preproc" >&6
4021 # So? What about this header?
4022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4028 ac_header_preproc=yes
4031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4045 ## ------------------------------------------ ##
4046 ## Report this to the AC_PACKAGE_NAME lists. ##
4047 ## ------------------------------------------ ##
4050 sed "s/^/$as_me: WARNING: /" >&2
4053 echo "$as_me:$LINENO: checking for $ac_header" >&5
4054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 eval "$as_ac_Header=\$ac_header_preproc"
4060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4065 cat >>confdefs.h <<_ACEOF
4066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4074 for ac_header in sys/time.h
4076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4078 echo "$as_me:$LINENO: checking for $ac_header" >&5
4079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4086 # Is the header compilable?
4087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4089 cat >conftest.$ac_ext <<_ACEOF
4092 cat confdefs.h >>conftest.$ac_ext
4093 cat >>conftest.$ac_ext <<_ACEOF
4094 /* end confdefs.h. */
4095 $ac_includes_default
4096 #include <$ac_header>
4098 rm -f conftest.$ac_objext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4100 (eval $ac_compile) 2>conftest.er1
4102 grep -v '^ *+' conftest.er1 >conftest.err
4104 cat conftest.err >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } &&
4107 { ac_try='test -z "$ac_c_werror_flag"
4108 || test ! -s conftest.err'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; } &&
4114 { ac_try='test -s conftest.$ac_objext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
4120 ac_header_compiler=yes
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 ac_header_compiler=no
4127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4129 echo "${ECHO_T}$ac_header_compiler" >&6
4131 # Is the header present?
4132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4134 cat >conftest.$ac_ext <<_ACEOF
4137 cat confdefs.h >>conftest.$ac_ext
4138 cat >>conftest.$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4140 #include <$ac_header>
4142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4145 grep -v '^ *+' conftest.er1 >conftest.err
4147 cat conftest.err >&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } >/dev/null; then
4150 if test -s conftest.err; then
4151 ac_cpp_err=$ac_c_preproc_warn_flag
4152 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4159 if test -z "$ac_cpp_err"; then
4160 ac_header_preproc=yes
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_header_preproc=no
4167 rm -f conftest.err conftest.$ac_ext
4168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4169 echo "${ECHO_T}$ac_header_preproc" >&6
4171 # So? What about this header?
4172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4178 ac_header_preproc=yes
4181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4195 ## ------------------------------------------ ##
4196 ## Report this to the AC_PACKAGE_NAME lists. ##
4197 ## ------------------------------------------ ##
4200 sed "s/^/$as_me: WARNING: /" >&2
4203 echo "$as_me:$LINENO: checking for $ac_header" >&5
4204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 eval "$as_ac_Header=\$ac_header_preproc"
4210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4215 cat >>confdefs.h <<_ACEOF
4216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4224 for ac_header in unistd.h
4226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4228 echo "$as_me:$LINENO: checking for $ac_header" >&5
4229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4236 # Is the header compilable?
4237 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4239 cat >conftest.$ac_ext <<_ACEOF
4242 cat confdefs.h >>conftest.$ac_ext
4243 cat >>conftest.$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4245 $ac_includes_default
4246 #include <$ac_header>
4248 rm -f conftest.$ac_objext
4249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4250 (eval $ac_compile) 2>conftest.er1
4252 grep -v '^ *+' conftest.er1 >conftest.err
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } &&
4257 { ac_try='test -z "$ac_c_werror_flag"
4258 || test ! -s conftest.err'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; } &&
4264 { ac_try='test -s conftest.$ac_objext'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4270 ac_header_compiler=yes
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.$ac_ext >&5
4275 ac_header_compiler=no
4277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4279 echo "${ECHO_T}$ac_header_compiler" >&6
4281 # Is the header present?
4282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4284 cat >conftest.$ac_ext <<_ACEOF
4287 cat confdefs.h >>conftest.$ac_ext
4288 cat >>conftest.$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4290 #include <$ac_header>
4292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4295 grep -v '^ *+' conftest.er1 >conftest.err
4297 cat conftest.err >&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } >/dev/null; then
4300 if test -s conftest.err; then
4301 ac_cpp_err=$ac_c_preproc_warn_flag
4302 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4309 if test -z "$ac_cpp_err"; then
4310 ac_header_preproc=yes
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4315 ac_header_preproc=no
4317 rm -f conftest.err conftest.$ac_ext
4318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4319 echo "${ECHO_T}$ac_header_preproc" >&6
4321 # So? What about this header?
4322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4328 ac_header_preproc=yes
4331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4345 ## ------------------------------------------ ##
4346 ## Report this to the AC_PACKAGE_NAME lists. ##
4347 ## ------------------------------------------ ##
4350 sed "s/^/$as_me: WARNING: /" >&2
4353 echo "$as_me:$LINENO: checking for $ac_header" >&5
4354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 eval "$as_ac_Header=\$ac_header_preproc"
4360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4365 cat >>confdefs.h <<_ACEOF
4366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4374 for ac_header in sys/ioctl.h
4376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4378 echo "$as_me:$LINENO: checking for $ac_header" >&5
4379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4386 # Is the header compilable?
4387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4395 $ac_includes_default
4396 #include <$ac_header>
4398 rm -f conftest.$ac_objext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4400 (eval $ac_compile) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1 >conftest.err
4404 cat conftest.err >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try='test -z "$ac_c_werror_flag"
4408 || test ! -s conftest.err'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; } &&
4414 { ac_try='test -s conftest.$ac_objext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4420 ac_header_compiler=yes
4422 echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.$ac_ext >&5
4425 ac_header_compiler=no
4427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4429 echo "${ECHO_T}$ac_header_compiler" >&6
4431 # Is the header present?
4432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4434 cat >conftest.$ac_ext <<_ACEOF
4437 cat confdefs.h >>conftest.$ac_ext
4438 cat >>conftest.$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4440 #include <$ac_header>
4442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4445 grep -v '^ *+' conftest.er1 >conftest.err
4447 cat conftest.err >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } >/dev/null; then
4450 if test -s conftest.err; then
4451 ac_cpp_err=$ac_c_preproc_warn_flag
4452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4459 if test -z "$ac_cpp_err"; then
4460 ac_header_preproc=yes
4462 echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4465 ac_header_preproc=no
4467 rm -f conftest.err conftest.$ac_ext
4468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4469 echo "${ECHO_T}$ac_header_preproc" >&6
4471 # So? What about this header?
4472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4478 ac_header_preproc=yes
4481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4495 ## ------------------------------------------ ##
4496 ## Report this to the AC_PACKAGE_NAME lists. ##
4497 ## ------------------------------------------ ##
4500 sed "s/^/$as_me: WARNING: /" >&2
4503 echo "$as_me:$LINENO: checking for $ac_header" >&5
4504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 eval "$as_ac_Header=\$ac_header_preproc"
4510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4515 cat >>confdefs.h <<_ACEOF
4516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4524 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4525 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4526 if test "${ac_cv_c_const+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 cat >conftest.$ac_ext <<_ACEOF
4532 cat confdefs.h >>conftest.$ac_ext
4533 cat >>conftest.$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4539 /* FIXME: Include the comments suggested by Paul. */
4541 /* Ultrix mips cc rejects this. */
4542 typedef int charset[2];
4544 /* SunOS 4.1.1 cc rejects this. */
4545 char const *const *ccp;
4547 /* NEC SVR4.0.2 mips cc rejects this. */
4548 struct point {int x, y;};
4549 static struct point const zero = {0,0};
4550 /* AIX XL C 1.02.0.0 rejects this.
4551 It does not let you subtract one const X* pointer from another in
4552 an arm of an if-expression whose if-part is not a constant
4554 const char *g = "string";
4555 ccp = &g + (g ? g-g : 0);
4556 /* HPUX 7.0 cc rejects these. */
4559 ccp = (char const *const *) p;
4560 { /* SCO 3.2v4 cc rejects this. */
4562 char const *s = 0 ? (char *) 0 : (char const *) 0;
4566 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4568 const int *foo = &x[0];
4571 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4572 typedef const int *iptr;
4576 { /* AIX XL C 1.02.0.0 rejects this saying
4577 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4578 struct s { int j; const int *ap[3]; };
4579 struct s *b; b->j = 5;
4581 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4590 rm -f conftest.$ac_objext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1 >conftest.err
4596 cat conftest.err >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } &&
4599 { ac_try='test -z "$ac_c_werror_flag"
4600 || test ! -s conftest.err'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; } &&
4606 { ac_try='test -s conftest.$ac_objext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4614 echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.$ac_ext >&5
4619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4621 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4622 echo "${ECHO_T}$ac_cv_c_const" >&6
4623 if test $ac_cv_c_const = no; then
4625 cat >>confdefs.h <<\_ACEOF
4631 echo "$as_me:$LINENO: checking for inline" >&5
4632 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4633 if test "${ac_cv_c_inline+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 for ac_kw in inline __inline__ __inline; do
4638 cat >conftest.$ac_ext <<_ACEOF
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4643 /* end confdefs.h. */
4646 static $ac_kw foo_t static_foo () {return 0; }
4647 $ac_kw foo_t foo () {return 0; }
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try='test -z "$ac_c_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_cv_c_inline=$ac_kw; break
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4684 echo "${ECHO_T}$ac_cv_c_inline" >&6
4687 case $ac_cv_c_inline in
4690 case $ac_cv_c_inline in
4692 *) ac_val=$ac_cv_c_inline;;
4694 cat >>confdefs.h <<_ACEOF
4696 #define inline $ac_val
4702 echo "$as_me:$LINENO: checking for off_t" >&5
4703 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4704 if test "${ac_cv_type_off_t+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 cat >conftest.$ac_ext <<_ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4713 $ac_includes_default
4725 rm -f conftest.$ac_objext
4726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4727 (eval $ac_compile) 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try='test -z "$ac_c_werror_flag"
4735 || test ! -s conftest.err'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try='test -s conftest.$ac_objext'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; }; then
4747 ac_cv_type_off_t=yes
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4756 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4757 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4758 if test $ac_cv_type_off_t = yes; then
4762 cat >>confdefs.h <<_ACEOF
4768 echo "$as_me:$LINENO: checking for size_t" >&5
4769 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4770 if test "${ac_cv_type_size_t+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 $ac_includes_default
4785 if (sizeof (size_t))
4791 rm -f conftest.$ac_objext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4793 (eval $ac_compile) 2>conftest.er1
4795 grep -v '^ *+' conftest.er1 >conftest.err
4797 cat conftest.err >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try='test -z "$ac_c_werror_flag"
4801 || test ! -s conftest.err'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; } &&
4807 { ac_try='test -s conftest.$ac_objext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 ac_cv_type_size_t=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_cv_type_size_t=no
4820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4822 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4823 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4824 if test $ac_cv_type_size_t = yes; then
4828 cat >>confdefs.h <<_ACEOF
4829 #define size_t unsigned
4834 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4835 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4836 if test "${ac_cv_header_time+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 cat >conftest.$ac_ext <<_ACEOF
4842 cat confdefs.h >>conftest.$ac_ext
4843 cat >>conftest.$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4845 #include <sys/types.h>
4846 #include <sys/time.h>
4852 if ((struct tm *) 0)
4858 rm -f conftest.$ac_objext
4859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4860 (eval $ac_compile) 2>conftest.er1
4862 grep -v '^ *+' conftest.er1 >conftest.err
4864 cat conftest.err >&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); } &&
4867 { ac_try='test -z "$ac_c_werror_flag"
4868 || test ! -s conftest.err'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; } &&
4874 { ac_try='test -s conftest.$ac_objext'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; }; then
4880 ac_cv_header_time=yes
4882 echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.$ac_ext >&5
4885 ac_cv_header_time=no
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4889 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4890 echo "${ECHO_T}$ac_cv_header_time" >&6
4891 if test $ac_cv_header_time = yes; then
4893 cat >>confdefs.h <<\_ACEOF
4894 #define TIME_WITH_SYS_TIME 1
4899 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4900 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4901 if test "${ac_cv_struct_tm+set}" = set; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4904 cat >conftest.$ac_ext <<_ACEOF
4907 cat confdefs.h >>conftest.$ac_ext
4908 cat >>conftest.$ac_ext <<_ACEOF
4909 /* end confdefs.h. */
4910 #include <sys/types.h>
4916 struct tm *tp; tp->tm_sec;
4921 rm -f conftest.$ac_objext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4923 (eval $ac_compile) 2>conftest.er1
4925 grep -v '^ *+' conftest.er1 >conftest.err
4927 cat conftest.err >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); } &&
4930 { ac_try='test -z "$ac_c_werror_flag"
4931 || test ! -s conftest.err'
4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try='test -s conftest.$ac_objext'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 ac_cv_struct_tm=time.h
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_struct_tm=sys/time.h
4950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4952 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4953 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4954 if test $ac_cv_struct_tm = sys/time.h; then
4956 cat >>confdefs.h <<\_ACEOF
4957 #define TM_IN_SYS_TIME 1
4963 if test $ac_cv_c_compiler_gnu = yes; then
4964 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4965 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4966 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4969 ac_pattern="Autoconf.*'x'"
4970 cat >conftest.$ac_ext <<_ACEOF
4973 cat confdefs.h >>conftest.$ac_ext
4974 cat >>conftest.$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4980 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4981 ac_cv_prog_gcc_traditional=yes
4983 ac_cv_prog_gcc_traditional=no
4988 if test $ac_cv_prog_gcc_traditional = no; then
4989 cat >conftest.$ac_ext <<_ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4999 $EGREP "$ac_pattern" >/dev/null 2>&1; then
5000 ac_cv_prog_gcc_traditional=yes
5006 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5007 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
5008 if test $ac_cv_prog_gcc_traditional = yes; then
5009 CC="$CC -traditional"
5013 echo "$as_me:$LINENO: checking for working memcmp" >&5
5014 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
5015 if test "${ac_cv_func_memcmp_working+set}" = set; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 if test "$cross_compiling" = yes; then
5019 ac_cv_func_memcmp_working=no
5021 cat >conftest.$ac_ext <<_ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5027 $ac_includes_default
5032 /* Some versions of memcmp are not 8-bit clean. */
5033 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
5034 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5037 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5038 or more and with at least one buffer not starting on a 4-byte boundary.
5039 William Lewis provided this test program. */
5044 for (i = 0; i < 4; i++)
5048 strcpy (a, "--------01111111");
5049 strcpy (b, "--------10000000");
5050 if (memcmp (a, b, 16) >= 0)
5060 rm -f conftest$ac_exeext
5061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5062 (eval $ac_link) 2>&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 ac_cv_func_memcmp_working=yes
5073 echo "$as_me: program exited with status $ac_status" >&5
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.$ac_ext >&5
5078 ac_cv_func_memcmp_working=no
5080 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5083 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5084 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
5085 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
5086 "memcmp.$ac_objext" | \
5087 *" memcmp.$ac_objext" | \
5088 "memcmp.$ac_objext "* | \
5089 *" memcmp.$ac_objext "* ) ;;
5090 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
5096 for ac_header in stdlib.h unistd.h
5098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5100 echo "$as_me:$LINENO: checking for $ac_header" >&5
5101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5108 # Is the header compilable?
5109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5111 cat >conftest.$ac_ext <<_ACEOF
5114 cat confdefs.h >>conftest.$ac_ext
5115 cat >>conftest.$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 $ac_includes_default
5118 #include <$ac_header>
5120 rm -f conftest.$ac_objext
5121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5122 (eval $ac_compile) 2>conftest.er1
5124 grep -v '^ *+' conftest.er1 >conftest.err
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } &&
5129 { ac_try='test -z "$ac_c_werror_flag"
5130 || test ! -s conftest.err'
5131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); }; } &&
5136 { ac_try='test -s conftest.$ac_objext'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; }; then
5142 ac_header_compiler=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_header_compiler=no
5149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5151 echo "${ECHO_T}$ac_header_compiler" >&6
5153 # Is the header present?
5154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5156 cat >conftest.$ac_ext <<_ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 #include <$ac_header>
5164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5167 grep -v '^ *+' conftest.er1 >conftest.err
5169 cat conftest.err >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } >/dev/null; then
5172 if test -s conftest.err; then
5173 ac_cpp_err=$ac_c_preproc_warn_flag
5174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5181 if test -z "$ac_cpp_err"; then
5182 ac_header_preproc=yes
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5187 ac_header_preproc=no
5189 rm -f conftest.err conftest.$ac_ext
5190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5191 echo "${ECHO_T}$ac_header_preproc" >&6
5193 # So? What about this header?
5194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5200 ac_header_preproc=yes
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5217 ## ------------------------------------------ ##
5218 ## Report this to the AC_PACKAGE_NAME lists. ##
5219 ## ------------------------------------------ ##
5222 sed "s/^/$as_me: WARNING: /" >&2
5225 echo "$as_me:$LINENO: checking for $ac_header" >&5
5226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 eval "$as_ac_Header=\$ac_header_preproc"
5232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5237 cat >>confdefs.h <<_ACEOF
5238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5246 for ac_func in getpagesize
5248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5249 echo "$as_me:$LINENO: checking for $ac_func" >&5
5250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5251 if eval "test \"\${$as_ac_var+set}\" = set"; then
5252 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 cat >conftest.$ac_ext <<_ACEOF
5257 cat confdefs.h >>conftest.$ac_ext
5258 cat >>conftest.$ac_ext <<_ACEOF
5259 /* end confdefs.h. */
5260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5262 #define $ac_func innocuous_$ac_func
5264 /* System header to define __stub macros and hopefully few prototypes,
5265 which can conflict with char $ac_func (); below.
5266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5267 <limits.h> exists even on freestanding compilers. */
5270 # include <limits.h>
5272 # include <assert.h>
5277 /* Override any gcc2 internal prototype to avoid an error. */
5282 /* We use char because int might match the return type of a gcc2
5283 builtin and then its argument prototype would still apply. */
5285 /* The GNU C library defines this for functions which it implements
5286 to always fail with ENOSYS. Some functions are actually named
5287 something starting with __ and the normal name is an alias. */
5288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5291 char (*f) () = $ac_func;
5300 return f != $ac_func;
5305 rm -f conftest.$ac_objext conftest$ac_exeext
5306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5307 (eval $ac_link) 2>conftest.er1
5309 grep -v '^ *+' conftest.er1 >conftest.err
5311 cat conftest.err >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } &&
5314 { ac_try='test -z "$ac_c_werror_flag"
5315 || test ! -s conftest.err'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; } &&
5321 { ac_try='test -s conftest$ac_exeext'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; }; then
5327 eval "$as_ac_var=yes"
5329 echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5332 eval "$as_ac_var=no"
5334 rm -f conftest.err conftest.$ac_objext \
5335 conftest$ac_exeext conftest.$ac_ext
5337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5339 if test `eval echo '${'$as_ac_var'}'` = yes; then
5340 cat >>confdefs.h <<_ACEOF
5341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5347 echo "$as_me:$LINENO: checking for working mmap" >&5
5348 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5349 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 if test "$cross_compiling" = yes; then
5353 ac_cv_func_mmap_fixed_mapped=no
5355 cat >conftest.$ac_ext <<_ACEOF
5358 cat confdefs.h >>conftest.$ac_ext
5359 cat >>conftest.$ac_ext <<_ACEOF
5360 /* end confdefs.h. */
5361 $ac_includes_default
5362 /* malloc might have been renamed as rpl_malloc. */
5365 /* Thanks to Mike Haertel and Jim Avera for this test.
5366 Here is a matrix of mmap possibilities:
5367 mmap private not fixed
5368 mmap private fixed at somewhere currently unmapped
5369 mmap private fixed at somewhere already mapped
5370 mmap shared not fixed
5371 mmap shared fixed at somewhere currently unmapped
5372 mmap shared fixed at somewhere already mapped
5373 For private mappings, we should verify that changes cannot be read()
5374 back from the file, nor mmap's back from the file at a different
5375 address. (There have been systems where private was not correctly
5376 implemented like the infamous i386 svr4.0, and systems where the
5377 VM page cache was not coherent with the file system buffer cache
5378 like early versions of FreeBSD and possibly contemporary NetBSD.)
5379 For shared mappings, we should conversely verify that changes get
5380 propagated back to all the places they're supposed to be.
5382 Grep wants private fixed already mapped.
5383 The main things grep needs to know about mmap are:
5384 * does it exist and is it safe to write into the mmap'd area
5385 * how to use it (BSD variants) */
5388 #include <sys/mman.h>
5390 #if !STDC_HEADERS && !HAVE_STDLIB_H
5394 /* This mess was copied from the GNU getpagesize.h. */
5395 #if !HAVE_GETPAGESIZE
5396 /* Assume that all systems that can run configure have sys/param.h. */
5397 # if !HAVE_SYS_PARAM_H
5398 # define HAVE_SYS_PARAM_H 1
5401 # ifdef _SC_PAGESIZE
5402 # define getpagesize() sysconf(_SC_PAGESIZE)
5403 # else /* no _SC_PAGESIZE */
5404 # if HAVE_SYS_PARAM_H
5405 # include <sys/param.h>
5406 # ifdef EXEC_PAGESIZE
5407 # define getpagesize() EXEC_PAGESIZE
5408 # else /* no EXEC_PAGESIZE */
5410 # define getpagesize() NBPG * CLSIZE
5413 # endif /* no CLSIZE */
5414 # else /* no NBPG */
5416 # define getpagesize() NBPC
5417 # else /* no NBPC */
5419 # define getpagesize() PAGESIZE
5420 # endif /* PAGESIZE */
5421 # endif /* no NBPC */
5422 # endif /* no NBPG */
5423 # endif /* no EXEC_PAGESIZE */
5424 # else /* no HAVE_SYS_PARAM_H */
5425 # define getpagesize() 8192 /* punt totally */
5426 # endif /* no HAVE_SYS_PARAM_H */
5427 # endif /* no _SC_PAGESIZE */
5429 #endif /* no HAVE_GETPAGESIZE */
5434 char *data, *data2, *data3;
5438 pagesize = getpagesize ();
5440 /* First, make a file with some known garbage in it. */
5441 data = (char *) malloc (pagesize);
5444 for (i = 0; i < pagesize; ++i)
5445 *(data + i) = rand ();
5447 fd = creat ("conftest.mmap", 0600);
5450 if (write (fd, data, pagesize) != pagesize)
5454 /* Next, try to mmap the file at a fixed address which already has
5455 something else allocated at it. If we can, also make sure that
5456 we see the same garbage. */
5457 fd = open ("conftest.mmap", O_RDWR);
5460 data2 = (char *) malloc (2 * pagesize);
5463 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5464 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5465 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5467 for (i = 0; i < pagesize; ++i)
5468 if (*(data + i) != *(data2 + i))
5471 /* Finally, make sure that changes to the mapped area do not
5472 percolate back to the file as seen by read(). (This is a bug on
5473 some variants of i386 svr4.0.) */
5474 for (i = 0; i < pagesize; ++i)
5475 *(data2 + i) = *(data2 + i) + 1;
5476 data3 = (char *) malloc (pagesize);
5479 if (read (fd, data3, pagesize) != pagesize)
5481 for (i = 0; i < pagesize; ++i)
5482 if (*(data + i) != *(data3 + i))
5488 rm -f conftest$ac_exeext
5489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5490 (eval $ac_link) 2>&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; }; then
5499 ac_cv_func_mmap_fixed_mapped=yes
5501 echo "$as_me: program exited with status $ac_status" >&5
5502 echo "$as_me: failed program was:" >&5
5503 sed 's/^/| /' conftest.$ac_ext >&5
5506 ac_cv_func_mmap_fixed_mapped=no
5508 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5511 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5512 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5513 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5515 cat >>confdefs.h <<\_ACEOF
5522 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5523 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5524 if test "${ac_cv_type_signal+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 cat >conftest.$ac_ext <<_ACEOF
5530 cat confdefs.h >>conftest.$ac_ext
5531 cat >>conftest.$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5533 #include <sys/types.h>
5539 extern "C" void (*signal (int, void (*)(int)))(int);
5541 void (*signal ()) ();
5552 rm -f conftest.$ac_objext
5553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554 (eval $ac_compile) 2>conftest.er1
5556 grep -v '^ *+' conftest.er1 >conftest.err
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try='test -z "$ac_c_werror_flag"
5562 || test ! -s conftest.err'
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; } &&
5568 { ac_try='test -s conftest.$ac_objext'
5569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }; then
5574 ac_cv_type_signal=void
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5579 ac_cv_type_signal=int
5581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5583 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5584 echo "${ECHO_T}$ac_cv_type_signal" >&6
5586 cat >>confdefs.h <<_ACEOF
5587 #define RETSIGTYPE $ac_cv_type_signal
5597 for ac_func in getcwd gettimeofday mkdir mktime select socket
5599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5600 echo "$as_me:$LINENO: checking for $ac_func" >&5
5601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5602 if eval "test \"\${$as_ac_var+set}\" = set"; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5613 #define $ac_func innocuous_$ac_func
5615 /* System header to define __stub macros and hopefully few prototypes,
5616 which can conflict with char $ac_func (); below.
5617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5618 <limits.h> exists even on freestanding compilers. */
5621 # include <limits.h>
5623 # include <assert.h>
5628 /* Override any gcc2 internal prototype to avoid an error. */
5633 /* We use char because int might match the return type of a gcc2
5634 builtin and then its argument prototype would still apply. */
5636 /* The GNU C library defines this for functions which it implements
5637 to always fail with ENOSYS. Some functions are actually named
5638 something starting with __ and the normal name is an alias. */
5639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5642 char (*f) () = $ac_func;
5651 return f != $ac_func;
5656 rm -f conftest.$ac_objext conftest$ac_exeext
5657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5658 (eval $ac_link) 2>conftest.er1
5660 grep -v '^ *+' conftest.er1 >conftest.err
5662 cat conftest.err >&5
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); } &&
5665 { ac_try='test -z "$ac_c_werror_flag"
5666 || test ! -s conftest.err'
5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; } &&
5672 { ac_try='test -s conftest$ac_exeext'
5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; }; then
5678 eval "$as_ac_var=yes"
5680 echo "$as_me: failed program was:" >&5
5681 sed 's/^/| /' conftest.$ac_ext >&5
5683 eval "$as_ac_var=no"
5685 rm -f conftest.err conftest.$ac_objext \
5686 conftest$ac_exeext conftest.$ac_ext
5688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5690 if test `eval echo '${'$as_ac_var'}'` = yes; then
5691 cat >>confdefs.h <<_ACEOF
5692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5699 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5700 echo "$as_me:$LINENO: checking whether MAP_FAILED is defined" >&5
5701 echo $ECHO_N "checking whether MAP_FAILED is defined... $ECHO_C" >&6
5702 if test "${ac_cv_map_failed+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 cat >conftest.$ac_ext <<_ACEOF
5708 cat confdefs.h >>conftest.$ac_ext
5709 cat >>conftest.$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5711 #include <sys/mman.h>
5716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5717 $EGREP "yes" >/dev/null 2>&1; then
5718 ac_cv_map_failed=yes
5725 echo "$as_me:$LINENO: result: $ac_cv_map_failed" >&5
5726 echo "${ECHO_T}$ac_cv_map_failed" >&6
5728 echo "$as_me:$LINENO: checking whether MAP_ANONYMOUS is defined" >&5
5729 echo $ECHO_N "checking whether MAP_ANONYMOUS is defined... $ECHO_C" >&6
5730 if test "${ac_cv_map_anonymous+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 cat >conftest.$ac_ext <<_ACEOF
5736 cat confdefs.h >>conftest.$ac_ext
5737 cat >>conftest.$ac_ext <<_ACEOF
5738 /* end confdefs.h. */
5739 #include <sys/mman.h>
5740 #ifdef MAP_ANONYMOUS
5744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5745 $EGREP "yes" >/dev/null 2>&1; then
5746 ac_cv_map_anonymous=yes
5748 ac_cv_map_anonymous=no
5753 echo "$as_me:$LINENO: result: $ac_cv_map_anonymous" >&5
5754 echo "${ECHO_T}$ac_cv_map_anonymous" >&6
5756 if test $ac_cv_map_failed = yes; then
5757 cat >>confdefs.h <<\_ACEOF
5758 #define HAVE_MAP_FAILED 1
5763 if test $ac_cv_map_anonymous = yes; then
5764 cat >>confdefs.h <<\_ACEOF
5765 #define HAVE_MAP_ANONYMOUS 1
5773 # Check whether --enable-threads or --disable-threads was given.
5774 if test "${enable_threads+set}" = set; then
5775 enableval="$enable_threads"
5778 # Check whether --enable-__thread or --disable-__thread was given.
5779 if test "${enable___thread+set}" = set; then
5780 enableval="$enable___thread"
5781 use__thread=$enablevalval
5787 echo "$as_me:$LINENO: checking whether to include threads support" >&5
5788 echo $ECHO_N "checking whether to include threads support... $ECHO_C" >&6
5789 if test x"$enable_threads" = "xno"; then
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5796 cat >>confdefs.h <<\_ACEOF
5797 #define USE_THREADS 1
5800 cat >>confdefs.h <<\_ACEOF
5801 #define EXTERNAL_OVERFLOW 1
5804 cat >>confdefs.h <<\_ACEOF
5805 #define DONT_FREE_FIRST 1
5809 LIBTHREAD="libthreads.a"
5810 THREAD_OBJ="threads/libthreads.a"
5815 if test "x$use__thread" != xno; then
5816 echo "$as_me:$LINENO: checking for __thread" >&5
5817 echo $ECHO_N "checking for __thread... $ECHO_C" >&6
5818 if test "${ac_cv_gcc___thread+set}" = set; then
5819 echo $ECHO_N "(cached) $ECHO_C" >&6
5821 cat > conftest.c <<\EOF
5822 __thread int a = 42;
5824 if { ac_try='${CC-cc} $CFLAGS -c conftest.c >&5'
5825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); }; }; then
5830 ac_cv_gcc___thread=yes
5832 ac_cv_gcc___thread=no
5836 echo "$as_me:$LINENO: result: $ac_cv_gcc___thread" >&5
5837 echo "${ECHO_T}$ac_cv_gcc___thread" >&6
5838 if test "$ac_cv_gcc___thread" = yes; then
5839 cat >>confdefs.h <<\_ACEOF
5840 #define HAVE___THREAD 1
5845 ac_cv_gcc___thread=no
5848 # Check whether --enable-zlib or --disable-zlib was given.
5849 if test "${enable_zlib+set}" = set; then
5850 enableval="$enable_zlib"
5854 echo "$as_me:$LINENO: checking whether zip archives should be supported" >&5
5855 echo $ECHO_N "checking whether zip archives should be supported... $ECHO_C" >&6
5856 if test x"$enable_zlib" = "xyes"; then
5859 cat >>confdefs.h <<\_ACEOF
5863 echo "$as_me:$LINENO: result: yes" >&5
5864 echo "${ECHO_T}yes" >&6
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5876 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
5877 if test "${enable_gtk_peer+set}" = set; then
5878 enableval="$enable_gtk_peer"
5882 echo "$as_me:$LINENO: checking whether to use gtk awt peers" >&5
5883 echo $ECHO_N "checking whether to use gtk awt peers... $ECHO_C" >&6
5884 if test x"$enable_gtk_peer" = "xyes"; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5887 AWTPEERS="java.awt.peer.ComponentPeer \
5888 java.awt.peer.MenuPeer \
5889 java.awt.peer.MenuItemPeer \
5890 gnu.java.awt.peer.gtk.GdkPixbufDecoder \
5891 gnu.java.awt.peer.gtk.GtkMenuBarPeer \
5892 gnu.java.awt.peer.gtk.GtkScrollPanePeer \
5893 gnu.java.awt.peer.gtk.GtkMenuPeer \
5894 gnu.java.awt.peer.gtk.GtkTextComponentPeer \
5895 gnu.java.awt.peer.gtk.GtkComponentPeer \
5896 gnu.java.awt.peer.gtk.GtkPopupMenuPeer \
5897 gnu.java.awt.peer.gtk.GtkCheckboxGroupPeer \
5898 gnu.java.awt.peer.gtk.GtkMenuItemPeer \
5899 gnu.java.awt.peer.gtk.GdkGraphics \
5900 gnu.java.awt.peer.gtk.GtkToolkit \
5901 gnu.java.awt.peer.gtk.GtkCanvasPeer \
5902 gnu.java.awt.peer.gtk.GtkFramePeer \
5903 gnu.java.awt.peer.gtk.GdkFontMetrics \
5904 gnu.java.awt.peer.gtk.GtkScrollbarPeer \
5905 gnu.java.awt.peer.gtk.GtkGenericPeer \
5906 gnu.java.awt.peer.gtk.GtkListPeer \
5907 gnu.java.awt.peer.gtk.GtkLabelPeer \
5908 gnu.java.awt.peer.gtk.GtkTextAreaPeer \
5909 gnu.java.awt.peer.gtk.GtkCheckboxPeer \
5910 gnu.java.awt.peer.gtk.GtkFileDialogPeer \
5911 gnu.java.awt.peer.gtk.GtkImagePainter \
5912 gnu.java.awt.peer.gtk.GtkChoicePeer \
5913 gnu.java.awt.peer.gtk.GtkPanelPeer \
5914 gnu.java.awt.peer.gtk.GtkMainThread \
5915 gnu.java.awt.peer.gtk.GtkButtonPeer \
5916 gnu.java.awt.peer.gtk.GtkTextFieldPeer \
5917 gnu.java.awt.peer.gtk.GtkCheckboxMenuItemPeer \
5918 gnu.java.awt.peer.gtk.GtkClipboard \
5919 gnu.java.awt.peer.gtk.GtkWindowPeer"
5920 AWT_OBJS="gnuclasspathnat/native/jni/gtk-peer/.libs/libgtkpeer.a \
5921 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 \
5922 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \
5923 -lgthread-2.0 -lart_lgpl_2"
5928 cat >>confdefs.h <<\_ACEOF
5940 echo "$as_me:$LINENO: result: no" >&5
5941 echo "${ECHO_T}no" >&6
5947 subdirs="$subdirs mm/boehm-gc gnuclasspathnat"
5950 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"
5951 cat >confcache <<\_ACEOF
5952 # This file is a shell script that caches the results of configure
5953 # tests run on this system so they can be shared between configure
5954 # scripts and configure runs, see configure's option --config-cache.
5955 # It is not useful on other systems. If it contains results you don't
5956 # want to keep, you may remove or edit it.
5958 # config.status only pays attention to the cache file if you give it
5959 # the --recheck option to rerun configure.
5961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5967 # The following way of writing the cache mishandles newlines in values,
5968 # but we know of no workaround that is simple, portable, and efficient.
5969 # So, don't put newlines in cache variables' values.
5970 # Ultrix sh set writes to stderr and can't be redirected directly,
5971 # and sets the high bit in the cache file unless we assign to the vars.
5974 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5976 # `set' does not quote correctly, so add quotes (double-quote
5977 # substitution turns \\\\ into \\, and sed turns \\ into \).
5980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5983 # `set' quotes correctly as required by POSIX, so do not add quotes.
5985 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5994 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5996 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5997 if test -w $cache_file; then
5998 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5999 cat confcache >$cache_file
6001 echo "not updating unwritable cache $cache_file"
6006 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6007 # Let make expand exec_prefix.
6008 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6010 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6011 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6012 # trailing colons and then remove the whole line if VPATH becomes empty
6013 # (actually we leave an empty line to preserve line numbers).
6014 if test "x$srcdir" = x.; then
6015 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6016 s/:*\$(srcdir):*/:/;
6017 s/:*\${srcdir}:*/:/;
6019 s/^\([^=]*=[ ]*\):*/\1/;
6025 DEFS=-DHAVE_CONFIG_H
6029 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6030 # 1. Remove the extension, and $U if already installed.
6031 ac_i=`echo "$ac_i" |
6032 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6034 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6035 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6039 LTLIBOBJS=$ac_ltlibobjs
6042 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6043 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6044 Usually this means the macro was only invoked conditionally." >&5
6045 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6046 Usually this means the macro was only invoked conditionally." >&2;}
6047 { (exit 1); exit 1; }; }
6049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6050 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6051 Usually this means the macro was only invoked conditionally." >&5
6052 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6053 Usually this means the macro was only invoked conditionally." >&2;}
6054 { (exit 1); exit 1; }; }
6057 : ${CONFIG_STATUS=./config.status}
6058 ac_clean_files_save=$ac_clean_files
6059 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6060 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6061 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6062 cat >$CONFIG_STATUS <<_ACEOF
6064 # Generated by $as_me.
6065 # Run this file to recreate the current configuration.
6066 # Compiler output produced by configure, useful for debugging
6067 # configure, is in config.log if it exists.
6072 SHELL=\${CONFIG_SHELL-$SHELL}
6075 cat >>$CONFIG_STATUS <<\_ACEOF
6076 ## --------------------- ##
6077 ## M4sh Initialization. ##
6078 ## --------------------- ##
6080 # Be Bourne compatible
6081 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6084 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6085 # is contrary to our usage. Disable this feature.
6086 alias -g '${1+"$@"}'='"$@"'
6087 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6090 DUALCASE=1; export DUALCASE # for MKS sh
6092 # Support unset when possible.
6093 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6100 # Work around bugs in pre-3.0 UWIN ksh.
6101 $as_unset ENV MAIL MAILPATH
6108 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6109 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6110 LC_TELEPHONE LC_TIME
6112 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6113 eval $as_var=C; export $as_var
6119 # Required to use basename.
6120 if expr a : '\(a\)' >/dev/null 2>&1; then
6126 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6127 as_basename=basename
6133 # Name of the executable.
6134 as_me=`$as_basename "$0" ||
6135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6136 X"$0" : 'X\(//\)$' \| \
6137 X"$0" : 'X\(/\)$' \| \
6138 . : '\(.\)' 2>/dev/null ||
6140 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6141 /^X\/\(\/\/\)$/{ s//\1/; q; }
6142 /^X\/\(\/\).*/{ s//\1/; q; }
6146 # PATH needs CR, and LINENO needs CR and PATH.
6147 # Avoid depending upon Character Ranges.
6148 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6149 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6150 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6151 as_cr_digits='0123456789'
6152 as_cr_alnum=$as_cr_Letters$as_cr_digits
6154 # The user is always right.
6155 if test "${PATH_SEPARATOR+set}" != set; then
6156 echo "#! /bin/sh" >conf$$.sh
6157 echo "exit 0" >>conf$$.sh
6159 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6170 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6171 test "x$as_lineno_1" != "x$as_lineno_2" &&
6172 test "x$as_lineno_3" = "x$as_lineno_2" || {
6173 # Find who we are. Look in the path if we contain no path at all
6176 *[\\/]* ) as_myself=$0 ;;
6177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir=.
6182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6187 # We did not find ourselves, most probably we were run as `sh COMMAND'
6188 # in which case we are not to be found in the path.
6189 if test "x$as_myself" = x; then
6192 if test ! -f "$as_myself"; then
6193 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6194 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6195 { (exit 1); exit 1; }; }
6197 case $CONFIG_SHELL in
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6203 test -z "$as_dir" && as_dir=.
6204 for as_base in sh bash ksh sh5; do
6207 if ("$as_dir/$as_base" -c '
6210 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6211 test "x$as_lineno_1" != "x$as_lineno_2" &&
6212 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6213 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6214 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6215 CONFIG_SHELL=$as_dir/$as_base
6217 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6225 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6226 # uniformly replaced by the line number. The first 'sed' inserts a
6227 # line-number line before each line; the second 'sed' does the real
6228 # work. The second script uses 'N' to pair each line-number line
6229 # with the numbered line, and appends trailing '-' during
6230 # substitution so that $LINENO is not a special case at line end.
6231 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6232 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6233 sed '=' <$as_myself |
6238 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6241 s,^['$as_cr_digits']*\n,,
6243 chmod +x $as_me.lineno ||
6244 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6245 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6246 { (exit 1); exit 1; }; }
6248 # Don't try to exec as it changes $[0], causing all sort of problems
6249 # (the dirname of $[0] is not the place where we might find the
6250 # original and so on. Autoconf is especially sensible to this).
6252 # Exit status is that of the last command.
6257 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6258 *c*,-n*) ECHO_N= ECHO_C='
6260 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6261 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6264 if expr a : '\(a\)' >/dev/null 2>&1; then
6270 rm -f conf$$ conf$$.exe conf$$.file
6272 if ln -s conf$$.file conf$$ 2>/dev/null; then
6273 # We could just check for DJGPP; but this test a) works b) is more generic
6274 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6275 if test -f conf$$.exe; then
6276 # Don't use ln at all; we don't have any links
6281 elif ln conf$$.file conf$$ 2>/dev/null; then
6286 rm -f conf$$ conf$$.exe conf$$.file
6288 if mkdir -p . 2>/dev/null; then
6291 test -d ./-p && rmdir ./-p
6295 as_executable_p="test -f"
6297 # Sed expression to map a string onto a valid CPP name.
6298 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6300 # Sed expression to map a string onto a valid variable name.
6301 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6305 # We need space, tab and new line, in precisely that order.
6315 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6316 # report actual input values of CONFIG_FILES etc. instead of their
6317 # values after options handling. Logging --version etc. is OK.
6321 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6322 ## Running $as_me. ##
6327 This file was extended by $as_me, which was
6328 generated by GNU Autoconf 2.59. Invocation command line was
6330 CONFIG_FILES = $CONFIG_FILES
6331 CONFIG_HEADERS = $CONFIG_HEADERS
6332 CONFIG_LINKS = $CONFIG_LINKS
6333 CONFIG_COMMANDS = $CONFIG_COMMANDS
6337 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6341 # Files that config.status was made for.
6342 if test -n "$ac_config_files"; then
6343 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6346 if test -n "$ac_config_headers"; then
6347 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6350 if test -n "$ac_config_links"; then
6351 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6354 if test -n "$ac_config_commands"; then
6355 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6358 cat >>$CONFIG_STATUS <<\_ACEOF
6361 \`$as_me' instantiates files from templates according to the
6362 current configuration.
6364 Usage: $0 [OPTIONS] [FILE]...
6366 -h, --help print this help, then exit
6367 -V, --version print version number, then exit
6368 -q, --quiet do not print progress messages
6369 -d, --debug don't remove temporary files
6370 --recheck update $as_me by reconfiguring in the same conditions
6371 --file=FILE[:TEMPLATE]
6372 instantiate the configuration file FILE
6373 --header=FILE[:TEMPLATE]
6374 instantiate the configuration header FILE
6376 Configuration files:
6379 Configuration headers:
6382 Configuration commands:
6385 Report bugs to <bug-autoconf@gnu.org>."
6388 cat >>$CONFIG_STATUS <<_ACEOF
6391 configured by $0, generated by GNU Autoconf 2.59,
6392 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6394 Copyright (C) 2003 Free Software Foundation, Inc.
6395 This config.status script is free software; the Free Software Foundation
6396 gives unlimited permission to copy, distribute and modify it."
6401 cat >>$CONFIG_STATUS <<\_ACEOF
6402 # If no file are specified by the user, then we need to provide default
6403 # value. By we need to know if files were specified by the user.
6409 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6410 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6418 *) # This is not an option, so the user has probably given explicit
6421 ac_need_defaults=false;;
6425 # Handling of the options.
6427 cat >>$CONFIG_STATUS <<\_ACEOF
6428 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6430 --version | --vers* | -V )
6431 echo "$ac_cs_version"; exit 0 ;;
6433 # Conflict between --help and --header
6434 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6435 Try \`$0 --help' for more information." >&5
6436 echo "$as_me: error: ambiguous option: $1
6437 Try \`$0 --help' for more information." >&2;}
6438 { (exit 1); exit 1; }; };;
6439 --help | --hel | -h )
6440 echo "$ac_cs_usage"; exit 0 ;;
6441 --debug | --d* | -d )
6443 --file | --fil | --fi | --f )
6445 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6446 ac_need_defaults=false;;
6447 --header | --heade | --head | --hea )
6449 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6450 ac_need_defaults=false;;
6451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6452 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6456 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6457 Try \`$0 --help' for more information." >&5
6458 echo "$as_me: error: unrecognized option: $1
6459 Try \`$0 --help' for more information." >&2;}
6460 { (exit 1); exit 1; }; } ;;
6462 *) ac_config_targets="$ac_config_targets $1" ;;
6468 ac_configure_extra_args=
6470 if $ac_cs_silent; then
6472 ac_configure_extra_args="$ac_configure_extra_args --silent"
6476 cat >>$CONFIG_STATUS <<_ACEOF
6477 if \$ac_cs_recheck; then
6478 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6479 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6484 cat >>$CONFIG_STATUS <<_ACEOF
6486 # INIT-COMMANDS section.
6489 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6495 cat >>$CONFIG_STATUS <<\_ACEOF
6496 for ac_config_target in $ac_config_targets
6498 case "$ac_config_target" in
6499 # Handling of arguments.
6500 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6501 "mm/Makefile" ) CONFIG_FILES="$CONFIG_FILES mm/Makefile" ;;
6502 "toolbox/Makefile" ) CONFIG_FILES="$CONFIG_FILES toolbox/Makefile" ;;
6503 "threads/Makefile" ) CONFIG_FILES="$CONFIG_FILES threads/Makefile" ;;
6504 "jit/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/Makefile" ;;
6505 "jit/loop/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/loop/Makefile" ;;
6506 "jit/alpha/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/alpha/Makefile" ;;
6507 "jit/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/i386/Makefile" ;;
6508 "jit/mips/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/mips/Makefile" ;;
6509 "jit/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/powerpc/Makefile" ;;
6510 "jit/x86_64/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/x86_64/Makefile" ;;
6511 "nat/Makefile" ) CONFIG_FILES="$CONFIG_FILES nat/Makefile" ;;
6512 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6513 "tst/Makefile" ) CONFIG_FILES="$CONFIG_FILES tst/Makefile" ;;
6514 "tst/kaffe/Makefile" ) CONFIG_FILES="$CONFIG_FILES tst/kaffe/Makefile" ;;
6515 "jvmtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES jvmtst/Makefile" ;;
6516 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6517 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6518 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6519 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6520 { (exit 1); exit 1; }; };;
6524 # If the user did not use the arguments to specify the items to instantiate,
6525 # then the envvar interface is used. Set only those that are not.
6526 # We use the long form for the default assignment because of an extremely
6527 # bizarre bug on SunOS 4.1.3.
6528 if $ac_need_defaults; then
6529 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6530 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6531 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6534 # Have a temporary directory for convenience. Make it in the build tree
6535 # simply because there is no reason to put it here, and in addition,
6536 # creating and moving files from /tmp can sometimes cause problems.
6537 # Create a temporary directory, and hook for its removal unless debugging.
6540 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6541 trap '{ (exit 1); exit 1; }' 1 2 13 15
6544 # Create a (secure) tmp directory for tmp files.
6547 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6548 test -n "$tmp" && test -d "$tmp"
6551 tmp=./confstat$$-$RANDOM
6552 (umask 077 && mkdir $tmp)
6555 echo "$me: cannot create a temporary directory in ." >&2
6556 { (exit 1); exit 1; }
6561 cat >>$CONFIG_STATUS <<_ACEOF
6564 # CONFIG_FILES section.
6567 # No need to generate the scripts if there are no CONFIG_FILES.
6568 # This happens for instance when ./config.status config.h
6569 if test -n "\$CONFIG_FILES"; then
6570 # Protect against being on the right side of a sed subst in config.status.
6571 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6572 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6573 s,@SHELL@,$SHELL,;t t
6574 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6575 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6576 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6577 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6578 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6579 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6580 s,@exec_prefix@,$exec_prefix,;t t
6581 s,@prefix@,$prefix,;t t
6582 s,@program_transform_name@,$program_transform_name,;t t
6583 s,@bindir@,$bindir,;t t
6584 s,@sbindir@,$sbindir,;t t
6585 s,@libexecdir@,$libexecdir,;t t
6586 s,@datadir@,$datadir,;t t
6587 s,@sysconfdir@,$sysconfdir,;t t
6588 s,@sharedstatedir@,$sharedstatedir,;t t
6589 s,@localstatedir@,$localstatedir,;t t
6590 s,@libdir@,$libdir,;t t
6591 s,@includedir@,$includedir,;t t
6592 s,@oldincludedir@,$oldincludedir,;t t
6593 s,@infodir@,$infodir,;t t
6594 s,@mandir@,$mandir,;t t
6595 s,@build_alias@,$build_alias,;t t
6596 s,@host_alias@,$host_alias,;t t
6597 s,@target_alias@,$target_alias,;t t
6599 s,@ECHO_C@,$ECHO_C,;t t
6600 s,@ECHO_N@,$ECHO_N,;t t
6601 s,@ECHO_T@,$ECHO_T,;t t
6603 s,@build@,$build,;t t
6604 s,@build_cpu@,$build_cpu,;t t
6605 s,@build_vendor@,$build_vendor,;t t
6606 s,@build_os@,$build_os,;t t
6608 s,@host_cpu@,$host_cpu,;t t
6609 s,@host_vendor@,$host_vendor,;t t
6610 s,@host_os@,$host_os,;t t
6611 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6612 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6613 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6614 s,@CYGPATH_W@,$CYGPATH_W,;t t
6615 s,@PACKAGE@,$PACKAGE,;t t
6616 s,@VERSION@,$VERSION,;t t
6617 s,@ACLOCAL@,$ACLOCAL,;t t
6618 s,@AUTOCONF@,$AUTOCONF,;t t
6619 s,@AUTOMAKE@,$AUTOMAKE,;t t
6620 s,@AUTOHEADER@,$AUTOHEADER,;t t
6621 s,@MAKEINFO@,$MAKEINFO,;t t
6622 s,@AMTAR@,$AMTAR,;t t
6623 s,@install_sh@,$install_sh,;t t
6624 s,@STRIP@,$STRIP,;t t
6625 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6626 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6627 s,@mkdir_p@,$mkdir_p,;t t
6629 s,@SET_MAKE@,$SET_MAKE,;t t
6630 s,@am__leading_dot@,$am__leading_dot,;t t
6631 s,@COMPILER_OBJECTS@,$COMPILER_OBJECTS,;t t
6632 s,@ARCH_DIR@,$ARCH_DIR,;t t
6634 s,@CFLAGS@,$CFLAGS,;t t
6635 s,@LDFLAGS@,$LDFLAGS,;t t
6636 s,@CPPFLAGS@,$CPPFLAGS,;t t
6637 s,@ac_ct_CC@,$ac_ct_CC,;t t
6638 s,@EXEEXT@,$EXEEXT,;t t
6639 s,@OBJEXT@,$OBJEXT,;t t
6640 s,@DEPDIR@,$DEPDIR,;t t
6641 s,@am__include@,$am__include,;t t
6642 s,@am__quote@,$am__quote,;t t
6643 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6644 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6645 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6646 s,@CCDEPMODE@,$CCDEPMODE,;t t
6647 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6648 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6650 s,@CCASFLAGS@,$CCASFLAGS,;t t
6651 s,@RANLIB@,$RANLIB,;t t
6652 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6654 s,@EGREP@,$EGREP,;t t
6655 s,@LIBOBJS@,$LIBOBJS,;t t
6656 s,@LIBTHREAD@,$LIBTHREAD,;t t
6657 s,@THREAD_OBJ@,$THREAD_OBJ,;t t
6658 s,@ZIP_LIBS@,$ZIP_LIBS,;t t
6659 s,@ZIP_C@,$ZIP_C,;t t
6660 s,@USEGTK@,$USEGTK,;t t
6661 s,@AWTPEERS@,$AWTPEERS,;t t
6662 s,@AWT_OBJS@,$AWT_OBJS,;t t
6663 s,@subdirs@,$subdirs,;t t
6664 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6669 cat >>$CONFIG_STATUS <<\_ACEOF
6670 # Split the substitutions into bite-sized pieces for seds with
6671 # small command number limits, like on Digital OSF/1 and HP-UX.
6673 ac_sed_frag=1 # Number of current file.
6674 ac_beg=1 # First line for current file.
6675 ac_end=$ac_max_sed_lines # Line after last line for current file.
6678 while $ac_more_lines; do
6679 if test $ac_beg -gt 1; then
6680 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6682 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6684 if test ! -s $tmp/subs.frag; then
6687 # The purpose of the label and of the branching condition is to
6688 # speed up the sed processing (if there are no `@' at all, there
6689 # is no need to browse any of the substitutions).
6690 # These are the two extra sed commands mentioned above.
6692 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6693 if test -z "$ac_sed_cmds"; then
6694 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6696 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6698 ac_sed_frag=`expr $ac_sed_frag + 1`
6700 ac_end=`expr $ac_end + $ac_max_sed_lines`
6703 if test -z "$ac_sed_cmds"; then
6706 fi # test -n "$CONFIG_FILES"
6709 cat >>$CONFIG_STATUS <<\_ACEOF
6710 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6711 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6713 - | *:- | *:-:* ) # input from stdin
6715 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6716 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6717 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6718 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6719 * ) ac_file_in=$ac_file.in ;;
6722 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6723 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6725 X"$ac_file" : 'X\(//\)[^/]' \| \
6726 X"$ac_file" : 'X\(//\)$' \| \
6727 X"$ac_file" : 'X\(/\)' \| \
6728 . : '\(.\)' 2>/dev/null ||
6730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6732 /^X\(\/\/\)$/{ s//\1/; q; }
6733 /^X\(\/\).*/{ s//\1/; q; }
6735 { if $as_mkdir_p; then
6740 while test ! -d "$as_dir"; do
6741 as_dirs="$as_dir $as_dirs"
6742 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6744 X"$as_dir" : 'X\(//\)[^/]' \| \
6745 X"$as_dir" : 'X\(//\)$' \| \
6746 X"$as_dir" : 'X\(/\)' \| \
6747 . : '\(.\)' 2>/dev/null ||
6749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6751 /^X\(\/\/\)$/{ s//\1/; q; }
6752 /^X\(\/\).*/{ s//\1/; q; }
6755 test ! -n "$as_dirs" || mkdir $as_dirs
6756 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6757 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6758 { (exit 1); exit 1; }; }; }
6762 if test "$ac_dir" != .; then
6763 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6764 # A "../" for each directory in $ac_dir_suffix.
6765 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6767 ac_dir_suffix= ac_top_builddir=
6771 .) # No --srcdir option. We are building in place.
6773 if test -z "$ac_top_builddir"; then
6776 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6778 [\\/]* | ?:[\\/]* ) # Absolute path.
6779 ac_srcdir=$srcdir$ac_dir_suffix;
6780 ac_top_srcdir=$srcdir ;;
6782 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6783 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6786 # Do not use `cd foo && pwd` to compute absolute paths, because
6787 # the directories may not exist.
6789 .) ac_abs_builddir="$ac_dir";;
6792 .) ac_abs_builddir=`pwd`;;
6793 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6794 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6797 case $ac_abs_builddir in
6798 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6800 case ${ac_top_builddir}. in
6801 .) ac_abs_top_builddir=$ac_abs_builddir;;
6802 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6803 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6806 case $ac_abs_builddir in
6807 .) ac_abs_srcdir=$ac_srcdir;;
6810 .) ac_abs_srcdir=$ac_abs_builddir;;
6811 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6812 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6815 case $ac_abs_builddir in
6816 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6818 case $ac_top_srcdir in
6819 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6820 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6821 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6827 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6828 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6831 if test x"$ac_file" != x-; then
6832 { echo "$as_me:$LINENO: creating $ac_file" >&5
6833 echo "$as_me: creating $ac_file" >&6;}
6836 # Let's still pretend it is `configure' which instantiates (i.e., don't
6837 # use $as_me), people would be surprised to read:
6838 # /* config.h. Generated by config.status. */
6839 if test x"$ac_file" = x-; then
6842 configure_input="$ac_file. "
6844 configure_input=$configure_input"Generated from `echo $ac_file_in |
6845 sed 's,.*/,,'` by configure."
6847 # First look for the input files in the build tree, otherwise in the
6849 ac_file_inputs=`IFS=:
6850 for f in $ac_file_in; do
6852 -) echo $tmp/stdin ;;
6854 # Absolute (can't be DOS-style, as IFS=:)
6855 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6856 echo "$as_me: error: cannot find input file: $f" >&2;}
6857 { (exit 1); exit 1; }; }
6860 if test -f "$f"; then
6863 elif test -f "$srcdir/$f"; then
6868 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6869 echo "$as_me: error: cannot find input file: $f" >&2;}
6870 { (exit 1); exit 1; }; }
6873 done` || { (exit 1); exit 1; }
6875 cat >>$CONFIG_STATUS <<_ACEOF
6879 cat >>$CONFIG_STATUS <<\_ACEOF
6881 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6882 s,@configure_input@,$configure_input,;t t
6883 s,@srcdir@,$ac_srcdir,;t t
6884 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6885 s,@top_srcdir@,$ac_top_srcdir,;t t
6886 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6887 s,@builddir@,$ac_builddir,;t t
6888 s,@abs_builddir@,$ac_abs_builddir,;t t
6889 s,@top_builddir@,$ac_top_builddir,;t t
6890 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6891 s,@INSTALL@,$ac_INSTALL,;t t
6892 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6894 if test x"$ac_file" != x-; then
6895 mv $tmp/out $ac_file
6903 cat >>$CONFIG_STATUS <<\_ACEOF
6906 # CONFIG_HEADER section.
6909 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6910 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6912 # ac_d sets the value in "#define NAME VALUE" lines.
6913 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6914 ac_dB='[ ].*$,\1#\2'
6917 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6918 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6919 ac_uB='$,\1#\2define\3'
6923 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6924 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6926 - | *:- | *:-:* ) # input from stdin
6928 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6929 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6930 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6931 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6932 * ) ac_file_in=$ac_file.in ;;
6935 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6936 echo "$as_me: creating $ac_file" >&6;}
6938 # First look for the input files in the build tree, otherwise in the
6940 ac_file_inputs=`IFS=:
6941 for f in $ac_file_in; do
6943 -) echo $tmp/stdin ;;
6945 # Absolute (can't be DOS-style, as IFS=:)
6946 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6947 echo "$as_me: error: cannot find input file: $f" >&2;}
6948 { (exit 1); exit 1; }; }
6949 # Do quote $f, to prevent DOS paths from being IFS'd.
6952 if test -f "$f"; then
6955 elif test -f "$srcdir/$f"; then
6960 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6961 echo "$as_me: error: cannot find input file: $f" >&2;}
6962 { (exit 1); exit 1; }; }
6965 done` || { (exit 1); exit 1; }
6966 # Remove the trailing spaces.
6967 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6971 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6972 # `conftest.undefs', that substitutes the proper values into
6973 # config.h.in to produce config.h. The first handles `#define'
6974 # templates, and the second `#undef' templates.
6975 # And first: Protect against being on the right side of a sed subst in
6976 # config.status. Protect against being in an unquoted here document
6978 rm -f conftest.defines conftest.undefs
6979 # Using a here document instead of a string reduces the quoting nightmare.
6980 # Putting comments in sed scripts is not portable.
6982 # `end' is used to avoid that the second main sed command (meant for
6983 # 0-ary CPP macros) applies to n-ary macro definitions.
6984 # See the Autoconf documentation for `clear'.
6985 cat >confdef2sed.sed <<\_ACEOF
6990 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6992 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6995 # If some macros were called several times there might be several times
6996 # the same #defines, which is useless. Nevertheless, we may not want to
6997 # sort them, since we want the *last* AC-DEFINE to be honored.
6998 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6999 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7000 rm -f confdef2sed.sed
7002 # This sed command replaces #undef with comments. This is necessary, for
7003 # example, in the case of _POSIX_SOURCE, which is predefined and required
7004 # on some systems where configure will not decide to define it.
7005 cat >>conftest.undefs <<\_ACEOF
7006 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7009 # Break up conftest.defines because some shells have a limit on the size
7010 # of here documents, and old seds have small limits too (100 cmds).
7011 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7012 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7013 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7014 echo ' :' >>$CONFIG_STATUS
7016 while grep . conftest.defines >/dev/null
7018 # Write a limited-size here document to $tmp/defines.sed.
7019 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7020 # Speed up: don't consider the non `#define' lines.
7021 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7022 # Work around the forget-to-reset-the-flag bug.
7023 echo 't clr' >>$CONFIG_STATUS
7024 echo ': clr' >>$CONFIG_STATUS
7025 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7027 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7031 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7032 rm -f conftest.defines
7033 mv conftest.tail conftest.defines
7035 rm -f conftest.defines
7036 echo ' fi # grep' >>$CONFIG_STATUS
7037 echo >>$CONFIG_STATUS
7039 # Break up conftest.undefs because some shells have a limit on the size
7040 # of here documents, and old seds have small limits too (100 cmds).
7041 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7043 while grep . conftest.undefs >/dev/null
7045 # Write a limited-size here document to $tmp/undefs.sed.
7046 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7047 # Speed up: don't consider the non `#undef'
7048 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7049 # Work around the forget-to-reset-the-flag bug.
7050 echo 't clr' >>$CONFIG_STATUS
7051 echo ': clr' >>$CONFIG_STATUS
7052 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7054 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7058 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7059 rm -f conftest.undefs
7060 mv conftest.tail conftest.undefs
7062 rm -f conftest.undefs
7064 cat >>$CONFIG_STATUS <<\_ACEOF
7065 # Let's still pretend it is `configure' which instantiates (i.e., don't
7066 # use $as_me), people would be surprised to read:
7067 # /* config.h. Generated by config.status. */
7068 if test x"$ac_file" = x-; then
7069 echo "/* Generated by configure. */" >$tmp/config.h
7071 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7073 cat $tmp/in >>$tmp/config.h
7075 if test x"$ac_file" != x-; then
7076 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7077 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7078 echo "$as_me: $ac_file is unchanged" >&6;}
7080 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7082 X"$ac_file" : 'X\(//\)[^/]' \| \
7083 X"$ac_file" : 'X\(//\)$' \| \
7084 X"$ac_file" : 'X\(/\)' \| \
7085 . : '\(.\)' 2>/dev/null ||
7087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7088 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7089 /^X\(\/\/\)$/{ s//\1/; q; }
7090 /^X\(\/\).*/{ s//\1/; q; }
7092 { if $as_mkdir_p; then
7097 while test ! -d "$as_dir"; do
7098 as_dirs="$as_dir $as_dirs"
7099 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7100 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7101 X"$as_dir" : 'X\(//\)[^/]' \| \
7102 X"$as_dir" : 'X\(//\)$' \| \
7103 X"$as_dir" : 'X\(/\)' \| \
7104 . : '\(.\)' 2>/dev/null ||
7106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7108 /^X\(\/\/\)$/{ s//\1/; q; }
7109 /^X\(\/\).*/{ s//\1/; q; }
7112 test ! -n "$as_dirs" || mkdir $as_dirs
7113 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7114 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7115 { (exit 1); exit 1; }; }; }
7118 mv $tmp/config.h $ac_file
7124 # Compute $ac_file's index in $config_headers.
7126 for _am_header in $config_headers :; do
7128 $ac_file | $ac_file:* )
7131 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7134 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7135 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7136 X$ac_file : 'X\(//\)[^/]' \| \
7137 X$ac_file : 'X\(//\)$' \| \
7138 X$ac_file : 'X\(/\)' \| \
7139 . : '\(.\)' 2>/dev/null ||
7141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7143 /^X\(\/\/\)$/{ s//\1/; q; }
7144 /^X\(\/\).*/{ s//\1/; q; }
7145 s/.*/./; q'`/stamp-h$_am_stamp_count
7148 cat >>$CONFIG_STATUS <<\_ACEOF
7151 # CONFIG_COMMANDS section.
7153 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7154 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7155 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7156 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7157 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7158 X"$ac_dest" : 'X\(//\)[^/]' \| \
7159 X"$ac_dest" : 'X\(//\)$' \| \
7160 X"$ac_dest" : 'X\(/\)' \| \
7161 . : '\(.\)' 2>/dev/null ||
7163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7165 /^X\(\/\/\)$/{ s//\1/; q; }
7166 /^X\(\/\).*/{ s//\1/; q; }
7168 { if $as_mkdir_p; then
7173 while test ! -d "$as_dir"; do
7174 as_dirs="$as_dir $as_dirs"
7175 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7177 X"$as_dir" : 'X\(//\)[^/]' \| \
7178 X"$as_dir" : 'X\(//\)$' \| \
7179 X"$as_dir" : 'X\(/\)' \| \
7180 . : '\(.\)' 2>/dev/null ||
7182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7183 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7184 /^X\(\/\/\)$/{ s//\1/; q; }
7185 /^X\(\/\).*/{ s//\1/; q; }
7188 test ! -n "$as_dirs" || mkdir $as_dirs
7189 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7190 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7191 { (exit 1); exit 1; }; }; }
7195 if test "$ac_dir" != .; then
7196 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7197 # A "../" for each directory in $ac_dir_suffix.
7198 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7200 ac_dir_suffix= ac_top_builddir=
7204 .) # No --srcdir option. We are building in place.
7206 if test -z "$ac_top_builddir"; then
7209 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7211 [\\/]* | ?:[\\/]* ) # Absolute path.
7212 ac_srcdir=$srcdir$ac_dir_suffix;
7213 ac_top_srcdir=$srcdir ;;
7215 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7216 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7219 # Do not use `cd foo && pwd` to compute absolute paths, because
7220 # the directories may not exist.
7222 .) ac_abs_builddir="$ac_dir";;
7225 .) ac_abs_builddir=`pwd`;;
7226 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7227 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7230 case $ac_abs_builddir in
7231 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7233 case ${ac_top_builddir}. in
7234 .) ac_abs_top_builddir=$ac_abs_builddir;;
7235 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7236 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7239 case $ac_abs_builddir in
7240 .) ac_abs_srcdir=$ac_srcdir;;
7243 .) ac_abs_srcdir=$ac_abs_builddir;;
7244 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7245 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7248 case $ac_abs_builddir in
7249 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7251 case $ac_top_srcdir in
7252 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7253 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7254 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7259 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7260 echo "$as_me: executing $ac_dest commands" >&6;}
7262 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7263 # Strip MF so we end up with the name of the file.
7264 mf=`echo "$mf" | sed -e 's/:.*$//'`
7265 # Check whether this is an Automake generated Makefile or not.
7266 # We used to match only the files named `Makefile.in', but
7267 # some people rename them; so instead we look at the file content.
7268 # Grep'ing the first line is not enough: some people post-process
7269 # each Makefile.in and add a new line on top of each file to say so.
7270 # So let's grep whole file.
7271 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7272 dirpart=`(dirname "$mf") 2>/dev/null ||
7273 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7274 X"$mf" : 'X\(//\)[^/]' \| \
7275 X"$mf" : 'X\(//\)$' \| \
7276 X"$mf" : 'X\(/\)' \| \
7277 . : '\(.\)' 2>/dev/null ||
7279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7281 /^X\(\/\/\)$/{ s//\1/; q; }
7282 /^X\(\/\).*/{ s//\1/; q; }
7287 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7288 # Extract the definition of DEP_FILES from the Makefile without
7290 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7291 test -z "$DEPDIR" && continue
7292 # When using ansi2knr, U may be empty or an underscore; expand it
7293 U=`sed -n 's/^U = //p' < "$mf"`
7294 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7295 # We invoke sed twice because it is the simplest approach to
7296 # changing $(DEPDIR) to its actual value in the expansion.
7297 for file in `sed -n '
7298 /^DEP_FILES = .*\\\\$/ {
7307 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7308 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7309 # Make sure the directory exists.
7310 test -f "$dirpart/$file" && continue
7311 fdir=`(dirname "$file") 2>/dev/null ||
7312 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7313 X"$file" : 'X\(//\)[^/]' \| \
7314 X"$file" : 'X\(//\)$' \| \
7315 X"$file" : 'X\(/\)' \| \
7316 . : '\(.\)' 2>/dev/null ||
7318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7320 /^X\(\/\/\)$/{ s//\1/; q; }
7321 /^X\(\/\).*/{ s//\1/; q; }
7323 { if $as_mkdir_p; then
7324 mkdir -p $dirpart/$fdir
7326 as_dir=$dirpart/$fdir
7328 while test ! -d "$as_dir"; do
7329 as_dirs="$as_dir $as_dirs"
7330 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7332 X"$as_dir" : 'X\(//\)[^/]' \| \
7333 X"$as_dir" : 'X\(//\)$' \| \
7334 X"$as_dir" : 'X\(/\)' \| \
7335 . : '\(.\)' 2>/dev/null ||
7337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7339 /^X\(\/\/\)$/{ s//\1/; q; }
7340 /^X\(\/\).*/{ s//\1/; q; }
7343 test ! -n "$as_dirs" || mkdir $as_dirs
7344 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7345 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7346 { (exit 1); exit 1; }; }; }
7348 # echo "creating $dirpart/$file"
7349 echo '# dummy' > "$dirpart/$file"
7357 cat >>$CONFIG_STATUS <<\_ACEOF
7359 { (exit 0); exit 0; }
7361 chmod +x $CONFIG_STATUS
7362 ac_clean_files=$ac_clean_files_save
7365 # configure is writing to config.log, and then calls config.status.
7366 # config.status does its own redirection, appending to config.log.
7367 # Unfortunately, on DOS this fails, as config.log is still kept open
7368 # by configure, so config.status won't be able to write to it; its
7369 # output is simply discarded. So we exec the FD to /dev/null,
7370 # effectively closing config.log, so it can be properly (re)opened and
7371 # appended to by config.status. When coming back to configure, we
7372 # need to make the FD available again.
7373 if test "$no_create" != yes; then
7375 ac_config_status_args=
7376 test "$silent" = yes &&
7377 ac_config_status_args="$ac_config_status_args --quiet"
7379 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7381 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7382 # would make configure fail if this is the last instruction.
7383 $ac_cs_success || { (exit 1); exit 1; }
7387 # CONFIG_SUBDIRS section.
7389 if test "$no_recursion" != yes; then
7391 # Remove --cache-file and --srcdir arguments so they do not pile up.
7392 ac_sub_configure_args=
7394 for ac_arg in $ac_configure_args; do
7395 if test -n "$ac_prev"; then
7400 -cache-file | --cache-file | --cache-fil | --cache-fi \
7401 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7402 ac_prev=cache_file ;;
7403 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7404 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
7407 --config-cache | -C)
7409 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7411 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7413 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7415 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7417 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
7421 # Always prepend --prefix to ensure using the same prefix
7422 # in subdir configurations.
7423 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
7426 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
7428 # Do not complain, so a configure script can configure whichever
7429 # parts of a large source tree are present.
7430 test -d $srcdir/$ac_dir || continue
7432 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7433 echo "$as_me: configuring in $ac_dir" >&6;}
7434 { if $as_mkdir_p; then
7439 while test ! -d "$as_dir"; do
7440 as_dirs="$as_dir $as_dirs"
7441 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7443 X"$as_dir" : 'X\(//\)[^/]' \| \
7444 X"$as_dir" : 'X\(//\)$' \| \
7445 X"$as_dir" : 'X\(/\)' \| \
7446 . : '\(.\)' 2>/dev/null ||
7448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7449 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7450 /^X\(\/\/\)$/{ s//\1/; q; }
7451 /^X\(\/\).*/{ s//\1/; q; }
7454 test ! -n "$as_dirs" || mkdir $as_dirs
7455 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7456 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7457 { (exit 1); exit 1; }; }; }
7461 if test "$ac_dir" != .; then
7462 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7463 # A "../" for each directory in $ac_dir_suffix.
7464 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7466 ac_dir_suffix= ac_top_builddir=
7470 .) # No --srcdir option. We are building in place.
7472 if test -z "$ac_top_builddir"; then
7475 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7477 [\\/]* | ?:[\\/]* ) # Absolute path.
7478 ac_srcdir=$srcdir$ac_dir_suffix;
7479 ac_top_srcdir=$srcdir ;;
7481 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7482 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7485 # Do not use `cd foo && pwd` to compute absolute paths, because
7486 # the directories may not exist.
7488 .) ac_abs_builddir="$ac_dir";;
7491 .) ac_abs_builddir=`pwd`;;
7492 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7493 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7496 case $ac_abs_builddir in
7497 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7499 case ${ac_top_builddir}. in
7500 .) ac_abs_top_builddir=$ac_abs_builddir;;
7501 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7502 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7505 case $ac_abs_builddir in
7506 .) ac_abs_srcdir=$ac_srcdir;;
7509 .) ac_abs_srcdir=$ac_abs_builddir;;
7510 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7511 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7514 case $ac_abs_builddir in
7515 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7517 case $ac_top_srcdir in
7518 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7519 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7520 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7527 # Check for guested configure; otherwise get Cygnus style configure.
7528 if test -f $ac_srcdir/configure.gnu; then
7529 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
7530 elif test -f $ac_srcdir/configure; then
7531 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
7532 elif test -f $ac_srcdir/configure.in; then
7533 ac_sub_configure=$ac_configure
7535 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7536 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7540 # The recursion is here.
7541 if test -n "$ac_sub_configure"; then
7542 # Make the cache file name correct relative to the subdirectory.
7544 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7546 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7549 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7550 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7551 # The eval makes quoting arguments work.
7552 eval $ac_sub_configure $ac_sub_configure_args \
7553 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7554 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7555 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7556 { (exit 1); exit 1; }; }