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="packihx.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
840 Some influential environment variables:
841 CC C compiler command
842 CFLAGS C compiler flags
843 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
844 nonstandard directory <lib dir>
845 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
846 headers in a nonstandard directory <include dir>
849 Use these variables to override the choices made by `configure' or to help
850 it to find libraries and programs with nonstandard names/locations.
855 if test "$ac_init_help" = "recursive"; then
856 # If there are subdirs, report their specific --help.
858 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
859 test -d $ac_dir || continue
862 if test "$ac_dir" != .; then
863 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
864 # A "../" for each directory in $ac_dir_suffix.
865 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
867 ac_dir_suffix= ac_top_builddir=
871 .) # No --srcdir option. We are building in place.
873 if test -z "$ac_top_builddir"; then
876 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
878 [\\/]* | ?:[\\/]* ) # Absolute path.
879 ac_srcdir=$srcdir$ac_dir_suffix;
880 ac_top_srcdir=$srcdir ;;
882 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
883 ac_top_srcdir=$ac_top_builddir$srcdir ;;
886 # Do not use `cd foo && pwd` to compute absolute paths, because
887 # the directories may not exist.
889 .) ac_abs_builddir="$ac_dir";;
892 .) ac_abs_builddir=`pwd`;;
893 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
894 *) ac_abs_builddir=`pwd`/"$ac_dir";;
897 case $ac_abs_builddir in
898 .) ac_abs_top_builddir=${ac_top_builddir}.;;
900 case ${ac_top_builddir}. in
901 .) ac_abs_top_builddir=$ac_abs_builddir;;
902 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
903 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
906 case $ac_abs_builddir in
907 .) ac_abs_srcdir=$ac_srcdir;;
910 .) ac_abs_srcdir=$ac_abs_builddir;;
911 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
912 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
915 case $ac_abs_builddir in
916 .) ac_abs_top_srcdir=$ac_top_srcdir;;
918 case $ac_top_srcdir in
919 .) ac_abs_top_srcdir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
921 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
926 # Check for guested configure; otherwise get Cygnus style configure.
927 if test -f $ac_srcdir/configure.gnu; then
929 $SHELL $ac_srcdir/configure.gnu --help=recursive
930 elif test -f $ac_srcdir/configure; then
932 $SHELL $ac_srcdir/configure --help=recursive
933 elif test -f $ac_srcdir/configure.ac ||
934 test -f $ac_srcdir/configure.in; then
938 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
944 test -n "$ac_init_help" && exit 0
945 if $ac_init_version; then
948 Copyright (C) 2003 Free Software Foundation, Inc.
949 This configure script is free software; the Free Software Foundation
950 gives unlimited permission to copy, distribute and modify it.
956 This file contains any messages produced by compilers while
957 running configure, to aid debugging if configure makes a mistake.
959 It was created by $as_me, which was
960 generated by GNU Autoconf 2.59. Invocation command line was
971 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
972 uname -m = `(uname -m) 2>/dev/null || echo unknown`
973 uname -r = `(uname -r) 2>/dev/null || echo unknown`
974 uname -s = `(uname -s) 2>/dev/null || echo unknown`
975 uname -v = `(uname -v) 2>/dev/null || echo unknown`
977 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
978 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
980 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
981 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
982 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
983 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
984 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
985 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
986 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
994 test -z "$as_dir" && as_dir=.
1010 # Keep a trace of the command line.
1011 # Strip out --no-create and --no-recursion so they do not pile up.
1012 # Strip out --silent because we don't want to record it for future runs.
1013 # Also quote any args containing shell meta-characters.
1014 # Make two passes to allow for proper duplicate-argument suppression.
1019 ac_must_keep_next=false
1025 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027 | -silent | --silent | --silen | --sile | --sil)
1029 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1030 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1033 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1035 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1036 if test $ac_must_keep_next = true; then
1037 ac_must_keep_next=false # Got value, back to normal.
1040 *=* | --config-cache | -C | -disable-* | --disable-* \
1041 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1042 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1043 | -with-* | --with-* | -without-* | --without-* | --x)
1044 case "$ac_configure_args0 " in
1045 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1048 -* ) ac_must_keep_next=true ;;
1051 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1052 # Get rid of the leading space.
1058 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1059 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1061 # When interrupted or exit'd, cleanup temporary files, and complete
1062 # config.log. We remove comments because anyway the quotes in there
1063 # would cause problems or look ugly.
1064 # WARNING: Be sure not to use single quotes in there, as some shells,
1065 # such as our DU 5.0 friend, will then `close' the trap.
1066 trap 'exit_status=$?
1067 # Save into config.log some information that might help in debugging.
1072 ## ---------------- ##
1073 ## Cache variables. ##
1074 ## ---------------- ##
1077 # The following way of writing the cache mishandles newlines in values,
1080 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1083 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1095 ## ----------------- ##
1096 ## Output variables. ##
1097 ## ----------------- ##
1100 for ac_var in $ac_subst_vars
1102 eval ac_val=$`echo $ac_var`
1103 echo "$ac_var='"'"'$ac_val'"'"'"
1107 if test -n "$ac_subst_files"; then
1114 for ac_var in $ac_subst_files
1116 eval ac_val=$`echo $ac_var`
1117 echo "$ac_var='"'"'$ac_val'"'"'"
1122 if test -s confdefs.h; then
1129 sed "/^$/d" confdefs.h | sort
1132 test "$ac_signal" != 0 &&
1133 echo "$as_me: caught signal $ac_signal"
1134 echo "$as_me: exit $exit_status"
1136 rm -f core *.core &&
1137 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1140 for ac_signal in 1 2 13 15; do
1141 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1145 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1146 rm -rf conftest* confdefs.h
1147 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1150 # Predefined preprocessor variables.
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_NAME "$PACKAGE_NAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_STRING "$PACKAGE_STRING"
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1177 # Let the site file select an alternate cache file if it wants to.
1178 # Prefer explicitly selected file to automatically selected ones.
1179 if test -z "$CONFIG_SITE"; then
1180 if test "x$prefix" != xNONE; then
1181 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1183 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1186 for ac_site_file in $CONFIG_SITE; do
1187 if test -r "$ac_site_file"; then
1188 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1189 echo "$as_me: loading site script $ac_site_file" >&6;}
1190 sed 's/^/| /' "$ac_site_file" >&5
1195 if test -r "$cache_file"; then
1196 # Some versions of bash will fail to source /dev/null (special
1197 # files actually), so we avoid doing that.
1198 if test -f "$cache_file"; then
1199 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1200 echo "$as_me: loading cache $cache_file" >&6;}
1202 [\\/]* | ?:[\\/]* ) . $cache_file;;
1203 *) . ./$cache_file;;
1207 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1208 echo "$as_me: creating cache $cache_file" >&6;}
1212 # Check that the precious variables saved in the cache have kept the same
1214 ac_cache_corrupted=false
1215 for ac_var in `(set) 2>&1 |
1216 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1217 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1218 eval ac_new_set=\$ac_env_${ac_var}_set
1219 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1220 eval ac_new_val="\$ac_env_${ac_var}_value"
1221 case $ac_old_set,$ac_new_set in
1223 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1224 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1225 ac_cache_corrupted=: ;;
1227 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1228 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1229 ac_cache_corrupted=: ;;
1232 if test "x$ac_old_val" != "x$ac_new_val"; then
1233 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1234 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1235 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1236 echo "$as_me: former value: $ac_old_val" >&2;}
1237 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1238 echo "$as_me: current value: $ac_new_val" >&2;}
1239 ac_cache_corrupted=:
1242 # Pass precious variables to config.status.
1243 if test "$ac_new_set" = set; then
1245 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1246 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1247 *) ac_arg=$ac_var=$ac_new_val ;;
1249 case " $ac_configure_args " in
1250 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1251 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1255 if $ac_cache_corrupted; then
1256 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1257 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1258 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1259 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1260 { (exit 1); exit 1; }; }
1264 ac_cpp='$CPP $CPPFLAGS'
1265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1287 ac_config_headers="$ac_config_headers config.h:config_in.h"
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1296 if test -n "$ac_tool_prefix"; then
1297 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1298 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1299 echo "$as_me:$LINENO: checking for $ac_word" >&5
1300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1301 if test "${ac_cv_prog_CC+set}" = set; then
1302 echo $ECHO_N "(cached) $ECHO_C" >&6
1304 if test -n "$CC"; then
1305 ac_cv_prog_CC="$CC" # Let the user override the test.
1307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1311 test -z "$as_dir" && as_dir=.
1312 for ac_exec_ext in '' $ac_executable_extensions; do
1313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1314 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1324 if test -n "$CC"; then
1325 echo "$as_me:$LINENO: result: $CC" >&5
1326 echo "${ECHO_T}$CC" >&6
1328 echo "$as_me:$LINENO: result: no" >&5
1329 echo "${ECHO_T}no" >&6
1333 if test -z "$ac_cv_prog_CC"; then
1335 # Extract the first word of "gcc", so it can be a program name with args.
1336 set dummy gcc; ac_word=$2
1337 echo "$as_me:$LINENO: checking for $ac_word" >&5
1338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1339 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1340 echo $ECHO_N "(cached) $ECHO_C" >&6
1342 if test -n "$ac_ct_CC"; then
1343 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349 test -z "$as_dir" && as_dir=.
1350 for ac_exec_ext in '' $ac_executable_extensions; do
1351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1352 ac_cv_prog_ac_ct_CC="gcc"
1353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1361 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1362 if test -n "$ac_ct_CC"; then
1363 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1364 echo "${ECHO_T}$ac_ct_CC" >&6
1366 echo "$as_me:$LINENO: result: no" >&5
1367 echo "${ECHO_T}no" >&6
1375 if test -z "$CC"; then
1376 if test -n "$ac_tool_prefix"; then
1377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1378 set dummy ${ac_tool_prefix}cc; ac_word=$2
1379 echo "$as_me:$LINENO: checking for $ac_word" >&5
1380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1381 if test "${ac_cv_prog_CC+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 if test -n "$CC"; then
1385 ac_cv_prog_CC="$CC" # Let the user override the test.
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391 test -z "$as_dir" && as_dir=.
1392 for ac_exec_ext in '' $ac_executable_extensions; do
1393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1394 ac_cv_prog_CC="${ac_tool_prefix}cc"
1395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1404 if test -n "$CC"; then
1405 echo "$as_me:$LINENO: result: $CC" >&5
1406 echo "${ECHO_T}$CC" >&6
1408 echo "$as_me:$LINENO: result: no" >&5
1409 echo "${ECHO_T}no" >&6
1413 if test -z "$ac_cv_prog_CC"; then
1415 # Extract the first word of "cc", so it can be a program name with args.
1416 set dummy cc; ac_word=$2
1417 echo "$as_me:$LINENO: checking for $ac_word" >&5
1418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 if test -n "$ac_ct_CC"; then
1423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1429 test -z "$as_dir" && as_dir=.
1430 for ac_exec_ext in '' $ac_executable_extensions; do
1431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1432 ac_cv_prog_ac_ct_CC="cc"
1433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1441 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1442 if test -n "$ac_ct_CC"; then
1443 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1444 echo "${ECHO_T}$ac_ct_CC" >&6
1446 echo "$as_me:$LINENO: result: no" >&5
1447 echo "${ECHO_T}no" >&6
1456 if test -z "$CC"; then
1457 # Extract the first word of "cc", so it can be a program name with args.
1458 set dummy cc; ac_word=$2
1459 echo "$as_me:$LINENO: checking for $ac_word" >&5
1460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1461 if test "${ac_cv_prog_CC+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 if test -n "$CC"; then
1465 ac_cv_prog_CC="$CC" # Let the user override the test.
1468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir=.
1473 for ac_exec_ext in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1475 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1476 ac_prog_rejected=yes
1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1486 if test $ac_prog_rejected = yes; then
1487 # We found a bogon in the path, so make sure we never use it.
1488 set dummy $ac_cv_prog_CC
1490 if test $# != 0; then
1491 # We chose a different compiler from the bogus one.
1492 # However, it has the same basename, so the bogon will be chosen
1493 # first if we set CC to just the basename; use the full file name.
1495 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1501 if test -n "$CC"; then
1502 echo "$as_me:$LINENO: result: $CC" >&5
1503 echo "${ECHO_T}$CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1510 if test -z "$CC"; then
1511 if test -n "$ac_tool_prefix"; then
1514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_CC+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 if test -n "$CC"; then
1522 ac_cv_prog_CC="$CC" # Let the user override the test.
1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir=.
1529 for ac_exec_ext in '' $ac_executable_extensions; do
1530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1531 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 if test -n "$CC"; then
1542 echo "$as_me:$LINENO: result: $CC" >&5
1543 echo "${ECHO_T}$CC" >&6
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1549 test -n "$CC" && break
1552 if test -z "$CC"; then
1556 # Extract the first word of "$ac_prog", so it can be a program name with args.
1557 set dummy $ac_prog; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$ac_ct_CC"; then
1564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_ac_ct_CC="$ac_prog"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1583 if test -n "$ac_ct_CC"; then
1584 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1585 echo "${ECHO_T}$ac_ct_CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1591 test -n "$ac_ct_CC" && break
1600 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1601 See \`config.log' for more details." >&5
1602 echo "$as_me: error: no acceptable C compiler found in \$PATH
1603 See \`config.log' for more details." >&2;}
1604 { (exit 1); exit 1; }; }
1606 # Provide some information about the compiler.
1607 echo "$as_me:$LINENO:" \
1608 "checking for C compiler version" >&5
1609 ac_compiler=`set X $ac_compile; echo $2`
1610 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1611 (eval $ac_compiler --version </dev/null >&5) 2>&5
1613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1614 (exit $ac_status); }
1615 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1616 (eval $ac_compiler -v </dev/null >&5) 2>&5
1618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1619 (exit $ac_status); }
1620 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1621 (eval $ac_compiler -V </dev/null >&5) 2>&5
1623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1624 (exit $ac_status); }
1626 cat >conftest.$ac_ext <<_ACEOF
1629 cat confdefs.h >>conftest.$ac_ext
1630 cat >>conftest.$ac_ext <<_ACEOF
1631 /* end confdefs.h. */
1641 ac_clean_files_save=$ac_clean_files
1642 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1643 # Try to create an executable without -o first, disregard a.out.
1644 # It will help us diagnose broken compilers, and finding out an intuition
1646 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1647 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1648 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1649 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1650 (eval $ac_link_default) 2>&5
1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1653 (exit $ac_status); }; then
1654 # Find the output, starting from the most likely. This scheme is
1655 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1658 # Be careful to initialize this variable, since it used to be cached.
1659 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1661 # b.out is created by i960 compilers.
1662 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1664 test -f "$ac_file" || continue
1666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1669 # This is the source file.
1672 # We found the default executable, but exeext='' is most
1676 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1677 # FIXME: I believe we export ac_cv_exeext for Libtool,
1678 # but it would be cool to find out if it's true. Does anybody
1679 # maintain Libtool? --akim.
1687 echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1690 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1691 See \`config.log' for more details." >&5
1692 echo "$as_me: error: C compiler cannot create executables
1693 See \`config.log' for more details." >&2;}
1694 { (exit 77); exit 77; }; }
1697 ac_exeext=$ac_cv_exeext
1698 echo "$as_me:$LINENO: result: $ac_file" >&5
1699 echo "${ECHO_T}$ac_file" >&6
1701 # Check the compiler produces executables we can run. If not, either
1702 # the compiler is broken, or we cross compile.
1703 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1704 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1705 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1706 # If not cross compiling, check that we can run a simple program.
1707 if test "$cross_compiling" != yes; then
1708 if { ac_try='./$ac_file'
1709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); }; }; then
1716 if test "$cross_compiling" = maybe; then
1719 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1720 If you meant to cross compile, use \`--host'.
1721 See \`config.log' for more details." >&5
1722 echo "$as_me: error: cannot run C compiled programs.
1723 If you meant to cross compile, use \`--host'.
1724 See \`config.log' for more details." >&2;}
1725 { (exit 1); exit 1; }; }
1729 echo "$as_me:$LINENO: result: yes" >&5
1730 echo "${ECHO_T}yes" >&6
1732 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1733 ac_clean_files=$ac_clean_files_save
1734 # Check the compiler produces executables we can run. If not, either
1735 # the compiler is broken, or we cross compile.
1736 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1738 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1739 echo "${ECHO_T}$cross_compiling" >&6
1741 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1744 (eval $ac_link) 2>&5
1746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1747 (exit $ac_status); }; then
1748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1750 # work properly (i.e., refer to `conftest.exe'), while it won't with
1752 for ac_file in conftest.exe conftest conftest.*; do
1753 test -f "$ac_file" || continue
1755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1763 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1764 See \`config.log' for more details." >&5
1765 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1766 See \`config.log' for more details." >&2;}
1767 { (exit 1); exit 1; }; }
1770 rm -f conftest$ac_cv_exeext
1771 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1772 echo "${ECHO_T}$ac_cv_exeext" >&6
1774 rm -f conftest.$ac_ext
1775 EXEEXT=$ac_cv_exeext
1777 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1778 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1779 if test "${ac_cv_objext+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 cat >conftest.$ac_ext <<_ACEOF
1785 cat confdefs.h >>conftest.$ac_ext
1786 cat >>conftest.$ac_ext <<_ACEOF
1787 /* end confdefs.h. */
1797 rm -f conftest.o conftest.obj
1798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1799 (eval $ac_compile) 2>&5
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); }; then
1803 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1806 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1811 echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1814 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1815 See \`config.log' for more details." >&5
1816 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1817 See \`config.log' for more details." >&2;}
1818 { (exit 1); exit 1; }; }
1821 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1823 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1824 echo "${ECHO_T}$ac_cv_objext" >&6
1825 OBJEXT=$ac_cv_objext
1827 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1828 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1829 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 cat >conftest.$ac_ext <<_ACEOF
1835 cat confdefs.h >>conftest.$ac_ext
1836 cat >>conftest.$ac_ext <<_ACEOF
1837 /* end confdefs.h. */
1850 rm -f conftest.$ac_objext
1851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1852 (eval $ac_compile) 2>conftest.er1
1854 grep -v '^ *+' conftest.er1 >conftest.err
1856 cat conftest.err >&5
1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 (exit $ac_status); } &&
1859 { ac_try='test -z "$ac_c_werror_flag"
1860 || test ! -s conftest.err'
1861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865 (exit $ac_status); }; } &&
1866 { ac_try='test -s conftest.$ac_objext'
1867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1871 (exit $ac_status); }; }; then
1874 echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1880 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1883 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1884 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1885 GCC=`test $ac_compiler_gnu = yes && echo yes`
1886 ac_test_CFLAGS=${CFLAGS+set}
1887 ac_save_CFLAGS=$CFLAGS
1889 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1891 if test "${ac_cv_prog_cc_g+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 cat >conftest.$ac_ext <<_ACEOF
1897 cat confdefs.h >>conftest.$ac_ext
1898 cat >>conftest.$ac_ext <<_ACEOF
1899 /* end confdefs.h. */
1909 rm -f conftest.$ac_objext
1910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1911 (eval $ac_compile) 2>conftest.er1
1913 grep -v '^ *+' conftest.er1 >conftest.err
1915 cat conftest.err >&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); } &&
1918 { ac_try='test -z "$ac_c_werror_flag"
1919 || test ! -s conftest.err'
1920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }; } &&
1925 { ac_try='test -s conftest.$ac_objext'
1926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }; }; then
1933 echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1940 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1941 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1942 if test "$ac_test_CFLAGS" = set; then
1943 CFLAGS=$ac_save_CFLAGS
1944 elif test $ac_cv_prog_cc_g = yes; then
1945 if test "$GCC" = yes; then
1951 if test "$GCC" = yes; then
1957 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1958 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1959 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 ac_cv_prog_cc_stdc=no
1964 cat >conftest.$ac_ext <<_ACEOF
1967 cat confdefs.h >>conftest.$ac_ext
1968 cat >>conftest.$ac_ext <<_ACEOF
1969 /* end confdefs.h. */
1972 #include <sys/types.h>
1973 #include <sys/stat.h>
1974 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1975 struct buf { int x; };
1976 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1977 static char *e (p, i)
1983 static char *f (char * (*g) (char **, int), char **p, ...)
1988 s = g (p, va_arg (v,int));
1993 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1994 function prototypes and stuff, but not '\xHH' hex character constants.
1995 These don't provoke an error unfortunately, instead are silently treated
1996 as 'x'. The following induces an error, until -std1 is added to get
1997 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1998 array size at least. It's necessary to write '\x00'==0 to get something
1999 that's true only with -std1. */
2000 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2002 int test (int i, double x);
2003 struct s1 {int (*f) (int a);};
2004 struct s2 {int (*f) (double a);};
2005 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2011 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2016 # Don't try gcc -ansi; that turns off useful extensions and
2017 # breaks some systems' header files.
2018 # AIX -qlanglvl=ansi
2019 # Ultrix and OSF/1 -std1
2020 # HP-UX 10.20 and later -Ae
2021 # HP-UX older versions -Aa -D_HPUX_SOURCE
2022 # SVR4 -Xc -D__EXTENSIONS__
2023 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2025 CC="$ac_save_CC $ac_arg"
2026 rm -f conftest.$ac_objext
2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>conftest.er1
2030 grep -v '^ *+' conftest.er1 >conftest.err
2032 cat conftest.err >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } &&
2035 { ac_try='test -z "$ac_c_werror_flag"
2036 || test ! -s conftest.err'
2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; } &&
2042 { ac_try='test -s conftest.$ac_objext'
2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }; }; then
2048 ac_cv_prog_cc_stdc=$ac_arg
2051 echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2055 rm -f conftest.err conftest.$ac_objext
2057 rm -f conftest.$ac_ext conftest.$ac_objext
2062 case "x$ac_cv_prog_cc_stdc" in
2064 echo "$as_me:$LINENO: result: none needed" >&5
2065 echo "${ECHO_T}none needed" >&6 ;;
2067 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2068 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2069 CC="$CC $ac_cv_prog_cc_stdc" ;;
2072 # Some people use a C++ compiler to compile C. Since we use `exit',
2073 # in C++ we need to declare it. In case someone uses the same compiler
2074 # for both compiling C and C++ we need to have the C++ compiler decide
2075 # the declaration of exit, since it's the most demanding environment.
2076 cat >conftest.$ac_ext <<_ACEOF
2081 rm -f conftest.$ac_objext
2082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2083 (eval $ac_compile) 2>conftest.er1
2085 grep -v '^ *+' conftest.er1 >conftest.err
2087 cat conftest.err >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); } &&
2090 { ac_try='test -z "$ac_c_werror_flag"
2091 || test ! -s conftest.err'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; } &&
2097 { ac_try='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2103 for ac_declaration in \
2105 'extern "C" void std::exit (int) throw (); using std::exit;' \
2106 'extern "C" void std::exit (int); using std::exit;' \
2107 'extern "C" void exit (int) throw ();' \
2108 'extern "C" void exit (int);' \
2111 cat >conftest.$ac_ext <<_ACEOF
2114 cat confdefs.h >>conftest.$ac_ext
2115 cat >>conftest.$ac_ext <<_ACEOF
2116 /* end confdefs.h. */
2127 rm -f conftest.$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1 >conftest.err
2133 cat conftest.err >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try='test -z "$ac_c_werror_flag"
2137 || test ! -s conftest.err'
2138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }; } &&
2143 { ac_try='test -s conftest.$ac_objext'
2144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; }; then
2151 echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.$ac_ext >&5
2156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2157 cat >conftest.$ac_ext <<_ACEOF
2160 cat confdefs.h >>conftest.$ac_ext
2161 cat >>conftest.$ac_ext <<_ACEOF
2162 /* end confdefs.h. */
2172 rm -f conftest.$ac_objext
2173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174 (eval $ac_compile) 2>conftest.er1
2176 grep -v '^ *+' conftest.er1 >conftest.err
2178 cat conftest.err >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try='test -z "$ac_c_werror_flag"
2182 || test ! -s conftest.err'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; } &&
2188 { ac_try='test -s conftest.$ac_objext'
2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; }; then
2196 echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.$ac_ext >&5
2200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2203 if test -n "$ac_declaration"; then
2204 echo '#ifdef __cplusplus' >>confdefs.h
2205 echo $ac_declaration >>confdefs.h
2206 echo '#endif' >>confdefs.h
2210 echo "$as_me: failed program was:" >&5
2211 sed 's/^/| /' conftest.$ac_ext >&5
2214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2224 ac_cpp='$CPP $CPPFLAGS'
2225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2228 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2229 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2230 # On Suns, sometimes $CPP names a directory.
2231 if test -n "$CPP" && test -d "$CPP"; then
2234 if test -z "$CPP"; then
2235 if test "${ac_cv_prog_CPP+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 # Double quotes because CPP needs to be expanded
2239 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2242 for ac_c_preproc_warn_flag in '' yes
2244 # Use a header file that comes with gcc, so configuring glibc
2245 # with a fresh cross-compiler works.
2246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2247 # <limits.h> exists even on freestanding compilers.
2248 # On the NeXT, cc -E runs the code through the compiler's parser,
2249 # not just through cpp. "Syntax error" is here to catch this case.
2250 cat >conftest.$ac_ext <<_ACEOF
2253 cat confdefs.h >>conftest.$ac_ext
2254 cat >>conftest.$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2257 # include <limits.h>
2259 # include <assert.h>
2263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2266 grep -v '^ *+' conftest.er1 >conftest.err
2268 cat conftest.err >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); } >/dev/null; then
2271 if test -s conftest.err; then
2272 ac_cpp_err=$ac_c_preproc_warn_flag
2273 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2280 if test -z "$ac_cpp_err"; then
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2286 # Broken: fails on valid input.
2289 rm -f conftest.err conftest.$ac_ext
2291 # OK, works on sane cases. Now check whether non-existent headers
2292 # can be detected and how.
2293 cat >conftest.$ac_ext <<_ACEOF
2296 cat confdefs.h >>conftest.$ac_ext
2297 cat >>conftest.$ac_ext <<_ACEOF
2298 /* end confdefs.h. */
2299 #include <ac_nonexistent.h>
2301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2304 grep -v '^ *+' conftest.er1 >conftest.err
2306 cat conftest.err >&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); } >/dev/null; then
2309 if test -s conftest.err; then
2310 ac_cpp_err=$ac_c_preproc_warn_flag
2311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2318 if test -z "$ac_cpp_err"; then
2319 # Broken: success on invalid input.
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.$ac_ext >&5
2325 # Passes both tests.
2329 rm -f conftest.err conftest.$ac_ext
2332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2333 rm -f conftest.err conftest.$ac_ext
2334 if $ac_preproc_ok; then
2346 echo "$as_me:$LINENO: result: $CPP" >&5
2347 echo "${ECHO_T}$CPP" >&6
2349 for ac_c_preproc_warn_flag in '' yes
2351 # Use a header file that comes with gcc, so configuring glibc
2352 # with a fresh cross-compiler works.
2353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2354 # <limits.h> exists even on freestanding compilers.
2355 # On the NeXT, cc -E runs the code through the compiler's parser,
2356 # not just through cpp. "Syntax error" is here to catch this case.
2357 cat >conftest.$ac_ext <<_ACEOF
2360 cat confdefs.h >>conftest.$ac_ext
2361 cat >>conftest.$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2364 # include <limits.h>
2366 # include <assert.h>
2370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2373 grep -v '^ *+' conftest.er1 >conftest.err
2375 cat conftest.err >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); } >/dev/null; then
2378 if test -s conftest.err; then
2379 ac_cpp_err=$ac_c_preproc_warn_flag
2380 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2387 if test -z "$ac_cpp_err"; then
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2393 # Broken: fails on valid input.
2396 rm -f conftest.err conftest.$ac_ext
2398 # OK, works on sane cases. Now check whether non-existent headers
2399 # can be detected and how.
2400 cat >conftest.$ac_ext <<_ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2406 #include <ac_nonexistent.h>
2408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2411 grep -v '^ *+' conftest.er1 >conftest.err
2413 cat conftest.err >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); } >/dev/null; then
2416 if test -s conftest.err; then
2417 ac_cpp_err=$ac_c_preproc_warn_flag
2418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2425 if test -z "$ac_cpp_err"; then
2426 # Broken: success on invalid input.
2429 echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 # Passes both tests.
2436 rm -f conftest.err conftest.$ac_ext
2439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2440 rm -f conftest.err conftest.$ac_ext
2441 if $ac_preproc_ok; then
2444 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2445 See \`config.log' for more details." >&5
2446 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2447 See \`config.log' for more details." >&2;}
2448 { (exit 1); exit 1; }; }
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458 echo "$as_me:$LINENO: checking for egrep" >&5
2459 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2460 if test "${ac_cv_prog_egrep+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2464 then ac_cv_prog_egrep='grep -E'
2465 else ac_cv_prog_egrep='egrep'
2468 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2469 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2470 EGREP=$ac_cv_prog_egrep
2473 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2475 if test "${ac_cv_header_stdc+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 cat >conftest.$ac_ext <<_ACEOF
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2497 rm -f conftest.$ac_objext
2498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2499 (eval $ac_compile) 2>conftest.er1
2501 grep -v '^ *+' conftest.er1 >conftest.err
2503 cat conftest.err >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } &&
2506 { ac_try='test -z "$ac_c_werror_flag"
2507 || test ! -s conftest.err'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; } &&
2513 { ac_try='test -s conftest.$ac_objext'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; }; then
2519 ac_cv_header_stdc=yes
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.$ac_ext >&5
2524 ac_cv_header_stdc=no
2526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2528 if test $ac_cv_header_stdc = yes; then
2529 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2530 cat >conftest.$ac_ext <<_ACEOF
2533 cat confdefs.h >>conftest.$ac_ext
2534 cat >>conftest.$ac_ext <<_ACEOF
2535 /* end confdefs.h. */
2539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2540 $EGREP "memchr" >/dev/null 2>&1; then
2543 ac_cv_header_stdc=no
2549 if test $ac_cv_header_stdc = yes; then
2550 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2551 cat >conftest.$ac_ext <<_ACEOF
2554 cat confdefs.h >>conftest.$ac_ext
2555 cat >>conftest.$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2561 $EGREP "free" >/dev/null 2>&1; then
2564 ac_cv_header_stdc=no
2570 if test $ac_cv_header_stdc = yes; then
2571 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2572 if test "$cross_compiling" = yes; then
2575 cat >conftest.$ac_ext <<_ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2582 #if ((' ' & 0x0FF) == 0x020)
2583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2586 # define ISLOWER(c) \
2587 (('a' <= (c) && (c) <= 'i') \
2588 || ('j' <= (c) && (c) <= 'r') \
2589 || ('s' <= (c) && (c) <= 'z'))
2590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2598 for (i = 0; i < 256; i++)
2599 if (XOR (islower (i), ISLOWER (i))
2600 || toupper (i) != TOUPPER (i))
2605 rm -f conftest$ac_exeext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2607 (eval $ac_link) 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 echo "$as_me: program exited with status $ac_status" >&5
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2623 ac_cv_header_stdc=no
2625 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2629 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2630 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2631 if test $ac_cv_header_stdc = yes; then
2633 cat >>confdefs.h <<\_ACEOF
2634 #define STDC_HEADERS 1
2639 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2649 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2650 inttypes.h stdint.h unistd.h
2652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2653 echo "$as_me:$LINENO: checking for $ac_header" >&5
2654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 cat >conftest.$ac_ext <<_ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2664 $ac_includes_default
2666 #include <$ac_header>
2668 rm -f conftest.$ac_objext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2670 (eval $ac_compile) 2>conftest.er1
2672 grep -v '^ *+' conftest.er1 >conftest.err
2674 cat conftest.err >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try='test -z "$ac_c_werror_flag"
2678 || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try='test -s conftest.$ac_objext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 eval "$as_ac_Header=yes"
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2695 eval "$as_ac_Header=no"
2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2702 cat >>confdefs.h <<_ACEOF
2703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2711 echo "$as_me:$LINENO: checking for char" >&5
2712 echo $ECHO_N "checking for char... $ECHO_C" >&6
2713 if test "${ac_cv_type_char+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 cat >conftest.$ac_ext <<_ACEOF
2719 cat confdefs.h >>conftest.$ac_ext
2720 cat >>conftest.$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2722 $ac_includes_default
2734 rm -f conftest.$ac_objext
2735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2736 (eval $ac_compile) 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try='test -z "$ac_c_werror_flag"
2744 || test ! -s conftest.err'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; } &&
2750 { ac_try='test -s conftest.$ac_objext'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2765 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
2766 echo "${ECHO_T}$ac_cv_type_char" >&6
2768 echo "$as_me:$LINENO: checking size of char" >&5
2769 echo $ECHO_N "checking size of char... $ECHO_C" >&6
2770 if test "${ac_cv_sizeof_char+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 if test "$ac_cv_type_char" = yes; then
2774 # The cast to unsigned long works around a bug in the HP C Compiler
2775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
2776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
2777 # This bug is HP SR number 8606223364.
2778 if test "$cross_compiling" = yes; then
2779 # Depending upon the size, compute the lo and hi bounds.
2780 cat >conftest.$ac_ext <<_ACEOF
2783 cat confdefs.h >>conftest.$ac_ext
2784 cat >>conftest.$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2786 $ac_includes_default
2790 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
2797 rm -f conftest.$ac_objext
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799 (eval $ac_compile) 2>conftest.er1
2801 grep -v '^ *+' conftest.er1 >conftest.err
2803 cat conftest.err >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } &&
2806 { ac_try='test -z "$ac_c_werror_flag"
2807 || test ! -s conftest.err'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; } &&
2813 { ac_try='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
2821 cat >conftest.$ac_ext <<_ACEOF
2824 cat confdefs.h >>conftest.$ac_ext
2825 cat >>conftest.$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2827 $ac_includes_default
2831 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
2838 rm -f conftest.$ac_objext
2839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840 (eval $ac_compile) 2>conftest.er1
2842 grep -v '^ *+' conftest.er1 >conftest.err
2844 cat conftest.err >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } &&
2847 { ac_try='test -z "$ac_c_werror_flag"
2848 || test ! -s conftest.err'
2849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; } &&
2854 { ac_try='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2860 ac_hi=$ac_mid; break
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 ac_lo=`expr $ac_mid + 1`
2866 if test $ac_lo -le $ac_mid; then
2870 ac_mid=`expr 2 '*' $ac_mid + 1`
2872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2875 echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.$ac_ext >&5
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2884 $ac_includes_default
2888 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
2895 rm -f conftest.$ac_objext
2896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2897 (eval $ac_compile) 2>conftest.er1
2899 grep -v '^ *+' conftest.er1 >conftest.err
2901 cat conftest.err >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } &&
2904 { ac_try='test -z "$ac_c_werror_flag"
2905 || test ! -s conftest.err'
2906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; } &&
2911 { ac_try='test -s conftest.$ac_objext'
2912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; }; then
2919 cat >conftest.$ac_ext <<_ACEOF
2922 cat confdefs.h >>conftest.$ac_ext
2923 cat >>conftest.$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2925 $ac_includes_default
2929 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
2936 rm -f conftest.$ac_objext
2937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2938 (eval $ac_compile) 2>conftest.er1
2940 grep -v '^ *+' conftest.er1 >conftest.err
2942 cat conftest.err >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } &&
2945 { ac_try='test -z "$ac_c_werror_flag"
2946 || test ! -s conftest.err'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2958 ac_lo=$ac_mid; break
2960 echo "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_hi=`expr '(' $ac_mid ')' - 1`
2964 if test $ac_mid -le $ac_hi; then
2968 ac_mid=`expr 2 '*' $ac_mid`
2970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2981 # Binary search between lo and hi bounds.
2982 while test "x$ac_lo" != "x$ac_hi"; do
2983 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2990 $ac_includes_default
2994 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
3001 rm -f conftest.$ac_objext
3002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3003 (eval $ac_compile) 2>conftest.er1
3005 grep -v '^ *+' conftest.er1 >conftest.err
3007 cat conftest.err >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } &&
3010 { ac_try='test -z "$ac_c_werror_flag"
3011 || test ! -s conftest.err'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; } &&
3017 { ac_try='test -s conftest.$ac_objext'
3018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }; }; then
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3028 ac_lo=`expr '(' $ac_mid ')' + 1`
3030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3033 ?*) ac_cv_sizeof_char=$ac_lo;;
3034 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
3035 See \`config.log' for more details." >&5
3036 echo "$as_me: error: cannot compute sizeof (char), 77
3037 See \`config.log' for more details." >&2;}
3038 { (exit 1); exit 1; }; } ;;
3041 if test "$cross_compiling" = yes; then
3042 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3043 See \`config.log' for more details." >&5
3044 echo "$as_me: error: cannot run test program while cross compiling
3045 See \`config.log' for more details." >&2;}
3046 { (exit 1); exit 1; }; }
3048 cat >conftest.$ac_ext <<_ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3054 $ac_includes_default
3055 long longval () { return (long) (sizeof (char)); }
3056 unsigned long ulongval () { return (long) (sizeof (char)); }
3063 FILE *f = fopen ("conftest.val", "w");
3066 if (((long) (sizeof (char))) < 0)
3068 long i = longval ();
3069 if (i != ((long) (sizeof (char))))
3071 fprintf (f, "%ld\n", i);
3075 unsigned long i = ulongval ();
3076 if (i != ((long) (sizeof (char))))
3078 fprintf (f, "%lu\n", i);
3080 exit (ferror (f) || fclose (f) != 0);
3086 rm -f conftest$ac_exeext
3087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3088 (eval $ac_link) 2>&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_sizeof_char=`cat conftest.val`
3099 echo "$as_me: program exited with status $ac_status" >&5
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3104 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
3105 See \`config.log' for more details." >&5
3106 echo "$as_me: error: cannot compute sizeof (char), 77
3107 See \`config.log' for more details." >&2;}
3108 { (exit 1); exit 1; }; }
3110 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3118 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
3119 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
3120 cat >>confdefs.h <<_ACEOF
3121 #define SIZEOF_CHAR $ac_cv_sizeof_char
3125 echo "$as_me:$LINENO: checking for short" >&5
3126 echo $ECHO_N "checking for short... $ECHO_C" >&6
3127 if test "${ac_cv_type_short+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 cat >conftest.$ac_ext <<_ACEOF
3133 cat confdefs.h >>conftest.$ac_ext
3134 cat >>conftest.$ac_ext <<_ACEOF
3135 /* end confdefs.h. */
3136 $ac_includes_default
3148 rm -f conftest.$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 (eval $ac_compile) 2>conftest.er1
3152 grep -v '^ *+' conftest.er1 >conftest.err
3154 cat conftest.err >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } &&
3157 { ac_try='test -z "$ac_c_werror_flag"
3158 || test ! -s conftest.err'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; } &&
3164 { ac_try='test -s conftest.$ac_objext'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3170 ac_cv_type_short=yes
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3179 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3180 echo "${ECHO_T}$ac_cv_type_short" >&6
3182 echo "$as_me:$LINENO: checking size of short" >&5
3183 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3184 if test "${ac_cv_sizeof_short+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 if test "$ac_cv_type_short" = yes; then
3188 # The cast to unsigned long works around a bug in the HP C Compiler
3189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3191 # This bug is HP SR number 8606223364.
3192 if test "$cross_compiling" = yes; then
3193 # Depending upon the size, compute the lo and hi bounds.
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3200 $ac_includes_default
3204 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3211 rm -f conftest.$ac_objext
3212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3213 (eval $ac_compile) 2>conftest.er1
3215 grep -v '^ *+' conftest.er1 >conftest.err
3217 cat conftest.err >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } &&
3220 { ac_try='test -z "$ac_c_werror_flag"
3221 || test ! -s conftest.err'
3222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; } &&
3227 { ac_try='test -s conftest.$ac_objext'
3228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; }; then
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3241 $ac_includes_default
3245 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3252 rm -f conftest.$ac_objext
3253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3254 (eval $ac_compile) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } &&
3261 { ac_try='test -z "$ac_c_werror_flag"
3262 || test ! -s conftest.err'
3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }; } &&
3268 { ac_try='test -s conftest.$ac_objext'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3274 ac_hi=$ac_mid; break
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3279 ac_lo=`expr $ac_mid + 1`
3280 if test $ac_lo -le $ac_mid; then
3284 ac_mid=`expr 2 '*' $ac_mid + 1`
3286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3292 cat >conftest.$ac_ext <<_ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 $ac_includes_default
3302 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3309 rm -f conftest.$ac_objext
3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311 (eval $ac_compile) 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try='test -z "$ac_c_werror_flag"
3319 || test ! -s conftest.err'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; } &&
3325 { ac_try='test -s conftest.$ac_objext'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3333 cat >conftest.$ac_ext <<_ACEOF
3336 cat confdefs.h >>conftest.$ac_ext
3337 cat >>conftest.$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3339 $ac_includes_default
3343 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352 (eval $ac_compile) 2>conftest.er1
3354 grep -v '^ *+' conftest.er1 >conftest.err
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } &&
3359 { ac_try='test -z "$ac_c_werror_flag"
3360 || test ! -s conftest.err'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; } &&
3366 { ac_try='test -s conftest.$ac_objext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3372 ac_lo=$ac_mid; break
3374 echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 ac_hi=`expr '(' $ac_mid ')' - 1`
3378 if test $ac_mid -le $ac_hi; then
3382 ac_mid=`expr 2 '*' $ac_mid`
3384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3395 # Binary search between lo and hi bounds.
3396 while test "x$ac_lo" != "x$ac_hi"; do
3397 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3398 cat >conftest.$ac_ext <<_ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3404 $ac_includes_default
3408 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3415 rm -f conftest.$ac_objext
3416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3417 (eval $ac_compile) 2>conftest.er1
3419 grep -v '^ *+' conftest.er1 >conftest.err
3421 cat conftest.err >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 { ac_try='test -z "$ac_c_werror_flag"
3425 || test ! -s conftest.err'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; } &&
3431 { ac_try='test -s conftest.$ac_objext'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; }; then
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.$ac_ext >&5
3442 ac_lo=`expr '(' $ac_mid ')' + 1`
3444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3447 ?*) ac_cv_sizeof_short=$ac_lo;;
3448 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3449 See \`config.log' for more details." >&5
3450 echo "$as_me: error: cannot compute sizeof (short), 77
3451 See \`config.log' for more details." >&2;}
3452 { (exit 1); exit 1; }; } ;;
3455 if test "$cross_compiling" = yes; then
3456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3457 See \`config.log' for more details." >&5
3458 echo "$as_me: error: cannot run test program while cross compiling
3459 See \`config.log' for more details." >&2;}
3460 { (exit 1); exit 1; }; }
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3468 $ac_includes_default
3469 long longval () { return (long) (sizeof (short)); }
3470 unsigned long ulongval () { return (long) (sizeof (short)); }
3477 FILE *f = fopen ("conftest.val", "w");
3480 if (((long) (sizeof (short))) < 0)
3482 long i = longval ();
3483 if (i != ((long) (sizeof (short))))
3485 fprintf (f, "%ld\n", i);
3489 unsigned long i = ulongval ();
3490 if (i != ((long) (sizeof (short))))
3492 fprintf (f, "%lu\n", i);
3494 exit (ferror (f) || fclose (f) != 0);
3500 rm -f conftest$ac_exeext
3501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3502 (eval $ac_link) 2>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); }; }; then
3511 ac_cv_sizeof_short=`cat conftest.val`
3513 echo "$as_me: program exited with status $ac_status" >&5
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.$ac_ext >&5
3518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3519 See \`config.log' for more details." >&5
3520 echo "$as_me: error: cannot compute sizeof (short), 77
3521 See \`config.log' for more details." >&2;}
3522 { (exit 1); exit 1; }; }
3524 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3529 ac_cv_sizeof_short=0
3532 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3533 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3534 cat >>confdefs.h <<_ACEOF
3535 #define SIZEOF_SHORT $ac_cv_sizeof_short
3539 echo "$as_me:$LINENO: checking for int" >&5
3540 echo $ECHO_N "checking for int... $ECHO_C" >&6
3541 if test "${ac_cv_type_int+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 cat >conftest.$ac_ext <<_ACEOF
3547 cat confdefs.h >>conftest.$ac_ext
3548 cat >>conftest.$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3550 $ac_includes_default
3562 rm -f conftest.$ac_objext
3563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3564 (eval $ac_compile) 2>conftest.er1
3566 grep -v '^ *+' conftest.er1 >conftest.err
3568 cat conftest.err >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } &&
3571 { ac_try='test -z "$ac_c_werror_flag"
3572 || test ! -s conftest.err'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; } &&
3578 { ac_try='test -s conftest.$ac_objext'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3586 echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3593 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3594 echo "${ECHO_T}$ac_cv_type_int" >&6
3596 echo "$as_me:$LINENO: checking size of int" >&5
3597 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3598 if test "${ac_cv_sizeof_int+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 if test "$ac_cv_type_int" = yes; then
3602 # The cast to unsigned long works around a bug in the HP C Compiler
3603 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3605 # This bug is HP SR number 8606223364.
3606 if test "$cross_compiling" = yes; then
3607 # Depending upon the size, compute the lo and hi bounds.
3608 cat >conftest.$ac_ext <<_ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 $ac_includes_default
3618 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3625 rm -f conftest.$ac_objext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3627 (eval $ac_compile) 2>conftest.er1
3629 grep -v '^ *+' conftest.er1 >conftest.err
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } &&
3634 { ac_try='test -z "$ac_c_werror_flag"
3635 || test ! -s conftest.err'
3636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); }; } &&
3641 { ac_try='test -s conftest.$ac_objext'
3642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); }; }; then
3649 cat >conftest.$ac_ext <<_ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3655 $ac_includes_default
3659 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3666 rm -f conftest.$ac_objext
3667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668 (eval $ac_compile) 2>conftest.er1
3670 grep -v '^ *+' conftest.er1 >conftest.err
3672 cat conftest.err >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } &&
3675 { ac_try='test -z "$ac_c_werror_flag"
3676 || test ! -s conftest.err'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; } &&
3682 { ac_try='test -s conftest.$ac_objext'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then
3688 ac_hi=$ac_mid; break
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.$ac_ext >&5
3693 ac_lo=`expr $ac_mid + 1`
3694 if test $ac_lo -le $ac_mid; then
3698 ac_mid=`expr 2 '*' $ac_mid + 1`
3700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3703 echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.$ac_ext >&5
3706 cat >conftest.$ac_ext <<_ACEOF
3709 cat confdefs.h >>conftest.$ac_ext
3710 cat >>conftest.$ac_ext <<_ACEOF
3711 /* end confdefs.h. */
3712 $ac_includes_default
3716 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3723 rm -f conftest.$ac_objext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3725 (eval $ac_compile) 2>conftest.er1
3727 grep -v '^ *+' conftest.er1 >conftest.err
3729 cat conftest.err >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } &&
3732 { ac_try='test -z "$ac_c_werror_flag"
3733 || test ! -s conftest.err'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; } &&
3739 { ac_try='test -s conftest.$ac_objext'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3747 cat >conftest.$ac_ext <<_ACEOF
3750 cat confdefs.h >>conftest.$ac_ext
3751 cat >>conftest.$ac_ext <<_ACEOF
3752 /* end confdefs.h. */
3753 $ac_includes_default
3757 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
3764 rm -f conftest.$ac_objext
3765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3766 (eval $ac_compile) 2>conftest.er1
3768 grep -v '^ *+' conftest.er1 >conftest.err
3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } &&
3773 { ac_try='test -z "$ac_c_werror_flag"
3774 || test ! -s conftest.err'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; } &&
3780 { ac_try='test -s conftest.$ac_objext'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then
3786 ac_lo=$ac_mid; break
3788 echo "$as_me: failed program was:" >&5
3789 sed 's/^/| /' conftest.$ac_ext >&5
3791 ac_hi=`expr '(' $ac_mid ')' - 1`
3792 if test $ac_mid -le $ac_hi; then
3796 ac_mid=`expr 2 '*' $ac_mid`
3798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3809 # Binary search between lo and hi bounds.
3810 while test "x$ac_lo" != "x$ac_hi"; do
3811 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3812 cat >conftest.$ac_ext <<_ACEOF
3815 cat confdefs.h >>conftest.$ac_ext
3816 cat >>conftest.$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3818 $ac_includes_default
3822 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3829 rm -f conftest.$ac_objext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1 >conftest.err
3835 cat conftest.err >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try='test -z "$ac_c_werror_flag"
3839 || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 ac_lo=`expr '(' $ac_mid ')' + 1`
3858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3861 ?*) ac_cv_sizeof_int=$ac_lo;;
3862 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3863 See \`config.log' for more details." >&5
3864 echo "$as_me: error: cannot compute sizeof (int), 77
3865 See \`config.log' for more details." >&2;}
3866 { (exit 1); exit 1; }; } ;;
3869 if test "$cross_compiling" = yes; then
3870 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3871 See \`config.log' for more details." >&5
3872 echo "$as_me: error: cannot run test program while cross compiling
3873 See \`config.log' for more details." >&2;}
3874 { (exit 1); exit 1; }; }
3876 cat >conftest.$ac_ext <<_ACEOF
3879 cat confdefs.h >>conftest.$ac_ext
3880 cat >>conftest.$ac_ext <<_ACEOF
3881 /* end confdefs.h. */
3882 $ac_includes_default
3883 long longval () { return (long) (sizeof (int)); }
3884 unsigned long ulongval () { return (long) (sizeof (int)); }
3891 FILE *f = fopen ("conftest.val", "w");
3894 if (((long) (sizeof (int))) < 0)
3896 long i = longval ();
3897 if (i != ((long) (sizeof (int))))
3899 fprintf (f, "%ld\n", i);
3903 unsigned long i = ulongval ();
3904 if (i != ((long) (sizeof (int))))
3906 fprintf (f, "%lu\n", i);
3908 exit (ferror (f) || fclose (f) != 0);
3914 rm -f conftest$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); }; }; then
3925 ac_cv_sizeof_int=`cat conftest.val`
3927 echo "$as_me: program exited with status $ac_status" >&5
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3933 See \`config.log' for more details." >&5
3934 echo "$as_me: error: cannot compute sizeof (int), 77
3935 See \`config.log' for more details." >&2;}
3936 { (exit 1); exit 1; }; }
3938 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3946 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3947 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3948 cat >>confdefs.h <<_ACEOF
3949 #define SIZEOF_INT $ac_cv_sizeof_int
3953 echo "$as_me:$LINENO: checking for long" >&5
3954 echo $ECHO_N "checking for long... $ECHO_C" >&6
3955 if test "${ac_cv_type_long+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 cat >conftest.$ac_ext <<_ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 $ac_includes_default
3976 rm -f conftest.$ac_objext
3977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3978 (eval $ac_compile) 2>conftest.er1
3980 grep -v '^ *+' conftest.er1 >conftest.err
3982 cat conftest.err >&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); } &&
3985 { ac_try='test -z "$ac_c_werror_flag"
3986 || test ! -s conftest.err'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; } &&
3992 { ac_try='test -s conftest.$ac_objext'
3993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); }; }; then
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4007 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4008 echo "${ECHO_T}$ac_cv_type_long" >&6
4010 echo "$as_me:$LINENO: checking size of long" >&5
4011 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4012 if test "${ac_cv_sizeof_long+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 if test "$ac_cv_type_long" = yes; then
4016 # The cast to unsigned long works around a bug in the HP C Compiler
4017 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4018 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4019 # This bug is HP SR number 8606223364.
4020 if test "$cross_compiling" = yes; then
4021 # Depending upon the size, compute the lo and hi bounds.
4022 cat >conftest.$ac_ext <<_ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 $ac_includes_default
4032 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4039 rm -f conftest.$ac_objext
4040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4041 (eval $ac_compile) 2>conftest.er1
4043 grep -v '^ *+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } &&
4048 { ac_try='test -z "$ac_c_werror_flag"
4049 || test ! -s conftest.err'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; } &&
4055 { ac_try='test -s conftest.$ac_objext'
4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4063 cat >conftest.$ac_ext <<_ACEOF
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4069 $ac_includes_default
4073 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4080 rm -f conftest.$ac_objext
4081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4082 (eval $ac_compile) 2>conftest.er1
4084 grep -v '^ *+' conftest.er1 >conftest.err
4086 cat conftest.err >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } &&
4089 { ac_try='test -z "$ac_c_werror_flag"
4090 || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest.$ac_objext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 ac_hi=$ac_mid; break
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 ac_lo=`expr $ac_mid + 1`
4108 if test $ac_lo -le $ac_mid; then
4112 ac_mid=`expr 2 '*' $ac_mid + 1`
4114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4117 echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.$ac_ext >&5
4120 cat >conftest.$ac_ext <<_ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4126 $ac_includes_default
4130 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4137 rm -f conftest.$ac_objext
4138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4139 (eval $ac_compile) 2>conftest.er1
4141 grep -v '^ *+' conftest.er1 >conftest.err
4143 cat conftest.err >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); } &&
4146 { ac_try='test -z "$ac_c_werror_flag"
4147 || test ! -s conftest.err'
4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); }; } &&
4153 { ac_try='test -s conftest.$ac_objext'
4154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); }; }; then
4161 cat >conftest.$ac_ext <<_ACEOF
4164 cat confdefs.h >>conftest.$ac_ext
4165 cat >>conftest.$ac_ext <<_ACEOF
4166 /* end confdefs.h. */
4167 $ac_includes_default
4171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4178 rm -f conftest.$ac_objext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4180 (eval $ac_compile) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1 >conftest.err
4184 cat conftest.err >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_lo=$ac_mid; break
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_hi=`expr '(' $ac_mid ')' - 1`
4206 if test $ac_mid -le $ac_hi; then
4210 ac_mid=`expr 2 '*' $ac_mid`
4212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4215 echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.$ac_ext >&5
4220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4223 # Binary search between lo and hi bounds.
4224 while test "x$ac_lo" != "x$ac_hi"; do
4225 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4226 cat >conftest.$ac_ext <<_ACEOF
4229 cat confdefs.h >>conftest.$ac_ext
4230 cat >>conftest.$ac_ext <<_ACEOF
4231 /* end confdefs.h. */
4232 $ac_includes_default
4236 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4243 rm -f conftest.$ac_objext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4245 (eval $ac_compile) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try='test -z "$ac_c_werror_flag"
4253 || test ! -s conftest.err'
4254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; } &&
4259 { ac_try='test -s conftest.$ac_objext'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; }; then
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 ac_lo=`expr '(' $ac_mid ')' + 1`
4272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4275 ?*) ac_cv_sizeof_long=$ac_lo;;
4276 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4277 See \`config.log' for more details." >&5
4278 echo "$as_me: error: cannot compute sizeof (long), 77
4279 See \`config.log' for more details." >&2;}
4280 { (exit 1); exit 1; }; } ;;
4283 if test "$cross_compiling" = yes; then
4284 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4285 See \`config.log' for more details." >&5
4286 echo "$as_me: error: cannot run test program while cross compiling
4287 See \`config.log' for more details." >&2;}
4288 { (exit 1); exit 1; }; }
4290 cat >conftest.$ac_ext <<_ACEOF
4293 cat confdefs.h >>conftest.$ac_ext
4294 cat >>conftest.$ac_ext <<_ACEOF
4295 /* end confdefs.h. */
4296 $ac_includes_default
4297 long longval () { return (long) (sizeof (long)); }
4298 unsigned long ulongval () { return (long) (sizeof (long)); }
4305 FILE *f = fopen ("conftest.val", "w");
4308 if (((long) (sizeof (long))) < 0)
4310 long i = longval ();
4311 if (i != ((long) (sizeof (long))))
4313 fprintf (f, "%ld\n", i);
4317 unsigned long i = ulongval ();
4318 if (i != ((long) (sizeof (long))))
4320 fprintf (f, "%lu\n", i);
4322 exit (ferror (f) || fclose (f) != 0);
4328 rm -f conftest$ac_exeext
4329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4330 (eval $ac_link) 2>&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then
4339 ac_cv_sizeof_long=`cat conftest.val`
4341 echo "$as_me: program exited with status $ac_status" >&5
4342 echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.$ac_ext >&5
4346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4347 See \`config.log' for more details." >&5
4348 echo "$as_me: error: cannot compute sizeof (long), 77
4349 See \`config.log' for more details." >&2;}
4350 { (exit 1); exit 1; }; }
4352 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4360 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4361 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4362 cat >>confdefs.h <<_ACEOF
4363 #define SIZEOF_LONG $ac_cv_sizeof_long
4367 echo "$as_me:$LINENO: checking for long long" >&5
4368 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4369 if test "${ac_cv_type_long_long+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 cat >conftest.$ac_ext <<_ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 $ac_includes_default
4382 if ((long long *) 0)
4384 if (sizeof (long long))
4390 rm -f conftest.$ac_objext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392 (eval $ac_compile) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1 >conftest.err
4396 cat conftest.err >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try='test -z "$ac_c_werror_flag"
4400 || test ! -s conftest.err'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; } &&
4406 { ac_try='test -s conftest.$ac_objext'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; }; then
4412 ac_cv_type_long_long=yes
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4417 ac_cv_type_long_long=no
4419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4421 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4422 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4424 echo "$as_me:$LINENO: checking size of long long" >&5
4425 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4426 if test "${ac_cv_sizeof_long_long+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 if test "$ac_cv_type_long_long" = yes; then
4430 # The cast to unsigned long works around a bug in the HP C Compiler
4431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4433 # This bug is HP SR number 8606223364.
4434 if test "$cross_compiling" = yes; then
4435 # Depending upon the size, compute the lo and hi bounds.
4436 cat >conftest.$ac_ext <<_ACEOF
4439 cat confdefs.h >>conftest.$ac_ext
4440 cat >>conftest.$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
4442 $ac_includes_default
4446 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4453 rm -f conftest.$ac_objext
4454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4455 (eval $ac_compile) 2>conftest.er1
4457 grep -v '^ *+' conftest.er1 >conftest.err
4459 cat conftest.err >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try='test -z "$ac_c_werror_flag"
4463 || test ! -s conftest.err'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; } &&
4469 { ac_try='test -s conftest.$ac_objext'
4470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4477 cat >conftest.$ac_ext <<_ACEOF
4480 cat confdefs.h >>conftest.$ac_ext
4481 cat >>conftest.$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 $ac_includes_default
4487 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4494 rm -f conftest.$ac_objext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
4503 { ac_try='test -z "$ac_c_werror_flag"
4504 || test ! -s conftest.err'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try='test -s conftest.$ac_objext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
4516 ac_hi=$ac_mid; break
4518 echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.$ac_ext >&5
4521 ac_lo=`expr $ac_mid + 1`
4522 if test $ac_lo -le $ac_mid; then
4526 ac_mid=`expr 2 '*' $ac_mid + 1`
4528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.$ac_ext >&5
4534 cat >conftest.$ac_ext <<_ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4540 $ac_includes_default
4544 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4551 rm -f conftest.$ac_objext
4552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4553 (eval $ac_compile) 2>conftest.er1
4555 grep -v '^ *+' conftest.er1 >conftest.err
4557 cat conftest.err >&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); } &&
4560 { ac_try='test -z "$ac_c_werror_flag"
4561 || test ! -s conftest.err'
4562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); }; } &&
4567 { ac_try='test -s conftest.$ac_objext'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; }; then
4575 cat >conftest.$ac_ext <<_ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4581 $ac_includes_default
4585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4592 rm -f conftest.$ac_objext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4594 (eval $ac_compile) 2>conftest.er1
4596 grep -v '^ *+' conftest.er1 >conftest.err
4598 cat conftest.err >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } &&
4601 { ac_try='test -z "$ac_c_werror_flag"
4602 || test ! -s conftest.err'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; } &&
4608 { ac_try='test -s conftest.$ac_objext'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 ac_lo=$ac_mid; break
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_hi=`expr '(' $ac_mid ')' - 1`
4620 if test $ac_mid -le $ac_hi; then
4624 ac_mid=`expr 2 '*' $ac_mid`
4626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4637 # Binary search between lo and hi bounds.
4638 while test "x$ac_lo" != "x$ac_hi"; do
4639 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 $ac_includes_default
4650 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4657 rm -f conftest.$ac_objext
4658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4659 (eval $ac_compile) 2>conftest.er1
4661 grep -v '^ *+' conftest.er1 >conftest.err
4663 cat conftest.err >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } &&
4666 { ac_try='test -z "$ac_c_werror_flag"
4667 || test ! -s conftest.err'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; } &&
4673 { ac_try='test -s conftest.$ac_objext'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; }; then
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.$ac_ext >&5
4684 ac_lo=`expr '(' $ac_mid ')' + 1`
4686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ?*) ac_cv_sizeof_long_long=$ac_lo;;
4690 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4691 See \`config.log' for more details." >&5
4692 echo "$as_me: error: cannot compute sizeof (long long), 77
4693 See \`config.log' for more details." >&2;}
4694 { (exit 1); exit 1; }; } ;;
4697 if test "$cross_compiling" = yes; then
4698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4699 See \`config.log' for more details." >&5
4700 echo "$as_me: error: cannot run test program while cross compiling
4701 See \`config.log' for more details." >&2;}
4702 { (exit 1); exit 1; }; }
4704 cat >conftest.$ac_ext <<_ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4710 $ac_includes_default
4711 long longval () { return (long) (sizeof (long long)); }
4712 unsigned long ulongval () { return (long) (sizeof (long long)); }
4719 FILE *f = fopen ("conftest.val", "w");
4722 if (((long) (sizeof (long long))) < 0)
4724 long i = longval ();
4725 if (i != ((long) (sizeof (long long))))
4727 fprintf (f, "%ld\n", i);
4731 unsigned long i = ulongval ();
4732 if (i != ((long) (sizeof (long long))))
4734 fprintf (f, "%lu\n", i);
4736 exit (ferror (f) || fclose (f) != 0);
4742 rm -f conftest$ac_exeext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4744 (eval $ac_link) 2>&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_sizeof_long_long=`cat conftest.val`
4755 echo "$as_me: program exited with status $ac_status" >&5
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4761 See \`config.log' for more details." >&5
4762 echo "$as_me: error: cannot compute sizeof (long long), 77
4763 See \`config.log' for more details." >&2;}
4764 { (exit 1); exit 1; }; }
4766 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4771 ac_cv_sizeof_long_long=0
4774 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4775 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4776 cat >>confdefs.h <<_ACEOF
4777 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4784 if expr "$ac_cv_sizeof_char" '>=' "$1" >/dev/null; then
4788 if expr "$ac_cv_sizeof_short" '>=' "$1" >/dev/null; then
4792 if expr "$ac_cv_sizeof_int" '>=' "$1" >/dev/null; then
4796 if expr "$ac_cv_sizeof_long" '>=' "$1" >/dev/null; then
4800 if expr "$ac_cv_sizeof_long_long" '>=' "$1" >/dev/null; then
4807 echo "$as_me:$LINENO: checking type name for byte" >&5
4808 echo $ECHO_N "checking type name for byte... $ECHO_C" >&6
4809 TYPE_BYTE=`type_name 1`
4810 echo "$as_me:$LINENO: result: $TYPE_BYTE" >&5
4811 echo "${ECHO_T}$TYPE_BYTE" >&6
4812 echo "$as_me:$LINENO: checking type name for word" >&5
4813 echo $ECHO_N "checking type name for word... $ECHO_C" >&6
4814 TYPE_WORD=`type_name 2`
4815 echo "$as_me:$LINENO: result: $TYPE_WORD" >&5
4816 echo "${ECHO_T}$TYPE_WORD" >&6
4817 cat >>confdefs.h <<_ACEOF
4818 #define TYPE_BYTE $TYPE_BYTE
4821 cat >>confdefs.h <<_ACEOF
4822 #define TYPE_WORD $TYPE_WORD
4826 ac_config_files="$ac_config_files Makefile"
4827 cat >confcache <<\_ACEOF
4828 # This file is a shell script that caches the results of configure
4829 # tests run on this system so they can be shared between configure
4830 # scripts and configure runs, see configure's option --config-cache.
4831 # It is not useful on other systems. If it contains results you don't
4832 # want to keep, you may remove or edit it.
4834 # config.status only pays attention to the cache file if you give it
4835 # the --recheck option to rerun configure.
4837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4843 # The following way of writing the cache mishandles newlines in values,
4844 # but we know of no workaround that is simple, portable, and efficient.
4845 # So, don't put newlines in cache variables' values.
4846 # Ultrix sh set writes to stderr and can't be redirected directly,
4847 # and sets the high bit in the cache file unless we assign to the vars.
4850 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4852 # `set' does not quote correctly, so add quotes (double-quote
4853 # substitution turns \\\\ into \\, and sed turns \\ into \).
4856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4859 # `set' quotes correctly as required by POSIX, so do not add quotes.
4861 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4870 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4872 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4873 if test -w $cache_file; then
4874 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4875 cat confcache >$cache_file
4877 echo "not updating unwritable cache $cache_file"
4882 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4883 # Let make expand exec_prefix.
4884 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4886 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4887 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4888 # trailing colons and then remove the whole line if VPATH becomes empty
4889 # (actually we leave an empty line to preserve line numbers).
4890 if test "x$srcdir" = x.; then
4891 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4892 s/:*\$(srcdir):*/:/;
4893 s/:*\${srcdir}:*/:/;
4895 s/^\([^=]*=[ ]*\):*/\1/;
4901 DEFS=-DHAVE_CONFIG_H
4905 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4906 # 1. Remove the extension, and $U if already installed.
4907 ac_i=`echo "$ac_i" |
4908 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4910 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4911 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4915 LTLIBOBJS=$ac_ltlibobjs
4919 : ${CONFIG_STATUS=./config.status}
4920 ac_clean_files_save=$ac_clean_files
4921 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4922 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4923 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4924 cat >$CONFIG_STATUS <<_ACEOF
4926 # Generated by $as_me.
4927 # Run this file to recreate the current configuration.
4928 # Compiler output produced by configure, useful for debugging
4929 # configure, is in config.log if it exists.
4934 SHELL=\${CONFIG_SHELL-$SHELL}
4937 cat >>$CONFIG_STATUS <<\_ACEOF
4938 ## --------------------- ##
4939 ## M4sh Initialization. ##
4940 ## --------------------- ##
4942 # Be Bourne compatible
4943 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4946 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4947 # is contrary to our usage. Disable this feature.
4948 alias -g '${1+"$@"}'='"$@"'
4949 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4952 DUALCASE=1; export DUALCASE # for MKS sh
4954 # Support unset when possible.
4955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4962 # Work around bugs in pre-3.0 UWIN ksh.
4963 $as_unset ENV MAIL MAILPATH
4970 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4971 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4972 LC_TELEPHONE LC_TIME
4974 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4975 eval $as_var=C; export $as_var
4981 # Required to use basename.
4982 if expr a : '\(a\)' >/dev/null 2>&1; then
4988 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4989 as_basename=basename
4995 # Name of the executable.
4996 as_me=`$as_basename "$0" ||
4997 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4998 X"$0" : 'X\(//\)$' \| \
4999 X"$0" : 'X\(/\)$' \| \
5000 . : '\(.\)' 2>/dev/null ||
5002 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5003 /^X\/\(\/\/\)$/{ s//\1/; q; }
5004 /^X\/\(\/\).*/{ s//\1/; q; }
5008 # PATH needs CR, and LINENO needs CR and PATH.
5009 # Avoid depending upon Character Ranges.
5010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5013 as_cr_digits='0123456789'
5014 as_cr_alnum=$as_cr_Letters$as_cr_digits
5016 # The user is always right.
5017 if test "${PATH_SEPARATOR+set}" != set; then
5018 echo "#! /bin/sh" >conf$$.sh
5019 echo "exit 0" >>conf$$.sh
5021 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5032 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5033 test "x$as_lineno_1" != "x$as_lineno_2" &&
5034 test "x$as_lineno_3" = "x$as_lineno_2" || {
5035 # Find who we are. Look in the path if we contain no path at all
5038 *[\\/]* ) as_myself=$0 ;;
5039 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5049 # We did not find ourselves, most probably we were run as `sh COMMAND'
5050 # in which case we are not to be found in the path.
5051 if test "x$as_myself" = x; then
5054 if test ! -f "$as_myself"; then
5055 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5056 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5057 { (exit 1); exit 1; }; }
5059 case $CONFIG_SHELL in
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5065 test -z "$as_dir" && as_dir=.
5066 for as_base in sh bash ksh sh5; do
5069 if ("$as_dir/$as_base" -c '
5072 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5073 test "x$as_lineno_1" != "x$as_lineno_2" &&
5074 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5075 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5076 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5077 CONFIG_SHELL=$as_dir/$as_base
5079 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5087 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5088 # uniformly replaced by the line number. The first 'sed' inserts a
5089 # line-number line before each line; the second 'sed' does the real
5090 # work. The second script uses 'N' to pair each line-number line
5091 # with the numbered line, and appends trailing '-' during
5092 # substitution so that $LINENO is not a special case at line end.
5093 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5094 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5095 sed '=' <$as_myself |
5100 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5103 s,^['$as_cr_digits']*\n,,
5105 chmod +x $as_me.lineno ||
5106 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5107 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5108 { (exit 1); exit 1; }; }
5110 # Don't try to exec as it changes $[0], causing all sort of problems
5111 # (the dirname of $[0] is not the place where we might find the
5112 # original and so on. Autoconf is especially sensible to this).
5114 # Exit status is that of the last command.
5119 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5120 *c*,-n*) ECHO_N= ECHO_C='
5122 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5123 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5126 if expr a : '\(a\)' >/dev/null 2>&1; then
5132 rm -f conf$$ conf$$.exe conf$$.file
5134 if ln -s conf$$.file conf$$ 2>/dev/null; then
5135 # We could just check for DJGPP; but this test a) works b) is more generic
5136 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5137 if test -f conf$$.exe; then
5138 # Don't use ln at all; we don't have any links
5143 elif ln conf$$.file conf$$ 2>/dev/null; then
5148 rm -f conf$$ conf$$.exe conf$$.file
5150 if mkdir -p . 2>/dev/null; then
5153 test -d ./-p && rmdir ./-p
5157 as_executable_p="test -f"
5159 # Sed expression to map a string onto a valid CPP name.
5160 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5162 # Sed expression to map a string onto a valid variable name.
5163 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5167 # We need space, tab and new line, in precisely that order.
5177 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5178 # report actual input values of CONFIG_FILES etc. instead of their
5179 # values after options handling. Logging --version etc. is OK.
5183 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5184 ## Running $as_me. ##
5189 This file was extended by $as_me, which was
5190 generated by GNU Autoconf 2.59. Invocation command line was
5192 CONFIG_FILES = $CONFIG_FILES
5193 CONFIG_HEADERS = $CONFIG_HEADERS
5194 CONFIG_LINKS = $CONFIG_LINKS
5195 CONFIG_COMMANDS = $CONFIG_COMMANDS
5199 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5203 # Files that config.status was made for.
5204 if test -n "$ac_config_files"; then
5205 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5208 if test -n "$ac_config_headers"; then
5209 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5212 if test -n "$ac_config_links"; then
5213 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5216 if test -n "$ac_config_commands"; then
5217 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5220 cat >>$CONFIG_STATUS <<\_ACEOF
5223 \`$as_me' instantiates files from templates according to the
5224 current configuration.
5226 Usage: $0 [OPTIONS] [FILE]...
5228 -h, --help print this help, then exit
5229 -V, --version print version number, then exit
5230 -q, --quiet do not print progress messages
5231 -d, --debug don't remove temporary files
5232 --recheck update $as_me by reconfiguring in the same conditions
5233 --file=FILE[:TEMPLATE]
5234 instantiate the configuration file FILE
5235 --header=FILE[:TEMPLATE]
5236 instantiate the configuration header FILE
5238 Configuration files:
5241 Configuration headers:
5244 Report bugs to <bug-autoconf@gnu.org>."
5247 cat >>$CONFIG_STATUS <<_ACEOF
5250 configured by $0, generated by GNU Autoconf 2.59,
5251 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5253 Copyright (C) 2003 Free Software Foundation, Inc.
5254 This config.status script is free software; the Free Software Foundation
5255 gives unlimited permission to copy, distribute and modify it."
5259 cat >>$CONFIG_STATUS <<\_ACEOF
5260 # If no file are specified by the user, then we need to provide default
5261 # value. By we need to know if files were specified by the user.
5267 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5268 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5276 *) # This is not an option, so the user has probably given explicit
5279 ac_need_defaults=false;;
5283 # Handling of the options.
5285 cat >>$CONFIG_STATUS <<\_ACEOF
5286 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5288 --version | --vers* | -V )
5289 echo "$ac_cs_version"; exit 0 ;;
5291 # Conflict between --help and --header
5292 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5293 Try \`$0 --help' for more information." >&5
5294 echo "$as_me: error: ambiguous option: $1
5295 Try \`$0 --help' for more information." >&2;}
5296 { (exit 1); exit 1; }; };;
5297 --help | --hel | -h )
5298 echo "$ac_cs_usage"; exit 0 ;;
5299 --debug | --d* | -d )
5301 --file | --fil | --fi | --f )
5303 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5304 ac_need_defaults=false;;
5305 --header | --heade | --head | --hea )
5307 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5308 ac_need_defaults=false;;
5309 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5310 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5314 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5315 Try \`$0 --help' for more information." >&5
5316 echo "$as_me: error: unrecognized option: $1
5317 Try \`$0 --help' for more information." >&2;}
5318 { (exit 1); exit 1; }; } ;;
5320 *) ac_config_targets="$ac_config_targets $1" ;;
5326 ac_configure_extra_args=
5328 if $ac_cs_silent; then
5330 ac_configure_extra_args="$ac_configure_extra_args --silent"
5334 cat >>$CONFIG_STATUS <<_ACEOF
5335 if \$ac_cs_recheck; then
5336 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5337 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5346 cat >>$CONFIG_STATUS <<\_ACEOF
5347 for ac_config_target in $ac_config_targets
5349 case "$ac_config_target" in
5350 # Handling of arguments.
5351 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5352 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_in.h" ;;
5353 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5354 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5355 { (exit 1); exit 1; }; };;
5359 # If the user did not use the arguments to specify the items to instantiate,
5360 # then the envvar interface is used. Set only those that are not.
5361 # We use the long form for the default assignment because of an extremely
5362 # bizarre bug on SunOS 4.1.3.
5363 if $ac_need_defaults; then
5364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5368 # Have a temporary directory for convenience. Make it in the build tree
5369 # simply because there is no reason to put it here, and in addition,
5370 # creating and moving files from /tmp can sometimes cause problems.
5371 # Create a temporary directory, and hook for its removal unless debugging.
5374 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5375 trap '{ (exit 1); exit 1; }' 1 2 13 15
5378 # Create a (secure) tmp directory for tmp files.
5381 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5382 test -n "$tmp" && test -d "$tmp"
5385 tmp=./confstat$$-$RANDOM
5386 (umask 077 && mkdir $tmp)
5389 echo "$me: cannot create a temporary directory in ." >&2
5390 { (exit 1); exit 1; }
5395 cat >>$CONFIG_STATUS <<_ACEOF
5398 # CONFIG_FILES section.
5401 # No need to generate the scripts if there are no CONFIG_FILES.
5402 # This happens for instance when ./config.status config.h
5403 if test -n "\$CONFIG_FILES"; then
5404 # Protect against being on the right side of a sed subst in config.status.
5405 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5406 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5407 s,@SHELL@,$SHELL,;t t
5408 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5409 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5410 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5411 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5412 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5413 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5414 s,@exec_prefix@,$exec_prefix,;t t
5415 s,@prefix@,$prefix,;t t
5416 s,@program_transform_name@,$program_transform_name,;t t
5417 s,@bindir@,$bindir,;t t
5418 s,@sbindir@,$sbindir,;t t
5419 s,@libexecdir@,$libexecdir,;t t
5420 s,@datadir@,$datadir,;t t
5421 s,@sysconfdir@,$sysconfdir,;t t
5422 s,@sharedstatedir@,$sharedstatedir,;t t
5423 s,@localstatedir@,$localstatedir,;t t
5424 s,@libdir@,$libdir,;t t
5425 s,@includedir@,$includedir,;t t
5426 s,@oldincludedir@,$oldincludedir,;t t
5427 s,@infodir@,$infodir,;t t
5428 s,@mandir@,$mandir,;t t
5429 s,@build_alias@,$build_alias,;t t
5430 s,@host_alias@,$host_alias,;t t
5431 s,@target_alias@,$target_alias,;t t
5433 s,@ECHO_C@,$ECHO_C,;t t
5434 s,@ECHO_N@,$ECHO_N,;t t
5435 s,@ECHO_T@,$ECHO_T,;t t
5438 s,@CFLAGS@,$CFLAGS,;t t
5439 s,@LDFLAGS@,$LDFLAGS,;t t
5440 s,@CPPFLAGS@,$CPPFLAGS,;t t
5441 s,@ac_ct_CC@,$ac_ct_CC,;t t
5442 s,@EXEEXT@,$EXEEXT,;t t
5443 s,@OBJEXT@,$OBJEXT,;t t
5445 s,@EGREP@,$EGREP,;t t
5446 s,@LIBOBJS@,$LIBOBJS,;t t
5447 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5452 cat >>$CONFIG_STATUS <<\_ACEOF
5453 # Split the substitutions into bite-sized pieces for seds with
5454 # small command number limits, like on Digital OSF/1 and HP-UX.
5456 ac_sed_frag=1 # Number of current file.
5457 ac_beg=1 # First line for current file.
5458 ac_end=$ac_max_sed_lines # Line after last line for current file.
5461 while $ac_more_lines; do
5462 if test $ac_beg -gt 1; then
5463 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5465 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5467 if test ! -s $tmp/subs.frag; then
5470 # The purpose of the label and of the branching condition is to
5471 # speed up the sed processing (if there are no `@' at all, there
5472 # is no need to browse any of the substitutions).
5473 # These are the two extra sed commands mentioned above.
5475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5476 if test -z "$ac_sed_cmds"; then
5477 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5479 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5481 ac_sed_frag=`expr $ac_sed_frag + 1`
5483 ac_end=`expr $ac_end + $ac_max_sed_lines`
5486 if test -z "$ac_sed_cmds"; then
5489 fi # test -n "$CONFIG_FILES"
5492 cat >>$CONFIG_STATUS <<\_ACEOF
5493 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5494 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5496 - | *:- | *:-:* ) # input from stdin
5498 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5499 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5500 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5501 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5502 * ) ac_file_in=$ac_file.in ;;
5505 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5506 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5507 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5508 X"$ac_file" : 'X\(//\)[^/]' \| \
5509 X"$ac_file" : 'X\(//\)$' \| \
5510 X"$ac_file" : 'X\(/\)' \| \
5511 . : '\(.\)' 2>/dev/null ||
5513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5515 /^X\(\/\/\)$/{ s//\1/; q; }
5516 /^X\(\/\).*/{ s//\1/; q; }
5518 { if $as_mkdir_p; then
5523 while test ! -d "$as_dir"; do
5524 as_dirs="$as_dir $as_dirs"
5525 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5527 X"$as_dir" : 'X\(//\)[^/]' \| \
5528 X"$as_dir" : 'X\(//\)$' \| \
5529 X"$as_dir" : 'X\(/\)' \| \
5530 . : '\(.\)' 2>/dev/null ||
5532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5534 /^X\(\/\/\)$/{ s//\1/; q; }
5535 /^X\(\/\).*/{ s//\1/; q; }
5538 test ! -n "$as_dirs" || mkdir $as_dirs
5539 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5540 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5541 { (exit 1); exit 1; }; }; }
5545 if test "$ac_dir" != .; then
5546 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5547 # A "../" for each directory in $ac_dir_suffix.
5548 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5550 ac_dir_suffix= ac_top_builddir=
5554 .) # No --srcdir option. We are building in place.
5556 if test -z "$ac_top_builddir"; then
5559 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5561 [\\/]* | ?:[\\/]* ) # Absolute path.
5562 ac_srcdir=$srcdir$ac_dir_suffix;
5563 ac_top_srcdir=$srcdir ;;
5565 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5566 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5569 # Do not use `cd foo && pwd` to compute absolute paths, because
5570 # the directories may not exist.
5572 .) ac_abs_builddir="$ac_dir";;
5575 .) ac_abs_builddir=`pwd`;;
5576 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5577 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5580 case $ac_abs_builddir in
5581 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5583 case ${ac_top_builddir}. in
5584 .) ac_abs_top_builddir=$ac_abs_builddir;;
5585 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5586 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5589 case $ac_abs_builddir in
5590 .) ac_abs_srcdir=$ac_srcdir;;
5593 .) ac_abs_srcdir=$ac_abs_builddir;;
5594 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5595 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5598 case $ac_abs_builddir in
5599 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5601 case $ac_top_srcdir in
5602 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5603 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5604 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5610 if test x"$ac_file" != x-; then
5611 { echo "$as_me:$LINENO: creating $ac_file" >&5
5612 echo "$as_me: creating $ac_file" >&6;}
5615 # Let's still pretend it is `configure' which instantiates (i.e., don't
5616 # use $as_me), people would be surprised to read:
5617 # /* config.h. Generated by config.status. */
5618 if test x"$ac_file" = x-; then
5621 configure_input="$ac_file. "
5623 configure_input=$configure_input"Generated from `echo $ac_file_in |
5624 sed 's,.*/,,'` by configure."
5626 # First look for the input files in the build tree, otherwise in the
5628 ac_file_inputs=`IFS=:
5629 for f in $ac_file_in; do
5631 -) echo $tmp/stdin ;;
5633 # Absolute (can't be DOS-style, as IFS=:)
5634 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5635 echo "$as_me: error: cannot find input file: $f" >&2;}
5636 { (exit 1); exit 1; }; }
5639 if test -f "$f"; then
5642 elif test -f "$srcdir/$f"; then
5647 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5648 echo "$as_me: error: cannot find input file: $f" >&2;}
5649 { (exit 1); exit 1; }; }
5652 done` || { (exit 1); exit 1; }
5654 cat >>$CONFIG_STATUS <<_ACEOF
5658 cat >>$CONFIG_STATUS <<\_ACEOF
5660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5661 s,@configure_input@,$configure_input,;t t
5662 s,@srcdir@,$ac_srcdir,;t t
5663 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5664 s,@top_srcdir@,$ac_top_srcdir,;t t
5665 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5666 s,@builddir@,$ac_builddir,;t t
5667 s,@abs_builddir@,$ac_abs_builddir,;t t
5668 s,@top_builddir@,$ac_top_builddir,;t t
5669 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5670 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5672 if test x"$ac_file" != x-; then
5673 mv $tmp/out $ac_file
5681 cat >>$CONFIG_STATUS <<\_ACEOF
5684 # CONFIG_HEADER section.
5687 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5688 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5690 # ac_d sets the value in "#define NAME VALUE" lines.
5691 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5692 ac_dB='[ ].*$,\1#\2'
5695 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5696 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5697 ac_uB='$,\1#\2define\3'
5701 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5704 - | *:- | *:-:* ) # input from stdin
5706 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5707 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5708 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5709 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5710 * ) ac_file_in=$ac_file.in ;;
5713 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5714 echo "$as_me: creating $ac_file" >&6;}
5716 # First look for the input files in the build tree, otherwise in the
5718 ac_file_inputs=`IFS=:
5719 for f in $ac_file_in; do
5721 -) echo $tmp/stdin ;;
5723 # Absolute (can't be DOS-style, as IFS=:)
5724 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5725 echo "$as_me: error: cannot find input file: $f" >&2;}
5726 { (exit 1); exit 1; }; }
5727 # Do quote $f, to prevent DOS paths from being IFS'd.
5730 if test -f "$f"; then
5733 elif test -f "$srcdir/$f"; then
5738 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5739 echo "$as_me: error: cannot find input file: $f" >&2;}
5740 { (exit 1); exit 1; }; }
5743 done` || { (exit 1); exit 1; }
5744 # Remove the trailing spaces.
5745 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5749 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5750 # `conftest.undefs', that substitutes the proper values into
5751 # config.h.in to produce config.h. The first handles `#define'
5752 # templates, and the second `#undef' templates.
5753 # And first: Protect against being on the right side of a sed subst in
5754 # config.status. Protect against being in an unquoted here document
5756 rm -f conftest.defines conftest.undefs
5757 # Using a here document instead of a string reduces the quoting nightmare.
5758 # Putting comments in sed scripts is not portable.
5760 # `end' is used to avoid that the second main sed command (meant for
5761 # 0-ary CPP macros) applies to n-ary macro definitions.
5762 # See the Autoconf documentation for `clear'.
5763 cat >confdef2sed.sed <<\_ACEOF
5768 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5770 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5773 # If some macros were called several times there might be several times
5774 # the same #defines, which is useless. Nevertheless, we may not want to
5775 # sort them, since we want the *last* AC-DEFINE to be honored.
5776 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5777 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5778 rm -f confdef2sed.sed
5780 # This sed command replaces #undef with comments. This is necessary, for
5781 # example, in the case of _POSIX_SOURCE, which is predefined and required
5782 # on some systems where configure will not decide to define it.
5783 cat >>conftest.undefs <<\_ACEOF
5784 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5787 # Break up conftest.defines because some shells have a limit on the size
5788 # of here documents, and old seds have small limits too (100 cmds).
5789 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5790 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5791 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5792 echo ' :' >>$CONFIG_STATUS
5794 while grep . conftest.defines >/dev/null
5796 # Write a limited-size here document to $tmp/defines.sed.
5797 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5798 # Speed up: don't consider the non `#define' lines.
5799 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5800 # Work around the forget-to-reset-the-flag bug.
5801 echo 't clr' >>$CONFIG_STATUS
5802 echo ': clr' >>$CONFIG_STATUS
5803 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5805 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5809 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5810 rm -f conftest.defines
5811 mv conftest.tail conftest.defines
5813 rm -f conftest.defines
5814 echo ' fi # grep' >>$CONFIG_STATUS
5815 echo >>$CONFIG_STATUS
5817 # Break up conftest.undefs because some shells have a limit on the size
5818 # of here documents, and old seds have small limits too (100 cmds).
5819 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5821 while grep . conftest.undefs >/dev/null
5823 # Write a limited-size here document to $tmp/undefs.sed.
5824 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5825 # Speed up: don't consider the non `#undef'
5826 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5827 # Work around the forget-to-reset-the-flag bug.
5828 echo 't clr' >>$CONFIG_STATUS
5829 echo ': clr' >>$CONFIG_STATUS
5830 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5832 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5836 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5837 rm -f conftest.undefs
5838 mv conftest.tail conftest.undefs
5840 rm -f conftest.undefs
5842 cat >>$CONFIG_STATUS <<\_ACEOF
5843 # Let's still pretend it is `configure' which instantiates (i.e., don't
5844 # use $as_me), people would be surprised to read:
5845 # /* config.h. Generated by config.status. */
5846 if test x"$ac_file" = x-; then
5847 echo "/* Generated by configure. */" >$tmp/config.h
5849 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5851 cat $tmp/in >>$tmp/config.h
5853 if test x"$ac_file" != x-; then
5854 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5855 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5856 echo "$as_me: $ac_file is unchanged" >&6;}
5858 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5860 X"$ac_file" : 'X\(//\)[^/]' \| \
5861 X"$ac_file" : 'X\(//\)$' \| \
5862 X"$ac_file" : 'X\(/\)' \| \
5863 . : '\(.\)' 2>/dev/null ||
5865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5867 /^X\(\/\/\)$/{ s//\1/; q; }
5868 /^X\(\/\).*/{ s//\1/; q; }
5870 { if $as_mkdir_p; then
5875 while test ! -d "$as_dir"; do
5876 as_dirs="$as_dir $as_dirs"
5877 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5879 X"$as_dir" : 'X\(//\)[^/]' \| \
5880 X"$as_dir" : 'X\(//\)$' \| \
5881 X"$as_dir" : 'X\(/\)' \| \
5882 . : '\(.\)' 2>/dev/null ||
5884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5886 /^X\(\/\/\)$/{ s//\1/; q; }
5887 /^X\(\/\).*/{ s//\1/; q; }
5890 test ! -n "$as_dirs" || mkdir $as_dirs
5891 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5892 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5893 { (exit 1); exit 1; }; }; }
5896 mv $tmp/config.h $ac_file
5905 cat >>$CONFIG_STATUS <<\_ACEOF
5907 { (exit 0); exit 0; }
5909 chmod +x $CONFIG_STATUS
5910 ac_clean_files=$ac_clean_files_save
5913 # configure is writing to config.log, and then calls config.status.
5914 # config.status does its own redirection, appending to config.log.
5915 # Unfortunately, on DOS this fails, as config.log is still kept open
5916 # by configure, so config.status won't be able to write to it; its
5917 # output is simply discarded. So we exec the FD to /dev/null,
5918 # effectively closing config.log, so it can be properly (re)opened and
5919 # appended to by config.status. When coming back to configure, we
5920 # need to make the FD available again.
5921 if test "$no_create" != yes; then
5923 ac_config_status_args=
5924 test "$silent" = yes &&
5925 ac_config_status_args="$ac_config_status_args --quiet"
5927 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5929 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5930 # would make configure fail if this is the last instruction.
5931 $ac_cs_success || { (exit 1); exit 1; }