2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="ntpd/ntp_refclock.c"
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_subdirs_all="$ac_subdirs_all arlib"
312 ac_subdirs_all="$ac_subdirs_all sntp"
313 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 CPP EGREP LN_S RANLIB ac_ct_RANLIB PATH_SH PATH_PERL READLINE_LIBS U ANSI2KNR LIBOBJS LIBPARSE MAKE_LIBPARSE MAKE_LIBPARSE_KERNEL MAKE_CHECK_Y2K OPENSSL OPENSSL_INC OPENSSL_LIB MAKE_NTP_KEYGEN LCRYPTO EF_PROGS EF_LIBS MAKE_SNTP TESTDCF DCFD MAKE_PARSEKMODULE PROPDELAY CHUTEST CLKTEST MAKE_ADJTIMED MAKE_NTPTIME MAKE_TICKADJ MAKE_TIMETRIM MAKE_LIBNTPSIM MAKE_NTPDSIM ARLIB_DIR subdirs LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 --build=BUILD configure for building on BUILD [guessed]
842 --host=HOST cross-compile to build programs to run on HOST [BUILD]
843 --target=TARGET configure for building compilers for TARGET [HOST]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --disable-dependency-tracking Speeds up one-time builds
855 --enable-dependency-tracking Do not reject slow dependency extractors
856 --enable-clockctl Use /dev/clockctl for non-root time control
857 --enable-debugging + include debugging code
858 --enable-dst-minutes=60 + minutes per DST adjustment
859 --enable-BANCOMM - Datum/Bancomm bc635/VME interface
860 --enable-GPSVME - TrueTime GPS receiver/VME interface
861 --enable-all-clocks + include all suitable non-PARSE clocks:
862 --enable-ACTS s ACTS modem service
863 --enable-ARBITER + Arbiter 1088A/B GPS receiver
864 --enable-ARCRON-MSF + Arcron MSF receiver
865 --enable-AS2201 + Austron 2200A/2201A GPS receiver
866 --enable-ATOM s ATOM PPS interface
867 --enable-CHRONOLOG + Chrono-log K-series WWVB receiver
868 --enable-CHU + CHU modem/decoder
869 --enable-AUDIO-CHU s CHU audio/decoder
870 --enable-DATUM s Datum Programmable Time System
871 --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock
872 --enable-FG + Forum Graphic GPS
873 --enable-HEATH s Heath GC-1000 WWV/WWVH receiver
874 --enable-HOPFSERIAL + hopf serial clock device
875 --enable-HOPFPCI + hopf 6039 PCI board
876 --enable-HPGPS + HP 58503A GPS receiver
877 --enable-IRIG s IRIG audio decoder
878 --enable-JJY + JJY receiver
879 --enable-JUPITER s Rockwell Jupiter GPS receiver
880 --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver
881 --enable-LOCAL-CLOCK + local clock reference
882 --enable-MSFEES + EES M201 MSF receiver
883 --enable-MX4200 s Magnavox MX4200 GPS receiver
884 --enable-NEOCLOCK4X + NeoClock4X DCF77 / TDF receiver
885 --enable-NMEA + NMEA GPS receiver
886 --enable-ONCORE s Motorola VP/UT Oncore GPS receiver
887 --enable-PALISADE s Palisade clock
888 --enable-PCF + Conrad parallel port radio clock
889 --enable-PST + PST/Traconex 1020 WWV/WWVH receiver
890 --enable-PTBACTS s PTB modem service
891 --enable-RIPENCC - RIPENCC specific Trimble driver
892 --enable-SHM s SHM clock attached thru shared memory
893 --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver
894 --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface
895 --enable-TRAK + TRAK 8810 GPS receiver
896 --enable-TRUETIME s Kinemetrics/TrueTime receivers
897 --enable-TT560 - TrueTime 560 IRIG-B decoder
898 --enable-ULINK + Ultralink WWVB receiver
899 --enable-USNO s USNO modem service
900 --enable-WWV s WWV Audio receiver
901 --enable-ZYFER + Zyfer GPStarplus receiver
902 --enable-parse-clocks - include all suitable PARSE clocks:
903 --enable-COMPUTIME s Diem Computime Radio Clock
904 --enable-DCF7000 s ELV/DCF7000 clock
905 --enable-HOPF6021 s HOPF 6021 clock
906 --enable-MEINBERG s Meinberg clocks
907 --enable-RAWDCF s DCF77 raw time code
908 --enable-RCC8000 s RCC 8000 clock
909 --enable-SCHMID s Schmid DCF77 clock
910 --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol
911 --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol
912 --enable-WHARTON s WHARTON 400A Series clock
913 --enable-VARITEXT s VARITEXT clock
914 --enable-kmem s read /dev/kmem for tick and/or tickadj
915 --enable-accurate-adjtime
916 s the adjtime() call is accurate
917 --enable-tick=VALUE s force a value for 'tick'
918 --enable-tickadj=VALUE s force a value for 'tickadj'
919 --enable-simulator - build/install the NTPD simulator?
920 --enable-udp-wildcard s use UDP wildcard delivery
921 --enable-slew-always s always slew the time
922 --enable-step-slew s step and slew the time
923 --enable-ntpdate-step s if ntpdate should step the time
924 --enable-hourly-todr-sync
925 s if we should sync TODR hourly
926 --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
927 --enable-irig-sawtooth s if we should enable the IRIG sawtooth filter
928 --enable-nist - if we should enable the NIST lockclock scheme
931 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
932 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
933 --with-openssl-libdir + =/something/reasonable
934 --with-openssl-incdir + =/something/reasonable
935 --with-crypto + =openssl
936 --with-electricfence - compile with ElectricFence malloc debugger
937 --with-sntp - Build SNTP?
938 --with-arlib - Compile the async resolver library?
940 Some influential environment variables:
941 CC C compiler command
942 CFLAGS C compiler flags
943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
944 nonstandard directory <lib dir>
945 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
946 headers in a nonstandard directory <include dir>
949 Use these variables to override the choices made by `configure' or to help
950 it to find libraries and programs with nonstandard names/locations.
955 if test "$ac_init_help" = "recursive"; then
956 # If there are subdirs, report their specific --help.
958 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
959 test -d $ac_dir || continue
962 if test "$ac_dir" != .; then
963 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
964 # A "../" for each directory in $ac_dir_suffix.
965 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
967 ac_dir_suffix= ac_top_builddir=
971 .) # No --srcdir option. We are building in place.
973 if test -z "$ac_top_builddir"; then
976 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
978 [\\/]* | ?:[\\/]* ) # Absolute path.
979 ac_srcdir=$srcdir$ac_dir_suffix;
980 ac_top_srcdir=$srcdir ;;
982 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
983 ac_top_srcdir=$ac_top_builddir$srcdir ;;
985 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
987 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
988 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
989 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
990 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
993 # Check for guested configure; otherwise get Cygnus style configure.
994 if test -f $ac_srcdir/configure.gnu; then
996 $SHELL $ac_srcdir/configure.gnu --help=recursive
997 elif test -f $ac_srcdir/configure; then
999 $SHELL $ac_srcdir/configure --help=recursive
1000 elif test -f $ac_srcdir/configure.ac ||
1001 test -f $ac_srcdir/configure.in; then
1003 $ac_configure --help
1005 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 test -n "$ac_init_help" && exit 0
1012 if $ac_init_version; then
1015 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1016 Free Software Foundation, Inc.
1017 This configure script is free software; the Free Software Foundation
1018 gives unlimited permission to copy, distribute and modify it.
1024 This file contains any messages produced by compilers while
1025 running configure, to aid debugging if configure makes a mistake.
1027 It was created by $as_me, which was
1028 generated by GNU Autoconf 2.57. Invocation command line was
1039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1051 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1062 test -z "$as_dir" && as_dir=.
1063 echo "PATH: $as_dir"
1078 # Keep a trace of the command line.
1079 # Strip out --no-create and --no-recursion so they do not pile up.
1080 # Strip out --silent because we don't want to record it for future runs.
1081 # Also quote any args containing shell meta-characters.
1082 # Make two passes to allow for proper duplicate-argument suppression.
1087 ac_must_keep_next=false
1093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095 | -silent | --silent | --silen | --sile | --sil)
1097 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1098 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1103 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1104 if test $ac_must_keep_next = true; then
1105 ac_must_keep_next=false # Got value, back to normal.
1108 *=* | --config-cache | -C | -disable-* | --disable-* \
1109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1111 | -with-* | --with-* | -without-* | --without-* | --x)
1112 case "$ac_configure_args0 " in
1113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 -* ) ac_must_keep_next=true ;;
1119 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1120 # Get rid of the leading space.
1126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1129 # When interrupted or exit'd, cleanup temporary files, and complete
1130 # config.log. We remove comments because anyway the quotes in there
1131 # would cause problems or look ugly.
1132 # WARNING: Be sure not to use single quotes in there, as some shells,
1133 # such as our DU 5.0 friend, will then `close' the trap.
1134 trap 'exit_status=$?
1135 # Save into config.log some information that might help in debugging.
1140 ## ---------------- ##
1141 ## Cache variables. ##
1142 ## ---------------- ##
1145 # The following way of writing the cache mishandles newlines in values,
1148 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 ## ----------------- ##
1164 ## Output variables. ##
1165 ## ----------------- ##
1168 for ac_var in $ac_subst_vars
1170 eval ac_val=$`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1175 if test -n "$ac_subst_files"; then
1182 for ac_var in $ac_subst_files
1184 eval ac_val=$`echo $ac_var`
1185 echo "$ac_var='"'"'$ac_val'"'"'"
1190 if test -s confdefs.h; then
1197 sed "/^$/d" confdefs.h | sort
1200 test "$ac_signal" != 0 &&
1201 echo "$as_me: caught signal $ac_signal"
1202 echo "$as_me: exit $exit_status"
1204 rm -f core core.* *.core &&
1205 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 for ac_signal in 1 2 13 15; do
1209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1214 rm -rf conftest* confdefs.h
1215 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 # Predefined preprocessor variables.
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_NAME "$PACKAGE_NAME"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_STRING "$PACKAGE_STRING"
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1245 # Let the site file select an alternate cache file if it wants to.
1246 # Prefer explicitly selected file to automatically selected ones.
1247 if test -z "$CONFIG_SITE"; then
1248 if test "x$prefix" != xNONE; then
1249 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1251 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254 for ac_site_file in $CONFIG_SITE; do
1255 if test -r "$ac_site_file"; then
1256 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1257 echo "$as_me: loading site script $ac_site_file" >&6;}
1258 sed 's/^/| /' "$ac_site_file" >&5
1263 if test -r "$cache_file"; then
1264 # Some versions of bash will fail to source /dev/null (special
1265 # files actually), so we avoid doing that.
1266 if test -f "$cache_file"; then
1267 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1268 echo "$as_me: loading cache $cache_file" >&6;}
1270 [\\/]* | ?:[\\/]* ) . $cache_file;;
1271 *) . ./$cache_file;;
1275 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1276 echo "$as_me: creating cache $cache_file" >&6;}
1280 # Check that the precious variables saved in the cache have kept the same
1282 ac_cache_corrupted=false
1283 for ac_var in `(set) 2>&1 |
1284 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1285 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1286 eval ac_new_set=\$ac_env_${ac_var}_set
1287 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1288 eval ac_new_val="\$ac_env_${ac_var}_value"
1289 case $ac_old_set,$ac_new_set in
1291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1293 ac_cache_corrupted=: ;;
1295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1297 ac_cache_corrupted=: ;;
1300 if test "x$ac_old_val" != "x$ac_new_val"; then
1301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1304 echo "$as_me: former value: $ac_old_val" >&2;}
1305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1306 echo "$as_me: current value: $ac_new_val" >&2;}
1307 ac_cache_corrupted=:
1310 # Pass precious variables to config.status.
1311 if test "$ac_new_set" = set; then
1313 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1314 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1315 *) ac_arg=$ac_var=$ac_new_val ;;
1317 case " $ac_configure_args " in
1318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1319 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1323 if $ac_cache_corrupted; then
1324 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1325 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1326 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1328 { (exit 1); exit 1; }; }
1332 ac_cpp='$CPP $CPPFLAGS'
1333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1356 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1357 if test -f $ac_dir/install-sh; then
1359 ac_install_sh="$ac_aux_dir/install-sh -c"
1361 elif test -f $ac_dir/install.sh; then
1363 ac_install_sh="$ac_aux_dir/install.sh -c"
1365 elif test -f $ac_dir/shtool; then
1367 ac_install_sh="$ac_aux_dir/shtool install -c"
1371 if test -z "$ac_aux_dir"; then
1372 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1373 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1374 { (exit 1); exit 1; }; }
1376 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1377 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1378 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1380 # Make sure we can run config.sub.
1381 $ac_config_sub sun4 >/dev/null 2>&1 ||
1382 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1383 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1384 { (exit 1); exit 1; }; }
1386 echo "$as_me:$LINENO: checking build system type" >&5
1387 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1388 if test "${ac_cv_build+set}" = set; then
1389 echo $ECHO_N "(cached) $ECHO_C" >&6
1391 ac_cv_build_alias=$build_alias
1392 test -z "$ac_cv_build_alias" &&
1393 ac_cv_build_alias=`$ac_config_guess`
1394 test -z "$ac_cv_build_alias" &&
1395 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1396 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1397 { (exit 1); exit 1; }; }
1398 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1399 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1400 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1401 { (exit 1); exit 1; }; }
1404 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1405 echo "${ECHO_T}$ac_cv_build" >&6
1407 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1408 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1409 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1412 echo "$as_me:$LINENO: checking host system type" >&5
1413 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1414 if test "${ac_cv_host+set}" = set; then
1415 echo $ECHO_N "(cached) $ECHO_C" >&6
1417 ac_cv_host_alias=$host_alias
1418 test -z "$ac_cv_host_alias" &&
1419 ac_cv_host_alias=$ac_cv_build_alias
1420 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1421 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1422 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1423 { (exit 1); exit 1; }; }
1426 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1427 echo "${ECHO_T}$ac_cv_host" >&6
1429 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1430 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1431 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1434 echo "$as_me:$LINENO: checking target system type" >&5
1435 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1436 if test "${ac_cv_target+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 ac_cv_target_alias=$target_alias
1440 test "x$ac_cv_target_alias" = "x" &&
1441 ac_cv_target_alias=$ac_cv_host_alias
1442 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1443 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1444 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1445 { (exit 1); exit 1; }; }
1448 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1449 echo "${ECHO_T}$ac_cv_target" >&6
1450 target=$ac_cv_target
1451 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1452 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1453 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1456 # The aliases save the names the user supplied, while $host etc.
1457 # will get canonicalized.
1458 test -n "$target_alias" &&
1459 test "$program_prefix$program_suffix$program_transform_name" = \
1461 program_prefix=${target_alias}-
1463 cat >>confdefs.h <<_ACEOF
1464 #define STR_SYSTEM "$host"
1467 ac_config_headers="$ac_config_headers config.h"
1469 test "$program_prefix" != NONE &&
1470 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1471 # Use a double $ so make ignores it.
1472 test "$program_suffix" != NONE &&
1473 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1474 # Double any \ or $. echo might interpret backslashes.
1475 # By default was `s,x,x', remove it if useless.
1476 cat <<\_ACEOF >conftest.sed
1477 s/[\\$]/&&/g;s/;s,x,x,$//
1479 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1482 am__api_version="1.7"
1483 # Find a good install program. We prefer a C program (faster),
1484 # so one script is as good as another. But avoid the broken or
1485 # incompatible versions:
1486 # SysV /etc/install, /usr/sbin/install
1487 # SunOS /usr/etc/install
1488 # IRIX /sbin/install
1490 # AmigaOS /C/install, which installs bootblocks on floppy discs
1491 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1492 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1493 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1494 # ./install, which can be erroneously created by make from ./install.sh.
1495 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1496 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1497 if test -z "$INSTALL"; then
1498 if test "${ac_cv_path_install+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir=.
1506 # Account for people who put trailing slashes in PATH elements.
1508 ./ | .// | /cC/* | \
1509 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1512 # OSF1 and SCO ODT 3.0 have their own names for install.
1513 # Don't use installbsd from OSF since it installs stuff as root
1515 for ac_prog in ginstall scoinst install; do
1516 for ac_exec_ext in '' $ac_executable_extensions; do
1517 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1518 if test $ac_prog = install &&
1519 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1520 # AIX install. It has an incompatible calling convention.
1522 elif test $ac_prog = install &&
1523 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1524 # program-specific install script used by HP pwplus--don't use.
1527 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1539 if test "${ac_cv_path_install+set}" = set; then
1540 INSTALL=$ac_cv_path_install
1542 # As a last resort, use the slow shell script. We don't cache a
1543 # path for INSTALL within a source directory, because that will
1544 # break other packages using the cache if that directory is
1545 # removed, or if the path is relative.
1546 INSTALL=$ac_install_sh
1549 echo "$as_me:$LINENO: result: $INSTALL" >&5
1550 echo "${ECHO_T}$INSTALL" >&6
1552 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1553 # It thinks the first close brace ends the variable substitution.
1554 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1556 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1558 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1560 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1561 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1564 echo timestamp > conftest.file
1565 # Do `set' in a subshell so we don't clobber the current shell's
1566 # arguments. Must try -L first in case configure is actually a
1567 # symlink; some systems play weird games with the mod time of symlinks
1568 # (eg FreeBSD returns the mod time of the symlink's containing
1571 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1572 if test "$*" = "X"; then
1574 set X `ls -t $srcdir/configure conftest.file`
1577 if test "$*" != "X $srcdir/configure conftest.file" \
1578 && test "$*" != "X conftest.file $srcdir/configure"; then
1580 # If neither matched, then we have a broken ls. This can happen
1581 # if, for instance, CONFIG_SHELL is bash and it inherits a
1582 # broken ls alias from the environment. This has actually
1583 # happened. Such a system could not be considered "sane".
1584 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1585 alias in your environment" >&5
1586 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1587 alias in your environment" >&2;}
1588 { (exit 1); exit 1; }; }
1591 test "$2" = conftest.file
1597 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1598 Check your system clock" >&5
1599 echo "$as_me: error: newly created file is older than distributed files!
1600 Check your system clock" >&2;}
1601 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: yes" >&5
1604 echo "${ECHO_T}yes" >&6
1606 # expand $ac_aux_dir to an absolute path
1607 am_aux_dir=`cd $ac_aux_dir && pwd`
1609 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1610 # Use eval to expand $SHELL
1611 if eval "$MISSING --run true"; then
1612 am_missing_run="$MISSING --run "
1615 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1616 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1619 for ac_prog in gawk mawk nawk awk
1621 # Extract the first word of "$ac_prog", so it can be a program name with args.
1622 set dummy $ac_prog; ac_word=$2
1623 echo "$as_me:$LINENO: checking for $ac_word" >&5
1624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625 if test "${ac_cv_prog_AWK+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 if test -n "$AWK"; then
1629 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635 test -z "$as_dir" && as_dir=.
1636 for ac_exec_ext in '' $ac_executable_extensions; do
1637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1638 ac_cv_prog_AWK="$ac_prog"
1639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1648 if test -n "$AWK"; then
1649 echo "$as_me:$LINENO: result: $AWK" >&5
1650 echo "${ECHO_T}$AWK" >&6
1652 echo "$as_me:$LINENO: result: no" >&5
1653 echo "${ECHO_T}no" >&6
1656 test -n "$AWK" && break
1659 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1660 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1661 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1662 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 cat >conftest.make <<\_ACEOF
1667 @echo 'ac_maketemp="$(MAKE)"'
1669 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1670 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1671 if test -n "$ac_maketemp"; then
1672 eval ac_cv_prog_make_${ac_make}_set=yes
1674 eval ac_cv_prog_make_${ac_make}_set=no
1678 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1679 echo "$as_me:$LINENO: result: yes" >&5
1680 echo "${ECHO_T}yes" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1685 SET_MAKE="MAKE=${MAKE-make}"
1688 rm -rf .tst 2>/dev/null
1689 mkdir .tst 2>/dev/null
1690 if test -d .tst; then
1695 rmdir .tst 2>/dev/null
1697 # test to see if srcdir already configured
1698 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1699 test -f $srcdir/config.status; then
1700 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1701 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1702 { (exit 1); exit 1; }; }
1705 # test whether we have cygpath
1706 if test -z "$CYGPATH_W"; then
1707 if (cygpath --version) >/dev/null 2>/dev/null; then
1708 CYGPATH_W='cygpath -w'
1715 # Define the identity of the package.
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE "$PACKAGE"
1725 cat >>confdefs.h <<_ACEOF
1726 #define VERSION "$VERSION"
1729 # Some tools Automake needs.
1731 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1734 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1737 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1740 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1743 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1746 AMTAR=${AMTAR-"${am_missing_run}tar"}
1748 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1750 # Installed binaries are usually stripped using `strip' when the user
1751 # run `make install-strip'. However `strip' might not be the right
1752 # tool to use in cross-compilation environments, therefore Automake
1753 # will honor the `STRIP' environment variable to overrule this program.
1754 if test "$cross_compiling" != no; then
1755 if test -n "$ac_tool_prefix"; then
1756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1757 set dummy ${ac_tool_prefix}strip; ac_word=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_STRIP+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$STRIP"; then
1764 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir=.
1771 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1782 STRIP=$ac_cv_prog_STRIP
1783 if test -n "$STRIP"; then
1784 echo "$as_me:$LINENO: result: $STRIP" >&5
1785 echo "${ECHO_T}$STRIP" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1792 if test -z "$ac_cv_prog_STRIP"; then
1794 # Extract the first word of "strip", so it can be a program name with args.
1795 set dummy strip; ac_word=$2
1796 echo "$as_me:$LINENO: checking for $ac_word" >&5
1797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 if test -n "$ac_ct_STRIP"; then
1802 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir=.
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1811 ac_cv_prog_ac_ct_STRIP="strip"
1812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1821 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1822 if test -n "$ac_ct_STRIP"; then
1823 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1824 echo "${ECHO_T}$ac_ct_STRIP" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1832 STRIP="$ac_cv_prog_STRIP"
1836 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1838 # We need awk for the "check" target. The system "awk" is bad on
1845 ac_cv_var_atom_ok=no
1846 ac_cv_var_oncore_ok=no
1847 ac_cv_var_ripe_ncc_ok=no
1848 ac_cv_var_jupiter_ok=no
1852 DEPDIR="${am__leading_dot}deps"
1854 ac_config_commands="$ac_config_commands depfiles"
1857 am_make=${MAKE-make}
1858 cat > confinc << 'END'
1863 # If we don't find an include directive, just comment out the code.
1864 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1865 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1869 # First try GNU make style include.
1870 echo "include confinc" > confmf
1871 # We grep out `Entering directory' and `Leaving directory'
1872 # messages which can occur if `w' ends up in MAKEFLAGS.
1873 # In particular we don't look at `^make:' because GNU make might
1874 # be invoked under some other name (usually "gmake"), in which
1875 # case it prints its new name instead of `make'.
1876 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1881 # Now try BSD make style include.
1882 if test "$am__include" = "#"; then
1883 echo '.include "confinc"' > confmf
1884 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1885 am__include=.include
1892 echo "$as_me:$LINENO: result: $_am_result" >&5
1893 echo "${ECHO_T}$_am_result" >&6
1894 rm -f confinc confmf
1896 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1897 if test "${enable_dependency_tracking+set}" = set; then
1898 enableval="$enable_dependency_tracking"
1901 if test "x$enable_dependency_tracking" != xno; then
1902 am_depcomp="$ac_aux_dir/depcomp"
1907 if test "x$enable_dependency_tracking" != xno; then
1918 ac_cpp='$CPP $CPPFLAGS'
1919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1922 if test -n "$ac_tool_prefix"; then
1923 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1924 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1925 echo "$as_me:$LINENO: checking for $ac_word" >&5
1926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1927 if test "${ac_cv_prog_CC+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test -n "$CC"; then
1931 ac_cv_prog_CC="$CC" # Let the user override the test.
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 if test -n "$CC"; then
1951 echo "$as_me:$LINENO: result: $CC" >&5
1952 echo "${ECHO_T}$CC" >&6
1954 echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1959 if test -z "$ac_cv_prog_CC"; then
1961 # Extract the first word of "gcc", so it can be a program name with args.
1962 set dummy gcc; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$ac_ct_CC"; then
1969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_prog_ac_ct_CC="gcc"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1988 if test -n "$ac_ct_CC"; then
1989 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1990 echo "${ECHO_T}$ac_ct_CC" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
2001 if test -z "$CC"; then
2002 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2004 set dummy ${ac_tool_prefix}cc; ac_word=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC="$CC" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CC="${ac_tool_prefix}cc"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 if test -n "$CC"; then
2031 echo "$as_me:$LINENO: result: $CC" >&5
2032 echo "${ECHO_T}$CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2039 if test -z "$ac_cv_prog_CC"; then
2041 # Extract the first word of "cc", so it can be a program name with args.
2042 set dummy cc; ac_word=$2
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$ac_ct_CC"; then
2049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058 ac_cv_prog_ac_ct_CC="cc"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2068 if test -n "$ac_ct_CC"; then
2069 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2070 echo "${ECHO_T}$ac_ct_CC" >&6
2072 echo "$as_me:$LINENO: result: no" >&5
2073 echo "${ECHO_T}no" >&6
2082 if test -z "$CC"; then
2083 # Extract the first word of "cc", so it can be a program name with args.
2084 set dummy cc; ac_word=$2
2085 echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2102 ac_prog_rejected=yes
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 if test $ac_prog_rejected = yes; then
2113 # We found a bogon in the path, so make sure we never use it.
2114 set dummy $ac_cv_prog_CC
2116 if test $# != 0; then
2117 # We chose a different compiler from the bogus one.
2118 # However, it has the same basename, so the bogon will be chosen
2119 # first if we set CC to just the basename; use the full file name.
2121 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2127 if test -n "$CC"; then
2128 echo "$as_me:$LINENO: result: $CC" >&5
2129 echo "${ECHO_T}$CC" >&6
2131 echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6
2136 if test -z "$CC"; then
2137 if test -n "$ac_tool_prefix"; then
2140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2142 echo "$as_me:$LINENO: checking for $ac_word" >&5
2143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2144 if test "${ac_cv_prog_CC+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 if test -n "$CC"; then
2148 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 if test -n "$CC"; then
2168 echo "$as_me:$LINENO: result: $CC" >&5
2169 echo "${ECHO_T}$CC" >&6
2171 echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6
2175 test -n "$CC" && break
2178 if test -z "$CC"; then
2182 # Extract the first word of "$ac_prog", so it can be a program name with args.
2183 set dummy $ac_prog; ac_word=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$ac_ct_CC"; then
2190 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2199 ac_cv_prog_ac_ct_CC="$ac_prog"
2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2209 if test -n "$ac_ct_CC"; then
2210 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2211 echo "${ECHO_T}$ac_ct_CC" >&6
2213 echo "$as_me:$LINENO: result: no" >&5
2214 echo "${ECHO_T}no" >&6
2217 test -n "$ac_ct_CC" && break
2226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: no acceptable C compiler found in \$PATH
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }
2232 # Provide some information about the compiler.
2233 echo "$as_me:$LINENO:" \
2234 "checking for C compiler version" >&5
2235 ac_compiler=`set X $ac_compile; echo $2`
2236 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2237 (eval $ac_compiler --version </dev/null >&5) 2>&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }
2241 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2242 (eval $ac_compiler -v </dev/null >&5) 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }
2246 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2247 (eval $ac_compiler -V </dev/null >&5) 2>&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }
2252 cat >conftest.$ac_ext <<_ACEOF
2253 #line $LINENO "configure"
2256 cat confdefs.h >>conftest.$ac_ext
2257 cat >>conftest.$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2268 ac_clean_files_save=$ac_clean_files
2269 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2270 # Try to create an executable without -o first, disregard a.out.
2271 # It will help us diagnose broken compilers, and finding out an intuition
2273 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2274 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2275 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2276 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2277 (eval $ac_link_default) 2>&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; then
2281 # Find the output, starting from the most likely. This scheme is
2282 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2285 # Be careful to initialize this variable, since it used to be cached.
2286 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2288 # b.out is created by i960 compilers.
2289 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2291 test -f "$ac_file" || continue
2293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2296 # This is the source file.
2299 # We found the default executable, but exeext='' is most
2303 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2304 # FIXME: I believe we export ac_cv_exeext for Libtool,
2305 # but it would be cool to find out if it's true. Does anybody
2306 # maintain Libtool? --akim.
2314 echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2317 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2318 See \`config.log' for more details." >&5
2319 echo "$as_me: error: C compiler cannot create executables
2320 See \`config.log' for more details." >&2;}
2321 { (exit 77); exit 77; }; }
2324 ac_exeext=$ac_cv_exeext
2325 echo "$as_me:$LINENO: result: $ac_file" >&5
2326 echo "${ECHO_T}$ac_file" >&6
2328 # Check the compiler produces executables we can run. If not, either
2329 # the compiler is broken, or we cross compile.
2330 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2331 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2332 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2333 # If not cross compiling, check that we can run a simple program.
2334 if test "$cross_compiling" != yes; then
2335 if { ac_try='./$ac_file'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2343 if test "$cross_compiling" = maybe; then
2346 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2347 If you meant to cross compile, use \`--host'.
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: cannot run C compiled programs.
2350 If you meant to cross compile, use \`--host'.
2351 See \`config.log' for more details." >&2;}
2352 { (exit 1); exit 1; }; }
2356 echo "$as_me:$LINENO: result: yes" >&5
2357 echo "${ECHO_T}yes" >&6
2359 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2360 ac_clean_files=$ac_clean_files_save
2361 # Check the compiler produces executables we can run. If not, either
2362 # the compiler is broken, or we cross compile.
2363 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2364 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2365 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2366 echo "${ECHO_T}$cross_compiling" >&6
2368 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2369 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2371 (eval $ac_link) 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; then
2375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2377 # work properly (i.e., refer to `conftest.exe'), while it won't with
2379 for ac_file in conftest.exe conftest conftest.*; do
2380 test -f "$ac_file" || continue
2382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2390 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2391 See \`config.log' for more details." >&5
2392 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2393 See \`config.log' for more details." >&2;}
2394 { (exit 1); exit 1; }; }
2397 rm -f conftest$ac_cv_exeext
2398 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2399 echo "${ECHO_T}$ac_cv_exeext" >&6
2401 rm -f conftest.$ac_ext
2402 EXEEXT=$ac_cv_exeext
2404 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2405 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2406 if test "${ac_cv_objext+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 cat >conftest.$ac_ext <<_ACEOF
2410 #line $LINENO "configure"
2413 cat confdefs.h >>conftest.$ac_ext
2414 cat >>conftest.$ac_ext <<_ACEOF
2415 /* end confdefs.h. */
2425 rm -f conftest.o conftest.obj
2426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2427 (eval $ac_compile) 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; then
2431 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2434 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2439 echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2442 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2443 See \`config.log' for more details." >&5
2444 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2445 See \`config.log' for more details." >&2;}
2446 { (exit 1); exit 1; }; }
2449 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2451 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2452 echo "${ECHO_T}$ac_cv_objext" >&6
2453 OBJEXT=$ac_cv_objext
2455 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2456 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2457 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 cat >conftest.$ac_ext <<_ACEOF
2461 #line $LINENO "configure"
2464 cat confdefs.h >>conftest.$ac_ext
2465 cat >>conftest.$ac_ext <<_ACEOF
2466 /* end confdefs.h. */
2479 rm -f conftest.$ac_objext
2480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2481 (eval $ac_compile) 2>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); } &&
2485 { ac_try='test -s conftest.$ac_objext'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; }; then
2493 echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2498 rm -f conftest.$ac_objext conftest.$ac_ext
2499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2502 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2503 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2504 GCC=`test $ac_compiler_gnu = yes && echo yes`
2505 ac_test_CFLAGS=${CFLAGS+set}
2506 ac_save_CFLAGS=$CFLAGS
2508 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2509 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2510 if test "${ac_cv_prog_cc_g+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 cat >conftest.$ac_ext <<_ACEOF
2514 #line $LINENO "configure"
2517 cat confdefs.h >>conftest.$ac_ext
2518 cat >>conftest.$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2529 rm -f conftest.$ac_objext
2530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531 (eval $ac_compile) 2>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.$ac_ext >&5
2548 rm -f conftest.$ac_objext conftest.$ac_ext
2550 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2551 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2552 if test "$ac_test_CFLAGS" = set; then
2553 CFLAGS=$ac_save_CFLAGS
2554 elif test $ac_cv_prog_cc_g = yes; then
2555 if test "$GCC" = yes; then
2561 if test "$GCC" = yes; then
2567 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2568 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2569 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 ac_cv_prog_cc_stdc=no
2574 cat >conftest.$ac_ext <<_ACEOF
2575 #line $LINENO "configure"
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2583 #include <sys/types.h>
2584 #include <sys/stat.h>
2585 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2586 struct buf { int x; };
2587 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2588 static char *e (p, i)
2594 static char *f (char * (*g) (char **, int), char **p, ...)
2599 s = g (p, va_arg (v,int));
2603 int test (int i, double x);
2604 struct s1 {int (*f) (int a);};
2605 struct s2 {int (*f) (double a);};
2606 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2612 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2617 # Don't try gcc -ansi; that turns off useful extensions and
2618 # breaks some systems' header files.
2619 # AIX -qlanglvl=ansi
2620 # Ultrix and OSF/1 -std1
2621 # HP-UX 10.20 and later -Ae
2622 # HP-UX older versions -Aa -D_HPUX_SOURCE
2623 # SVR4 -Xc -D__EXTENSIONS__
2624 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2626 CC="$ac_save_CC $ac_arg"
2627 rm -f conftest.$ac_objext
2628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2629 (eval $ac_compile) 2>&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try='test -s conftest.$ac_objext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 ac_cv_prog_cc_stdc=$ac_arg
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2646 rm -f conftest.$ac_objext
2648 rm -f conftest.$ac_ext conftest.$ac_objext
2653 case "x$ac_cv_prog_cc_stdc" in
2655 echo "$as_me:$LINENO: result: none needed" >&5
2656 echo "${ECHO_T}none needed" >&6 ;;
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2660 CC="$CC $ac_cv_prog_cc_stdc" ;;
2663 # Some people use a C++ compiler to compile C. Since we use `exit',
2664 # in C++ we need to declare it. In case someone uses the same compiler
2665 # for both compiling C and C++ we need to have the C++ compiler decide
2666 # the declaration of exit, since it's the most demanding environment.
2667 cat >conftest.$ac_ext <<_ACEOF
2672 rm -f conftest.$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -s conftest.$ac_objext'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; }; then
2684 for ac_declaration in \
2686 '#include <stdlib.h>' \
2687 'extern "C" void std::exit (int) throw (); using std::exit;' \
2688 'extern "C" void std::exit (int); using std::exit;' \
2689 'extern "C" void exit (int) throw ();' \
2690 'extern "C" void exit (int);' \
2693 cat >conftest.$ac_ext <<_ACEOF
2694 #line $LINENO "configure"
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2710 rm -f conftest.$ac_objext
2711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2712 (eval $ac_compile) 2>&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -s conftest.$ac_objext'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; }; then
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2729 rm -f conftest.$ac_objext conftest.$ac_ext
2730 cat >conftest.$ac_ext <<_ACEOF
2731 #line $LINENO "configure"
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2746 rm -f conftest.$ac_objext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2748 (eval $ac_compile) 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -s conftest.$ac_objext'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; }; then
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2764 rm -f conftest.$ac_objext conftest.$ac_ext
2767 if test -n "$ac_declaration"; then
2768 echo '#ifdef __cplusplus' >>confdefs.h
2769 echo $ac_declaration >>confdefs.h
2770 echo '#endif' >>confdefs.h
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2778 rm -f conftest.$ac_objext conftest.$ac_ext
2780 ac_cpp='$CPP $CPPFLAGS'
2781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 depcc="$CC" am_compiler_list=
2787 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2788 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2789 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2793 # We make a subdir and do the tests there. Otherwise we can end up
2794 # making bogus files that we don't know about and never remove. For
2795 # instance it was reported that on HP-UX the gcc test will end up
2796 # making a dummy file named `D' -- because `-MD' means `put the output
2799 # Copy depcomp to subdir because otherwise we won't find it if we're
2800 # using a relative directory.
2801 cp "$am_depcomp" conftest.dir
2803 # We will build objects and dependencies in a subdirectory because
2804 # it helps to detect inapplicable dependency modes. For instance
2805 # both Tru64's cc and ICC support -MD to output dependencies as a
2806 # side effect of compilation, but ICC will put the dependencies in
2807 # the current directory while Tru64 will put them in the object
2811 am_cv_CC_dependencies_compiler_type=none
2812 if test "$am_compiler_list" = ""; then
2813 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2815 for depmode in $am_compiler_list; do
2816 # Setup a source with many dependencies, because some compilers
2817 # like to wrap large dependency lists on column 80 (with \), and
2818 # we should not choose a depcomp mode which is confused by this.
2820 # We need to recreate these files for each test, as the compiler may
2821 # overwrite some of them when testing with obscure command lines.
2822 # This happens at least with the AIX C compiler.
2824 for i in 1 2 3 4 5 6; do
2825 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2828 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2832 # after this tag, mechanisms are not by side-effect, so they'll
2833 # only be used when explicitly requested
2834 if test "x$enable_dependency_tracking" = xyes; then
2842 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2843 # mode. It turns out that the SunPro C++ compiler does not properly
2844 # handle `-M -o', and we need to detect this.
2845 if depmode=$depmode \
2846 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2847 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2848 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2849 >/dev/null 2>conftest.err &&
2850 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2851 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2852 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2853 # icc doesn't choke on unknown options, it will just issue warnings
2854 # (even with -Werror). So we grep stderr for any message
2855 # that says an option was ignored.
2856 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2857 am_cv_CC_dependencies_compiler_type=$depmode
2866 am_cv_CC_dependencies_compiler_type=none
2870 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2871 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2872 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2877 test "x$enable_dependency_tracking" != xno \
2878 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2880 am__fastdepCC_FALSE='#'
2882 am__fastdepCC_TRUE='#'
2883 am__fastdepCC_FALSE=
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2894 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2895 # On Suns, sometimes $CPP names a directory.
2896 if test -n "$CPP" && test -d "$CPP"; then
2899 if test -z "$CPP"; then
2900 if test "${ac_cv_prog_CPP+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 # Double quotes because CPP needs to be expanded
2904 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2907 for ac_c_preproc_warn_flag in '' yes
2909 # Use a header file that comes with gcc, so configuring glibc
2910 # with a fresh cross-compiler works.
2911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2912 # <limits.h> exists even on freestanding compilers.
2913 # On the NeXT, cc -E runs the code through the compiler's parser,
2914 # not just through cpp. "Syntax error" is here to catch this case.
2915 cat >conftest.$ac_ext <<_ACEOF
2916 #line $LINENO "configure"
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2923 # include <limits.h>
2925 # include <assert.h>
2929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2932 grep -v '^ *+' conftest.er1 >conftest.err
2934 cat conftest.err >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } >/dev/null; then
2937 if test -s conftest.err; then
2938 ac_cpp_err=$ac_c_preproc_warn_flag
2945 if test -z "$ac_cpp_err"; then
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2951 # Broken: fails on valid input.
2954 rm -f conftest.err conftest.$ac_ext
2956 # OK, works on sane cases. Now check whether non-existent headers
2957 # can be detected and how.
2958 cat >conftest.$ac_ext <<_ACEOF
2959 #line $LINENO "configure"
2962 cat confdefs.h >>conftest.$ac_ext
2963 cat >>conftest.$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2965 #include <ac_nonexistent.h>
2967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2970 grep -v '^ *+' conftest.er1 >conftest.err
2972 cat conftest.err >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } >/dev/null; then
2975 if test -s conftest.err; then
2976 ac_cpp_err=$ac_c_preproc_warn_flag
2983 if test -z "$ac_cpp_err"; then
2984 # Broken: success on invalid input.
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 # Passes both tests.
2994 rm -f conftest.err conftest.$ac_ext
2997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2998 rm -f conftest.err conftest.$ac_ext
2999 if $ac_preproc_ok; then
3011 echo "$as_me:$LINENO: result: $CPP" >&5
3012 echo "${ECHO_T}$CPP" >&6
3014 for ac_c_preproc_warn_flag in '' yes
3016 # Use a header file that comes with gcc, so configuring glibc
3017 # with a fresh cross-compiler works.
3018 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3019 # <limits.h> exists even on freestanding compilers.
3020 # On the NeXT, cc -E runs the code through the compiler's parser,
3021 # not just through cpp. "Syntax error" is here to catch this case.
3022 cat >conftest.$ac_ext <<_ACEOF
3023 #line $LINENO "configure"
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3030 # include <limits.h>
3032 # include <assert.h>
3036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3039 grep -v '^ *+' conftest.er1 >conftest.err
3041 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } >/dev/null; then
3044 if test -s conftest.err; then
3045 ac_cpp_err=$ac_c_preproc_warn_flag
3052 if test -z "$ac_cpp_err"; then
3055 echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 # Broken: fails on valid input.
3061 rm -f conftest.err conftest.$ac_ext
3063 # OK, works on sane cases. Now check whether non-existent headers
3064 # can be detected and how.
3065 cat >conftest.$ac_ext <<_ACEOF
3066 #line $LINENO "configure"
3069 cat confdefs.h >>conftest.$ac_ext
3070 cat >>conftest.$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3072 #include <ac_nonexistent.h>
3074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3077 grep -v '^ *+' conftest.er1 >conftest.err
3079 cat conftest.err >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } >/dev/null; then
3082 if test -s conftest.err; then
3083 ac_cpp_err=$ac_c_preproc_warn_flag
3090 if test -z "$ac_cpp_err"; then
3091 # Broken: success on invalid input.
3094 echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 # Passes both tests.
3101 rm -f conftest.err conftest.$ac_ext
3104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3105 rm -f conftest.err conftest.$ac_ext
3106 if $ac_preproc_ok; then
3109 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3110 See \`config.log' for more details." >&5
3111 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3112 See \`config.log' for more details." >&2;}
3113 { (exit 1); exit 1; }; }
3117 ac_cpp='$CPP $CPPFLAGS'
3118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3123 echo "$as_me:$LINENO: checking for egrep" >&5
3124 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3125 if test "${ac_cv_prog_egrep+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3129 then ac_cv_prog_egrep='grep -E'
3130 else ac_cv_prog_egrep='egrep'
3133 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3134 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3135 EGREP=$ac_cv_prog_egrep
3139 echo "$as_me:$LINENO: checking for AIX" >&5
3140 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3141 cat >conftest.$ac_ext <<_ACEOF
3142 #line $LINENO "configure"
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3154 $EGREP "yes" >/dev/null 2>&1; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3157 cat >>confdefs.h <<\_ACEOF
3158 #define _ALL_SOURCE 1
3162 echo "$as_me:$LINENO: result: no" >&5
3163 echo "${ECHO_T}no" >&6
3168 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3169 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3170 if test "${ac_cv_header_stdc+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3173 cat >conftest.$ac_ext <<_ACEOF
3174 #line $LINENO "configure"
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3193 rm -f conftest.$ac_objext
3194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195 (eval $ac_compile) 2>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } &&
3199 { ac_try='test -s conftest.$ac_objext'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then
3205 ac_cv_header_stdc=yes
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 ac_cv_header_stdc=no
3212 rm -f conftest.$ac_objext conftest.$ac_ext
3214 if test $ac_cv_header_stdc = yes; then
3215 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3216 cat >conftest.$ac_ext <<_ACEOF
3217 #line $LINENO "configure"
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3227 $EGREP "memchr" >/dev/null 2>&1; then
3230 ac_cv_header_stdc=no
3236 if test $ac_cv_header_stdc = yes; then
3237 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3238 cat >conftest.$ac_ext <<_ACEOF
3239 #line $LINENO "configure"
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3249 $EGREP "free" >/dev/null 2>&1; then
3252 ac_cv_header_stdc=no
3258 if test $ac_cv_header_stdc = yes; then
3259 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3260 if test "$cross_compiling" = yes; then
3263 cat >conftest.$ac_ext <<_ACEOF
3264 #line $LINENO "configure"
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3271 #if ((' ' & 0x0FF) == 0x020)
3272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3275 # define ISLOWER(c) \
3276 (('a' <= (c) && (c) <= 'i') \
3277 || ('j' <= (c) && (c) <= 'r') \
3278 || ('s' <= (c) && (c) <= 'z'))
3279 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3287 for (i = 0; i < 256; i++)
3288 if (XOR (islower (i), ISLOWER (i))
3289 || toupper (i) != TOUPPER (i))
3294 rm -f conftest$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3307 echo "$as_me: program exited with status $ac_status" >&5
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3312 ac_cv_header_stdc=no
3314 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3318 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3319 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3320 if test $ac_cv_header_stdc = yes; then
3322 cat >>confdefs.h <<\_ACEOF
3323 #define STDC_HEADERS 1
3328 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3338 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3339 inttypes.h stdint.h unistd.h
3341 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3342 echo "$as_me:$LINENO: checking for $ac_header" >&5
3343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 cat >conftest.$ac_ext <<_ACEOF
3348 #line $LINENO "configure"
3351 cat confdefs.h >>conftest.$ac_ext
3352 cat >>conftest.$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3354 $ac_includes_default
3356 #include <$ac_header>
3358 rm -f conftest.$ac_objext
3359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3360 (eval $ac_compile) 2>&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); } &&
3364 { ac_try='test -s conftest.$ac_objext'
3365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); }; }; then
3370 eval "$as_ac_Header=yes"
3372 echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.$ac_ext >&5
3375 eval "$as_ac_Header=no"
3377 rm -f conftest.$ac_objext conftest.$ac_ext
3379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3382 cat >>confdefs.h <<_ACEOF
3383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3391 if test "${ac_cv_header_minix_config_h+set}" = set; then
3392 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3393 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3394 if test "${ac_cv_header_minix_config_h+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3398 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3400 # Is the header compilable?
3401 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3402 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3403 cat >conftest.$ac_ext <<_ACEOF
3404 #line $LINENO "configure"
3407 cat confdefs.h >>conftest.$ac_ext
3408 cat >>conftest.$ac_ext <<_ACEOF
3409 /* end confdefs.h. */
3410 $ac_includes_default
3411 #include <minix/config.h>
3413 rm -f conftest.$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try='test -s conftest.$ac_objext'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; }; then
3425 ac_header_compiler=yes
3427 echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.$ac_ext >&5
3430 ac_header_compiler=no
3432 rm -f conftest.$ac_objext conftest.$ac_ext
3433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3434 echo "${ECHO_T}$ac_header_compiler" >&6
3436 # Is the header present?
3437 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3438 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3439 cat >conftest.$ac_ext <<_ACEOF
3440 #line $LINENO "configure"
3443 cat confdefs.h >>conftest.$ac_ext
3444 cat >>conftest.$ac_ext <<_ACEOF
3445 /* end confdefs.h. */
3446 #include <minix/config.h>
3448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3451 grep -v '^ *+' conftest.er1 >conftest.err
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } >/dev/null; then
3456 if test -s conftest.err; then
3457 ac_cpp_err=$ac_c_preproc_warn_flag
3464 if test -z "$ac_cpp_err"; then
3465 ac_header_preproc=yes
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.$ac_ext >&5
3470 ac_header_preproc=no
3472 rm -f conftest.err conftest.$ac_ext
3473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3474 echo "${ECHO_T}$ac_header_preproc" >&6
3476 # So? What about this header?
3477 case $ac_header_compiler:$ac_header_preproc in
3479 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3480 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3481 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3482 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3485 ## ------------------------------------ ##
3486 ## Report this to bug-autoconf@gnu.org. ##
3487 ## ------------------------------------ ##
3490 sed "s/^/$as_me: WARNING: /" >&2
3493 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3494 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3495 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3496 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3497 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3498 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3501 ## ------------------------------------ ##
3502 ## Report this to bug-autoconf@gnu.org. ##
3503 ## ------------------------------------ ##
3506 sed "s/^/$as_me: WARNING: /" >&2
3509 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3510 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3511 if test "${ac_cv_header_minix_config_h+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 ac_cv_header_minix_config_h=$ac_header_preproc
3516 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3517 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3520 if test $ac_cv_header_minix_config_h = yes; then
3527 if test "$MINIX" = yes; then
3529 cat >>confdefs.h <<\_ACEOF
3530 #define _POSIX_SOURCE 1
3534 cat >>confdefs.h <<\_ACEOF
3535 #define _POSIX_1_SOURCE 2
3539 cat >>confdefs.h <<\_ACEOF
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3554 echo "$as_me:$LINENO: checking for $ac_word" >&5
3555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3556 if test "${ac_cv_prog_CC+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3569 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 if test -n "$CC"; then
3580 echo "$as_me:$LINENO: result: $CC" >&5
3581 echo "${ECHO_T}$CC" >&6
3583 echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6
3588 if test -z "$ac_cv_prog_CC"; then
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 echo "$as_me:$LINENO: checking for $ac_word" >&5
3593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3617 if test -n "$ac_ct_CC"; then
3618 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3619 echo "${ECHO_T}$ac_ct_CC" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3630 if test -z "$CC"; then
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}cc; ac_word=$2
3634 echo "$as_me:$LINENO: checking for $ac_word" >&5
3635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3636 if test "${ac_cv_prog_CC+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3649 ac_cv_prog_CC="${ac_tool_prefix}cc"
3650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 if test -n "$CC"; then
3660 echo "$as_me:$LINENO: result: $CC" >&5
3661 echo "${ECHO_T}$CC" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3668 if test -z "$ac_cv_prog_CC"; then
3670 # Extract the first word of "cc", so it can be a program name with args.
3671 set dummy cc; ac_word=$2
3672 echo "$as_me:$LINENO: checking for $ac_word" >&5
3673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3674 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_CC="cc"
3688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3697 if test -n "$ac_ct_CC"; then
3698 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3699 echo "${ECHO_T}$ac_ct_CC" >&6
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3711 if test -z "$CC"; then
3712 # Extract the first word of "cc", so it can be a program name with args.
3713 set dummy cc; ac_word=$2
3714 echo "$as_me:$LINENO: checking for $ac_word" >&5
3715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3716 if test "${ac_cv_prog_CC+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 if test -n "$CC"; then
3720 ac_cv_prog_CC="$CC" # Let the user override the test.
3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 test -z "$as_dir" && as_dir=.
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3730 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3731 ac_prog_rejected=yes
3735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 if test $ac_prog_rejected = yes; then
3742 # We found a bogon in the path, so make sure we never use it.
3743 set dummy $ac_cv_prog_CC
3745 if test $# != 0; then
3746 # We chose a different compiler from the bogus one.
3747 # However, it has the same basename, so the bogon will be chosen
3748 # first if we set CC to just the basename; use the full file name.
3750 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3756 if test -n "$CC"; then
3757 echo "$as_me:$LINENO: result: $CC" >&5
3758 echo "${ECHO_T}$CC" >&6
3760 echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 echo "$as_me:$LINENO: checking for $ac_word" >&5
3772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3773 if test "${ac_cv_prog_CC+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 if test -n "$CC"; then
3797 echo "$as_me:$LINENO: result: $CC" >&5
3798 echo "${ECHO_T}$CC" >&6
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3804 test -n "$CC" && break
3807 if test -z "$CC"; then
3811 # Extract the first word of "$ac_prog", so it can be a program name with args.
3812 set dummy $ac_prog; ac_word=$2
3813 echo "$as_me:$LINENO: checking for $ac_word" >&5
3814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 if test -n "$ac_ct_CC"; then
3819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_ac_ct_CC="$ac_prog"
3829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3838 if test -n "$ac_ct_CC"; then
3839 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3840 echo "${ECHO_T}$ac_ct_CC" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3846 test -n "$ac_ct_CC" && break
3855 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3856 See \`config.log' for more details." >&5
3857 echo "$as_me: error: no acceptable C compiler found in \$PATH
3858 See \`config.log' for more details." >&2;}
3859 { (exit 1); exit 1; }; }
3861 # Provide some information about the compiler.
3862 echo "$as_me:$LINENO:" \
3863 "checking for C compiler version" >&5
3864 ac_compiler=`set X $ac_compile; echo $2`
3865 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3866 (eval $ac_compiler --version </dev/null >&5) 2>&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }
3870 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3871 (eval $ac_compiler -v </dev/null >&5) 2>&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }
3875 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3876 (eval $ac_compiler -V </dev/null >&5) 2>&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }
3881 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3882 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3883 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 cat >conftest.$ac_ext <<_ACEOF
3887 #line $LINENO "configure"
3890 cat confdefs.h >>conftest.$ac_ext
3891 cat >>conftest.$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3905 rm -f conftest.$ac_objext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907 (eval $ac_compile) 2>&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try='test -s conftest.$ac_objext'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; }; then
3919 echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3924 rm -f conftest.$ac_objext conftest.$ac_ext
3925 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3928 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3929 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3930 GCC=`test $ac_compiler_gnu = yes && echo yes`
3931 ac_test_CFLAGS=${CFLAGS+set}
3932 ac_save_CFLAGS=$CFLAGS
3934 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3935 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3936 if test "${ac_cv_prog_cc_g+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 cat >conftest.$ac_ext <<_ACEOF
3940 #line $LINENO "configure"
3943 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3955 rm -f conftest.$ac_objext
3956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3957 (eval $ac_compile) 2>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } &&
3961 { ac_try='test -s conftest.$ac_objext'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; }; then
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3974 rm -f conftest.$ac_objext conftest.$ac_ext
3976 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3977 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3978 if test "$ac_test_CFLAGS" = set; then
3979 CFLAGS=$ac_save_CFLAGS
3980 elif test $ac_cv_prog_cc_g = yes; then
3981 if test "$GCC" = yes; then
3987 if test "$GCC" = yes; then
3993 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3994 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3995 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 ac_cv_prog_cc_stdc=no
4000 cat >conftest.$ac_ext <<_ACEOF
4001 #line $LINENO "configure"
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4009 #include <sys/types.h>
4010 #include <sys/stat.h>
4011 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4012 struct buf { int x; };
4013 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4014 static char *e (p, i)
4020 static char *f (char * (*g) (char **, int), char **p, ...)
4025 s = g (p, va_arg (v,int));
4029 int test (int i, double x);
4030 struct s1 {int (*f) (int a);};
4031 struct s2 {int (*f) (double a);};
4032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4043 # Don't try gcc -ansi; that turns off useful extensions and
4044 # breaks some systems' header files.
4045 # AIX -qlanglvl=ansi
4046 # Ultrix and OSF/1 -std1
4047 # HP-UX 10.20 and later -Ae
4048 # HP-UX older versions -Aa -D_HPUX_SOURCE
4049 # SVR4 -Xc -D__EXTENSIONS__
4050 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4052 CC="$ac_save_CC $ac_arg"
4053 rm -f conftest.$ac_objext
4054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4055 (eval $ac_compile) 2>&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } &&
4059 { ac_try='test -s conftest.$ac_objext'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 ac_cv_prog_cc_stdc=$ac_arg
4068 echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4072 rm -f conftest.$ac_objext
4074 rm -f conftest.$ac_ext conftest.$ac_objext
4079 case "x$ac_cv_prog_cc_stdc" in
4081 echo "$as_me:$LINENO: result: none needed" >&5
4082 echo "${ECHO_T}none needed" >&6 ;;
4084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4085 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4086 CC="$CC $ac_cv_prog_cc_stdc" ;;
4089 # Some people use a C++ compiler to compile C. Since we use `exit',
4090 # in C++ we need to declare it. In case someone uses the same compiler
4091 # for both compiling C and C++ we need to have the C++ compiler decide
4092 # the declaration of exit, since it's the most demanding environment.
4093 cat >conftest.$ac_ext <<_ACEOF
4098 rm -f conftest.$ac_objext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4100 (eval $ac_compile) 2>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } &&
4104 { ac_try='test -s conftest.$ac_objext'
4105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }; }; then
4110 for ac_declaration in \
4112 '#include <stdlib.h>' \
4113 'extern "C" void std::exit (int) throw (); using std::exit;' \
4114 'extern "C" void std::exit (int); using std::exit;' \
4115 'extern "C" void exit (int) throw ();' \
4116 'extern "C" void exit (int);' \
4119 cat >conftest.$ac_ext <<_ACEOF
4120 #line $LINENO "configure"
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4136 rm -f conftest.$ac_objext
4137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4138 (eval $ac_compile) 2>&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } &&
4142 { ac_try='test -s conftest.$ac_objext'
4143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); }; }; then
4150 echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.$ac_ext >&5
4155 rm -f conftest.$ac_objext conftest.$ac_ext
4156 cat >conftest.$ac_ext <<_ACEOF
4157 #line $LINENO "configure"
4160 cat confdefs.h >>conftest.$ac_ext
4161 cat >>conftest.$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4172 rm -f conftest.$ac_objext
4173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4174 (eval $ac_compile) 2>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } &&
4178 { ac_try='test -s conftest.$ac_objext'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; }; then
4186 echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.$ac_ext >&5
4190 rm -f conftest.$ac_objext conftest.$ac_ext
4193 if test -n "$ac_declaration"; then
4194 echo '#ifdef __cplusplus' >>confdefs.h
4195 echo $ac_declaration >>confdefs.h
4196 echo '#endif' >>confdefs.h
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4204 rm -f conftest.$ac_objext conftest.$ac_ext
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4211 depcc="$CC" am_compiler_list=
4213 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4214 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4215 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4219 # We make a subdir and do the tests there. Otherwise we can end up
4220 # making bogus files that we don't know about and never remove. For
4221 # instance it was reported that on HP-UX the gcc test will end up
4222 # making a dummy file named `D' -- because `-MD' means `put the output
4225 # Copy depcomp to subdir because otherwise we won't find it if we're
4226 # using a relative directory.
4227 cp "$am_depcomp" conftest.dir
4229 # We will build objects and dependencies in a subdirectory because
4230 # it helps to detect inapplicable dependency modes. For instance
4231 # both Tru64's cc and ICC support -MD to output dependencies as a
4232 # side effect of compilation, but ICC will put the dependencies in
4233 # the current directory while Tru64 will put them in the object
4237 am_cv_CC_dependencies_compiler_type=none
4238 if test "$am_compiler_list" = ""; then
4239 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4241 for depmode in $am_compiler_list; do
4242 # Setup a source with many dependencies, because some compilers
4243 # like to wrap large dependency lists on column 80 (with \), and
4244 # we should not choose a depcomp mode which is confused by this.
4246 # We need to recreate these files for each test, as the compiler may
4247 # overwrite some of them when testing with obscure command lines.
4248 # This happens at least with the AIX C compiler.
4250 for i in 1 2 3 4 5 6; do
4251 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4254 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4258 # after this tag, mechanisms are not by side-effect, so they'll
4259 # only be used when explicitly requested
4260 if test "x$enable_dependency_tracking" = xyes; then
4268 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4269 # mode. It turns out that the SunPro C++ compiler does not properly
4270 # handle `-M -o', and we need to detect this.
4271 if depmode=$depmode \
4272 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4273 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4274 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4275 >/dev/null 2>conftest.err &&
4276 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4277 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4278 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4279 # icc doesn't choke on unknown options, it will just issue warnings
4280 # (even with -Werror). So we grep stderr for any message
4281 # that says an option was ignored.
4282 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4283 am_cv_CC_dependencies_compiler_type=$depmode
4292 am_cv_CC_dependencies_compiler_type=none
4296 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4297 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4298 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4303 test "x$enable_dependency_tracking" != xno \
4304 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4306 am__fastdepCC_FALSE='#'
4308 am__fastdepCC_TRUE='#'
4309 am__fastdepCC_FALSE=
4315 ac_cpp='$CPP $CPPFLAGS'
4316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4320 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4321 # On Suns, sometimes $CPP names a directory.
4322 if test -n "$CPP" && test -d "$CPP"; then
4325 if test -z "$CPP"; then
4326 if test "${ac_cv_prog_CPP+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 # Double quotes because CPP needs to be expanded
4330 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4333 for ac_c_preproc_warn_flag in '' yes
4335 # Use a header file that comes with gcc, so configuring glibc
4336 # with a fresh cross-compiler works.
4337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 # <limits.h> exists even on freestanding compilers.
4339 # On the NeXT, cc -E runs the code through the compiler's parser,
4340 # not just through cpp. "Syntax error" is here to catch this case.
4341 cat >conftest.$ac_ext <<_ACEOF
4342 #line $LINENO "configure"
4345 cat confdefs.h >>conftest.$ac_ext
4346 cat >>conftest.$ac_ext <<_ACEOF
4347 /* end confdefs.h. */
4349 # include <limits.h>
4351 # include <assert.h>
4355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4358 grep -v '^ *+' conftest.er1 >conftest.err
4360 cat conftest.err >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } >/dev/null; then
4363 if test -s conftest.err; then
4364 ac_cpp_err=$ac_c_preproc_warn_flag
4371 if test -z "$ac_cpp_err"; then
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.$ac_ext >&5
4377 # Broken: fails on valid input.
4380 rm -f conftest.err conftest.$ac_ext
4382 # OK, works on sane cases. Now check whether non-existent headers
4383 # can be detected and how.
4384 cat >conftest.$ac_ext <<_ACEOF
4385 #line $LINENO "configure"
4388 cat confdefs.h >>conftest.$ac_ext
4389 cat >>conftest.$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4391 #include <ac_nonexistent.h>
4393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } >/dev/null; then
4401 if test -s conftest.err; then
4402 ac_cpp_err=$ac_c_preproc_warn_flag
4409 if test -z "$ac_cpp_err"; then
4410 # Broken: success on invalid input.
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.$ac_ext >&5
4416 # Passes both tests.
4420 rm -f conftest.err conftest.$ac_ext
4423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4424 rm -f conftest.err conftest.$ac_ext
4425 if $ac_preproc_ok; then
4437 echo "$as_me:$LINENO: result: $CPP" >&5
4438 echo "${ECHO_T}$CPP" >&6
4440 for ac_c_preproc_warn_flag in '' yes
4442 # Use a header file that comes with gcc, so configuring glibc
4443 # with a fresh cross-compiler works.
4444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4445 # <limits.h> exists even on freestanding compilers.
4446 # On the NeXT, cc -E runs the code through the compiler's parser,
4447 # not just through cpp. "Syntax error" is here to catch this case.
4448 cat >conftest.$ac_ext <<_ACEOF
4449 #line $LINENO "configure"
4452 cat confdefs.h >>conftest.$ac_ext
4453 cat >>conftest.$ac_ext <<_ACEOF
4454 /* end confdefs.h. */
4456 # include <limits.h>
4458 # include <assert.h>
4462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4465 grep -v '^ *+' conftest.er1 >conftest.err
4467 cat conftest.err >&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } >/dev/null; then
4470 if test -s conftest.err; then
4471 ac_cpp_err=$ac_c_preproc_warn_flag
4478 if test -z "$ac_cpp_err"; then
4481 echo "$as_me: failed program was:" >&5
4482 sed 's/^/| /' conftest.$ac_ext >&5
4484 # Broken: fails on valid input.
4487 rm -f conftest.err conftest.$ac_ext
4489 # OK, works on sane cases. Now check whether non-existent headers
4490 # can be detected and how.
4491 cat >conftest.$ac_ext <<_ACEOF
4492 #line $LINENO "configure"
4495 cat confdefs.h >>conftest.$ac_ext
4496 cat >>conftest.$ac_ext <<_ACEOF
4497 /* end confdefs.h. */
4498 #include <ac_nonexistent.h>
4500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4503 grep -v '^ *+' conftest.er1 >conftest.err
4505 cat conftest.err >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } >/dev/null; then
4508 if test -s conftest.err; then
4509 ac_cpp_err=$ac_c_preproc_warn_flag
4516 if test -z "$ac_cpp_err"; then
4517 # Broken: success on invalid input.
4520 echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4523 # Passes both tests.
4527 rm -f conftest.err conftest.$ac_ext
4530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4531 rm -f conftest.err conftest.$ac_ext
4532 if $ac_preproc_ok; then
4535 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4536 See \`config.log' for more details." >&5
4537 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4538 See \`config.log' for more details." >&2;}
4539 { (exit 1); exit 1; }; }
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551 CFLAGS="$CFLAGS -Dfork=vfork -DSYS_AMIGA"
4554 CFLAGS="$CFLAGS -DSYS_CYGWIN32"
4559 CFLAGS="$CFLAGS -Wc,+abi-socket"
4564 CPPFLAGS="$CPPFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB"
4565 LDFLAGS="$LDFLAGS -L/SYSLOG/PUB"
4566 LIBS="$LIBS -lcurses"
4570 echo "$as_me:$LINENO: checking if we should use /dev/clockctl" >&5
4571 echo $ECHO_N "checking if we should use /dev/clockctl... $ECHO_C" >&6
4572 if test "${ac_clockctl+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 # Check whether --enable-clockctl or --disable-clockctl was given.
4576 if test "${enable_clockctl+set}" = set; then
4577 enableval="$enable_clockctl"
4591 echo "$as_me:$LINENO: result: $ac_clockctl" >&5
4592 echo "${ECHO_T}$ac_clockctl" >&6
4593 # End of AC_CACHE_CHECK for clockctl
4595 for ac_header in sys/clockctl.h
4597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4599 echo "$as_me:$LINENO: checking for $ac_header" >&5
4600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4607 # Is the header compilable?
4608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4610 cat >conftest.$ac_ext <<_ACEOF
4611 #line $LINENO "configure"
4614 cat confdefs.h >>conftest.$ac_ext
4615 cat >>conftest.$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 $ac_includes_default
4618 #include <$ac_header>
4620 rm -f conftest.$ac_objext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } &&
4626 { ac_try='test -s conftest.$ac_objext'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; }; then
4632 ac_header_compiler=yes
4634 echo "$as_me: failed program was:" >&5
4635 sed 's/^/| /' conftest.$ac_ext >&5
4637 ac_header_compiler=no
4639 rm -f conftest.$ac_objext conftest.$ac_ext
4640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4641 echo "${ECHO_T}$ac_header_compiler" >&6
4643 # Is the header present?
4644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4646 cat >conftest.$ac_ext <<_ACEOF
4647 #line $LINENO "configure"
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4653 #include <$ac_header>
4655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } >/dev/null; then
4663 if test -s conftest.err; then
4664 ac_cpp_err=$ac_c_preproc_warn_flag
4671 if test -z "$ac_cpp_err"; then
4672 ac_header_preproc=yes
4674 echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 ac_header_preproc=no
4679 rm -f conftest.err conftest.$ac_ext
4680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4681 echo "${ECHO_T}$ac_header_preproc" >&6
4683 # So? What about this header?
4684 case $ac_header_compiler:$ac_header_preproc in
4686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4692 ## ------------------------------------ ##
4693 ## Report this to bug-autoconf@gnu.org. ##
4694 ## ------------------------------------ ##
4697 sed "s/^/$as_me: WARNING: /" >&2
4700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4708 ## ------------------------------------ ##
4709 ## Report this to bug-autoconf@gnu.org. ##
4710 ## ------------------------------------ ##
4713 sed "s/^/$as_me: WARNING: /" >&2
4716 echo "$as_me:$LINENO: checking for $ac_header" >&5
4717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 eval "$as_ac_Header=$ac_header_preproc"
4723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4728 cat >>confdefs.h <<_ACEOF
4729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4736 case "$ac_clockctl$ac_cv_header_sys_clockctl_h" in
4739 cat >>confdefs.h <<\_ACEOF
4740 #define HAVE_CLOCKCTL
4751 # Quick and dirty sanity check
4752 case "$VX_KERNEL" in
4753 '') { { echo "$as_me:$LINENO: error: Please follow the directions in html/vxworks.html!" >&5
4754 echo "$as_me: error: Please follow the directions in html/vxworks.html!" >&2;}
4755 { (exit 1); exit 1; }; }
4758 CFLAGS="$CFLAGS -DSYS_VXWORKS"
4764 for ac_prog in gawk mawk nawk awk
4766 # Extract the first word of "$ac_prog", so it can be a program name with args.
4767 set dummy $ac_prog; ac_word=$2
4768 echo "$as_me:$LINENO: checking for $ac_word" >&5
4769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4770 if test "${ac_cv_prog_AWK+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 if test -n "$AWK"; then
4774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783 ac_cv_prog_AWK="$ac_prog"
4784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 if test -n "$AWK"; then
4794 echo "$as_me:$LINENO: result: $AWK" >&5
4795 echo "${ECHO_T}$AWK" >&6
4797 echo "$as_me:$LINENO: result: no" >&5
4798 echo "${ECHO_T}no" >&6
4801 test -n "$AWK" && break
4804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 cat >conftest.make <<\_ACEOF
4812 @echo 'ac_maketemp="$(MAKE)"'
4814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4816 if test -n "$ac_maketemp"; then
4817 eval ac_cv_prog_make_${ac_make}_set=yes
4819 eval ac_cv_prog_make_${ac_make}_set=no
4823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4824 echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4830 SET_MAKE="MAKE=${MAKE-make}"
4838 CFLAGS="$CFLAGS -Wall"
4839 # CFLAGS="$CFLAGS -Wcast-align"
4840 CFLAGS="$CFLAGS -Wcast-qual"
4841 # CFLAGS="$CFLAGS -Wconversion"
4842 # CFLAGS="$CFLAGS -Werror"
4843 CFLAGS="$CFLAGS -Wmissing-prototypes"
4844 CFLAGS="$CFLAGS -Wpointer-arith"
4845 CFLAGS="$CFLAGS -Wshadow"
4846 CFLAGS="$CFLAGS -Wstrict-prototypes"
4847 # CFLAGS="$CFLAGS -Wtraditional"
4848 # CFLAGS="$CFLAGS -Wwrite-strings"
4853 ac_busted_vpath_in_make=no
4857 CFLAGS="$CFLAGS -posix"
4859 *-*-irix6.1*) # 64 bit only
4862 *-*-irix6*) # 6.2 (and later?)
4863 ac_busted_vpath_in_make=yes
4864 # don't pass -n32 to gcc, it cannot handle and doesn't need it
4865 if test "$GCC" != yes; then
4870 *) case "$iCFLAGS" in
4871 '') CFLAGS="-O2 -g3 -n32" ;;
4872 *) CFLAGS="$CFLAGS -n32" ;;
4880 *) LDFLAGS="$LDFLAGS -n32" ;;
4885 ac_busted_vpath_in_make=yes
4888 ac_busted_vpath_in_make=yes
4892 case "$ac_busted_vpath_in_make$srcdir" in
4895 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in
4897 { { echo "$as_me:$LINENO: error: building outside of the main directory requires GNU make" >&5
4898 echo "$as_me: error: building outside of the main directory requires GNU make" >&2;}
4899 { (exit 1); exit 1; }; }
4907 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4910 if test "$LN_S" = "ln -s"; then
4911 echo "$as_me:$LINENO: result: yes" >&5
4912 echo "${ECHO_T}yes" >&6
4914 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4915 echo "${ECHO_T}no, using $LN_S" >&6
4918 if test $ac_cv_c_compiler_gnu = yes; then
4919 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4920 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4921 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 ac_pattern="Autoconf.*'x'"
4925 cat >conftest.$ac_ext <<_ACEOF
4926 #line $LINENO "configure"
4929 cat confdefs.h >>conftest.$ac_ext
4930 cat >>conftest.$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4936 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4937 ac_cv_prog_gcc_traditional=yes
4939 ac_cv_prog_gcc_traditional=no
4944 if test $ac_cv_prog_gcc_traditional = no; then
4945 cat >conftest.$ac_ext <<_ACEOF
4946 #line $LINENO "configure"
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4956 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4957 ac_cv_prog_gcc_traditional=yes
4963 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4964 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4965 if test $ac_cv_prog_gcc_traditional = yes; then
4966 CC="$CC -traditional"
4970 echo "$as_me:$LINENO: checking for working volatile" >&5
4971 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4972 if test "${ac_cv_c_volatile+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 cat >conftest.$ac_ext <<_ACEOF
4976 #line $LINENO "configure"
4979 cat confdefs.h >>conftest.$ac_ext
4980 cat >>conftest.$ac_ext <<_ACEOF
4981 /* end confdefs.h. */
4993 rm -f conftest.$ac_objext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4995 (eval $ac_compile) 2>&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try='test -s conftest.$ac_objext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 ac_cv_c_volatile=yes
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.$ac_ext >&5
5012 rm -f conftest.$ac_objext conftest.$ac_ext
5014 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
5015 echo "${ECHO_T}$ac_cv_c_volatile" >&6
5016 if test $ac_cv_c_volatile = no; then
5018 cat >>confdefs.h <<\_ACEOF
5024 echo "$as_me:$LINENO: checking for library containing strerror" >&5
5025 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
5026 if test "${ac_cv_search_strerror+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 ac_func_search_save_LIBS=$LIBS
5030 ac_cv_search_strerror=no
5031 cat >conftest.$ac_ext <<_ACEOF
5032 #line $LINENO "configure"
5035 cat confdefs.h >>conftest.$ac_ext
5036 cat >>conftest.$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5039 /* Override any gcc2 internal prototype to avoid an error. */
5043 /* We use char because int might match the return type of a gcc2
5044 builtin and then its argument prototype would still apply. */
5054 rm -f conftest.$ac_objext conftest$ac_exeext
5055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5056 (eval $ac_link) 2>&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } &&
5060 { ac_try='test -s conftest$ac_exeext'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then
5066 ac_cv_search_strerror="none required"
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5073 if test "$ac_cv_search_strerror" = no; then
5074 for ac_lib in cposix; do
5075 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5076 cat >conftest.$ac_ext <<_ACEOF
5077 #line $LINENO "configure"
5080 cat confdefs.h >>conftest.$ac_ext
5081 cat >>conftest.$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5084 /* Override any gcc2 internal prototype to avoid an error. */
5088 /* We use char because int might match the return type of a gcc2
5089 builtin and then its argument prototype would still apply. */
5099 rm -f conftest.$ac_objext conftest$ac_exeext
5100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5101 (eval $ac_link) 2>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try='test -s conftest$ac_exeext'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; }; then
5111 ac_cv_search_strerror="-l$ac_lib"
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5121 LIBS=$ac_func_search_save_LIBS
5123 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
5124 echo "${ECHO_T}$ac_cv_search_strerror" >&6
5125 if test "$ac_cv_search_strerror" != no; then
5126 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5133 echo "$as_me:$LINENO: checking for $ac_word" >&5
5134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5135 if test "${ac_cv_prog_RANLIB+set}" = set; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 if test -n "$RANLIB"; then
5139 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 RANLIB=$ac_cv_prog_RANLIB
5158 if test -n "$RANLIB"; then
5159 echo "$as_me:$LINENO: result: $RANLIB" >&5
5160 echo "${ECHO_T}$RANLIB" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5167 if test -z "$ac_cv_prog_RANLIB"; then
5168 ac_ct_RANLIB=$RANLIB
5169 # Extract the first word of "ranlib", so it can be a program name with args.
5170 set dummy ranlib; ac_word=$2
5171 echo "$as_me:$LINENO: checking for $ac_word" >&5
5172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5173 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 if test -n "$ac_ct_RANLIB"; then
5177 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_RANLIB="ranlib"
5187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5196 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5197 if test -n "$ac_ct_RANLIB"; then
5198 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5199 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5201 echo "$as_me:$LINENO: result: no" >&5
5202 echo "${ECHO_T}no" >&6
5205 RANLIB=$ac_ct_RANLIB
5207 RANLIB="$ac_cv_prog_RANLIB"
5210 # Extract the first word of "sh", so it can be a program name with args.
5211 set dummy sh; ac_word=$2
5212 echo "$as_me:$LINENO: checking for $ac_word" >&5
5213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5214 if test "${ac_cv_path_PATH_SH+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path.
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_path_PATH_SH="$as_dir/$ac_word$ac_exec_ext"
5230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 PATH_SH=$ac_cv_path_PATH_SH
5241 if test -n "$PATH_SH"; then
5242 echo "$as_me:$LINENO: result: $PATH_SH" >&5
5243 echo "${ECHO_T}$PATH_SH" >&6
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5249 # Extract the first word of "perl", so it can be a program name with args.
5250 set dummy perl; ac_word=$2
5251 echo "$as_me:$LINENO: checking for $ac_word" >&5
5252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5253 if test "${ac_cv_path_PATH_PERL+set}" = set; then
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path.
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir=.
5266 for ac_exec_ext in '' $ac_executable_extensions; do
5267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_path_PATH_PERL="$as_dir/$ac_word$ac_exec_ext"
5269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 PATH_PERL=$ac_cv_path_PATH_PERL
5280 if test -n "$PATH_PERL"; then
5281 echo "$as_me:$LINENO: result: $PATH_PERL" >&5
5282 echo "${ECHO_T}$PATH_PERL" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5291 cat >conftest.$ac_ext <<_ACEOF
5292 #line $LINENO "configure"
5295 cat confdefs.h >>conftest.$ac_ext
5296 cat >>conftest.$ac_ext <<_ACEOF
5297 /* end confdefs.h. */
5298 #define ACAT(a,b)a ## b
5302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5303 $EGREP "Circus" >/dev/null 2>&1; then
5304 cat >>confdefs.h <<\_ACEOF
5305 #define ULONG_CONST(a) a ## UL
5309 cat >conftest.$ac_ext <<_ACEOF
5310 #line $LINENO "configure"
5313 cat confdefs.h >>conftest.$ac_ext
5314 cat >>conftest.$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5316 #define RCAT(a,b)a/**/b
5320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5321 $EGREP "Reiser" >/dev/null 2>&1; then
5322 cat >>confdefs.h <<\_ACEOF
5323 #define ULONG_CONST(a) a/**/L
5327 { { echo "$as_me:$LINENO: error: How do we create an unsigned long constant?" >&5
5328 echo "$as_me: error: How do we create an unsigned long constant?" >&2;}
5329 { (exit 1); exit 1; }; }
5339 ac_link="$ac_link $VX_KERNEL"
5343 # Find a good install program. We prefer a C program (faster),
5344 # so one script is as good as another. But avoid the broken or
5345 # incompatible versions:
5346 # SysV /etc/install, /usr/sbin/install
5347 # SunOS /usr/etc/install
5348 # IRIX /sbin/install
5350 # AmigaOS /C/install, which installs bootblocks on floppy discs
5351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5354 # ./install, which can be erroneously created by make from ./install.sh.
5355 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5356 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5357 if test -z "$INSTALL"; then
5358 if test "${ac_cv_path_install+set}" = set; then
5359 echo $ECHO_N "(cached) $ECHO_C" >&6
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir=.
5366 # Account for people who put trailing slashes in PATH elements.
5368 ./ | .// | /cC/* | \
5369 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5372 # OSF1 and SCO ODT 3.0 have their own names for install.
5373 # Don't use installbsd from OSF since it installs stuff as root
5375 for ac_prog in ginstall scoinst install; do
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5378 if test $ac_prog = install &&
5379 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5380 # AIX install. It has an incompatible calling convention.
5382 elif test $ac_prog = install &&
5383 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5384 # program-specific install script used by HP pwplus--don't use.
5387 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5399 if test "${ac_cv_path_install+set}" = set; then
5400 INSTALL=$ac_cv_path_install
5402 # As a last resort, use the slow shell script. We don't cache a
5403 # path for INSTALL within a source directory, because that will
5404 # break other packages using the cache if that directory is
5405 # removed, or if the path is relative.
5406 INSTALL=$ac_install_sh
5409 echo "$as_me:$LINENO: result: $INSTALL" >&5
5410 echo "${ECHO_T}$INSTALL" >&6
5412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5413 # It thinks the first close brace ends the variable substitution.
5414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5424 echo "$as_me:$LINENO: checking for main in -ladvapi32" >&5
5425 echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
5426 if test "${ac_cv_lib_advapi32_main+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 ac_check_lib_save_LIBS=$LIBS
5430 LIBS="-ladvapi32 $LIBS"
5431 cat >conftest.$ac_ext <<_ACEOF
5432 #line $LINENO "configure"
5435 cat confdefs.h >>conftest.$ac_ext
5436 cat >>conftest.$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5448 rm -f conftest.$ac_objext conftest$ac_exeext
5449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5450 (eval $ac_link) 2>&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); } &&
5454 { ac_try='test -s conftest$ac_exeext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5460 ac_cv_lib_advapi32_main=yes
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.$ac_ext >&5
5465 ac_cv_lib_advapi32_main=no
5467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5468 LIBS=$ac_check_lib_save_LIBS
5470 echo "$as_me:$LINENO: result: $ac_cv_lib_advapi32_main" >&5
5471 echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
5472 if test $ac_cv_lib_advapi32_main = yes; then
5473 cat >>confdefs.h <<_ACEOF
5474 #define HAVE_LIBADVAPI32 1
5477 LIBS="-ladvapi32 $LIBS"
5484 echo "$as_me:$LINENO: checking for nlist in -lelf" >&5
5485 echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6
5486 if test "${ac_cv_lib_elf_nlist+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 ac_check_lib_save_LIBS=$LIBS
5491 cat >conftest.$ac_ext <<_ACEOF
5492 #line $LINENO "configure"
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5499 /* Override any gcc2 internal prototype to avoid an error. */
5503 /* We use char because int might match the return type of a gcc2
5504 builtin and then its argument prototype would still apply. */
5514 rm -f conftest.$ac_objext conftest$ac_exeext
5515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5516 (eval $ac_link) 2>&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); } &&
5520 { ac_try='test -s conftest$ac_exeext'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; }; then
5526 ac_cv_lib_elf_nlist=yes
5528 echo "$as_me: failed program was:" >&5
5529 sed 's/^/| /' conftest.$ac_ext >&5
5531 ac_cv_lib_elf_nlist=no
5533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5534 LIBS=$ac_check_lib_save_LIBS
5536 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_nlist" >&5
5537 echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6
5538 if test $ac_cv_lib_elf_nlist = yes; then
5539 cat >>confdefs.h <<_ACEOF
5540 #define HAVE_LIBELF 1
5547 echo "$as_me:$LINENO: checking for main in -lkvm" >&5
5548 echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6
5549 if test "${ac_cv_lib_kvm_main+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 ac_check_lib_save_LIBS=$LIBS
5554 cat >conftest.$ac_ext <<_ACEOF
5555 #line $LINENO "configure"
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5573 (eval $ac_link) 2>&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } &&
5577 { ac_try='test -s conftest$ac_exeext'
5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; }; then
5583 ac_cv_lib_kvm_main=yes
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.$ac_ext >&5
5588 ac_cv_lib_kvm_main=no
5590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5591 LIBS=$ac_check_lib_save_LIBS
5593 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_main" >&5
5594 echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6
5595 if test $ac_cv_lib_kvm_main = yes; then
5596 cat >>confdefs.h <<_ACEOF
5597 #define HAVE_LIBKVM 1
5604 echo "$as_me:$LINENO: checking for nlist in -lld" >&5
5605 echo $ECHO_N "checking for nlist in -lld... $ECHO_C" >&6
5606 if test "${ac_cv_lib_ld_nlist+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 ac_check_lib_save_LIBS=$LIBS
5611 cat >conftest.$ac_ext <<_ACEOF
5612 #line $LINENO "configure"
5615 cat confdefs.h >>conftest.$ac_ext
5616 cat >>conftest.$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5619 /* Override any gcc2 internal prototype to avoid an error. */
5623 /* We use char because int might match the return type of a gcc2
5624 builtin and then its argument prototype would still apply. */
5634 rm -f conftest.$ac_objext conftest$ac_exeext
5635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5636 (eval $ac_link) 2>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try='test -s conftest$ac_exeext'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; }; then
5646 ac_cv_lib_ld_nlist=yes
5648 echo "$as_me: failed program was:" >&5
5649 sed 's/^/| /' conftest.$ac_ext >&5
5651 ac_cv_lib_ld_nlist=no
5653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5654 LIBS=$ac_check_lib_save_LIBS
5656 echo "$as_me:$LINENO: result: $ac_cv_lib_ld_nlist" >&5
5657 echo "${ECHO_T}$ac_cv_lib_ld_nlist" >&6
5658 if test $ac_cv_lib_ld_nlist = yes; then
5659 cat >>confdefs.h <<_ACEOF
5660 #define HAVE_LIBLD 1
5668 echo "$as_me:$LINENO: checking for nlist in -lmld" >&5
5669 echo $ECHO_N "checking for nlist in -lmld... $ECHO_C" >&6
5670 if test "${ac_cv_lib_mld_nlist+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 ac_check_lib_save_LIBS=$LIBS
5675 cat >conftest.$ac_ext <<_ACEOF
5676 #line $LINENO "configure"
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5683 /* Override any gcc2 internal prototype to avoid an error. */
5687 /* We use char because int might match the return type of a gcc2
5688 builtin and then its argument prototype would still apply. */
5698 rm -f conftest.$ac_objext conftest$ac_exeext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5700 (eval $ac_link) 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try='test -s conftest$ac_exeext'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; }; then
5710 ac_cv_lib_mld_nlist=yes
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 ac_cv_lib_mld_nlist=no
5717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5718 LIBS=$ac_check_lib_save_LIBS
5720 echo "$as_me:$LINENO: result: $ac_cv_lib_mld_nlist" >&5
5721 echo "${ECHO_T}$ac_cv_lib_mld_nlist" >&6
5722 if test $ac_cv_lib_mld_nlist = yes; then
5723 cat >>confdefs.h <<_ACEOF
5724 #define HAVE_LIBMLD 1
5731 echo "$as_me:$LINENO: checking for gethostent" >&5
5732 echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
5733 if test "${ac_cv_func_gethostent+set}" = set; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 cat >conftest.$ac_ext <<_ACEOF
5737 #line $LINENO "configure"
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 /* System header to define __stub macros and hopefully few prototypes,
5744 which can conflict with char gethostent (); below.
5745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5746 <limits.h> exists even on freestanding compilers. */
5748 # include <limits.h>
5750 # include <assert.h>
5752 /* Override any gcc2 internal prototype to avoid an error. */
5757 /* We use char because int might match the return type of a gcc2
5758 builtin and then its argument prototype would still apply. */
5760 /* The GNU C library defines this for functions which it implements
5761 to always fail with ENOSYS. Some functions are actually named
5762 something starting with __ and the normal name is an alias. */
5763 #if defined (__stub_gethostent) || defined (__stub___gethostent)
5766 char (*f) () = gethostent;
5775 return f != gethostent;
5780 rm -f conftest.$ac_objext conftest$ac_exeext
5781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5782 (eval $ac_link) 2>&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } &&
5786 { ac_try='test -s conftest$ac_exeext'
5787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); }; }; then
5792 ac_cv_func_gethostent=yes
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.$ac_ext >&5
5797 ac_cv_func_gethostent=no
5799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5801 echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
5802 echo "${ECHO_T}$ac_cv_func_gethostent" >&6
5803 if test $ac_cv_func_gethostent = yes; then
5807 echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
5808 echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
5809 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 ac_check_lib_save_LIBS=$LIBS
5813 LIBS="-lnsl -lsocket $LIBS"
5814 cat >conftest.$ac_ext <<_ACEOF
5815 #line $LINENO "configure"
5818 cat confdefs.h >>conftest.$ac_ext
5819 cat >>conftest.$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5822 /* Override any gcc2 internal prototype to avoid an error. */
5826 /* We use char because int might match the return type of a gcc2
5827 builtin and then its argument prototype would still apply. */
5837 rm -f conftest.$ac_objext conftest$ac_exeext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } &&
5843 { ac_try='test -s conftest$ac_exeext'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5849 ac_cv_lib_nsl_gethostent=yes
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 ac_cv_lib_nsl_gethostent=no
5856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5857 LIBS=$ac_check_lib_save_LIBS
5859 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
5860 echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
5861 if test $ac_cv_lib_nsl_gethostent = yes; then
5862 cat >>confdefs.h <<_ACEOF
5863 #define HAVE_LIBNSL 1
5872 echo "$as_me:$LINENO: checking for openlog" >&5
5873 echo $ECHO_N "checking for openlog... $ECHO_C" >&6
5874 if test "${ac_cv_func_openlog+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 cat >conftest.$ac_ext <<_ACEOF
5878 #line $LINENO "configure"
5881 cat confdefs.h >>conftest.$ac_ext
5882 cat >>conftest.$ac_ext <<_ACEOF
5883 /* end confdefs.h. */
5884 /* System header to define __stub macros and hopefully few prototypes,
5885 which can conflict with char openlog (); below.
5886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5887 <limits.h> exists even on freestanding compilers. */
5889 # include <limits.h>
5891 # include <assert.h>
5893 /* Override any gcc2 internal prototype to avoid an error. */
5898 /* We use char because int might match the return type of a gcc2
5899 builtin and then its argument prototype would still apply. */
5901 /* The GNU C library defines this for functions which it implements
5902 to always fail with ENOSYS. Some functions are actually named
5903 something starting with __ and the normal name is an alias. */
5904 #if defined (__stub_openlog) || defined (__stub___openlog)
5907 char (*f) () = openlog;
5916 return f != openlog;
5921 rm -f conftest.$ac_objext conftest$ac_exeext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } &&
5927 { ac_try='test -s conftest$ac_exeext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_func_openlog=yes
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 ac_cv_func_openlog=no
5940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5942 echo "$as_me:$LINENO: result: $ac_cv_func_openlog" >&5
5943 echo "${ECHO_T}$ac_cv_func_openlog" >&6
5944 if test $ac_cv_func_openlog = yes; then
5948 echo "$as_me:$LINENO: checking for openlog in -lgen" >&5
5949 echo $ECHO_N "checking for openlog in -lgen... $ECHO_C" >&6
5950 if test "${ac_cv_lib_gen_openlog+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 ac_check_lib_save_LIBS=$LIBS
5955 cat >conftest.$ac_ext <<_ACEOF
5956 #line $LINENO "configure"
5959 cat confdefs.h >>conftest.$ac_ext
5960 cat >>conftest.$ac_ext <<_ACEOF
5961 /* end confdefs.h. */
5963 /* Override any gcc2 internal prototype to avoid an error. */
5967 /* We use char because int might match the return type of a gcc2
5968 builtin and then its argument prototype would still apply. */
5978 rm -f conftest.$ac_objext conftest$ac_exeext
5979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5980 (eval $ac_link) 2>&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } &&
5984 { ac_try='test -s conftest$ac_exeext'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; }; then
5990 ac_cv_lib_gen_openlog=yes
5992 echo "$as_me: failed program was:" >&5
5993 sed 's/^/| /' conftest.$ac_ext >&5
5995 ac_cv_lib_gen_openlog=no
5997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5998 LIBS=$ac_check_lib_save_LIBS
6000 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_openlog" >&5
6001 echo "${ECHO_T}$ac_cv_lib_gen_openlog" >&6
6002 if test $ac_cv_lib_gen_openlog = yes; then
6003 cat >>confdefs.h <<_ACEOF
6004 #define HAVE_LIBGEN 1
6011 echo "$as_me:$LINENO: checking for openlog in -lsyslog" >&5
6012 echo $ECHO_N "checking for openlog in -lsyslog... $ECHO_C" >&6
6013 if test "${ac_cv_lib_syslog_openlog+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 ac_check_lib_save_LIBS=$LIBS
6017 LIBS="-lsyslog -lsocket $LIBS"
6018 cat >conftest.$ac_ext <<_ACEOF
6019 #line $LINENO "configure"
6022 cat confdefs.h >>conftest.$ac_ext
6023 cat >>conftest.$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6026 /* Override any gcc2 internal prototype to avoid an error. */
6030 /* We use char because int might match the return type of a gcc2
6031 builtin and then its argument prototype would still apply. */
6041 rm -f conftest.$ac_objext conftest$ac_exeext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6043 (eval $ac_link) 2>&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } &&
6047 { ac_try='test -s conftest$ac_exeext'
6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; }; then
6053 ac_cv_lib_syslog_openlog=yes
6055 echo "$as_me: failed program was:" >&5
6056 sed 's/^/| /' conftest.$ac_ext >&5
6058 ac_cv_lib_syslog_openlog=no
6060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6061 LIBS=$ac_check_lib_save_LIBS
6063 echo "$as_me:$LINENO: result: $ac_cv_lib_syslog_openlog" >&5
6064 echo "${ECHO_T}$ac_cv_lib_syslog_openlog" >&6
6065 if test $ac_cv_lib_syslog_openlog = yes; then
6066 cat >>confdefs.h <<_ACEOF
6067 #define HAVE_LIBSYSLOG 1
6070 LIBS="-lsyslog $LIBS"
6079 echo "$as_me:$LINENO: checking for MD5Init in -lmd5" >&5
6080 echo $ECHO_N "checking for MD5Init in -lmd5... $ECHO_C" >&6
6081 if test "${ac_cv_lib_md5_MD5Init+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 ac_check_lib_save_LIBS=$LIBS
6086 cat >conftest.$ac_ext <<_ACEOF
6087 #line $LINENO "configure"
6090 cat confdefs.h >>conftest.$ac_ext
6091 cat >>conftest.$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6094 /* Override any gcc2 internal prototype to avoid an error. */
6098 /* We use char because int might match the return type of a gcc2
6099 builtin and then its argument prototype would still apply. */
6109 rm -f conftest.$ac_objext conftest$ac_exeext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6111 (eval $ac_link) 2>&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } &&
6115 { ac_try='test -s conftest$ac_exeext'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; }; then
6121 ac_cv_lib_md5_MD5Init=yes
6123 echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.$ac_ext >&5
6126 ac_cv_lib_md5_MD5Init=no
6128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6129 LIBS=$ac_check_lib_save_LIBS
6131 echo "$as_me:$LINENO: result: $ac_cv_lib_md5_MD5Init" >&5
6132 echo "${ECHO_T}$ac_cv_lib_md5_MD5Init" >&6
6133 if test $ac_cv_lib_md5_MD5Init = yes; then
6134 cat >>confdefs.h <<_ACEOF
6135 #define HAVE_LIBMD5 1
6142 echo "$as_me:$LINENO: checking for MD5Init in -lmd" >&5
6143 echo $ECHO_N "checking for MD5Init in -lmd... $ECHO_C" >&6
6144 if test "${ac_cv_lib_md_MD5Init+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 ac_check_lib_save_LIBS=$LIBS
6149 cat >conftest.$ac_ext <<_ACEOF
6150 #line $LINENO "configure"
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6157 /* Override any gcc2 internal prototype to avoid an error. */
6161 /* We use char because int might match the return type of a gcc2
6162 builtin and then its argument prototype would still apply. */
6172 rm -f conftest.$ac_objext conftest$ac_exeext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6174 (eval $ac_link) 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } &&
6178 { ac_try='test -s conftest$ac_exeext'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; }; then
6184 ac_cv_lib_md_MD5Init=yes
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.$ac_ext >&5
6189 ac_cv_lib_md_MD5Init=no
6191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6192 LIBS=$ac_check_lib_save_LIBS
6194 echo "$as_me:$LINENO: result: $ac_cv_lib_md_MD5Init" >&5
6195 echo "${ECHO_T}$ac_cv_lib_md_MD5Init" >&6
6196 if test $ac_cv_lib_md_MD5Init = yes; then
6197 cat >>confdefs.h <<_ACEOF
6198 #define HAVE_LIBMD 1
6208 for ac_func in MD5Init
6210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6211 echo "$as_me:$LINENO: checking for $ac_func" >&5
6212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6213 if eval "test \"\${$as_ac_var+set}\" = set"; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 cat >conftest.$ac_ext <<_ACEOF
6217 #line $LINENO "configure"
6220 cat confdefs.h >>conftest.$ac_ext
6221 cat >>conftest.$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6223 /* System header to define __stub macros and hopefully few prototypes,
6224 which can conflict with char $ac_func (); below.
6225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6226 <limits.h> exists even on freestanding compilers. */
6228 # include <limits.h>
6230 # include <assert.h>
6232 /* Override any gcc2 internal prototype to avoid an error. */
6237 /* We use char because int might match the return type of a gcc2
6238 builtin and then its argument prototype would still apply. */
6240 /* The GNU C library defines this for functions which it implements
6241 to always fail with ENOSYS. Some functions are actually named
6242 something starting with __ and the normal name is an alias. */
6243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6246 char (*f) () = $ac_func;
6255 return f != $ac_func;
6260 rm -f conftest.$ac_objext conftest$ac_exeext
6261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6262 (eval $ac_link) 2>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } &&
6266 { ac_try='test -s conftest$ac_exeext'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }; then
6272 eval "$as_ac_var=yes"
6274 echo "$as_me: failed program was:" >&5
6275 sed 's/^/| /' conftest.$ac_ext >&5
6277 eval "$as_ac_var=no"
6279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6283 if test `eval echo '${'$as_ac_var'}'` = yes; then
6284 cat >>confdefs.h <<_ACEOF
6285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6293 for ac_header in readline/history.h readline/readline.h
6295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6297 echo "$as_me:$LINENO: checking for $ac_header" >&5
6298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6305 # Is the header compilable?
6306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6308 cat >conftest.$ac_ext <<_ACEOF
6309 #line $LINENO "configure"
6312 cat confdefs.h >>conftest.$ac_ext
6313 cat >>conftest.$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6315 $ac_includes_default
6316 #include <$ac_header>
6318 rm -f conftest.$ac_objext
6319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6320 (eval $ac_compile) 2>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } &&
6324 { ac_try='test -s conftest.$ac_objext'
6325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); }; }; then
6330 ac_header_compiler=yes
6332 echo "$as_me: failed program was:" >&5
6333 sed 's/^/| /' conftest.$ac_ext >&5
6335 ac_header_compiler=no
6337 rm -f conftest.$ac_objext conftest.$ac_ext
6338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6339 echo "${ECHO_T}$ac_header_compiler" >&6
6341 # Is the header present?
6342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6344 cat >conftest.$ac_ext <<_ACEOF
6345 #line $LINENO "configure"
6348 cat confdefs.h >>conftest.$ac_ext
6349 cat >>conftest.$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6351 #include <$ac_header>
6353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6356 grep -v '^ *+' conftest.er1 >conftest.err
6358 cat conftest.err >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); } >/dev/null; then
6361 if test -s conftest.err; then
6362 ac_cpp_err=$ac_c_preproc_warn_flag
6369 if test -z "$ac_cpp_err"; then
6370 ac_header_preproc=yes
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 ac_header_preproc=no
6377 rm -f conftest.err conftest.$ac_ext
6378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6379 echo "${ECHO_T}$ac_header_preproc" >&6
6381 # So? What about this header?
6382 case $ac_header_compiler:$ac_header_preproc in
6384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6390 ## ------------------------------------ ##
6391 ## Report this to bug-autoconf@gnu.org. ##
6392 ## ------------------------------------ ##
6395 sed "s/^/$as_me: WARNING: /" >&2
6398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6406 ## ------------------------------------ ##
6407 ## Report this to bug-autoconf@gnu.org. ##
6408 ## ------------------------------------ ##
6411 sed "s/^/$as_me: WARNING: /" >&2
6414 echo "$as_me:$LINENO: checking for $ac_header" >&5
6415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 eval "$as_ac_Header=$ac_header_preproc"
6421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6426 cat >>confdefs.h <<_ACEOF
6427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6434 case "$ac_cv_header_readline_history_h$ac_cv_header_readline_readline_h" in
6439 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
6440 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
6441 if test "${ac_cv_lib_readline_readline+set}" = set; then
6442 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 ac_check_lib_save_LIBS=$LIBS
6445 LIBS="-lreadline $LIBS"
6446 cat >conftest.$ac_ext <<_ACEOF
6447 #line $LINENO "configure"
6450 cat confdefs.h >>conftest.$ac_ext
6451 cat >>conftest.$ac_ext <<_ACEOF
6452 /* end confdefs.h. */
6454 /* Override any gcc2 internal prototype to avoid an error. */
6458 /* We use char because int might match the return type of a gcc2
6459 builtin and then its argument prototype would still apply. */
6469 rm -f conftest.$ac_objext conftest$ac_exeext
6470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6471 (eval $ac_link) 2>&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6481 ac_cv_lib_readline_readline=yes
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 ac_cv_lib_readline_readline=no
6488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6489 LIBS=$ac_check_lib_save_LIBS
6491 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
6492 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
6493 if test $ac_cv_lib_readline_readline = yes; then
6494 cat >>confdefs.h <<_ACEOF
6495 #define HAVE_LIBREADLINE 1
6498 LIBS="-lreadline $LIBS"
6501 { echo "$as_me:$LINENO: Trying again with -lcurses" >&5
6502 echo "$as_me: Trying again with -lcurses" >&6;}
6503 unset ac_cv_lib_readline_readline
6504 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
6505 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
6506 if test "${ac_cv_lib_readline_readline+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 ac_check_lib_save_LIBS=$LIBS
6510 LIBS="-lreadline -lcurses $LIBS"
6511 cat >conftest.$ac_ext <<_ACEOF
6512 #line $LINENO "configure"
6515 cat confdefs.h >>conftest.$ac_ext
6516 cat >>conftest.$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6519 /* Override any gcc2 internal prototype to avoid an error. */
6523 /* We use char because int might match the return type of a gcc2
6524 builtin and then its argument prototype would still apply. */
6534 rm -f conftest.$ac_objext conftest$ac_exeext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6536 (eval $ac_link) 2>&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } &&
6540 { ac_try='test -s conftest$ac_exeext'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then
6546 ac_cv_lib_readline_readline=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6551 ac_cv_lib_readline_readline=no
6553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6554 LIBS=$ac_check_lib_save_LIBS
6556 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
6557 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
6558 if test $ac_cv_lib_readline_readline = yes; then
6559 LIBS="-lreadline -lcurses $LIBS"
6560 cat >>confdefs.h <<\_ACEOF
6561 #define HAVE_LIBREADLINE 1
6565 cat >>confdefs.h <<\_ACEOF
6566 #define HAVE_LIBCURSES
6570 echo "$as_me:$LINENO: checking for readline in -ledit" >&5
6571 echo $ECHO_N "checking for readline in -ledit... $ECHO_C" >&6
6572 if test "${ac_cv_lib_edit_readline+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS=$LIBS
6576 LIBS="-ledit -lcurses $LIBS"
6577 cat >conftest.$ac_ext <<_ACEOF
6578 #line $LINENO "configure"
6581 cat confdefs.h >>conftest.$ac_ext
6582 cat >>conftest.$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6585 /* Override any gcc2 internal prototype to avoid an error. */
6589 /* We use char because int might match the return type of a gcc2
6590 builtin and then its argument prototype would still apply. */
6600 rm -f conftest.$ac_objext conftest$ac_exeext
6601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6602 (eval $ac_link) 2>&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } &&
6606 { ac_try='test -s conftest$ac_exeext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6612 ac_cv_lib_edit_readline=yes
6614 echo "$as_me: failed program was:" >&5
6615 sed 's/^/| /' conftest.$ac_ext >&5
6617 ac_cv_lib_edit_readline=no
6619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6620 LIBS=$ac_check_lib_save_LIBS
6622 echo "$as_me:$LINENO: result: $ac_cv_lib_edit_readline" >&5
6623 echo "${ECHO_T}$ac_cv_lib_edit_readline" >&6
6624 if test $ac_cv_lib_edit_readline = yes; then
6625 LIBS="-ledit -lcurses"
6627 cat >>confdefs.h <<\_ACEOF
6628 #define HAVE_LIBEDIT
6632 cat >>confdefs.h <<\_ACEOF
6633 #define HAVE_LIBCURSES
6655 echo "$as_me:$LINENO: checking for sched_setscheduler in -lrt" >&5
6656 echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6
6657 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then
6658 echo $ECHO_N "(cached) $ECHO_C" >&6
6660 ac_check_lib_save_LIBS=$LIBS
6662 cat >conftest.$ac_ext <<_ACEOF
6663 #line $LINENO "configure"
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6670 /* Override any gcc2 internal prototype to avoid an error. */
6674 /* We use char because int might match the return type of a gcc2
6675 builtin and then its argument prototype would still apply. */
6676 char sched_setscheduler ();
6680 sched_setscheduler ();
6685 rm -f conftest.$ac_objext conftest$ac_exeext
6686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6687 (eval $ac_link) 2>&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } &&
6691 { ac_try='test -s conftest$ac_exeext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6697 ac_cv_lib_rt_sched_setscheduler=yes
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_cv_lib_rt_sched_setscheduler=no
6704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6705 LIBS=$ac_check_lib_save_LIBS
6707 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_setscheduler" >&5
6708 echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6
6709 if test $ac_cv_lib_rt_sched_setscheduler = yes; then
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_LIBRT 1
6718 echo "$as_me:$LINENO: checking for sched_setscheduler in -lposix4" >&5
6719 echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6
6720 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 ac_check_lib_save_LIBS=$LIBS
6724 LIBS="-lposix4 $LIBS"
6725 cat >conftest.$ac_ext <<_ACEOF
6726 #line $LINENO "configure"
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6739 char sched_setscheduler ();
6743 sched_setscheduler ();
6748 rm -f conftest.$ac_objext conftest$ac_exeext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6750 (eval $ac_link) 2>&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); } &&
6754 { ac_try='test -s conftest$ac_exeext'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; }; then
6760 ac_cv_lib_posix4_sched_setscheduler=yes
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6765 ac_cv_lib_posix4_sched_setscheduler=no
6767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6768 LIBS=$ac_check_lib_save_LIBS
6770 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
6771 echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6
6772 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then
6773 cat >>confdefs.h <<_ACEOF
6774 #define HAVE_LIBPOSIX4 1
6777 LIBS="-lposix4 $LIBS"
6786 echo "$as_me:$LINENO: checking for setsockopt" >&5
6787 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
6788 if test "${ac_cv_func_setsockopt+set}" = set; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 cat >conftest.$ac_ext <<_ACEOF
6792 #line $LINENO "configure"
6795 cat confdefs.h >>conftest.$ac_ext
6796 cat >>conftest.$ac_ext <<_ACEOF
6797 /* end confdefs.h. */
6798 /* System header to define __stub macros and hopefully few prototypes,
6799 which can conflict with char setsockopt (); below.
6800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6801 <limits.h> exists even on freestanding compilers. */
6803 # include <limits.h>
6805 # include <assert.h>
6807 /* Override any gcc2 internal prototype to avoid an error. */
6812 /* We use char because int might match the return type of a gcc2
6813 builtin and then its argument prototype would still apply. */
6815 /* The GNU C library defines this for functions which it implements
6816 to always fail with ENOSYS. Some functions are actually named
6817 something starting with __ and the normal name is an alias. */
6818 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
6821 char (*f) () = setsockopt;
6830 return f != setsockopt;
6835 rm -f conftest.$ac_objext conftest$ac_exeext
6836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6837 (eval $ac_link) 2>&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); } &&
6841 { ac_try='test -s conftest$ac_exeext'
6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; }; then
6847 ac_cv_func_setsockopt=yes
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.$ac_ext >&5
6852 ac_cv_func_setsockopt=no
6854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6856 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
6857 echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
6858 if test $ac_cv_func_setsockopt = yes; then
6862 echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
6863 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
6864 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 ac_check_lib_save_LIBS=$LIBS
6868 LIBS="-lsocket $LIBS"
6869 cat >conftest.$ac_ext <<_ACEOF
6870 #line $LINENO "configure"
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
6875 /* end confdefs.h. */
6877 /* Override any gcc2 internal prototype to avoid an error. */
6881 /* We use char because int might match the return type of a gcc2
6882 builtin and then its argument prototype would still apply. */
6892 rm -f conftest.$ac_objext conftest$ac_exeext
6893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6894 (eval $ac_link) 2>&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } &&
6898 { ac_try='test -s conftest$ac_exeext'
6899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); }; }; then
6904 ac_cv_lib_socket_setsockopt=yes
6906 echo "$as_me: failed program was:" >&5
6907 sed 's/^/| /' conftest.$ac_ext >&5
6909 ac_cv_lib_socket_setsockopt=no
6911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6912 LIBS=$ac_check_lib_save_LIBS
6914 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
6915 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
6916 if test $ac_cv_lib_socket_setsockopt = yes; then
6917 cat >>confdefs.h <<_ACEOF
6918 #define HAVE_LIBSOCKET 1
6921 LIBS="-lsocket $LIBS"
6928 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6929 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6930 if test "${ac_cv_header_stdc+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 cat >conftest.$ac_ext <<_ACEOF
6934 #line $LINENO "configure"
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } &&
6959 { ac_try='test -s conftest.$ac_objext'
6960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); }; }; then
6965 ac_cv_header_stdc=yes
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6970 ac_cv_header_stdc=no
6972 rm -f conftest.$ac_objext conftest.$ac_ext
6974 if test $ac_cv_header_stdc = yes; then
6975 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6976 cat >conftest.$ac_ext <<_ACEOF
6977 #line $LINENO "configure"
6980 cat confdefs.h >>conftest.$ac_ext
6981 cat >>conftest.$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6987 $EGREP "memchr" >/dev/null 2>&1; then
6990 ac_cv_header_stdc=no
6996 if test $ac_cv_header_stdc = yes; then
6997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6998 cat >conftest.$ac_ext <<_ACEOF
6999 #line $LINENO "configure"
7002 cat confdefs.h >>conftest.$ac_ext
7003 cat >>conftest.$ac_ext <<_ACEOF
7004 /* end confdefs.h. */
7008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7009 $EGREP "free" >/dev/null 2>&1; then
7012 ac_cv_header_stdc=no
7018 if test $ac_cv_header_stdc = yes; then
7019 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7020 if test "$cross_compiling" = yes; then
7023 cat >conftest.$ac_ext <<_ACEOF
7024 #line $LINENO "configure"
7027 cat confdefs.h >>conftest.$ac_ext
7028 cat >>conftest.$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7031 #if ((' ' & 0x0FF) == 0x020)
7032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7035 # define ISLOWER(c) \
7036 (('a' <= (c) && (c) <= 'i') \
7037 || ('j' <= (c) && (c) <= 'r') \
7038 || ('s' <= (c) && (c) <= 'z'))
7039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7047 for (i = 0; i < 256; i++)
7048 if (XOR (islower (i), ISLOWER (i))
7049 || toupper (i) != TOUPPER (i))
7054 rm -f conftest$ac_exeext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7056 (eval $ac_link) 2>&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064 (exit $ac_status); }; }; then
7067 echo "$as_me: program exited with status $ac_status" >&5
7068 echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.$ac_ext >&5
7072 ac_cv_header_stdc=no
7074 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7078 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7079 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7080 if test $ac_cv_header_stdc = yes; then
7082 cat >>confdefs.h <<\_ACEOF
7083 #define STDC_HEADERS 1
7093 for ac_header in bstring.h errno.h fcntl.h ieeefp.h math.h
7095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7097 echo "$as_me:$LINENO: checking for $ac_header" >&5
7098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7105 # Is the header compilable?
7106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7108 cat >conftest.$ac_ext <<_ACEOF
7109 #line $LINENO "configure"
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 $ac_includes_default
7116 #include <$ac_header>
7118 rm -f conftest.$ac_objext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7120 (eval $ac_compile) 2>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try='test -s conftest.$ac_objext'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; }; then
7130 ac_header_compiler=yes
7132 echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.$ac_ext >&5
7135 ac_header_compiler=no
7137 rm -f conftest.$ac_objext conftest.$ac_ext
7138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7139 echo "${ECHO_T}$ac_header_compiler" >&6
7141 # Is the header present?
7142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7144 cat >conftest.$ac_ext <<_ACEOF
7145 #line $LINENO "configure"
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 #include <$ac_header>
7153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7156 grep -v '^ *+' conftest.er1 >conftest.err
7158 cat conftest.err >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); } >/dev/null; then
7161 if test -s conftest.err; then
7162 ac_cpp_err=$ac_c_preproc_warn_flag
7169 if test -z "$ac_cpp_err"; then
7170 ac_header_preproc=yes
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7175 ac_header_preproc=no
7177 rm -f conftest.err conftest.$ac_ext
7178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7179 echo "${ECHO_T}$ac_header_preproc" >&6
7181 # So? What about this header?
7182 case $ac_header_compiler:$ac_header_preproc in
7184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7190 ## ------------------------------------ ##
7191 ## Report this to bug-autoconf@gnu.org. ##
7192 ## ------------------------------------ ##
7195 sed "s/^/$as_me: WARNING: /" >&2
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7206 ## ------------------------------------ ##
7207 ## Report this to bug-autoconf@gnu.org. ##
7208 ## ------------------------------------ ##
7211 sed "s/^/$as_me: WARNING: /" >&2
7214 echo "$as_me:$LINENO: checking for $ac_header" >&5
7215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7219 eval "$as_ac_Header=$ac_header_preproc"
7221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 cat >>confdefs.h <<_ACEOF
7227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7234 # HMS: Lame, but fast.
7235 if test -f /etc/redhat-release
7240 for ac_header in md5.h
7242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7244 echo "$as_me:$LINENO: checking for $ac_header" >&5
7245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7252 # Is the header compilable?
7253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7255 cat >conftest.$ac_ext <<_ACEOF
7256 #line $LINENO "configure"
7259 cat confdefs.h >>conftest.$ac_ext
7260 cat >>conftest.$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 $ac_includes_default
7263 #include <$ac_header>
7265 rm -f conftest.$ac_objext
7266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7267 (eval $ac_compile) 2>&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } &&
7271 { ac_try='test -s conftest.$ac_objext'
7272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; }; then
7277 ac_header_compiler=yes
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 ac_header_compiler=no
7284 rm -f conftest.$ac_objext conftest.$ac_ext
7285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7286 echo "${ECHO_T}$ac_header_compiler" >&6
7288 # Is the header present?
7289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7291 cat >conftest.$ac_ext <<_ACEOF
7292 #line $LINENO "configure"
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 #include <$ac_header>
7300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7303 grep -v '^ *+' conftest.er1 >conftest.err
7305 cat conftest.err >&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } >/dev/null; then
7308 if test -s conftest.err; then
7309 ac_cpp_err=$ac_c_preproc_warn_flag
7316 if test -z "$ac_cpp_err"; then
7317 ac_header_preproc=yes
7319 echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.$ac_ext >&5
7322 ac_header_preproc=no
7324 rm -f conftest.err conftest.$ac_ext
7325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7326 echo "${ECHO_T}$ac_header_preproc" >&6
7328 # So? What about this header?
7329 case $ac_header_compiler:$ac_header_preproc in
7331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7337 ## ------------------------------------ ##
7338 ## Report this to bug-autoconf@gnu.org. ##
7339 ## ------------------------------------ ##
7342 sed "s/^/$as_me: WARNING: /" >&2
7345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7353 ## ------------------------------------ ##
7354 ## Report this to bug-autoconf@gnu.org. ##
7355 ## ------------------------------------ ##
7358 sed "s/^/$as_me: WARNING: /" >&2
7361 echo "$as_me:$LINENO: checking for $ac_header" >&5
7362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 eval "$as_ac_Header=$ac_header_preproc"
7368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7373 cat >>confdefs.h <<_ACEOF
7374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7385 for ac_header in memory.h netdb.h poll.h
7387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7389 echo "$as_me:$LINENO: checking for $ac_header" >&5
7390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7397 # Is the header compilable?
7398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7400 cat >conftest.$ac_ext <<_ACEOF
7401 #line $LINENO "configure"
7404 cat confdefs.h >>conftest.$ac_ext
7405 cat >>conftest.$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7407 $ac_includes_default
7408 #include <$ac_header>
7410 rm -f conftest.$ac_objext
7411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7412 (eval $ac_compile) 2>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } &&
7416 { ac_try='test -s conftest.$ac_objext'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); }; }; then
7422 ac_header_compiler=yes
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7427 ac_header_compiler=no
7429 rm -f conftest.$ac_objext conftest.$ac_ext
7430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7431 echo "${ECHO_T}$ac_header_compiler" >&6
7433 # Is the header present?
7434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7436 cat >conftest.$ac_ext <<_ACEOF
7437 #line $LINENO "configure"
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 #include <$ac_header>
7445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7448 grep -v '^ *+' conftest.er1 >conftest.err
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } >/dev/null; then
7453 if test -s conftest.err; then
7454 ac_cpp_err=$ac_c_preproc_warn_flag
7461 if test -z "$ac_cpp_err"; then
7462 ac_header_preproc=yes
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 ac_header_preproc=no
7469 rm -f conftest.err conftest.$ac_ext
7470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7471 echo "${ECHO_T}$ac_header_preproc" >&6
7473 # So? What about this header?
7474 case $ac_header_compiler:$ac_header_preproc in
7476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7482 ## ------------------------------------ ##
7483 ## Report this to bug-autoconf@gnu.org. ##
7484 ## ------------------------------------ ##
7487 sed "s/^/$as_me: WARNING: /" >&2
7490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7498 ## ------------------------------------ ##
7499 ## Report this to bug-autoconf@gnu.org. ##
7500 ## ------------------------------------ ##
7503 sed "s/^/$as_me: WARNING: /" >&2
7506 echo "$as_me:$LINENO: checking for $ac_header" >&5
7507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 eval "$as_ac_Header=$ac_header_preproc"
7513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7518 cat >>confdefs.h <<_ACEOF
7519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7531 for ac_header in sched.h sgtty.h stdlib.h string.h termio.h
7533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7535 echo "$as_me:$LINENO: checking for $ac_header" >&5
7536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7543 # Is the header compilable?
7544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7546 cat >conftest.$ac_ext <<_ACEOF
7547 #line $LINENO "configure"
7550 cat confdefs.h >>conftest.$ac_ext
7551 cat >>conftest.$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7553 $ac_includes_default
7554 #include <$ac_header>
7556 rm -f conftest.$ac_objext
7557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7558 (eval $ac_compile) 2>&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); } &&
7562 { ac_try='test -s conftest.$ac_objext'
7563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); }; }; then
7568 ac_header_compiler=yes
7570 echo "$as_me: failed program was:" >&5
7571 sed 's/^/| /' conftest.$ac_ext >&5
7573 ac_header_compiler=no
7575 rm -f conftest.$ac_objext conftest.$ac_ext
7576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7577 echo "${ECHO_T}$ac_header_compiler" >&6
7579 # Is the header present?
7580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7582 cat >conftest.$ac_ext <<_ACEOF
7583 #line $LINENO "configure"
7586 cat confdefs.h >>conftest.$ac_ext
7587 cat >>conftest.$ac_ext <<_ACEOF
7588 /* end confdefs.h. */
7589 #include <$ac_header>
7591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7594 grep -v '^ *+' conftest.er1 >conftest.err
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } >/dev/null; then
7599 if test -s conftest.err; then
7600 ac_cpp_err=$ac_c_preproc_warn_flag
7607 if test -z "$ac_cpp_err"; then
7608 ac_header_preproc=yes
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7613 ac_header_preproc=no
7615 rm -f conftest.err conftest.$ac_ext
7616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7617 echo "${ECHO_T}$ac_header_preproc" >&6
7619 # So? What about this header?
7620 case $ac_header_compiler:$ac_header_preproc in
7622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7628 ## ------------------------------------ ##
7629 ## Report this to bug-autoconf@gnu.org. ##
7630 ## ------------------------------------ ##
7633 sed "s/^/$as_me: WARNING: /" >&2
7636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7644 ## ------------------------------------ ##
7645 ## Report this to bug-autoconf@gnu.org. ##
7646 ## ------------------------------------ ##
7649 sed "s/^/$as_me: WARNING: /" >&2
7652 echo "$as_me:$LINENO: checking for $ac_header" >&5
7653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 eval "$as_ac_Header=$ac_header_preproc"
7659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7664 cat >>confdefs.h <<_ACEOF
7665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7676 for ac_header in termios.h timepps.h timex.h unistd.h
7678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7680 echo "$as_me:$LINENO: checking for $ac_header" >&5
7681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7688 # Is the header compilable?
7689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7691 cat >conftest.$ac_ext <<_ACEOF
7692 #line $LINENO "configure"
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 $ac_includes_default
7699 #include <$ac_header>
7701 rm -f conftest.$ac_objext
7702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7703 (eval $ac_compile) 2>&5
7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706 (exit $ac_status); } &&
7707 { ac_try='test -s conftest.$ac_objext'
7708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); }; }; then
7713 ac_header_compiler=yes
7715 echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.$ac_ext >&5
7718 ac_header_compiler=no
7720 rm -f conftest.$ac_objext conftest.$ac_ext
7721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7722 echo "${ECHO_T}$ac_header_compiler" >&6
7724 # Is the header present?
7725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7727 cat >conftest.$ac_ext <<_ACEOF
7728 #line $LINENO "configure"
7731 cat confdefs.h >>conftest.$ac_ext
7732 cat >>conftest.$ac_ext <<_ACEOF
7733 /* end confdefs.h. */
7734 #include <$ac_header>
7736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7739 grep -v '^ *+' conftest.er1 >conftest.err
7741 cat conftest.err >&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } >/dev/null; then
7744 if test -s conftest.err; then
7745 ac_cpp_err=$ac_c_preproc_warn_flag
7752 if test -z "$ac_cpp_err"; then
7753 ac_header_preproc=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_header_preproc=no
7760 rm -f conftest.err conftest.$ac_ext
7761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7762 echo "${ECHO_T}$ac_header_preproc" >&6
7764 # So? What about this header?
7765 case $ac_header_compiler:$ac_header_preproc in
7767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7773 ## ------------------------------------ ##
7774 ## Report this to bug-autoconf@gnu.org. ##
7775 ## ------------------------------------ ##
7778 sed "s/^/$as_me: WARNING: /" >&2
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7789 ## ------------------------------------ ##
7790 ## Report this to bug-autoconf@gnu.org. ##
7791 ## ------------------------------------ ##
7794 sed "s/^/$as_me: WARNING: /" >&2
7797 echo "$as_me:$LINENO: checking for $ac_header" >&5
7798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7800 echo $ECHO_N "(cached) $ECHO_C" >&6
7802 eval "$as_ac_Header=$ac_header_preproc"
7804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7809 cat >>confdefs.h <<_ACEOF
7810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 for ac_header in utmpx.h
7822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7824 echo "$as_me:$LINENO: checking for $ac_header" >&5
7825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7832 # Is the header compilable?
7833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7835 cat >conftest.$ac_ext <<_ACEOF
7836 #line $LINENO "configure"
7839 cat confdefs.h >>conftest.$ac_ext
7840 cat >>conftest.$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7842 $ac_includes_default
7843 #include <$ac_header>
7845 rm -f conftest.$ac_objext
7846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7847 (eval $ac_compile) 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } &&
7851 { ac_try='test -s conftest.$ac_objext'
7852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); }; }; then
7857 ac_header_compiler=yes
7859 echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.$ac_ext >&5
7862 ac_header_compiler=no
7864 rm -f conftest.$ac_objext conftest.$ac_ext
7865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7866 echo "${ECHO_T}$ac_header_compiler" >&6
7868 # Is the header present?
7869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7871 cat >conftest.$ac_ext <<_ACEOF
7872 #line $LINENO "configure"
7875 cat confdefs.h >>conftest.$ac_ext
7876 cat >>conftest.$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 #include <$ac_header>
7880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7883 grep -v '^ *+' conftest.er1 >conftest.err
7885 cat conftest.err >&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); } >/dev/null; then
7888 if test -s conftest.err; then
7889 ac_cpp_err=$ac_c_preproc_warn_flag
7896 if test -z "$ac_cpp_err"; then
7897 ac_header_preproc=yes
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7902 ac_header_preproc=no
7904 rm -f conftest.err conftest.$ac_ext
7905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7906 echo "${ECHO_T}$ac_header_preproc" >&6
7908 # So? What about this header?
7909 case $ac_header_compiler:$ac_header_preproc in
7911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7917 ## ------------------------------------ ##
7918 ## Report this to bug-autoconf@gnu.org. ##
7919 ## ------------------------------------ ##
7922 sed "s/^/$as_me: WARNING: /" >&2
7925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7933 ## ------------------------------------ ##
7934 ## Report this to bug-autoconf@gnu.org. ##
7935 ## ------------------------------------ ##
7938 sed "s/^/$as_me: WARNING: /" >&2
7941 echo "$as_me:$LINENO: checking for $ac_header" >&5
7942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 eval "$as_ac_Header=$ac_header_preproc"
7948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7953 cat >>confdefs.h <<_ACEOF
7954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7961 case "$ac_cv_header_utmpx_h" in
7964 for ac_header in utmp.h
7966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7968 echo "$as_me:$LINENO: checking for $ac_header" >&5
7969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7976 # Is the header compilable?
7977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7979 cat >conftest.$ac_ext <<_ACEOF
7980 #line $LINENO "configure"
7983 cat confdefs.h >>conftest.$ac_ext
7984 cat >>conftest.$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7986 $ac_includes_default
7987 #include <$ac_header>
7989 rm -f conftest.$ac_objext
7990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7991 (eval $ac_compile) 2>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } &&
7995 { ac_try='test -s conftest.$ac_objext'
7996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); }; }; then
8001 ac_header_compiler=yes
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8006 ac_header_compiler=no
8008 rm -f conftest.$ac_objext conftest.$ac_ext
8009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8010 echo "${ECHO_T}$ac_header_compiler" >&6
8012 # Is the header present?
8013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8015 cat >conftest.$ac_ext <<_ACEOF
8016 #line $LINENO "configure"
8019 cat confdefs.h >>conftest.$ac_ext
8020 cat >>conftest.$ac_ext <<_ACEOF
8021 /* end confdefs.h. */
8022 #include <$ac_header>
8024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8027 grep -v '^ *+' conftest.er1 >conftest.err
8029 cat conftest.err >&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); } >/dev/null; then
8032 if test -s conftest.err; then
8033 ac_cpp_err=$ac_c_preproc_warn_flag
8040 if test -z "$ac_cpp_err"; then
8041 ac_header_preproc=yes
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8046 ac_header_preproc=no
8048 rm -f conftest.err conftest.$ac_ext
8049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8050 echo "${ECHO_T}$ac_header_preproc" >&6
8052 # So? What about this header?
8053 case $ac_header_compiler:$ac_header_preproc in
8055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8061 ## ------------------------------------ ##
8062 ## Report this to bug-autoconf@gnu.org. ##
8063 ## ------------------------------------ ##
8066 sed "s/^/$as_me: WARNING: /" >&2
8069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8077 ## ------------------------------------ ##
8078 ## Report this to bug-autoconf@gnu.org. ##
8079 ## ------------------------------------ ##
8082 sed "s/^/$as_me: WARNING: /" >&2
8085 echo "$as_me:$LINENO: checking for $ac_header" >&5
8086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 eval "$as_ac_Header=$ac_header_preproc"
8092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8097 cat >>confdefs.h <<_ACEOF
8098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8109 for ac_header in utmp.h utmpx.h
8111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8113 echo "$as_me:$LINENO: checking for $ac_header" >&5
8114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8121 # Is the header compilable?
8122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8124 cat >conftest.$ac_ext <<_ACEOF
8125 #line $LINENO "configure"
8128 cat confdefs.h >>conftest.$ac_ext
8129 cat >>conftest.$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8131 $ac_includes_default
8132 #include <$ac_header>
8134 rm -f conftest.$ac_objext
8135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8136 (eval $ac_compile) 2>&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); } &&
8140 { ac_try='test -s conftest.$ac_objext'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; }; then
8146 ac_header_compiler=yes
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 ac_header_compiler=no
8153 rm -f conftest.$ac_objext conftest.$ac_ext
8154 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8155 echo "${ECHO_T}$ac_header_compiler" >&6
8157 # Is the header present?
8158 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8160 cat >conftest.$ac_ext <<_ACEOF
8161 #line $LINENO "configure"
8164 cat confdefs.h >>conftest.$ac_ext
8165 cat >>conftest.$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8167 #include <$ac_header>
8169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1 >conftest.err
8174 cat conftest.err >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } >/dev/null; then
8177 if test -s conftest.err; then
8178 ac_cpp_err=$ac_c_preproc_warn_flag
8185 if test -z "$ac_cpp_err"; then
8186 ac_header_preproc=yes
8188 echo "$as_me: failed program was:" >&5
8189 sed 's/^/| /' conftest.$ac_ext >&5
8191 ac_header_preproc=no
8193 rm -f conftest.err conftest.$ac_ext
8194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8195 echo "${ECHO_T}$ac_header_preproc" >&6
8197 # So? What about this header?
8198 case $ac_header_compiler:$ac_header_preproc in
8200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8206 ## ------------------------------------ ##
8207 ## Report this to bug-autoconf@gnu.org. ##
8208 ## ------------------------------------ ##
8211 sed "s/^/$as_me: WARNING: /" >&2
8214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8222 ## ------------------------------------ ##
8223 ## Report this to bug-autoconf@gnu.org. ##
8224 ## ------------------------------------ ##
8227 sed "s/^/$as_me: WARNING: /" >&2
8230 echo "$as_me:$LINENO: checking for $ac_header" >&5
8231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 eval "$as_ac_Header=$ac_header_preproc"
8237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8242 cat >>confdefs.h <<_ACEOF
8243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8252 for ac_header in arpa/nameser.h
8254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8256 echo "$as_me:$LINENO: checking for $ac_header" >&5
8257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8264 # Is the header compilable?
8265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8267 cat >conftest.$ac_ext <<_ACEOF
8268 #line $LINENO "configure"
8271 cat confdefs.h >>conftest.$ac_ext
8272 cat >>conftest.$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 $ac_includes_default
8275 #include <$ac_header>
8277 rm -f conftest.$ac_objext
8278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8279 (eval $ac_compile) 2>&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try='test -s conftest.$ac_objext'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; }; then
8289 ac_header_compiler=yes
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.$ac_ext >&5
8294 ac_header_compiler=no
8296 rm -f conftest.$ac_objext conftest.$ac_ext
8297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8298 echo "${ECHO_T}$ac_header_compiler" >&6
8300 # Is the header present?
8301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8303 cat >conftest.$ac_ext <<_ACEOF
8304 #line $LINENO "configure"
8307 cat confdefs.h >>conftest.$ac_ext
8308 cat >>conftest.$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8310 #include <$ac_header>
8312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8315 grep -v '^ *+' conftest.er1 >conftest.err
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } >/dev/null; then
8320 if test -s conftest.err; then
8321 ac_cpp_err=$ac_c_preproc_warn_flag
8328 if test -z "$ac_cpp_err"; then
8329 ac_header_preproc=yes
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8334 ac_header_preproc=no
8336 rm -f conftest.err conftest.$ac_ext
8337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8338 echo "${ECHO_T}$ac_header_preproc" >&6
8340 # So? What about this header?
8341 case $ac_header_compiler:$ac_header_preproc in
8343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8349 ## ------------------------------------ ##
8350 ## Report this to bug-autoconf@gnu.org. ##
8351 ## ------------------------------------ ##
8354 sed "s/^/$as_me: WARNING: /" >&2
8357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8365 ## ------------------------------------ ##
8366 ## Report this to bug-autoconf@gnu.org. ##
8367 ## ------------------------------------ ##
8370 sed "s/^/$as_me: WARNING: /" >&2
8373 echo "$as_me:$LINENO: checking for $ac_header" >&5
8374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 eval "$as_ac_Header=$ac_header_preproc"
8380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8385 cat >>confdefs.h <<_ACEOF
8386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8394 for ac_header in net/if.h
8396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8397 echo "$as_me:$LINENO: checking for $ac_header" >&5
8398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 cat >conftest.$ac_ext <<_ACEOF
8403 #line $LINENO "configure"
8406 cat confdefs.h >>conftest.$ac_ext
8407 cat >>conftest.$ac_ext <<_ACEOF
8408 /* end confdefs.h. */
8409 #if HAVE_SYS_SOCKET_H
8410 #include <sys/socket.h>
8414 #include <$ac_header>
8416 rm -f conftest.$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } &&
8422 { ac_try='test -s conftest.$ac_objext'
8423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); }; }; then
8428 eval "$as_ac_Header=yes"
8430 echo "$as_me: failed program was:" >&5
8431 sed 's/^/| /' conftest.$ac_ext >&5
8433 eval "$as_ac_Header=no"
8435 rm -f conftest.$ac_objext conftest.$ac_ext
8437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8440 cat >>confdefs.h <<_ACEOF
8441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8449 for ac_header in net/if6.h
8451 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8453 echo "$as_me:$LINENO: checking for $ac_header" >&5
8454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8461 # Is the header compilable?
8462 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8464 cat >conftest.$ac_ext <<_ACEOF
8465 #line $LINENO "configure"
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8471 $ac_includes_default
8472 #include <$ac_header>
8474 rm -f conftest.$ac_objext
8475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8476 (eval $ac_compile) 2>&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } &&
8480 { ac_try='test -s conftest.$ac_objext'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; }; then
8486 ac_header_compiler=yes
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 ac_header_compiler=no
8493 rm -f conftest.$ac_objext conftest.$ac_ext
8494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8495 echo "${ECHO_T}$ac_header_compiler" >&6
8497 # Is the header present?
8498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8500 cat >conftest.$ac_ext <<_ACEOF
8501 #line $LINENO "configure"
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 #include <$ac_header>
8509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8512 grep -v '^ *+' conftest.er1 >conftest.err
8514 cat conftest.err >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } >/dev/null; then
8517 if test -s conftest.err; then
8518 ac_cpp_err=$ac_c_preproc_warn_flag
8525 if test -z "$ac_cpp_err"; then
8526 ac_header_preproc=yes
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_header_preproc=no
8533 rm -f conftest.err conftest.$ac_ext
8534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8535 echo "${ECHO_T}$ac_header_preproc" >&6
8537 # So? What about this header?
8538 case $ac_header_compiler:$ac_header_preproc in
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8546 ## ------------------------------------ ##
8547 ## Report this to bug-autoconf@gnu.org. ##
8548 ## ------------------------------------ ##
8551 sed "s/^/$as_me: WARNING: /" >&2
8554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8562 ## ------------------------------------ ##
8563 ## Report this to bug-autoconf@gnu.org. ##
8564 ## ------------------------------------ ##
8567 sed "s/^/$as_me: WARNING: /" >&2
8570 echo "$as_me:$LINENO: checking for $ac_header" >&5
8571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 eval "$as_ac_Header=$ac_header_preproc"
8577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8582 cat >>confdefs.h <<_ACEOF
8583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8592 for ac_header in netinet/in_system.h netinet/in_systm.h
8594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8596 echo "$as_me:$LINENO: checking for $ac_header" >&5
8597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8599 echo $ECHO_N "(cached) $ECHO_C" >&6
8601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8604 # Is the header compilable?
8605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8607 cat >conftest.$ac_ext <<_ACEOF
8608 #line $LINENO "configure"
8611 cat confdefs.h >>conftest.$ac_ext
8612 cat >>conftest.$ac_ext <<_ACEOF
8613 /* end confdefs.h. */
8614 $ac_includes_default
8615 #include <$ac_header>
8617 rm -f conftest.$ac_objext
8618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8619 (eval $ac_compile) 2>&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } &&
8623 { ac_try='test -s conftest.$ac_objext'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8629 ac_header_compiler=yes
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 ac_header_compiler=no
8636 rm -f conftest.$ac_objext conftest.$ac_ext
8637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8638 echo "${ECHO_T}$ac_header_compiler" >&6
8640 # Is the header present?
8641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8643 cat >conftest.$ac_ext <<_ACEOF
8644 #line $LINENO "configure"
8647 cat confdefs.h >>conftest.$ac_ext
8648 cat >>conftest.$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8650 #include <$ac_header>
8652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8655 grep -v '^ *+' conftest.er1 >conftest.err
8657 cat conftest.err >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } >/dev/null; then
8660 if test -s conftest.err; then
8661 ac_cpp_err=$ac_c_preproc_warn_flag
8668 if test -z "$ac_cpp_err"; then
8669 ac_header_preproc=yes
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.$ac_ext >&5
8674 ac_header_preproc=no
8676 rm -f conftest.err conftest.$ac_ext
8677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8678 echo "${ECHO_T}$ac_header_preproc" >&6
8680 # So? What about this header?
8681 case $ac_header_compiler:$ac_header_preproc in
8683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8689 ## ------------------------------------ ##
8690 ## Report this to bug-autoconf@gnu.org. ##
8691 ## ------------------------------------ ##
8694 sed "s/^/$as_me: WARNING: /" >&2
8697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8705 ## ------------------------------------ ##
8706 ## Report this to bug-autoconf@gnu.org. ##
8707 ## ------------------------------------ ##
8710 sed "s/^/$as_me: WARNING: /" >&2
8713 echo "$as_me:$LINENO: checking for $ac_header" >&5
8714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 eval "$as_ac_Header=$ac_header_preproc"
8720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8725 cat >>confdefs.h <<_ACEOF
8726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8734 for ac_header in netinet/in.h
8736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8738 echo "$as_me:$LINENO: checking for $ac_header" >&5
8739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8746 # Is the header compilable?
8747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8749 cat >conftest.$ac_ext <<_ACEOF
8750 #line $LINENO "configure"
8753 cat confdefs.h >>conftest.$ac_ext
8754 cat >>conftest.$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8756 $ac_includes_default
8757 #include <$ac_header>
8759 rm -f conftest.$ac_objext
8760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8761 (eval $ac_compile) 2>&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } &&
8765 { ac_try='test -s conftest.$ac_objext'
8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); }; }; then
8771 ac_header_compiler=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_header_compiler=no
8778 rm -f conftest.$ac_objext conftest.$ac_ext
8779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8780 echo "${ECHO_T}$ac_header_compiler" >&6
8782 # Is the header present?
8783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8785 cat >conftest.$ac_ext <<_ACEOF
8786 #line $LINENO "configure"
8789 cat confdefs.h >>conftest.$ac_ext
8790 cat >>conftest.$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8792 #include <$ac_header>
8794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8797 grep -v '^ *+' conftest.er1 >conftest.err
8799 cat conftest.err >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } >/dev/null; then
8802 if test -s conftest.err; then
8803 ac_cpp_err=$ac_c_preproc_warn_flag
8810 if test -z "$ac_cpp_err"; then
8811 ac_header_preproc=yes
8813 echo "$as_me: failed program was:" >&5
8814 sed 's/^/| /' conftest.$ac_ext >&5
8816 ac_header_preproc=no
8818 rm -f conftest.err conftest.$ac_ext
8819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8820 echo "${ECHO_T}$ac_header_preproc" >&6
8822 # So? What about this header?
8823 case $ac_header_compiler:$ac_header_preproc in
8825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8831 ## ------------------------------------ ##
8832 ## Report this to bug-autoconf@gnu.org. ##
8833 ## ------------------------------------ ##
8836 sed "s/^/$as_me: WARNING: /" >&2
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8847 ## ------------------------------------ ##
8848 ## Report this to bug-autoconf@gnu.org. ##
8849 ## ------------------------------------ ##
8852 sed "s/^/$as_me: WARNING: /" >&2
8855 echo "$as_me:$LINENO: checking for $ac_header" >&5
8856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8858 echo $ECHO_N "(cached) $ECHO_C" >&6
8860 eval "$as_ac_Header=$ac_header_preproc"
8862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8867 cat >>confdefs.h <<_ACEOF
8868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8876 for ac_header in netinet/ip.h
8878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8879 echo "$as_me:$LINENO: checking for $ac_header" >&5
8880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 cat >conftest.$ac_ext <<_ACEOF
8885 #line $LINENO "configure"
8888 cat confdefs.h >>conftest.$ac_ext
8889 cat >>conftest.$ac_ext <<_ACEOF
8890 /* end confdefs.h. */
8891 #if HAVE_SYS_TYPES_H
8892 #include <sys/types.h>
8894 #if HAVE_NETINET_IN_H
8895 #include <netinet/in.h>
8897 #if HAVE_NETINET_IN_SYSTM_H
8898 #include <netinet/in_systm.h>
8902 #include <$ac_header>
8904 rm -f conftest.$ac_objext
8905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8906 (eval $ac_compile) 2>&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } &&
8910 { ac_try='test -s conftest.$ac_objext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8916 eval "$as_ac_Header=yes"
8918 echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8921 eval "$as_ac_Header=no"
8923 rm -f conftest.$ac_objext conftest.$ac_ext
8925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8928 cat >>confdefs.h <<_ACEOF
8929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8937 for ac_header in netinfo/ni.h
8939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8941 echo "$as_me:$LINENO: checking for $ac_header" >&5
8942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8949 # Is the header compilable?
8950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8952 cat >conftest.$ac_ext <<_ACEOF
8953 #line $LINENO "configure"
8956 cat confdefs.h >>conftest.$ac_ext
8957 cat >>conftest.$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8959 $ac_includes_default
8960 #include <$ac_header>
8962 rm -f conftest.$ac_objext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8964 (eval $ac_compile) 2>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } &&
8968 { ac_try='test -s conftest.$ac_objext'
8969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; }; then
8974 ac_header_compiler=yes
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 ac_header_compiler=no
8981 rm -f conftest.$ac_objext conftest.$ac_ext
8982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8983 echo "${ECHO_T}$ac_header_compiler" >&6
8985 # Is the header present?
8986 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8987 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8988 cat >conftest.$ac_ext <<_ACEOF
8989 #line $LINENO "configure"
8992 cat confdefs.h >>conftest.$ac_ext
8993 cat >>conftest.$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8995 #include <$ac_header>
8997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9000 grep -v '^ *+' conftest.er1 >conftest.err
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } >/dev/null; then
9005 if test -s conftest.err; then
9006 ac_cpp_err=$ac_c_preproc_warn_flag
9013 if test -z "$ac_cpp_err"; then
9014 ac_header_preproc=yes
9016 echo "$as_me: failed program was:" >&5
9017 sed 's/^/| /' conftest.$ac_ext >&5
9019 ac_header_preproc=no
9021 rm -f conftest.err conftest.$ac_ext
9022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9023 echo "${ECHO_T}$ac_header_preproc" >&6
9025 # So? What about this header?
9026 case $ac_header_compiler:$ac_header_preproc in
9028 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9034 ## ------------------------------------ ##
9035 ## Report this to bug-autoconf@gnu.org. ##
9036 ## ------------------------------------ ##
9039 sed "s/^/$as_me: WARNING: /" >&2
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9050 ## ------------------------------------ ##
9051 ## Report this to bug-autoconf@gnu.org. ##
9052 ## ------------------------------------ ##
9055 sed "s/^/$as_me: WARNING: /" >&2
9058 echo "$as_me:$LINENO: checking for $ac_header" >&5
9059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 eval "$as_ac_Header=$ac_header_preproc"
9065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9070 cat >>confdefs.h <<_ACEOF
9071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9074 cat >>confdefs.h <<\_ACEOF
9075 #define HAVE_NETINFO 1
9084 for ac_header in sun/audioio.h sys/audioio.h
9086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9088 echo "$as_me:$LINENO: checking for $ac_header" >&5
9089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9091 echo $ECHO_N "(cached) $ECHO_C" >&6
9093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9096 # Is the header compilable?
9097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9099 cat >conftest.$ac_ext <<_ACEOF
9100 #line $LINENO "configure"
9103 cat confdefs.h >>conftest.$ac_ext
9104 cat >>conftest.$ac_ext <<_ACEOF
9105 /* end confdefs.h. */
9106 $ac_includes_default
9107 #include <$ac_header>
9109 rm -f conftest.$ac_objext
9110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9111 (eval $ac_compile) 2>&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } &&
9115 { ac_try='test -s conftest.$ac_objext'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; }; then
9121 ac_header_compiler=yes
9123 echo "$as_me: failed program was:" >&5
9124 sed 's/^/| /' conftest.$ac_ext >&5
9126 ac_header_compiler=no
9128 rm -f conftest.$ac_objext conftest.$ac_ext
9129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9130 echo "${ECHO_T}$ac_header_compiler" >&6
9132 # Is the header present?
9133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9135 cat >conftest.$ac_ext <<_ACEOF
9136 #line $LINENO "configure"
9139 cat confdefs.h >>conftest.$ac_ext
9140 cat >>conftest.$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9142 #include <$ac_header>
9144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9147 grep -v '^ *+' conftest.er1 >conftest.err
9149 cat conftest.err >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); } >/dev/null; then
9152 if test -s conftest.err; then
9153 ac_cpp_err=$ac_c_preproc_warn_flag
9160 if test -z "$ac_cpp_err"; then
9161 ac_header_preproc=yes
9163 echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9166 ac_header_preproc=no
9168 rm -f conftest.err conftest.$ac_ext
9169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9170 echo "${ECHO_T}$ac_header_preproc" >&6
9172 # So? What about this header?
9173 case $ac_header_compiler:$ac_header_preproc in
9175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9181 ## ------------------------------------ ##
9182 ## Report this to bug-autoconf@gnu.org. ##
9183 ## ------------------------------------ ##
9186 sed "s/^/$as_me: WARNING: /" >&2
9189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9197 ## ------------------------------------ ##
9198 ## Report this to bug-autoconf@gnu.org. ##
9199 ## ------------------------------------ ##
9202 sed "s/^/$as_me: WARNING: /" >&2
9205 echo "$as_me:$LINENO: checking for $ac_header" >&5
9206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9208 echo $ECHO_N "(cached) $ECHO_C" >&6
9210 eval "$as_ac_Header=$ac_header_preproc"
9212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9217 cat >>confdefs.h <<_ACEOF
9218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9227 for ac_header in sys/clkdefs.h sys/file.h
9229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9231 echo "$as_me:$LINENO: checking for $ac_header" >&5
9232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9234 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9239 # Is the header compilable?
9240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9242 cat >conftest.$ac_ext <<_ACEOF
9243 #line $LINENO "configure"
9246 cat confdefs.h >>conftest.$ac_ext
9247 cat >>conftest.$ac_ext <<_ACEOF
9248 /* end confdefs.h. */
9249 $ac_includes_default
9250 #include <$ac_header>
9252 rm -f conftest.$ac_objext
9253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9254 (eval $ac_compile) 2>&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); } &&
9258 { ac_try='test -s conftest.$ac_objext'
9259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); }; }; then
9264 ac_header_compiler=yes
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.$ac_ext >&5
9269 ac_header_compiler=no
9271 rm -f conftest.$ac_objext conftest.$ac_ext
9272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9273 echo "${ECHO_T}$ac_header_compiler" >&6
9275 # Is the header present?
9276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9278 cat >conftest.$ac_ext <<_ACEOF
9279 #line $LINENO "configure"
9282 cat confdefs.h >>conftest.$ac_ext
9283 cat >>conftest.$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9285 #include <$ac_header>
9287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9290 grep -v '^ *+' conftest.er1 >conftest.err
9292 cat conftest.err >&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); } >/dev/null; then
9295 if test -s conftest.err; then
9296 ac_cpp_err=$ac_c_preproc_warn_flag
9303 if test -z "$ac_cpp_err"; then
9304 ac_header_preproc=yes
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9309 ac_header_preproc=no
9311 rm -f conftest.err conftest.$ac_ext
9312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9313 echo "${ECHO_T}$ac_header_preproc" >&6
9315 # So? What about this header?
9316 case $ac_header_compiler:$ac_header_preproc in
9318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9324 ## ------------------------------------ ##
9325 ## Report this to bug-autoconf@gnu.org. ##
9326 ## ------------------------------------ ##
9329 sed "s/^/$as_me: WARNING: /" >&2
9332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9340 ## ------------------------------------ ##
9341 ## Report this to bug-autoconf@gnu.org. ##
9342 ## ------------------------------------ ##
9345 sed "s/^/$as_me: WARNING: /" >&2
9348 echo "$as_me:$LINENO: checking for $ac_header" >&5
9349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 eval "$as_ac_Header=$ac_header_preproc"
9355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9360 cat >>confdefs.h <<_ACEOF
9361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9371 for ac_header in sys/ioctl.h
9373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9375 echo "$as_me:$LINENO: checking for $ac_header" >&5
9376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9378 echo $ECHO_N "(cached) $ECHO_C" >&6
9380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9383 # Is the header compilable?
9384 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9386 cat >conftest.$ac_ext <<_ACEOF
9387 #line $LINENO "configure"
9390 cat confdefs.h >>conftest.$ac_ext
9391 cat >>conftest.$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9393 $ac_includes_default
9394 #include <$ac_header>
9396 rm -f conftest.$ac_objext
9397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9398 (eval $ac_compile) 2>&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try='test -s conftest.$ac_objext'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; }; then
9408 ac_header_compiler=yes
9410 echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.$ac_ext >&5
9413 ac_header_compiler=no
9415 rm -f conftest.$ac_objext conftest.$ac_ext
9416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9417 echo "${ECHO_T}$ac_header_compiler" >&6
9419 # Is the header present?
9420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9422 cat >conftest.$ac_ext <<_ACEOF
9423 #line $LINENO "configure"
9426 cat confdefs.h >>conftest.$ac_ext
9427 cat >>conftest.$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9429 #include <$ac_header>
9431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9434 grep -v '^ *+' conftest.er1 >conftest.err
9436 cat conftest.err >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } >/dev/null; then
9439 if test -s conftest.err; then
9440 ac_cpp_err=$ac_c_preproc_warn_flag
9447 if test -z "$ac_cpp_err"; then
9448 ac_header_preproc=yes
9450 echo "$as_me: failed program was:" >&5
9451 sed 's/^/| /' conftest.$ac_ext >&5
9453 ac_header_preproc=no
9455 rm -f conftest.err conftest.$ac_ext
9456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9457 echo "${ECHO_T}$ac_header_preproc" >&6
9459 # So? What about this header?
9460 case $ac_header_compiler:$ac_header_preproc in
9462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9468 ## ------------------------------------ ##
9469 ## Report this to bug-autoconf@gnu.org. ##
9470 ## ------------------------------------ ##
9473 sed "s/^/$as_me: WARNING: /" >&2
9476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9484 ## ------------------------------------ ##
9485 ## Report this to bug-autoconf@gnu.org. ##
9486 ## ------------------------------------ ##
9489 sed "s/^/$as_me: WARNING: /" >&2
9492 echo "$as_me:$LINENO: checking for $ac_header" >&5
9493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 eval "$as_ac_Header=$ac_header_preproc"
9499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9504 cat >>confdefs.h <<_ACEOF
9505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9515 for ac_header in sys/ipc.h
9517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9519 echo "$as_me:$LINENO: checking for $ac_header" >&5
9520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9522 echo $ECHO_N "(cached) $ECHO_C" >&6
9524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9527 # Is the header compilable?
9528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9530 cat >conftest.$ac_ext <<_ACEOF
9531 #line $LINENO "configure"
9534 cat confdefs.h >>conftest.$ac_ext
9535 cat >>conftest.$ac_ext <<_ACEOF
9536 /* end confdefs.h. */
9537 $ac_includes_default
9538 #include <$ac_header>
9540 rm -f conftest.$ac_objext
9541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9542 (eval $ac_compile) 2>&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } &&
9546 { ac_try='test -s conftest.$ac_objext'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; }; then
9552 ac_header_compiler=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9557 ac_header_compiler=no
9559 rm -f conftest.$ac_objext conftest.$ac_ext
9560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9561 echo "${ECHO_T}$ac_header_compiler" >&6
9563 # Is the header present?
9564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9566 cat >conftest.$ac_ext <<_ACEOF
9567 #line $LINENO "configure"
9570 cat confdefs.h >>conftest.$ac_ext
9571 cat >>conftest.$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9573 #include <$ac_header>
9575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9578 grep -v '^ *+' conftest.er1 >conftest.err
9580 cat conftest.err >&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); } >/dev/null; then
9583 if test -s conftest.err; then
9584 ac_cpp_err=$ac_c_preproc_warn_flag
9591 if test -z "$ac_cpp_err"; then
9592 ac_header_preproc=yes
9594 echo "$as_me: failed program was:" >&5
9595 sed 's/^/| /' conftest.$ac_ext >&5
9597 ac_header_preproc=no
9599 rm -f conftest.err conftest.$ac_ext
9600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9601 echo "${ECHO_T}$ac_header_preproc" >&6
9603 # So? What about this header?
9604 case $ac_header_compiler:$ac_header_preproc in
9606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9612 ## ------------------------------------ ##
9613 ## Report this to bug-autoconf@gnu.org. ##
9614 ## ------------------------------------ ##
9617 sed "s/^/$as_me: WARNING: /" >&2
9620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9628 ## ------------------------------------ ##
9629 ## Report this to bug-autoconf@gnu.org. ##
9630 ## ------------------------------------ ##
9633 sed "s/^/$as_me: WARNING: /" >&2
9636 echo "$as_me:$LINENO: checking for $ac_header" >&5
9637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 eval "$as_ac_Header=$ac_header_preproc"
9643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9648 cat >>confdefs.h <<_ACEOF
9649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9661 for ac_header in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h
9663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9665 echo "$as_me:$LINENO: checking for $ac_header" >&5
9666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9673 # Is the header compilable?
9674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9676 cat >conftest.$ac_ext <<_ACEOF
9677 #line $LINENO "configure"
9680 cat confdefs.h >>conftest.$ac_ext
9681 cat >>conftest.$ac_ext <<_ACEOF
9682 /* end confdefs.h. */
9683 $ac_includes_default
9684 #include <$ac_header>
9686 rm -f conftest.$ac_objext
9687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9688 (eval $ac_compile) 2>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try='test -s conftest.$ac_objext'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 ac_header_compiler=yes
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.$ac_ext >&5
9703 ac_header_compiler=no
9705 rm -f conftest.$ac_objext conftest.$ac_ext
9706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9707 echo "${ECHO_T}$ac_header_compiler" >&6
9709 # Is the header present?
9710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9712 cat >conftest.$ac_ext <<_ACEOF
9713 #line $LINENO "configure"
9716 cat confdefs.h >>conftest.$ac_ext
9717 cat >>conftest.$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9719 #include <$ac_header>
9721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9724 grep -v '^ *+' conftest.er1 >conftest.err
9726 cat conftest.err >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } >/dev/null; then
9729 if test -s conftest.err; then
9730 ac_cpp_err=$ac_c_preproc_warn_flag
9737 if test -z "$ac_cpp_err"; then
9738 ac_header_preproc=yes
9740 echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.$ac_ext >&5
9743 ac_header_preproc=no
9745 rm -f conftest.err conftest.$ac_ext
9746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9747 echo "${ECHO_T}$ac_header_preproc" >&6
9749 # So? What about this header?
9750 case $ac_header_compiler:$ac_header_preproc in
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9758 ## ------------------------------------ ##
9759 ## Report this to bug-autoconf@gnu.org. ##
9760 ## ------------------------------------ ##
9763 sed "s/^/$as_me: WARNING: /" >&2
9766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9774 ## ------------------------------------ ##
9775 ## Report this to bug-autoconf@gnu.org. ##
9776 ## ------------------------------------ ##
9779 sed "s/^/$as_me: WARNING: /" >&2
9782 echo "$as_me:$LINENO: checking for $ac_header" >&5
9783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 eval "$as_ac_Header=$ac_header_preproc"
9789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9794 cat >>confdefs.h <<_ACEOF
9795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9806 for ac_header in sys/ppstime.h sys/proc.h sys/resource.h sys/sched.h
9808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9810 echo "$as_me:$LINENO: checking for $ac_header" >&5
9811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9818 # Is the header compilable?
9819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9821 cat >conftest.$ac_ext <<_ACEOF
9822 #line $LINENO "configure"
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9828 $ac_includes_default
9829 #include <$ac_header>
9831 rm -f conftest.$ac_objext
9832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9833 (eval $ac_compile) 2>&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); } &&
9837 { ac_try='test -s conftest.$ac_objext'
9838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; }; then
9843 ac_header_compiler=yes
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.$ac_ext >&5
9848 ac_header_compiler=no
9850 rm -f conftest.$ac_objext conftest.$ac_ext
9851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9852 echo "${ECHO_T}$ac_header_compiler" >&6
9854 # Is the header present?
9855 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9856 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9857 cat >conftest.$ac_ext <<_ACEOF
9858 #line $LINENO "configure"
9861 cat confdefs.h >>conftest.$ac_ext
9862 cat >>conftest.$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9864 #include <$ac_header>
9866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9869 grep -v '^ *+' conftest.er1 >conftest.err
9871 cat conftest.err >&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); } >/dev/null; then
9874 if test -s conftest.err; then
9875 ac_cpp_err=$ac_c_preproc_warn_flag
9882 if test -z "$ac_cpp_err"; then
9883 ac_header_preproc=yes
9885 echo "$as_me: failed program was:" >&5
9886 sed 's/^/| /' conftest.$ac_ext >&5
9888 ac_header_preproc=no
9890 rm -f conftest.err conftest.$ac_ext
9891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9892 echo "${ECHO_T}$ac_header_preproc" >&6
9894 # So? What about this header?
9895 case $ac_header_compiler:$ac_header_preproc in
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9903 ## ------------------------------------ ##
9904 ## Report this to bug-autoconf@gnu.org. ##
9905 ## ------------------------------------ ##
9908 sed "s/^/$as_me: WARNING: /" >&2
9911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9919 ## ------------------------------------ ##
9920 ## Report this to bug-autoconf@gnu.org. ##
9921 ## ------------------------------------ ##
9924 sed "s/^/$as_me: WARNING: /" >&2
9927 echo "$as_me:$LINENO: checking for $ac_header" >&5
9928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 eval "$as_ac_Header=$ac_header_preproc"
9934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9939 cat >>confdefs.h <<_ACEOF
9940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9950 for ac_header in sys/sio.h
9952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9954 echo "$as_me:$LINENO: checking for $ac_header" >&5
9955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9962 # Is the header compilable?
9963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9965 cat >conftest.$ac_ext <<_ACEOF
9966 #line $LINENO "configure"
9969 cat confdefs.h >>conftest.$ac_ext
9970 cat >>conftest.$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9972 $ac_includes_default
9973 #include <$ac_header>
9975 rm -f conftest.$ac_objext
9976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9977 (eval $ac_compile) 2>&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); } &&
9981 { ac_try='test -s conftest.$ac_objext'
9982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); }; }; then
9987 ac_header_compiler=yes
9989 echo "$as_me: failed program was:" >&5
9990 sed 's/^/| /' conftest.$ac_ext >&5
9992 ac_header_compiler=no
9994 rm -f conftest.$ac_objext conftest.$ac_ext
9995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9996 echo "${ECHO_T}$ac_header_compiler" >&6
9998 # Is the header present?
9999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10001 cat >conftest.$ac_ext <<_ACEOF
10002 #line $LINENO "configure"
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h. */
10008 #include <$ac_header>
10010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10013 grep -v '^ *+' conftest.er1 >conftest.err
10015 cat conftest.err >&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } >/dev/null; then
10018 if test -s conftest.err; then
10019 ac_cpp_err=$ac_c_preproc_warn_flag
10026 if test -z "$ac_cpp_err"; then
10027 ac_header_preproc=yes
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10032 ac_header_preproc=no
10034 rm -f conftest.err conftest.$ac_ext
10035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10036 echo "${ECHO_T}$ac_header_preproc" >&6
10038 # So? What about this header?
10039 case $ac_header_compiler:$ac_header_preproc in
10041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10047 ## ------------------------------------ ##
10048 ## Report this to bug-autoconf@gnu.org. ##
10049 ## ------------------------------------ ##
10052 sed "s/^/$as_me: WARNING: /" >&2
10055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10063 ## ------------------------------------ ##
10064 ## Report this to bug-autoconf@gnu.org. ##
10065 ## ------------------------------------ ##
10068 sed "s/^/$as_me: WARNING: /" >&2
10071 echo "$as_me:$LINENO: checking for $ac_header" >&5
10072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10074 echo $ECHO_N "(cached) $ECHO_C" >&6
10076 eval "$as_ac_Header=$ac_header_preproc"
10078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10083 cat >>confdefs.h <<_ACEOF
10084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10097 for ac_header in sys/select.h sys/shm.h sys/signal.h sys/sockio.h
10099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10101 echo "$as_me:$LINENO: checking for $ac_header" >&5
10102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10109 # Is the header compilable?
10110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10112 cat >conftest.$ac_ext <<_ACEOF
10113 #line $LINENO "configure"
10116 cat confdefs.h >>conftest.$ac_ext
10117 cat >>conftest.$ac_ext <<_ACEOF
10118 /* end confdefs.h. */
10119 $ac_includes_default
10120 #include <$ac_header>
10122 rm -f conftest.$ac_objext
10123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10124 (eval $ac_compile) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } &&
10128 { ac_try='test -s conftest.$ac_objext'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; }; then
10134 ac_header_compiler=yes
10136 echo "$as_me: failed program was:" >&5
10137 sed 's/^/| /' conftest.$ac_ext >&5
10139 ac_header_compiler=no
10141 rm -f conftest.$ac_objext conftest.$ac_ext
10142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10143 echo "${ECHO_T}$ac_header_compiler" >&6
10145 # Is the header present?
10146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10148 cat >conftest.$ac_ext <<_ACEOF
10149 #line $LINENO "configure"
10152 cat confdefs.h >>conftest.$ac_ext
10153 cat >>conftest.$ac_ext <<_ACEOF
10154 /* end confdefs.h. */
10155 #include <$ac_header>
10157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10160 grep -v '^ *+' conftest.er1 >conftest.err
10162 cat conftest.err >&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); } >/dev/null; then
10165 if test -s conftest.err; then
10166 ac_cpp_err=$ac_c_preproc_warn_flag
10173 if test -z "$ac_cpp_err"; then
10174 ac_header_preproc=yes
10176 echo "$as_me: failed program was:" >&5
10177 sed 's/^/| /' conftest.$ac_ext >&5
10179 ac_header_preproc=no
10181 rm -f conftest.err conftest.$ac_ext
10182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10183 echo "${ECHO_T}$ac_header_preproc" >&6
10185 # So? What about this header?
10186 case $ac_header_compiler:$ac_header_preproc in
10188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10194 ## ------------------------------------ ##
10195 ## Report this to bug-autoconf@gnu.org. ##
10196 ## ------------------------------------ ##
10199 sed "s/^/$as_me: WARNING: /" >&2
10202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10210 ## ------------------------------------ ##
10211 ## Report this to bug-autoconf@gnu.org. ##
10212 ## ------------------------------------ ##
10215 sed "s/^/$as_me: WARNING: /" >&2
10218 echo "$as_me:$LINENO: checking for $ac_header" >&5
10219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 eval "$as_ac_Header=$ac_header_preproc"
10225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10230 cat >>confdefs.h <<_ACEOF
10231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10240 for ac_header in machine/soundcard.h sys/soundcard.h
10242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10244 echo "$as_me:$LINENO: checking for $ac_header" >&5
10245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10247 echo $ECHO_N "(cached) $ECHO_C" >&6
10249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10252 # Is the header compilable?
10253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10255 cat >conftest.$ac_ext <<_ACEOF
10256 #line $LINENO "configure"
10259 cat confdefs.h >>conftest.$ac_ext
10260 cat >>conftest.$ac_ext <<_ACEOF
10261 /* end confdefs.h. */
10262 $ac_includes_default
10263 #include <$ac_header>
10265 rm -f conftest.$ac_objext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10267 (eval $ac_compile) 2>&5
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 (exit $ac_status); } &&
10271 { ac_try='test -s conftest.$ac_objext'
10272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10273 (eval $ac_try) 2>&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); }; }; then
10277 ac_header_compiler=yes
10279 echo "$as_me: failed program was:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10282 ac_header_compiler=no
10284 rm -f conftest.$ac_objext conftest.$ac_ext
10285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10286 echo "${ECHO_T}$ac_header_compiler" >&6
10288 # Is the header present?
10289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10291 cat >conftest.$ac_ext <<_ACEOF
10292 #line $LINENO "configure"
10295 cat confdefs.h >>conftest.$ac_ext
10296 cat >>conftest.$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10298 #include <$ac_header>
10300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10303 grep -v '^ *+' conftest.er1 >conftest.err
10305 cat conftest.err >&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } >/dev/null; then
10308 if test -s conftest.err; then
10309 ac_cpp_err=$ac_c_preproc_warn_flag
10316 if test -z "$ac_cpp_err"; then
10317 ac_header_preproc=yes
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 ac_header_preproc=no
10324 rm -f conftest.err conftest.$ac_ext
10325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10326 echo "${ECHO_T}$ac_header_preproc" >&6
10328 # So? What about this header?
10329 case $ac_header_compiler:$ac_header_preproc in
10331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10337 ## ------------------------------------ ##
10338 ## Report this to bug-autoconf@gnu.org. ##
10339 ## ------------------------------------ ##
10342 sed "s/^/$as_me: WARNING: /" >&2
10345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10353 ## ------------------------------------ ##
10354 ## Report this to bug-autoconf@gnu.org. ##
10355 ## ------------------------------------ ##
10358 sed "s/^/$as_me: WARNING: /" >&2
10361 echo "$as_me:$LINENO: checking for $ac_header" >&5
10362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 eval "$as_ac_Header=$ac_header_preproc"
10368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10373 cat >>confdefs.h <<_ACEOF
10374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10383 for ac_header in sys/stat.h sys/stream.h
10385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10387 echo "$as_me:$LINENO: checking for $ac_header" >&5
10388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10395 # Is the header compilable?
10396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10398 cat >conftest.$ac_ext <<_ACEOF
10399 #line $LINENO "configure"
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10405 $ac_includes_default
10406 #include <$ac_header>
10408 rm -f conftest.$ac_objext
10409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10410 (eval $ac_compile) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); } &&
10414 { ac_try='test -s conftest.$ac_objext'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; }; then
10420 ac_header_compiler=yes
10422 echo "$as_me: failed program was:" >&5
10423 sed 's/^/| /' conftest.$ac_ext >&5
10425 ac_header_compiler=no
10427 rm -f conftest.$ac_objext conftest.$ac_ext
10428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10429 echo "${ECHO_T}$ac_header_compiler" >&6
10431 # Is the header present?
10432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10434 cat >conftest.$ac_ext <<_ACEOF
10435 #line $LINENO "configure"
10438 cat confdefs.h >>conftest.$ac_ext
10439 cat >>conftest.$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10441 #include <$ac_header>
10443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10446 grep -v '^ *+' conftest.er1 >conftest.err
10448 cat conftest.err >&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); } >/dev/null; then
10451 if test -s conftest.err; then
10452 ac_cpp_err=$ac_c_preproc_warn_flag
10459 if test -z "$ac_cpp_err"; then
10460 ac_header_preproc=yes
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.$ac_ext >&5
10465 ac_header_preproc=no
10467 rm -f conftest.err conftest.$ac_ext
10468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10469 echo "${ECHO_T}$ac_header_preproc" >&6
10471 # So? What about this header?
10472 case $ac_header_compiler:$ac_header_preproc in
10474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10480 ## ------------------------------------ ##
10481 ## Report this to bug-autoconf@gnu.org. ##
10482 ## ------------------------------------ ##
10485 sed "s/^/$as_me: WARNING: /" >&2
10488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10496 ## ------------------------------------ ##
10497 ## Report this to bug-autoconf@gnu.org. ##
10498 ## ------------------------------------ ##
10501 sed "s/^/$as_me: WARNING: /" >&2
10504 echo "$as_me:$LINENO: checking for $ac_header" >&5
10505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10507 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 eval "$as_ac_Header=$ac_header_preproc"
10511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10516 cat >>confdefs.h <<_ACEOF
10517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10528 for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/systune.h
10530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10532 echo "$as_me:$LINENO: checking for $ac_header" >&5
10533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10540 # Is the header compilable?
10541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10543 cat >conftest.$ac_ext <<_ACEOF
10544 #line $LINENO "configure"
10547 cat confdefs.h >>conftest.$ac_ext
10548 cat >>conftest.$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10550 $ac_includes_default
10551 #include <$ac_header>
10553 rm -f conftest.$ac_objext
10554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10555 (eval $ac_compile) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } &&
10559 { ac_try='test -s conftest.$ac_objext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 ac_header_compiler=yes
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.$ac_ext >&5
10570 ac_header_compiler=no
10572 rm -f conftest.$ac_objext conftest.$ac_ext
10573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10574 echo "${ECHO_T}$ac_header_compiler" >&6
10576 # Is the header present?
10577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10579 cat >conftest.$ac_ext <<_ACEOF
10580 #line $LINENO "configure"
10583 cat confdefs.h >>conftest.$ac_ext
10584 cat >>conftest.$ac_ext <<_ACEOF
10585 /* end confdefs.h. */
10586 #include <$ac_header>
10588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10591 grep -v '^ *+' conftest.er1 >conftest.err
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } >/dev/null; then
10596 if test -s conftest.err; then
10597 ac_cpp_err=$ac_c_preproc_warn_flag
10604 if test -z "$ac_cpp_err"; then
10605 ac_header_preproc=yes
10607 echo "$as_me: failed program was:" >&5
10608 sed 's/^/| /' conftest.$ac_ext >&5
10610 ac_header_preproc=no
10612 rm -f conftest.err conftest.$ac_ext
10613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10614 echo "${ECHO_T}$ac_header_preproc" >&6
10616 # So? What about this header?
10617 case $ac_header_compiler:$ac_header_preproc in
10619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10625 ## ------------------------------------ ##
10626 ## Report this to bug-autoconf@gnu.org. ##
10627 ## ------------------------------------ ##
10630 sed "s/^/$as_me: WARNING: /" >&2
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10641 ## ------------------------------------ ##
10642 ## Report this to bug-autoconf@gnu.org. ##
10643 ## ------------------------------------ ##
10646 sed "s/^/$as_me: WARNING: /" >&2
10649 echo "$as_me:$LINENO: checking for $ac_header" >&5
10650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 eval "$as_ac_Header=$ac_header_preproc"
10656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10661 cat >>confdefs.h <<_ACEOF
10662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10672 for ac_header in sys/termios.h sys/time.h sys/signal.h
10674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10676 echo "$as_me:$LINENO: checking for $ac_header" >&5
10677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10684 # Is the header compilable?
10685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10687 cat >conftest.$ac_ext <<_ACEOF
10688 #line $LINENO "configure"
10691 cat confdefs.h >>conftest.$ac_ext
10692 cat >>conftest.$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10694 $ac_includes_default
10695 #include <$ac_header>
10697 rm -f conftest.$ac_objext
10698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10699 (eval $ac_compile) 2>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } &&
10703 { ac_try='test -s conftest.$ac_objext'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; }; then
10709 ac_header_compiler=yes
10711 echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.$ac_ext >&5
10714 ac_header_compiler=no
10716 rm -f conftest.$ac_objext conftest.$ac_ext
10717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10718 echo "${ECHO_T}$ac_header_compiler" >&6
10720 # Is the header present?
10721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10723 cat >conftest.$ac_ext <<_ACEOF
10724 #line $LINENO "configure"
10727 cat confdefs.h >>conftest.$ac_ext
10728 cat >>conftest.$ac_ext <<_ACEOF
10729 /* end confdefs.h. */
10730 #include <$ac_header>
10732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10735 grep -v '^ *+' conftest.er1 >conftest.err
10737 cat conftest.err >&5
10738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 (exit $ac_status); } >/dev/null; then
10740 if test -s conftest.err; then
10741 ac_cpp_err=$ac_c_preproc_warn_flag
10748 if test -z "$ac_cpp_err"; then
10749 ac_header_preproc=yes
10751 echo "$as_me: failed program was:" >&5
10752 sed 's/^/| /' conftest.$ac_ext >&5
10754 ac_header_preproc=no
10756 rm -f conftest.err conftest.$ac_ext
10757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10758 echo "${ECHO_T}$ac_header_preproc" >&6
10760 # So? What about this header?
10761 case $ac_header_compiler:$ac_header_preproc in
10763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10769 ## ------------------------------------ ##
10770 ## Report this to bug-autoconf@gnu.org. ##
10771 ## ------------------------------------ ##
10774 sed "s/^/$as_me: WARNING: /" >&2
10777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10785 ## ------------------------------------ ##
10786 ## Report this to bug-autoconf@gnu.org. ##
10787 ## ------------------------------------ ##
10790 sed "s/^/$as_me: WARNING: /" >&2
10793 echo "$as_me:$LINENO: checking for $ac_header" >&5
10794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10796 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 eval "$as_ac_Header=$ac_header_preproc"
10800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10805 cat >>confdefs.h <<_ACEOF
10806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10813 cat >conftest.$ac_ext <<_ACEOF
10814 #line $LINENO "configure"
10817 cat confdefs.h >>conftest.$ac_ext
10818 cat >>conftest.$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10820 #include <sys/timepps.h>
10821 #ifdef PPS_API_VERS_1
10826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10827 $EGREP "yes" >/dev/null 2>&1; then
10829 for ac_header in sys/timepps.h
10831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10833 echo "$as_me:$LINENO: checking for $ac_header" >&5
10834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10841 # Is the header compilable?
10842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10844 cat >conftest.$ac_ext <<_ACEOF
10845 #line $LINENO "configure"
10848 cat confdefs.h >>conftest.$ac_ext
10849 cat >>conftest.$ac_ext <<_ACEOF
10850 /* end confdefs.h. */
10851 $ac_includes_default
10852 #include <$ac_header>
10854 rm -f conftest.$ac_objext
10855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10856 (eval $ac_compile) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } &&
10860 { ac_try='test -s conftest.$ac_objext'
10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862 (eval $ac_try) 2>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); }; }; then
10866 ac_header_compiler=yes
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.$ac_ext >&5
10871 ac_header_compiler=no
10873 rm -f conftest.$ac_objext conftest.$ac_ext
10874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10875 echo "${ECHO_T}$ac_header_compiler" >&6
10877 # Is the header present?
10878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10880 cat >conftest.$ac_ext <<_ACEOF
10881 #line $LINENO "configure"
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10887 #include <$ac_header>
10889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10892 grep -v '^ *+' conftest.er1 >conftest.err
10894 cat conftest.err >&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); } >/dev/null; then
10897 if test -s conftest.err; then
10898 ac_cpp_err=$ac_c_preproc_warn_flag
10905 if test -z "$ac_cpp_err"; then
10906 ac_header_preproc=yes
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.$ac_ext >&5
10911 ac_header_preproc=no
10913 rm -f conftest.err conftest.$ac_ext
10914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10915 echo "${ECHO_T}$ac_header_preproc" >&6
10917 # So? What about this header?
10918 case $ac_header_compiler:$ac_header_preproc in
10920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10926 ## ------------------------------------ ##
10927 ## Report this to bug-autoconf@gnu.org. ##
10928 ## ------------------------------------ ##
10931 sed "s/^/$as_me: WARNING: /" >&2
10934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10942 ## ------------------------------------ ##
10943 ## Report this to bug-autoconf@gnu.org. ##
10944 ## ------------------------------------ ##
10947 sed "s/^/$as_me: WARNING: /" >&2
10950 echo "$as_me:$LINENO: checking for $ac_header" >&5
10951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10953 echo $ECHO_N "(cached) $ECHO_C" >&6
10955 eval "$as_ac_Header=$ac_header_preproc"
10957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10962 cat >>confdefs.h <<_ACEOF
10963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10978 for ac_header in sys/timers.h sys/timex.h sys/tpro.h sys/types.h sys/wait.h
10980 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10982 echo "$as_me:$LINENO: checking for $ac_header" >&5
10983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10990 # Is the header compilable?
10991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10993 cat >conftest.$ac_ext <<_ACEOF
10994 #line $LINENO "configure"
10997 cat confdefs.h >>conftest.$ac_ext
10998 cat >>conftest.$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11000 $ac_includes_default
11001 #include <$ac_header>
11003 rm -f conftest.$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); } &&
11009 { ac_try='test -s conftest.$ac_objext'
11010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011 (eval $ac_try) 2>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); }; }; then
11015 ac_header_compiler=yes
11017 echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11020 ac_header_compiler=no
11022 rm -f conftest.$ac_objext conftest.$ac_ext
11023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11024 echo "${ECHO_T}$ac_header_compiler" >&6
11026 # Is the header present?
11027 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11029 cat >conftest.$ac_ext <<_ACEOF
11030 #line $LINENO "configure"
11033 cat confdefs.h >>conftest.$ac_ext
11034 cat >>conftest.$ac_ext <<_ACEOF
11035 /* end confdefs.h. */
11036 #include <$ac_header>
11038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11041 grep -v '^ *+' conftest.er1 >conftest.err
11043 cat conftest.err >&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); } >/dev/null; then
11046 if test -s conftest.err; then
11047 ac_cpp_err=$ac_c_preproc_warn_flag
11054 if test -z "$ac_cpp_err"; then
11055 ac_header_preproc=yes
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.$ac_ext >&5
11060 ac_header_preproc=no
11062 rm -f conftest.err conftest.$ac_ext
11063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11064 echo "${ECHO_T}$ac_header_preproc" >&6
11066 # So? What about this header?
11067 case $ac_header_compiler:$ac_header_preproc in
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11070 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11075 ## ------------------------------------ ##
11076 ## Report this to bug-autoconf@gnu.org. ##
11077 ## ------------------------------------ ##
11080 sed "s/^/$as_me: WARNING: /" >&2
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11091 ## ------------------------------------ ##
11092 ## Report this to bug-autoconf@gnu.org. ##
11093 ## ------------------------------------ ##
11096 sed "s/^/$as_me: WARNING: /" >&2
11099 echo "$as_me:$LINENO: checking for $ac_header" >&5
11100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 eval "$as_ac_Header=$ac_header_preproc"
11106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11111 cat >>confdefs.h <<_ACEOF
11112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11119 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11120 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11121 if test "${ac_cv_header_time+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 cat >conftest.$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 #include <sys/types.h>
11132 #include <sys/time.h>
11138 if ((struct tm *) 0)
11144 rm -f conftest.$ac_objext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11146 (eval $ac_compile) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -s conftest.$ac_objext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 ac_cv_header_time=yes
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11161 ac_cv_header_time=no
11163 rm -f conftest.$ac_objext conftest.$ac_ext
11165 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11166 echo "${ECHO_T}$ac_cv_header_time" >&6
11167 if test $ac_cv_header_time = yes; then
11169 cat >>confdefs.h <<\_ACEOF
11170 #define TIME_WITH_SYS_TIME 1
11179 for ac_header in /sys/sync/queue.h /sys/sync/sema.h
11181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11183 echo "$as_me:$LINENO: checking for $ac_header" >&5
11184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11191 # Is the header compilable?
11192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11194 cat >conftest.$ac_ext <<_ACEOF
11195 #line $LINENO "configure"
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 $ac_includes_default
11202 #include <$ac_header>
11204 rm -f conftest.$ac_objext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11206 (eval $ac_compile) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } &&
11210 { ac_try='test -s conftest.$ac_objext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11216 ac_header_compiler=yes
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.$ac_ext >&5
11221 ac_header_compiler=no
11223 rm -f conftest.$ac_objext conftest.$ac_ext
11224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11225 echo "${ECHO_T}$ac_header_compiler" >&6
11227 # Is the header present?
11228 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11230 cat >conftest.$ac_ext <<_ACEOF
11231 #line $LINENO "configure"
11234 cat confdefs.h >>conftest.$ac_ext
11235 cat >>conftest.$ac_ext <<_ACEOF
11236 /* end confdefs.h. */
11237 #include <$ac_header>
11239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11242 grep -v '^ *+' conftest.er1 >conftest.err
11244 cat conftest.err >&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } >/dev/null; then
11247 if test -s conftest.err; then
11248 ac_cpp_err=$ac_c_preproc_warn_flag
11255 if test -z "$ac_cpp_err"; then
11256 ac_header_preproc=yes
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.$ac_ext >&5
11261 ac_header_preproc=no
11263 rm -f conftest.err conftest.$ac_ext
11264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11265 echo "${ECHO_T}$ac_header_preproc" >&6
11267 # So? What about this header?
11268 case $ac_header_compiler:$ac_header_preproc in
11270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11276 ## ------------------------------------ ##
11277 ## Report this to bug-autoconf@gnu.org. ##
11278 ## ------------------------------------ ##
11281 sed "s/^/$as_me: WARNING: /" >&2
11284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11292 ## ------------------------------------ ##
11293 ## Report this to bug-autoconf@gnu.org. ##
11294 ## ------------------------------------ ##
11297 sed "s/^/$as_me: WARNING: /" >&2
11300 echo "$as_me:$LINENO: checking for $ac_header" >&5
11301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 eval "$as_ac_Header=$ac_header_preproc"
11307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11312 cat >>confdefs.h <<_ACEOF
11313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11325 for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
11327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11329 echo "$as_me:$LINENO: checking for $ac_header" >&5
11330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11337 # Is the header compilable?
11338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11340 cat >conftest.$ac_ext <<_ACEOF
11341 #line $LINENO "configure"
11344 cat confdefs.h >>conftest.$ac_ext
11345 cat >>conftest.$ac_ext <<_ACEOF
11346 /* end confdefs.h. */
11347 $ac_includes_default
11348 #include <$ac_header>
11350 rm -f conftest.$ac_objext
11351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11352 (eval $ac_compile) 2>&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } &&
11356 { ac_try='test -s conftest.$ac_objext'
11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11358 (eval $ac_try) 2>&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); }; }; then
11362 ac_header_compiler=yes
11364 echo "$as_me: failed program was:" >&5
11365 sed 's/^/| /' conftest.$ac_ext >&5
11367 ac_header_compiler=no
11369 rm -f conftest.$ac_objext conftest.$ac_ext
11370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11371 echo "${ECHO_T}$ac_header_compiler" >&6
11373 # Is the header present?
11374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11376 cat >conftest.$ac_ext <<_ACEOF
11377 #line $LINENO "configure"
11380 cat confdefs.h >>conftest.$ac_ext
11381 cat >>conftest.$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11383 #include <$ac_header>
11385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11388 grep -v '^ *+' conftest.er1 >conftest.err
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } >/dev/null; then
11393 if test -s conftest.err; then
11394 ac_cpp_err=$ac_c_preproc_warn_flag
11401 if test -z "$ac_cpp_err"; then
11402 ac_header_preproc=yes
11404 echo "$as_me: failed program was:" >&5
11405 sed 's/^/| /' conftest.$ac_ext >&5
11407 ac_header_preproc=no
11409 rm -f conftest.err conftest.$ac_ext
11410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11411 echo "${ECHO_T}$ac_header_preproc" >&6
11413 # So? What about this header?
11414 case $ac_header_compiler:$ac_header_preproc in
11416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11422 ## ------------------------------------ ##
11423 ## Report this to bug-autoconf@gnu.org. ##
11424 ## ------------------------------------ ##
11427 sed "s/^/$as_me: WARNING: /" >&2
11430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11438 ## ------------------------------------ ##
11439 ## Report this to bug-autoconf@gnu.org. ##
11440 ## ------------------------------------ ##
11443 sed "s/^/$as_me: WARNING: /" >&2
11446 echo "$as_me:$LINENO: checking for $ac_header" >&5
11447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 eval "$as_ac_Header=$ac_header_preproc"
11453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11458 cat >>confdefs.h <<_ACEOF
11459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11469 if test "${ac_cv_header_nlist_h+set}" = set; then
11470 echo "$as_me:$LINENO: checking for nlist.h" >&5
11471 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
11472 if test "${ac_cv_header_nlist_h+set}" = set; then
11473 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
11476 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
11478 # Is the header compilable?
11479 echo "$as_me:$LINENO: checking nlist.h usability" >&5
11480 echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6
11481 cat >conftest.$ac_ext <<_ACEOF
11482 #line $LINENO "configure"
11485 cat confdefs.h >>conftest.$ac_ext
11486 cat >>conftest.$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 $ac_includes_default
11491 rm -f conftest.$ac_objext
11492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11493 (eval $ac_compile) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } &&
11497 { ac_try='test -s conftest.$ac_objext'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; }; then
11503 ac_header_compiler=yes
11505 echo "$as_me: failed program was:" >&5
11506 sed 's/^/| /' conftest.$ac_ext >&5
11508 ac_header_compiler=no
11510 rm -f conftest.$ac_objext conftest.$ac_ext
11511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11512 echo "${ECHO_T}$ac_header_compiler" >&6
11514 # Is the header present?
11515 echo "$as_me:$LINENO: checking nlist.h presence" >&5
11516 echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6
11517 cat >conftest.$ac_ext <<_ACEOF
11518 #line $LINENO "configure"
11521 cat confdefs.h >>conftest.$ac_ext
11522 cat >>conftest.$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11529 grep -v '^ *+' conftest.er1 >conftest.err
11531 cat conftest.err >&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); } >/dev/null; then
11534 if test -s conftest.err; then
11535 ac_cpp_err=$ac_c_preproc_warn_flag
11542 if test -z "$ac_cpp_err"; then
11543 ac_header_preproc=yes
11545 echo "$as_me: failed program was:" >&5
11546 sed 's/^/| /' conftest.$ac_ext >&5
11548 ac_header_preproc=no
11550 rm -f conftest.err conftest.$ac_ext
11551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11552 echo "${ECHO_T}$ac_header_preproc" >&6
11554 # So? What about this header?
11555 case $ac_header_compiler:$ac_header_preproc in
11557 { echo "$as_me:$LINENO: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&5
11558 echo "$as_me: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11559 { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
11560 echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
11563 ## ------------------------------------ ##
11564 ## Report this to bug-autoconf@gnu.org. ##
11565 ## ------------------------------------ ##
11568 sed "s/^/$as_me: WARNING: /" >&2
11571 { echo "$as_me:$LINENO: WARNING: nlist.h: present but cannot be compiled" >&5
11572 echo "$as_me: WARNING: nlist.h: present but cannot be compiled" >&2;}
11573 { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
11574 echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
11575 { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
11576 echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
11579 ## ------------------------------------ ##
11580 ## Report this to bug-autoconf@gnu.org. ##
11581 ## ------------------------------------ ##
11584 sed "s/^/$as_me: WARNING: /" >&2
11587 echo "$as_me:$LINENO: checking for nlist.h" >&5
11588 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
11589 if test "${ac_cv_header_nlist_h+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 ac_cv_header_nlist_h=$ac_header_preproc
11594 echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
11595 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
11598 if test $ac_cv_header_nlist_h = yes; then
11600 cat >>confdefs.h <<\_ACEOF
11601 #define NLIST_STRUCT 1
11604 echo "$as_me:$LINENO: checking for n_un in struct nlist" >&5
11605 echo $ECHO_N "checking for n_un in struct nlist... $ECHO_C" >&6
11606 if test "${ac_cv_struct_nlist_n_un+set}" = set; then
11607 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 cat >conftest.$ac_ext <<_ACEOF
11610 #line $LINENO "configure"
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11620 struct nlist n; n.n_un.n_name = 0;
11625 rm -f conftest.$ac_objext
11626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11627 (eval $ac_compile) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } &&
11631 { ac_try='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_struct_nlist_n_un=yes
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.$ac_ext >&5
11642 ac_cv_struct_nlist_n_un=no
11644 rm -f conftest.$ac_objext conftest.$ac_ext
11646 echo "$as_me:$LINENO: result: $ac_cv_struct_nlist_n_un" >&5
11647 echo "${ECHO_T}$ac_cv_struct_nlist_n_un" >&6
11648 if test $ac_cv_struct_nlist_n_un = yes; then
11650 cat >>confdefs.h <<\_ACEOF
11651 #define NLIST_NAME_UNION 1
11661 for ac_header in resolv.h
11663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11664 echo "$as_me:$LINENO: checking for $ac_header" >&5
11665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11669 cat >conftest.$ac_ext <<_ACEOF
11670 #line $LINENO "configure"
11673 cat confdefs.h >>conftest.$ac_ext
11674 cat >>conftest.$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11676 #if HAVE_SYS_TYPES_H
11677 #include <sys/types.h>
11679 #if HAVE_NETINET_IN_H
11680 #include <netinet/in.h>
11682 #if HAVE_ARPA_NAMESER_H
11683 #include <arpa/nameser.h>
11687 #include <$ac_header>
11689 rm -f conftest.$ac_objext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11691 (eval $ac_compile) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try='test -s conftest.$ac_objext'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11701 eval "$as_ac_Header=yes"
11703 echo "$as_me: failed program was:" >&5
11704 sed 's/^/| /' conftest.$ac_ext >&5
11706 eval "$as_ac_Header=no"
11708 rm -f conftest.$ac_objext conftest.$ac_ext
11710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11713 cat >>confdefs.h <<_ACEOF
11714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11722 echo "$as_me:$LINENO: checking for basic volatile support" >&5
11723 echo $ECHO_N "checking for basic volatile support... $ECHO_C" >&6
11724 if test "${ac_cv_c_volatile+set}" = set; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11727 cat >conftest.$ac_ext <<_ACEOF
11728 #line $LINENO "configure"
11731 cat confdefs.h >>conftest.$ac_ext
11732 cat >>conftest.$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11744 rm -f conftest.$ac_objext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11746 (eval $ac_compile) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } &&
11750 { ac_try='test -s conftest.$ac_objext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11756 ac_cv_c_volatile=yes
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11761 ac_cv_c_volatile=no
11763 rm -f conftest.$ac_objext conftest.$ac_ext
11766 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
11767 echo "${ECHO_T}$ac_cv_c_volatile" >&6
11768 case "$ac_cv_c_volatile" in
11772 cat >>confdefs.h <<\_ACEOF
11781 # Assume that solaris2 is Ansi C...
11787 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
11788 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
11789 if test "${am_cv_prog_cc_stdc+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 am_cv_prog_cc_stdc=no
11794 # Don't try gcc -ansi; that turns off useful extensions and
11795 # breaks some systems' header files.
11796 # AIX -qlanglvl=ansi
11797 # Ultrix and OSF/1 -std1
11798 # HP-UX 10.20 and later -Ae
11799 # HP-UX older versions -Aa -D_HPUX_SOURCE
11800 # SVR4 -Xc -D__EXTENSIONS__
11801 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11803 CC="$ac_save_CC $ac_arg"
11804 cat >conftest.$ac_ext <<_ACEOF
11805 #line $LINENO "configure"
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 #include <stdarg.h>
11813 #include <sys/types.h>
11814 #include <sys/stat.h>
11815 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11816 struct buf { int x; };
11817 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11818 static char *e (p, i)
11824 static char *f (char * (*g) (char **, int), char **p, ...)
11829 s = g (p, va_arg (v,int));
11833 int test (int i, double x);
11834 struct s1 {int (*f) (int a);};
11835 struct s2 {int (*f) (double a);};
11836 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11844 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11850 rm -f conftest.$ac_objext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11852 (eval $ac_compile) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } &&
11856 { ac_try='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 am_cv_prog_cc_stdc="$ac_arg"; break
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11868 rm -f conftest.$ac_objext conftest.$ac_ext
11874 if test -z "$am_cv_prog_cc_stdc"; then
11875 echo "$as_me:$LINENO: result: none needed" >&5
11876 echo "${ECHO_T}none needed" >&6
11878 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
11879 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
11881 case "x$am_cv_prog_cc_stdc" in
11883 *) CC="$CC $am_cv_prog_cc_stdc" ;;
11888 echo "$as_me:$LINENO: checking for function prototypes" >&5
11889 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
11890 if test "$am_cv_prog_cc_stdc" != no; then
11891 echo "$as_me:$LINENO: result: yes" >&5
11892 echo "${ECHO_T}yes" >&6
11894 cat >>confdefs.h <<\_ACEOF
11895 #define PROTOTYPES 1
11900 echo "$as_me:$LINENO: result: no" >&5
11901 echo "${ECHO_T}no" >&6
11902 U=_ ANSI2KNR=./ansi2knr
11904 # Ensure some checks needed by ansi2knr itself.
11905 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11906 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11907 if test "${ac_cv_header_stdc+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 cat >conftest.$ac_ext <<_ACEOF
11911 #line $LINENO "configure"
11914 cat confdefs.h >>conftest.$ac_ext
11915 cat >>conftest.$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11917 #include <stdlib.h>
11918 #include <stdarg.h>
11919 #include <string.h>
11930 rm -f conftest.$ac_objext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11932 (eval $ac_compile) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try='test -s conftest.$ac_objext'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; }; then
11942 ac_cv_header_stdc=yes
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.$ac_ext >&5
11947 ac_cv_header_stdc=no
11949 rm -f conftest.$ac_objext conftest.$ac_ext
11951 if test $ac_cv_header_stdc = yes; then
11952 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11953 cat >conftest.$ac_ext <<_ACEOF
11954 #line $LINENO "configure"
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 #include <string.h>
11963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11964 $EGREP "memchr" >/dev/null 2>&1; then
11967 ac_cv_header_stdc=no
11973 if test $ac_cv_header_stdc = yes; then
11974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11975 cat >conftest.$ac_ext <<_ACEOF
11976 #line $LINENO "configure"
11979 cat confdefs.h >>conftest.$ac_ext
11980 cat >>conftest.$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11982 #include <stdlib.h>
11985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11986 $EGREP "free" >/dev/null 2>&1; then
11989 ac_cv_header_stdc=no
11995 if test $ac_cv_header_stdc = yes; then
11996 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11997 if test "$cross_compiling" = yes; then
12000 cat >conftest.$ac_ext <<_ACEOF
12001 #line $LINENO "configure"
12004 cat confdefs.h >>conftest.$ac_ext
12005 cat >>conftest.$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12008 #if ((' ' & 0x0FF) == 0x020)
12009 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12010 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12012 # define ISLOWER(c) \
12013 (('a' <= (c) && (c) <= 'i') \
12014 || ('j' <= (c) && (c) <= 'r') \
12015 || ('s' <= (c) && (c) <= 'z'))
12016 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12019 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12024 for (i = 0; i < 256; i++)
12025 if (XOR (islower (i), ISLOWER (i))
12026 || toupper (i) != TOUPPER (i))
12031 rm -f conftest$ac_exeext
12032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12033 (eval $ac_link) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12044 echo "$as_me: program exited with status $ac_status" >&5
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.$ac_ext >&5
12048 ( exit $ac_status )
12049 ac_cv_header_stdc=no
12051 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12055 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12056 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12057 if test $ac_cv_header_stdc = yes; then
12059 cat >>confdefs.h <<\_ACEOF
12060 #define STDC_HEADERS 1
12066 for ac_header in string.h
12068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12070 echo "$as_me:$LINENO: checking for $ac_header" >&5
12071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12078 # Is the header compilable?
12079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12081 cat >conftest.$ac_ext <<_ACEOF
12082 #line $LINENO "configure"
12085 cat confdefs.h >>conftest.$ac_ext
12086 cat >>conftest.$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12088 $ac_includes_default
12089 #include <$ac_header>
12091 rm -f conftest.$ac_objext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12093 (eval $ac_compile) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } &&
12097 { ac_try='test -s conftest.$ac_objext'
12098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099 (eval $ac_try) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); }; }; then
12103 ac_header_compiler=yes
12105 echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.$ac_ext >&5
12108 ac_header_compiler=no
12110 rm -f conftest.$ac_objext conftest.$ac_ext
12111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12112 echo "${ECHO_T}$ac_header_compiler" >&6
12114 # Is the header present?
12115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12117 cat >conftest.$ac_ext <<_ACEOF
12118 #line $LINENO "configure"
12121 cat confdefs.h >>conftest.$ac_ext
12122 cat >>conftest.$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 #include <$ac_header>
12126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12129 grep -v '^ *+' conftest.er1 >conftest.err
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } >/dev/null; then
12134 if test -s conftest.err; then
12135 ac_cpp_err=$ac_c_preproc_warn_flag
12142 if test -z "$ac_cpp_err"; then
12143 ac_header_preproc=yes
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12148 ac_header_preproc=no
12150 rm -f conftest.err conftest.$ac_ext
12151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12152 echo "${ECHO_T}$ac_header_preproc" >&6
12154 # So? What about this header?
12155 case $ac_header_compiler:$ac_header_preproc in
12157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12163 ## ------------------------------------ ##
12164 ## Report this to bug-autoconf@gnu.org. ##
12165 ## ------------------------------------ ##
12168 sed "s/^/$as_me: WARNING: /" >&2
12171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12179 ## ------------------------------------ ##
12180 ## Report this to bug-autoconf@gnu.org. ##
12181 ## ------------------------------------ ##
12184 sed "s/^/$as_me: WARNING: /" >&2
12187 echo "$as_me:$LINENO: checking for $ac_header" >&5
12188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 eval "$as_ac_Header=$ac_header_preproc"
12194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12199 cat >>confdefs.h <<_ACEOF
12200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12210 echo "$as_me:$LINENO: checking if C compiler permits function prototypes" >&5
12211 echo $ECHO_N "checking if C compiler permits function prototypes... $ECHO_C" >&6
12212 if test "${ac_cv_have_prototypes+set}" = set; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 cat >conftest.$ac_ext <<_ACEOF
12216 #line $LINENO "configure"
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12223 extern int foo (short);
12224 int foo(short i) { return i; }
12234 rm -f conftest.$ac_objext
12235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12236 (eval $ac_compile) 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); } &&
12240 { ac_try='test -s conftest.$ac_objext'
12241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12242 (eval $ac_try) 2>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); }; }; then
12246 ac_cv_have_prototypes=yes
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12251 ac_cv_have_prototypes=no
12253 rm -f conftest.$ac_objext conftest.$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_cv_have_prototypes" >&5
12257 echo "${ECHO_T}$ac_cv_have_prototypes" >&6
12258 if test "$ac_cv_have_prototypes" = yes; then
12260 cat >>confdefs.h <<\_ACEOF
12261 #define HAVE_PROTOTYPES 1
12266 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12267 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12268 if test "${ac_cv_c_const+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 cat >conftest.$ac_ext <<_ACEOF
12272 #line $LINENO "configure"
12275 cat confdefs.h >>conftest.$ac_ext
12276 cat >>conftest.$ac_ext <<_ACEOF
12277 /* end confdefs.h. */
12282 /* FIXME: Include the comments suggested by Paul. */
12283 #ifndef __cplusplus
12284 /* Ultrix mips cc rejects this. */
12285 typedef int charset[2];
12287 /* SunOS 4.1.1 cc rejects this. */
12288 char const *const *ccp;
12290 /* NEC SVR4.0.2 mips cc rejects this. */
12291 struct point {int x, y;};
12292 static struct point const zero = {0,0};
12293 /* AIX XL C 1.02.0.0 rejects this.
12294 It does not let you subtract one const X* pointer from another in
12295 an arm of an if-expression whose if-part is not a constant
12297 const char *g = "string";
12298 ccp = &g + (g ? g-g : 0);
12299 /* HPUX 7.0 cc rejects these. */
12302 ccp = (char const *const *) p;
12303 { /* SCO 3.2v4 cc rejects this. */
12305 char const *s = 0 ? (char *) 0 : (char const *) 0;
12309 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12310 int x[] = {25, 17};
12311 const int *foo = &x[0];
12314 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12315 typedef const int *iptr;
12319 { /* AIX XL C 1.02.0.0 rejects this saying
12320 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12321 struct s { int j; const int *ap[3]; };
12322 struct s *b; b->j = 5;
12324 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12325 const int foo = 10;
12333 rm -f conftest.$ac_objext
12334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12335 (eval $ac_compile) 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } &&
12339 { ac_try='test -s conftest.$ac_objext'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; }; then
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12352 rm -f conftest.$ac_objext conftest.$ac_ext
12354 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12355 echo "${ECHO_T}$ac_cv_c_const" >&6
12356 if test $ac_cv_c_const = no; then
12358 cat >>confdefs.h <<\_ACEOF
12364 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12365 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
12366 if test "${ac_cv_c_bigendian+set}" = set; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 # See if sys/param.h defines the BYTE_ORDER macro.
12370 cat >conftest.$ac_ext <<_ACEOF
12371 #line $LINENO "configure"
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 #include <sys/types.h>
12378 #include <sys/param.h>
12383 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12384 bogus endian macros
12391 rm -f conftest.$ac_objext
12392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12393 (eval $ac_compile) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try='test -s conftest.$ac_objext'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; }; then
12403 # It does; now see whether it defined to BIG_ENDIAN or not.
12404 cat >conftest.$ac_ext <<_ACEOF
12405 #line $LINENO "configure"
12408 cat confdefs.h >>conftest.$ac_ext
12409 cat >>conftest.$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12411 #include <sys/types.h>
12412 #include <sys/param.h>
12417 #if BYTE_ORDER != BIG_ENDIAN
12425 rm -f conftest.$ac_objext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12427 (eval $ac_compile) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } &&
12431 { ac_try='test -s conftest.$ac_objext'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; }; then
12437 ac_cv_c_bigendian=yes
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12442 ac_cv_c_bigendian=no
12444 rm -f conftest.$ac_objext conftest.$ac_ext
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 # It does not; compile a test program.
12450 if test "$cross_compiling" = yes; then
12451 # try to guess the endianness by grepping values into an object file
12452 ac_cv_c_bigendian=unknown
12453 cat >conftest.$ac_ext <<_ACEOF
12454 #line $LINENO "configure"
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12460 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12461 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12462 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
12463 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12464 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12465 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
12469 _ascii (); _ebcdic ();
12474 rm -f conftest.$ac_objext
12475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12476 (eval $ac_compile) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } &&
12480 { ac_try='test -s conftest.$ac_objext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
12487 ac_cv_c_bigendian=yes
12489 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12490 if test "$ac_cv_c_bigendian" = unknown; then
12491 ac_cv_c_bigendian=no
12493 # finding both strings is unlikely to happen, but who knows?
12494 ac_cv_c_bigendian=unknown
12498 echo "$as_me: failed program was:" >&5
12499 sed 's/^/| /' conftest.$ac_ext >&5
12502 rm -f conftest.$ac_objext conftest.$ac_ext
12504 cat >conftest.$ac_ext <<_ACEOF
12505 #line $LINENO "configure"
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12514 /* Are we little or big endian? From Harbison&Steele. */
12518 char c[sizeof (long)];
12521 exit (u.c[sizeof (long) - 1] == 1);
12524 rm -f conftest$ac_exeext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526 (eval $ac_link) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; }; then
12535 ac_cv_c_bigendian=no
12537 echo "$as_me: program exited with status $ac_status" >&5
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.$ac_ext >&5
12541 ( exit $ac_status )
12542 ac_cv_c_bigendian=yes
12544 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12547 rm -f conftest.$ac_objext conftest.$ac_ext
12549 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12550 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
12551 case $ac_cv_c_bigendian in
12554 cat >>confdefs.h <<\_ACEOF
12555 #define WORDS_BIGENDIAN 1
12561 { { echo "$as_me:$LINENO: error: unknown endianness
12562 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
12563 echo "$as_me: error: unknown endianness
12564 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
12565 { (exit 1); exit 1; }; } ;;
12568 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12569 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12570 if test "${ac_cv_type_signal+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 cat >conftest.$ac_ext <<_ACEOF
12574 #line $LINENO "configure"
12577 cat confdefs.h >>conftest.$ac_ext
12578 cat >>conftest.$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12580 #include <sys/types.h>
12581 #include <signal.h>
12586 extern "C" void (*signal (int, void (*)(int)))(int);
12588 void (*signal ()) ();
12599 rm -f conftest.$ac_objext
12600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12601 (eval $ac_compile) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } &&
12605 { ac_try='test -s conftest.$ac_objext'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; }; then
12611 ac_cv_type_signal=void
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12616 ac_cv_type_signal=int
12618 rm -f conftest.$ac_objext conftest.$ac_ext
12620 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12621 echo "${ECHO_T}$ac_cv_type_signal" >&6
12623 cat >>confdefs.h <<_ACEOF
12624 #define RETSIGTYPE $ac_cv_type_signal
12628 echo "$as_me:$LINENO: checking for off_t" >&5
12629 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12630 if test "${ac_cv_type_off_t+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 cat >conftest.$ac_ext <<_ACEOF
12634 #line $LINENO "configure"
12637 cat confdefs.h >>conftest.$ac_ext
12638 cat >>conftest.$ac_ext <<_ACEOF
12639 /* end confdefs.h. */
12640 $ac_includes_default
12646 if (sizeof (off_t))
12652 rm -f conftest.$ac_objext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 ac_cv_type_off_t=yes
12666 echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.$ac_ext >&5
12669 ac_cv_type_off_t=no
12671 rm -f conftest.$ac_objext conftest.$ac_ext
12673 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12674 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12675 if test $ac_cv_type_off_t = yes; then
12679 cat >>confdefs.h <<_ACEOF
12685 echo "$as_me:$LINENO: checking for size_t" >&5
12686 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12687 if test "${ac_cv_type_size_t+set}" = set; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12690 cat >conftest.$ac_ext <<_ACEOF
12691 #line $LINENO "configure"
12694 cat confdefs.h >>conftest.$ac_ext
12695 cat >>conftest.$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12697 $ac_includes_default
12703 if (sizeof (size_t))
12709 rm -f conftest.$ac_objext
12710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12711 (eval $ac_compile) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_type_size_t=yes
12723 echo "$as_me: failed program was:" >&5
12724 sed 's/^/| /' conftest.$ac_ext >&5
12726 ac_cv_type_size_t=no
12728 rm -f conftest.$ac_objext conftest.$ac_ext
12730 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12731 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12732 if test $ac_cv_type_size_t = yes; then
12736 cat >>confdefs.h <<_ACEOF
12737 #define size_t unsigned
12742 echo "$as_me:$LINENO: checking for time_t" >&5
12743 echo $ECHO_N "checking for time_t... $ECHO_C" >&6
12744 if test "${ac_cv_type_time_t+set}" = set; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 cat >conftest.$ac_ext <<_ACEOF
12748 #line $LINENO "configure"
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 $ac_includes_default
12760 if (sizeof (time_t))
12766 rm -f conftest.$ac_objext
12767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12768 (eval $ac_compile) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try='test -s conftest.$ac_objext'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; }; then
12778 ac_cv_type_time_t=yes
12780 echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.$ac_ext >&5
12783 ac_cv_type_time_t=no
12785 rm -f conftest.$ac_objext conftest.$ac_ext
12787 echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
12788 echo "${ECHO_T}$ac_cv_type_time_t" >&6
12789 if test $ac_cv_type_time_t = yes; then
12793 cat >>confdefs.h <<_ACEOF
12794 #define time_t long
12799 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
12800 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
12801 if test "${ac_cv_struct_tm+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 cat >conftest.$ac_ext <<_ACEOF
12805 #line $LINENO "configure"
12808 cat confdefs.h >>conftest.$ac_ext
12809 cat >>conftest.$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12811 #include <sys/types.h>
12817 struct tm *tp; tp->tm_sec;
12822 rm -f conftest.$ac_objext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12824 (eval $ac_compile) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try='test -s conftest.$ac_objext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 ac_cv_struct_tm=time.h
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.$ac_ext >&5
12839 ac_cv_struct_tm=sys/time.h
12841 rm -f conftest.$ac_objext conftest.$ac_ext
12843 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
12844 echo "${ECHO_T}$ac_cv_struct_tm" >&6
12845 if test $ac_cv_struct_tm = sys/time.h; then
12847 cat >>confdefs.h <<\_ACEOF
12848 #define TM_IN_SYS_TIME 1
12854 echo "$as_me:$LINENO: checking for u_int8_t" >&5
12855 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
12856 if test "${ac_cv_type_u_int8_t+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 cat >conftest.$ac_ext <<_ACEOF
12860 #line $LINENO "configure"
12863 cat confdefs.h >>conftest.$ac_ext
12864 cat >>conftest.$ac_ext <<_ACEOF
12865 /* end confdefs.h. */
12866 #include <sys/types.h>
12870 u_int8_t len = 42; return 0;
12875 rm -f conftest.$ac_objext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12877 (eval $ac_compile) 2>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } &&
12881 { ac_try='test -s conftest.$ac_objext'
12882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12883 (eval $ac_try) 2>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); }; }; then
12887 ac_cv_type_u_int8_t=yes
12889 echo "$as_me: failed program was:" >&5
12890 sed 's/^/| /' conftest.$ac_ext >&5
12892 ac_cv_type_u_int8_t=no
12894 rm -f conftest.$ac_objext conftest.$ac_ext
12897 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
12898 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
12899 if test $ac_cv_type_u_int8_t = yes; then
12901 cat >>confdefs.h <<\_ACEOF
12902 #define HAVE_TYPE_U_INT8_T 1
12907 echo "$as_me:$LINENO: checking for u_int64_t" >&5
12908 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
12909 if test "${ac_cv_type_u_int64_t+set}" = set; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 cat >conftest.$ac_ext <<_ACEOF
12913 #line $LINENO "configure"
12916 cat confdefs.h >>conftest.$ac_ext
12917 cat >>conftest.$ac_ext <<_ACEOF
12918 /* end confdefs.h. */
12919 #include <sys/types.h>
12923 u_int64_t len = 42; return 0;
12928 rm -f conftest.$ac_objext
12929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12930 (eval $ac_compile) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); } &&
12934 { ac_try='test -s conftest.$ac_objext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 ac_cv_type_u_int64_t=yes
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 ac_cv_type_u_int64_t=no
12947 rm -f conftest.$ac_objext conftest.$ac_ext
12950 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
12951 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
12952 if test $ac_cv_type_u_int64_t = yes; then
12954 cat >>confdefs.h <<\_ACEOF
12955 #define HAVE_TYPE_U_INT64_T 1
12960 echo "$as_me:$LINENO: checking for a fallback value for HZ" >&5
12961 echo $ECHO_N "checking for a fallback value for HZ... $ECHO_C" >&6
12962 if test "${ac_cv_var_default_hz+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 ac_cv_var_default_hz=100
12967 alpha*-dec-osf4*|alpha*-dec-osf5*)
12968 ac_cv_var_default_hz=1024
12971 ac_cv_var_default_hz=256
12975 echo "$as_me:$LINENO: result: $ac_cv_var_default_hz" >&5
12976 echo "${ECHO_T}$ac_cv_var_default_hz" >&6
12978 cat >>confdefs.h <<_ACEOF
12979 #define DEFAULT_HZ $ac_cv_var_default_hz
12983 echo "$as_me:$LINENO: checking if we need to override the system's value for HZ" >&5
12984 echo $ECHO_N "checking if we need to override the system's value for HZ... $ECHO_C" >&6
12985 if test "${ac_cv_var_override_hz+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 ac_cv_var_override_hz=no
12990 alpha*-dec-osf4*|alpha*-dec-osf5*)
12991 ac_cv_var_override_hz=yes
12994 ac_cv_var_override_hz=yes
12997 ac_cv_var_override_hz=yes
13000 ac_cv_var_override_hz=yes
13004 echo "$as_me:$LINENO: result: $ac_cv_var_override_hz" >&5
13005 echo "${ECHO_T}$ac_cv_var_override_hz" >&6
13006 case "$ac_cv_var_override_hz" in
13009 cat >>confdefs.h <<\_ACEOF
13010 #define OVERRIDE_HZ 1
13018 echo "$as_me:$LINENO: checking struct sigaction for sa_sigaction" >&5
13019 echo $ECHO_N "checking struct sigaction for sa_sigaction... $ECHO_C" >&6
13020 if test "${ac_cv_struct_sigaction_has_sa_sigaction+set}" = set; then
13021 echo $ECHO_N "(cached) $ECHO_C" >&6
13024 cat >conftest.$ac_ext <<_ACEOF
13025 #line $LINENO "configure"
13028 cat confdefs.h >>conftest.$ac_ext
13029 cat >>conftest.$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13031 #include <signal.h>
13035 struct sigaction act; act.sa_sigaction = 0;
13040 rm -f conftest.$ac_objext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13042 (eval $ac_compile) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } &&
13046 { ac_try='test -s conftest.$ac_objext'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; }; then
13052 ac_cv_struct_sigaction_has_sa_sigaction=yes
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13057 ac_cv_struct_sigaction_has_sa_sigaction=no
13060 rm -f conftest.$ac_objext conftest.$ac_ext
13064 echo "$as_me:$LINENO: result: $ac_cv_struct_sigaction_has_sa_sigaction" >&5
13065 echo "${ECHO_T}$ac_cv_struct_sigaction_has_sa_sigaction" >&6
13066 if test $ac_cv_struct_sigaction_has_sa_sigaction = yes; then
13068 cat >>confdefs.h <<\_ACEOF
13069 #define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1
13074 echo "$as_me:$LINENO: checking for struct ppsclockev" >&5
13075 echo $ECHO_N "checking for struct ppsclockev... $ECHO_C" >&6
13076 if test "${ac_cv_struct_ppsclockev+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 cat >conftest.$ac_ext <<_ACEOF
13080 #line $LINENO "configure"
13083 cat confdefs.h >>conftest.$ac_ext
13084 cat >>conftest.$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13087 #include <sys/types.h>
13088 #ifdef HAVE_SYS_TERMIOS_H
13089 # include <sys/termios.h>
13091 #ifdef HAVE_SYS_TIME_H
13092 # include <sys/time.h>
13094 #ifdef HAVE_SYS_PPSCLOCK_H
13095 # include <sys/ppsclock.h>
13101 extern struct ppsclockev *pce;
13102 return pce->serial;
13107 rm -f conftest.$ac_objext
13108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13109 (eval $ac_compile) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); } &&
13113 { ac_try='test -s conftest.$ac_objext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 ac_cv_struct_ppsclockev=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.$ac_ext >&5
13124 ac_cv_struct_ppsclockev=no
13126 rm -f conftest.$ac_objext conftest.$ac_ext
13129 echo "$as_me:$LINENO: result: $ac_cv_struct_ppsclockev" >&5
13130 echo "${ECHO_T}$ac_cv_struct_ppsclockev" >&6
13131 if test $ac_cv_struct_ppsclockev = yes; then
13133 cat >>confdefs.h <<\_ACEOF
13134 #define HAVE_STRUCT_PPSCLOCKEV 1
13139 echo "$as_me:$LINENO: checking struct sockaddr for sa_len" >&5
13140 echo $ECHO_N "checking struct sockaddr for sa_len... $ECHO_C" >&6
13141 if test "${ac_cv_struct_sockaddr_has_sa_len+set}" = set; then
13142 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 cat >conftest.$ac_ext <<_ACEOF
13145 #line $LINENO "configure"
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13152 #include <sys/types.h>
13153 #include <sys/socket.h>
13158 extern struct sockaddr *ps;
13164 rm -f conftest.$ac_objext
13165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13166 (eval $ac_compile) 2>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); } &&
13170 { ac_try='test -s conftest.$ac_objext'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; }; then
13176 ac_cv_struct_sockaddr_has_sa_len=yes
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.$ac_ext >&5
13181 ac_cv_struct_sockaddr_has_sa_len=no
13183 rm -f conftest.$ac_objext conftest.$ac_ext
13186 echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_has_sa_len" >&5
13187 echo "${ECHO_T}$ac_cv_struct_sockaddr_has_sa_len" >&6
13188 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
13190 cat >>confdefs.h <<\_ACEOF
13191 #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1
13196 echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
13197 echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
13198 if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
13199 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 cat >conftest.$ac_ext <<_ACEOF
13203 #line $LINENO "configure"
13206 cat confdefs.h >>conftest.$ac_ext
13207 cat >>conftest.$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13210 #include <sys/types.h>
13211 #include <sys/socket.h>
13216 struct sockaddr_storage s; s.ss_family = 1;
13221 rm -f conftest.$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 ac_cv_have_ss_family_in_struct_ss="yes"
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13238 ac_cv_have_ss_family_in_struct_ss="no"
13240 rm -f conftest.$ac_objext conftest.$ac_ext
13243 echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
13244 echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
13245 if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
13247 cat >>confdefs.h <<\_ACEOF
13248 #define HAVE_SS_FAMILY_IN_SS 1
13252 # Hack around a problem...
13254 *-*-hpux11.11) CPPFLAGS="$CPPFLAGS -D_NETINET_IN6_H"
13259 echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
13260 echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
13261 if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.$ac_ext <<_ACEOF
13266 #line $LINENO "configure"
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13273 #include <sys/types.h>
13274 #include <sys/socket.h>
13279 struct sockaddr_storage s; s.__ss_family = 1;
13284 rm -f conftest.$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try='test -s conftest.$ac_objext'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; }; then
13296 ac_cv_have___ss_family_in_struct_ss="yes"
13298 echo "$as_me: failed program was:" >&5
13299 sed 's/^/| /' conftest.$ac_ext >&5
13301 ac_cv_have___ss_family_in_struct_ss="no"
13304 rm -f conftest.$ac_objext conftest.$ac_ext
13307 echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
13308 echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
13309 if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
13311 cat >>confdefs.h <<\_ACEOF
13312 #define HAVE___SS_FAMILY_IN_SS 1
13320 case "$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
13322 echo "$as_me:$LINENO: checking for struct snd_size" >&5
13323 echo $ECHO_N "checking for struct snd_size... $ECHO_C" >&6
13324 if test "${ac_cv_struct_snd_size+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 cat >conftest.$ac_ext <<_ACEOF
13328 #line $LINENO "configure"
13331 cat confdefs.h >>conftest.$ac_ext
13332 cat >>conftest.$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13335 #ifdef HAVE_MACHINE_SOUNDCARD_H
13336 # include <machine/soundcard.h>
13338 #ifdef HAVE_SYS_SOUNDCARD_H
13339 # include <sys/soundcard.h>
13345 extern struct snd_size *ss;
13346 return ss->rec_size;
13351 rm -f conftest.$ac_objext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353 (eval $ac_compile) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } &&
13357 { ac_try='test -s conftest.$ac_objext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 ac_cv_struct_snd_size=yes
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.$ac_ext >&5
13368 ac_cv_struct_snd_size=no
13370 rm -f conftest.$ac_objext conftest.$ac_ext
13373 echo "$as_me:$LINENO: result: $ac_cv_struct_snd_size" >&5
13374 echo "${ECHO_T}$ac_cv_struct_snd_size" >&6
13375 case "$ac_cv_struct_snd_size" in
13377 cat >>confdefs.h <<\_ACEOF
13378 #define HAVE_STRUCT_SND_SIZE 1
13385 echo "$as_me:$LINENO: checking struct clockinfo for hz" >&5
13386 echo $ECHO_N "checking struct clockinfo for hz... $ECHO_C" >&6
13387 if test "${ac_cv_struct_clockinfo_has_hz+set}" = set; then
13388 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 cat >conftest.$ac_ext <<_ACEOF
13391 #line $LINENO "configure"
13394 cat confdefs.h >>conftest.$ac_ext
13395 cat >>conftest.$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13398 #include <sys/time.h>
13403 extern struct clockinfo *pc;
13409 rm -f conftest.$ac_objext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13411 (eval $ac_compile) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); } &&
13415 { ac_try='test -s conftest.$ac_objext'
13416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13417 (eval $ac_try) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); }; }; then
13421 ac_cv_struct_clockinfo_has_hz=yes
13423 echo "$as_me: failed program was:" >&5
13424 sed 's/^/| /' conftest.$ac_ext >&5
13426 ac_cv_struct_clockinfo_has_hz=no
13428 rm -f conftest.$ac_objext conftest.$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_cv_struct_clockinfo_has_hz" >&5
13432 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_hz" >&6
13433 if test $ac_cv_struct_clockinfo_has_hz = yes; then
13435 cat >>confdefs.h <<\_ACEOF
13436 #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1
13441 echo "$as_me:$LINENO: checking struct clockinfo for tickadj" >&5
13442 echo $ECHO_N "checking struct clockinfo for tickadj... $ECHO_C" >&6
13443 if test "${ac_cv_struct_clockinfo_has_tickadj+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 cat >conftest.$ac_ext <<_ACEOF
13447 #line $LINENO "configure"
13450 cat confdefs.h >>conftest.$ac_ext
13451 cat >>conftest.$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13454 #include <sys/time.h>
13459 extern struct clockinfo *pc;
13460 return pc->tickadj;
13465 rm -f conftest.$ac_objext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13467 (eval $ac_compile) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_cv_struct_clockinfo_has_tickadj=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ac_cv_struct_clockinfo_has_tickadj=no
13484 rm -f conftest.$ac_objext conftest.$ac_ext
13487 echo "$as_me:$LINENO: result: $ac_cv_struct_clockinfo_has_tickadj" >&5
13488 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_tickadj" >&6
13489 if test $ac_cv_struct_clockinfo_has_tickadj = yes; then
13491 cat >>confdefs.h <<\_ACEOF
13492 #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1
13497 echo "$as_me:$LINENO: checking for struct timespec" >&5
13498 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
13499 if test "${ac_cv_struct_timespec+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 cat >conftest.$ac_ext <<_ACEOF
13503 #line $LINENO "configure"
13506 cat confdefs.h >>conftest.$ac_ext
13507 cat >>conftest.$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13510 #include <sys/time.h>
13511 /* Under SunOS, timespec is in sys/timepps.h, which needs errno.h and FRAC */
13512 #ifdef HAVE_ERRNO_H
13513 # include <errno.h>
13515 #ifdef HAVE_SYS_TIMEPPS_H
13516 # define FRAC 4294967296
13517 # include <sys/timepps.h>
13527 rm -f conftest.$ac_objext
13528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13529 (eval $ac_compile) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } &&
13533 { ac_try='test -s conftest.$ac_objext'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; }; then
13539 ac_cv_struct_timespec=yes
13541 echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.$ac_ext >&5
13544 ac_cv_struct_timespec=no
13546 rm -f conftest.$ac_objext conftest.$ac_ext
13548 echo "$as_me:$LINENO: result: $ac_cv_struct_timespec" >&5
13549 echo "${ECHO_T}$ac_cv_struct_timespec" >&6
13550 if test $ac_cv_struct_timespec = yes; then
13552 cat >>confdefs.h <<\_ACEOF
13553 #define HAVE_STRUCT_TIMESPEC 1
13558 echo "$as_me:$LINENO: checking for struct ntptimeval" >&5
13559 echo $ECHO_N "checking for struct ntptimeval... $ECHO_C" >&6
13560 if test "${ac_cv_struct_ntptimeval+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 cat >conftest.$ac_ext <<_ACEOF
13564 #line $LINENO "configure"
13567 cat confdefs.h >>conftest.$ac_ext
13568 cat >>conftest.$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13571 #include <sys/time.h>
13572 #include <sys/timex.h>
13576 struct ntptimeval n;
13581 rm -f conftest.$ac_objext
13582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13583 (eval $ac_compile) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } &&
13587 { ac_try='test -s conftest.$ac_objext'
13588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13589 (eval $ac_try) 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; }; then
13593 ac_cv_struct_ntptimeval=yes
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13598 ac_cv_struct_ntptimeval=no
13600 rm -f conftest.$ac_objext conftest.$ac_ext
13602 echo "$as_me:$LINENO: result: $ac_cv_struct_ntptimeval" >&5
13603 echo "${ECHO_T}$ac_cv_struct_ntptimeval" >&6
13604 if test $ac_cv_struct_ntptimeval = yes; then
13606 cat >>confdefs.h <<\_ACEOF
13607 #define HAVE_STRUCT_NTPTIMEVAL 1
13612 echo "$as_me:$LINENO: checking for struct ntptimeval.time.tv_nsec" >&5
13613 echo $ECHO_N "checking for struct ntptimeval.time.tv_nsec... $ECHO_C" >&6
13614 if test "${ac_cv_member_struct_ntptimeval_time_tv_nsec+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13617 cat >conftest.$ac_ext <<_ACEOF
13618 #line $LINENO "configure"
13621 cat confdefs.h >>conftest.$ac_ext
13622 cat >>conftest.$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624 #ifdef HAVE_SYS_TIME_H
13625 #include <sys/time.h>
13627 # ifdef HAVE_TIME_H
13631 #ifdef HAVE_SYS_TIMEX_H
13632 #include <sys/timex.h>
13634 # ifdef HAVE_TIMEX_H
13635 # include <timex.h>
13642 static struct ntptimeval ac_aggr;
13643 if (ac_aggr.time.tv_nsec)
13649 rm -f conftest.$ac_objext
13650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13651 (eval $ac_compile) 2>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try='test -s conftest.$ac_objext'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; }; then
13661 ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.$ac_ext >&5
13666 cat >conftest.$ac_ext <<_ACEOF
13667 #line $LINENO "configure"
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13673 #ifdef HAVE_SYS_TIME_H
13674 #include <sys/time.h>
13676 # ifdef HAVE_TIME_H
13680 #ifdef HAVE_SYS_TIMEX_H
13681 #include <sys/timex.h>
13683 # ifdef HAVE_TIMEX_H
13684 # include <timex.h>
13691 static struct ntptimeval ac_aggr;
13692 if (sizeof ac_aggr.time.tv_nsec)
13698 rm -f conftest.$ac_objext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13700 (eval $ac_compile) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try='test -s conftest.$ac_objext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13715 ac_cv_member_struct_ntptimeval_time_tv_nsec=no
13717 rm -f conftest.$ac_objext conftest.$ac_ext
13719 rm -f conftest.$ac_objext conftest.$ac_ext
13721 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ntptimeval_time_tv_nsec" >&5
13722 echo "${ECHO_T}$ac_cv_member_struct_ntptimeval_time_tv_nsec" >&6
13723 if test $ac_cv_member_struct_ntptimeval_time_tv_nsec = yes; then
13725 cat >>confdefs.h <<_ACEOF
13726 #define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
13733 echo "$as_me:$LINENO: checking for inline" >&5
13734 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13735 if test "${ac_cv_c_inline+set}" = set; then
13736 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 for ac_kw in inline __inline__ __inline; do
13740 cat >conftest.$ac_ext <<_ACEOF
13741 #line $LINENO "configure"
13744 cat confdefs.h >>conftest.$ac_ext
13745 cat >>conftest.$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13747 #ifndef __cplusplus
13749 static $ac_kw foo_t static_foo () {return 0; }
13750 $ac_kw foo_t foo () {return 0; }
13754 rm -f conftest.$ac_objext
13755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13756 (eval $ac_compile) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try='test -s conftest.$ac_objext'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; }; then
13766 ac_cv_c_inline=$ac_kw; break
13768 echo "$as_me: failed program was:" >&5
13769 sed 's/^/| /' conftest.$ac_ext >&5
13772 rm -f conftest.$ac_objext conftest.$ac_ext
13776 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13777 echo "${ECHO_T}$ac_cv_c_inline" >&6
13778 case $ac_cv_c_inline in
13781 cat >>confdefs.h <<\_ACEOF
13785 *) cat >>confdefs.h <<_ACEOF
13786 #define inline $ac_cv_c_inline
13792 echo "$as_me:$LINENO: checking whether char is unsigned" >&5
13793 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
13794 if test "${ac_cv_c_char_unsigned+set}" = set; then
13795 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 cat >conftest.$ac_ext <<_ACEOF
13798 #line $LINENO "configure"
13801 cat confdefs.h >>conftest.$ac_ext
13802 cat >>conftest.$ac_ext <<_ACEOF
13803 /* end confdefs.h. */
13804 $ac_includes_default
13808 static int test_array [1 - 2 * !(((char) -1) < 0)];
13815 rm -f conftest.$ac_objext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13817 (eval $ac_compile) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } &&
13821 { ac_try='test -s conftest.$ac_objext'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; }; then
13827 ac_cv_c_char_unsigned=no
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.$ac_ext >&5
13832 ac_cv_c_char_unsigned=yes
13834 rm -f conftest.$ac_objext conftest.$ac_ext
13836 echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
13837 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
13838 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
13839 cat >>confdefs.h <<\_ACEOF
13840 #define __CHAR_UNSIGNED__ 1
13844 echo "$as_me:$LINENO: checking for signed char" >&5
13845 echo $ECHO_N "checking for signed char... $ECHO_C" >&6
13846 if test "${ac_cv_type_signed_char+set}" = set; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 cat >conftest.$ac_ext <<_ACEOF
13850 #line $LINENO "configure"
13853 cat confdefs.h >>conftest.$ac_ext
13854 cat >>conftest.$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13856 $ac_includes_default
13860 if ((signed char *) 0)
13862 if (sizeof (signed char))
13868 rm -f conftest.$ac_objext
13869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13870 (eval $ac_compile) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } &&
13874 { ac_try='test -s conftest.$ac_objext'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13880 ac_cv_type_signed_char=yes
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.$ac_ext >&5
13885 ac_cv_type_signed_char=no
13887 rm -f conftest.$ac_objext conftest.$ac_ext
13889 echo "$as_me:$LINENO: result: $ac_cv_type_signed_char" >&5
13890 echo "${ECHO_T}$ac_cv_type_signed_char" >&6
13892 echo "$as_me:$LINENO: checking size of signed char" >&5
13893 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
13894 if test "${ac_cv_sizeof_signed_char+set}" = set; then
13895 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 if test "$ac_cv_type_signed_char" = yes; then
13898 # The cast to unsigned long works around a bug in the HP C Compiler
13899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13901 # This bug is HP SR number 8606223364.
13902 if test "$cross_compiling" = yes; then
13903 # Depending upon the size, compute the lo and hi bounds.
13904 cat >conftest.$ac_ext <<_ACEOF
13905 #line $LINENO "configure"
13908 cat confdefs.h >>conftest.$ac_ext
13909 cat >>conftest.$ac_ext <<_ACEOF
13910 /* end confdefs.h. */
13911 $ac_includes_default
13915 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= 0)];
13922 rm -f conftest.$ac_objext
13923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13924 (eval $ac_compile) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -s conftest.$ac_objext'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; }; then
13936 cat >conftest.$ac_ext <<_ACEOF
13937 #line $LINENO "configure"
13940 cat confdefs.h >>conftest.$ac_ext
13941 cat >>conftest.$ac_ext <<_ACEOF
13942 /* end confdefs.h. */
13943 $ac_includes_default
13947 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
13954 rm -f conftest.$ac_objext
13955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13956 (eval $ac_compile) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try='test -s conftest.$ac_objext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 ac_hi=$ac_mid; break
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13971 ac_lo=`expr $ac_mid + 1`
13972 if test $ac_lo -le $ac_mid; then
13976 ac_mid=`expr 2 '*' $ac_mid + 1`
13978 rm -f conftest.$ac_objext conftest.$ac_ext
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.$ac_ext >&5
13984 cat >conftest.$ac_ext <<_ACEOF
13985 #line $LINENO "configure"
13988 cat confdefs.h >>conftest.$ac_ext
13989 cat >>conftest.$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 $ac_includes_default
13995 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) < 0)];
14002 rm -f conftest.$ac_objext
14003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14004 (eval $ac_compile) 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } &&
14008 { ac_try='test -s conftest.$ac_objext'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; }; then
14016 cat >conftest.$ac_ext <<_ACEOF
14017 #line $LINENO "configure"
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 $ac_includes_default
14027 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= $ac_mid)];
14034 rm -f conftest.$ac_objext
14035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14036 (eval $ac_compile) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try='test -s conftest.$ac_objext'
14041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14042 (eval $ac_try) 2>&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); }; }; then
14046 ac_lo=$ac_mid; break
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.$ac_ext >&5
14051 ac_hi=`expr '(' $ac_mid ')' - 1`
14052 if test $ac_mid -le $ac_hi; then
14056 ac_mid=`expr 2 '*' $ac_mid`
14058 rm -f conftest.$ac_objext conftest.$ac_ext
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14066 rm -f conftest.$ac_objext conftest.$ac_ext
14068 rm -f conftest.$ac_objext conftest.$ac_ext
14069 # Binary search between lo and hi bounds.
14070 while test "x$ac_lo" != "x$ac_hi"; do
14071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14072 cat >conftest.$ac_ext <<_ACEOF
14073 #line $LINENO "configure"
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14079 $ac_includes_default
14083 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
14090 rm -f conftest.$ac_objext
14091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14092 (eval $ac_compile) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.$ac_ext >&5
14107 ac_lo=`expr '(' $ac_mid ')' + 1`
14109 rm -f conftest.$ac_objext conftest.$ac_ext
14112 ?*) ac_cv_sizeof_signed_char=$ac_lo;;
14113 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77
14114 See \`config.log' for more details." >&5
14115 echo "$as_me: error: cannot compute sizeof (signed char), 77
14116 See \`config.log' for more details." >&2;}
14117 { (exit 1); exit 1; }; } ;;
14120 if test "$cross_compiling" = yes; then
14121 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14122 See \`config.log' for more details." >&5
14123 echo "$as_me: error: cannot run test program while cross compiling
14124 See \`config.log' for more details." >&2;}
14125 { (exit 1); exit 1; }; }
14127 cat >conftest.$ac_ext <<_ACEOF
14128 #line $LINENO "configure"
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 long longval () { return (long) (sizeof (signed char)); }
14136 unsigned long ulongval () { return (long) (sizeof (signed char)); }
14138 #include <stdlib.h>
14143 FILE *f = fopen ("conftest.val", "w");
14146 if (((long) (sizeof (signed char))) < 0)
14148 long i = longval ();
14149 if (i != ((long) (sizeof (signed char))))
14151 fprintf (f, "%ld\n", i);
14155 unsigned long i = ulongval ();
14156 if (i != ((long) (sizeof (signed char))))
14158 fprintf (f, "%lu\n", i);
14160 exit (ferror (f) || fclose (f) != 0);
14166 rm -f conftest$ac_exeext
14167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14168 (eval $ac_link) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then
14177 ac_cv_sizeof_signed_char=`cat conftest.val`
14179 echo "$as_me: program exited with status $ac_status" >&5
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.$ac_ext >&5
14183 ( exit $ac_status )
14184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77
14185 See \`config.log' for more details." >&5
14186 echo "$as_me: error: cannot compute sizeof (signed char), 77
14187 See \`config.log' for more details." >&2;}
14188 { (exit 1); exit 1; }; }
14190 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14195 ac_cv_sizeof_signed_char=0
14198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_char" >&5
14199 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
14200 cat >>confdefs.h <<_ACEOF
14201 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
14205 echo "$as_me:$LINENO: checking for int" >&5
14206 echo $ECHO_N "checking for int... $ECHO_C" >&6
14207 if test "${ac_cv_type_int+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 cat >conftest.$ac_ext <<_ACEOF
14211 #line $LINENO "configure"
14214 cat confdefs.h >>conftest.$ac_ext
14215 cat >>conftest.$ac_ext <<_ACEOF
14216 /* end confdefs.h. */
14217 $ac_includes_default
14229 rm -f conftest.$ac_objext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14231 (eval $ac_compile) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } &&
14235 { ac_try='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14248 rm -f conftest.$ac_objext conftest.$ac_ext
14250 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14251 echo "${ECHO_T}$ac_cv_type_int" >&6
14253 echo "$as_me:$LINENO: checking size of int" >&5
14254 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14255 if test "${ac_cv_sizeof_int+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 if test "$ac_cv_type_int" = yes; then
14259 # The cast to unsigned long works around a bug in the HP C Compiler
14260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14262 # This bug is HP SR number 8606223364.
14263 if test "$cross_compiling" = yes; then
14264 # Depending upon the size, compute the lo and hi bounds.
14265 cat >conftest.$ac_ext <<_ACEOF
14266 #line $LINENO "configure"
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 $ac_includes_default
14276 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14283 rm -f conftest.$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } &&
14289 { ac_try='test -s conftest.$ac_objext'
14290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14291 (eval $ac_try) 2>&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); }; }; then
14297 cat >conftest.$ac_ext <<_ACEOF
14298 #line $LINENO "configure"
14301 cat confdefs.h >>conftest.$ac_ext
14302 cat >>conftest.$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14304 $ac_includes_default
14308 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14315 rm -f conftest.$ac_objext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14317 (eval $ac_compile) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } &&
14321 { ac_try='test -s conftest.$ac_objext'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; }; then
14327 ac_hi=$ac_mid; break
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14332 ac_lo=`expr $ac_mid + 1`
14333 if test $ac_lo -le $ac_mid; then
14337 ac_mid=`expr 2 '*' $ac_mid + 1`
14339 rm -f conftest.$ac_objext conftest.$ac_ext
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.$ac_ext >&5
14345 cat >conftest.$ac_ext <<_ACEOF
14346 #line $LINENO "configure"
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 $ac_includes_default
14356 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14363 rm -f conftest.$ac_objext
14364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14365 (eval $ac_compile) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try='test -s conftest.$ac_objext'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; }; then
14377 cat >conftest.$ac_ext <<_ACEOF
14378 #line $LINENO "configure"
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 $ac_includes_default
14388 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14395 rm -f conftest.$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); } &&
14401 { ac_try='test -s conftest.$ac_objext'
14402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403 (eval $ac_try) 2>&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }; }; then
14407 ac_lo=$ac_mid; break
14409 echo "$as_me: failed program was:" >&5
14410 sed 's/^/| /' conftest.$ac_ext >&5
14412 ac_hi=`expr '(' $ac_mid ')' - 1`
14413 if test $ac_mid -le $ac_hi; then
14417 ac_mid=`expr 2 '*' $ac_mid`
14419 rm -f conftest.$ac_objext conftest.$ac_ext
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14427 rm -f conftest.$ac_objext conftest.$ac_ext
14429 rm -f conftest.$ac_objext conftest.$ac_ext
14430 # Binary search between lo and hi bounds.
14431 while test "x$ac_lo" != "x$ac_hi"; do
14432 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14433 cat >conftest.$ac_ext <<_ACEOF
14434 #line $LINENO "configure"
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 $ac_includes_default
14444 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14451 rm -f conftest.$ac_objext
14452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14453 (eval $ac_compile) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); } &&
14457 { ac_try='test -s conftest.$ac_objext'
14458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459 (eval $ac_try) 2>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); }; }; then
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.$ac_ext >&5
14468 ac_lo=`expr '(' $ac_mid ')' + 1`
14470 rm -f conftest.$ac_objext conftest.$ac_ext
14473 ?*) ac_cv_sizeof_int=$ac_lo;;
14474 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14475 See \`config.log' for more details." >&5
14476 echo "$as_me: error: cannot compute sizeof (int), 77
14477 See \`config.log' for more details." >&2;}
14478 { (exit 1); exit 1; }; } ;;
14481 if test "$cross_compiling" = yes; then
14482 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14483 See \`config.log' for more details." >&5
14484 echo "$as_me: error: cannot run test program while cross compiling
14485 See \`config.log' for more details." >&2;}
14486 { (exit 1); exit 1; }; }
14488 cat >conftest.$ac_ext <<_ACEOF
14489 #line $LINENO "configure"
14492 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14496 long longval () { return (long) (sizeof (int)); }
14497 unsigned long ulongval () { return (long) (sizeof (int)); }
14499 #include <stdlib.h>
14504 FILE *f = fopen ("conftest.val", "w");
14507 if (((long) (sizeof (int))) < 0)
14509 long i = longval ();
14510 if (i != ((long) (sizeof (int))))
14512 fprintf (f, "%ld\n", i);
14516 unsigned long i = ulongval ();
14517 if (i != ((long) (sizeof (int))))
14519 fprintf (f, "%lu\n", i);
14521 exit (ferror (f) || fclose (f) != 0);
14527 rm -f conftest$ac_exeext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14529 (eval $ac_link) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 ac_cv_sizeof_int=`cat conftest.val`
14540 echo "$as_me: program exited with status $ac_status" >&5
14541 echo "$as_me: failed program was:" >&5
14542 sed 's/^/| /' conftest.$ac_ext >&5
14544 ( exit $ac_status )
14545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot compute sizeof (int), 77
14548 See \`config.log' for more details." >&2;}
14549 { (exit 1); exit 1; }; }
14551 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14560 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14561 cat >>confdefs.h <<_ACEOF
14562 #define SIZEOF_INT $ac_cv_sizeof_int
14566 echo "$as_me:$LINENO: checking for long" >&5
14567 echo $ECHO_N "checking for long... $ECHO_C" >&6
14568 if test "${ac_cv_type_long+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 cat >conftest.$ac_ext <<_ACEOF
14572 #line $LINENO "configure"
14575 cat confdefs.h >>conftest.$ac_ext
14576 cat >>conftest.$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14578 $ac_includes_default
14590 rm -f conftest.$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 ac_cv_type_long=yes
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14609 rm -f conftest.$ac_objext conftest.$ac_ext
14611 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14612 echo "${ECHO_T}$ac_cv_type_long" >&6
14614 echo "$as_me:$LINENO: checking size of long" >&5
14615 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14616 if test "${ac_cv_sizeof_long+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 if test "$ac_cv_type_long" = yes; then
14620 # The cast to unsigned long works around a bug in the HP C Compiler
14621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14623 # This bug is HP SR number 8606223364.
14624 if test "$cross_compiling" = yes; then
14625 # Depending upon the size, compute the lo and hi bounds.
14626 cat >conftest.$ac_ext <<_ACEOF
14627 #line $LINENO "configure"
14630 cat confdefs.h >>conftest.$ac_ext
14631 cat >>conftest.$ac_ext <<_ACEOF
14632 /* end confdefs.h. */
14633 $ac_includes_default
14637 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14644 rm -f conftest.$ac_objext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646 (eval $ac_compile) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); } &&
14650 { ac_try='test -s conftest.$ac_objext'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; }; then
14658 cat >conftest.$ac_ext <<_ACEOF
14659 #line $LINENO "configure"
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 $ac_includes_default
14669 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14676 rm -f conftest.$ac_objext
14677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14678 (eval $ac_compile) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } &&
14682 { ac_try='test -s conftest.$ac_objext'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; }; then
14688 ac_hi=$ac_mid; break
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14693 ac_lo=`expr $ac_mid + 1`
14694 if test $ac_lo -le $ac_mid; then
14698 ac_mid=`expr 2 '*' $ac_mid + 1`
14700 rm -f conftest.$ac_objext conftest.$ac_ext
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14706 cat >conftest.$ac_ext <<_ACEOF
14707 #line $LINENO "configure"
14710 cat confdefs.h >>conftest.$ac_ext
14711 cat >>conftest.$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14713 $ac_includes_default
14717 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14724 rm -f conftest.$ac_objext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14726 (eval $ac_compile) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try='test -s conftest.$ac_objext'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; }; then
14738 cat >conftest.$ac_ext <<_ACEOF
14739 #line $LINENO "configure"
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14745 $ac_includes_default
14749 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14756 rm -f conftest.$ac_objext
14757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14758 (eval $ac_compile) 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try='test -s conftest.$ac_objext'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 ac_lo=$ac_mid; break
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14773 ac_hi=`expr '(' $ac_mid ')' - 1`
14774 if test $ac_mid -le $ac_hi; then
14778 ac_mid=`expr 2 '*' $ac_mid`
14780 rm -f conftest.$ac_objext conftest.$ac_ext
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14788 rm -f conftest.$ac_objext conftest.$ac_ext
14790 rm -f conftest.$ac_objext conftest.$ac_ext
14791 # Binary search between lo and hi bounds.
14792 while test "x$ac_lo" != "x$ac_hi"; do
14793 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14794 cat >conftest.$ac_ext <<_ACEOF
14795 #line $LINENO "configure"
14798 cat confdefs.h >>conftest.$ac_ext
14799 cat >>conftest.$ac_ext <<_ACEOF
14800 /* end confdefs.h. */
14801 $ac_includes_default
14805 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14812 rm -f conftest.$ac_objext
14813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14814 (eval $ac_compile) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } &&
14818 { ac_try='test -s conftest.$ac_objext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14826 echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.$ac_ext >&5
14829 ac_lo=`expr '(' $ac_mid ')' + 1`
14831 rm -f conftest.$ac_objext conftest.$ac_ext
14834 ?*) ac_cv_sizeof_long=$ac_lo;;
14835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14836 See \`config.log' for more details." >&5
14837 echo "$as_me: error: cannot compute sizeof (long), 77
14838 See \`config.log' for more details." >&2;}
14839 { (exit 1); exit 1; }; } ;;
14842 if test "$cross_compiling" = yes; then
14843 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14844 See \`config.log' for more details." >&5
14845 echo "$as_me: error: cannot run test program while cross compiling
14846 See \`config.log' for more details." >&2;}
14847 { (exit 1); exit 1; }; }
14849 cat >conftest.$ac_ext <<_ACEOF
14850 #line $LINENO "configure"
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14857 long longval () { return (long) (sizeof (long)); }
14858 unsigned long ulongval () { return (long) (sizeof (long)); }
14860 #include <stdlib.h>
14865 FILE *f = fopen ("conftest.val", "w");
14868 if (((long) (sizeof (long))) < 0)
14870 long i = longval ();
14871 if (i != ((long) (sizeof (long))))
14873 fprintf (f, "%ld\n", i);
14877 unsigned long i = ulongval ();
14878 if (i != ((long) (sizeof (long))))
14880 fprintf (f, "%lu\n", i);
14882 exit (ferror (f) || fclose (f) != 0);
14888 rm -f conftest$ac_exeext
14889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14890 (eval $ac_link) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 (eval $ac_try) 2>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; }; then
14899 ac_cv_sizeof_long=`cat conftest.val`
14901 echo "$as_me: program exited with status $ac_status" >&5
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14905 ( exit $ac_status )
14906 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14907 See \`config.log' for more details." >&5
14908 echo "$as_me: error: cannot compute sizeof (long), 77
14909 See \`config.log' for more details." >&2;}
14910 { (exit 1); exit 1; }; }
14912 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14917 ac_cv_sizeof_long=0
14920 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14921 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14922 cat >>confdefs.h <<_ACEOF
14923 #define SIZEOF_LONG $ac_cv_sizeof_long
14928 echo "$as_me:$LINENO: checking for s_char" >&5
14929 echo $ECHO_N "checking for s_char... $ECHO_C" >&6
14930 if test "${ac_cv_type_s_char+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 cat >conftest.$ac_ext <<_ACEOF
14934 #line $LINENO "configure"
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14940 $ac_includes_default
14946 if (sizeof (s_char))
14952 rm -f conftest.$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -s conftest.$ac_objext'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 ac_cv_type_s_char=yes
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.$ac_ext >&5
14969 ac_cv_type_s_char=no
14971 rm -f conftest.$ac_objext conftest.$ac_ext
14973 echo "$as_me:$LINENO: result: $ac_cv_type_s_char" >&5
14974 echo "${ECHO_T}$ac_cv_type_s_char" >&6
14975 if test $ac_cv_type_s_char = yes; then
14977 cat >>confdefs.h <<_ACEOF
14978 #define HAVE_S_CHAR 1
14984 case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
14986 # We have a typedef for s_char. Might as well believe it...
14989 # We have signed chars, can't say 'signed char', no s_char typedef.
14991 cat >>confdefs.h <<\_ACEOF
14992 #define NEED_S_CHAR_TYPEDEF 1
14997 # We have signed chars, can say 'signed char', no s_char typedef.
14998 cat >>confdefs.h <<\_ACEOF
14999 #define NEED_S_CHAR_TYPEDEF 1
15004 # We have unsigned chars, can't say 'signed char', no s_char typedef.
15005 { { echo "$as_me:$LINENO: error: No way to specify a signed character!" >&5
15006 echo "$as_me: error: No way to specify a signed character!" >&2;}
15007 { (exit 1); exit 1; }; }
15010 # We have unsigned chars, can say 'signed char', no s_char typedef.
15011 cat >>confdefs.h <<\_ACEOF
15012 #define NEED_S_CHAR_TYPEDEF 1
15017 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
15018 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
15019 if test "${ac_cv_type_uid_t+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 cat >conftest.$ac_ext <<_ACEOF
15023 #line $LINENO "configure"
15026 cat confdefs.h >>conftest.$ac_ext
15027 cat >>conftest.$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15029 #include <sys/types.h>
15032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15033 $EGREP "uid_t" >/dev/null 2>&1; then
15034 ac_cv_type_uid_t=yes
15036 ac_cv_type_uid_t=no
15041 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
15042 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
15043 if test $ac_cv_type_uid_t = no; then
15045 cat >>confdefs.h <<\_ACEOF
15050 cat >>confdefs.h <<\_ACEOF
15061 for ac_func in __adjtimex __ntp_gettime
15063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15064 echo "$as_me:$LINENO: checking for $ac_func" >&5
15065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15066 if eval "test \"\${$as_ac_var+set}\" = set"; then
15067 echo $ECHO_N "(cached) $ECHO_C" >&6
15069 cat >conftest.$ac_ext <<_ACEOF
15070 #line $LINENO "configure"
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 /* System header to define __stub macros and hopefully few prototypes,
15077 which can conflict with char $ac_func (); below.
15078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15079 <limits.h> exists even on freestanding compilers. */
15081 # include <limits.h>
15083 # include <assert.h>
15085 /* Override any gcc2 internal prototype to avoid an error. */
15090 /* We use char because int might match the return type of a gcc2
15091 builtin and then its argument prototype would still apply. */
15093 /* The GNU C library defines this for functions which it implements
15094 to always fail with ENOSYS. Some functions are actually named
15095 something starting with __ and the normal name is an alias. */
15096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15099 char (*f) () = $ac_func;
15108 return f != $ac_func;
15113 rm -f conftest.$ac_objext conftest$ac_exeext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15115 (eval $ac_link) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try='test -s conftest$ac_exeext'
15120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 (eval $ac_try) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; }; then
15125 eval "$as_ac_var=yes"
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15130 eval "$as_ac_var=no"
15132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15136 if test `eval echo '${'$as_ac_var'}'` = yes; then
15137 cat >>confdefs.h <<_ACEOF
15138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15148 # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
15149 # (returning ENOSYS). I didn't check 4.2. If, in the future,
15150 # IBM pulls its thumbs out long enough to implement clock_settime,
15151 # this conditional will need to change. Maybe use AC_TRY_RUN
15152 # instead to try to set the time to itself and check errno.
15156 for ac_func in clock_gettime clock_settime
15158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15159 echo "$as_me:$LINENO: checking for $ac_func" >&5
15160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15161 if eval "test \"\${$as_ac_var+set}\" = set"; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 cat >conftest.$ac_ext <<_ACEOF
15165 #line $LINENO "configure"
15168 cat confdefs.h >>conftest.$ac_ext
15169 cat >>conftest.$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15171 /* System header to define __stub macros and hopefully few prototypes,
15172 which can conflict with char $ac_func (); below.
15173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15174 <limits.h> exists even on freestanding compilers. */
15176 # include <limits.h>
15178 # include <assert.h>
15180 /* Override any gcc2 internal prototype to avoid an error. */
15185 /* We use char because int might match the return type of a gcc2
15186 builtin and then its argument prototype would still apply. */
15188 /* The GNU C library defines this for functions which it implements
15189 to always fail with ENOSYS. Some functions are actually named
15190 something starting with __ and the normal name is an alias. */
15191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15194 char (*f) () = $ac_func;
15203 return f != $ac_func;
15208 rm -f conftest.$ac_objext conftest$ac_exeext
15209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15210 (eval $ac_link) 2>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try='test -s conftest$ac_exeext'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; }; then
15220 eval "$as_ac_var=yes"
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15225 eval "$as_ac_var=no"
15227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15231 if test `eval echo '${'$as_ac_var'}'` = yes; then
15232 cat >>confdefs.h <<_ACEOF
15233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15242 for ac_func in daemon
15244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15245 echo "$as_me:$LINENO: checking for $ac_func" >&5
15246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15247 if eval "test \"\${$as_ac_var+set}\" = set"; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 cat >conftest.$ac_ext <<_ACEOF
15251 #line $LINENO "configure"
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15257 /* System header to define __stub macros and hopefully few prototypes,
15258 which can conflict with char $ac_func (); below.
15259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15260 <limits.h> exists even on freestanding compilers. */
15262 # include <limits.h>
15264 # include <assert.h>
15266 /* Override any gcc2 internal prototype to avoid an error. */
15271 /* We use char because int might match the return type of a gcc2
15272 builtin and then its argument prototype would still apply. */
15274 /* The GNU C library defines this for functions which it implements
15275 to always fail with ENOSYS. Some functions are actually named
15276 something starting with __ and the normal name is an alias. */
15277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15280 char (*f) () = $ac_func;
15289 return f != $ac_func;
15294 rm -f conftest.$ac_objext conftest$ac_exeext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15296 (eval $ac_link) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -s conftest$ac_exeext'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; }; then
15306 eval "$as_ac_var=yes"
15308 echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.$ac_ext >&5
15311 eval "$as_ac_var=no"
15313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15317 if test `eval echo '${'$as_ac_var'}'` = yes; then
15318 cat >>confdefs.h <<_ACEOF
15319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15326 for ac_func in finite
15328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15329 echo "$as_me:$LINENO: checking for $ac_func" >&5
15330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15331 if eval "test \"\${$as_ac_var+set}\" = set"; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 cat >conftest.$ac_ext <<_ACEOF
15335 #line $LINENO "configure"
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341 /* System header to define __stub macros and hopefully few prototypes,
15342 which can conflict with char $ac_func (); below.
15343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15344 <limits.h> exists even on freestanding compilers. */
15346 # include <limits.h>
15348 # include <assert.h>
15350 /* Override any gcc2 internal prototype to avoid an error. */
15355 /* We use char because int might match the return type of a gcc2
15356 builtin and then its argument prototype would still apply. */
15358 /* The GNU C library defines this for functions which it implements
15359 to always fail with ENOSYS. Some functions are actually named
15360 something starting with __ and the normal name is an alias. */
15361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15364 char (*f) () = $ac_func;
15373 return f != $ac_func;
15378 rm -f conftest.$ac_objext conftest$ac_exeext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15380 (eval $ac_link) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 eval "$as_ac_var=yes"
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15395 eval "$as_ac_var=no"
15397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15401 if test `eval echo '${'$as_ac_var'}'` = yes; then
15402 cat >>confdefs.h <<_ACEOF
15403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15408 for ac_func in isfinite
15410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15411 echo "$as_me:$LINENO: checking for $ac_func" >&5
15412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15413 if eval "test \"\${$as_ac_var+set}\" = set"; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 cat >conftest.$ac_ext <<_ACEOF
15417 #line $LINENO "configure"
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 /* System header to define __stub macros and hopefully few prototypes,
15424 which can conflict with char $ac_func (); below.
15425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15426 <limits.h> exists even on freestanding compilers. */
15428 # include <limits.h>
15430 # include <assert.h>
15432 /* Override any gcc2 internal prototype to avoid an error. */
15437 /* We use char because int might match the return type of a gcc2
15438 builtin and then its argument prototype would still apply. */
15440 /* The GNU C library defines this for functions which it implements
15441 to always fail with ENOSYS. Some functions are actually named
15442 something starting with __ and the normal name is an alias. */
15443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15446 char (*f) () = $ac_func;
15455 return f != $ac_func;
15460 rm -f conftest.$ac_objext conftest$ac_exeext
15461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15462 (eval $ac_link) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try='test -s conftest$ac_exeext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 eval "$as_ac_var=yes"
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15477 eval "$as_ac_var=no"
15479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15483 if test `eval echo '${'$as_ac_var'}'` = yes; then
15484 cat >>confdefs.h <<_ACEOF
15485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15489 echo "$as_me:$LINENO: checking for isfinite with <math.h>" >&5
15490 echo $ECHO_N "checking for isfinite with <math.h>... $ECHO_C" >&6
15493 cat >conftest.$ac_ext <<_ACEOF
15494 #line $LINENO "configure"
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15504 float f = 0.0; isfinite(f)
15509 rm -f conftest.$ac_objext conftest$ac_exeext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15511 (eval $ac_link) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try='test -s conftest$ac_exeext'
15516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517 (eval $ac_try) 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; }; then
15521 echo "$as_me:$LINENO: result: yes" >&5
15522 echo "${ECHO_T}yes" >&6
15523 cat >>confdefs.h <<\_ACEOF
15524 #define HAVE_ISFINITE 1
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15531 echo "$as_me:$LINENO: result: no" >&5
15532 echo "${ECHO_T}no" >&6
15534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15546 for ac_func in getbootfile getclock getdtablesize getrusage
15548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15549 echo "$as_me:$LINENO: checking for $ac_func" >&5
15550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15551 if eval "test \"\${$as_ac_var+set}\" = set"; then
15552 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 cat >conftest.$ac_ext <<_ACEOF
15555 #line $LINENO "configure"
15558 cat confdefs.h >>conftest.$ac_ext
15559 cat >>conftest.$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15561 /* System header to define __stub macros and hopefully few prototypes,
15562 which can conflict with char $ac_func (); below.
15563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15564 <limits.h> exists even on freestanding compilers. */
15566 # include <limits.h>
15568 # include <assert.h>
15570 /* Override any gcc2 internal prototype to avoid an error. */
15575 /* We use char because int might match the return type of a gcc2
15576 builtin and then its argument prototype would still apply. */
15578 /* The GNU C library defines this for functions which it implements
15579 to always fail with ENOSYS. Some functions are actually named
15580 something starting with __ and the normal name is an alias. */
15581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15584 char (*f) () = $ac_func;
15593 return f != $ac_func;
15598 rm -f conftest.$ac_objext conftest$ac_exeext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15600 (eval $ac_link) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try='test -s conftest$ac_exeext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15610 eval "$as_ac_var=yes"
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.$ac_ext >&5
15615 eval "$as_ac_var=no"
15617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15621 if test `eval echo '${'$as_ac_var'}'` = yes; then
15622 cat >>confdefs.h <<_ACEOF
15623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15629 echo "$as_me:$LINENO: checking for gettimeofday" >&5
15630 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
15631 if test "${ac_cv_func_gettimeofday+set}" = set; then
15632 echo $ECHO_N "(cached) $ECHO_C" >&6
15634 cat >conftest.$ac_ext <<_ACEOF
15635 #line $LINENO "configure"
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641 /* System header to define __stub macros and hopefully few prototypes,
15642 which can conflict with char gettimeofday (); below.
15643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15644 <limits.h> exists even on freestanding compilers. */
15646 # include <limits.h>
15648 # include <assert.h>
15650 /* Override any gcc2 internal prototype to avoid an error. */
15655 /* We use char because int might match the return type of a gcc2
15656 builtin and then its argument prototype would still apply. */
15657 char gettimeofday ();
15658 /* The GNU C library defines this for functions which it implements
15659 to always fail with ENOSYS. Some functions are actually named
15660 something starting with __ and the normal name is an alias. */
15661 #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
15664 char (*f) () = gettimeofday;
15673 return f != gettimeofday;
15678 rm -f conftest.$ac_objext conftest$ac_exeext
15679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15680 (eval $ac_link) 2>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try='test -s conftest$ac_exeext'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; }; then
15690 ac_cv_func_gettimeofday=yes
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15695 ac_cv_func_gettimeofday=no
15697 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15699 echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
15700 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
15701 if test $ac_cv_func_gettimeofday = yes; then
15706 *-*-mpeix*) ac_cv_func_gettimeofday=yes
15715 for ac_func in getuid
15717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15718 echo "$as_me:$LINENO: checking for $ac_func" >&5
15719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15720 if eval "test \"\${$as_ac_var+set}\" = set"; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 cat >conftest.$ac_ext <<_ACEOF
15724 #line $LINENO "configure"
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15730 /* System header to define __stub macros and hopefully few prototypes,
15731 which can conflict with char $ac_func (); below.
15732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15733 <limits.h> exists even on freestanding compilers. */
15735 # include <limits.h>
15737 # include <assert.h>
15739 /* Override any gcc2 internal prototype to avoid an error. */
15744 /* We use char because int might match the return type of a gcc2
15745 builtin and then its argument prototype would still apply. */
15747 /* The GNU C library defines this for functions which it implements
15748 to always fail with ENOSYS. Some functions are actually named
15749 something starting with __ and the normal name is an alias. */
15750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15753 char (*f) () = $ac_func;
15762 return f != $ac_func;
15767 rm -f conftest.$ac_objext conftest$ac_exeext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15769 (eval $ac_link) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try='test -s conftest$ac_exeext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 eval "$as_ac_var=yes"
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15784 eval "$as_ac_var=no"
15786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15790 if test `eval echo '${'$as_ac_var'}'` = yes; then
15791 cat >>confdefs.h <<_ACEOF
15792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15801 for ac_func in hstrerror
15803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15804 echo "$as_me:$LINENO: checking for $ac_func" >&5
15805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15806 if eval "test \"\${$as_ac_var+set}\" = set"; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 cat >conftest.$ac_ext <<_ACEOF
15810 #line $LINENO "configure"
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 /* System header to define __stub macros and hopefully few prototypes,
15817 which can conflict with char $ac_func (); below.
15818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15819 <limits.h> exists even on freestanding compilers. */
15821 # include <limits.h>
15823 # include <assert.h>
15825 /* Override any gcc2 internal prototype to avoid an error. */
15830 /* We use char because int might match the return type of a gcc2
15831 builtin and then its argument prototype would still apply. */
15833 /* The GNU C library defines this for functions which it implements
15834 to always fail with ENOSYS. Some functions are actually named
15835 something starting with __ and the normal name is an alias. */
15836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15839 char (*f) () = $ac_func;
15848 return f != $ac_func;
15853 rm -f conftest.$ac_objext conftest$ac_exeext
15854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855 (eval $ac_link) 2>&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } &&
15859 { ac_try='test -s conftest$ac_exeext'
15860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15861 (eval $ac_try) 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; }; then
15865 eval "$as_ac_var=yes"
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.$ac_ext >&5
15870 eval "$as_ac_var=no"
15872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15876 if test `eval echo '${'$as_ac_var'}'` = yes; then
15877 cat >>confdefs.h <<_ACEOF
15878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15884 echo "$as_me:$LINENO: checking for inet_ntop" >&5
15885 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
15886 if test "${ac_cv_func_inet_ntop+set}" = set; then
15887 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 cat >conftest.$ac_ext <<_ACEOF
15890 #line $LINENO "configure"
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 /* System header to define __stub macros and hopefully few prototypes,
15897 which can conflict with char inet_ntop (); below.
15898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15899 <limits.h> exists even on freestanding compilers. */
15901 # include <limits.h>
15903 # include <assert.h>
15905 /* Override any gcc2 internal prototype to avoid an error. */
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15913 /* The GNU C library defines this for functions which it implements
15914 to always fail with ENOSYS. Some functions are actually named
15915 something starting with __ and the normal name is an alias. */
15916 #if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
15919 char (*f) () = inet_ntop;
15928 return f != inet_ntop;
15933 rm -f conftest.$ac_objext conftest$ac_exeext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15935 (eval $ac_link) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } &&
15939 { ac_try='test -s conftest$ac_exeext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 ac_cv_func_inet_ntop=yes
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.$ac_ext >&5
15950 ac_cv_func_inet_ntop=no
15952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15954 echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntop" >&5
15955 echo "${ECHO_T}$ac_cv_func_inet_ntop" >&6
15956 if test $ac_cv_func_inet_ntop = yes; then
15960 cat >>confdefs.h <<\_ACEOF
15961 #define ISC_PLATFORM_NEEDNTOP 1
15971 for ac_func in K_open kvm_open memcpy memmove memset
15973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15974 echo "$as_me:$LINENO: checking for $ac_func" >&5
15975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15976 if eval "test \"\${$as_ac_var+set}\" = set"; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 cat >conftest.$ac_ext <<_ACEOF
15980 #line $LINENO "configure"
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func (); below.
15988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15989 <limits.h> exists even on freestanding compilers. */
15991 # include <limits.h>
15993 # include <assert.h>
15995 /* Override any gcc2 internal prototype to avoid an error. */
16000 /* We use char because int might match the return type of a gcc2
16001 builtin and then its argument prototype would still apply. */
16003 /* The GNU C library defines this for functions which it implements
16004 to always fail with ENOSYS. Some functions are actually named
16005 something starting with __ and the normal name is an alias. */
16006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16009 char (*f) () = $ac_func;
16018 return f != $ac_func;
16023 rm -f conftest.$ac_objext conftest$ac_exeext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16025 (eval $ac_link) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -s conftest$ac_exeext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 eval "$as_ac_var=yes"
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 eval "$as_ac_var=no"
16042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16046 if test `eval echo '${'$as_ac_var'}'` = yes; then
16047 cat >>confdefs.h <<_ACEOF
16048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16056 # Just stubs. Idiots.
16059 for ac_func in mkstemp
16061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16062 echo "$as_me:$LINENO: checking for $ac_func" >&5
16063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16064 if eval "test \"\${$as_ac_var+set}\" = set"; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 cat >conftest.$ac_ext <<_ACEOF
16068 #line $LINENO "configure"
16071 cat confdefs.h >>conftest.$ac_ext
16072 cat >>conftest.$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 /* System header to define __stub macros and hopefully few prototypes,
16075 which can conflict with char $ac_func (); below.
16076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16077 <limits.h> exists even on freestanding compilers. */
16079 # include <limits.h>
16081 # include <assert.h>
16083 /* Override any gcc2 internal prototype to avoid an error. */
16088 /* We use char because int might match the return type of a gcc2
16089 builtin and then its argument prototype would still apply. */
16091 /* The GNU C library defines this for functions which it implements
16092 to always fail with ENOSYS. Some functions are actually named
16093 something starting with __ and the normal name is an alias. */
16094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16097 char (*f) () = $ac_func;
16106 return f != $ac_func;
16111 rm -f conftest.$ac_objext conftest$ac_exeext
16112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16113 (eval $ac_link) 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -s conftest$ac_exeext'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; }; then
16123 eval "$as_ac_var=yes"
16125 echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.$ac_ext >&5
16128 eval "$as_ac_var=no"
16130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16134 if test `eval echo '${'$as_ac_var'}'` = yes; then
16135 cat >>confdefs.h <<_ACEOF
16136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16145 for ac_func in mktime
16147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16148 echo "$as_me:$LINENO: checking for $ac_func" >&5
16149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16150 if eval "test \"\${$as_ac_var+set}\" = set"; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16153 cat >conftest.$ac_ext <<_ACEOF
16154 #line $LINENO "configure"
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160 /* System header to define __stub macros and hopefully few prototypes,
16161 which can conflict with char $ac_func (); below.
16162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16163 <limits.h> exists even on freestanding compilers. */
16165 # include <limits.h>
16167 # include <assert.h>
16169 /* Override any gcc2 internal prototype to avoid an error. */
16174 /* We use char because int might match the return type of a gcc2
16175 builtin and then its argument prototype would still apply. */
16177 /* The GNU C library defines this for functions which it implements
16178 to always fail with ENOSYS. Some functions are actually named
16179 something starting with __ and the normal name is an alias. */
16180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16183 char (*f) () = $ac_func;
16192 return f != $ac_func;
16197 rm -f conftest.$ac_objext conftest$ac_exeext
16198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16199 (eval $ac_link) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); } &&
16203 { ac_try='test -s conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 eval "$as_ac_var=yes"
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.$ac_ext >&5
16214 eval "$as_ac_var=no"
16216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16220 if test `eval echo '${'$as_ac_var'}'` = yes; then
16221 cat >>confdefs.h <<_ACEOF
16222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16230 # Just a stub. Idiots.
16233 # Just a stub in "old" Irix. Idiots.
16236 # Apparently there but not working in QNX. Idiots?
16239 # Just a stub. Idiots.
16241 alpha*-dec-osf4*|alpha*-dec-osf5*)
16242 # mlockall is there, as a #define calling memlk via <sys/mman.h>
16243 # Not easy to test for - cheat.
16245 for ac_func in memlk
16247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16248 echo "$as_me:$LINENO: checking for $ac_func" >&5
16249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16250 if eval "test \"\${$as_ac_var+set}\" = set"; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 cat >conftest.$ac_ext <<_ACEOF
16254 #line $LINENO "configure"
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 /* System header to define __stub macros and hopefully few prototypes,
16261 which can conflict with char $ac_func (); below.
16262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16263 <limits.h> exists even on freestanding compilers. */
16265 # include <limits.h>
16267 # include <assert.h>
16269 /* Override any gcc2 internal prototype to avoid an error. */
16274 /* We use char because int might match the return type of a gcc2
16275 builtin and then its argument prototype would still apply. */
16277 /* The GNU C library defines this for functions which it implements
16278 to always fail with ENOSYS. Some functions are actually named
16279 something starting with __ and the normal name is an alias. */
16280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16283 char (*f) () = $ac_func;
16292 return f != $ac_func;
16297 rm -f conftest.$ac_objext conftest$ac_exeext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16299 (eval $ac_link) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } &&
16303 { ac_try='test -s conftest$ac_exeext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 eval "$as_ac_var=yes"
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16314 eval "$as_ac_var=no"
16316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16320 if test `eval echo '${'$as_ac_var'}'` = yes; then
16321 cat >>confdefs.h <<_ACEOF
16322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16324 ac_cv_func_mlockall='yes'
16329 for ac_func in mlockall
16331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16332 echo "$as_me:$LINENO: checking for $ac_func" >&5
16333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16334 if eval "test \"\${$as_ac_var+set}\" = set"; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 cat >conftest.$ac_ext <<_ACEOF
16338 #line $LINENO "configure"
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 /* System header to define __stub macros and hopefully few prototypes,
16345 which can conflict with char $ac_func (); below.
16346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16347 <limits.h> exists even on freestanding compilers. */
16349 # include <limits.h>
16351 # include <assert.h>
16353 /* Override any gcc2 internal prototype to avoid an error. */
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16361 /* The GNU C library defines this for functions which it implements
16362 to always fail with ENOSYS. Some functions are actually named
16363 something starting with __ and the normal name is an alias. */
16364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16367 char (*f) () = $ac_func;
16376 return f != $ac_func;
16381 rm -f conftest.$ac_objext conftest$ac_exeext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16383 (eval $ac_link) 2>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -s conftest$ac_exeext'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 eval "$as_ac_var=yes"
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.$ac_ext >&5
16398 eval "$as_ac_var=no"
16400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16404 if test `eval echo '${'$as_ac_var'}'` = yes; then
16405 cat >>confdefs.h <<_ACEOF
16406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16414 for ac_func in mlockall
16416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16417 echo "$as_me:$LINENO: checking for $ac_func" >&5
16418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16419 if eval "test \"\${$as_ac_var+set}\" = set"; then
16420 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 cat >conftest.$ac_ext <<_ACEOF
16423 #line $LINENO "configure"
16426 cat confdefs.h >>conftest.$ac_ext
16427 cat >>conftest.$ac_ext <<_ACEOF
16428 /* end confdefs.h. */
16429 /* System header to define __stub macros and hopefully few prototypes,
16430 which can conflict with char $ac_func (); below.
16431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16432 <limits.h> exists even on freestanding compilers. */
16434 # include <limits.h>
16436 # include <assert.h>
16438 /* Override any gcc2 internal prototype to avoid an error. */
16443 /* We use char because int might match the return type of a gcc2
16444 builtin and then its argument prototype would still apply. */
16446 /* The GNU C library defines this for functions which it implements
16447 to always fail with ENOSYS. Some functions are actually named
16448 something starting with __ and the normal name is an alias. */
16449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16452 char (*f) () = $ac_func;
16461 return f != $ac_func;
16466 rm -f conftest.$ac_objext conftest$ac_exeext
16467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16468 (eval $ac_link) 2>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try='test -s conftest$ac_exeext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 eval "$as_ac_var=yes"
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 eval "$as_ac_var=no"
16485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16489 if test `eval echo '${'$as_ac_var'}'` = yes; then
16490 cat >>confdefs.h <<_ACEOF
16491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16503 for ac_func in mrand48 srand48 nice nlist
16505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16506 echo "$as_me:$LINENO: checking for $ac_func" >&5
16507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16508 if eval "test \"\${$as_ac_var+set}\" = set"; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.$ac_ext <<_ACEOF
16512 #line $LINENO "configure"
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 /* System header to define __stub macros and hopefully few prototypes,
16519 which can conflict with char $ac_func (); below.
16520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16521 <limits.h> exists even on freestanding compilers. */
16523 # include <limits.h>
16525 # include <assert.h>
16527 /* Override any gcc2 internal prototype to avoid an error. */
16532 /* We use char because int might match the return type of a gcc2
16533 builtin and then its argument prototype would still apply. */
16535 /* The GNU C library defines this for functions which it implements
16536 to always fail with ENOSYS. Some functions are actually named
16537 something starting with __ and the normal name is an alias. */
16538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16541 char (*f) () = $ac_func;
16550 return f != $ac_func;
16555 rm -f conftest.$ac_objext conftest$ac_exeext
16556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16557 (eval $ac_link) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -s conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 eval "$as_ac_var=yes"
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16572 eval "$as_ac_var=no"
16574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16578 if test `eval echo '${'$as_ac_var'}'` = yes; then
16579 cat >>confdefs.h <<_ACEOF
16580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16592 for ac_func in ntp_adjtime ntp_gettime
16594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16595 echo "$as_me:$LINENO: checking for $ac_func" >&5
16596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16597 if eval "test \"\${$as_ac_var+set}\" = set"; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 cat >conftest.$ac_ext <<_ACEOF
16601 #line $LINENO "configure"
16604 cat confdefs.h >>conftest.$ac_ext
16605 cat >>conftest.$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 /* System header to define __stub macros and hopefully few prototypes,
16608 which can conflict with char $ac_func (); below.
16609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16610 <limits.h> exists even on freestanding compilers. */
16612 # include <limits.h>
16614 # include <assert.h>
16616 /* Override any gcc2 internal prototype to avoid an error. */
16621 /* We use char because int might match the return type of a gcc2
16622 builtin and then its argument prototype would still apply. */
16624 /* The GNU C library defines this for functions which it implements
16625 to always fail with ENOSYS. Some functions are actually named
16626 something starting with __ and the normal name is an alias. */
16627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16630 char (*f) () = $ac_func;
16639 return f != $ac_func;
16644 rm -f conftest.$ac_objext conftest$ac_exeext
16645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16646 (eval $ac_link) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try='test -s conftest$ac_exeext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16656 eval "$as_ac_var=yes"
16658 echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.$ac_ext >&5
16661 eval "$as_ac_var=no"
16663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16667 if test `eval echo '${'$as_ac_var'}'` = yes; then
16668 cat >>confdefs.h <<_ACEOF
16669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16682 for ac_func in plock pututline pututxline readlink rtprio
16684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16685 echo "$as_me:$LINENO: checking for $ac_func" >&5
16686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16687 if eval "test \"\${$as_ac_var+set}\" = set"; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 cat >conftest.$ac_ext <<_ACEOF
16691 #line $LINENO "configure"
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 /* System header to define __stub macros and hopefully few prototypes,
16698 which can conflict with char $ac_func (); below.
16699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16700 <limits.h> exists even on freestanding compilers. */
16702 # include <limits.h>
16704 # include <assert.h>
16706 /* Override any gcc2 internal prototype to avoid an error. */
16711 /* We use char because int might match the return type of a gcc2
16712 builtin and then its argument prototype would still apply. */
16714 /* The GNU C library defines this for functions which it implements
16715 to always fail with ENOSYS. Some functions are actually named
16716 something starting with __ and the normal name is an alias. */
16717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16720 char (*f) () = $ac_func;
16729 return f != $ac_func;
16734 rm -f conftest.$ac_objext conftest$ac_exeext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16736 (eval $ac_link) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try='test -s conftest$ac_exeext'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; }; then
16746 eval "$as_ac_var=yes"
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 eval "$as_ac_var=no"
16753 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16757 if test `eval echo '${'$as_ac_var'}'` = yes; then
16758 cat >>confdefs.h <<_ACEOF
16759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16765 case "$ac_cv_func_mrand48" in
16768 for ac_func in random
16770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16771 echo "$as_me:$LINENO: checking for $ac_func" >&5
16772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16773 if eval "test \"\${$as_ac_var+set}\" = set"; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 cat >conftest.$ac_ext <<_ACEOF
16777 #line $LINENO "configure"
16780 cat confdefs.h >>conftest.$ac_ext
16781 cat >>conftest.$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 /* System header to define __stub macros and hopefully few prototypes,
16784 which can conflict with char $ac_func (); below.
16785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16786 <limits.h> exists even on freestanding compilers. */
16788 # include <limits.h>
16790 # include <assert.h>
16792 /* Override any gcc2 internal prototype to avoid an error. */
16797 /* We use char because int might match the return type of a gcc2
16798 builtin and then its argument prototype would still apply. */
16800 /* The GNU C library defines this for functions which it implements
16801 to always fail with ENOSYS. Some functions are actually named
16802 something starting with __ and the normal name is an alias. */
16803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16806 char (*f) () = $ac_func;
16815 return f != $ac_func;
16820 rm -f conftest.$ac_objext conftest$ac_exeext
16821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16822 (eval $ac_link) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try='test -s conftest$ac_exeext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 eval "$as_ac_var=yes"
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 eval "$as_ac_var=no"
16839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16843 if test `eval echo '${'$as_ac_var'}'` = yes; then
16844 cat >>confdefs.h <<_ACEOF
16845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16849 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
16857 # Just a stub in AIX 4. Idiots.
16860 # Just stubs in solaris2.5. Idiots.
16863 for ac_func in sched_setscheduler
16865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16866 echo "$as_me:$LINENO: checking for $ac_func" >&5
16867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16868 if eval "test \"\${$as_ac_var+set}\" = set"; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 cat >conftest.$ac_ext <<_ACEOF
16872 #line $LINENO "configure"
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 /* System header to define __stub macros and hopefully few prototypes,
16879 which can conflict with char $ac_func (); below.
16880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16881 <limits.h> exists even on freestanding compilers. */
16883 # include <limits.h>
16885 # include <assert.h>
16887 /* Override any gcc2 internal prototype to avoid an error. */
16892 /* We use char because int might match the return type of a gcc2
16893 builtin and then its argument prototype would still apply. */
16895 /* The GNU C library defines this for functions which it implements
16896 to always fail with ENOSYS. Some functions are actually named
16897 something starting with __ and the normal name is an alias. */
16898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16901 char (*f) () = $ac_func;
16910 return f != $ac_func;
16915 rm -f conftest.$ac_objext conftest$ac_exeext
16916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16917 (eval $ac_link) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -s conftest$ac_exeext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 eval "$as_ac_var=yes"
16929 echo "$as_me: failed program was:" >&5
16930 sed 's/^/| /' conftest.$ac_ext >&5
16932 eval "$as_ac_var=no"
16934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16938 if test `eval echo '${'$as_ac_var'}'` = yes; then
16939 cat >>confdefs.h <<_ACEOF
16940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16952 for ac_func in setlinebuf setpgid setpriority setsid
16954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16955 echo "$as_me:$LINENO: checking for $ac_func" >&5
16956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16957 if eval "test \"\${$as_ac_var+set}\" = set"; then
16958 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 cat >conftest.$ac_ext <<_ACEOF
16961 #line $LINENO "configure"
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 /* System header to define __stub macros and hopefully few prototypes,
16968 which can conflict with char $ac_func (); below.
16969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16970 <limits.h> exists even on freestanding compilers. */
16972 # include <limits.h>
16974 # include <assert.h>
16976 /* Override any gcc2 internal prototype to avoid an error. */
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16990 char (*f) () = $ac_func;
16999 return f != $ac_func;
17004 rm -f conftest.$ac_objext conftest$ac_exeext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17006 (eval $ac_link) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try='test -s conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 eval "$as_ac_var=yes"
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 eval "$as_ac_var=no"
17023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17027 if test `eval echo '${'$as_ac_var'}'` = yes; then
17028 cat >>confdefs.h <<_ACEOF
17029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17036 for ac_func in setrlimit
17038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17039 echo "$as_me:$LINENO: checking for $ac_func" >&5
17040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17041 if eval "test \"\${$as_ac_var+set}\" = set"; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 cat >conftest.$ac_ext <<_ACEOF
17045 #line $LINENO "configure"
17048 cat confdefs.h >>conftest.$ac_ext
17049 cat >>conftest.$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 /* System header to define __stub macros and hopefully few prototypes,
17052 which can conflict with char $ac_func (); below.
17053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17054 <limits.h> exists even on freestanding compilers. */
17056 # include <limits.h>
17058 # include <assert.h>
17060 /* Override any gcc2 internal prototype to avoid an error. */
17065 /* We use char because int might match the return type of a gcc2
17066 builtin and then its argument prototype would still apply. */
17068 /* The GNU C library defines this for functions which it implements
17069 to always fail with ENOSYS. Some functions are actually named
17070 something starting with __ and the normal name is an alias. */
17071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17074 char (*f) () = $ac_func;
17083 return f != $ac_func;
17088 rm -f conftest.$ac_objext conftest$ac_exeext
17089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17090 (eval $ac_link) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); } &&
17094 { ac_try='test -s conftest$ac_exeext'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 eval "$as_ac_var=yes"
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 eval "$as_ac_var=no"
17107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17111 if test `eval echo '${'$as_ac_var'}'` = yes; then
17112 cat >>confdefs.h <<_ACEOF
17113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17120 for ac_func in settimeofday
17122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17123 echo "$as_me:$LINENO: checking for $ac_func" >&5
17124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17125 if eval "test \"\${$as_ac_var+set}\" = set"; then
17126 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 cat >conftest.$ac_ext <<_ACEOF
17129 #line $LINENO "configure"
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 /* System header to define __stub macros and hopefully few prototypes,
17136 which can conflict with char $ac_func (); below.
17137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17138 <limits.h> exists even on freestanding compilers. */
17140 # include <limits.h>
17142 # include <assert.h>
17144 /* Override any gcc2 internal prototype to avoid an error. */
17149 /* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17152 /* The GNU C library defines this for functions which it implements
17153 to always fail with ENOSYS. Some functions are actually named
17154 something starting with __ and the normal name is an alias. */
17155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17158 char (*f) () = $ac_func;
17167 return f != $ac_func;
17172 rm -f conftest.$ac_objext conftest$ac_exeext
17173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17174 (eval $ac_link) 2>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } &&
17178 { ac_try='test -s conftest$ac_exeext'
17179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; }; then
17184 eval "$as_ac_var=yes"
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17189 eval "$as_ac_var=no"
17191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17195 if test `eval echo '${'$as_ac_var'}'` = yes; then
17196 cat >>confdefs.h <<_ACEOF
17197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17203 *-*-mpeix*) ac_cv_func_settimeofday=yes
17211 for ac_func in setvbuf sigaction
17213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17214 echo "$as_me:$LINENO: checking for $ac_func" >&5
17215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17216 if eval "test \"\${$as_ac_var+set}\" = set"; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 cat >conftest.$ac_ext <<_ACEOF
17220 #line $LINENO "configure"
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 /* System header to define __stub macros and hopefully few prototypes,
17227 which can conflict with char $ac_func (); below.
17228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17229 <limits.h> exists even on freestanding compilers. */
17231 # include <limits.h>
17233 # include <assert.h>
17235 /* Override any gcc2 internal prototype to avoid an error. */
17240 /* We use char because int might match the return type of a gcc2
17241 builtin and then its argument prototype would still apply. */
17243 /* The GNU C library defines this for functions which it implements
17244 to always fail with ENOSYS. Some functions are actually named
17245 something starting with __ and the normal name is an alias. */
17246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17249 char (*f) () = $ac_func;
17258 return f != $ac_func;
17263 rm -f conftest.$ac_objext conftest$ac_exeext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17265 (eval $ac_link) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } &&
17269 { ac_try='test -s conftest$ac_exeext'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; }; then
17275 eval "$as_ac_var=yes"
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17280 eval "$as_ac_var=no"
17282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17286 if test `eval echo '${'$as_ac_var'}'` = yes; then
17287 cat >>confdefs.h <<_ACEOF
17288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17301 for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl
17303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17304 echo "$as_me:$LINENO: checking for $ac_func" >&5
17305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17306 if eval "test \"\${$as_ac_var+set}\" = set"; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 cat >conftest.$ac_ext <<_ACEOF
17310 #line $LINENO "configure"
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 /* System header to define __stub macros and hopefully few prototypes,
17317 which can conflict with char $ac_func (); below.
17318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17319 <limits.h> exists even on freestanding compilers. */
17321 # include <limits.h>
17323 # include <assert.h>
17325 /* Override any gcc2 internal prototype to avoid an error. */
17330 /* We use char because int might match the return type of a gcc2
17331 builtin and then its argument prototype would still apply. */
17333 /* The GNU C library defines this for functions which it implements
17334 to always fail with ENOSYS. Some functions are actually named
17335 something starting with __ and the normal name is an alias. */
17336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17339 char (*f) () = $ac_func;
17348 return f != $ac_func;
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17355 (eval $ac_link) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } &&
17359 { ac_try='test -s conftest$ac_exeext'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; }; then
17365 eval "$as_ac_var=yes"
17367 echo "$as_me: failed program was:" >&5
17368 sed 's/^/| /' conftest.$ac_ext >&5
17370 eval "$as_ac_var=no"
17372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17376 if test `eval echo '${'$as_ac_var'}'` = yes; then
17377 cat >>confdefs.h <<_ACEOF
17378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17388 for ac_func in snprintf strdup strerror strstr
17390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17391 echo "$as_me:$LINENO: checking for $ac_func" >&5
17392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17393 if eval "test \"\${$as_ac_var+set}\" = set"; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 cat >conftest.$ac_ext <<_ACEOF
17397 #line $LINENO "configure"
17400 cat confdefs.h >>conftest.$ac_ext
17401 cat >>conftest.$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17403 /* System header to define __stub macros and hopefully few prototypes,
17404 which can conflict with char $ac_func (); below.
17405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17406 <limits.h> exists even on freestanding compilers. */
17408 # include <limits.h>
17410 # include <assert.h>
17412 /* Override any gcc2 internal prototype to avoid an error. */
17417 /* We use char because int might match the return type of a gcc2
17418 builtin and then its argument prototype would still apply. */
17420 /* The GNU C library defines this for functions which it implements
17421 to always fail with ENOSYS. Some functions are actually named
17422 something starting with __ and the normal name is an alias. */
17423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17426 char (*f) () = $ac_func;
17435 return f != $ac_func;
17440 rm -f conftest.$ac_objext conftest$ac_exeext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17442 (eval $ac_link) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -s conftest$ac_exeext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17452 eval "$as_ac_var=yes"
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17457 eval "$as_ac_var=no"
17459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17463 if test `eval echo '${'$as_ac_var'}'` = yes; then
17464 cat >>confdefs.h <<_ACEOF
17465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17472 for ac_func in timegm
17474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17475 echo "$as_me:$LINENO: checking for $ac_func" >&5
17476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17477 if eval "test \"\${$as_ac_var+set}\" = set"; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 cat >conftest.$ac_ext <<_ACEOF
17481 #line $LINENO "configure"
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487 /* System header to define __stub macros and hopefully few prototypes,
17488 which can conflict with char $ac_func (); below.
17489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17490 <limits.h> exists even on freestanding compilers. */
17492 # include <limits.h>
17494 # include <assert.h>
17496 /* Override any gcc2 internal prototype to avoid an error. */
17501 /* We use char because int might match the return type of a gcc2
17502 builtin and then its argument prototype would still apply. */
17504 /* The GNU C library defines this for functions which it implements
17505 to always fail with ENOSYS. Some functions are actually named
17506 something starting with __ and the normal name is an alias. */
17507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17510 char (*f) () = $ac_func;
17519 return f != $ac_func;
17524 rm -f conftest.$ac_objext conftest$ac_exeext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17526 (eval $ac_link) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try='test -s conftest$ac_exeext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 eval "$as_ac_var=yes"
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17541 eval "$as_ac_var=no"
17543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17547 if test `eval echo '${'$as_ac_var'}'` = yes; then
17548 cat >>confdefs.h <<_ACEOF
17549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17557 # Just stubs. Idiots.
17560 # Just stubs. Idiots.
17563 # Just stubs. Idiots.
17566 # Just stubs. Idiots.
17570 for ac_func in timer_create timer_settime
17572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17573 echo "$as_me:$LINENO: checking for $ac_func" >&5
17574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17575 if eval "test \"\${$as_ac_var+set}\" = set"; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 cat >conftest.$ac_ext <<_ACEOF
17579 #line $LINENO "configure"
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585 /* System header to define __stub macros and hopefully few prototypes,
17586 which can conflict with char $ac_func (); below.
17587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17588 <limits.h> exists even on freestanding compilers. */
17590 # include <limits.h>
17592 # include <assert.h>
17594 /* Override any gcc2 internal prototype to avoid an error. */
17599 /* We use char because int might match the return type of a gcc2
17600 builtin and then its argument prototype would still apply. */
17602 /* The GNU C library defines this for functions which it implements
17603 to always fail with ENOSYS. Some functions are actually named
17604 something starting with __ and the normal name is an alias. */
17605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17608 char (*f) () = $ac_func;
17617 return f != $ac_func;
17622 rm -f conftest.$ac_objext conftest$ac_exeext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17624 (eval $ac_link) 2>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -s conftest$ac_exeext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 eval "$as_ac_var=yes"
17636 echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.$ac_ext >&5
17639 eval "$as_ac_var=no"
17641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17645 if test `eval echo '${'$as_ac_var'}'` = yes; then
17646 cat >>confdefs.h <<_ACEOF
17647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17657 # I have no idea...
17660 for ac_func in umask
17662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17663 echo "$as_me:$LINENO: checking for $ac_func" >&5
17664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17665 if eval "test \"\${$as_ac_var+set}\" = set"; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17668 cat >conftest.$ac_ext <<_ACEOF
17669 #line $LINENO "configure"
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 /* System header to define __stub macros and hopefully few prototypes,
17676 which can conflict with char $ac_func (); below.
17677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17678 <limits.h> exists even on freestanding compilers. */
17680 # include <limits.h>
17682 # include <assert.h>
17684 /* Override any gcc2 internal prototype to avoid an error. */
17689 /* We use char because int might match the return type of a gcc2
17690 builtin and then its argument prototype would still apply. */
17692 /* The GNU C library defines this for functions which it implements
17693 to always fail with ENOSYS. Some functions are actually named
17694 something starting with __ and the normal name is an alias. */
17695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17698 char (*f) () = $ac_func;
17707 return f != $ac_func;
17712 rm -f conftest.$ac_objext conftest$ac_exeext
17713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17714 (eval $ac_link) 2>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } &&
17718 { ac_try='test -s conftest$ac_exeext'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; }; then
17724 eval "$as_ac_var=yes"
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17729 eval "$as_ac_var=no"
17731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17735 if test `eval echo '${'$as_ac_var'}'` = yes; then
17736 cat >>confdefs.h <<_ACEOF
17737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17749 for ac_func in uname updwtmp updwtmpx vsprintf
17751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17752 echo "$as_me:$LINENO: checking for $ac_func" >&5
17753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17754 if eval "test \"\${$as_ac_var+set}\" = set"; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 cat >conftest.$ac_ext <<_ACEOF
17758 #line $LINENO "configure"
17761 cat confdefs.h >>conftest.$ac_ext
17762 cat >>conftest.$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 /* System header to define __stub macros and hopefully few prototypes,
17765 which can conflict with char $ac_func (); below.
17766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17767 <limits.h> exists even on freestanding compilers. */
17769 # include <limits.h>
17771 # include <assert.h>
17773 /* Override any gcc2 internal prototype to avoid an error. */
17778 /* We use char because int might match the return type of a gcc2
17779 builtin and then its argument prototype would still apply. */
17781 /* The GNU C library defines this for functions which it implements
17782 to always fail with ENOSYS. Some functions are actually named
17783 something starting with __ and the normal name is an alias. */
17784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17787 char (*f) () = $ac_func;
17796 return f != $ac_func;
17801 rm -f conftest.$ac_objext conftest$ac_exeext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17803 (eval $ac_link) 2>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -s conftest$ac_exeext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17813 eval "$as_ac_var=yes"
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17818 eval "$as_ac_var=no"
17820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17824 if test `eval echo '${'$as_ac_var'}'` = yes; then
17825 cat >>confdefs.h <<_ACEOF
17826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17836 cat >>confdefs.h <<\_ACEOF
17837 #define SPRINTF_CHAR 1
17843 echo "$as_me:$LINENO: checking number of arguments to gettimeofday()" >&5
17844 echo $ECHO_N "checking number of arguments to gettimeofday()... $ECHO_C" >&6
17845 if test "${ac_cv_func_Xettimeofday_nargs+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 cat >conftest.$ac_ext <<_ACEOF
17849 #line $LINENO "configure"
17852 cat confdefs.h >>conftest.$ac_ext
17853 cat >>conftest.$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17855 #include <sys/time.h>
17860 gettimeofday((struct timeval*)0,(struct timezone*)0);
17861 settimeofday((struct timeval*)0,(struct timezone*)0);
17867 rm -f conftest.$ac_objext
17868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17869 (eval $ac_compile) 2>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_cv_func_Xettimeofday_nargs=2
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 ac_cv_func_Xettimeofday_nargs=1
17886 rm -f conftest.$ac_objext conftest.$ac_ext
17889 echo "$as_me:$LINENO: result: $ac_cv_func_Xettimeofday_nargs" >&5
17890 echo "${ECHO_T}$ac_cv_func_Xettimeofday_nargs" >&6
17891 if test $ac_cv_func_Xettimeofday_nargs = 1; then
17893 cat >>confdefs.h <<\_ACEOF
17894 #define SYSV_TIMEOFDAY 1
17899 echo "$as_me:$LINENO: checking number of arguments taken by setpgrp()" >&5
17900 echo $ECHO_N "checking number of arguments taken by setpgrp()... $ECHO_C" >&6
17901 if test "${ac_cv_func_setpgrp_nargs+set}" = set; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 cat >conftest.$ac_ext <<_ACEOF
17905 #line $LINENO "configure"
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17912 #ifdef HAVE_SYS_TYPES_H
17913 # include <sys/types.h>
17915 #ifdef HAVE_UNISTD_H
17916 # include <unistd.h>
17927 rm -f conftest.$ac_objext
17928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17929 (eval $ac_compile) 2>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } &&
17933 { ac_try='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 ac_cv_func_setpgrp_nargs=2
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 ac_cv_func_setpgrp_nargs=0
17946 rm -f conftest.$ac_objext conftest.$ac_ext
17949 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_nargs" >&5
17950 echo "${ECHO_T}$ac_cv_func_setpgrp_nargs" >&6
17951 if test $ac_cv_func_setpgrp_nargs = 0; then
17953 cat >>confdefs.h <<\_ACEOF
17954 #define HAVE_SETPGRP_0 1
17959 save_CFLAGS=$CFLAGS
17960 CFLAGS="$CFLAGS -I$srcdir/include"
17962 echo "$as_me:$LINENO: checking argument pointer type of qsort()'s compare function and base" >&5
17963 echo $ECHO_N "checking argument pointer type of qsort()'s compare function and base... $ECHO_C" >&6
17964 if test "${ac_cv_func_qsort_argtype+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 cat >conftest.$ac_ext <<_ACEOF
17968 #line $LINENO "configure"
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17975 #include "l_stdlib.h"
17977 #ifdef HAVE_PROTOTYPES
17984 extern sortfunc P((const void *, const void *));
17987 const void *b; { return 0; }
17993 qsort(base, 2, sizeof(char *), sortfunc);
17999 rm -f conftest.$ac_objext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try='test -s conftest.$ac_objext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 ac_cv_func_qsort_argtype=void
18013 echo "$as_me: failed program was:" >&5
18014 sed 's/^/| /' conftest.$ac_ext >&5
18016 ac_cv_func_qsort_argtype=char
18018 rm -f conftest.$ac_objext conftest.$ac_ext
18021 echo "$as_me:$LINENO: result: $ac_cv_func_qsort_argtype" >&5
18022 echo "${ECHO_T}$ac_cv_func_qsort_argtype" >&6
18023 case "$ac_cv_func_qsort_argtype" in
18026 cat >>confdefs.h <<\_ACEOF
18027 #define QSORT_USES_VOID_P 1
18033 CFLAGS=$save_CFLAGS
18035 echo "$as_me:$LINENO: checking if we need to declare 'errno'" >&5
18036 echo $ECHO_N "checking if we need to declare 'errno'... $ECHO_C" >&6
18037 if test "${ac_cv_decl_errno+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18040 cat >conftest.$ac_ext <<_ACEOF
18041 #line $LINENO "configure"
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 #ifdef HAVE_ERRNO_H
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_cv_decl_errno=no
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18075 ac_cv_decl_errno=yes
18077 rm -f conftest.$ac_objext conftest.$ac_ext
18079 echo "$as_me:$LINENO: result: $ac_cv_decl_errno" >&5
18080 echo "${ECHO_T}$ac_cv_decl_errno" >&6
18081 case "$ac_cv_decl_errno" in
18083 cat >>confdefs.h <<\_ACEOF
18084 #define DECL_ERRNO 1
18089 echo "$as_me:$LINENO: checking if we may declare 'h_errno'" >&5
18090 echo $ECHO_N "checking if we may declare 'h_errno'... $ECHO_C" >&6
18091 if test "${ac_cv_decl_h_errno+set}" = set; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18094 cat >conftest.$ac_ext <<_ACEOF
18095 #line $LINENO "configure"
18098 cat confdefs.h >>conftest.$ac_ext
18099 cat >>conftest.$ac_ext <<_ACEOF
18100 /* end confdefs.h. */
18101 #include <sys/types.h>
18102 #ifdef HAVE_NETINET_IN_H
18103 #include <netinet/in.h>
18105 #ifdef HAVE_ARPA_NAMESER_H
18106 #include <arpa/nameser.h>
18108 #ifdef HAVE_NETDB_H
18111 #ifdef HAVE_RESOLV_H
18112 #include <resolv.h>
18117 extern int h_errno;
18122 rm -f conftest.$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } &&
18128 { ac_try='test -s conftest.$ac_objext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 ac_cv_decl_h_errno=yes
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18139 ac_cv_decl_h_errno=no
18141 rm -f conftest.$ac_objext conftest.$ac_ext
18143 echo "$as_me:$LINENO: result: $ac_cv_decl_h_errno" >&5
18144 echo "${ECHO_T}$ac_cv_decl_h_errno" >&6
18145 case "$ac_cv_decl_h_errno" in
18147 cat >>confdefs.h <<\_ACEOF
18148 #define DECL_H_ERRNO 1
18153 echo "$as_me:$LINENO: checking if declaring 'char *sys_errlist[]' is ok" >&5
18154 echo $ECHO_N "checking if declaring 'char *sys_errlist[]' is ok... $ECHO_C" >&6
18155 if test "${ac_cv_decl_sys_errlist+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 cat >conftest.$ac_ext <<_ACEOF
18159 #line $LINENO "configure"
18162 cat confdefs.h >>conftest.$ac_ext
18163 cat >>conftest.$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18166 #ifdef HAVE_ERRNO_H
18172 extern char *sys_errlist[];
18178 rm -f conftest.$ac_objext
18179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18180 (eval $ac_compile) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_cv_decl_sys_errlist=yes
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_cv_decl_sys_errlist=no
18197 rm -f conftest.$ac_objext conftest.$ac_ext
18199 echo "$as_me:$LINENO: result: $ac_cv_decl_sys_errlist" >&5
18200 echo "${ECHO_T}$ac_cv_decl_sys_errlist" >&6
18201 case "$ac_cv_decl_sys_errlist" in
18203 cat >>confdefs.h <<\_ACEOF
18204 #define CHAR_SYS_ERRLIST 1
18209 echo "$as_me:$LINENO: checking if declaring 'syscall()' is ok" >&5
18210 echo $ECHO_N "checking if declaring 'syscall()' is ok... $ECHO_C" >&6
18211 if test "${ac_cv_decl_syscall+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 cat >conftest.$ac_ext <<_ACEOF
18215 #line $LINENO "configure"
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18222 #ifdef HAVE_SYS_TYPES_H
18223 # include <sys/types.h>
18225 #ifdef HAVE_UNISTD_H
18226 # include <unistd.h>
18228 #ifdef HAVE_PROTOTYPES
18237 extern int syscall P((int, ...));
18242 rm -f conftest.$ac_objext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18244 (eval $ac_compile) 2>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } &&
18248 { ac_try='test -s conftest.$ac_objext'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; }; then
18254 ac_cv_decl_syscall=yes
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18259 ac_cv_decl_syscall=no
18261 rm -f conftest.$ac_objext conftest.$ac_ext
18263 echo "$as_me:$LINENO: result: $ac_cv_decl_syscall" >&5
18264 echo "${ECHO_T}$ac_cv_decl_syscall" >&6
18265 case "$ac_cv_decl_syscall" in
18267 cat >>confdefs.h <<\_ACEOF
18268 #define DECL_SYSCALL 1
18276 cat >>confdefs.h <<\_ACEOF
18277 #define DECL_HSTRERROR_0 1
18279 # Needed for XLC under AIX 4.3.2
18283 cat >>confdefs.h <<\_ACEOF
18284 #define DECL_ADJTIME_0 1
18288 cat >>confdefs.h <<\_ACEOF
18289 #define DECL_INET_NTOA_0 1
18293 cat >>confdefs.h <<\_ACEOF
18294 #define DECL_MKTEMP_0 1
18298 cat >>confdefs.h <<\_ACEOF
18299 #define DECL_MRAND48_0 1
18303 cat >>confdefs.h <<\_ACEOF
18304 #define DECL_SELECT_0 1
18308 cat >>confdefs.h <<\_ACEOF
18309 #define DECL_SETITIMER_0 1
18313 cat >>confdefs.h <<\_ACEOF
18314 #define DECL_SRAND48_0 1
18318 cat >>confdefs.h <<\_ACEOF
18319 #define DECL_SYSLOG_0 1
18323 cat >>confdefs.h <<\_ACEOF
18324 #define DECL_TIMEOFDAY_0 1
18330 cat >>confdefs.h <<\_ACEOF
18331 #define DECL_PLOCK_0 1
18335 cat >>confdefs.h <<\_ACEOF
18336 #define DECL_STIME_1 1
18342 cat >>confdefs.h <<\_ACEOF
18343 #define DECL_ADJTIME_0 1
18349 cat >>confdefs.h <<\_ACEOF
18350 #define DECL_ADJTIME_0 1
18354 cat >>confdefs.h <<\_ACEOF
18355 #define DECL_BZERO_0 1
18359 cat >>confdefs.h <<\_ACEOF
18360 #define DECL_IOCTL_0 1
18364 cat >>confdefs.h <<\_ACEOF
18365 #define DECL_IPC_0 1
18369 cat >>confdefs.h <<\_ACEOF
18370 #define DECL_MEMMOVE_0 1
18374 cat >>confdefs.h <<\_ACEOF
18375 #define DECL_MKTEMP_0 1
18379 cat >>confdefs.h <<\_ACEOF
18380 #define DECL_RENAME_0 1
18384 cat >>confdefs.h <<\_ACEOF
18385 #define DECL_SELECT_0 1
18389 cat >>confdefs.h <<\_ACEOF
18390 #define DECL_SETITIMER_0 1
18394 cat >>confdefs.h <<\_ACEOF
18395 #define DECL_SETPRIORITY_0 1
18399 cat >>confdefs.h <<\_ACEOF
18400 #define DECL_STDIO_0 1
18404 cat >>confdefs.h <<\_ACEOF
18405 #define DECL_STRTOL_0 1
18409 cat >>confdefs.h <<\_ACEOF
18410 #define DECL_SYSLOG_0 1
18414 cat >>confdefs.h <<\_ACEOF
18415 #define DECL_TIME_0 1
18419 cat >>confdefs.h <<\_ACEOF
18420 #define DECL_TIMEOFDAY_0 1
18424 cat >>confdefs.h <<\_ACEOF
18425 #define DECL_TOLOWER_0 1
18431 cat >>confdefs.h <<\_ACEOF
18432 #define DECL_MKSTEMP_0 1
18436 cat >>confdefs.h <<\_ACEOF
18437 #define DECL_SETPRIORITY_1 1
18443 cat >>confdefs.h <<\_ACEOF
18444 #define DECL_TIMEOFDAY_0 1
18452 cat >>confdefs.h <<\_ACEOF
18453 #define DECL_ADJTIME_0 1
18457 cat >>confdefs.h <<\_ACEOF
18458 #define DECL_BCOPY_0 1
18462 cat >>confdefs.h <<\_ACEOF
18463 #define DECL_BZERO_0 1
18467 cat >>confdefs.h <<\_ACEOF
18468 #define DECL_IOCTL_0 1
18472 cat >>confdefs.h <<\_ACEOF
18473 #define DECL_IPC_0 1
18477 cat >>confdefs.h <<\_ACEOF
18478 #define DECL_MEMMOVE_0 1
18482 cat >>confdefs.h <<\_ACEOF
18483 #define DECL_MKTEMP_0 1
18487 cat >>confdefs.h <<\_ACEOF
18488 #define DECL_MKSTEMP_0 1
18492 cat >>confdefs.h <<\_ACEOF
18493 #define DECL_MRAND48_0 1
18497 cat >>confdefs.h <<\_ACEOF
18498 #define DECL_RENAME_0 1
18502 cat >>confdefs.h <<\_ACEOF
18503 #define DECL_SELECT_0 1
18507 cat >>confdefs.h <<\_ACEOF
18508 #define DECL_SETITIMER_0 1
18512 cat >>confdefs.h <<\_ACEOF
18513 #define DECL_SETPRIORITY_0 1
18517 cat >>confdefs.h <<\_ACEOF
18518 #define DECL_SIGVEC_0 1
18522 cat >>confdefs.h <<\_ACEOF
18523 #define DECL_SRAND48_0 1
18526 case "`basename $ac_cv_prog_CC`" in
18529 cat >>confdefs.h <<\_ACEOF
18530 #define DECL_STDIO_0 1
18536 cat >>confdefs.h <<\_ACEOF
18537 #define DECL_STRTOL_0 1
18541 cat >>confdefs.h <<\_ACEOF
18542 #define DECL_SYSLOG_0 1
18546 cat >>confdefs.h <<\_ACEOF
18547 #define DECL_TIME_0 1
18551 cat >>confdefs.h <<\_ACEOF
18552 #define DECL_TIMEOFDAY_0 1
18556 cat >>confdefs.h <<\_ACEOF
18557 #define DECL_TOLOWER_0 1
18561 cat >>confdefs.h <<\_ACEOF
18562 #define DECL_TOUPPER_0 1
18566 cat >>confdefs.h <<\_ACEOF
18567 #define DECL_STRERROR_0 1
18573 cat >>confdefs.h <<\_ACEOF
18574 #define DECL_ADJTIME_0 1
18578 cat >>confdefs.h <<\_ACEOF
18579 #define DECL_BZERO_0 1
18583 cat >>confdefs.h <<\_ACEOF
18584 #define DECL_CFSETISPEED_0 1
18588 cat >>confdefs.h <<\_ACEOF
18589 #define DECL_IOCTL_0 1
18593 cat >>confdefs.h <<\_ACEOF
18594 #define DECL_IPC_0 1
18598 cat >>confdefs.h <<\_ACEOF
18599 #define DECL_MKTEMP_0 1
18603 cat >>confdefs.h <<\_ACEOF
18604 #define DECL_MRAND48_0 1
18608 cat >>confdefs.h <<\_ACEOF
18609 #define DECL_NLIST_0 1
18613 cat >>confdefs.h <<\_ACEOF
18614 #define DECL_PLOCK_0 1
18618 cat >>confdefs.h <<\_ACEOF
18619 #define DECL_SELECT_0 1
18623 cat >>confdefs.h <<\_ACEOF
18624 #define DECL_SETITIMER_0 1
18628 cat >>confdefs.h <<\_ACEOF
18629 #define DECL_SETPRIORITY_0 1
18633 cat >>confdefs.h <<\_ACEOF
18634 #define DECL_SRAND48_0 1
18638 cat >>confdefs.h <<\_ACEOF
18639 #define DECL_STIME_0 1
18643 cat >>confdefs.h <<\_ACEOF
18644 #define DECL_SYSLOG_0 1
18648 cat >>confdefs.h <<\_ACEOF
18649 #define DECL_TIMEOFDAY_0 1
18658 cat >>confdefs.h <<\_ACEOF
18659 #define TERMIOS_NEEDS__SVID3 1
18665 echo "$as_me:$LINENO: checking if we need extra room for SO_RCVBUF" >&5
18666 echo $ECHO_N "checking if we need extra room for SO_RCVBUF... $ECHO_C" >&6
18667 if test "${ac_cv_var_rcvbuf_slop+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 ac_cv_var_rcvbuf_slop=$ans
18678 echo "$as_me:$LINENO: result: $ac_cv_var_rcvbuf_slop" >&5
18679 echo "${ECHO_T}$ac_cv_var_rcvbuf_slop" >&6
18680 case "$ac_cv_var_rcvbuf_slop" in
18682 cat >>confdefs.h <<\_ACEOF
18683 #define NEED_RCVBUF_SLOP 1
18688 echo "$as_me:$LINENO: checking if we will open the broadcast socket" >&5
18689 echo $ECHO_N "checking if we will open the broadcast socket... $ECHO_C" >&6
18690 if test "${ac_cv_var_open_bcast_socket+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 ac_cv_var_open_bcast_socket=$ans
18701 echo "$as_me:$LINENO: result: $ac_cv_var_open_bcast_socket" >&5
18702 echo "${ECHO_T}$ac_cv_var_open_bcast_socket" >&6
18703 case "$ac_cv_var_open_bcast_socket" in
18705 cat >>confdefs.h <<\_ACEOF
18706 #define OPEN_BCAST_SOCKET 1
18711 echo "$as_me:$LINENO: checking if we want the HPUX version of FindConfig()" >&5
18712 echo $ECHO_N "checking if we want the HPUX version of FindConfig()... $ECHO_C" >&6
18713 if test "${ac_cv_var_hpux_findconfig+set}" = set; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 ac_cv_var_hpux_findconfig=$ans
18724 echo "$as_me:$LINENO: result: $ac_cv_var_hpux_findconfig" >&5
18725 echo "${ECHO_T}$ac_cv_var_hpux_findconfig" >&6
18726 case "$ac_cv_var_hpux_findconfig" in
18728 cat >>confdefs.h <<\_ACEOF
18729 #define NEED_HPUX_FINDCONFIG 1
18734 echo "$as_me:$LINENO: checking if process groups are set with -pid" >&5
18735 echo $ECHO_N "checking if process groups are set with -pid... $ECHO_C" >&6
18736 if test "${ac_cv_arg_setpgrp_negpid+set}" = set; then
18737 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 ac_cv_arg_setpgrp_negpid=$ans
18761 echo "$as_me:$LINENO: result: $ac_cv_arg_setpgrp_negpid" >&5
18762 echo "${ECHO_T}$ac_cv_arg_setpgrp_negpid" >&6
18763 case "$ac_cv_arg_setpgrp_negpid" in
18765 cat >>confdefs.h <<\_ACEOF
18766 #define UDP_BACKWARDS_SETOWN 1
18771 echo "$as_me:$LINENO: checking if we need a ctty for F_SETOWN" >&5
18772 echo $ECHO_N "checking if we need a ctty for F_SETOWN... $ECHO_C" >&6
18773 if test "${ac_cv_func_ctty_for_f_setown+set}" = set; then
18774 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 ac_cv_func_ctty_for_f_setown=$ans
18797 echo "$as_me:$LINENO: result: $ac_cv_func_ctty_for_f_setown" >&5
18798 echo "${ECHO_T}$ac_cv_func_ctty_for_f_setown" >&6
18799 case "$ac_cv_func_ctty_for_f_setown" in
18801 cat >>confdefs.h <<\_ACEOF
18802 #define USE_FSETOWNCTTY 1
18807 ntp_warning='GRONK'
18808 echo "$as_me:$LINENO: checking if we'll use clock_settime or settimeofday or stime" >&5
18809 echo $ECHO_N "checking if we'll use clock_settime or settimeofday or stime... $ECHO_C" >&6
18810 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
18813 ans='clock_settime()'
18816 ntp_warning='But clock_settime() would be better (if we had it)'
18817 ans='settimeofday()'
18820 ntp_warning='Which is the worst of the three'
18825 $host) ntp_warning='Which leaves us with nothing to use!'
18830 echo "$as_me:$LINENO: result: $ans" >&5
18831 echo "${ECHO_T}$ans" >&6
18832 case "$ntp_warning" in
18834 *) { echo "$as_me:$LINENO: WARNING: *** $ntp_warning ***" >&5
18835 echo "$as_me: WARNING: *** $ntp_warning ***" >&2;}
18839 echo "$as_me:$LINENO: checking if we have a losing syscall()" >&5
18840 echo $ECHO_N "checking if we have a losing syscall()... $ECHO_C" >&6
18841 if test "${ac_cv_var_syscall_bug+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 ac_cv_var_syscall_bug=$ans
18853 echo "$as_me:$LINENO: result: $ac_cv_var_syscall_bug" >&5
18854 echo "${ECHO_T}$ac_cv_var_syscall_bug" >&6
18855 case "$ac_cv_var_syscall_bug" in
18857 cat >>confdefs.h <<\_ACEOF
18858 #define SYSCALL_BUG 1
18863 echo "$as_me:$LINENO: checking for Streams/TLI" >&5
18864 echo $ECHO_N "checking for Streams/TLI... $ECHO_C" >&6
18865 if test "${ac_cv_var_streams_tli+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 case "$ac_cv_header_sys_stropts_h" in
18871 # There must be a better way...
18879 ac_cv_var_streams_tli=$ans
18881 echo "$as_me:$LINENO: result: $ac_cv_var_streams_tli" >&5
18882 echo "${ECHO_T}$ac_cv_var_streams_tli" >&6
18883 case "$ac_cv_var_streams_tli" in
18886 cat >>confdefs.h <<\_ACEOF
18887 #define STREAMS_TLI 1
18893 echo "$as_me:$LINENO: checking for SIGIO" >&5
18894 echo $ECHO_N "checking for SIGIO... $ECHO_C" >&6
18895 if test "${ac_cv_hdr_def_sigio+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18898 cat >conftest.$ac_ext <<_ACEOF
18899 #line $LINENO "configure"
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <signal.h>
18911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18912 $EGREP "yes" >/dev/null 2>&1; then
18913 ac_cv_hdr_def_sigio=yes
18915 ac_cv_hdr_def_sigio=no
18920 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigio" >&5
18921 echo "${ECHO_T}$ac_cv_hdr_def_sigio" >&6
18923 echo "$as_me:$LINENO: checking if we want to use signalled IO" >&5
18924 echo $ECHO_N "checking if we want to use signalled IO... $ECHO_C" >&6
18925 if test "${ac_cv_var_signalled_io+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 case "$ac_cv_hdr_def_sigio" in
18933 alpha*-dec-osf4*|alpha*-dec-osf5*)
18966 ac_cv_var_signalled_io=$ans
18968 echo "$as_me:$LINENO: result: $ac_cv_var_signalled_io" >&5
18969 echo "${ECHO_T}$ac_cv_var_signalled_io" >&6
18970 case "$ac_cv_var_signalled_io" in
18972 cat >>confdefs.h <<\_ACEOF
18973 #define HAVE_SIGNALED_IO 1
18978 echo "$as_me:$LINENO: checking for SIGPOLL" >&5
18979 echo $ECHO_N "checking for SIGPOLL... $ECHO_C" >&6
18980 if test "${ac_cv_hdr_def_sigpoll+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 cat >conftest.$ac_ext <<_ACEOF
18984 #line $LINENO "configure"
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 #include <signal.h>
18996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18997 $EGREP "yes" >/dev/null 2>&1; then
18998 ac_cv_hdr_def_sigpoll=yes
19000 ac_cv_hdr_def_sigpoll=no
19005 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigpoll" >&5
19006 echo "${ECHO_T}$ac_cv_hdr_def_sigpoll" >&6
19008 echo "$as_me:$LINENO: checking for SIGSYS" >&5
19009 echo $ECHO_N "checking for SIGSYS... $ECHO_C" >&6
19010 if test "${ac_cv_hdr_def_sigsys+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 cat >conftest.$ac_ext <<_ACEOF
19014 #line $LINENO "configure"
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 #include <signal.h>
19026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19027 $EGREP "yes" >/dev/null 2>&1; then
19028 ac_cv_hdr_def_sigsys=yes
19030 ac_cv_hdr_def_sigsys=no
19035 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigsys" >&5
19036 echo "${ECHO_T}$ac_cv_hdr_def_sigsys" >&6
19038 echo "$as_me:$LINENO: checking if we can use SIGPOLL for UDP I/O" >&5
19039 echo $ECHO_N "checking if we can use SIGPOLL for UDP I/O... $ECHO_C" >&6
19040 if test "${ac_cv_var_use_udp_sigpoll+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 case "$ac_cv_hdr_def_sigpoll" in
19088 ac_cv_var_use_udp_sigpoll=$ans
19090 echo "$as_me:$LINENO: result: $ac_cv_var_use_udp_sigpoll" >&5
19091 echo "${ECHO_T}$ac_cv_var_use_udp_sigpoll" >&6
19092 case "$ac_cv_var_use_udp_sigpoll" in
19094 cat >>confdefs.h <<\_ACEOF
19095 #define USE_UDP_SIGPOLL 1
19100 echo "$as_me:$LINENO: checking if we can use SIGPOLL for TTY I/O" >&5
19101 echo $ECHO_N "checking if we can use SIGPOLL for TTY I/O... $ECHO_C" >&6
19102 if test "${ac_cv_var_use_tty_sigpoll+set}" = set; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 case "$ac_cv_hdr_def_sigpoll" in
19150 ac_cv_var_use_tty_sigpoll=$ans
19152 echo "$as_me:$LINENO: result: $ac_cv_var_use_tty_sigpoll" >&5
19153 echo "${ECHO_T}$ac_cv_var_use_tty_sigpoll" >&6
19154 case "$ac_cv_var_use_tty_sigpoll" in
19156 cat >>confdefs.h <<\_ACEOF
19157 #define USE_TTY_SIGPOLL 1
19162 case "$ac_cv_header_sys_sio_h" in
19164 echo "$as_me:$LINENO: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5
19165 echo $ECHO_N "checking sys/sio.h for TIOCDCDTIMESTAMP... $ECHO_C" >&6
19166 if test "${ac_cv_hdr_def_tiocdcdtimestamp+set}" = set; then
19167 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 cat >conftest.$ac_ext <<_ACEOF
19170 #line $LINENO "configure"
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 #include <sys/sio.h>
19177 #ifdef TIOCDCDTIMESTAMP
19182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19183 $EGREP "yes" >/dev/null 2>&1; then
19184 ac_cv_hdr_def_tiocdcdtimestamp=yes
19186 ac_cv_hdr_def_tiocdcdtimestamp=no
19191 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_tiocdcdtimestamp" >&5
19192 echo "${ECHO_T}$ac_cv_hdr_def_tiocdcdtimestamp" >&6
19196 case "$ac_cv_hdr_def_tiocdcdtimestamp" in
19198 ac_cv_var_oncore_ok=yes
19202 echo "$as_me:$LINENO: checking if nlist() values might require extra indirection" >&5
19203 echo $ECHO_N "checking if nlist() values might require extra indirection... $ECHO_C" >&6
19204 if test "${ac_cv_var_nlist_extra_indirection+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 ac_cv_var_nlist_extra_indirection=$ans
19215 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_extra_indirection" >&5
19216 echo "${ECHO_T}$ac_cv_var_nlist_extra_indirection" >&6
19217 case "$ac_cv_var_nlist_extra_indirection" in
19219 cat >>confdefs.h <<\_ACEOF
19220 #define NLIST_EXTRA_INDIRECTION 1
19225 echo "$as_me:$LINENO: checking for a minimum recommended value of tickadj" >&5
19226 echo $ECHO_N "checking for a minimum recommended value of tickadj... $ECHO_C" >&6
19227 if test "${ac_cv_var_min_rec_tickadj+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 ac_cv_var_min_rec_tickadj=$ans
19238 echo "$as_me:$LINENO: result: $ac_cv_var_min_rec_tickadj" >&5
19239 echo "${ECHO_T}$ac_cv_var_min_rec_tickadj" >&6
19240 case "$ac_cv_var_min_rec_tickadj" in
19243 cat >>confdefs.h <<_ACEOF
19244 #define MIN_REC_TICKADJ $ac_cv_var_min_rec_tickadj
19249 echo "$as_me:$LINENO: checking if the TTY code permits PARENB and IGNPAR" >&5
19250 echo $ECHO_N "checking if the TTY code permits PARENB and IGNPAR... $ECHO_C" >&6
19251 if test "${ac_cv_var_no_parenb_ignpar+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 i?86-*-freebsd[123].*)
19271 ac_cv_var_no_parenb_ignpar=$ans
19273 echo "$as_me:$LINENO: result: $ac_cv_var_no_parenb_ignpar" >&5
19274 echo "${ECHO_T}$ac_cv_var_no_parenb_ignpar" >&6
19275 case "$ac_cv_var_no_parenb_ignpar" in
19277 cat >>confdefs.h <<\_ACEOF
19278 #define NO_PARENB_IGNPAR 1
19283 echo "$as_me:$LINENO: checking if we're including debugging code" >&5
19284 echo $ECHO_N "checking if we're including debugging code... $ECHO_C" >&6
19285 # Check whether --enable-debugging or --disable-debugging was given.
19286 if test "${enable_debugging+set}" = set; then
19287 enableval="$enable_debugging"
19292 if test "$ntp_ok" = "yes"; then
19294 cat >>confdefs.h <<\_ACEOF
19299 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19300 echo "${ECHO_T}$ntp_ok" >&6
19302 echo "$as_me:$LINENO: checking for a the number of minutes in a DST adjustment" >&5
19303 echo $ECHO_N "checking for a the number of minutes in a DST adjustment... $ECHO_C" >&6
19304 # Check whether --enable-dst_minutes or --disable-dst_minutes was given.
19305 if test "${enable_dst_minutes+set}" = set; then
19306 enableval="$enable_dst_minutes"
19312 cat >>confdefs.h <<_ACEOF
19313 #define DSTMINUTES $ans
19316 echo "$as_me:$LINENO: result: $ans" >&5
19317 echo "${ECHO_T}$ans" >&6
19319 echo "$as_me:$LINENO: checking if we have the tty_clk line discipline/streams module" >&5
19320 echo $ECHO_N "checking if we have the tty_clk line discipline/streams module... $ECHO_C" >&6
19321 if test "${ac_cv_var_tty_clk+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 case "$ac_cv_header_sys_clkdefs_h$ac_cv_hdr_def_tiocdcdtimestamp" in
19325 *yes*) ac_cv_var_tty_clk=yes ;;
19328 echo "$as_me:$LINENO: result: $ac_cv_var_tty_clk" >&5
19329 echo "${ECHO_T}$ac_cv_var_tty_clk" >&6
19330 case "$ac_cv_var_tty_clk" in
19332 cat >>confdefs.h <<\_ACEOF
19338 echo "$as_me:$LINENO: checking for the ppsclock streams module" >&5
19339 echo $ECHO_N "checking for the ppsclock streams module... $ECHO_C" >&6
19340 if test "${ac_cv_var_ppsclock+set}" = set; then
19341 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 ac_cv_var_ppsclock=$ac_cv_struct_ppsclockev
19345 echo "$as_me:$LINENO: result: $ac_cv_var_ppsclock" >&5
19346 echo "${ECHO_T}$ac_cv_var_ppsclock" >&6
19347 case "$ac_cv_var_ppsclock" in
19349 cat >>confdefs.h <<\_ACEOF
19355 echo "$as_me:$LINENO: checking for kernel multicast support" >&5
19356 echo $ECHO_N "checking for kernel multicast support... $ECHO_C" >&6
19357 if test "${ac_cv_var_mcast+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 i386-sequent-sysv4) ;;
19363 *) cat >conftest.$ac_ext <<_ACEOF
19364 #line $LINENO "configure"
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 #include <netinet/in.h>
19371 #ifdef IP_ADD_MEMBERSHIP
19376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19377 $EGREP "yes" >/dev/null 2>&1; then
19378 ac_cv_var_mcast=yes
19384 echo "$as_me:$LINENO: result: $ac_cv_var_mcast" >&5
19385 echo "${ECHO_T}$ac_cv_var_mcast" >&6
19386 case "$ac_cv_var_mcast" in
19388 cat >>confdefs.h <<\_ACEOF
19394 echo "$as_me:$LINENO: checking availability of ntp_{adj,get}time()" >&5
19395 echo $ECHO_N "checking availability of ntp_{adj,get}time()... $ECHO_C" >&6
19396 if test "${ac_cv_var_ntp_syscalls+set}" = set; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 ac_cv_var_ntp_syscalls=no
19400 case "$ac_cv_func___adjtimex" in
19402 ac_cv_var_ntp_syscalls=libc
19404 *) case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime" in
19406 ac_cv_var_ntp_syscalls=libc
19408 *) cat >conftest.$ac_ext <<_ACEOF
19409 #line $LINENO "configure"
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <sys/syscall.h>
19416 #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
19421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19422 $EGREP "yes" >/dev/null 2>&1; then
19423 ac_cv_var_ntp_syscalls=kernel
19432 echo "$as_me:$LINENO: result: $ac_cv_var_ntp_syscalls" >&5
19433 echo "${ECHO_T}$ac_cv_var_ntp_syscalls" >&6
19434 case "$ac_cv_var_ntp_syscalls" in
19437 cat >>confdefs.h <<\_ACEOF
19438 #define NTP_SYSCALLS_LIBC 1
19444 cat >>confdefs.h <<\_ACEOF
19445 #define NTP_SYSCALLS_STD 1
19453 echo "$as_me:$LINENO: checking if sys/timex.h has STA_FLL" >&5
19454 echo $ECHO_N "checking if sys/timex.h has STA_FLL... $ECHO_C" >&6
19455 if test "${ac_cv_var_sta_fll+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 cat >conftest.$ac_ext <<_ACEOF
19459 #line $LINENO "configure"
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465 #include <sys/timex.h>
19471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19472 $EGREP "yes" >/dev/null 2>&1; then
19473 ac_cv_var_sta_fll=yes
19475 ac_cv_var_sta_fll=no
19480 echo "$as_me:$LINENO: result: $ac_cv_var_sta_fll" >&5
19481 echo "${ECHO_T}$ac_cv_var_sta_fll" >&6
19483 echo "$as_me:$LINENO: checking if we have kernel PLL support" >&5
19484 echo $ECHO_N "checking if we have kernel PLL support... $ECHO_C" >&6
19485 if test "${ac_cv_var_kernel_pll+set}" = set; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 case "$ac_cv_header_sys_timex_h$ac_cv_struct_ntptimeval$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in
19490 ac_cv_var_kernel_pll=no
19492 *) ac_cv_var_kernel_pll=yes
19496 echo "$as_me:$LINENO: result: $ac_cv_var_kernel_pll" >&5
19497 echo "${ECHO_T}$ac_cv_var_kernel_pll" >&6
19498 case "$ac_cv_var_kernel_pll" in
19501 cat >>confdefs.h <<\_ACEOF
19502 #define KERNEL_PLL 1
19508 echo "$as_me:$LINENO: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
19509 echo $ECHO_N "checking if SIOCGIFCONF returns buffer size in the buffer... $ECHO_C" >&6
19510 if test "${ac_cv_var_size_returned_in_buffer+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 ac_cv_var_size_returned_in_buffer=$ans
19527 echo "$as_me:$LINENO: result: $ac_cv_var_size_returned_in_buffer" >&5
19528 echo "${ECHO_T}$ac_cv_var_size_returned_in_buffer" >&6
19529 case "$ac_cv_var_size_returned_in_buffer" in
19531 cat >>confdefs.h <<\_ACEOF
19532 #define SIZE_RETURNED_IN_BUFFER 1
19538 # Check for ioctls TIOCGPPSEV
19539 echo "$as_me:$LINENO: checking ioctl TIOCGPPSEV" >&5
19540 echo $ECHO_N "checking ioctl TIOCGPPSEV... $ECHO_C" >&6
19541 if test "$ac_cv_header_termios_h" = "yes"; then
19542 cat >conftest.$ac_ext <<_ACEOF
19543 #line $LINENO "configure"
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #include <termios.h>
19555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19556 $EGREP "yes" >/dev/null 2>&1; then
19566 if test "$ntp_ok" = "yes"; then
19568 cat >>confdefs.h <<\_ACEOF
19569 #define HAVE_TIOCGPPSEV 1
19572 ac_cv_var_oncore_ok=yes
19574 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19575 echo "${ECHO_T}$ntp_ok" >&6
19577 # Check for ioctls TIOCSPPS
19578 echo "$as_me:$LINENO: checking ioctl TIOCSPPS" >&5
19579 echo $ECHO_N "checking ioctl TIOCSPPS... $ECHO_C" >&6
19580 if test "$ac_cv_header_termios_h" = "yes"; then
19581 cat >conftest.$ac_ext <<_ACEOF
19582 #line $LINENO "configure"
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 #include <termios.h>
19594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19595 $EGREP "yes" >/dev/null 2>&1; then
19606 if test "$ntp_ok" = "yes"; then
19608 cat >>confdefs.h <<\_ACEOF
19609 #define HAVE_TIOCSPPS 1
19613 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19614 echo "${ECHO_T}$ntp_ok" >&6
19616 # Check for ioctls CIOGETEV
19617 echo "$as_me:$LINENO: checking ioctl CIOGETEV" >&5
19618 echo $ECHO_N "checking ioctl CIOGETEV... $ECHO_C" >&6
19619 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then
19620 cat >conftest.$ac_ext <<_ACEOF
19621 #line $LINENO "configure"
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 #include <sys/ppsclock.h>
19633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19634 $EGREP "yes" >/dev/null 2>&1; then
19644 if test "$ntp_ok" = "yes"; then
19645 ac_cv_var_oncore_ok=yes
19647 cat >>confdefs.h <<\_ACEOF
19648 #define HAVE_CIOGETEV 1
19652 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19653 echo "${ECHO_T}$ntp_ok" >&6
19656 # ATOM/PPSAPI stuff.
19658 # ATOM used to require struct timespec, but that's been fixed now.
19660 # case "$ac_cv_struct_timespec" in
19662 # ac_cv_var_atom_ok=yes
19665 ac_cv_var_atom_ok=yes
19667 # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff.
19669 # The PPSAPI headers need "inline" ($ac_cv_c_inline='inline')
19671 # The PPSAPI needs ATOM
19673 # The PPSAPI needs struct timespec.
19675 case "$ac_cv_c_inline$ac_cv_struct_timespec$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
19678 cat >>confdefs.h <<\_ACEOF
19679 #define HAVE_PPSAPI 1
19682 ac_cv_var_oncore_ok=yes
19683 ac_cv_var_ripe_ncc_ok=yes
19684 ac_cv_var_jupiter_ok=yes
19688 # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
19689 if test "${ac_cv_header_linux_serial_h+set}" = set; then
19690 echo "$as_me:$LINENO: checking for linux/serial.h" >&5
19691 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
19692 if test "${ac_cv_header_linux_serial_h+set}" = set; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 echo "$as_me:$LINENO: result: $ac_cv_header_linux_serial_h" >&5
19696 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
19698 # Is the header compilable?
19699 echo "$as_me:$LINENO: checking linux/serial.h usability" >&5
19700 echo $ECHO_N "checking linux/serial.h usability... $ECHO_C" >&6
19701 cat >conftest.$ac_ext <<_ACEOF
19702 #line $LINENO "configure"
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19709 #include <linux/serial.h>
19711 rm -f conftest.$ac_objext
19712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19713 (eval $ac_compile) 2>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try='test -s conftest.$ac_objext'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; }; then
19723 ac_header_compiler=yes
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19728 ac_header_compiler=no
19730 rm -f conftest.$ac_objext conftest.$ac_ext
19731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19732 echo "${ECHO_T}$ac_header_compiler" >&6
19734 # Is the header present?
19735 echo "$as_me:$LINENO: checking linux/serial.h presence" >&5
19736 echo $ECHO_N "checking linux/serial.h presence... $ECHO_C" >&6
19737 cat >conftest.$ac_ext <<_ACEOF
19738 #line $LINENO "configure"
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #include <linux/serial.h>
19746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19749 grep -v '^ *+' conftest.er1 >conftest.err
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } >/dev/null; then
19754 if test -s conftest.err; then
19755 ac_cpp_err=$ac_c_preproc_warn_flag
19762 if test -z "$ac_cpp_err"; then
19763 ac_header_preproc=yes
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.$ac_ext >&5
19768 ac_header_preproc=no
19770 rm -f conftest.err conftest.$ac_ext
19771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19772 echo "${ECHO_T}$ac_header_preproc" >&6
19774 # So? What about this header?
19775 case $ac_header_compiler:$ac_header_preproc in
19777 { echo "$as_me:$LINENO: WARNING: linux/serial.h: accepted by the compiler, rejected by the preprocessor!" >&5
19778 echo "$as_me: WARNING: linux/serial.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19779 { echo "$as_me:$LINENO: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&5
19780 echo "$as_me: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&2;}
19783 ## ------------------------------------ ##
19784 ## Report this to bug-autoconf@gnu.org. ##
19785 ## ------------------------------------ ##
19788 sed "s/^/$as_me: WARNING: /" >&2
19791 { echo "$as_me:$LINENO: WARNING: linux/serial.h: present but cannot be compiled" >&5
19792 echo "$as_me: WARNING: linux/serial.h: present but cannot be compiled" >&2;}
19793 { echo "$as_me:$LINENO: WARNING: linux/serial.h: check for missing prerequisite headers?" >&5
19794 echo "$as_me: WARNING: linux/serial.h: check for missing prerequisite headers?" >&2;}
19795 { echo "$as_me:$LINENO: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&5
19796 echo "$as_me: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&2;}
19799 ## ------------------------------------ ##
19800 ## Report this to bug-autoconf@gnu.org. ##
19801 ## ------------------------------------ ##
19804 sed "s/^/$as_me: WARNING: /" >&2
19807 echo "$as_me:$LINENO: checking for linux/serial.h" >&5
19808 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
19809 if test "${ac_cv_header_linux_serial_h+set}" = set; then
19810 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 ac_cv_header_linux_serial_h=$ac_header_preproc
19814 echo "$as_me:$LINENO: result: $ac_cv_header_linux_serial_h" >&5
19815 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
19820 echo "$as_me:$LINENO: checking ioctl TIOCGSERIAL" >&5
19821 echo $ECHO_N "checking ioctl TIOCGSERIAL... $ECHO_C" >&6
19822 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
19824 cat >conftest.$ac_ext <<_ACEOF
19825 #line $LINENO "configure"
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #include <sys/time.h>
19834 #include <sys/ppsclock.h>
19835 #include <linux/serial.h>
19839 #ifdef ASYNC_PPS_CD_POS
19840 #ifdef ASYNC_PPS_CD_NEG
19850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19851 $EGREP "yes" >/dev/null 2>&1; then
19861 if test "$ntp_ok" = "yes"; then
19863 cat >>confdefs.h <<\_ACEOF
19864 #define HAVE_TIO_SERIAL_STUFF 1
19868 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19869 echo "${ECHO_T}$ntp_ok" >&6
19871 # Check for SHMEM_STATUS support
19872 echo "$as_me:$LINENO: checking SHMEM_STATUS support" >&5
19873 echo $ECHO_N "checking SHMEM_STATUS support... $ECHO_C" >&6
19874 case "$ac_cv_header_sys_mman_h" in
19878 if test "$ntp_ok" = "yes"; then
19880 cat >>confdefs.h <<\_ACEOF
19881 #define ONCORE_SHMEM_STATUS 1
19885 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19886 echo "${ECHO_T}$ntp_ok" >&6
19891 # HPUX only, and by explicit request
19892 echo "$as_me:$LINENO: checking Datum/Bancomm bc635/VME interface" >&5
19893 echo $ECHO_N "checking Datum/Bancomm bc635/VME interface... $ECHO_C" >&6
19894 # Check whether --enable-BANCOMM or --disable-BANCOMM was given.
19895 if test "${enable_BANCOMM+set}" = set; then
19896 enableval="$enable_BANCOMM"
19901 if test "$ntp_ok" = "yes"; then
19904 cat >>confdefs.h <<\_ACEOF
19905 #define CLOCK_BANC 1
19909 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19910 echo "${ECHO_T}$ntp_ok" >&6
19911 case "$ntp_ok$host" in
19913 yes*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
19914 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
19917 #HPUX only, and only by explicit request
19918 echo "$as_me:$LINENO: checking TrueTime GPS receiver/VME interface" >&5
19919 echo $ECHO_N "checking TrueTime GPS receiver/VME interface... $ECHO_C" >&6
19920 # Check whether --enable-GPSVME or --disable-GPSVME was given.
19921 if test "${enable_GPSVME+set}" = set; then
19922 enableval="$enable_GPSVME"
19927 if test "$ntp_ok" = "yes"; then
19930 cat >>confdefs.h <<\_ACEOF
19931 #define CLOCK_GPSVME 1
19935 echo "$as_me:$LINENO: result: $ntp_ok" >&5
19936 echo "${ECHO_T}$ntp_ok" >&6
19937 case "$ntp_ok$host" in
19939 yes*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
19940 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
19943 echo "$as_me:$LINENO: checking for PCL720 clock support" >&5
19944 echo $ECHO_N "checking for PCL720 clock support... $ECHO_C" >&6
19945 case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in
19948 cat >>confdefs.h <<\_ACEOF
19949 #define CLOCK_PPS720 1
19958 echo "$as_me:$LINENO: result: $ans" >&5
19959 echo "${ECHO_T}$ans" >&6
19961 echo "$as_me:$LINENO: checking for default inclusion of all suitable non-PARSE clocks" >&5
19962 echo $ECHO_N "checking for default inclusion of all suitable non-PARSE clocks... $ECHO_C" >&6
19963 # Check whether --enable-all-clocks or --disable-all-clocks was given.
19964 if test "${enable_all_clocks+set}" = set; then
19965 enableval="$enable_all_clocks"
19970 echo "$as_me:$LINENO: result: $ntp_eac" >&5
19971 echo "${ECHO_T}$ntp_eac" >&6
19973 echo "$as_me:$LINENO: checking if we have support for PARSE clocks" >&5
19974 echo $ECHO_N "checking if we have support for PARSE clocks... $ECHO_C" >&6
19975 case "$ac_cv_var_atom_ok$ac_cv_header_termio_h$ac_cv_header_termios_h" in
19982 echo "$as_me:$LINENO: result: $ntp_canparse" >&5
19983 echo "${ECHO_T}$ntp_canparse" >&6
19985 echo "$as_me:$LINENO: checking if we have support for audio clocks" >&5
19986 echo $ECHO_N "checking if we have support for audio clocks... $ECHO_C" >&6
19987 case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
19991 cat >>confdefs.h <<\_ACEOF
19996 *) ntp_canaudio=no ;;
19998 echo "$as_me:$LINENO: result: $ntp_canaudio" >&5
19999 echo "${ECHO_T}$ntp_canaudio" >&6
20001 echo "$as_me:$LINENO: checking if we have support for the SHM refclock interface" >&5
20002 echo $ECHO_N "checking if we have support for the SHM refclock interface... $ECHO_C" >&6
20003 case "$ac_cv_header_sys_ipc_h$ac_cv_header_sys_shm_h" in
20007 *) ntp_canshm=no ;;
20009 echo "$as_me:$LINENO: result: $ntp_canshm" >&5
20010 echo "${ECHO_T}$ntp_canshm" >&6
20012 # Requires modem control
20013 echo "$as_me:$LINENO: checking ACTS modem service" >&5
20014 echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6
20015 # Check whether --enable-ACTS or --disable-ACTS was given.
20016 if test "${enable_ACTS+set}" = set; then
20017 enableval="$enable_ACTS"
20020 cat >conftest.$ac_ext <<_ACEOF
20021 #line $LINENO "configure"
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 #include <termios.h>
20028 #ifdef HAVE_SYS_IOCTL_H
20029 #include <sys/ioctl.h>
20036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20037 $EGREP "yes" >/dev/null 2>&1; then
20045 if test "$ntp_ok" = "yes"; then
20048 cat >>confdefs.h <<\_ACEOF
20049 #define CLOCK_ACTS 1
20053 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20054 echo "${ECHO_T}$ntp_ok" >&6
20056 echo "$as_me:$LINENO: checking Arbiter 1088A/B GPS receiver" >&5
20057 echo $ECHO_N "checking Arbiter 1088A/B GPS receiver... $ECHO_C" >&6
20058 # Check whether --enable-ARBITER or --disable-ARBITER was given.
20059 if test "${enable_ARBITER+set}" = set; then
20060 enableval="$enable_ARBITER"
20065 if test "$ntp_ok" = "yes"; then
20068 cat >>confdefs.h <<\_ACEOF
20069 #define CLOCK_ARBITER 1
20073 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20074 echo "${ECHO_T}$ntp_ok" >&6
20076 echo "$as_me:$LINENO: checking Arcron MSF receiver" >&5
20077 echo $ECHO_N "checking Arcron MSF receiver... $ECHO_C" >&6
20078 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given.
20079 if test "${enable_ARCRON_MSF+set}" = set; then
20080 enableval="$enable_ARCRON_MSF"
20085 if test "$ntp_ok" = "yes"; then
20088 cat >>confdefs.h <<\_ACEOF
20089 #define CLOCK_ARCRON_MSF 1
20093 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20094 echo "${ECHO_T}$ntp_ok" >&6
20096 echo "$as_me:$LINENO: checking Austron 2200A/2201A GPS receiver" >&5
20097 echo $ECHO_N "checking Austron 2200A/2201A GPS receiver... $ECHO_C" >&6
20098 # Check whether --enable-AS2201 or --disable-AS2201 was given.
20099 if test "${enable_AS2201+set}" = set; then
20100 enableval="$enable_AS2201"
20105 if test "$ntp_ok" = "yes"; then
20108 cat >>confdefs.h <<\_ACEOF
20109 #define CLOCK_AS2201 1
20113 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20114 echo "${ECHO_T}$ntp_ok" >&6
20116 echo "$as_me:$LINENO: checking ATOM PPS interface" >&5
20117 echo $ECHO_N "checking ATOM PPS interface... $ECHO_C" >&6
20118 # Check whether --enable-ATOM or --disable-ATOM was given.
20119 if test "${enable_ATOM+set}" = set; then
20120 enableval="$enable_ATOM"
20125 case "$ac_cv_var_atom_ok" in
20128 if test "$ntp_ok" = "yes"; then
20131 cat >>confdefs.h <<\_ACEOF
20132 #define CLOCK_ATOM 1
20136 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20137 echo "${ECHO_T}$ntp_ok" >&6
20139 echo "$as_me:$LINENO: checking Chrono-log K-series WWVB receiver" >&5
20140 echo $ECHO_N "checking Chrono-log K-series WWVB receiver... $ECHO_C" >&6
20141 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given.
20142 if test "${enable_CHRONOLOG+set}" = set; then
20143 enableval="$enable_CHRONOLOG"
20148 if test "$ntp_ok" = "yes"; then
20151 cat >>confdefs.h <<\_ACEOF
20152 #define CLOCK_CHRONOLOG 1
20156 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20157 echo "${ECHO_T}$ntp_ok" >&6
20159 echo "$as_me:$LINENO: checking CHU modem/decoder" >&5
20160 echo $ECHO_N "checking CHU modem/decoder... $ECHO_C" >&6
20161 # Check whether --enable-CHU or --disable-CHU was given.
20162 if test "${enable_CHU+set}" = set; then
20163 enableval="$enable_CHU"
20168 if test "$ntp_ok" = "yes"; then
20171 cat >>confdefs.h <<\_ACEOF
20172 #define CLOCK_CHU 1
20176 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20177 echo "${ECHO_T}$ntp_ok" >&6
20178 ac_refclock_chu=$ntp_ok
20180 echo "$as_me:$LINENO: checking CHU audio/decoder" >&5
20181 echo $ECHO_N "checking CHU audio/decoder... $ECHO_C" >&6
20182 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given.
20183 if test "${enable_AUDIO_CHU+set}" = set; then
20184 enableval="$enable_AUDIO_CHU"
20187 case "$ntp_eac$ac_refclock_chu$ntp_canaudio" in
20192 if test "$ntp_ok" = "yes"; then
20194 cat >>confdefs.h <<\_ACEOF
20195 #define AUDIO_CHU 1
20199 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20200 echo "${ECHO_T}$ntp_ok" >&6
20201 # We used to check for sunos/solaris target...
20202 case "$ntp_ok$ac_refclock_chu$ntp_canaudio" in
20203 yes*no*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is...no ***" >&5
20204 echo "$as_me: WARNING: *** But the expected answer is...no ***" >&2;} ;;
20208 echo "$as_me:$LINENO: checking Datum Programmable Time System" >&5
20209 echo $ECHO_N "checking Datum Programmable Time System... $ECHO_C" >&6
20210 # Check whether --enable-DATUM or --disable-DATUM was given.
20211 if test "${enable_DATUM+set}" = set; then
20212 enableval="$enable_DATUM"
20215 case "$ac_cv_header_termios_h" in
20223 if test "$ntp_ok" = "yes"; then
20226 cat >>confdefs.h <<\_ACEOF
20227 #define CLOCK_DATUM 1
20231 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20232 echo "${ECHO_T}$ntp_ok" >&6
20234 echo "$as_me:$LINENO: checking Dumb generic hh:mm:ss local clock" >&5
20235 echo $ECHO_N "checking Dumb generic hh:mm:ss local clock... $ECHO_C" >&6
20236 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given.
20237 if test "${enable_DUMBCLOCK+set}" = set; then
20238 enableval="$enable_DUMBCLOCK"
20243 if test "$ntp_ok" = "yes"; then
20246 cat >>confdefs.h <<\_ACEOF
20247 #define CLOCK_DUMBCLOCK 1
20251 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20252 echo "${ECHO_T}$ntp_ok" >&6
20254 echo "$as_me:$LINENO: checking Forum Graphic GPS" >&5
20255 echo $ECHO_N "checking Forum Graphic GPS... $ECHO_C" >&6
20256 # Check whether --enable-FG or --disable-FG was given.
20257 if test "${enable_FG+set}" = set; then
20258 enableval="$enable_FG"
20263 if test "$ntp_ok" = "yes"; then
20266 cat >>confdefs.h <<\_ACEOF
20271 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20272 echo "${ECHO_T}$ntp_ok" >&6
20274 # Requires modem control
20275 echo "$as_me:$LINENO: checking Heath GC-1000 WWV/WWVH receiver" >&5
20276 echo $ECHO_N "checking Heath GC-1000 WWV/WWVH receiver... $ECHO_C" >&6
20277 # Check whether --enable-HEATH or --disable-HEATH was given.
20278 if test "${enable_HEATH+set}" = set; then
20279 enableval="$enable_HEATH"
20282 cat >conftest.$ac_ext <<_ACEOF
20283 #line $LINENO "configure"
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #include <termios.h>
20290 #ifdef HAVE_SYS_IOCTL_H
20291 #include <sys/ioctl.h>
20298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20299 $EGREP "yes" >/dev/null 2>&1; then
20307 if test "$ntp_ok" = "yes"; then
20310 cat >>confdefs.h <<\_ACEOF
20311 #define CLOCK_HEATH 1
20315 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20316 echo "${ECHO_T}$ntp_ok" >&6
20318 echo "$as_me:$LINENO: checking for hopf serial clock device" >&5
20319 echo $ECHO_N "checking for hopf serial clock device... $ECHO_C" >&6
20320 # Check whether --enable-HOPFSERIAL or --disable-HOPFSERIAL was given.
20321 if test "${enable_HOPFSERIAL+set}" = set; then
20322 enableval="$enable_HOPFSERIAL"
20327 if test "$ntp_ok" = "yes"; then
20330 cat >>confdefs.h <<\_ACEOF
20331 #define CLOCK_HOPF_SERIAL 1
20335 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20336 echo "${ECHO_T}$ntp_ok" >&6
20338 echo "$as_me:$LINENO: checking for hopf PCI clock 6039" >&5
20339 echo $ECHO_N "checking for hopf PCI clock 6039... $ECHO_C" >&6
20340 # Check whether --enable-HOPFPCI or --disable-HOPFPCI was given.
20341 if test "${enable_HOPFPCI+set}" = set; then
20342 enableval="$enable_HOPFPCI"
20347 if test "$ntp_ok" = "yes"; then
20350 cat >>confdefs.h <<\_ACEOF
20351 #define CLOCK_HOPF_PCI 1
20355 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20356 echo "${ECHO_T}$ntp_ok" >&6
20358 echo "$as_me:$LINENO: checking HP 58503A GPS receiver" >&5
20359 echo $ECHO_N "checking HP 58503A GPS receiver... $ECHO_C" >&6
20360 # Check whether --enable-HPGPS or --disable-HPGPS was given.
20361 if test "${enable_HPGPS+set}" = set; then
20362 enableval="$enable_HPGPS"
20367 if test "$ntp_ok" = "yes"; then
20370 cat >>confdefs.h <<\_ACEOF
20371 #define CLOCK_HPGPS 1
20375 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20376 echo "${ECHO_T}$ntp_ok" >&6
20378 echo "$as_me:$LINENO: checking IRIG audio decoder" >&5
20379 echo $ECHO_N "checking IRIG audio decoder... $ECHO_C" >&6
20380 # Check whether --enable-IRIG or --disable-IRIG was given.
20381 if test "${enable_IRIG+set}" = set; then
20382 enableval="$enable_IRIG"
20385 case "$ntp_eac$ntp_canaudio" in
20390 if test "$ntp_ok" = "yes"; then
20393 cat >>confdefs.h <<\_ACEOF
20394 #define CLOCK_IRIG 1
20398 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20399 echo "${ECHO_T}$ntp_ok" >&6
20400 case "$ntp_ok$ntp_canaudio" in
20401 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
20402 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
20405 echo "$as_me:$LINENO: checking for JJY receiver" >&5
20406 echo $ECHO_N "checking for JJY receiver... $ECHO_C" >&6
20407 # Check whether --enable-JJY or --disable-JJY was given.
20408 if test "${enable_JJY+set}" = set; then
20409 enableval="$enable_JJY"
20414 if test "$ntp_ok" = "yes"; then
20417 cat >>confdefs.h <<\_ACEOF
20418 #define CLOCK_JJY 1
20422 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20423 echo "${ECHO_T}$ntp_ok" >&6
20425 echo "$as_me:$LINENO: checking Rockwell Jupiter GPS receiver" >&5
20426 echo $ECHO_N "checking Rockwell Jupiter GPS receiver... $ECHO_C" >&6
20427 # Check whether --enable-JUPITER or --disable-JUPITER was given.
20428 if test "${enable_JUPITER+set}" = set; then
20429 enableval="$enable_JUPITER"
20434 case "$ac_cv_var_jupiter_ok" in
20437 if test "$ntp_ok" = "yes"; then
20440 cat >>confdefs.h <<\_ACEOF
20441 #define CLOCK_JUPITER 1
20445 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20446 echo "${ECHO_T}$ntp_ok" >&6
20448 echo "$as_me:$LINENO: checking Leitch CSD 5300 Master Clock System Driver" >&5
20449 echo $ECHO_N "checking Leitch CSD 5300 Master Clock System Driver... $ECHO_C" >&6
20450 # Check whether --enable-LEITCH or --disable-LEITCH was given.
20451 if test "${enable_LEITCH+set}" = set; then
20452 enableval="$enable_LEITCH"
20457 if test "$ntp_ok" = "yes"; then
20460 cat >>confdefs.h <<\_ACEOF
20461 #define CLOCK_LEITCH 1
20465 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20466 echo "${ECHO_T}$ntp_ok" >&6
20468 echo "$as_me:$LINENO: checking local clock reference" >&5
20469 echo $ECHO_N "checking local clock reference... $ECHO_C" >&6
20470 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given.
20471 if test "${enable_LOCAL_CLOCK+set}" = set; then
20472 enableval="$enable_LOCAL_CLOCK"
20477 if test "$ntp_ok" = "yes"; then
20480 cat >>confdefs.h <<\_ACEOF
20481 #define CLOCK_LOCAL 1
20485 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20486 echo "${ECHO_T}$ntp_ok" >&6
20488 echo "$as_me:$LINENO: checking EES M201 MSF receiver" >&5
20489 echo $ECHO_N "checking EES M201 MSF receiver... $ECHO_C" >&6
20490 # Check whether --enable-MSFEES or --disable-MSFEES was given.
20491 if test "${enable_MSFEES+set}" = set; then
20492 enableval="$enable_MSFEES"
20497 if test "$ntp_ok" = "yes"; then
20500 cat >>confdefs.h <<\_ACEOF
20501 #define CLOCK_MSFEES 1
20505 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20506 echo "${ECHO_T}$ntp_ok" >&6
20509 echo "$as_me:$LINENO: checking Magnavox MX4200 GPS receiver" >&5
20510 echo $ECHO_N "checking Magnavox MX4200 GPS receiver... $ECHO_C" >&6
20511 # Check whether --enable-MX4200 or --disable-MX4200 was given.
20512 if test "${enable_MX4200+set}" = set; then
20513 enableval="$enable_MX4200"
20516 case "$ac_cv_var_ppsclock" in
20517 yes) ntp_ok=$ntp_eac
20523 if test "$ntp_ok" = "yes"; then
20526 cat >>confdefs.h <<\_ACEOF
20527 #define CLOCK_MX4200 1
20531 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20532 echo "${ECHO_T}$ntp_ok" >&6
20533 case "$ntp_ok$host" in
20534 yes*-*-ultrix*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
20535 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
20538 echo "$as_me:$LINENO: checking for NeoClock4X receiver" >&5
20539 echo $ECHO_N "checking for NeoClock4X receiver... $ECHO_C" >&6
20540 # Check whether --enable-NEOCLOCK4X or --disable-NEOCLOCK4X was given.
20541 if test "${enable_NEOCLOCK4X+set}" = set; then
20542 enableval="$enable_NEOCLOCK4X"
20547 if test "$ntp_ok" = "yes"; then
20550 cat >>confdefs.h <<\_ACEOF
20551 #define CLOCK_NEOCLOCK4X 1
20555 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20556 echo "${ECHO_T}$ntp_ok" >&6
20558 echo "$as_me:$LINENO: checking NMEA GPS receiver" >&5
20559 echo $ECHO_N "checking NMEA GPS receiver... $ECHO_C" >&6
20560 # Check whether --enable-NMEA or --disable-NMEA was given.
20561 if test "${enable_NMEA+set}" = set; then
20562 enableval="$enable_NMEA"
20567 if test "$ntp_ok" = "yes"; then
20570 cat >>confdefs.h <<\_ACEOF
20571 #define CLOCK_NMEA 1
20575 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20576 echo "${ECHO_T}$ntp_ok" >&6
20578 echo "$as_me:$LINENO: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
20579 echo $ECHO_N "checking for ONCORE Motorola VP/UT Oncore GPS... $ECHO_C" >&6
20580 # Check whether --enable-ONCORE or --disable-ONCORE was given.
20581 if test "${enable_ONCORE+set}" = set; then
20582 enableval="$enable_ONCORE"
20587 case "$ac_cv_var_oncore_ok" in
20590 if test "$ntp_ok" = "yes"; then
20593 cat >>confdefs.h <<\_ACEOF
20594 #define CLOCK_ONCORE 1
20598 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20599 echo "${ECHO_T}$ntp_ok" >&6
20601 echo "$as_me:$LINENO: checking for Palisade clock" >&5
20602 echo $ECHO_N "checking for Palisade clock... $ECHO_C" >&6
20603 # Check whether --enable-PALISADE or --disable-PALISADE was given.
20604 if test "${enable_PALISADE+set}" = set; then
20605 enableval="$enable_PALISADE"
20608 case "$ac_cv_header_termios_h" in
20617 if test "$ntp_ok" = "yes"; then
20620 cat >>confdefs.h <<\_ACEOF
20621 #define CLOCK_PALISADE 1
20625 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20626 echo "${ECHO_T}$ntp_ok" >&6
20628 echo "$as_me:$LINENO: checking Conrad parallel port radio clock" >&5
20629 echo $ECHO_N "checking Conrad parallel port radio clock... $ECHO_C" >&6
20630 # Check whether --enable-PCF or --disable-PCF was given.
20631 if test "${enable_PCF+set}" = set; then
20632 enableval="$enable_PCF"
20637 if test "$ntp_ok" = "yes"; then
20640 cat >>confdefs.h <<\_ACEOF
20641 #define CLOCK_PCF 1
20645 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20646 echo "${ECHO_T}$ntp_ok" >&6
20648 echo "$as_me:$LINENO: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
20649 echo $ECHO_N "checking PST/Traconex 1020 WWV/WWVH receiver... $ECHO_C" >&6
20650 # Check whether --enable-PST or --disable-PST was given.
20651 if test "${enable_PST+set}" = set; then
20652 enableval="$enable_PST"
20657 if test "$ntp_ok" = "yes"; then
20660 cat >>confdefs.h <<\_ACEOF
20661 #define CLOCK_PST 1
20665 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20666 echo "${ECHO_T}$ntp_ok" >&6
20668 # Requires modem control
20669 echo "$as_me:$LINENO: checking PTB modem service" >&5
20670 echo $ECHO_N "checking PTB modem service... $ECHO_C" >&6
20671 # Check whether --enable-PTBACTS or --disable-PTBACTS was given.
20672 if test "${enable_PTBACTS+set}" = set; then
20673 enableval="$enable_PTBACTS"
20676 cat >conftest.$ac_ext <<_ACEOF
20677 #line $LINENO "configure"
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 #include <termios.h>
20684 #ifdef HAVE_SYS_IOCTL_H
20685 #include <sys/ioctl.h>
20692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20693 $EGREP "yes" >/dev/null 2>&1; then
20701 if test "$ntp_ok" = "yes"; then
20704 cat >>confdefs.h <<\_ACEOF
20705 #define CLOCK_PTBACTS 1
20709 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20710 echo "${ECHO_T}$ntp_ok" >&6
20712 echo "$as_me:$LINENO: checking RIPENCC specific Trimble driver" >&5
20713 echo $ECHO_N "checking RIPENCC specific Trimble driver... $ECHO_C" >&6
20714 # Check whether --enable-RIPENCC or --disable-RIPENCC was given.
20715 if test "${enable_RIPENCC+set}" = set; then
20716 enableval="$enable_RIPENCC"
20721 # 020629: HMS: s/$ntp_eac -> -/no because of ptr += sprintf(ptr, ...) usage
20722 case "$ac_cv_var_ripe_ncc_ok" in
20725 if test "$ntp_ok" = "yes"; then
20728 cat >>confdefs.h <<\_ACEOF
20729 #define CLOCK_RIPENCC
20733 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20734 echo "${ECHO_T}$ntp_ok" >&6
20736 # Danny Meyer says SHM compiles (with a few warnings) under Win32.
20737 # For *IX, we need sys/ipc.h and sys/shm.h.
20738 echo "$as_me:$LINENO: checking for SHM clock attached thru shared memory" >&5
20739 echo $ECHO_N "checking for SHM clock attached thru shared memory... $ECHO_C" >&6
20740 # Check whether --enable-SHM or --disable-SHM was given.
20741 if test "${enable_SHM+set}" = set; then
20742 enableval="$enable_SHM"
20745 case "$ntp_eac$ntp_canshm" in
20750 if test "$ntp_ok" = "yes"; then
20753 cat >>confdefs.h <<\_ACEOF
20754 #define CLOCK_SHM 1
20758 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20759 echo "${ECHO_T}$ntp_ok" >&6
20761 echo "$as_me:$LINENO: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
20762 echo $ECHO_N "checking Spectracom 8170/Netclock/2 WWVB receiver... $ECHO_C" >&6
20763 # Check whether --enable-SPECTRACOM or --disable-SPECTRACOM was given.
20764 if test "${enable_SPECTRACOM+set}" = set; then
20765 enableval="$enable_SPECTRACOM"
20770 if test "$ntp_ok" = "yes"; then
20773 cat >>confdefs.h <<\_ACEOF
20774 #define CLOCK_SPECTRACOM 1
20778 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20779 echo "${ECHO_T}$ntp_ok" >&6
20781 echo "$as_me:$LINENO: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
20782 echo $ECHO_N "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ECHO_C" >&6
20783 # Check whether --enable-TPRO or --disable-TPRO was given.
20784 if test "${enable_TPRO+set}" = set; then
20785 enableval="$enable_TPRO"
20788 case "$ac_cv_header_sys_tpro_h" in
20796 if test "$ntp_ok" = "yes"; then
20799 cat >>confdefs.h <<\_ACEOF
20800 #define CLOCK_TPRO 1
20804 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20805 echo "${ECHO_T}$ntp_ok" >&6
20806 case "$ntp_ok$ac_cv_header_sys_tpro" in
20807 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
20808 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
20811 echo "$as_me:$LINENO: checking TRAK 8810 GPS receiver" >&5
20812 echo $ECHO_N "checking TRAK 8810 GPS receiver... $ECHO_C" >&6
20813 # Check whether --enable-TRAK or --disable-TRAK was given.
20814 if test "${enable_TRAK+set}" = set; then
20815 enableval="$enable_TRAK"
20820 if test "$ntp_ok" = "yes"; then
20823 cat >>confdefs.h <<\_ACEOF
20824 #define CLOCK_TRAK 1
20828 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20829 echo "${ECHO_T}$ntp_ok" >&6
20831 # Not on a vax-dec-bsd
20832 echo "$as_me:$LINENO: checking Kinemetrics/TrueTime receivers" >&5
20833 echo $ECHO_N "checking Kinemetrics/TrueTime receivers... $ECHO_C" >&6
20834 # Check whether --enable-TRUETIME or --disable-TRUETIME was given.
20835 if test "${enable_TRUETIME+set}" = set; then
20836 enableval="$enable_TRUETIME"
20848 if test "$ntp_ok" = "yes"; then
20851 cat >>confdefs.h <<\_ACEOF
20852 #define CLOCK_TRUETIME 1
20856 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20857 echo "${ECHO_T}$ntp_ok" >&6
20858 case "$ntp_ok$host" in
20859 yesvax-dec-bsd) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
20860 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
20863 echo "$as_me:$LINENO: checking TrueTime 560 IRIG-B decoder" >&5
20864 echo $ECHO_N "checking TrueTime 560 IRIG-B decoder... $ECHO_C" >&6
20865 # Check whether --enable-TT560 or --disable-TT560 was given.
20866 if test "${enable_TT560+set}" = set; then
20867 enableval="$enable_TT560"
20872 if test "$ntp_ok" = "yes"; then
20875 cat >>confdefs.h <<\_ACEOF
20876 #define CLOCK_TT560
20880 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20881 echo "${ECHO_T}$ntp_ok" >&6
20883 echo "$as_me:$LINENO: checking Ultralink M320 WWVB receiver" >&5
20884 echo $ECHO_N "checking Ultralink M320 WWVB receiver... $ECHO_C" >&6
20885 # Check whether --enable-ULINK or --disable-ULINK was given.
20886 if test "${enable_ULINK+set}" = set; then
20887 enableval="$enable_ULINK"
20892 if test "$ntp_ok" = "yes"; then
20895 cat >>confdefs.h <<\_ACEOF
20896 #define CLOCK_ULINK 1
20900 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20901 echo "${ECHO_T}$ntp_ok" >&6
20903 # Requires modem control
20904 echo "$as_me:$LINENO: checking USNO modem service" >&5
20905 echo $ECHO_N "checking USNO modem service... $ECHO_C" >&6
20906 # Check whether --enable-USNO or --disable-USNO was given.
20907 if test "${enable_USNO+set}" = set; then
20908 enableval="$enable_USNO"
20911 cat >conftest.$ac_ext <<_ACEOF
20912 #line $LINENO "configure"
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 #include <termios.h>
20919 #ifdef HAVE_SYS_IOCTL_H
20920 #include <sys/ioctl.h>
20927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20928 $EGREP "yes" >/dev/null 2>&1; then
20936 if test "$ntp_ok" = "yes"; then
20939 cat >>confdefs.h <<\_ACEOF
20940 #define CLOCK_USNO 1
20944 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20945 echo "${ECHO_T}$ntp_ok" >&6
20947 echo "$as_me:$LINENO: checking WWV receiver" >&5
20948 echo $ECHO_N "checking WWV receiver... $ECHO_C" >&6
20949 # Check whether --enable-WWV or --disable-WWV was given.
20950 if test "${enable_WWV+set}" = set; then
20951 enableval="$enable_WWV"
20954 case "$ntp_eac$ntp_canaudio" in
20959 if test "$ntp_ok" = "yes"; then
20962 cat >>confdefs.h <<\_ACEOF
20963 #define CLOCK_WWV 1
20967 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20968 echo "${ECHO_T}$ntp_ok" >&6
20969 case "$ntp_ok$ntp_canaudio" in
20970 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
20971 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
20974 echo "$as_me:$LINENO: checking for Zyfer receiver" >&5
20975 echo $ECHO_N "checking for Zyfer receiver... $ECHO_C" >&6
20976 # Check whether --enable-ZYFER or --disable-ZYFER was given.
20977 if test "${enable_ZYFER+set}" = set; then
20978 enableval="$enable_ZYFER"
20983 if test "$ntp_ok" = "yes"; then
20986 cat >>confdefs.h <<\_ACEOF
20987 #define CLOCK_ZYFER 1
20991 echo "$as_me:$LINENO: result: $ntp_ok" >&5
20992 echo "${ECHO_T}$ntp_ok" >&6
20994 echo "$as_me:$LINENO: checking for default inclusion of all suitable PARSE clocks" >&5
20995 echo $ECHO_N "checking for default inclusion of all suitable PARSE clocks... $ECHO_C" >&6
20996 # Check whether --enable-parse-clocks or --disable-parse-clocks was given.
20997 if test "${enable_parse_clocks+set}" = set; then
20998 enableval="$enable_parse_clocks"
20999 ntp_eapc=$enableval
21002 yes) ntp_eapc=$ntp_canparse ;;
21007 echo "$as_me:$LINENO: result: $ntp_eapc" >&5
21008 echo "${ECHO_T}$ntp_eapc" >&6
21010 case "$ntp_eac$ntp_eapc$ntp_canparse" in
21012 { { echo "$as_me:$LINENO: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&5
21013 echo "$as_me: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&2;}
21014 { (exit 1); exit 1; }; }
21017 { { echo "$as_me:$LINENO: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&5
21018 echo "$as_me: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&2;}
21019 { (exit 1); exit 1; }; }
21028 echo "$as_me:$LINENO: checking Diem Computime Radio Clock" >&5
21029 echo $ECHO_N "checking Diem Computime Radio Clock... $ECHO_C" >&6
21030 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given.
21031 if test "${enable_COMPUTIME+set}" = set; then
21032 enableval="$enable_COMPUTIME"
21037 if test "$ntp_ok" = "yes"; then
21041 cat >>confdefs.h <<\_ACEOF
21042 #define CLOCK_COMPUTIME 1
21046 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21047 echo "${ECHO_T}$ntp_ok" >&6
21048 case "$ntp_ok$ntp_canparse" in
21050 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21051 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21052 { (exit 1); exit 1; }; }
21056 echo "$as_me:$LINENO: checking ELV/DCF7000 clock" >&5
21057 echo $ECHO_N "checking ELV/DCF7000 clock... $ECHO_C" >&6
21058 # Check whether --enable-DCF7000 or --disable-DCF7000 was given.
21059 if test "${enable_DCF7000+set}" = set; then
21060 enableval="$enable_DCF7000"
21065 if test "$ntp_ok" = "yes"; then
21069 cat >>confdefs.h <<\_ACEOF
21070 #define CLOCK_DCF7000 1
21074 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21075 echo "${ECHO_T}$ntp_ok" >&6
21076 case "$ntp_ok$ntp_canparse" in
21078 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21079 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21080 { (exit 1); exit 1; }; }
21084 echo "$as_me:$LINENO: checking HOPF 6021 clock" >&5
21085 echo $ECHO_N "checking HOPF 6021 clock... $ECHO_C" >&6
21086 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given.
21087 if test "${enable_HOPF6021+set}" = set; then
21088 enableval="$enable_HOPF6021"
21093 if test "$ntp_ok" = "yes"; then
21097 cat >>confdefs.h <<\_ACEOF
21098 #define CLOCK_HOPF6021 1
21102 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21103 echo "${ECHO_T}$ntp_ok" >&6
21104 case "$ntp_ok$ntp_canparse" in
21106 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21107 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21108 { (exit 1); exit 1; }; }
21112 echo "$as_me:$LINENO: checking Meinberg clocks" >&5
21113 echo $ECHO_N "checking Meinberg clocks... $ECHO_C" >&6
21114 # Check whether --enable-MEINBERG or --disable-MEINBERG was given.
21115 if test "${enable_MEINBERG+set}" = set; then
21116 enableval="$enable_MEINBERG"
21121 if test "$ntp_ok" = "yes"; then
21125 cat >>confdefs.h <<\_ACEOF
21126 #define CLOCK_MEINBERG 1
21130 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21131 echo "${ECHO_T}$ntp_ok" >&6
21132 case "$ntp_ok$ntp_canparse" in
21134 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21135 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21136 { (exit 1); exit 1; }; }
21140 echo "$as_me:$LINENO: checking DCF77 raw time code" >&5
21141 echo $ECHO_N "checking DCF77 raw time code... $ECHO_C" >&6
21142 # Check whether --enable-RAWDCF or --disable-RAWDCF was given.
21143 if test "${enable_RAWDCF+set}" = set; then
21144 enableval="$enable_RAWDCF"
21149 if test "$ntp_ok" = "yes"; then
21155 cat >>confdefs.h <<\_ACEOF
21156 #define CLOCK_RAWDCF 1
21160 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21161 echo "${ECHO_T}$ntp_ok" >&6
21162 case "$ntp_ok$ntp_canparse" in
21164 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21165 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21166 { (exit 1); exit 1; }; }
21170 case "$ntp_rawdcf" in
21172 echo "$as_me:$LINENO: checking if we must enable parity for RAWDCF" >&5
21173 echo $ECHO_N "checking if we must enable parity for RAWDCF... $ECHO_C" >&6
21174 if test "${ac_cv_var_rawdcf_parity+set}" = set; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21183 ac_cv_var_rawdcf_parity=$ans
21185 echo "$as_me:$LINENO: result: $ac_cv_var_rawdcf_parity" >&5
21186 echo "${ECHO_T}$ac_cv_var_rawdcf_parity" >&6
21187 case "$ac_cv_var_rawdcf_parity" in
21189 cat >>confdefs.h <<\_ACEOF
21190 #define RAWDCF_NO_IGNPAR 1
21196 *) # HMS: Is this a good idea?
21197 ac_cv_var_rawdcf_parity=no
21201 echo "$as_me:$LINENO: checking RCC 8000 clock" >&5
21202 echo $ECHO_N "checking RCC 8000 clock... $ECHO_C" >&6
21203 # Check whether --enable-RCC8000 or --disable-RCC8000 was given.
21204 if test "${enable_RCC8000+set}" = set; then
21205 enableval="$enable_RCC8000"
21210 if test "$ntp_ok" = "yes"; then
21214 cat >>confdefs.h <<\_ACEOF
21215 #define CLOCK_RCC8000 1
21219 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21220 echo "${ECHO_T}$ntp_ok" >&6
21221 case "$ntp_ok$ntp_canparse" in
21223 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21224 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21225 { (exit 1); exit 1; }; }
21229 echo "$as_me:$LINENO: checking Schmid DCF77 clock" >&5
21230 echo $ECHO_N "checking Schmid DCF77 clock... $ECHO_C" >&6
21231 # Check whether --enable-SCHMID or --disable-SCHMID was given.
21232 if test "${enable_SCHMID+set}" = set; then
21233 enableval="$enable_SCHMID"
21238 if test "$ntp_ok" = "yes"; then
21242 cat >>confdefs.h <<\_ACEOF
21243 #define CLOCK_SCHMID 1
21247 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21248 echo "${ECHO_T}$ntp_ok" >&6
21249 case "$ntp_ok$ntp_canparse" in
21251 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21252 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21253 { (exit 1); exit 1; }; }
21257 echo "$as_me:$LINENO: checking Trimble GPS receiver/TAIP protocol" >&5
21258 echo $ECHO_N "checking Trimble GPS receiver/TAIP protocol... $ECHO_C" >&6
21259 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given.
21260 if test "${enable_TRIMTAIP+set}" = set; then
21261 enableval="$enable_TRIMTAIP"
21266 if test "$ntp_ok" = "yes"; then
21270 cat >>confdefs.h <<\_ACEOF
21271 #define CLOCK_TRIMTAIP 1
21275 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21276 echo "${ECHO_T}$ntp_ok" >&6
21277 case "$ntp_ok$ntp_canparse" in
21279 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21280 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21281 { (exit 1); exit 1; }; }
21285 echo "$as_me:$LINENO: checking Trimble GPS receiver/TSIP protocol" >&5
21286 echo $ECHO_N "checking Trimble GPS receiver/TSIP protocol... $ECHO_C" >&6
21287 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given.
21288 if test "${enable_TRIMTSIP+set}" = set; then
21289 enableval="$enable_TRIMTSIP"
21294 if test "$ntp_ok" = "yes"; then
21298 cat >>confdefs.h <<\_ACEOF
21299 #define CLOCK_TRIMTSIP 1
21303 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21304 echo "${ECHO_T}$ntp_ok" >&6
21305 case "$ntp_ok$ntp_canparse" in
21307 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21308 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21309 { (exit 1); exit 1; }; }
21313 echo "$as_me:$LINENO: checking WHARTON 400A Series clock" >&5
21314 echo $ECHO_N "checking WHARTON 400A Series clock... $ECHO_C" >&6
21315 # Check whether --enable-WHARTON or --disable-WHARTON was given.
21316 if test "${enable_WHARTON+set}" = set; then
21317 enableval="$enable_WHARTON"
21322 if test "$ntp_ok" = "yes"; then
21326 cat >>confdefs.h <<\_ACEOF
21327 #define CLOCK_WHARTON_400A 1
21331 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21332 echo "${ECHO_T}$ntp_ok" >&6
21333 case "$ntp_ok$ntp_canparse" in
21335 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21336 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21337 { (exit 1); exit 1; }; }
21341 echo "$as_me:$LINENO: checking VARITEXT clock" >&5
21342 echo $ECHO_N "checking VARITEXT clock... $ECHO_C" >&6
21343 # Check whether --enable-VARITEXT or --disable-VARITEXT was given.
21344 if test "${enable_VARITEXT+set}" = set; then
21345 enableval="$enable_VARITEXT"
21350 if test "$ntp_ok" = "yes"; then
21354 cat >>confdefs.h <<\_ACEOF
21355 #define CLOCK_VARITEXT 1
21359 echo "$as_me:$LINENO: result: $ntp_ok" >&5
21360 echo "${ECHO_T}$ntp_ok" >&6
21361 case "$ntp_ok$ntp_canparse" in
21363 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
21364 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
21365 { (exit 1); exit 1; }; }
21372 echo "$as_me:$LINENO: checking if we need to make and use the parse libraries" >&5
21373 echo $ECHO_N "checking if we need to make and use the parse libraries... $ECHO_C" >&6
21375 case "$ntp_libparse" in
21379 cat >>confdefs.h <<\_ACEOF
21380 #define CLOCK_PARSE 1
21383 LIBPARSE=../libparse/libparse.a
21384 MAKE_LIBPARSE=libparse.a
21385 MAKE_CHECK_Y2K=check_y2k
21387 cat >>confdefs.h <<\_ACEOF
21388 #define PPS_SAMPLE 1
21391 cat >>confdefs.h <<\_ACEOF
21392 #define CLOCK_ATOM 1
21397 echo "$as_me:$LINENO: result: $ans" >&5
21398 echo "${ECHO_T}$ans" >&6
21400 # AC_SUBST(RSAOBJS)
21401 # AC_SUBST(RSASRCS)
21404 # AC_SUBST(LIBRSAREF)
21405 # AC_SUBST(MAKE_LIBRSAREF)
21413 echo "$as_me:$LINENO: checking for openssl library directory" >&5
21414 echo $ECHO_N "checking for openssl library directory... $ECHO_C" >&6
21416 # Check whether --with-openssl-libdir or --without-openssl-libdir was given.
21417 if test "${with_openssl_libdir+set}" = set; then
21418 withval="$with_openssl_libdir"
21426 ans="/usr/lib /usr/lib/openssl /usr/local/lib /usr/local/ssl/lib"
21428 *) # Look where they said
21433 *) # Look for libcrypto.a and libssl.a:
21438 test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break
21441 test -f $i/libcrypto.a -a -f $i/libssl.a && break
21456 echo "$as_me:$LINENO: result: $ans" >&5
21457 echo "${ECHO_T}$ans" >&6
21459 echo "$as_me:$LINENO: checking for openssl include directory" >&5
21460 echo $ECHO_N "checking for openssl include directory... $ECHO_C" >&6
21462 # Check whether --with-openssl-incdir or --without-openssl-incdir was given.
21463 if test "${with_openssl_incdir+set}" = set; then
21464 withval="$with_openssl_incdir"
21472 ans="/usr/include /usr/local/include /usr/local/ssl/include"
21474 *) # Look where they said
21479 *) # look for openssl/opensslconf.h:
21482 test -f $i/openssl/opensslconf.h && break
21495 echo "$as_me:$LINENO: result: $ans" >&5
21496 echo "${ECHO_T}$ans" >&6
21499 # Check whether --with-crypto or --without-crypto was given.
21500 if test "${with_crypto+set}" = set; then
21501 withval="$with_crypto"
21509 if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INC"
21513 # We have OpenSSL inc/lib - use them.
21515 CPPFLAGS="$CPPFLAGS -I$OPENSSL_INC"
21516 LDFLAGS="$LDFLAGS -L$OPENSSL_LIB"
21519 MAKE_NTP_KEYGEN=ntp-keygen
21521 cat >>confdefs.h <<\_ACEOF
21527 for ac_func in EVP_md2 EVP_mdc2
21529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21530 echo "$as_me:$LINENO: checking for $ac_func" >&5
21531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21532 if eval "test \"\${$as_ac_var+set}\" = set"; then
21533 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 cat >conftest.$ac_ext <<_ACEOF
21536 #line $LINENO "configure"
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 /* System header to define __stub macros and hopefully few prototypes,
21543 which can conflict with char $ac_func (); below.
21544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21545 <limits.h> exists even on freestanding compilers. */
21547 # include <limits.h>
21549 # include <assert.h>
21551 /* Override any gcc2 internal prototype to avoid an error. */
21556 /* We use char because int might match the return type of a gcc2
21557 builtin and then its argument prototype would still apply. */
21559 /* The GNU C library defines this for functions which it implements
21560 to always fail with ENOSYS. Some functions are actually named
21561 something starting with __ and the normal name is an alias. */
21562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21565 char (*f) () = $ac_func;
21574 return f != $ac_func;
21579 rm -f conftest.$ac_objext conftest$ac_exeext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21581 (eval $ac_link) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } &&
21585 { ac_try='test -s conftest$ac_exeext'
21586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587 (eval $ac_try) 2>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 eval "$as_ac_var=yes"
21593 echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.$ac_ext >&5
21596 eval "$as_ac_var=no"
21598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21602 if test `eval echo '${'$as_ac_var'}'` = yes; then
21603 cat >>confdefs.h <<_ACEOF
21604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21613 echo "$as_me:$LINENO: checking for the level of crypto support" >&5
21614 echo $ECHO_N "checking for the level of crypto support... $ECHO_C" >&6
21615 echo "$as_me:$LINENO: result: $ans" >&5
21616 echo "${ECHO_T}$ans" >&6
21618 echo "$as_me:$LINENO: checking if we want to compile with ElectricFence" >&5
21619 echo $ECHO_N "checking if we want to compile with ElectricFence... $ECHO_C" >&6
21621 # Check whether --with-electricfence or --without-electricfence was given.
21622 if test "${with_electricfence+set}" = set; then
21623 withval="$with_electricfence"
21631 LIBS="$LIBS \${top_builddir}/ElectricFence/libefence.a"
21632 EF_PROGS="eftest tstheap"
21634 EF_LIBS=libefence.a
21639 echo "$as_me:$LINENO: result: $ans" >&5
21640 echo "${ECHO_T}$ans" >&6
21642 echo "$as_me:$LINENO: checking if we want to try SNTP" >&5
21643 echo $ECHO_N "checking if we want to try SNTP... $ECHO_C" >&6
21645 # Check whether --with-sntp or --without-sntp was given.
21646 if test "${with_sntp+set}" = set; then
21647 withval="$with_sntp"
21660 echo "$as_me:$LINENO: result: $ans" >&5
21661 echo "${ECHO_T}$ans" >&6
21666 echo "$as_me:$LINENO: checking if we can make dcf parse utilities" >&5
21667 echo $ECHO_N "checking if we can make dcf parse utilities... $ECHO_C" >&6
21669 if test "$ntp_parseutil" = "yes"; then
21671 *-*-sunos4*|*-*-solaris2*|*-*-linux*)
21678 echo "$as_me:$LINENO: result: $ans" >&5
21679 echo "${ECHO_T}$ans" >&6
21682 echo "$as_me:$LINENO: checking if we can build kernel streams modules for parse" >&5
21683 echo $ECHO_N "checking if we can build kernel streams modules for parse... $ECHO_C" >&6
21685 case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
21689 case "$ac_cv_var_kernel_pll" in
21692 cat >>confdefs.h <<\_ACEOF
21699 MAKE_PARSEKMODULE=parsestreams.loadable_module.o
21703 MAKE_PARSEKMODULE=parse
21708 echo "$as_me:$LINENO: result: $ans" >&5
21709 echo "${ECHO_T}$ans" >&6
21711 echo "$as_me:$LINENO: checking if we need basic refclock support" >&5
21712 echo $ECHO_N "checking if we need basic refclock support... $ECHO_C" >&6
21713 if test "$ntp_refclock" = "yes"; then
21715 cat >>confdefs.h <<\_ACEOF
21720 echo "$as_me:$LINENO: result: $ntp_refclock" >&5
21721 echo "${ECHO_T}$ntp_refclock" >&6
21725 echo "$as_me:$LINENO: checking if we want HP-UX adjtimed support" >&5
21726 echo $ECHO_N "checking if we want HP-UX adjtimed support... $ECHO_C" >&6
21734 if test "$ans" = "yes"; then
21735 MAKE_ADJTIMED=adjtimed
21737 cat >>confdefs.h <<\_ACEOF
21738 #define NEED_HPUX_ADJTIME 1
21742 echo "$as_me:$LINENO: result: $ans" >&5
21743 echo "${ECHO_T}$ans" >&6
21745 echo "$as_me:$LINENO: checking if we want QNX adjtime support" >&5
21746 echo $ECHO_N "checking if we want QNX adjtime support... $ECHO_C" >&6
21754 if test "$ans" = "yes"; then
21756 cat >>confdefs.h <<\_ACEOF
21757 #define NEED_QNX_ADJTIME 1
21761 echo "$as_me:$LINENO: result: $ans" >&5
21762 echo "${ECHO_T}$ans" >&6
21764 echo "$as_me:$LINENO: checking if we can read kmem" >&5
21765 echo $ECHO_N "checking if we can read kmem... $ECHO_C" >&6
21766 if test "${ac_cv_var_can_kmem+set}" = set; then
21767 echo $ECHO_N "(cached) $ECHO_C" >&6
21769 # Check whether --enable-kmem or --disable-kmem was given.
21770 if test "${enable_kmem+set}" = set; then
21771 enableval="$enable_kmem"
21774 case "$ac_cv_func_nlist$ac_cv_func_K_open$ac_cv_func_kvm_open" in
21785 *-*-domainos) # Won't be found...
21806 ac_cv_var_can_kmem=$ans
21808 echo "$as_me:$LINENO: result: $ac_cv_var_can_kmem" >&5
21809 echo "${ECHO_T}$ac_cv_var_can_kmem" >&6
21811 case "$ac_cv_var_can_kmem" in
21814 cat >>confdefs.h <<\_ACEOF
21820 echo "$as_me:$LINENO: checking if adjtime is accurate" >&5
21821 echo $ECHO_N "checking if adjtime is accurate... $ECHO_C" >&6
21822 if test "${ac_cv_var_adjtime_is_accurate+set}" = set; then
21823 echo $ECHO_N "(cached) $ECHO_C" >&6
21825 # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given.
21826 if test "${enable_accurate_adjtime+set}" = set; then
21827 enableval="$enable_accurate_adjtime"
21834 i386-unknown-osf1*)
21837 mips-sgi-irix[456]*)
21863 ac_cv_var_adjtime_is_accurate=$ans
21865 echo "$as_me:$LINENO: result: $ac_cv_var_adjtime_is_accurate" >&5
21866 echo "${ECHO_T}$ac_cv_var_adjtime_is_accurate" >&6
21867 case "$ac_cv_var_adjtime_is_accurate" in
21869 cat >>confdefs.h <<\_ACEOF
21870 #define ADJTIME_IS_ACCURATE 1
21875 echo "$as_me:$LINENO: checking the name of 'tick' in the kernel" >&5
21876 echo $ECHO_N "checking the name of 'tick' in the kernel... $ECHO_C" >&6
21877 if test "${ac_cv_var_nlist_tick+set}" = set; then
21878 echo $ECHO_N "(cached) $ECHO_C" >&6
21882 m68*-hp-hpux*) # HP9000/300?
21910 ac_cv_var_nlist_tick=$ans
21912 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_tick" >&5
21913 echo "${ECHO_T}$ac_cv_var_nlist_tick" >&6
21914 case "$ac_cv_var_nlist_tick" in
21915 ''|no) ;; # HMS: I think we can only get 'no' here...
21917 cat >>confdefs.h <<_ACEOF
21918 #define K_TICK_NAME "$ac_cv_var_nlist_tick"
21923 echo "$as_me:$LINENO: checking for the units of 'tick'" >&5
21924 echo $ECHO_N "checking for the units of 'tick'... $ECHO_C" >&6
21925 if test "${ac_cv_var_tick_nano+set}" = set; then
21926 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 ac_cv_var_tick_nano=$ans
21936 echo "$as_me:$LINENO: result: $ac_cv_var_tick_nano" >&5
21937 echo "${ECHO_T}$ac_cv_var_tick_nano" >&6
21938 case "$ac_cv_var_tick_nano" in
21941 cat >>confdefs.h <<\_ACEOF
21942 #define TICK_NANO 1
21948 echo "$as_me:$LINENO: checking the name of 'tickadj' in the kernel" >&5
21949 echo $ECHO_N "checking the name of 'tickadj' in the kernel... $ECHO_C" >&6
21950 if test "${ac_cv_var_nlist_tickadj+set}" = set; then
21951 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 m68*-hp-hpux*) # HP9000/300?
21986 ans=no # hrestime_adj
21992 ac_cv_var_nlist_tickadj=$ans
21994 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_tickadj" >&5
21995 echo "${ECHO_T}$ac_cv_var_nlist_tickadj" >&6
21996 case "$ac_cv_var_nlist_tickadj" in
21997 ''|no) ;; # HMS: I think we can only get 'no' here...
21999 cat >>confdefs.h <<_ACEOF
22000 #define K_TICKADJ_NAME "$ac_cv_var_nlist_tickadj"
22005 echo "$as_me:$LINENO: checking for the units of 'tickadj'" >&5
22006 echo $ECHO_N "checking for the units of 'tickadj'... $ECHO_C" >&6
22007 if test "${ac_cv_var_tickadj_nano+set}" = set; then
22008 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 ac_cv_var_tickadj_nano=$ans
22018 echo "$as_me:$LINENO: result: $ac_cv_var_tickadj_nano" >&5
22019 echo "${ECHO_T}$ac_cv_var_tickadj_nano" >&6
22020 case "$ac_cv_var_tickadj_nano" in
22023 cat >>confdefs.h <<\_ACEOF
22024 #define TICKADJ_NANO 1
22030 echo "$as_me:$LINENO: checking half-heartedly for 'dosynctodr' in the kernel" >&5
22031 echo $ECHO_N "checking half-heartedly for 'dosynctodr' in the kernel... $ECHO_C" >&6
22032 if test "${ac_cv_var_nlist_dosynctodr+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22073 ac_cv_var_nlist_dosynctodr=$ans
22075 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_dosynctodr" >&5
22076 echo "${ECHO_T}$ac_cv_var_nlist_dosynctodr" >&6
22077 case "$ac_cv_var_nlist_dosynctodr" in
22080 cat >>confdefs.h <<_ACEOF
22081 #define K_DOSYNCTODR_NAME "$ac_cv_var_nlist_dosynctodr"
22087 echo "$as_me:$LINENO: checking half-heartedly for 'noprintf' in the kernel" >&5
22088 echo $ECHO_N "checking half-heartedly for 'noprintf' in the kernel... $ECHO_C" >&6
22089 if test "${ac_cv_var_nlist_noprintf+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 ac_cv_var_nlist_noprintf=$ans
22126 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_noprintf" >&5
22127 echo "${ECHO_T}$ac_cv_var_nlist_noprintf" >&6
22128 case "$ac_cv_var_nlist_noprintf" in
22131 cat >>confdefs.h <<_ACEOF
22132 #define K_NOPRINTF_NAME "$ac_cv_var_nlist_noprintf"
22141 echo "$as_me:$LINENO: checking for a default value for 'tick'" >&5
22142 echo $ECHO_N "checking for a default value for 'tick'... $ECHO_C" >&6
22143 if test "${ac_cv_var_tick+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 # Check whether --enable-tick or --disable-tick was given.
22147 if test "${enable_tick+set}" = set; then
22148 enableval="$enable_tick"
22178 ac_cv_var_tick=$ans
22180 echo "$as_me:$LINENO: result: $ac_cv_var_tick" >&5
22181 echo "${ECHO_T}$ac_cv_var_tick" >&6
22182 case "$ac_cv_var_tick" in
22183 ''|no) ;; # HMS: I think we can only get 'no' here...
22185 cat >>confdefs.h <<_ACEOF
22186 #define PRESET_TICK $ac_cv_var_tick
22191 echo "$as_me:$LINENO: checking for a default value for 'tickadj'" >&5
22192 echo $ECHO_N "checking for a default value for 'tickadj'... $ECHO_C" >&6
22193 if test "${ac_cv_var_tickadj+set}" = set; then
22194 echo $ECHO_N "(cached) $ECHO_C" >&6
22196 # Check whether --enable-tickadj or --disable-tickadj was given.
22197 if test "${enable_tickadj+set}" = set; then
22198 enableval="$enable_tickadj"
22204 case "$ac_cv_var_adjtime_is_accurate" in
22205 yes) ans='tick/16' ;;
22215 case "$ac_cv_var_can_kmem" in
22219 *-*-domainos) # Skippy: won't be found...
22220 case "$ac_cv_var_can_kmem" in
22225 case "$ac_cv_var_adjtime_is_accurate" in
22226 yes) ans='tick/16' ;;
22239 case "$ac_cv_var_adjtime_is_accurate" in
22253 ac_cv_var_tickadj=$ans
22255 echo "$as_me:$LINENO: result: $ac_cv_var_tickadj" >&5
22256 echo "${ECHO_T}$ac_cv_var_tickadj" >&6
22257 case "$ac_cv_var_tickadj" in
22258 ''|no) ;; # HMS: I think we can only get 'no' here...
22260 cat >>confdefs.h <<_ACEOF
22261 #define PRESET_TICKADJ $ac_cv_var_tickadj
22266 # Newer versions of ReliantUNIX round adjtime() values down to
22267 # 1/100s (system tick). Sigh ...
22268 # Unfortunately, there is no easy way to know if particular release
22269 # has this "feature" or any obvious way to test for it.
22272 cat >>confdefs.h <<\_ACEOF
22273 #define RELIANTUNIX_CLOCK 1
22280 cat >>confdefs.h <<\_ACEOF
22281 #define SCO5_CLOCK 1
22286 ac_cv_make_tickadj=yes
22287 case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
22288 nonono) # Don't read KMEM, no presets. Bogus.
22289 { echo "$as_me:$LINENO: WARNING: Can't read kmem" >&5
22290 echo "$as_me: WARNING: Can't read kmem" >&2;}
22291 ac_cv_make_tickadj=no
22293 nono*) # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
22294 { echo "$as_me:$LINENO: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&5
22295 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&2;}
22296 ac_cv_make_tickadj=no
22298 no*no) # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ. Bogus.
22299 { echo "$as_me:$LINENO: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&5
22300 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&2;}
22301 ac_cv_make_tickadj=no
22303 no*) # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ. Cool.
22305 yesnono) # Read KMEM, no presets. Cool.
22307 yesno*) # Read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
22308 { echo "$as_me:$LINENO: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&5
22309 echo "$as_me: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&2;}
22311 yes*no) # Read KMEM, PRESET_TICK but no PRESET_TICKADJ. Cool.
22313 yes*) # READ KMEM, PRESET_TICK and PRESET_TICKADJ.
22315 *) # Generally bogus.
22316 { { echo "$as_me:$LINENO: error: This shouldn't happen." >&5
22317 echo "$as_me: error: This shouldn't happen." >&2;}
22318 { (exit 1); exit 1; }; }
22323 echo "$as_me:$LINENO: checking if we want and can make the ntptime utility" >&5
22324 echo $ECHO_N "checking if we want and can make the ntptime utility... $ECHO_C" >&6
22325 if test "${ac_cv_make_ntptime+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 *) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in
22339 ac_cv_make_ntptime=$ans
22341 echo "$as_me:$LINENO: result: $ac_cv_make_ntptime" >&5
22342 echo "${ECHO_T}$ac_cv_make_ntptime" >&6
22343 case "$ac_cv_make_ntptime" in
22345 MAKE_NTPTIME=ntptime
22352 # tickadj is pretty useless on newer versions of ReliantUNIX
22354 ac_cv_make_tickadj=no
22357 ac_cv_make_tickadj=no
22360 # DLM says tickadj is a no-no starting with solaris2.5
22362 *-*-solaris2.1[0-9]*)
22363 ac_cv_make_tickadj=no
22365 *-*-solaris2.[0-4]*) ;;
22366 *) ac_cv_make_tickadj=no ;;
22370 ac_cv_make_tickadj=no
22373 echo "$as_me:$LINENO: checking if we want and can make the tickadj utility" >&5
22374 echo $ECHO_N "checking if we want and can make the tickadj utility... $ECHO_C" >&6
22375 if test "${ac_cv_make_tickadj+set}" = set; then
22376 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 ac_cv_make_tickadj=yes
22380 echo "$as_me:$LINENO: result: $ac_cv_make_tickadj" >&5
22381 echo "${ECHO_T}$ac_cv_make_tickadj" >&6
22382 case "$ac_cv_make_tickadj" in
22384 MAKE_TICKADJ=tickadj
22389 echo "$as_me:$LINENO: checking if we want and can make the timetrim utility" >&5
22390 echo $ECHO_N "checking if we want and can make the timetrim utility... $ECHO_C" >&6
22391 if test "${ac_cv_make_timetrim+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22396 ac_cv_make_timetrim=yes
22399 ac_cv_make_timetrim=yes
22402 ac_cv_make_timetrim=no
22406 echo "$as_me:$LINENO: result: $ac_cv_make_timetrim" >&5
22407 echo "${ECHO_T}$ac_cv_make_timetrim" >&6
22408 case "$ac_cv_make_timetrim" in
22410 MAKE_TIMETRIM=timetrim
22416 echo "$as_me:$LINENO: checking if we want to build the NTPD simulator" >&5
22417 echo $ECHO_N "checking if we want to build the NTPD simulator... $ECHO_C" >&6
22418 if test "${ac_cv_var_ntpd_sim+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 # Check whether --enable-simulator or --disable-simulator was given.
22422 if test "${enable_simulator+set}" = set; then
22423 enableval="$enable_simulator"
22428 ac_cv_var_ntpd_sim=$ans
22430 echo "$as_me:$LINENO: result: $ac_cv_var_ntpd_sim" >&5
22431 echo "${ECHO_T}$ac_cv_var_ntpd_sim" >&6
22432 case "$ac_cv_var_ntpd_sim" in
22434 MAKE_NTPDSIM=ntpdsim
22435 MAKE_LIBNTPSIM=libntpsim.a
22439 echo "$as_me:$LINENO: checking if we want UDP wildcard delivery" >&5
22440 echo $ECHO_N "checking if we want UDP wildcard delivery... $ECHO_C" >&6
22441 if test "${ac_cv_var_udp_wildcard_delivery+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 # Check whether --enable-udp-wildcard or --disable-udp-wildcard was given.
22445 if test "${enable_udp_wildcard+set}" = set; then
22446 enableval="$enable_udp_wildcard"
22501 ac_cv_var_udp_wildcard_delivery=$ans
22503 echo "$as_me:$LINENO: result: $ac_cv_var_udp_wildcard_delivery" >&5
22504 echo "${ECHO_T}$ac_cv_var_udp_wildcard_delivery" >&6
22505 case "$ac_cv_var_udp_wildcard_delivery" in
22507 cat >>confdefs.h <<\_ACEOF
22508 #define UDP_WILDCARD_DELIVERY 1
22518 LDFLAGS="$LDFLAGS -r"
22524 echo "$as_me:$LINENO: checking if we should always slew the time" >&5
22525 echo $ECHO_N "checking if we should always slew the time... $ECHO_C" >&6
22526 if test "${ac_cv_var_slew_always+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22529 # Check whether --enable-slew-always or --disable-slew-always was given.
22530 if test "${enable_slew_always+set}" = set; then
22531 enableval="$enable_slew_always"
22544 *-*-openvms*) # HMS: won't be found
22552 ac_cv_var_slew_always=$ans
22554 echo "$as_me:$LINENO: result: $ac_cv_var_slew_always" >&5
22555 echo "${ECHO_T}$ac_cv_var_slew_always" >&6
22556 case "$ac_cv_var_slew_always" in
22558 cat >>confdefs.h <<\_ACEOF
22559 #define SLEWALWAYS 1
22564 echo "$as_me:$LINENO: checking if we should step and slew the time" >&5
22565 echo $ECHO_N "checking if we should step and slew the time... $ECHO_C" >&6
22566 if test "${ac_cv_var_step_slew+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 # Check whether --enable-step-slew or --disable-step-slew was given.
22570 if test "${enable_step_slew+set}" = set; then
22571 enableval="$enable_step_slew"
22584 *-*-solaris2.1[0-9]*)
22587 *-*-solaris2.[012]*)
22590 *-*-sysv4*) # HMS: Does this catch Fujitsu UXP?
22598 ac_cv_var_step_slew=$ans
22600 echo "$as_me:$LINENO: result: $ac_cv_var_step_slew" >&5
22601 echo "${ECHO_T}$ac_cv_var_step_slew" >&6
22602 case "$ac_cv_var_step_slew" in
22604 cat >>confdefs.h <<\_ACEOF
22605 #define STEP_SLEW 1
22610 echo "$as_me:$LINENO: checking if ntpdate should step the time" >&5
22611 echo $ECHO_N "checking if ntpdate should step the time... $ECHO_C" >&6
22612 if test "${ac_cv_var_ntpdate_step+set}" = set; then
22613 echo $ECHO_N "(cached) $ECHO_C" >&6
22615 # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given.
22616 if test "${enable_ntpdate_step+set}" = set; then
22617 enableval="$enable_ntpdate_step"
22629 ac_cv_var_ntpdate_step=$ans
22631 echo "$as_me:$LINENO: result: $ac_cv_var_ntpdate_step" >&5
22632 echo "${ECHO_T}$ac_cv_var_ntpdate_step" >&6
22633 case "$ac_cv_var_ntpdate_step" in
22635 cat >>confdefs.h <<\_ACEOF
22636 #define FORCE_NTPDATE_STEP 1
22641 echo "$as_me:$LINENO: checking if we should sync TODR clock every hour" >&5
22642 echo $ECHO_N "checking if we should sync TODR clock every hour... $ECHO_C" >&6
22643 if test "${ac_cv_var_sync_todr+set}" = set; then
22644 echo $ECHO_N "(cached) $ECHO_C" >&6
22646 # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given.
22647 if test "${enable_hourly_todr_sync+set}" = set; then
22648 enableval="$enable_hourly_todr_sync"
22655 *-*-openvms*) # HMS: won't be found
22662 ac_cv_var_sync_todr=$ans
22664 echo "$as_me:$LINENO: result: $ac_cv_var_sync_todr" >&5
22665 echo "${ECHO_T}$ac_cv_var_sync_todr" >&6
22666 case "$ac_cv_var_sync_todr" in
22668 cat >>confdefs.h <<\_ACEOF
22669 #define DOSYNCTODR 1
22674 echo "$as_me:$LINENO: checking if we should avoid kernel FLL bug" >&5
22675 echo $ECHO_N "checking if we should avoid kernel FLL bug... $ECHO_C" >&6
22676 if test "${ac_cv_var_kernel_fll_bug+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 # Check whether --enable-kernel-fll-bug or --disable-kernel-fll-bug was given.
22680 if test "${enable_kernel_fll_bug+set}" = set; then
22681 enableval="$enable_kernel_fll_bug"
22693 if test "$2" -ge 17
22695 # Generic_105181-17 and higher
22713 if test "$2" -ge 07
22715 # Generic_106541-07 and higher
22730 ac_cv_var_kernel_fll_bug=$ans
22732 echo "$as_me:$LINENO: result: $ac_cv_var_kernel_fll_bug" >&5
22733 echo "${ECHO_T}$ac_cv_var_kernel_fll_bug" >&6
22734 case "$ac_cv_var_kernel_fll_bug" in
22736 cat >>confdefs.h <<\_ACEOF
22737 #define KERNEL_FLL_BUG 1
22742 echo "$as_me:$LINENO: checking if we should use the IRIG sawtooth filter" >&5
22743 echo $ECHO_N "checking if we should use the IRIG sawtooth filter... $ECHO_C" >&6
22744 if test "${ac_cv_var_irig_sucks+set}" = set; then
22745 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 # Check whether --enable-irig-sawtooth or --disable-irig-sawtooth was given.
22748 if test "${enable_irig_sawtooth+set}" = set; then
22749 enableval="$enable_irig_sawtooth"
22756 *-*-solaris2.1[0-9]*)
22764 ac_cv_var_irig_sucks=$ans
22766 echo "$as_me:$LINENO: result: $ac_cv_var_irig_sucks" >&5
22767 echo "${ECHO_T}$ac_cv_var_irig_sucks" >&6
22768 case "$ac_cv_var_irig_sucks" in
22770 cat >>confdefs.h <<\_ACEOF
22771 #define IRIG_SUCKS 1
22776 echo "$as_me:$LINENO: checking if we should enable NIST lockclock scheme" >&5
22777 echo $ECHO_N "checking if we should enable NIST lockclock scheme... $ECHO_C" >&6
22778 if test "${ac_cv_var_nist_lockclock+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22781 # Check whether --enable-nist or --disable-nist was given.
22782 if test "${enable_nist+set}" = set; then
22783 enableval="$enable_nist"
22788 ac_cv_var_nist_lockclock=$ans
22790 echo "$as_me:$LINENO: result: $ac_cv_var_nist_lockclock" >&5
22791 echo "${ECHO_T}$ac_cv_var_nist_lockclock" >&6
22792 case "$ac_cv_var_nist_lockclock" in
22794 cat >>confdefs.h <<\_ACEOF
22795 #define LOCKCLOCK 1
22804 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
22806 cat >>confdefs.h <<\_ACEOF
22807 #define ISC_PLATFORM_HAVESALEN
22812 echo "$as_me:$LINENO: checking for IPv6 structures" >&5
22813 echo $ECHO_N "checking for IPv6 structures... $ECHO_C" >&6
22814 cat >conftest.$ac_ext <<_ACEOF
22815 #line $LINENO "configure"
22818 cat confdefs.h >>conftest.$ac_ext
22819 cat >>conftest.$ac_ext <<_ACEOF
22820 /* end confdefs.h. */
22822 #include <sys/types.h>
22823 #include <sys/socket.h>
22824 #include <netinet/in.h>
22828 struct sockaddr_in6 sin6; return (0);
22833 rm -f conftest.$ac_objext
22834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22835 (eval $ac_compile) 2>&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } &&
22839 { ac_try='test -s conftest.$ac_objext'
22840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841 (eval $ac_try) 2>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; }; then
22845 echo "$as_me:$LINENO: result: yes" >&5
22846 echo "${ECHO_T}yes" >&6
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22852 echo "$as_me:$LINENO: result: no" >&5
22853 echo "${ECHO_T}no" >&6
22856 rm -f conftest.$ac_objext conftest.$ac_ext
22858 echo "$as_me:$LINENO: checking for struct if_laddrconf" >&5
22859 echo $ECHO_N "checking for struct if_laddrconf... $ECHO_C" >&6
22860 cat >conftest.$ac_ext <<_ACEOF
22861 #line $LINENO "configure"
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22868 #include <sys/types.h>
22869 #include <net/if6.h>
22874 struct if_laddrconf a;
22879 rm -f conftest.$ac_objext conftest$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try='test -s conftest$ac_exeext'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22891 echo "$as_me:$LINENO: result: yes" >&5
22892 echo "${ECHO_T}yes" >&6
22894 cat >>confdefs.h <<\_ACEOF
22895 #define ISC_PLATFORM_HAVEIF_LADDRCONF
22899 echo "$as_me: failed program was:" >&5
22900 sed 's/^/| /' conftest.$ac_ext >&5
22902 echo "$as_me:$LINENO: result: no" >&5
22903 echo "${ECHO_T}no" >&6
22905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22907 echo "$as_me:$LINENO: checking for struct if_laddrreq" >&5
22908 echo $ECHO_N "checking for struct if_laddrreq... $ECHO_C" >&6
22909 cat >conftest.$ac_ext <<_ACEOF
22910 #line $LINENO "configure"
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22917 #include <sys/types.h>
22918 #include <net/if6.h>
22923 struct if_laddrreq a;
22928 rm -f conftest.$ac_objext conftest$ac_exeext
22929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22930 (eval $ac_link) 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } &&
22934 { ac_try='test -s conftest$ac_exeext'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; }; then
22940 echo "$as_me:$LINENO: result: yes" >&5
22941 echo "${ECHO_T}yes" >&6
22943 cat >>confdefs.h <<\_ACEOF
22944 #define ISC_PLATFORM_HAVEIF_LADDRREQ
22948 echo "$as_me: failed program was:" >&5
22949 sed 's/^/| /' conftest.$ac_ext >&5
22951 echo "$as_me:$LINENO: result: no" >&5
22952 echo "${ECHO_T}no" >&6
22954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22956 case "$found_ipv6" in
22959 cat >>confdefs.h <<\_ACEOF
22960 #define ISC_PLATFORM_HAVEIPV6
22964 cat >>confdefs.h <<\_ACEOF
22969 echo "$as_me:$LINENO: checking for in6_pktinfo" >&5
22970 echo $ECHO_N "checking for in6_pktinfo... $ECHO_C" >&6
22971 cat >conftest.$ac_ext <<_ACEOF
22972 #line $LINENO "configure"
22975 cat confdefs.h >>conftest.$ac_ext
22976 cat >>conftest.$ac_ext <<_ACEOF
22977 /* end confdefs.h. */
22979 #include <sys/types.h>
22980 #include <sys/socket.h>
22981 #include <netinet/in.h>
22982 $isc_netinetin6_hack
22983 $isc_netinet6in6_hack
22988 struct in6_pktinfo xyzzy; return (0);
22993 rm -f conftest.$ac_objext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22995 (eval $ac_compile) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try='test -s conftest.$ac_objext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 echo "$as_me:$LINENO: result: yes" >&5
23006 echo "${ECHO_T}yes" >&6
23008 cat >>confdefs.h <<\_ACEOF
23009 #define ISC_PLATFORM_HAVEIN6PKTINFO
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.$ac_ext >&5
23016 echo "$as_me:$LINENO: result: no -- disabling runtime ipv6 support" >&5
23017 echo "${ECHO_T}no -- disabling runtime ipv6 support" >&6
23019 rm -f conftest.$ac_objext conftest.$ac_ext
23021 echo "$as_me:$LINENO: checking for in6addr_any" >&5
23022 echo $ECHO_N "checking for in6addr_any... $ECHO_C" >&6
23023 cat >conftest.$ac_ext <<_ACEOF
23024 #line $LINENO "configure"
23027 cat confdefs.h >>conftest.$ac_ext
23028 cat >>conftest.$ac_ext <<_ACEOF
23029 /* end confdefs.h. */
23031 #include <sys/types.h>
23032 #include <sys/socket.h>
23033 #include <netinet/in.h>
23034 $isc_netinetin6_hack
23035 $isc_netinet6in6_hack
23041 struct in6_addr in6; in6 = in6addr_any; return (in6.s6_addr[0]);
23046 rm -f conftest.$ac_objext conftest$ac_exeext
23047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23048 (eval $ac_link) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } &&
23052 { ac_try='test -s conftest$ac_exeext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 echo "$as_me:$LINENO: result: yes" >&5
23059 echo "${ECHO_T}yes" >&6
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.$ac_ext >&5
23064 echo "$as_me:$LINENO: result: no" >&5
23065 echo "${ECHO_T}no" >&6
23067 cat >>confdefs.h <<\_ACEOF
23068 #define ISC_PLATFORM_NEEDIN6ADDRANY
23073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23078 # Look for a sysctl call to get the list of network interfaces.
23080 echo "$as_me:$LINENO: checking for interface list sysctl" >&5
23081 echo $ECHO_N "checking for interface list sysctl... $ECHO_C" >&6
23082 cat >conftest.$ac_ext <<_ACEOF
23083 #line $LINENO "configure"
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23090 #include <sys/param.h>
23091 #include <sys/sysctl.h>
23092 #include <sys/socket.h>
23093 #ifdef NET_RT_IFLIST
23098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23099 $EGREP "found_rt_iflist" >/dev/null 2>&1; then
23100 echo "$as_me:$LINENO: result: yes" >&5
23101 echo "${ECHO_T}yes" >&6
23103 cat >>confdefs.h <<\_ACEOF
23104 #define HAVE_IFLIST_SYSCTL 1
23108 echo "$as_me:$LINENO: result: no" >&5
23109 echo "${ECHO_T}no" >&6
23119 LDFLAGS="$LDFLAGS -r"
23127 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
23128 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
23129 eval echo \""$sysconfdir"\"
23132 cat >>confdefs.h <<_ACEOF
23133 #define NTP_KEYSDIR "$ac_expanded"
23139 if test -d $srcdir/arlib
23142 # Check whether --with-arlib or --without-arlib was given.
23143 if test "${with_arlib+set}" = set; then
23144 withval="$with_arlib"
23155 subdirs="$subdirs arlib"
23161 ac_config_files="$ac_config_files Makefile"
23163 ac_config_files="$ac_config_files ElectricFence/Makefile"
23165 ac_config_files="$ac_config_files adjtimed/Makefile"
23167 ac_config_files="$ac_config_files clockstuff/Makefile"
23169 ac_config_files="$ac_config_files include/Makefile"
23171 ac_config_files="$ac_config_files include/isc/Makefile"
23173 ac_config_files="$ac_config_files kernel/Makefile"
23175 ac_config_files="$ac_config_files kernel/sys/Makefile"
23177 ac_config_files="$ac_config_files libntp/Makefile"
23179 ac_config_files="$ac_config_files libparse/Makefile"
23181 ac_config_files="$ac_config_files ntpd/Makefile"
23183 ac_config_files="$ac_config_files ntpdate/Makefile"
23185 ac_config_files="$ac_config_files ntpdc/Makefile"
23187 ac_config_files="$ac_config_files ntpdc/nl.pl"
23189 ac_config_files="$ac_config_files ntpq/Makefile"
23191 ac_config_files="$ac_config_files parseutil/Makefile"
23193 ac_config_files="$ac_config_files scripts/Makefile"
23195 ac_config_files="$ac_config_files scripts/calc_tickadj"
23197 ac_config_files="$ac_config_files scripts/checktime"
23199 ac_config_files="$ac_config_files scripts/freq_adj"
23201 ac_config_files="$ac_config_files scripts/mkver"
23203 ac_config_files="$ac_config_files scripts/ntp-wait"
23205 ac_config_files="$ac_config_files scripts/ntpsweep"
23207 ac_config_files="$ac_config_files scripts/ntptrace"
23209 ac_config_files="$ac_config_files scripts/ntpver"
23211 ac_config_files="$ac_config_files scripts/plot_summary"
23213 ac_config_files="$ac_config_files scripts/summary"
23215 ac_config_files="$ac_config_files util/Makefile"
23218 case "$MAKE_SNTP" in
23223 subdirs="$subdirs sntp"
23228 cat >confcache <<\_ACEOF
23229 # This file is a shell script that caches the results of configure
23230 # tests run on this system so they can be shared between configure
23231 # scripts and configure runs, see configure's option --config-cache.
23232 # It is not useful on other systems. If it contains results you don't
23233 # want to keep, you may remove or edit it.
23235 # config.status only pays attention to the cache file if you give it
23236 # the --recheck option to rerun configure.
23238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23240 # following values.
23244 # The following way of writing the cache mishandles newlines in values,
23245 # but we know of no workaround that is simple, portable, and efficient.
23246 # So, don't put newlines in cache variables' values.
23247 # Ultrix sh set writes to stderr and can't be redirected directly,
23248 # and sets the high bit in the cache file unless we assign to the vars.
23251 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23253 # `set' does not quote correctly, so add quotes (double-quote
23254 # substitution turns \\\\ into \\, and sed turns \\ into \).
23257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23260 # `set' quotes correctly as required by POSIX, so do not add quotes.
23262 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23269 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23271 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23273 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23274 if test -w $cache_file; then
23275 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23276 cat confcache >$cache_file
23278 echo "not updating unwritable cache $cache_file"
23283 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23284 # Let make expand exec_prefix.
23285 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23287 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23288 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23289 # trailing colons and then remove the whole line if VPATH becomes empty
23290 # (actually we leave an empty line to preserve line numbers).
23291 if test "x$srcdir" = x.; then
23292 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23293 s/:*\$(srcdir):*/:/;
23294 s/:*\${srcdir}:*/:/;
23296 s/^\([^=]*=[ ]*\):*/\1/;
23302 DEFS=-DHAVE_CONFIG_H
23306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23307 # 1. Remove the extension, and $U if already installed.
23308 ac_i=`echo "$ac_i" |
23309 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23311 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23312 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23314 LIBOBJS=$ac_libobjs
23316 LTLIBOBJS=$ac_ltlibobjs
23319 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23320 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23321 Usually this means the macro was only invoked conditionally." >&5
23322 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23323 Usually this means the macro was only invoked conditionally." >&2;}
23324 { (exit 1); exit 1; }; }
23326 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23327 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23328 Usually this means the macro was only invoked conditionally." >&5
23329 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23330 Usually this means the macro was only invoked conditionally." >&2;}
23331 { (exit 1); exit 1; }; }
23333 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23334 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23335 Usually this means the macro was only invoked conditionally." >&5
23336 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23337 Usually this means the macro was only invoked conditionally." >&2;}
23338 { (exit 1); exit 1; }; }
23341 : ${CONFIG_STATUS=./config.status}
23342 ac_clean_files_save=$ac_clean_files
23343 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23344 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23345 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23346 cat >$CONFIG_STATUS <<_ACEOF
23348 # Generated by $as_me.
23349 # Run this file to recreate the current configuration.
23350 # Compiler output produced by configure, useful for debugging
23351 # configure, is in config.log if it exists.
23354 ac_cs_recheck=false
23356 SHELL=\${CONFIG_SHELL-$SHELL}
23359 cat >>$CONFIG_STATUS <<\_ACEOF
23360 ## --------------------- ##
23361 ## M4sh Initialization. ##
23362 ## --------------------- ##
23364 # Be Bourne compatible
23365 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23368 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23369 # is contrary to our usage. Disable this feature.
23370 alias -g '${1+"$@"}'='"$@"'
23371 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23375 # Support unset when possible.
23376 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23383 # Work around bugs in pre-3.0 UWIN ksh.
23384 $as_unset ENV MAIL MAILPATH
23391 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23392 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23393 LC_TELEPHONE LC_TIME
23395 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23396 eval $as_var=C; export $as_var
23402 # Required to use basename.
23403 if expr a : '\(a\)' >/dev/null 2>&1; then
23409 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23410 as_basename=basename
23416 # Name of the executable.
23417 as_me=`$as_basename "$0" ||
23418 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23419 X"$0" : 'X\(//\)$' \| \
23420 X"$0" : 'X\(/\)$' \| \
23421 . : '\(.\)' 2>/dev/null ||
23423 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23424 /^X\/\(\/\/\)$/{ s//\1/; q; }
23425 /^X\/\(\/\).*/{ s//\1/; q; }
23429 # PATH needs CR, and LINENO needs CR and PATH.
23430 # Avoid depending upon Character Ranges.
23431 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23432 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23433 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23434 as_cr_digits='0123456789'
23435 as_cr_alnum=$as_cr_Letters$as_cr_digits
23437 # The user is always right.
23438 if test "${PATH_SEPARATOR+set}" != set; then
23439 echo "#! /bin/sh" >conf$$.sh
23440 echo "exit 0" >>conf$$.sh
23442 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23451 as_lineno_1=$LINENO
23452 as_lineno_2=$LINENO
23453 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23454 test "x$as_lineno_1" != "x$as_lineno_2" &&
23455 test "x$as_lineno_3" = "x$as_lineno_2" || {
23456 # Find who we are. Look in the path if we contain no path at all
23459 *[\\/]* ) as_myself=$0 ;;
23460 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23461 for as_dir in $PATH
23464 test -z "$as_dir" && as_dir=.
23465 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23470 # We did not find ourselves, most probably we were run as `sh COMMAND'
23471 # in which case we are not to be found in the path.
23472 if test "x$as_myself" = x; then
23475 if test ! -f "$as_myself"; then
23476 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23477 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23478 { (exit 1); exit 1; }; }
23480 case $CONFIG_SHELL in
23482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23483 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23486 test -z "$as_dir" && as_dir=.
23487 for as_base in sh bash ksh sh5; do
23490 if ("$as_dir/$as_base" -c '
23491 as_lineno_1=$LINENO
23492 as_lineno_2=$LINENO
23493 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23494 test "x$as_lineno_1" != "x$as_lineno_2" &&
23495 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23496 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23497 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23498 CONFIG_SHELL=$as_dir/$as_base
23499 export CONFIG_SHELL
23500 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23508 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23509 # uniformly replaced by the line number. The first 'sed' inserts a
23510 # line-number line before each line; the second 'sed' does the real
23511 # work. The second script uses 'N' to pair each line-number line
23512 # with the numbered line, and appends trailing '-' during
23513 # substitution so that $LINENO is not a special case at line end.
23514 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23515 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23516 sed '=' <$as_myself |
23521 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23524 s,^['$as_cr_digits']*\n,,
23525 ' >$as_me.lineno &&
23526 chmod +x $as_me.lineno ||
23527 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23528 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23529 { (exit 1); exit 1; }; }
23531 # Don't try to exec as it changes $[0], causing all sort of problems
23532 # (the dirname of $[0] is not the place where we might find the
23533 # original and so on. Autoconf is especially sensible to this).
23535 # Exit status is that of the last command.
23540 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23541 *c*,-n*) ECHO_N= ECHO_C='
23543 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23544 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23547 if expr a : '\(a\)' >/dev/null 2>&1; then
23553 rm -f conf$$ conf$$.exe conf$$.file
23555 if ln -s conf$$.file conf$$ 2>/dev/null; then
23556 # We could just check for DJGPP; but this test a) works b) is more generic
23557 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23558 if test -f conf$$.exe; then
23559 # Don't use ln at all; we don't have any links
23564 elif ln conf$$.file conf$$ 2>/dev/null; then
23569 rm -f conf$$ conf$$.exe conf$$.file
23571 if mkdir -p . 2>/dev/null; then
23577 as_executable_p="test -f"
23579 # Sed expression to map a string onto a valid CPP name.
23580 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23582 # Sed expression to map a string onto a valid variable name.
23583 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23587 # We need space, tab and new line, in precisely that order.
23597 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23598 # report actual input values of CONFIG_FILES etc. instead of their
23599 # values after options handling. Logging --version etc. is OK.
23603 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23604 ## Running $as_me. ##
23609 This file was extended by $as_me, which was
23610 generated by GNU Autoconf 2.57. Invocation command line was
23612 CONFIG_FILES = $CONFIG_FILES
23613 CONFIG_HEADERS = $CONFIG_HEADERS
23614 CONFIG_LINKS = $CONFIG_LINKS
23615 CONFIG_COMMANDS = $CONFIG_COMMANDS
23619 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23623 # Files that config.status was made for.
23624 if test -n "$ac_config_files"; then
23625 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23628 if test -n "$ac_config_headers"; then
23629 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23632 if test -n "$ac_config_links"; then
23633 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23636 if test -n "$ac_config_commands"; then
23637 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23640 cat >>$CONFIG_STATUS <<\_ACEOF
23643 \`$as_me' instantiates files from templates according to the
23644 current configuration.
23646 Usage: $0 [OPTIONS] [FILE]...
23648 -h, --help print this help, then exit
23649 -V, --version print version number, then exit
23650 -q, --quiet do not print progress messages
23651 -d, --debug don't remove temporary files
23652 --recheck update $as_me by reconfiguring in the same conditions
23653 --file=FILE[:TEMPLATE]
23654 instantiate the configuration file FILE
23655 --header=FILE[:TEMPLATE]
23656 instantiate the configuration header FILE
23658 Configuration files:
23661 Configuration headers:
23664 Configuration commands:
23667 Report bugs to <bug-autoconf@gnu.org>."
23670 cat >>$CONFIG_STATUS <<_ACEOF
23673 configured by $0, generated by GNU Autoconf 2.57,
23674 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23676 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23677 Free Software Foundation, Inc.
23678 This config.status script is free software; the Free Software Foundation
23679 gives unlimited permission to copy, distribute and modify it."
23684 cat >>$CONFIG_STATUS <<\_ACEOF
23685 # If no file are specified by the user, then we need to provide default
23686 # value. By we need to know if files were specified by the user.
23692 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23693 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23701 *) # This is not an option, so the user has probably given explicit
23704 ac_need_defaults=false;;
23708 # Handling of the options.
23710 cat >>$CONFIG_STATUS <<\_ACEOF
23711 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23713 --version | --vers* | -V )
23714 echo "$ac_cs_version"; exit 0 ;;
23716 # Conflict between --help and --header
23717 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23718 Try \`$0 --help' for more information." >&5
23719 echo "$as_me: error: ambiguous option: $1
23720 Try \`$0 --help' for more information." >&2;}
23721 { (exit 1); exit 1; }; };;
23722 --help | --hel | -h )
23723 echo "$ac_cs_usage"; exit 0 ;;
23724 --debug | --d* | -d )
23726 --file | --fil | --fi | --f )
23728 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23729 ac_need_defaults=false;;
23730 --header | --heade | --head | --hea )
23732 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23733 ac_need_defaults=false;;
23734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23735 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23738 # This is an error.
23739 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23740 Try \`$0 --help' for more information." >&5
23741 echo "$as_me: error: unrecognized option: $1
23742 Try \`$0 --help' for more information." >&2;}
23743 { (exit 1); exit 1; }; } ;;
23745 *) ac_config_targets="$ac_config_targets $1" ;;
23751 ac_configure_extra_args=
23753 if $ac_cs_silent; then
23755 ac_configure_extra_args="$ac_configure_extra_args --silent"
23759 cat >>$CONFIG_STATUS <<_ACEOF
23760 if \$ac_cs_recheck; then
23761 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23762 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23767 cat >>$CONFIG_STATUS <<_ACEOF
23769 # INIT-COMMANDS section.
23772 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23778 cat >>$CONFIG_STATUS <<\_ACEOF
23779 for ac_config_target in $ac_config_targets
23781 case "$ac_config_target" in
23782 # Handling of arguments.
23783 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23784 "ElectricFence/Makefile" ) CONFIG_FILES="$CONFIG_FILES ElectricFence/Makefile" ;;
23785 "adjtimed/Makefile" ) CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;;
23786 "clockstuff/Makefile" ) CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;;
23787 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23788 "include/isc/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/isc/Makefile" ;;
23789 "kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
23790 "kernel/sys/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;;
23791 "libntp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;;
23792 "libparse/Makefile" ) CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;;
23793 "ntpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;;
23794 "ntpdate/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;;
23795 "ntpdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;;
23796 "ntpdc/nl.pl" ) CONFIG_FILES="$CONFIG_FILES ntpdc/nl.pl" ;;
23797 "ntpq/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;;
23798 "parseutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;;
23799 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
23800 "scripts/calc_tickadj" ) CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;;
23801 "scripts/checktime" ) CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;;
23802 "scripts/freq_adj" ) CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;;
23803 "scripts/mkver" ) CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;;
23804 "scripts/ntp-wait" ) CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;;
23805 "scripts/ntpsweep" ) CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;;
23806 "scripts/ntptrace" ) CONFIG_FILES="$CONFIG_FILES scripts/ntptrace" ;;
23807 "scripts/ntpver" ) CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;;
23808 "scripts/plot_summary" ) CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;;
23809 "scripts/summary" ) CONFIG_FILES="$CONFIG_FILES scripts/summary" ;;
23810 "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
23811 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23812 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23813 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23814 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23815 { (exit 1); exit 1; }; };;
23819 # If the user did not use the arguments to specify the items to instantiate,
23820 # then the envvar interface is used. Set only those that are not.
23821 # We use the long form for the default assignment because of an extremely
23822 # bizarre bug on SunOS 4.1.3.
23823 if $ac_need_defaults; then
23824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23825 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23826 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23829 # Have a temporary directory for convenience. Make it in the build tree
23830 # simply because there is no reason to put it here, and in addition,
23831 # creating and moving files from /tmp can sometimes cause problems.
23832 # Create a temporary directory, and hook for its removal unless debugging.
23835 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23836 trap '{ (exit 1); exit 1; }' 1 2 13 15
23839 # Create a (secure) tmp directory for tmp files.
23842 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23843 test -n "$tmp" && test -d "$tmp"
23846 tmp=./confstat$$-$RANDOM
23847 (umask 077 && mkdir $tmp)
23850 echo "$me: cannot create a temporary directory in ." >&2
23851 { (exit 1); exit 1; }
23856 cat >>$CONFIG_STATUS <<_ACEOF
23859 # CONFIG_FILES section.
23862 # No need to generate the scripts if there are no CONFIG_FILES.
23863 # This happens for instance when ./config.status config.h
23864 if test -n "\$CONFIG_FILES"; then
23865 # Protect against being on the right side of a sed subst in config.status.
23866 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23867 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23868 s,@SHELL@,$SHELL,;t t
23869 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23870 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23871 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23872 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23873 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23874 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23875 s,@exec_prefix@,$exec_prefix,;t t
23876 s,@prefix@,$prefix,;t t
23877 s,@program_transform_name@,$program_transform_name,;t t
23878 s,@bindir@,$bindir,;t t
23879 s,@sbindir@,$sbindir,;t t
23880 s,@libexecdir@,$libexecdir,;t t
23881 s,@datadir@,$datadir,;t t
23882 s,@sysconfdir@,$sysconfdir,;t t
23883 s,@sharedstatedir@,$sharedstatedir,;t t
23884 s,@localstatedir@,$localstatedir,;t t
23885 s,@libdir@,$libdir,;t t
23886 s,@includedir@,$includedir,;t t
23887 s,@oldincludedir@,$oldincludedir,;t t
23888 s,@infodir@,$infodir,;t t
23889 s,@mandir@,$mandir,;t t
23890 s,@build_alias@,$build_alias,;t t
23891 s,@host_alias@,$host_alias,;t t
23892 s,@target_alias@,$target_alias,;t t
23893 s,@DEFS@,$DEFS,;t t
23894 s,@ECHO_C@,$ECHO_C,;t t
23895 s,@ECHO_N@,$ECHO_N,;t t
23896 s,@ECHO_T@,$ECHO_T,;t t
23897 s,@LIBS@,$LIBS,;t t
23898 s,@build@,$build,;t t
23899 s,@build_cpu@,$build_cpu,;t t
23900 s,@build_vendor@,$build_vendor,;t t
23901 s,@build_os@,$build_os,;t t
23902 s,@host@,$host,;t t
23903 s,@host_cpu@,$host_cpu,;t t
23904 s,@host_vendor@,$host_vendor,;t t
23905 s,@host_os@,$host_os,;t t
23906 s,@target@,$target,;t t
23907 s,@target_cpu@,$target_cpu,;t t
23908 s,@target_vendor@,$target_vendor,;t t
23909 s,@target_os@,$target_os,;t t
23910 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23911 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23912 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23913 s,@CYGPATH_W@,$CYGPATH_W,;t t
23914 s,@PACKAGE@,$PACKAGE,;t t
23915 s,@VERSION@,$VERSION,;t t
23916 s,@ACLOCAL@,$ACLOCAL,;t t
23917 s,@AUTOCONF@,$AUTOCONF,;t t
23918 s,@AUTOMAKE@,$AUTOMAKE,;t t
23919 s,@AUTOHEADER@,$AUTOHEADER,;t t
23920 s,@MAKEINFO@,$MAKEINFO,;t t
23921 s,@AMTAR@,$AMTAR,;t t
23922 s,@install_sh@,$install_sh,;t t
23923 s,@STRIP@,$STRIP,;t t
23924 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23925 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23927 s,@SET_MAKE@,$SET_MAKE,;t t
23928 s,@am__leading_dot@,$am__leading_dot,;t t
23930 s,@CFLAGS@,$CFLAGS,;t t
23931 s,@LDFLAGS@,$LDFLAGS,;t t
23932 s,@CPPFLAGS@,$CPPFLAGS,;t t
23933 s,@ac_ct_CC@,$ac_ct_CC,;t t
23934 s,@EXEEXT@,$EXEEXT,;t t
23935 s,@OBJEXT@,$OBJEXT,;t t
23936 s,@DEPDIR@,$DEPDIR,;t t
23937 s,@am__include@,$am__include,;t t
23938 s,@am__quote@,$am__quote,;t t
23939 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23940 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23941 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23942 s,@CCDEPMODE@,$CCDEPMODE,;t t
23943 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23944 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23946 s,@EGREP@,$EGREP,;t t
23947 s,@LN_S@,$LN_S,;t t
23948 s,@RANLIB@,$RANLIB,;t t
23949 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23950 s,@PATH_SH@,$PATH_SH,;t t
23951 s,@PATH_PERL@,$PATH_PERL,;t t
23952 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
23954 s,@ANSI2KNR@,$ANSI2KNR,;t t
23955 s,@LIBOBJS@,$LIBOBJS,;t t
23956 s,@LIBPARSE@,$LIBPARSE,;t t
23957 s,@MAKE_LIBPARSE@,$MAKE_LIBPARSE,;t t
23958 s,@MAKE_LIBPARSE_KERNEL@,$MAKE_LIBPARSE_KERNEL,;t t
23959 s,@MAKE_CHECK_Y2K@,$MAKE_CHECK_Y2K,;t t
23960 s,@OPENSSL@,$OPENSSL,;t t
23961 s,@OPENSSL_INC@,$OPENSSL_INC,;t t
23962 s,@OPENSSL_LIB@,$OPENSSL_LIB,;t t
23963 s,@MAKE_NTP_KEYGEN@,$MAKE_NTP_KEYGEN,;t t
23964 s,@LCRYPTO@,$LCRYPTO,;t t
23965 s,@EF_PROGS@,$EF_PROGS,;t t
23966 s,@EF_LIBS@,$EF_LIBS,;t t
23967 s,@MAKE_SNTP@,$MAKE_SNTP,;t t
23968 s,@TESTDCF@,$TESTDCF,;t t
23969 s,@DCFD@,$DCFD,;t t
23970 s,@MAKE_PARSEKMODULE@,$MAKE_PARSEKMODULE,;t t
23971 s,@PROPDELAY@,$PROPDELAY,;t t
23972 s,@CHUTEST@,$CHUTEST,;t t
23973 s,@CLKTEST@,$CLKTEST,;t t
23974 s,@MAKE_ADJTIMED@,$MAKE_ADJTIMED,;t t
23975 s,@MAKE_NTPTIME@,$MAKE_NTPTIME,;t t
23976 s,@MAKE_TICKADJ@,$MAKE_TICKADJ,;t t
23977 s,@MAKE_TIMETRIM@,$MAKE_TIMETRIM,;t t
23978 s,@MAKE_LIBNTPSIM@,$MAKE_LIBNTPSIM,;t t
23979 s,@MAKE_NTPDSIM@,$MAKE_NTPDSIM,;t t
23980 s,@ARLIB_DIR@,$ARLIB_DIR,;t t
23981 s,@subdirs@,$subdirs,;t t
23982 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23987 cat >>$CONFIG_STATUS <<\_ACEOF
23988 # Split the substitutions into bite-sized pieces for seds with
23989 # small command number limits, like on Digital OSF/1 and HP-UX.
23990 ac_max_sed_lines=48
23991 ac_sed_frag=1 # Number of current file.
23992 ac_beg=1 # First line for current file.
23993 ac_end=$ac_max_sed_lines # Line after last line for current file.
23996 while $ac_more_lines; do
23997 if test $ac_beg -gt 1; then
23998 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24000 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24002 if test ! -s $tmp/subs.frag; then
24003 ac_more_lines=false
24005 # The purpose of the label and of the branching condition is to
24006 # speed up the sed processing (if there are no `@' at all, there
24007 # is no need to browse any of the substitutions).
24008 # These are the two extra sed commands mentioned above.
24010 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24011 if test -z "$ac_sed_cmds"; then
24012 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24014 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24016 ac_sed_frag=`expr $ac_sed_frag + 1`
24018 ac_end=`expr $ac_end + $ac_max_sed_lines`
24021 if test -z "$ac_sed_cmds"; then
24024 fi # test -n "$CONFIG_FILES"
24027 cat >>$CONFIG_STATUS <<\_ACEOF
24028 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24029 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24031 - | *:- | *:-:* ) # input from stdin
24033 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24034 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24035 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24036 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24037 * ) ac_file_in=$ac_file.in ;;
24040 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24041 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24042 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24043 X"$ac_file" : 'X\(//\)[^/]' \| \
24044 X"$ac_file" : 'X\(//\)$' \| \
24045 X"$ac_file" : 'X\(/\)' \| \
24046 . : '\(.\)' 2>/dev/null ||
24048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24050 /^X\(\/\/\)$/{ s//\1/; q; }
24051 /^X\(\/\).*/{ s//\1/; q; }
24053 { if $as_mkdir_p; then
24058 while test ! -d "$as_dir"; do
24059 as_dirs="$as_dir $as_dirs"
24060 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24062 X"$as_dir" : 'X\(//\)[^/]' \| \
24063 X"$as_dir" : 'X\(//\)$' \| \
24064 X"$as_dir" : 'X\(/\)' \| \
24065 . : '\(.\)' 2>/dev/null ||
24067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24069 /^X\(\/\/\)$/{ s//\1/; q; }
24070 /^X\(\/\).*/{ s//\1/; q; }
24073 test ! -n "$as_dirs" || mkdir $as_dirs
24074 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24075 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24076 { (exit 1); exit 1; }; }; }
24080 if test "$ac_dir" != .; then
24081 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24082 # A "../" for each directory in $ac_dir_suffix.
24083 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24085 ac_dir_suffix= ac_top_builddir=
24089 .) # No --srcdir option. We are building in place.
24091 if test -z "$ac_top_builddir"; then
24094 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24096 [\\/]* | ?:[\\/]* ) # Absolute path.
24097 ac_srcdir=$srcdir$ac_dir_suffix;
24098 ac_top_srcdir=$srcdir ;;
24099 *) # Relative path.
24100 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24101 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24103 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24105 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24106 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24107 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24108 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24112 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24113 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24116 if test x"$ac_file" != x-; then
24117 { echo "$as_me:$LINENO: creating $ac_file" >&5
24118 echo "$as_me: creating $ac_file" >&6;}
24121 # Let's still pretend it is `configure' which instantiates (i.e., don't
24122 # use $as_me), people would be surprised to read:
24123 # /* config.h. Generated by config.status. */
24124 if test x"$ac_file" = x-; then
24127 configure_input="$ac_file. "
24129 configure_input=$configure_input"Generated from `echo $ac_file_in |
24130 sed 's,.*/,,'` by configure."
24132 # First look for the input files in the build tree, otherwise in the
24134 ac_file_inputs=`IFS=:
24135 for f in $ac_file_in; do
24137 -) echo $tmp/stdin ;;
24139 # Absolute (can't be DOS-style, as IFS=:)
24140 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24141 echo "$as_me: error: cannot find input file: $f" >&2;}
24142 { (exit 1); exit 1; }; }
24145 if test -f "$f"; then
24148 elif test -f "$srcdir/$f"; then
24153 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24154 echo "$as_me: error: cannot find input file: $f" >&2;}
24155 { (exit 1); exit 1; }; }
24158 done` || { (exit 1); exit 1; }
24160 cat >>$CONFIG_STATUS <<_ACEOF
24164 cat >>$CONFIG_STATUS <<\_ACEOF
24166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24167 s,@configure_input@,$configure_input,;t t
24168 s,@srcdir@,$ac_srcdir,;t t
24169 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24170 s,@top_srcdir@,$ac_top_srcdir,;t t
24171 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24172 s,@builddir@,$ac_builddir,;t t
24173 s,@abs_builddir@,$ac_abs_builddir,;t t
24174 s,@top_builddir@,$ac_top_builddir,;t t
24175 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24176 s,@INSTALL@,$ac_INSTALL,;t t
24177 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24179 if test x"$ac_file" != x-; then
24180 mv $tmp/out $ac_file
24186 # Run the commands associated with the file.
24188 ntpdc/nl.pl ) chmod +x ntpdc/nl.pl ;;
24189 scripts/calc_tickadj ) chmod +x scripts/calc_tickadj ;;
24190 scripts/checktime ) chmod +x scripts/checktime ;;
24191 scripts/freq_adj ) chmod +x scripts/freq_adj ;;
24192 scripts/mkver ) chmod +x scripts/mkver ;;
24193 scripts/ntp-wait ) chmod +x scripts/ntp-wait ;;
24194 scripts/ntpsweep ) chmod +x scripts/ntpsweep ;;
24195 scripts/ntptrace ) chmod +x scripts/ntptrace ;;
24196 scripts/ntpver ) chmod +x scripts/ntpver ;;
24197 scripts/plot_summary ) chmod +x scripts/plot_summary ;;
24198 scripts/summary ) chmod +x scripts/summary ;;
24202 cat >>$CONFIG_STATUS <<\_ACEOF
24205 # CONFIG_HEADER section.
24208 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24209 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24211 # ac_d sets the value in "#define NAME VALUE" lines.
24212 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24213 ac_dB='[ ].*$,\1#\2'
24216 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24217 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24218 ac_uB='$,\1#\2define\3'
24222 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24223 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24225 - | *:- | *:-:* ) # input from stdin
24227 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24228 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24229 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24230 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24231 * ) ac_file_in=$ac_file.in ;;
24234 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24235 echo "$as_me: creating $ac_file" >&6;}
24237 # First look for the input files in the build tree, otherwise in the
24239 ac_file_inputs=`IFS=:
24240 for f in $ac_file_in; do
24242 -) echo $tmp/stdin ;;
24244 # Absolute (can't be DOS-style, as IFS=:)
24245 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24246 echo "$as_me: error: cannot find input file: $f" >&2;}
24247 { (exit 1); exit 1; }; }
24250 if test -f "$f"; then
24253 elif test -f "$srcdir/$f"; then
24258 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24259 echo "$as_me: error: cannot find input file: $f" >&2;}
24260 { (exit 1); exit 1; }; }
24263 done` || { (exit 1); exit 1; }
24264 # Remove the trailing spaces.
24265 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24269 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24270 # `conftest.undefs', that substitutes the proper values into
24271 # config.h.in to produce config.h. The first handles `#define'
24272 # templates, and the second `#undef' templates.
24273 # And first: Protect against being on the right side of a sed subst in
24274 # config.status. Protect against being in an unquoted here document
24275 # in config.status.
24276 rm -f conftest.defines conftest.undefs
24277 # Using a here document instead of a string reduces the quoting nightmare.
24278 # Putting comments in sed scripts is not portable.
24280 # `end' is used to avoid that the second main sed command (meant for
24281 # 0-ary CPP macros) applies to n-ary macro definitions.
24282 # See the Autoconf documentation for `clear'.
24283 cat >confdef2sed.sed <<\_ACEOF
24288 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24290 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24293 # If some macros were called several times there might be several times
24294 # the same #defines, which is useless. Nevertheless, we may not want to
24295 # sort them, since we want the *last* AC-DEFINE to be honored.
24296 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24297 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24298 rm -f confdef2sed.sed
24300 # This sed command replaces #undef with comments. This is necessary, for
24301 # example, in the case of _POSIX_SOURCE, which is predefined and required
24302 # on some systems where configure will not decide to define it.
24303 cat >>conftest.undefs <<\_ACEOF
24304 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24307 # Break up conftest.defines because some shells have a limit on the size
24308 # of here documents, and old seds have small limits too (100 cmds).
24309 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24310 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24311 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24312 echo ' :' >>$CONFIG_STATUS
24313 rm -f conftest.tail
24314 while grep . conftest.defines >/dev/null
24316 # Write a limited-size here document to $tmp/defines.sed.
24317 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24318 # Speed up: don't consider the non `#define' lines.
24319 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24320 # Work around the forget-to-reset-the-flag bug.
24321 echo 't clr' >>$CONFIG_STATUS
24322 echo ': clr' >>$CONFIG_STATUS
24323 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24325 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24327 mv $tmp/out $tmp/in
24329 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24330 rm -f conftest.defines
24331 mv conftest.tail conftest.defines
24333 rm -f conftest.defines
24334 echo ' fi # grep' >>$CONFIG_STATUS
24335 echo >>$CONFIG_STATUS
24337 # Break up conftest.undefs because some shells have a limit on the size
24338 # of here documents, and old seds have small limits too (100 cmds).
24339 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24340 rm -f conftest.tail
24341 while grep . conftest.undefs >/dev/null
24343 # Write a limited-size here document to $tmp/undefs.sed.
24344 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24345 # Speed up: don't consider the non `#undef'
24346 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24347 # Work around the forget-to-reset-the-flag bug.
24348 echo 't clr' >>$CONFIG_STATUS
24349 echo ': clr' >>$CONFIG_STATUS
24350 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24352 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24354 mv $tmp/out $tmp/in
24356 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24357 rm -f conftest.undefs
24358 mv conftest.tail conftest.undefs
24360 rm -f conftest.undefs
24362 cat >>$CONFIG_STATUS <<\_ACEOF
24363 # Let's still pretend it is `configure' which instantiates (i.e., don't
24364 # use $as_me), people would be surprised to read:
24365 # /* config.h. Generated by config.status. */
24366 if test x"$ac_file" = x-; then
24367 echo "/* Generated by configure. */" >$tmp/config.h
24369 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24371 cat $tmp/in >>$tmp/config.h
24373 if test x"$ac_file" != x-; then
24374 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24375 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24376 echo "$as_me: $ac_file is unchanged" >&6;}
24378 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24380 X"$ac_file" : 'X\(//\)[^/]' \| \
24381 X"$ac_file" : 'X\(//\)$' \| \
24382 X"$ac_file" : 'X\(/\)' \| \
24383 . : '\(.\)' 2>/dev/null ||
24385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24387 /^X\(\/\/\)$/{ s//\1/; q; }
24388 /^X\(\/\).*/{ s//\1/; q; }
24390 { if $as_mkdir_p; then
24395 while test ! -d "$as_dir"; do
24396 as_dirs="$as_dir $as_dirs"
24397 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24399 X"$as_dir" : 'X\(//\)[^/]' \| \
24400 X"$as_dir" : 'X\(//\)$' \| \
24401 X"$as_dir" : 'X\(/\)' \| \
24402 . : '\(.\)' 2>/dev/null ||
24404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24405 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24406 /^X\(\/\/\)$/{ s//\1/; q; }
24407 /^X\(\/\).*/{ s//\1/; q; }
24410 test ! -n "$as_dirs" || mkdir $as_dirs
24411 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24412 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24413 { (exit 1); exit 1; }; }; }
24416 mv $tmp/config.h $ac_file
24420 rm -f $tmp/config.h
24422 # Compute $ac_file's index in $config_headers.
24424 for _am_header in $config_headers :; do
24425 case $_am_header in
24426 $ac_file | $ac_file:* )
24429 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24432 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24433 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24434 X$ac_file : 'X\(//\)[^/]' \| \
24435 X$ac_file : 'X\(//\)$' \| \
24436 X$ac_file : 'X\(/\)' \| \
24437 . : '\(.\)' 2>/dev/null ||
24439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24441 /^X\(\/\/\)$/{ s//\1/; q; }
24442 /^X\(\/\).*/{ s//\1/; q; }
24443 s/.*/./; q'`/stamp-h$_am_stamp_count
24446 cat >>$CONFIG_STATUS <<\_ACEOF
24449 # CONFIG_COMMANDS section.
24451 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24452 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24453 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24454 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24455 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24456 X"$ac_dest" : 'X\(//\)[^/]' \| \
24457 X"$ac_dest" : 'X\(//\)$' \| \
24458 X"$ac_dest" : 'X\(/\)' \| \
24459 . : '\(.\)' 2>/dev/null ||
24461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24462 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24463 /^X\(\/\/\)$/{ s//\1/; q; }
24464 /^X\(\/\).*/{ s//\1/; q; }
24468 if test "$ac_dir" != .; then
24469 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24470 # A "../" for each directory in $ac_dir_suffix.
24471 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24473 ac_dir_suffix= ac_top_builddir=
24477 .) # No --srcdir option. We are building in place.
24479 if test -z "$ac_top_builddir"; then
24482 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24484 [\\/]* | ?:[\\/]* ) # Absolute path.
24485 ac_srcdir=$srcdir$ac_dir_suffix;
24486 ac_top_srcdir=$srcdir ;;
24487 *) # Relative path.
24488 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24489 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24491 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24493 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24494 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24495 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24496 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24499 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24500 echo "$as_me: executing $ac_dest commands" >&6;}
24502 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24503 # Strip MF so we end up with the name of the file.
24504 mf=`echo "$mf" | sed -e 's/:.*$//'`
24505 # Check whether this is an Automake generated Makefile or not.
24506 # We used to match only the files named `Makefile.in', but
24507 # some people rename them; so instead we look at the file content.
24508 # Grep'ing the first line is not enough: some people post-process
24509 # each Makefile.in and add a new line on top of each file to say so.
24510 # So let's grep whole file.
24511 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24512 dirpart=`(dirname "$mf") 2>/dev/null ||
24513 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24514 X"$mf" : 'X\(//\)[^/]' \| \
24515 X"$mf" : 'X\(//\)$' \| \
24516 X"$mf" : 'X\(/\)' \| \
24517 . : '\(.\)' 2>/dev/null ||
24519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24521 /^X\(\/\/\)$/{ s//\1/; q; }
24522 /^X\(\/\).*/{ s//\1/; q; }
24527 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
24528 # Extract the definition of DEP_FILES from the Makefile without
24530 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
24531 test -z "$DEPDIR" && continue
24532 # When using ansi2knr, U may be empty or an underscore; expand it
24533 U=`sed -n -e '/^U = / s///p' < "$mf"`
24534 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
24535 # We invoke sed twice because it is the simplest approach to
24536 # changing $(DEPDIR) to its actual value in the expansion.
24537 for file in `sed -n -e '
24538 /^DEP_FILES = .*\\\\$/ {
24547 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
24548 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24549 # Make sure the directory exists.
24550 test -f "$dirpart/$file" && continue
24551 fdir=`(dirname "$file") 2>/dev/null ||
24552 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24553 X"$file" : 'X\(//\)[^/]' \| \
24554 X"$file" : 'X\(//\)$' \| \
24555 X"$file" : 'X\(/\)' \| \
24556 . : '\(.\)' 2>/dev/null ||
24558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24560 /^X\(\/\/\)$/{ s//\1/; q; }
24561 /^X\(\/\).*/{ s//\1/; q; }
24563 { if $as_mkdir_p; then
24564 mkdir -p $dirpart/$fdir
24566 as_dir=$dirpart/$fdir
24568 while test ! -d "$as_dir"; do
24569 as_dirs="$as_dir $as_dirs"
24570 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24572 X"$as_dir" : 'X\(//\)[^/]' \| \
24573 X"$as_dir" : 'X\(//\)$' \| \
24574 X"$as_dir" : 'X\(/\)' \| \
24575 . : '\(.\)' 2>/dev/null ||
24577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24579 /^X\(\/\/\)$/{ s//\1/; q; }
24580 /^X\(\/\).*/{ s//\1/; q; }
24583 test ! -n "$as_dirs" || mkdir $as_dirs
24584 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24585 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24586 { (exit 1); exit 1; }; }; }
24588 # echo "creating $dirpart/$file"
24589 echo '# dummy' > "$dirpart/$file"
24597 cat >>$CONFIG_STATUS <<\_ACEOF
24599 { (exit 0); exit 0; }
24601 chmod +x $CONFIG_STATUS
24602 ac_clean_files=$ac_clean_files_save
24605 # configure is writing to config.log, and then calls config.status.
24606 # config.status does its own redirection, appending to config.log.
24607 # Unfortunately, on DOS this fails, as config.log is still kept open
24608 # by configure, so config.status won't be able to write to it; its
24609 # output is simply discarded. So we exec the FD to /dev/null,
24610 # effectively closing config.log, so it can be properly (re)opened and
24611 # appended to by config.status. When coming back to configure, we
24612 # need to make the FD available again.
24613 if test "$no_create" != yes; then
24615 ac_config_status_args=
24616 test "$silent" = yes &&
24617 ac_config_status_args="$ac_config_status_args --quiet"
24619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24622 # would make configure fail if this is the last instruction.
24623 $ac_cs_success || { (exit 1); exit 1; }
24627 # CONFIG_SUBDIRS section.
24629 if test "$no_recursion" != yes; then
24631 # Remove --cache-file and --srcdir arguments so they do not pile up.
24632 ac_sub_configure_args=
24634 for ac_arg in $ac_configure_args; do
24635 if test -n "$ac_prev"; then
24640 -cache-file | --cache-file | --cache-fil | --cache-fi \
24641 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24642 ac_prev=cache_file ;;
24643 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24644 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24647 --config-cache | -C)
24649 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24651 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24653 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24655 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24657 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24661 # Always prepend --prefix to ensure using the same prefix
24662 # in subdir configurations.
24663 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24666 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24668 # Do not complain, so a configure script can configure whichever
24669 # parts of a large source tree are present.
24670 test -d $srcdir/$ac_dir || continue
24672 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24673 echo "$as_me: configuring in $ac_dir" >&6;}
24674 { if $as_mkdir_p; then
24679 while test ! -d "$as_dir"; do
24680 as_dirs="$as_dir $as_dirs"
24681 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24682 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24683 X"$as_dir" : 'X\(//\)[^/]' \| \
24684 X"$as_dir" : 'X\(//\)$' \| \
24685 X"$as_dir" : 'X\(/\)' \| \
24686 . : '\(.\)' 2>/dev/null ||
24688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24689 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24690 /^X\(\/\/\)$/{ s//\1/; q; }
24691 /^X\(\/\).*/{ s//\1/; q; }
24694 test ! -n "$as_dirs" || mkdir $as_dirs
24695 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24696 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24697 { (exit 1); exit 1; }; }; }
24701 if test "$ac_dir" != .; then
24702 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24703 # A "../" for each directory in $ac_dir_suffix.
24704 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24706 ac_dir_suffix= ac_top_builddir=
24710 .) # No --srcdir option. We are building in place.
24712 if test -z "$ac_top_builddir"; then
24715 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24717 [\\/]* | ?:[\\/]* ) # Absolute path.
24718 ac_srcdir=$srcdir$ac_dir_suffix;
24719 ac_top_srcdir=$srcdir ;;
24720 *) # Relative path.
24721 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24722 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24724 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24726 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24727 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24728 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24729 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24734 # Check for guested configure; otherwise get Cygnus style configure.
24735 if test -f $ac_srcdir/configure.gnu; then
24736 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24737 elif test -f $ac_srcdir/configure; then
24738 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24739 elif test -f $ac_srcdir/configure.in; then
24740 ac_sub_configure=$ac_configure
24742 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24743 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24747 # The recursion is here.
24748 if test -n "$ac_sub_configure"; then
24749 # Make the cache file name correct relative to the subdirectory.
24750 case $cache_file in
24751 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24752 *) # Relative path.
24753 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24756 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24757 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24758 # The eval makes quoting arguments work.
24759 eval $ac_sub_configure $ac_sub_configure_args \
24760 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24761 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24762 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24763 { (exit 1); exit 1; }; }