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 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP DATE LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
845 if test -n "$ac_init_help"; then
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-dependency-tracking speeds up one-time build
853 --enable-dependency-tracking do not reject slow dependency extractors
854 --enable-uptime_trick enable uptime trick default=yes
855 --enable-icmp_trick enable icmp trick: yes|cisco|no default=yes
856 --enable-debug enable debugging default=no
857 --enable-messages enable runtime messages default=no
860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
862 --with-membulk=MODE indexing mode: index8|index16|ptr default=ptr
863 --with-hash=TYPE hash type: crc16|xor16|xor8 default=crc16
864 --with-piddir=DIR pidfiles location default=/var/run
866 Some influential environment variables:
867 CC C compiler command
868 CFLAGS C compiler flags
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870 nonstandard directory <lib dir>
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872 headers in a nonstandard directory <include dir>
875 Use these variables to override the choices made by `configure' or to help
876 it to find libraries and programs with nonstandard names/locations.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885 test -d $ac_dir || continue
888 if test "$ac_dir" != .; then
889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix= ac_top_builddir=
897 .) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904 [\\/]* | ?:[\\/]* ) # Absolute path.
905 ac_srcdir=$srcdir$ac_dir_suffix;
906 ac_top_srcdir=$srcdir ;;
908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo && pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .) ac_abs_builddir="$ac_dir";;
918 .) ac_abs_builddir=`pwd`;;
919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
926 case ${ac_top_builddir}. in
927 .) ac_abs_top_builddir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932 case $ac_abs_builddir in
933 .) ac_abs_srcdir=$ac_srcdir;;
936 .) ac_abs_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu; then
955 $SHELL $ac_srcdir/configure.gnu --help=recursive
956 elif test -f $ac_srcdir/configure; then
958 $SHELL $ac_srcdir/configure --help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
974 Copyright (C) 2003 Free Software Foundation, Inc.
975 This configure script is free software; the Free Software Foundation
976 gives unlimited permission to copy, distribute and modify it.
982 This file contains any messages produced by compilers while
983 running configure, to aid debugging if configure makes a mistake.
985 It was created by $as_me, which was
986 generated by GNU Autoconf 2.59. Invocation command line was
997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1009 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1020 test -z "$as_dir" && as_dir=.
1021 echo "PATH: $as_dir"
1036 # Keep a trace of the command line.
1037 # Strip out --no-create and --no-recursion so they do not pile up.
1038 # Strip out --silent because we don't want to record it for future runs.
1039 # Also quote any args containing shell meta-characters.
1040 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_must_keep_next=false
1051 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053 | -silent | --silent | --silen | --sile | --sil)
1055 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1056 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1061 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1062 if test $ac_must_keep_next = true; then
1063 ac_must_keep_next=false # Got value, back to normal.
1066 *=* | --config-cache | -C | -disable-* | --disable-* \
1067 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1068 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1069 | -with-* | --with-* | -without-* | --without-* | --x)
1070 case "$ac_configure_args0 " in
1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1074 -* ) ac_must_keep_next=true ;;
1077 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1078 # Get rid of the leading space.
1084 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1085 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1087 # When interrupted or exit'd, cleanup temporary files, and complete
1088 # config.log. We remove comments because anyway the quotes in there
1089 # would cause problems or look ugly.
1090 # WARNING: Be sure not to use single quotes in there, as some shells,
1091 # such as our DU 5.0 friend, will then `close' the trap.
1092 trap 'exit_status=$?
1093 # Save into config.log some information that might help in debugging.
1098 ## ---------------- ##
1099 ## Cache variables. ##
1100 ## ---------------- ##
1103 # The following way of writing the cache mishandles newlines in values,
1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121 ## ----------------- ##
1122 ## Output variables. ##
1123 ## ----------------- ##
1126 for ac_var in $ac_subst_vars
1128 eval ac_val=$`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -n "$ac_subst_files"; then
1140 for ac_var in $ac_subst_files
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -s confdefs.h; then
1155 sed "/^$/d" confdefs.h | sort
1158 test "$ac_signal" != 0 &&
1159 echo "$as_me: caught signal $ac_signal"
1160 echo "$as_me: exit $exit_status"
1162 rm -f core *.core &&
1163 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1166 for ac_signal in 1 2 13 15; do
1167 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1172 rm -rf conftest* confdefs.h
1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176 # Predefined preprocessor variables.
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_NAME "$PACKAGE_NAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_STRING "$PACKAGE_STRING"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203 # Let the site file select an alternate cache file if it wants to.
1204 # Prefer explicitly selected file to automatically selected ones.
1205 if test -z "$CONFIG_SITE"; then
1206 if test "x$prefix" != xNONE; then
1207 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1209 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212 for ac_site_file in $CONFIG_SITE; do
1213 if test -r "$ac_site_file"; then
1214 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215 echo "$as_me: loading site script $ac_site_file" >&6;}
1216 sed 's/^/| /' "$ac_site_file" >&5
1222 # Check that the precious variables saved in the cache have kept the same
1224 ac_cache_corrupted=false
1225 for ac_var in `(set) 2>&1 |
1226 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1227 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1228 eval ac_new_set=\$ac_env_${ac_var}_set
1229 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1230 eval ac_new_val="\$ac_env_${ac_var}_value"
1231 case $ac_old_set,$ac_new_set in
1233 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1234 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1235 ac_cache_corrupted=: ;;
1237 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1238 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1239 ac_cache_corrupted=: ;;
1242 if test "x$ac_old_val" != "x$ac_new_val"; then
1243 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1244 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1245 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1246 echo "$as_me: former value: $ac_old_val" >&2;}
1247 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1248 echo "$as_me: current value: $ac_new_val" >&2;}
1249 ac_cache_corrupted=:
1252 # Pass precious variables to config.status.
1253 if test "$ac_new_set" = set; then
1255 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1256 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1257 *) ac_arg=$ac_var=$ac_new_val ;;
1259 case " $ac_configure_args " in
1260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1261 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1265 if $ac_cache_corrupted; then
1266 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1267 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1268 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1269 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1270 { (exit 1); exit 1; }; }
1274 ac_cpp='$CPP $CPPFLAGS'
1275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1299 if test -f $ac_dir/install-sh; then
1301 ac_install_sh="$ac_aux_dir/install-sh -c"
1303 elif test -f $ac_dir/install.sh; then
1305 ac_install_sh="$ac_aux_dir/install.sh -c"
1307 elif test -f $ac_dir/shtool; then
1309 ac_install_sh="$ac_aux_dir/shtool install -c"
1313 if test -z "$ac_aux_dir"; then
1314 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1315 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1316 { (exit 1); exit 1; }; }
1318 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1319 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1320 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1322 # Make sure we can run config.sub.
1323 $ac_config_sub sun4 >/dev/null 2>&1 ||
1324 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1325 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1326 { (exit 1); exit 1; }; }
1328 echo "$as_me:$LINENO: checking build system type" >&5
1329 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1330 if test "${ac_cv_build+set}" = set; then
1331 echo $ECHO_N "(cached) $ECHO_C" >&6
1333 ac_cv_build_alias=$build_alias
1334 test -z "$ac_cv_build_alias" &&
1335 ac_cv_build_alias=`$ac_config_guess`
1336 test -z "$ac_cv_build_alias" &&
1337 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1338 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1339 { (exit 1); exit 1; }; }
1340 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1341 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1342 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1343 { (exit 1); exit 1; }; }
1346 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1347 echo "${ECHO_T}$ac_cv_build" >&6
1349 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1350 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1351 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1354 echo "$as_me:$LINENO: checking host system type" >&5
1355 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1356 if test "${ac_cv_host+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 ac_cv_host_alias=$host_alias
1360 test -z "$ac_cv_host_alias" &&
1361 ac_cv_host_alias=$ac_cv_build_alias
1362 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1363 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1364 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1365 { (exit 1); exit 1; }; }
1368 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1369 echo "${ECHO_T}$ac_cv_host" >&6
1371 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1372 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1373 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1376 echo "$as_me:$LINENO: checking target system type" >&5
1377 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1378 if test "${ac_cv_target+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 ac_cv_target_alias=$target_alias
1382 test "x$ac_cv_target_alias" = "x" &&
1383 ac_cv_target_alias=$ac_cv_host_alias
1384 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1385 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1386 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1387 { (exit 1); exit 1; }; }
1390 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1391 echo "${ECHO_T}$ac_cv_target" >&6
1392 target=$ac_cv_target
1393 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1394 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1395 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1398 # The aliases save the names the user supplied, while $host etc.
1399 # will get canonicalized.
1400 test -n "$target_alias" &&
1401 test "$program_prefix$program_suffix$program_transform_name" = \
1403 program_prefix=${target_alias}-
1404 am__api_version="1.9"
1405 # Find a good install program. We prefer a C program (faster),
1406 # so one script is as good as another. But avoid the broken or
1407 # incompatible versions:
1408 # SysV /etc/install, /usr/sbin/install
1409 # SunOS /usr/etc/install
1410 # IRIX /sbin/install
1412 # AmigaOS /C/install, which installs bootblocks on floppy discs
1413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1416 # OS/2's system install, which has a completely different semantic
1417 # ./install, which can be erroneously created by make from ./install.sh.
1418 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1419 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1420 if test -z "$INSTALL"; then
1421 if test "${ac_cv_path_install+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir=.
1429 # Account for people who put trailing slashes in PATH elements.
1431 ./ | .// | /cC/* | \
1432 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1433 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1436 # OSF1 and SCO ODT 3.0 have their own names for install.
1437 # Don't use installbsd from OSF since it installs stuff as root
1439 for ac_prog in ginstall scoinst install; do
1440 for ac_exec_ext in '' $ac_executable_extensions; do
1441 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1442 if test $ac_prog = install &&
1443 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1444 # AIX install. It has an incompatible calling convention.
1446 elif test $ac_prog = install &&
1447 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1448 # program-specific install script used by HP pwplus--don't use.
1451 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1463 if test "${ac_cv_path_install+set}" = set; then
1464 INSTALL=$ac_cv_path_install
1466 # As a last resort, use the slow shell script. We don't cache a
1467 # path for INSTALL within a source directory, because that will
1468 # break other packages using the cache if that directory is
1469 # removed, or if the path is relative.
1470 INSTALL=$ac_install_sh
1473 echo "$as_me:$LINENO: result: $INSTALL" >&5
1474 echo "${ECHO_T}$INSTALL" >&6
1476 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1477 # It thinks the first close brace ends the variable substitution.
1478 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1480 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1482 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1484 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1485 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1488 echo timestamp > conftest.file
1489 # Do `set' in a subshell so we don't clobber the current shell's
1490 # arguments. Must try -L first in case configure is actually a
1491 # symlink; some systems play weird games with the mod time of symlinks
1492 # (eg FreeBSD returns the mod time of the symlink's containing
1495 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1496 if test "$*" = "X"; then
1498 set X `ls -t $srcdir/configure conftest.file`
1501 if test "$*" != "X $srcdir/configure conftest.file" \
1502 && test "$*" != "X conftest.file $srcdir/configure"; then
1504 # If neither matched, then we have a broken ls. This can happen
1505 # if, for instance, CONFIG_SHELL is bash and it inherits a
1506 # broken ls alias from the environment. This has actually
1507 # happened. Such a system could not be considered "sane".
1508 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1509 alias in your environment" >&5
1510 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1511 alias in your environment" >&2;}
1512 { (exit 1); exit 1; }; }
1515 test "$2" = conftest.file
1521 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1522 Check your system clock" >&5
1523 echo "$as_me: error: newly created file is older than distributed files!
1524 Check your system clock" >&2;}
1525 { (exit 1); exit 1; }; }
1527 echo "$as_me:$LINENO: result: yes" >&5
1528 echo "${ECHO_T}yes" >&6
1529 test "$program_prefix" != NONE &&
1530 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1531 # Use a double $ so make ignores it.
1532 test "$program_suffix" != NONE &&
1533 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1534 # Double any \ or $. echo might interpret backslashes.
1535 # By default was `s,x,x', remove it if useless.
1536 cat <<\_ACEOF >conftest.sed
1537 s/[\\$]/&&/g;s/;s,x,x,$//
1539 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1542 # expand $ac_aux_dir to an absolute path
1543 am_aux_dir=`cd $ac_aux_dir && pwd`
1545 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1546 # Use eval to expand $SHELL
1547 if eval "$MISSING --run true"; then
1548 am_missing_run="$MISSING --run "
1551 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1552 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1555 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1556 # We used to keeping the `.' as first argument, in order to
1557 # allow $(mkdir_p) to be used without argument. As in
1558 # $(mkdir_p) $(somedir)
1559 # where $(somedir) is conditionally defined. However this is wrong
1561 # 1. if the package is installed by a user who cannot write `.'
1562 # make install will fail,
1563 # 2. the above comment should most certainly read
1564 # $(mkdir_p) $(DESTDIR)$(somedir)
1565 # so it does not work when $(somedir) is undefined and
1566 # $(DESTDIR) is not.
1567 # To support the latter case, we have to write
1568 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1569 # so the `.' trick is pointless.
1570 mkdir_p='mkdir -p --'
1572 # On NextStep and OpenStep, the `mkdir' command does not
1573 # recognize any option. It will interpret all options as
1574 # directories to create, and then abort because `.' already
1576 for d in ./-p ./--version;
1578 test -d $d && rmdir $d
1580 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1581 if test -f "$ac_aux_dir/mkinstalldirs"; then
1582 mkdir_p='$(mkinstalldirs)'
1584 mkdir_p='$(install_sh) -d'
1588 for ac_prog in gawk mawk nawk awk
1590 # Extract the first word of "$ac_prog", so it can be a program name with args.
1591 set dummy $ac_prog; ac_word=$2
1592 echo "$as_me:$LINENO: checking for $ac_word" >&5
1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594 if test "${ac_cv_prog_AWK+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$AWK"; then
1598 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 for ac_exec_ext in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607 ac_cv_prog_AWK="$ac_prog"
1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617 if test -n "$AWK"; then
1618 echo "$as_me:$LINENO: result: $AWK" >&5
1619 echo "${ECHO_T}$AWK" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1625 test -n "$AWK" && break
1628 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1629 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1630 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1631 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 cat >conftest.make <<\_ACEOF
1636 @echo 'ac_maketemp="$(MAKE)"'
1638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1639 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1640 if test -n "$ac_maketemp"; then
1641 eval ac_cv_prog_make_${ac_make}_set=yes
1643 eval ac_cv_prog_make_${ac_make}_set=no
1647 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1648 echo "$as_me:$LINENO: result: yes" >&5
1649 echo "${ECHO_T}yes" >&6
1652 echo "$as_me:$LINENO: result: no" >&5
1653 echo "${ECHO_T}no" >&6
1654 SET_MAKE="MAKE=${MAKE-make}"
1657 rm -rf .tst 2>/dev/null
1658 mkdir .tst 2>/dev/null
1659 if test -d .tst; then
1664 rmdir .tst 2>/dev/null
1666 # test to see if srcdir already configured
1667 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1668 test -f $srcdir/config.status; then
1669 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1670 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1671 { (exit 1); exit 1; }; }
1674 # test whether we have cygpath
1675 if test -z "$CYGPATH_W"; then
1676 if (cygpath --version) >/dev/null 2>/dev/null; then
1677 CYGPATH_W='cygpath -w'
1684 # Define the identity of the package.
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE "$PACKAGE"
1694 cat >>confdefs.h <<_ACEOF
1695 #define VERSION "$VERSION"
1698 # Some tools Automake needs.
1700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1714 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1716 # Installed binaries are usually stripped using `strip' when the user
1717 # run `make install-strip'. However `strip' might not be the right
1718 # tool to use in cross-compilation environments, therefore Automake
1719 # will honor the `STRIP' environment variable to overrule this program.
1720 if test "$cross_compiling" != no; then
1721 if test -n "$ac_tool_prefix"; then
1722 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1723 set dummy ${ac_tool_prefix}strip; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_STRIP+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$STRIP"; then
1730 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 STRIP=$ac_cv_prog_STRIP
1749 if test -n "$STRIP"; then
1750 echo "$as_me:$LINENO: result: $STRIP" >&5
1751 echo "${ECHO_T}$STRIP" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1758 if test -z "$ac_cv_prog_STRIP"; then
1760 # Extract the first word of "strip", so it can be a program name with args.
1761 set dummy strip; ac_word=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 if test -n "$ac_ct_STRIP"; then
1768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1774 test -z "$as_dir" && as_dir=.
1775 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777 ac_cv_prog_ac_ct_STRIP="strip"
1778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1788 if test -n "$ac_ct_STRIP"; then
1789 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1790 echo "${ECHO_T}$ac_ct_STRIP" >&6
1792 echo "$as_me:$LINENO: result: no" >&5
1793 echo "${ECHO_T}no" >&6
1798 STRIP="$ac_cv_prog_STRIP"
1802 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1804 # We need awk for the "check" target. The system "awk" is bad on
1806 # Always define AMTAR for backward compatibility.
1808 AMTAR=${AMTAR-"${am_missing_run}tar"}
1810 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1816 ac_config_headers="$ac_config_headers config.h"
1820 ac_cpp='$CPP $CPPFLAGS'
1821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 if test -n "$ac_tool_prefix"; then
1825 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1826 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1827 echo "$as_me:$LINENO: checking for $ac_word" >&5
1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829 if test "${ac_cv_prog_CC+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test -n "$CC"; then
1833 ac_cv_prog_CC="$CC" # Let the user override the test.
1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir=.
1840 for ac_exec_ext in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 if test -n "$CC"; then
1853 echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1861 if test -z "$ac_cv_prog_CC"; then
1863 # Extract the first word of "gcc", so it can be a program name with args.
1864 set dummy gcc; ac_word=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 if test -n "$ac_ct_CC"; then
1871 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir=.
1878 for ac_exec_ext in '' $ac_executable_extensions; do
1879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880 ac_cv_prog_ac_ct_CC="gcc"
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1890 if test -n "$ac_ct_CC"; then
1891 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1892 echo "${ECHO_T}$ac_ct_CC" >&6
1894 echo "$as_me:$LINENO: result: no" >&5
1895 echo "${ECHO_T}no" >&6
1903 if test -z "$CC"; then
1904 if test -n "$ac_tool_prefix"; then
1905 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1906 set dummy ${ac_tool_prefix}cc; ac_word=$2
1907 echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909 if test "${ac_cv_prog_CC+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 if test -n "$CC"; then
1913 ac_cv_prog_CC="$CC" # Let the user override the test.
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 ac_cv_prog_CC="${ac_tool_prefix}cc"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 if test -n "$CC"; then
1933 echo "$as_me:$LINENO: result: $CC" >&5
1934 echo "${ECHO_T}$CC" >&6
1936 echo "$as_me:$LINENO: result: no" >&5
1937 echo "${ECHO_T}no" >&6
1941 if test -z "$ac_cv_prog_CC"; then
1943 # Extract the first word of "cc", so it can be a program name with args.
1944 set dummy cc; ac_word=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test -n "$ac_ct_CC"; then
1951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir=.
1958 for ac_exec_ext in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_ac_ct_CC="cc"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1984 if test -z "$CC"; then
1985 # Extract the first word of "cc", so it can be a program name with args.
1986 set dummy cc; ac_word=$2
1987 echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1989 if test "${ac_cv_prog_CC+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 if test -n "$CC"; then
1993 ac_cv_prog_CC="$CC" # Let the user override the test.
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2004 ac_prog_rejected=yes
2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 if test $ac_prog_rejected = yes; then
2015 # We found a bogon in the path, so make sure we never use it.
2016 set dummy $ac_cv_prog_CC
2018 if test $# != 0; then
2019 # We chose a different compiler from the bogus one.
2020 # However, it has the same basename, so the bogon will be chosen
2021 # first if we set CC to just the basename; use the full file name.
2023 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2029 if test -n "$CC"; then
2030 echo "$as_me:$LINENO: result: $CC" >&5
2031 echo "${ECHO_T}$CC" >&6
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2038 if test -z "$CC"; then
2039 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2043 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 if test -n "$CC"; then
2050 ac_cv_prog_CC="$CC" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 if test -n "$CC"; then
2070 echo "$as_me:$LINENO: result: $CC" >&5
2071 echo "${ECHO_T}$CC" >&6
2073 echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2077 test -n "$CC" && break
2080 if test -z "$CC"; then
2084 # Extract the first word of "$ac_prog", so it can be a program name with args.
2085 set dummy $ac_prog; ac_word=$2
2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_ac_ct_CC="$ac_prog"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2111 if test -n "$ac_ct_CC"; then
2112 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2113 echo "${ECHO_T}$ac_ct_CC" >&6
2115 echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2119 test -n "$ac_ct_CC" && break
2128 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2129 See \`config.log' for more details." >&5
2130 echo "$as_me: error: no acceptable C compiler found in \$PATH
2131 See \`config.log' for more details." >&2;}
2132 { (exit 1); exit 1; }; }
2134 # Provide some information about the compiler.
2135 echo "$as_me:$LINENO:" \
2136 "checking for C compiler version" >&5
2137 ac_compiler=`set X $ac_compile; echo $2`
2138 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2139 (eval $ac_compiler --version </dev/null >&5) 2>&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }
2143 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2144 (eval $ac_compiler -v </dev/null >&5) 2>&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }
2148 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2149 (eval $ac_compiler -V </dev/null >&5) 2>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }
2154 cat >conftest.$ac_ext <<_ACEOF
2157 cat confdefs.h >>conftest.$ac_ext
2158 cat >>conftest.$ac_ext <<_ACEOF
2159 /* end confdefs.h. */
2169 ac_clean_files_save=$ac_clean_files
2170 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2171 # Try to create an executable without -o first, disregard a.out.
2172 # It will help us diagnose broken compilers, and finding out an intuition
2174 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2175 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2176 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2177 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2178 (eval $ac_link_default) 2>&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; then
2182 # Find the output, starting from the most likely. This scheme is
2183 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2186 # Be careful to initialize this variable, since it used to be cached.
2187 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2189 # b.out is created by i960 compilers.
2190 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2192 test -f "$ac_file" || continue
2194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2197 # This is the source file.
2200 # We found the default executable, but exeext='' is most
2204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2205 # FIXME: I believe we export ac_cv_exeext for Libtool,
2206 # but it would be cool to find out if it's true. Does anybody
2207 # maintain Libtool? --akim.
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.$ac_ext >&5
2218 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2219 See \`config.log' for more details." >&5
2220 echo "$as_me: error: C compiler cannot create executables
2221 See \`config.log' for more details." >&2;}
2222 { (exit 77); exit 77; }; }
2225 ac_exeext=$ac_cv_exeext
2226 echo "$as_me:$LINENO: result: $ac_file" >&5
2227 echo "${ECHO_T}$ac_file" >&6
2229 # Check the compiler produces executables we can run. If not, either
2230 # the compiler is broken, or we cross compile.
2231 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2232 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2234 # If not cross compiling, check that we can run a simple program.
2235 if test "$cross_compiling" != yes; then
2236 if { ac_try='./$ac_file'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2244 if test "$cross_compiling" = maybe; then
2247 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2248 If you meant to cross compile, use \`--host'.
2249 See \`config.log' for more details." >&5
2250 echo "$as_me: error: cannot run C compiled programs.
2251 If you meant to cross compile, use \`--host'.
2252 See \`config.log' for more details." >&2;}
2253 { (exit 1); exit 1; }; }
2257 echo "$as_me:$LINENO: result: yes" >&5
2258 echo "${ECHO_T}yes" >&6
2260 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2261 ac_clean_files=$ac_clean_files_save
2262 # Check the compiler produces executables we can run. If not, either
2263 # the compiler is broken, or we cross compile.
2264 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2265 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2266 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2267 echo "${ECHO_T}$cross_compiling" >&6
2269 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2270 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2272 (eval $ac_link) 2>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; then
2276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2278 # work properly (i.e., refer to `conftest.exe'), while it won't with
2280 for ac_file in conftest.exe conftest conftest.*; do
2281 test -f "$ac_file" || continue
2283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2291 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2292 See \`config.log' for more details." >&5
2293 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2294 See \`config.log' for more details." >&2;}
2295 { (exit 1); exit 1; }; }
2298 rm -f conftest$ac_cv_exeext
2299 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2300 echo "${ECHO_T}$ac_cv_exeext" >&6
2302 rm -f conftest.$ac_ext
2303 EXEEXT=$ac_cv_exeext
2305 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2307 if test "${ac_cv_objext+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 cat >conftest.$ac_ext <<_ACEOF
2313 cat confdefs.h >>conftest.$ac_ext
2314 cat >>conftest.$ac_ext <<_ACEOF
2315 /* end confdefs.h. */
2325 rm -f conftest.o conftest.obj
2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2327 (eval $ac_compile) 2>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; then
2331 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2334 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2342 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2343 See \`config.log' for more details." >&5
2344 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2345 See \`config.log' for more details." >&2;}
2346 { (exit 1); exit 1; }; }
2349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2351 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2352 echo "${ECHO_T}$ac_cv_objext" >&6
2353 OBJEXT=$ac_cv_objext
2355 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2356 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2357 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 cat >conftest.$ac_ext <<_ACEOF
2363 cat confdefs.h >>conftest.$ac_ext
2364 cat >>conftest.$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2378 rm -f conftest.$ac_objext
2379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380 (eval $ac_compile) 2>conftest.er1
2382 grep -v '^ *+' conftest.er1 >conftest.err
2384 cat conftest.err >&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); } &&
2387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }; } &&
2393 { ac_try='test -s conftest.$ac_objext'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; }; then
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.$ac_ext >&5
2406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2407 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2410 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2411 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2412 GCC=`test $ac_compiler_gnu = yes && echo yes`
2413 ac_test_CFLAGS=${CFLAGS+set}
2414 ac_save_CFLAGS=$CFLAGS
2416 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2417 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2418 if test "${ac_cv_prog_cc_g+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 cat >conftest.$ac_ext <<_ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2436 rm -f conftest.$ac_objext
2437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2438 (eval $ac_compile) 2>conftest.er1
2440 grep -v '^ *+' conftest.er1 >conftest.err
2442 cat conftest.err >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); } &&
2445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; } &&
2451 { ac_try='test -s conftest.$ac_objext'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; }; then
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
2464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2466 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2467 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2468 if test "$ac_test_CFLAGS" = set; then
2469 CFLAGS=$ac_save_CFLAGS
2470 elif test $ac_cv_prog_cc_g = yes; then
2471 if test "$GCC" = yes; then
2477 if test "$GCC" = yes; then
2483 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2484 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2485 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 ac_cv_prog_cc_stdc=no
2490 cat >conftest.$ac_ext <<_ACEOF
2493 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2498 #include <sys/types.h>
2499 #include <sys/stat.h>
2500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2501 struct buf { int x; };
2502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2503 static char *e (p, i)
2509 static char *f (char * (*g) (char **, int), char **p, ...)
2514 s = g (p, va_arg (v,int));
2519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2520 function prototypes and stuff, but not '\xHH' hex character constants.
2521 These don't provoke an error unfortunately, instead are silently treated
2522 as 'x'. The following induces an error, until -std1 is added to get
2523 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2524 array size at least. It's necessary to write '\x00'==0 to get something
2525 that's true only with -std1. */
2526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2528 int test (int i, double x);
2529 struct s1 {int (*f) (int a);};
2530 struct s2 {int (*f) (double a);};
2531 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2537 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2542 # Don't try gcc -ansi; that turns off useful extensions and
2543 # breaks some systems' header files.
2544 # AIX -qlanglvl=ansi
2545 # Ultrix and OSF/1 -std1
2546 # HP-UX 10.20 and later -Ae
2547 # HP-UX older versions -Aa -D_HPUX_SOURCE
2548 # SVR4 -Xc -D__EXTENSIONS__
2549 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2551 CC="$ac_save_CC $ac_arg"
2552 rm -f conftest.$ac_objext
2553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2554 (eval $ac_compile) 2>conftest.er1
2556 grep -v '^ *+' conftest.er1 >conftest.err
2558 cat conftest.err >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); } &&
2561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; } &&
2567 { ac_try='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2573 ac_cv_prog_cc_stdc=$ac_arg
2576 echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2580 rm -f conftest.err conftest.$ac_objext
2582 rm -f conftest.$ac_ext conftest.$ac_objext
2587 case "x$ac_cv_prog_cc_stdc" in
2589 echo "$as_me:$LINENO: result: none needed" >&5
2590 echo "${ECHO_T}none needed" >&6 ;;
2592 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2593 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2594 CC="$CC $ac_cv_prog_cc_stdc" ;;
2597 # Some people use a C++ compiler to compile C. Since we use `exit',
2598 # in C++ we need to declare it. In case someone uses the same compiler
2599 # for both compiling C and C++ we need to have the C++ compiler decide
2600 # the declaration of exit, since it's the most demanding environment.
2601 cat >conftest.$ac_ext <<_ACEOF
2606 rm -f conftest.$ac_objext
2607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2608 (eval $ac_compile) 2>conftest.er1
2610 grep -v '^ *+' conftest.er1 >conftest.err
2612 cat conftest.err >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); } &&
2615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; } &&
2621 { ac_try='test -s conftest.$ac_objext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2627 for ac_declaration in \
2629 'extern "C" void std::exit (int) throw (); using std::exit;' \
2630 'extern "C" void std::exit (int); using std::exit;' \
2631 'extern "C" void exit (int) throw ();' \
2632 'extern "C" void exit (int);' \
2635 cat >conftest.$ac_ext <<_ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1 >conftest.err
2657 cat conftest.err >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; } &&
2666 { ac_try='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2680 cat >conftest.$ac_ext <<_ACEOF
2683 cat confdefs.h >>conftest.$ac_ext
2684 cat >>conftest.$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2695 rm -f conftest.$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>conftest.er1
2699 grep -v '^ *+' conftest.er1 >conftest.err
2701 cat conftest.err >&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } &&
2704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; } &&
2710 { ac_try='test -s conftest.$ac_objext'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; }; then
2718 echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2725 if test -n "$ac_declaration"; then
2726 echo '#ifdef __cplusplus' >>confdefs.h
2727 echo $ac_declaration >>confdefs.h
2728 echo '#endif' >>confdefs.h
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2738 ac_cpp='$CPP $CPPFLAGS'
2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2742 DEPDIR="${am__leading_dot}deps"
2744 ac_config_commands="$ac_config_commands depfiles"
2747 am_make=${MAKE-make}
2748 cat > confinc << 'END'
2753 # If we don't find an include directive, just comment out the code.
2754 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2755 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2759 # First try GNU make style include.
2760 echo "include confinc" > confmf
2761 # We grep out `Entering directory' and `Leaving directory'
2762 # messages which can occur if `w' ends up in MAKEFLAGS.
2763 # In particular we don't look at `^make:' because GNU make might
2764 # be invoked under some other name (usually "gmake"), in which
2765 # case it prints its new name instead of `make'.
2766 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2771 # Now try BSD make style include.
2772 if test "$am__include" = "#"; then
2773 echo '.include "confinc"' > confmf
2774 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2775 am__include=.include
2782 echo "$as_me:$LINENO: result: $_am_result" >&5
2783 echo "${ECHO_T}$_am_result" >&6
2784 rm -f confinc confmf
2786 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2787 if test "${enable_dependency_tracking+set}" = set; then
2788 enableval="$enable_dependency_tracking"
2791 if test "x$enable_dependency_tracking" != xno; then
2792 am_depcomp="$ac_aux_dir/depcomp"
2797 if test "x$enable_dependency_tracking" != xno; then
2808 depcc="$CC" am_compiler_list=
2810 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2811 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2812 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2816 # We make a subdir and do the tests there. Otherwise we can end up
2817 # making bogus files that we don't know about and never remove. For
2818 # instance it was reported that on HP-UX the gcc test will end up
2819 # making a dummy file named `D' -- because `-MD' means `put the output
2822 # Copy depcomp to subdir because otherwise we won't find it if we're
2823 # using a relative directory.
2824 cp "$am_depcomp" conftest.dir
2826 # We will build objects and dependencies in a subdirectory because
2827 # it helps to detect inapplicable dependency modes. For instance
2828 # both Tru64's cc and ICC support -MD to output dependencies as a
2829 # side effect of compilation, but ICC will put the dependencies in
2830 # the current directory while Tru64 will put them in the object
2834 am_cv_CC_dependencies_compiler_type=none
2835 if test "$am_compiler_list" = ""; then
2836 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2838 for depmode in $am_compiler_list; do
2839 # Setup a source with many dependencies, because some compilers
2840 # like to wrap large dependency lists on column 80 (with \), and
2841 # we should not choose a depcomp mode which is confused by this.
2843 # We need to recreate these files for each test, as the compiler may
2844 # overwrite some of them when testing with obscure command lines.
2845 # This happens at least with the AIX C compiler.
2847 for i in 1 2 3 4 5 6; do
2848 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2849 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2850 # Solaris 8's {/usr,}/bin/sh.
2851 touch sub/conftst$i.h
2853 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2857 # after this tag, mechanisms are not by side-effect, so they'll
2858 # only be used when explicitly requested
2859 if test "x$enable_dependency_tracking" = xyes; then
2867 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2868 # mode. It turns out that the SunPro C++ compiler does not properly
2869 # handle `-M -o', and we need to detect this.
2870 if depmode=$depmode \
2871 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2872 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2873 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2874 >/dev/null 2>conftest.err &&
2875 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2876 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2877 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2878 # icc doesn't choke on unknown options, it will just issue warnings
2879 # or remarks (even with -Werror). So we grep stderr for any message
2880 # that says an option was ignored or not supported.
2881 # When given -MP, icc 7.0 and 7.1 complain thusly:
2882 # icc: Command line warning: ignoring option '-M'; no argument required
2883 # The diagnosis changed in icc 8.0:
2884 # icc: Command line remark: option '-MP' not supported
2885 if (grep 'ignoring option' conftest.err ||
2886 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2887 am_cv_CC_dependencies_compiler_type=$depmode
2896 am_cv_CC_dependencies_compiler_type=none
2900 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2901 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2902 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2907 test "x$enable_dependency_tracking" != xno \
2908 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2910 am__fastdepCC_FALSE='#'
2912 am__fastdepCC_TRUE='#'
2913 am__fastdepCC_FALSE=
2917 # Find a good install program. We prefer a C program (faster),
2918 # so one script is as good as another. But avoid the broken or
2919 # incompatible versions:
2920 # SysV /etc/install, /usr/sbin/install
2921 # SunOS /usr/etc/install
2922 # IRIX /sbin/install
2924 # AmigaOS /C/install, which installs bootblocks on floppy discs
2925 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2926 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2927 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2928 # OS/2's system install, which has a completely different semantic
2929 # ./install, which can be erroneously created by make from ./install.sh.
2930 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2931 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2932 if test -z "$INSTALL"; then
2933 if test "${ac_cv_path_install+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir=.
2941 # Account for people who put trailing slashes in PATH elements.
2943 ./ | .// | /cC/* | \
2944 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2945 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2948 # OSF1 and SCO ODT 3.0 have their own names for install.
2949 # Don't use installbsd from OSF since it installs stuff as root
2951 for ac_prog in ginstall scoinst install; do
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2954 if test $ac_prog = install &&
2955 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2956 # AIX install. It has an incompatible calling convention.
2958 elif test $ac_prog = install &&
2959 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2960 # program-specific install script used by HP pwplus--don't use.
2963 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2975 if test "${ac_cv_path_install+set}" = set; then
2976 INSTALL=$ac_cv_path_install
2978 # As a last resort, use the slow shell script. We don't cache a
2979 # path for INSTALL within a source directory, because that will
2980 # break other packages using the cache if that directory is
2981 # removed, or if the path is relative.
2982 INSTALL=$ac_install_sh
2985 echo "$as_me:$LINENO: result: $INSTALL" >&5
2986 echo "${ECHO_T}$INSTALL" >&6
2988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2989 # It thinks the first close brace ends the variable substitution.
2990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2994 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2996 if test -n "$ac_tool_prefix"; then
2997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2998 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2999 echo "$as_me:$LINENO: checking for $ac_word" >&5
3000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3001 if test "${ac_cv_prog_RANLIB+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 if test -n "$RANLIB"; then
3005 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 RANLIB=$ac_cv_prog_RANLIB
3024 if test -n "$RANLIB"; then
3025 echo "$as_me:$LINENO: result: $RANLIB" >&5
3026 echo "${ECHO_T}$RANLIB" >&6
3028 echo "$as_me:$LINENO: result: no" >&5
3029 echo "${ECHO_T}no" >&6
3033 if test -z "$ac_cv_prog_RANLIB"; then
3034 ac_ct_RANLIB=$RANLIB
3035 # Extract the first word of "ranlib", so it can be a program name with args.
3036 set dummy ranlib; ac_word=$2
3037 echo "$as_me:$LINENO: checking for $ac_word" >&5
3038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3039 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 if test -n "$ac_ct_RANLIB"; then
3043 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3052 ac_cv_prog_ac_ct_RANLIB="ranlib"
3053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3062 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3063 if test -n "$ac_ct_RANLIB"; then
3064 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3065 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3071 RANLIB=$ac_ct_RANLIB
3073 RANLIB="$ac_cv_prog_RANLIB"
3079 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
3080 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
3081 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 ac_check_lib_save_LIBS=$LIBS
3085 LIBS="-lpthread $LIBS"
3086 cat >conftest.$ac_ext <<_ACEOF
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3093 /* Override any gcc2 internal prototype to avoid an error. */
3097 /* We use char because int might match the return type of a gcc2
3098 builtin and then its argument prototype would still apply. */
3099 char pthread_create ();
3108 rm -f conftest.$ac_objext conftest$ac_exeext
3109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3110 (eval $ac_link) 2>conftest.er1
3112 grep -v '^ *+' conftest.er1 >conftest.err
3114 cat conftest.err >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); } &&
3117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; } &&
3123 { ac_try='test -s conftest$ac_exeext'
3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; }; then
3129 ac_cv_lib_pthread_pthread_create=yes
3131 echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3134 ac_cv_lib_pthread_pthread_create=no
3136 rm -f conftest.err conftest.$ac_objext \
3137 conftest$ac_exeext conftest.$ac_ext
3138 LIBS=$ac_check_lib_save_LIBS
3140 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
3141 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
3142 if test $ac_cv_lib_pthread_pthread_create = yes; then
3143 cat >>confdefs.h <<_ACEOF
3144 #define HAVE_LIBPTHREAD 1
3147 LIBS="-lpthread $LIBS"
3150 { { echo "$as_me:$LINENO: error: POSIX threads not found" >&5
3151 echo "$as_me: error: POSIX threads not found" >&2;}
3152 { (exit 1); exit 1; }; }
3158 ac_cpp='$CPP $CPPFLAGS'
3159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3162 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3163 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3164 # On Suns, sometimes $CPP names a directory.
3165 if test -n "$CPP" && test -d "$CPP"; then
3168 if test -z "$CPP"; then
3169 if test "${ac_cv_prog_CPP+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 # Double quotes because CPP needs to be expanded
3173 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3176 for ac_c_preproc_warn_flag in '' yes
3178 # Use a header file that comes with gcc, so configuring glibc
3179 # with a fresh cross-compiler works.
3180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3181 # <limits.h> exists even on freestanding compilers.
3182 # On the NeXT, cc -E runs the code through the compiler's parser,
3183 # not just through cpp. "Syntax error" is here to catch this case.
3184 cat >conftest.$ac_ext <<_ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3191 # include <limits.h>
3193 # include <assert.h>
3197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3200 grep -v '^ *+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } >/dev/null; then
3205 if test -s conftest.err; then
3206 ac_cpp_err=$ac_c_preproc_warn_flag
3207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3214 if test -z "$ac_cpp_err"; then
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3220 # Broken: fails on valid input.
3223 rm -f conftest.err conftest.$ac_ext
3225 # OK, works on sane cases. Now check whether non-existent headers
3226 # can be detected and how.
3227 cat >conftest.$ac_ext <<_ACEOF
3230 cat confdefs.h >>conftest.$ac_ext
3231 cat >>conftest.$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3233 #include <ac_nonexistent.h>
3235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } >/dev/null; then
3243 if test -s conftest.err; then
3244 ac_cpp_err=$ac_c_preproc_warn_flag
3245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3252 if test -z "$ac_cpp_err"; then
3253 # Broken: success on invalid input.
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 # Passes both tests.
3263 rm -f conftest.err conftest.$ac_ext
3266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3267 rm -f conftest.err conftest.$ac_ext
3268 if $ac_preproc_ok; then
3280 echo "$as_me:$LINENO: result: $CPP" >&5
3281 echo "${ECHO_T}$CPP" >&6
3283 for ac_c_preproc_warn_flag in '' yes
3285 # Use a header file that comes with gcc, so configuring glibc
3286 # with a fresh cross-compiler works.
3287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3288 # <limits.h> exists even on freestanding compilers.
3289 # On the NeXT, cc -E runs the code through the compiler's parser,
3290 # not just through cpp. "Syntax error" is here to catch this case.
3291 cat >conftest.$ac_ext <<_ACEOF
3294 cat confdefs.h >>conftest.$ac_ext
3295 cat >>conftest.$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3298 # include <limits.h>
3300 # include <assert.h>
3304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } >/dev/null; then
3312 if test -s conftest.err; then
3313 ac_cpp_err=$ac_c_preproc_warn_flag
3314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3321 if test -z "$ac_cpp_err"; then
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.$ac_ext >&5
3327 # Broken: fails on valid input.
3330 rm -f conftest.err conftest.$ac_ext
3332 # OK, works on sane cases. Now check whether non-existent headers
3333 # can be detected and how.
3334 cat >conftest.$ac_ext <<_ACEOF
3337 cat confdefs.h >>conftest.$ac_ext
3338 cat >>conftest.$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3340 #include <ac_nonexistent.h>
3342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3345 grep -v '^ *+' conftest.er1 >conftest.err
3347 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } >/dev/null; then
3350 if test -s conftest.err; then
3351 ac_cpp_err=$ac_c_preproc_warn_flag
3352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3359 if test -z "$ac_cpp_err"; then
3360 # Broken: success on invalid input.
3363 echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3366 # Passes both tests.
3370 rm -f conftest.err conftest.$ac_ext
3373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3374 rm -f conftest.err conftest.$ac_ext
3375 if $ac_preproc_ok; then
3378 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3379 See \`config.log' for more details." >&5
3380 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3381 See \`config.log' for more details." >&2;}
3382 { (exit 1); exit 1; }; }
3386 ac_cpp='$CPP $CPPFLAGS'
3387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3392 echo "$as_me:$LINENO: checking for egrep" >&5
3393 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3394 if test "${ac_cv_prog_egrep+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3398 then ac_cv_prog_egrep='grep -E'
3399 else ac_cv_prog_egrep='egrep'
3402 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3403 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3404 EGREP=$ac_cv_prog_egrep
3407 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3408 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3409 if test "${ac_cv_header_stdc+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 cat >conftest.$ac_ext <<_ACEOF
3415 cat confdefs.h >>conftest.$ac_ext
3416 cat >>conftest.$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3431 rm -f conftest.$ac_objext
3432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3433 (eval $ac_compile) 2>conftest.er1
3435 grep -v '^ *+' conftest.er1 >conftest.err
3437 cat conftest.err >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); } &&
3440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; } &&
3446 { ac_try='test -s conftest.$ac_objext'
3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); }; }; then
3452 ac_cv_header_stdc=yes
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 ac_cv_header_stdc=no
3459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3461 if test $ac_cv_header_stdc = yes; then
3462 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3473 $EGREP "memchr" >/dev/null 2>&1; then
3476 ac_cv_header_stdc=no
3482 if test $ac_cv_header_stdc = yes; then
3483 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3484 cat >conftest.$ac_ext <<_ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3494 $EGREP "free" >/dev/null 2>&1; then
3497 ac_cv_header_stdc=no
3503 if test $ac_cv_header_stdc = yes; then
3504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3505 if test "$cross_compiling" = yes; then
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3515 #if ((' ' & 0x0FF) == 0x020)
3516 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3517 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3519 # define ISLOWER(c) \
3520 (('a' <= (c) && (c) <= 'i') \
3521 || ('j' <= (c) && (c) <= 'r') \
3522 || ('s' <= (c) && (c) <= 'z'))
3523 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3526 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3531 for (i = 0; i < 256; i++)
3532 if (XOR (islower (i), ISLOWER (i))
3533 || toupper (i) != TOUPPER (i))
3538 rm -f conftest$ac_exeext
3539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3540 (eval $ac_link) 2>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3551 echo "$as_me: program exited with status $ac_status" >&5
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.$ac_ext >&5
3556 ac_cv_header_stdc=no
3558 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3563 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3564 if test $ac_cv_header_stdc = yes; then
3566 cat >>confdefs.h <<\_ACEOF
3567 #define STDC_HEADERS 1
3572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3582 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3583 inttypes.h stdint.h unistd.h
3585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3586 echo "$as_me:$LINENO: checking for $ac_header" >&5
3587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3597 $ac_includes_default
3599 #include <$ac_header>
3601 rm -f conftest.$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; } &&
3616 { ac_try='test -s conftest.$ac_objext'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; }; then
3622 eval "$as_ac_Header=yes"
3624 echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 eval "$as_ac_Header=no"
3629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3634 cat >>confdefs.h <<_ACEOF
3635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3643 if test "${ac_cv_header_inttypes_h+set}" = set; then
3644 echo "$as_me:$LINENO: checking for inttypes.h" >&5
3645 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
3646 if test "${ac_cv_header_inttypes_h+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5
3650 echo "${ECHO_T}$ac_cv_header_inttypes_h" >&6
3652 # Is the header compilable?
3653 echo "$as_me:$LINENO: checking inttypes.h usability" >&5
3654 echo $ECHO_N "checking inttypes.h usability... $ECHO_C" >&6
3655 cat >conftest.$ac_ext <<_ACEOF
3658 cat confdefs.h >>conftest.$ac_ext
3659 cat >>conftest.$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3661 $ac_includes_default
3662 #include <inttypes.h>
3664 rm -f conftest.$ac_objext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666 (eval $ac_compile) 2>conftest.er1
3668 grep -v '^ *+' conftest.er1 >conftest.err
3670 cat conftest.err >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } &&
3673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; } &&
3679 { ac_try='test -s conftest.$ac_objext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ac_header_compiler=yes
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 ac_header_compiler=no
3692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3694 echo "${ECHO_T}$ac_header_compiler" >&6
3696 # Is the header present?
3697 echo "$as_me:$LINENO: checking inttypes.h presence" >&5
3698 echo $ECHO_N "checking inttypes.h presence... $ECHO_C" >&6
3699 cat >conftest.$ac_ext <<_ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3705 #include <inttypes.h>
3707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } >/dev/null; then
3715 if test -s conftest.err; then
3716 ac_cpp_err=$ac_c_preproc_warn_flag
3717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3724 if test -z "$ac_cpp_err"; then
3725 ac_header_preproc=yes
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.$ac_ext >&5
3730 ac_header_preproc=no
3732 rm -f conftest.err conftest.$ac_ext
3733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3734 echo "${ECHO_T}$ac_header_preproc" >&6
3736 # So? What about this header?
3737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3739 { echo "$as_me:$LINENO: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
3740 echo "$as_me: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3741 { echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the compiler's result" >&5
3742 echo "$as_me: WARNING: inttypes.h: proceeding with the compiler's result" >&2;}
3743 ac_header_preproc=yes
3746 { echo "$as_me:$LINENO: WARNING: inttypes.h: present but cannot be compiled" >&5
3747 echo "$as_me: WARNING: inttypes.h: present but cannot be compiled" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: inttypes.h: check for missing prerequisite headers?" >&5
3749 echo "$as_me: WARNING: inttypes.h: check for missing prerequisite headers?" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: inttypes.h: see the Autoconf documentation" >&5
3751 echo "$as_me: WARNING: inttypes.h: see the Autoconf documentation" >&2;}
3752 { echo "$as_me:$LINENO: WARNING: inttypes.h: section \"Present But Cannot Be Compiled\"" >&5
3753 echo "$as_me: WARNING: inttypes.h: section \"Present But Cannot Be Compiled\"" >&2;}
3754 { echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the preprocessor's result" >&5
3755 echo "$as_me: WARNING: inttypes.h: proceeding with the preprocessor's result" >&2;}
3756 { echo "$as_me:$LINENO: WARNING: inttypes.h: in the future, the compiler will take precedence" >&5
3757 echo "$as_me: WARNING: inttypes.h: in the future, the compiler will take precedence" >&2;}
3760 ## ------------------------------------------ ##
3761 ## Report this to the AC_PACKAGE_NAME lists. ##
3762 ## ------------------------------------------ ##
3765 sed "s/^/$as_me: WARNING: /" >&2
3768 echo "$as_me:$LINENO: checking for inttypes.h" >&5
3769 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
3770 if test "${ac_cv_header_inttypes_h+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 ac_cv_header_inttypes_h=$ac_header_preproc
3775 echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5
3776 echo "${ECHO_T}$ac_cv_header_inttypes_h" >&6
3779 if test $ac_cv_header_inttypes_h = yes; then
3781 cat >>confdefs.h <<_ACEOF
3782 #define HAVE_INTTYPES_H
3786 echo "$as_me:$LINENO: checking for int" >&5
3787 echo $ECHO_N "checking for int... $ECHO_C" >&6
3788 if test "${ac_cv_type_int+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 cat >conftest.$ac_ext <<_ACEOF
3794 cat confdefs.h >>conftest.$ac_ext
3795 cat >>conftest.$ac_ext <<_ACEOF
3796 /* end confdefs.h. */
3797 $ac_includes_default
3809 rm -f conftest.$ac_objext
3810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3811 (eval $ac_compile) 2>conftest.er1
3813 grep -v '^ *+' conftest.er1 >conftest.err
3815 cat conftest.err >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } &&
3818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; } &&
3824 { ac_try='test -s conftest.$ac_objext'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; }; then
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.$ac_ext >&5
3837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3839 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3840 echo "${ECHO_T}$ac_cv_type_int" >&6
3842 echo "$as_me:$LINENO: checking size of int" >&5
3843 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3844 if test "${ac_cv_sizeof_int+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 if test "$ac_cv_type_int" = yes; then
3848 # The cast to unsigned long works around a bug in the HP C Compiler
3849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3851 # This bug is HP SR number 8606223364.
3852 if test "$cross_compiling" = yes; then
3853 # Depending upon the size, compute the lo and hi bounds.
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3860 $ac_includes_default
3864 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3871 rm -f conftest.$ac_objext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>conftest.er1
3875 grep -v '^ *+' conftest.er1 >conftest.err
3877 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } &&
3880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); }; } &&
3886 { ac_try='test -s conftest.$ac_objext'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; }; then
3894 cat >conftest.$ac_ext <<_ACEOF
3897 cat confdefs.h >>conftest.$ac_ext
3898 cat >>conftest.$ac_ext <<_ACEOF
3899 /* end confdefs.h. */
3900 $ac_includes_default
3904 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3911 rm -f conftest.$ac_objext
3912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3913 (eval $ac_compile) 2>conftest.er1
3915 grep -v '^ *+' conftest.er1 >conftest.err
3917 cat conftest.err >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
3920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; } &&
3926 { ac_try='test -s conftest.$ac_objext'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3932 ac_hi=$ac_mid; break
3934 echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.$ac_ext >&5
3937 ac_lo=`expr $ac_mid + 1`
3938 if test $ac_lo -le $ac_mid; then
3942 ac_mid=`expr 2 '*' $ac_mid + 1`
3944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3950 cat >conftest.$ac_ext <<_ACEOF
3953 cat confdefs.h >>conftest.$ac_ext
3954 cat >>conftest.$ac_ext <<_ACEOF
3955 /* end confdefs.h. */
3956 $ac_includes_default
3960 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3967 rm -f conftest.$ac_objext
3968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3969 (eval $ac_compile) 2>conftest.er1
3971 grep -v '^ *+' conftest.er1 >conftest.err
3973 cat conftest.err >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; } &&
3982 { ac_try='test -s conftest.$ac_objext'
3983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; }; then
3990 cat >conftest.$ac_ext <<_ACEOF
3993 cat confdefs.h >>conftest.$ac_ext
3994 cat >>conftest.$ac_ext <<_ACEOF
3995 /* end confdefs.h. */
3996 $ac_includes_default
4000 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4007 rm -f conftest.$ac_objext
4008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4009 (eval $ac_compile) 2>conftest.er1
4011 grep -v '^ *+' conftest.er1 >conftest.err
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } &&
4016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; } &&
4022 { ac_try='test -s conftest.$ac_objext'
4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4028 ac_lo=$ac_mid; break
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.$ac_ext >&5
4033 ac_hi=`expr '(' $ac_mid ')' - 1`
4034 if test $ac_mid -le $ac_hi; then
4038 ac_mid=`expr 2 '*' $ac_mid`
4040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4051 # Binary search between lo and hi bounds.
4052 while test "x$ac_lo" != "x$ac_hi"; do
4053 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4054 cat >conftest.$ac_ext <<_ACEOF
4057 cat confdefs.h >>conftest.$ac_ext
4058 cat >>conftest.$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4060 $ac_includes_default
4064 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4071 rm -f conftest.$ac_objext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4073 (eval $ac_compile) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; } &&
4086 { ac_try='test -s conftest.$ac_objext'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; }; then
4094 echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.$ac_ext >&5
4097 ac_lo=`expr '(' $ac_mid ')' + 1`
4099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4102 ?*) ac_cv_sizeof_int=$ac_lo;;
4103 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4104 See \`config.log' for more details." >&5
4105 echo "$as_me: error: cannot compute sizeof (int), 77
4106 See \`config.log' for more details." >&2;}
4107 { (exit 1); exit 1; }; } ;;
4110 if test "$cross_compiling" = yes; then
4111 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4112 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4113 { (exit 1); exit 1; }; }
4115 cat >conftest.$ac_ext <<_ACEOF
4118 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4121 $ac_includes_default
4122 long longval () { return (long) (sizeof (int)); }
4123 unsigned long ulongval () { return (long) (sizeof (int)); }
4130 FILE *f = fopen ("conftest.val", "w");
4133 if (((long) (sizeof (int))) < 0)
4135 long i = longval ();
4136 if (i != ((long) (sizeof (int))))
4138 fprintf (f, "%ld\n", i);
4142 unsigned long i = ulongval ();
4143 if (i != ((long) (sizeof (int))))
4145 fprintf (f, "%lu\n", i);
4147 exit (ferror (f) || fclose (f) != 0);
4153 rm -f conftest$ac_exeext
4154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4155 (eval $ac_link) 2>&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; }; then
4164 ac_cv_sizeof_int=`cat conftest.val`
4166 echo "$as_me: program exited with status $ac_status" >&5
4167 echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4172 See \`config.log' for more details." >&5
4173 echo "$as_me: error: cannot compute sizeof (int), 77
4174 See \`config.log' for more details." >&2;}
4175 { (exit 1); exit 1; }; }
4177 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4186 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4187 cat >>confdefs.h <<_ACEOF
4188 #define SIZEOF_INT $ac_cv_sizeof_int
4192 echo "$as_me:$LINENO: checking for long" >&5
4193 echo $ECHO_N "checking for long... $ECHO_C" >&6
4194 if test "${ac_cv_type_long+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 cat >conftest.$ac_ext <<_ACEOF
4200 cat confdefs.h >>conftest.$ac_ext
4201 cat >>conftest.$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4203 $ac_includes_default
4215 rm -f conftest.$ac_objext
4216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4217 (eval $ac_compile) 2>conftest.er1
4219 grep -v '^ *+' conftest.er1 >conftest.err
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } &&
4224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; } &&
4230 { ac_try='test -s conftest.$ac_objext'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4238 echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.$ac_ext >&5
4243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4245 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4246 echo "${ECHO_T}$ac_cv_type_long" >&6
4248 echo "$as_me:$LINENO: checking size of long" >&5
4249 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4250 if test "${ac_cv_sizeof_long+set}" = set; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4253 if test "$ac_cv_type_long" = yes; then
4254 # The cast to unsigned long works around a bug in the HP C Compiler
4255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4257 # This bug is HP SR number 8606223364.
4258 if test "$cross_compiling" = yes; then
4259 # Depending upon the size, compute the lo and hi bounds.
4260 cat >conftest.$ac_ext <<_ACEOF
4263 cat confdefs.h >>conftest.$ac_ext
4264 cat >>conftest.$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4266 $ac_includes_default
4270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4277 rm -f conftest.$ac_objext
4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>conftest.er1
4281 grep -v '^ *+' conftest.er1 >conftest.err
4283 cat conftest.err >&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } &&
4286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); }; } &&
4292 { ac_try='test -s conftest.$ac_objext'
4293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); }; }; then
4300 cat >conftest.$ac_ext <<_ACEOF
4303 cat confdefs.h >>conftest.$ac_ext
4304 cat >>conftest.$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4306 $ac_includes_default
4310 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4317 rm -f conftest.$ac_objext
4318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4319 (eval $ac_compile) 2>conftest.er1
4321 grep -v '^ *+' conftest.er1 >conftest.err
4323 cat conftest.err >&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); } &&
4326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; } &&
4332 { ac_try='test -s conftest.$ac_objext'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 ac_hi=$ac_mid; break
4340 echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.$ac_ext >&5
4343 ac_lo=`expr $ac_mid + 1`
4344 if test $ac_lo -le $ac_mid; then
4348 ac_mid=`expr 2 '*' $ac_mid + 1`
4350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4356 cat >conftest.$ac_ext <<_ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4362 $ac_includes_default
4366 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4373 rm -f conftest.$ac_objext
4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4375 (eval $ac_compile) 2>conftest.er1
4377 grep -v '^ *+' conftest.er1 >conftest.err
4379 cat conftest.err >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } &&
4382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; } &&
4388 { ac_try='test -s conftest.$ac_objext'
4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4396 cat >conftest.$ac_ext <<_ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 $ac_includes_default
4406 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4413 rm -f conftest.$ac_objext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>conftest.er1
4417 grep -v '^ *+' conftest.er1 >conftest.err
4419 cat conftest.err >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try='test -s conftest.$ac_objext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_lo=$ac_mid; break
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_hi=`expr '(' $ac_mid ')' - 1`
4440 if test $ac_mid -le $ac_hi; then
4444 ac_mid=`expr 2 '*' $ac_mid`
4446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4449 echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.$ac_ext >&5
4454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4457 # Binary search between lo and hi bounds.
4458 while test "x$ac_lo" != "x$ac_hi"; do
4459 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4460 cat >conftest.$ac_ext <<_ACEOF
4463 cat confdefs.h >>conftest.$ac_ext
4464 cat >>conftest.$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4466 $ac_includes_default
4470 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4477 rm -f conftest.$ac_objext
4478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4479 (eval $ac_compile) 2>conftest.er1
4481 grep -v '^ *+' conftest.er1 >conftest.err
4483 cat conftest.err >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } &&
4486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; } &&
4492 { ac_try='test -s conftest.$ac_objext'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; }; then
4500 echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.$ac_ext >&5
4503 ac_lo=`expr '(' $ac_mid ')' + 1`
4505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4508 ?*) ac_cv_sizeof_long=$ac_lo;;
4509 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4510 See \`config.log' for more details." >&5
4511 echo "$as_me: error: cannot compute sizeof (long), 77
4512 See \`config.log' for more details." >&2;}
4513 { (exit 1); exit 1; }; } ;;
4516 if test "$cross_compiling" = yes; then
4517 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4518 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4519 { (exit 1); exit 1; }; }
4521 cat >conftest.$ac_ext <<_ACEOF
4524 cat confdefs.h >>conftest.$ac_ext
4525 cat >>conftest.$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 $ac_includes_default
4528 long longval () { return (long) (sizeof (long)); }
4529 unsigned long ulongval () { return (long) (sizeof (long)); }
4536 FILE *f = fopen ("conftest.val", "w");
4539 if (((long) (sizeof (long))) < 0)
4541 long i = longval ();
4542 if (i != ((long) (sizeof (long))))
4544 fprintf (f, "%ld\n", i);
4548 unsigned long i = ulongval ();
4549 if (i != ((long) (sizeof (long))))
4551 fprintf (f, "%lu\n", i);
4553 exit (ferror (f) || fclose (f) != 0);
4559 rm -f conftest$ac_exeext
4560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4561 (eval $ac_link) 2>&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 ac_cv_sizeof_long=`cat conftest.val`
4572 echo "$as_me: program exited with status $ac_status" >&5
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4578 See \`config.log' for more details." >&5
4579 echo "$as_me: error: cannot compute sizeof (long), 77
4580 See \`config.log' for more details." >&2;}
4581 { (exit 1); exit 1; }; }
4583 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4591 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4592 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4593 cat >>confdefs.h <<_ACEOF
4594 #define SIZEOF_LONG $ac_cv_sizeof_long
4598 echo "$as_me:$LINENO: checking for long long" >&5
4599 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4600 if test "${ac_cv_type_long_long+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 cat >conftest.$ac_ext <<_ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4609 $ac_includes_default
4613 if ((long long *) 0)
4615 if (sizeof (long long))
4621 rm -f conftest.$ac_objext
4622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4623 (eval $ac_compile) 2>conftest.er1
4625 grep -v '^ *+' conftest.er1 >conftest.err
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } &&
4630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 ac_cv_type_long_long=yes
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4647 ac_cv_type_long_long=no
4649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4651 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4652 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4654 echo "$as_me:$LINENO: checking size of long long" >&5
4655 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4656 if test "${ac_cv_sizeof_long_long+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 if test "$ac_cv_type_long_long" = yes; then
4660 # The cast to unsigned long works around a bug in the HP C Compiler
4661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4663 # This bug is HP SR number 8606223364.
4664 if test "$cross_compiling" = yes; then
4665 # Depending upon the size, compute the lo and hi bounds.
4666 cat >conftest.$ac_ext <<_ACEOF
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4672 $ac_includes_default
4676 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4683 rm -f conftest.$ac_objext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685 (eval $ac_compile) 2>conftest.er1
4687 grep -v '^ *+' conftest.er1 >conftest.err
4689 cat conftest.err >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } &&
4692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try='test -s conftest.$ac_objext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4706 cat >conftest.$ac_ext <<_ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4712 $ac_includes_default
4716 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4723 rm -f conftest.$ac_objext
4724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725 (eval $ac_compile) 2>conftest.er1
4727 grep -v '^ *+' conftest.er1 >conftest.err
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; } &&
4738 { ac_try='test -s conftest.$ac_objext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 ac_hi=$ac_mid; break
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_lo=`expr $ac_mid + 1`
4750 if test $ac_lo -le $ac_mid; then
4754 ac_mid=`expr 2 '*' $ac_mid + 1`
4756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 cat >conftest.$ac_ext <<_ACEOF
4765 cat confdefs.h >>conftest.$ac_ext
4766 cat >>conftest.$ac_ext <<_ACEOF
4767 /* end confdefs.h. */
4768 $ac_includes_default
4772 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4779 rm -f conftest.$ac_objext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>conftest.er1
4783 grep -v '^ *+' conftest.er1 >conftest.err
4785 cat conftest.err >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; } &&
4794 { ac_try='test -s conftest.$ac_objext'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then
4802 cat >conftest.$ac_ext <<_ACEOF
4805 cat confdefs.h >>conftest.$ac_ext
4806 cat >>conftest.$ac_ext <<_ACEOF
4807 /* end confdefs.h. */
4808 $ac_includes_default
4812 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4819 rm -f conftest.$ac_objext
4820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4821 (eval $ac_compile) 2>conftest.er1
4823 grep -v '^ *+' conftest.er1 >conftest.err
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } &&
4828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; } &&
4834 { ac_try='test -s conftest.$ac_objext'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; }; then
4840 ac_lo=$ac_mid; break
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_hi=`expr '(' $ac_mid ')' - 1`
4846 if test $ac_mid -le $ac_hi; then
4850 ac_mid=`expr 2 '*' $ac_mid`
4852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4863 # Binary search between lo and hi bounds.
4864 while test "x$ac_lo" != "x$ac_hi"; do
4865 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 $ac_includes_default
4876 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4883 rm -f conftest.$ac_objext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885 (eval $ac_compile) 2>conftest.er1
4887 grep -v '^ *+' conftest.er1 >conftest.err
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5
4909 ac_lo=`expr '(' $ac_mid ')' + 1`
4911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4914 ?*) ac_cv_sizeof_long_long=$ac_lo;;
4915 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4916 See \`config.log' for more details." >&5
4917 echo "$as_me: error: cannot compute sizeof (long long), 77
4918 See \`config.log' for more details." >&2;}
4919 { (exit 1); exit 1; }; } ;;
4922 if test "$cross_compiling" = yes; then
4923 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4924 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4925 { (exit 1); exit 1; }; }
4927 cat >conftest.$ac_ext <<_ACEOF
4930 cat confdefs.h >>conftest.$ac_ext
4931 cat >>conftest.$ac_ext <<_ACEOF
4932 /* end confdefs.h. */
4933 $ac_includes_default
4934 long longval () { return (long) (sizeof (long long)); }
4935 unsigned long ulongval () { return (long) (sizeof (long long)); }
4942 FILE *f = fopen ("conftest.val", "w");
4945 if (((long) (sizeof (long long))) < 0)
4947 long i = longval ();
4948 if (i != ((long) (sizeof (long long))))
4950 fprintf (f, "%ld\n", i);
4954 unsigned long i = ulongval ();
4955 if (i != ((long) (sizeof (long long))))
4957 fprintf (f, "%lu\n", i);
4959 exit (ferror (f) || fclose (f) != 0);
4965 rm -f conftest$ac_exeext
4966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4967 (eval $ac_link) 2>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4976 ac_cv_sizeof_long_long=`cat conftest.val`
4978 echo "$as_me: program exited with status $ac_status" >&5
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4983 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4984 See \`config.log' for more details." >&5
4985 echo "$as_me: error: cannot compute sizeof (long long), 77
4986 See \`config.log' for more details." >&2;}
4987 { (exit 1); exit 1; }; }
4989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4994 ac_cv_sizeof_long_long=0
4997 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4998 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4999 cat >>confdefs.h <<_ACEOF
5000 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5011 cat >>confdefs.h <<_ACEOF
5015 CFLAGS="$CFLAGS -D_BSD_SOURCE"
5018 echo "$as_me:$LINENO: checking which memory bulk indexing mode to use" >&5
5019 echo $ECHO_N "checking which memory bulk indexing mode to use... $ECHO_C" >&6
5021 # Check whether --with-membulk or --without-membulk was given.
5022 if test "${with_membulk+set}" = set; then
5023 withval="$with_membulk"
5040 { { echo "$as_me:$LINENO: error: Invalid argument: \"$mem\"" >&5
5041 echo "$as_me: error: Invalid argument: \"$mem\"" >&2;}
5042 { (exit 1); exit 1; }; }
5046 echo "$as_me:$LINENO: result: \"$mem\"" >&5
5047 echo "${ECHO_T}\"$mem\"" >&6
5049 cat >>confdefs.h <<_ACEOF
5050 #define MEM_BITS $mem_bits
5055 echo "$as_me:$LINENO: checking which hash type and size to use" >&5
5056 echo $ECHO_N "checking which hash type and size to use... $ECHO_C" >&6
5058 # Check whether --with-hash or --without-hash was given.
5059 if test "${with_hash+set}" = set; then
5060 withval="$with_hash"
5066 hash_type=`echo "$hash"|cut -b -3`
5067 hash_bits=`echo "$hash"|cut -b 4-`
5069 if test "$hash_type" = "xor"; then
5071 cat >>confdefs.h <<_ACEOF
5072 #define HASH_TYPE_XOR
5075 if test "$hash_bits" != "8" -a "$hash_bits" != "16"; then
5076 { { echo "$as_me:$LINENO: error: Invalid argument: \"$withval\"" >&5
5077 echo "$as_me: error: Invalid argument: \"$withval\"" >&2;}
5078 { (exit 1); exit 1; }; }
5081 if test "$hash" != "crc16"; then
5082 { { echo "$as_me:$LINENO: error: Invalid argument: \"$hash\"" >&5
5083 echo "$as_me: error: Invalid argument: \"$hash\"" >&2;}
5084 { (exit 1); exit 1; }; }
5087 cat >>confdefs.h <<_ACEOF
5088 #define HASH_TYPE_CRC
5094 cat >>confdefs.h <<_ACEOF
5095 #define HASH_BITS $hash_bits
5098 echo "$as_me:$LINENO: result: \"$hash\"" >&5
5099 echo "${ECHO_T}\"$hash\"" >&6
5102 echo "$as_me:$LINENO: checking whether to enable uptime trick" >&5
5103 echo $ECHO_N "checking whether to enable uptime trick... $ECHO_C" >&6
5104 # Check whether --enable-uptime_trick or --disable-uptime_trick was given.
5105 if test "${enable_uptime_trick+set}" = set; then
5106 enableval="$enable_uptime_trick"
5107 uptime_trick="$enableval"
5111 case "$uptime_trick" in
5113 echo "$as_me:$LINENO: result: yes" >&5
5114 echo "${ECHO_T}yes" >&6
5116 cat >>confdefs.h <<_ACEOF
5117 #define UPTIME_TRICK
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5128 echo "$as_me:$LINENO: checking whether to enable icmp trick" >&5
5129 echo $ECHO_N "checking whether to enable icmp trick... $ECHO_C" >&6
5130 # Check whether --enable-icmp_trick or --disable-icmp_trick was given.
5131 if test "${enable_icmp_trick+set}" = set; then
5132 enableval="$enable_icmp_trick"
5133 icmp_trick="$enableval"
5137 case "$icmp_trick" in
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 cat >>confdefs.h <<_ACEOF
5148 echo "$as_me:$LINENO: result: yes: cisco" >&5
5149 echo "${ECHO_T}yes: cisco" >&6
5151 cat >>confdefs.h <<_ACEOF
5152 #define UPTIME_TRICK_CISCO
5157 echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5163 echo "$as_me:$LINENO: checking whether to enable debugging" >&5
5164 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6
5165 # Check whether --enable-debug or --disable-debug was given.
5166 if test "${enable_debug+set}" = set; then
5167 enableval="$enable_debug"
5174 echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6
5179 echo "$as_me:$LINENO: result: all" >&5
5180 echo "${ECHO_T}all" >&6
5184 echo "$as_me:$LINENO: result: custom: $debug" >&5
5185 echo "${ECHO_T}custom: $debug" >&6
5187 debug=`echo $debug|tr , " "`
5189 debug_val="$debug_val | DEBUG_$i"
5194 cat >>confdefs.h <<_ACEOF
5195 #define DEBUG ($debug_val)
5200 echo "$as_me:$LINENO: checking whether to enable runtime messages" >&5
5201 echo $ECHO_N "checking whether to enable runtime messages... $ECHO_C" >&6
5202 # Check whether --enable-messages or --disable-messages was given.
5203 if test "${enable_messages+set}" = set; then
5204 enableval="$enable_messages"
5205 messages="$enableval"
5211 echo "$as_me:$LINENO: result: yes" >&5
5212 echo "${ECHO_T}yes" >&6
5214 cat >>confdefs.h <<_ACEOF
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5226 echo "$as_me:$LINENO: checking directory to store pidfiles" >&5
5227 echo $ECHO_N "checking directory to store pidfiles... $ECHO_C" >&6
5229 # Check whether --with-piddir or --without-piddir was given.
5230 if test "${with_piddir+set}" = set; then
5231 withval="$with_piddir"
5237 cat >>confdefs.h <<_ACEOF
5238 #define PID_DIR "$piddir"
5241 echo "$as_me:$LINENO: result: \"$piddir\"" >&5
5242 echo "${ECHO_T}\"$piddir\"" >&6
5245 CFLAGS="$CFLAGS -D_REENTRANT"
5246 CFLAGS="$CFLAGS -DWALL -W -Wall"
5250 DATE=`date +%Y-%m-%d`
5253 ac_config_files="$ac_config_files Makefile src/Makefile src/libipulog/Makefile"
5256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5257 # Let make expand exec_prefix.
5258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5262 # trailing colons and then remove the whole line if VPATH becomes empty
5263 # (actually we leave an empty line to preserve line numbers).
5264 if test "x$srcdir" = x.; then
5265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5266 s/:*\$(srcdir):*/:/;
5267 s/:*\${srcdir}:*/:/;
5269 s/^\([^=]*=[ ]*\):*/\1/;
5275 DEFS=-DHAVE_CONFIG_H
5279 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5280 # 1. Remove the extension, and $U if already installed.
5281 ac_i=`echo "$ac_i" |
5282 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5284 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5285 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5289 LTLIBOBJS=$ac_ltlibobjs
5292 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5293 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5294 Usually this means the macro was only invoked conditionally." >&5
5295 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5296 Usually this means the macro was only invoked conditionally." >&2;}
5297 { (exit 1); exit 1; }; }
5299 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5300 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5301 Usually this means the macro was only invoked conditionally." >&5
5302 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5303 Usually this means the macro was only invoked conditionally." >&2;}
5304 { (exit 1); exit 1; }; }
5307 : ${CONFIG_STATUS=./config.status}
5308 ac_clean_files_save=$ac_clean_files
5309 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5310 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5311 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5312 cat >$CONFIG_STATUS <<_ACEOF
5314 # Generated by $as_me.
5315 # Run this file to recreate the current configuration.
5316 # Compiler output produced by configure, useful for debugging
5317 # configure, is in config.log if it exists.
5322 SHELL=\${CONFIG_SHELL-$SHELL}
5325 cat >>$CONFIG_STATUS <<\_ACEOF
5326 ## --------------------- ##
5327 ## M4sh Initialization. ##
5328 ## --------------------- ##
5330 # Be Bourne compatible
5331 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5334 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5335 # is contrary to our usage. Disable this feature.
5336 alias -g '${1+"$@"}'='"$@"'
5337 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5340 DUALCASE=1; export DUALCASE # for MKS sh
5342 # Support unset when possible.
5343 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5350 # Work around bugs in pre-3.0 UWIN ksh.
5351 $as_unset ENV MAIL MAILPATH
5358 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5359 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5360 LC_TELEPHONE LC_TIME
5362 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5363 eval $as_var=C; export $as_var
5369 # Required to use basename.
5370 if expr a : '\(a\)' >/dev/null 2>&1; then
5376 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5377 as_basename=basename
5383 # Name of the executable.
5384 as_me=`$as_basename "$0" ||
5385 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5386 X"$0" : 'X\(//\)$' \| \
5387 X"$0" : 'X\(/\)$' \| \
5388 . : '\(.\)' 2>/dev/null ||
5390 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5391 /^X\/\(\/\/\)$/{ s//\1/; q; }
5392 /^X\/\(\/\).*/{ s//\1/; q; }
5396 # PATH needs CR, and LINENO needs CR and PATH.
5397 # Avoid depending upon Character Ranges.
5398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5401 as_cr_digits='0123456789'
5402 as_cr_alnum=$as_cr_Letters$as_cr_digits
5404 # The user is always right.
5405 if test "${PATH_SEPARATOR+set}" != set; then
5406 echo "#! /bin/sh" >conf$$.sh
5407 echo "exit 0" >>conf$$.sh
5409 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5420 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5421 test "x$as_lineno_1" != "x$as_lineno_2" &&
5422 test "x$as_lineno_3" = "x$as_lineno_2" || {
5423 # Find who we are. Look in the path if we contain no path at all
5426 *[\\/]* ) as_myself=$0 ;;
5427 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 test -z "$as_dir" && as_dir=.
5432 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5437 # We did not find ourselves, most probably we were run as `sh COMMAND'
5438 # in which case we are not to be found in the path.
5439 if test "x$as_myself" = x; then
5442 if test ! -f "$as_myself"; then
5443 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5444 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5445 { (exit 1); exit 1; }; }
5447 case $CONFIG_SHELL in
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5453 test -z "$as_dir" && as_dir=.
5454 for as_base in sh bash ksh sh5; do
5457 if ("$as_dir/$as_base" -c '
5460 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5461 test "x$as_lineno_1" != "x$as_lineno_2" &&
5462 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5463 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5464 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5465 CONFIG_SHELL=$as_dir/$as_base
5467 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5475 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5476 # uniformly replaced by the line number. The first 'sed' inserts a
5477 # line-number line before each line; the second 'sed' does the real
5478 # work. The second script uses 'N' to pair each line-number line
5479 # with the numbered line, and appends trailing '-' during
5480 # substitution so that $LINENO is not a special case at line end.
5481 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5482 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5483 sed '=' <$as_myself |
5488 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5491 s,^['$as_cr_digits']*\n,,
5493 chmod +x $as_me.lineno ||
5494 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5495 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5496 { (exit 1); exit 1; }; }
5498 # Don't try to exec as it changes $[0], causing all sort of problems
5499 # (the dirname of $[0] is not the place where we might find the
5500 # original and so on. Autoconf is especially sensible to this).
5502 # Exit status is that of the last command.
5507 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5508 *c*,-n*) ECHO_N= ECHO_C='
5510 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5511 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5514 if expr a : '\(a\)' >/dev/null 2>&1; then
5520 rm -f conf$$ conf$$.exe conf$$.file
5522 if ln -s conf$$.file conf$$ 2>/dev/null; then
5523 # We could just check for DJGPP; but this test a) works b) is more generic
5524 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5525 if test -f conf$$.exe; then
5526 # Don't use ln at all; we don't have any links
5531 elif ln conf$$.file conf$$ 2>/dev/null; then
5536 rm -f conf$$ conf$$.exe conf$$.file
5538 if mkdir -p . 2>/dev/null; then
5541 test -d ./-p && rmdir ./-p
5545 as_executable_p="test -f"
5547 # Sed expression to map a string onto a valid CPP name.
5548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5550 # Sed expression to map a string onto a valid variable name.
5551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5555 # We need space, tab and new line, in precisely that order.
5565 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5566 # report actual input values of CONFIG_FILES etc. instead of their
5567 # values after options handling. Logging --version etc. is OK.
5571 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5572 ## Running $as_me. ##
5577 This file was extended by $as_me, which was
5578 generated by GNU Autoconf 2.59. Invocation command line was
5580 CONFIG_FILES = $CONFIG_FILES
5581 CONFIG_HEADERS = $CONFIG_HEADERS
5582 CONFIG_LINKS = $CONFIG_LINKS
5583 CONFIG_COMMANDS = $CONFIG_COMMANDS
5587 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5591 # Files that config.status was made for.
5592 if test -n "$ac_config_files"; then
5593 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5596 if test -n "$ac_config_headers"; then
5597 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5600 if test -n "$ac_config_links"; then
5601 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5604 if test -n "$ac_config_commands"; then
5605 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5608 cat >>$CONFIG_STATUS <<\_ACEOF
5611 \`$as_me' instantiates files from templates according to the
5612 current configuration.
5614 Usage: $0 [OPTIONS] [FILE]...
5616 -h, --help print this help, then exit
5617 -V, --version print version number, then exit
5618 -q, --quiet do not print progress messages
5619 -d, --debug don't remove temporary files
5620 --recheck update $as_me by reconfiguring in the same conditions
5621 --file=FILE[:TEMPLATE]
5622 instantiate the configuration file FILE
5623 --header=FILE[:TEMPLATE]
5624 instantiate the configuration header FILE
5626 Configuration files:
5629 Configuration headers:
5632 Configuration commands:
5635 Report bugs to <bug-autoconf@gnu.org>."
5638 cat >>$CONFIG_STATUS <<_ACEOF
5641 configured by $0, generated by GNU Autoconf 2.59,
5642 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5644 Copyright (C) 2003 Free Software Foundation, Inc.
5645 This config.status script is free software; the Free Software Foundation
5646 gives unlimited permission to copy, distribute and modify it."
5651 cat >>$CONFIG_STATUS <<\_ACEOF
5652 # If no file are specified by the user, then we need to provide default
5653 # value. By we need to know if files were specified by the user.
5659 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5660 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5668 *) # This is not an option, so the user has probably given explicit
5671 ac_need_defaults=false;;
5675 # Handling of the options.
5677 cat >>$CONFIG_STATUS <<\_ACEOF
5678 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5680 --version | --vers* | -V )
5681 echo "$ac_cs_version"; exit 0 ;;
5683 # Conflict between --help and --header
5684 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5685 Try \`$0 --help' for more information." >&5
5686 echo "$as_me: error: ambiguous option: $1
5687 Try \`$0 --help' for more information." >&2;}
5688 { (exit 1); exit 1; }; };;
5689 --help | --hel | -h )
5690 echo "$ac_cs_usage"; exit 0 ;;
5691 --debug | --d* | -d )
5693 --file | --fil | --fi | --f )
5695 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5696 ac_need_defaults=false;;
5697 --header | --heade | --head | --hea )
5699 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5700 ac_need_defaults=false;;
5701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5702 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5706 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5707 Try \`$0 --help' for more information." >&5
5708 echo "$as_me: error: unrecognized option: $1
5709 Try \`$0 --help' for more information." >&2;}
5710 { (exit 1); exit 1; }; } ;;
5712 *) ac_config_targets="$ac_config_targets $1" ;;
5718 ac_configure_extra_args=
5720 if $ac_cs_silent; then
5722 ac_configure_extra_args="$ac_configure_extra_args --silent"
5726 cat >>$CONFIG_STATUS <<_ACEOF
5727 if \$ac_cs_recheck; then
5728 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5729 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5734 cat >>$CONFIG_STATUS <<_ACEOF
5736 # INIT-COMMANDS section.
5739 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5745 cat >>$CONFIG_STATUS <<\_ACEOF
5746 for ac_config_target in $ac_config_targets
5748 case "$ac_config_target" in
5749 # Handling of arguments.
5750 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5751 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5752 "src/libipulog/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libipulog/Makefile" ;;
5753 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5754 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5755 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5756 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5757 { (exit 1); exit 1; }; };;
5761 # If the user did not use the arguments to specify the items to instantiate,
5762 # then the envvar interface is used. Set only those that are not.
5763 # We use the long form for the default assignment because of an extremely
5764 # bizarre bug on SunOS 4.1.3.
5765 if $ac_need_defaults; then
5766 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5767 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5768 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5771 # Have a temporary directory for convenience. Make it in the build tree
5772 # simply because there is no reason to put it here, and in addition,
5773 # creating and moving files from /tmp can sometimes cause problems.
5774 # Create a temporary directory, and hook for its removal unless debugging.
5777 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5778 trap '{ (exit 1); exit 1; }' 1 2 13 15
5781 # Create a (secure) tmp directory for tmp files.
5784 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5785 test -n "$tmp" && test -d "$tmp"
5788 tmp=./confstat$$-$RANDOM
5789 (umask 077 && mkdir $tmp)
5792 echo "$me: cannot create a temporary directory in ." >&2
5793 { (exit 1); exit 1; }
5798 cat >>$CONFIG_STATUS <<_ACEOF
5801 # CONFIG_FILES section.
5804 # No need to generate the scripts if there are no CONFIG_FILES.
5805 # This happens for instance when ./config.status config.h
5806 if test -n "\$CONFIG_FILES"; then
5807 # Protect against being on the right side of a sed subst in config.status.
5808 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5809 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5810 s,@SHELL@,$SHELL,;t t
5811 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5812 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5813 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5814 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5815 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5816 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5817 s,@exec_prefix@,$exec_prefix,;t t
5818 s,@prefix@,$prefix,;t t
5819 s,@program_transform_name@,$program_transform_name,;t t
5820 s,@bindir@,$bindir,;t t
5821 s,@sbindir@,$sbindir,;t t
5822 s,@libexecdir@,$libexecdir,;t t
5823 s,@datadir@,$datadir,;t t
5824 s,@sysconfdir@,$sysconfdir,;t t
5825 s,@sharedstatedir@,$sharedstatedir,;t t
5826 s,@localstatedir@,$localstatedir,;t t
5827 s,@libdir@,$libdir,;t t
5828 s,@includedir@,$includedir,;t t
5829 s,@oldincludedir@,$oldincludedir,;t t
5830 s,@infodir@,$infodir,;t t
5831 s,@mandir@,$mandir,;t t
5832 s,@build_alias@,$build_alias,;t t
5833 s,@host_alias@,$host_alias,;t t
5834 s,@target_alias@,$target_alias,;t t
5836 s,@ECHO_C@,$ECHO_C,;t t
5837 s,@ECHO_N@,$ECHO_N,;t t
5838 s,@ECHO_T@,$ECHO_T,;t t
5840 s,@build@,$build,;t t
5841 s,@build_cpu@,$build_cpu,;t t
5842 s,@build_vendor@,$build_vendor,;t t
5843 s,@build_os@,$build_os,;t t
5845 s,@host_cpu@,$host_cpu,;t t
5846 s,@host_vendor@,$host_vendor,;t t
5847 s,@host_os@,$host_os,;t t
5848 s,@target@,$target,;t t
5849 s,@target_cpu@,$target_cpu,;t t
5850 s,@target_vendor@,$target_vendor,;t t
5851 s,@target_os@,$target_os,;t t
5852 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5853 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5854 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5855 s,@CYGPATH_W@,$CYGPATH_W,;t t
5856 s,@PACKAGE@,$PACKAGE,;t t
5857 s,@VERSION@,$VERSION,;t t
5858 s,@ACLOCAL@,$ACLOCAL,;t t
5859 s,@AUTOCONF@,$AUTOCONF,;t t
5860 s,@AUTOMAKE@,$AUTOMAKE,;t t
5861 s,@AUTOHEADER@,$AUTOHEADER,;t t
5862 s,@MAKEINFO@,$MAKEINFO,;t t
5863 s,@install_sh@,$install_sh,;t t
5864 s,@STRIP@,$STRIP,;t t
5865 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5866 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5867 s,@mkdir_p@,$mkdir_p,;t t
5869 s,@SET_MAKE@,$SET_MAKE,;t t
5870 s,@am__leading_dot@,$am__leading_dot,;t t
5871 s,@AMTAR@,$AMTAR,;t t
5872 s,@am__tar@,$am__tar,;t t
5873 s,@am__untar@,$am__untar,;t t
5875 s,@CFLAGS@,$CFLAGS,;t t
5876 s,@LDFLAGS@,$LDFLAGS,;t t
5877 s,@CPPFLAGS@,$CPPFLAGS,;t t
5878 s,@ac_ct_CC@,$ac_ct_CC,;t t
5879 s,@EXEEXT@,$EXEEXT,;t t
5880 s,@OBJEXT@,$OBJEXT,;t t
5881 s,@DEPDIR@,$DEPDIR,;t t
5882 s,@am__include@,$am__include,;t t
5883 s,@am__quote@,$am__quote,;t t
5884 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5885 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5886 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5887 s,@CCDEPMODE@,$CCDEPMODE,;t t
5888 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5889 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5890 s,@RANLIB@,$RANLIB,;t t
5891 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5893 s,@EGREP@,$EGREP,;t t
5895 s,@LIBOBJS@,$LIBOBJS,;t t
5896 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5901 cat >>$CONFIG_STATUS <<\_ACEOF
5902 # Split the substitutions into bite-sized pieces for seds with
5903 # small command number limits, like on Digital OSF/1 and HP-UX.
5905 ac_sed_frag=1 # Number of current file.
5906 ac_beg=1 # First line for current file.
5907 ac_end=$ac_max_sed_lines # Line after last line for current file.
5910 while $ac_more_lines; do
5911 if test $ac_beg -gt 1; then
5912 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5914 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5916 if test ! -s $tmp/subs.frag; then
5919 # The purpose of the label and of the branching condition is to
5920 # speed up the sed processing (if there are no `@' at all, there
5921 # is no need to browse any of the substitutions).
5922 # These are the two extra sed commands mentioned above.
5924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5925 if test -z "$ac_sed_cmds"; then
5926 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5928 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5930 ac_sed_frag=`expr $ac_sed_frag + 1`
5932 ac_end=`expr $ac_end + $ac_max_sed_lines`
5935 if test -z "$ac_sed_cmds"; then
5938 fi # test -n "$CONFIG_FILES"
5941 cat >>$CONFIG_STATUS <<\_ACEOF
5942 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5943 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5945 - | *:- | *:-:* ) # input from stdin
5947 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5948 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5949 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5950 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5951 * ) ac_file_in=$ac_file.in ;;
5954 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5955 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5956 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5957 X"$ac_file" : 'X\(//\)[^/]' \| \
5958 X"$ac_file" : 'X\(//\)$' \| \
5959 X"$ac_file" : 'X\(/\)' \| \
5960 . : '\(.\)' 2>/dev/null ||
5962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5964 /^X\(\/\/\)$/{ s//\1/; q; }
5965 /^X\(\/\).*/{ s//\1/; q; }
5967 { if $as_mkdir_p; then
5972 while test ! -d "$as_dir"; do
5973 as_dirs="$as_dir $as_dirs"
5974 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5976 X"$as_dir" : 'X\(//\)[^/]' \| \
5977 X"$as_dir" : 'X\(//\)$' \| \
5978 X"$as_dir" : 'X\(/\)' \| \
5979 . : '\(.\)' 2>/dev/null ||
5981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5982 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5983 /^X\(\/\/\)$/{ s//\1/; q; }
5984 /^X\(\/\).*/{ s//\1/; q; }
5987 test ! -n "$as_dirs" || mkdir $as_dirs
5988 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5989 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5990 { (exit 1); exit 1; }; }; }
5994 if test "$ac_dir" != .; then
5995 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5996 # A "../" for each directory in $ac_dir_suffix.
5997 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5999 ac_dir_suffix= ac_top_builddir=
6003 .) # No --srcdir option. We are building in place.
6005 if test -z "$ac_top_builddir"; then
6008 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6010 [\\/]* | ?:[\\/]* ) # Absolute path.
6011 ac_srcdir=$srcdir$ac_dir_suffix;
6012 ac_top_srcdir=$srcdir ;;
6014 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6015 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6018 # Do not use `cd foo && pwd` to compute absolute paths, because
6019 # the directories may not exist.
6021 .) ac_abs_builddir="$ac_dir";;
6024 .) ac_abs_builddir=`pwd`;;
6025 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6026 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6029 case $ac_abs_builddir in
6030 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6032 case ${ac_top_builddir}. in
6033 .) ac_abs_top_builddir=$ac_abs_builddir;;
6034 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6035 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6038 case $ac_abs_builddir in
6039 .) ac_abs_srcdir=$ac_srcdir;;
6042 .) ac_abs_srcdir=$ac_abs_builddir;;
6043 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6044 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6047 case $ac_abs_builddir in
6048 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6050 case $ac_top_srcdir in
6051 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6052 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6053 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6059 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6060 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6063 # Let's still pretend it is `configure' which instantiates (i.e., don't
6064 # use $as_me), people would be surprised to read:
6065 # /* config.h. Generated by config.status. */
6066 if test x"$ac_file" = x-; then
6069 configure_input="$ac_file. "
6071 configure_input=$configure_input"Generated from `echo $ac_file_in |
6072 sed 's,.*/,,'` by configure."
6074 # First look for the input files in the build tree, otherwise in the
6076 ac_file_inputs=`IFS=:
6077 for f in $ac_file_in; do
6079 -) echo $tmp/stdin ;;
6081 # Absolute (can't be DOS-style, as IFS=:)
6082 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6083 echo "$as_me: error: cannot find input file: $f" >&2;}
6084 { (exit 1); exit 1; }; }
6087 if test -f "$f"; then
6090 elif test -f "$srcdir/$f"; then
6095 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6096 echo "$as_me: error: cannot find input file: $f" >&2;}
6097 { (exit 1); exit 1; }; }
6100 done` || { (exit 1); exit 1; }
6102 if test x"$ac_file" != x-; then
6103 { echo "$as_me:$LINENO: creating $ac_file" >&5
6104 echo "$as_me: creating $ac_file" >&6;}
6108 cat >>$CONFIG_STATUS <<_ACEOF
6112 cat >>$CONFIG_STATUS <<\_ACEOF
6114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6115 s,@configure_input@,$configure_input,;t t
6116 s,@srcdir@,$ac_srcdir,;t t
6117 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6118 s,@top_srcdir@,$ac_top_srcdir,;t t
6119 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6120 s,@builddir@,$ac_builddir,;t t
6121 s,@abs_builddir@,$ac_abs_builddir,;t t
6122 s,@top_builddir@,$ac_top_builddir,;t t
6123 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6124 s,@INSTALL@,$ac_INSTALL,;t t
6125 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6127 if test x"$ac_file" != x-; then
6128 mv $tmp/out $ac_file
6136 cat >>$CONFIG_STATUS <<\_ACEOF
6139 # CONFIG_HEADER section.
6142 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6143 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6145 # ac_d sets the value in "#define NAME VALUE" lines.
6146 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6147 ac_dB='[ ].*$,\1#\2'
6150 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6151 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6152 ac_uB='$,\1#\2define\3'
6156 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6157 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6159 - | *:- | *:-:* ) # input from stdin
6161 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6162 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6163 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6164 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6165 * ) ac_file_in=$ac_file.in ;;
6168 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6169 echo "$as_me: creating $ac_file" >&6;}
6171 # First look for the input files in the build tree, otherwise in the
6173 ac_file_inputs=`IFS=:
6174 for f in $ac_file_in; do
6176 -) echo $tmp/stdin ;;
6178 # Absolute (can't be DOS-style, as IFS=:)
6179 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6180 echo "$as_me: error: cannot find input file: $f" >&2;}
6181 { (exit 1); exit 1; }; }
6182 # Do quote $f, to prevent DOS paths from being IFS'd.
6185 if test -f "$f"; then
6188 elif test -f "$srcdir/$f"; then
6193 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6194 echo "$as_me: error: cannot find input file: $f" >&2;}
6195 { (exit 1); exit 1; }; }
6198 done` || { (exit 1); exit 1; }
6199 # Remove the trailing spaces.
6200 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6204 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6205 # `conftest.undefs', that substitutes the proper values into
6206 # config.h.in to produce config.h. The first handles `#define'
6207 # templates, and the second `#undef' templates.
6208 # And first: Protect against being on the right side of a sed subst in
6209 # config.status. Protect against being in an unquoted here document
6211 rm -f conftest.defines conftest.undefs
6212 # Using a here document instead of a string reduces the quoting nightmare.
6213 # Putting comments in sed scripts is not portable.
6215 # `end' is used to avoid that the second main sed command (meant for
6216 # 0-ary CPP macros) applies to n-ary macro definitions.
6217 # See the Autoconf documentation for `clear'.
6218 cat >confdef2sed.sed <<\_ACEOF
6223 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6225 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6228 # If some macros were called several times there might be several times
6229 # the same #defines, which is useless. Nevertheless, we may not want to
6230 # sort them, since we want the *last* AC-DEFINE to be honored.
6231 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6232 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6233 rm -f confdef2sed.sed
6235 # This sed command replaces #undef with comments. This is necessary, for
6236 # example, in the case of _POSIX_SOURCE, which is predefined and required
6237 # on some systems where configure will not decide to define it.
6238 cat >>conftest.undefs <<\_ACEOF
6239 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6242 # Break up conftest.defines because some shells have a limit on the size
6243 # of here documents, and old seds have small limits too (100 cmds).
6244 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6245 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6246 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6247 echo ' :' >>$CONFIG_STATUS
6249 while grep . conftest.defines >/dev/null
6251 # Write a limited-size here document to $tmp/defines.sed.
6252 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6253 # Speed up: don't consider the non `#define' lines.
6254 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6255 # Work around the forget-to-reset-the-flag bug.
6256 echo 't clr' >>$CONFIG_STATUS
6257 echo ': clr' >>$CONFIG_STATUS
6258 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6260 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6264 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6265 rm -f conftest.defines
6266 mv conftest.tail conftest.defines
6268 rm -f conftest.defines
6269 echo ' fi # grep' >>$CONFIG_STATUS
6270 echo >>$CONFIG_STATUS
6272 # Break up conftest.undefs because some shells have a limit on the size
6273 # of here documents, and old seds have small limits too (100 cmds).
6274 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6276 while grep . conftest.undefs >/dev/null
6278 # Write a limited-size here document to $tmp/undefs.sed.
6279 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6280 # Speed up: don't consider the non `#undef'
6281 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6282 # Work around the forget-to-reset-the-flag bug.
6283 echo 't clr' >>$CONFIG_STATUS
6284 echo ': clr' >>$CONFIG_STATUS
6285 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6287 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6291 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6292 rm -f conftest.undefs
6293 mv conftest.tail conftest.undefs
6295 rm -f conftest.undefs
6297 cat >>$CONFIG_STATUS <<\_ACEOF
6298 # Let's still pretend it is `configure' which instantiates (i.e., don't
6299 # use $as_me), people would be surprised to read:
6300 # /* config.h. Generated by config.status. */
6301 if test x"$ac_file" = x-; then
6302 echo "/* Generated by configure. */" >$tmp/config.h
6304 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6306 cat $tmp/in >>$tmp/config.h
6308 if test x"$ac_file" != x-; then
6309 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6310 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6311 echo "$as_me: $ac_file is unchanged" >&6;}
6313 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6314 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6315 X"$ac_file" : 'X\(//\)[^/]' \| \
6316 X"$ac_file" : 'X\(//\)$' \| \
6317 X"$ac_file" : 'X\(/\)' \| \
6318 . : '\(.\)' 2>/dev/null ||
6320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6322 /^X\(\/\/\)$/{ s//\1/; q; }
6323 /^X\(\/\).*/{ s//\1/; q; }
6325 { if $as_mkdir_p; then
6330 while test ! -d "$as_dir"; do
6331 as_dirs="$as_dir $as_dirs"
6332 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6334 X"$as_dir" : 'X\(//\)[^/]' \| \
6335 X"$as_dir" : 'X\(//\)$' \| \
6336 X"$as_dir" : 'X\(/\)' \| \
6337 . : '\(.\)' 2>/dev/null ||
6339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6340 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6341 /^X\(\/\/\)$/{ s//\1/; q; }
6342 /^X\(\/\).*/{ s//\1/; q; }
6345 test ! -n "$as_dirs" || mkdir $as_dirs
6346 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6347 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6348 { (exit 1); exit 1; }; }; }
6351 mv $tmp/config.h $ac_file
6357 # Compute $ac_file's index in $config_headers.
6359 for _am_header in $config_headers :; do
6361 $ac_file | $ac_file:* )
6364 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6367 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6368 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6369 X$ac_file : 'X\(//\)[^/]' \| \
6370 X$ac_file : 'X\(//\)$' \| \
6371 X$ac_file : 'X\(/\)' \| \
6372 . : '\(.\)' 2>/dev/null ||
6374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6376 /^X\(\/\/\)$/{ s//\1/; q; }
6377 /^X\(\/\).*/{ s//\1/; q; }
6378 s/.*/./; q'`/stamp-h$_am_stamp_count
6381 cat >>$CONFIG_STATUS <<\_ACEOF
6384 # CONFIG_COMMANDS section.
6386 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6387 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6388 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6389 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6390 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6391 X"$ac_dest" : 'X\(//\)[^/]' \| \
6392 X"$ac_dest" : 'X\(//\)$' \| \
6393 X"$ac_dest" : 'X\(/\)' \| \
6394 . : '\(.\)' 2>/dev/null ||
6396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6397 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6398 /^X\(\/\/\)$/{ s//\1/; q; }
6399 /^X\(\/\).*/{ s//\1/; q; }
6401 { if $as_mkdir_p; then
6406 while test ! -d "$as_dir"; do
6407 as_dirs="$as_dir $as_dirs"
6408 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6410 X"$as_dir" : 'X\(//\)[^/]' \| \
6411 X"$as_dir" : 'X\(//\)$' \| \
6412 X"$as_dir" : 'X\(/\)' \| \
6413 . : '\(.\)' 2>/dev/null ||
6415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6417 /^X\(\/\/\)$/{ s//\1/; q; }
6418 /^X\(\/\).*/{ s//\1/; q; }
6421 test ! -n "$as_dirs" || mkdir $as_dirs
6422 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6423 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6424 { (exit 1); exit 1; }; }; }
6428 if test "$ac_dir" != .; then
6429 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6430 # A "../" for each directory in $ac_dir_suffix.
6431 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6433 ac_dir_suffix= ac_top_builddir=
6437 .) # No --srcdir option. We are building in place.
6439 if test -z "$ac_top_builddir"; then
6442 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6444 [\\/]* | ?:[\\/]* ) # Absolute path.
6445 ac_srcdir=$srcdir$ac_dir_suffix;
6446 ac_top_srcdir=$srcdir ;;
6448 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6449 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6452 # Do not use `cd foo && pwd` to compute absolute paths, because
6453 # the directories may not exist.
6455 .) ac_abs_builddir="$ac_dir";;
6458 .) ac_abs_builddir=`pwd`;;
6459 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6460 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6463 case $ac_abs_builddir in
6464 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6466 case ${ac_top_builddir}. in
6467 .) ac_abs_top_builddir=$ac_abs_builddir;;
6468 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6469 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6472 case $ac_abs_builddir in
6473 .) ac_abs_srcdir=$ac_srcdir;;
6476 .) ac_abs_srcdir=$ac_abs_builddir;;
6477 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6478 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6481 case $ac_abs_builddir in
6482 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6484 case $ac_top_srcdir in
6485 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6486 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6487 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6492 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6493 echo "$as_me: executing $ac_dest commands" >&6;}
6495 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6496 # Strip MF so we end up with the name of the file.
6497 mf=`echo "$mf" | sed -e 's/:.*$//'`
6498 # Check whether this is an Automake generated Makefile or not.
6499 # We used to match only the files named `Makefile.in', but
6500 # some people rename them; so instead we look at the file content.
6501 # Grep'ing the first line is not enough: some people post-process
6502 # each Makefile.in and add a new line on top of each file to say so.
6503 # So let's grep whole file.
6504 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6505 dirpart=`(dirname "$mf") 2>/dev/null ||
6506 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6507 X"$mf" : 'X\(//\)[^/]' \| \
6508 X"$mf" : 'X\(//\)$' \| \
6509 X"$mf" : 'X\(/\)' \| \
6510 . : '\(.\)' 2>/dev/null ||
6512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6514 /^X\(\/\/\)$/{ s//\1/; q; }
6515 /^X\(\/\).*/{ s//\1/; q; }
6520 # Extract the definition of DEPDIR, am__include, and am__quote
6521 # from the Makefile without running `make'.
6522 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6523 test -z "$DEPDIR" && continue
6524 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6525 test -z "am__include" && continue
6526 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6527 # When using ansi2knr, U may be empty or an underscore; expand it
6528 U=`sed -n 's/^U = //p' < "$mf"`
6529 # Find all dependency output files, they are included files with
6530 # $(DEPDIR) in their names. We invoke sed twice because it is the
6531 # simplest approach to changing $(DEPDIR) to its actual value in the
6533 for file in `sed -n "
6534 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6535 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6536 # Make sure the directory exists.
6537 test -f "$dirpart/$file" && continue
6538 fdir=`(dirname "$file") 2>/dev/null ||
6539 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6540 X"$file" : 'X\(//\)[^/]' \| \
6541 X"$file" : 'X\(//\)$' \| \
6542 X"$file" : 'X\(/\)' \| \
6543 . : '\(.\)' 2>/dev/null ||
6545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6546 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6547 /^X\(\/\/\)$/{ s//\1/; q; }
6548 /^X\(\/\).*/{ s//\1/; q; }
6550 { if $as_mkdir_p; then
6551 mkdir -p $dirpart/$fdir
6553 as_dir=$dirpart/$fdir
6555 while test ! -d "$as_dir"; do
6556 as_dirs="$as_dir $as_dirs"
6557 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6558 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6559 X"$as_dir" : 'X\(//\)[^/]' \| \
6560 X"$as_dir" : 'X\(//\)$' \| \
6561 X"$as_dir" : 'X\(/\)' \| \
6562 . : '\(.\)' 2>/dev/null ||
6564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6565 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6566 /^X\(\/\/\)$/{ s//\1/; q; }
6567 /^X\(\/\).*/{ s//\1/; q; }
6570 test ! -n "$as_dirs" || mkdir $as_dirs
6571 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6572 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6573 { (exit 1); exit 1; }; }; }
6575 # echo "creating $dirpart/$file"
6576 echo '# dummy' > "$dirpart/$file"
6584 cat >>$CONFIG_STATUS <<\_ACEOF
6586 { (exit 0); exit 0; }
6588 chmod +x $CONFIG_STATUS
6589 ac_clean_files=$ac_clean_files_save
6592 # configure is writing to config.log, and then calls config.status.
6593 # config.status does its own redirection, appending to config.log.
6594 # Unfortunately, on DOS this fails, as config.log is still kept open
6595 # by configure, so config.status won't be able to write to it; its
6596 # output is simply discarded. So we exec the FD to /dev/null,
6597 # effectively closing config.log, so it can be properly (re)opened and
6598 # appended to by config.status. When coming back to configure, we
6599 # need to make the FD available again.
6600 if test "$no_create" != yes; then
6602 ac_config_status_args=
6603 test "$silent" = yes &&
6604 ac_config_status_args="$ac_config_status_args --quiet"
6606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6609 # would make configure fail if this is the last instruction.
6610 $ac_cs_success || { (exit 1); exit 1; }