2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
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.
10 if expr a : '\(a\)' >/dev/null 2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 if expr a : '\(a\)' >/dev/null 2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.file conf$$ 2>/dev/null; then
211 rm -f conf$$ conf$$.exe conf$$.file
213 as_executable_p="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix=/usr/local
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file="ntpd/ntp_refclock.c"
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
822 --build=BUILD configure for building on BUILD [guessed]
823 --host=HOST cross-compile to build programs to run on HOST [BUILD]
824 --target=TARGET configure for building compilers for TARGET [HOST]
828 if test -n "$ac_init_help"; then
833 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
834 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
835 --disable-dependency-tracking Speeds up one-time builds
836 --enable-dependency-tracking Do not reject slow dependency extractors
837 --enable-debugging + include debugging code
838 --enable-dst-minutes=60 + minutes per DST adjustment
839 --enable-BANCOMM - Datum/Bancomm bc635/VME interface
840 --enable-GPSVME - TrueTime GPS receiver/VME interface
841 --enable-SHM - SHM clock attached thru shared memory
842 --enable-all-clocks + include all suitable non-PARSE clocks:
843 --enable-ACTS + ACTS modem service
844 --enable-ARBITER + Arbiter 1088A/B GPS receiver
845 --enable-ARCRON-MSF + Arcron MSF receiver
846 --enable-AS2201 + Austron 2200A/2201A GPS receiver
847 --enable-ATOM s ATOM PPS interface
848 --enable-CHRONOLOG + Chrono-log K-series WWVB receiver
849 --enable-CHU - CHU modem/decoder
850 --enable-AUDIO-CHU s CHU audio/decoder
851 --enable-DATUM s Datum Programmable Time System
852 --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock
853 --enable-FG + Forum Graphic GPS
854 --enable-HEATH s Heath GC-1000 WWV/WWVH receiver
855 --enable-HOPFSERIAL + hopf serial clock device
856 --enable-HOPFPCI + hopf 6039 PCI board
857 --enable-HPGPS + HP 58503A GPS receiver
858 --enable-IRIG s IRIG audio decoder
859 --enable-JJY + JJY receiver
860 --enable-JUPITER s Rockwell Jupiter GPS receiver
861 --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver
862 --enable-LOCAL-CLOCK + local clock reference
863 --enable-MSFEES + EES M201 MSF receiver
864 --enable-MX4200 s Magnavox MX4200 GPS receiver
865 --enable-NEOCLOCK4X - NeoClock4X DCF77 / TDF receiver
866 --enable-NMEA + NMEA GPS receiver
867 --enable-ONCORE s Motorola VP/UT Oncore GPS receiver
868 --enable-PALISADE + Palisade clock
869 --enable-PCF + Conrad parallel port radio clock
870 --enable-PST + PST/Traconex 1020 WWV/WWVH receiver
871 --enable-PTBACTS s PTB modem service
872 --enable-RIPENCC - RIPENCC specific Trimble driver
873 --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver
874 --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface
875 --enable-TRAK + TRAK 8810 GPS receiver
876 --enable-TRUETIME s Kinemetrics/TrueTime receivers
877 --enable-TT560 - TrueTime 560 IRIG-B decoder
878 --enable-ULINK + Ultralink WWVB receiver
879 --enable-USNO s USNO modem service
880 --enable-WWV + WWV Audio receiver
881 --enable-ZYFER + Zyfer GPStarplus receiver
882 --enable-parse-clocks - include all suitable PARSE clocks:
883 --enable-COMPUTIME s Diem Computime Radio Clock
884 --enable-DCF7000 s ELV/DCF7000 clock
885 --enable-HOPF6021 s HOPF 6021 clock
886 --enable-MEINBERG s Meinberg clocks
887 --enable-RAWDCF s DCF77 raw time code
888 --enable-RCC8000 s RCC 8000 clock
889 --enable-SCHMID s Schmid DCF77 clock
890 --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol
891 --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol
892 --enable-WHARTON s WHARTON 400A Series clock
893 --enable-VARITEXT s VARITEXT clock
894 --enable-kmem s read /dev/kmem for tick and/or tickadj
895 --enable-accurate-adjtime
896 s the adjtime() call is accurate
897 --enable-tick=VALUE s force a value for 'tick'
898 --enable-tickadj=VALUE s force a value for 'tickadj'
899 --enable-udp-wildcard s use UDP wildcard delivery
900 --enable-slew-always s always slew the time
901 --enable-step-slew s step and slew the time
902 --enable-ntpdate-step s if ntpdate should step the time
903 --enable-hourly-todr-sync
904 s if we should sync TODR hourly
905 --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
908 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
909 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
910 --with-openssl-libdir + =/something/reasonable
911 --with-openssl-incdir + =/something/reasonable
912 --with-crypto + ={autokey,rsaref}
913 --with-electricfence - compile with ElectricFence malloc debugger
915 Some influential environment variables:
916 CC C compiler command
917 CFLAGS C compiler flags
918 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
919 nonstandard directory <lib dir>
920 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
921 headers in a nonstandard directory <include dir>
924 Use these variables to override the choices made by `configure' or to help
925 it to find libraries and programs with nonstandard names/locations.
930 if test "$ac_init_help" = "recursive"; then
931 # If there are subdirs, report their specific --help.
933 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
934 test -d $ac_dir || continue
937 if test "$ac_dir" != .; then
938 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
939 # A "../" for each directory in $ac_dir_suffix.
940 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
942 ac_dir_suffix= ac_top_builddir=
946 .) # No --srcdir option. We are building in place.
948 if test -z "$ac_top_builddir"; then
951 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
953 [\\/]* | ?:[\\/]* ) # Absolute path.
954 ac_srcdir=$srcdir$ac_dir_suffix;
955 ac_top_srcdir=$srcdir ;;
957 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
958 ac_top_srcdir=$ac_top_builddir$srcdir ;;
960 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
962 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
963 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
964 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
965 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
968 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu; then
971 $SHELL $ac_srcdir/configure.gnu --help=recursive
972 elif test -f $ac_srcdir/configure; then
974 $SHELL $ac_srcdir/configure --help=recursive
975 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.in; then
980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
986 test -n "$ac_init_help" && exit 0
987 if $ac_init_version; then
990 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
991 Free Software Foundation, Inc.
992 This configure script is free software; the Free Software Foundation
993 gives unlimited permission to copy, distribute and modify it.
999 This file contains any messages produced by compilers while
1000 running configure, to aid debugging if configure makes a mistake.
1002 It was created by $as_me, which was
1003 generated by GNU Autoconf 2.53. Invocation command line was
1014 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1015 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1016 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1017 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1018 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1020 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1021 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1023 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1024 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1025 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1026 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1027 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1028 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1029 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1037 test -z "$as_dir" && as_dir=.
1038 echo "PATH: $as_dir"
1053 # Keep a trace of the command line.
1054 # Strip out --no-create and --no-recursion so they do not pile up.
1055 # Also quote any args containing shell meta-characters.
1061 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1062 | --no-cr | --no-c | -n ) continue ;;
1063 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1064 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1069 case " $ac_configure_args " in
1070 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1071 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1077 # When interrupted or exit'd, cleanup temporary files, and complete
1078 # config.log. We remove comments because anyway the quotes in there
1079 # would cause problems or look ugly.
1080 # WARNING: Be sure not to use single quotes in there, as some shells,
1081 # such as our DU 5.0 friend, will then `close' the trap.
1082 trap 'exit_status=$?
1083 # Save into config.log some information that might help in debugging.
1087 ## ---------------- ##
1088 ## Cache variables. ##
1089 ## ---------------- ##
1092 # The following way of writing the cache mishandles newlines in values,
1095 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1103 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 if test -s confdefs.h; then
1115 sed "/^$/d" confdefs.h
1118 test "$ac_signal" != 0 &&
1119 echo "$as_me: caught signal $ac_signal"
1120 echo "$as_me: exit $exit_status"
1122 rm -f core core.* *.core &&
1123 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1126 for ac_signal in 1 2 13 15; do
1127 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1132 rm -rf conftest* confdefs.h
1133 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1136 # Predefined preprocessor variables.
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_NAME "$PACKAGE_NAME"
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_STRING "$PACKAGE_STRING"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1163 # Let the site file select an alternate cache file if it wants to.
1164 # Prefer explicitly selected file to automatically selected ones.
1165 if test -z "$CONFIG_SITE"; then
1166 if test "x$prefix" != xNONE; then
1167 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1169 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1172 for ac_site_file in $CONFIG_SITE; do
1173 if test -r "$ac_site_file"; then
1174 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1175 echo "$as_me: loading site script $ac_site_file" >&6;}
1176 sed 's/^/| /' "$ac_site_file" >&5
1181 if test -r "$cache_file"; then
1182 # Some versions of bash will fail to source /dev/null (special
1183 # files actually), so we avoid doing that.
1184 if test -f "$cache_file"; then
1185 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1186 echo "$as_me: loading cache $cache_file" >&6;}
1188 [\\/]* | ?:[\\/]* ) . $cache_file;;
1189 *) . ./$cache_file;;
1193 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1194 echo "$as_me: creating cache $cache_file" >&6;}
1198 # Check that the precious variables saved in the cache have kept the same
1200 ac_cache_corrupted=false
1201 for ac_var in `(set) 2>&1 |
1202 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1203 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1204 eval ac_new_set=\$ac_env_${ac_var}_set
1205 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1206 eval ac_new_val="\$ac_env_${ac_var}_value"
1207 case $ac_old_set,$ac_new_set in
1209 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1210 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1211 ac_cache_corrupted=: ;;
1213 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1214 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1215 ac_cache_corrupted=: ;;
1218 if test "x$ac_old_val" != "x$ac_new_val"; then
1219 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1220 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1221 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1222 echo "$as_me: former value: $ac_old_val" >&2;}
1223 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1224 echo "$as_me: current value: $ac_new_val" >&2;}
1225 ac_cache_corrupted=:
1228 # Pass precious variables to config.status.
1229 if test "$ac_new_set" = set; then
1231 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1232 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1233 *) ac_arg=$ac_var=$ac_new_val ;;
1235 case " $ac_configure_args " in
1236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1237 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1241 if $ac_cache_corrupted; then
1242 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1243 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1244 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1245 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1246 { (exit 1); exit 1; }; }
1250 ac_cpp='$CPP $CPPFLAGS'
1251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1273 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1274 if test -f $ac_dir/install-sh; then
1276 ac_install_sh="$ac_aux_dir/install-sh -c"
1278 elif test -f $ac_dir/install.sh; then
1280 ac_install_sh="$ac_aux_dir/install.sh -c"
1282 elif test -f $ac_dir/shtool; then
1284 ac_install_sh="$ac_aux_dir/shtool install -c"
1288 if test -z "$ac_aux_dir"; then
1289 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1290 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1291 { (exit 1); exit 1; }; }
1293 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1294 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1295 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1297 # Make sure we can run config.sub.
1298 $ac_config_sub sun4 >/dev/null 2>&1 ||
1299 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1300 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1301 { (exit 1); exit 1; }; }
1303 echo "$as_me:$LINENO: checking build system type" >&5
1304 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1305 if test "${ac_cv_build+set}" = set; then
1306 echo $ECHO_N "(cached) $ECHO_C" >&6
1308 ac_cv_build_alias=$build_alias
1309 test -z "$ac_cv_build_alias" &&
1310 ac_cv_build_alias=`$ac_config_guess`
1311 test -z "$ac_cv_build_alias" &&
1312 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1313 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1314 { (exit 1); exit 1; }; }
1315 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1316 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1317 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1318 { (exit 1); exit 1; }; }
1321 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1322 echo "${ECHO_T}$ac_cv_build" >&6
1324 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1325 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1326 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1329 echo "$as_me:$LINENO: checking host system type" >&5
1330 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1331 if test "${ac_cv_host+set}" = set; then
1332 echo $ECHO_N "(cached) $ECHO_C" >&6
1334 ac_cv_host_alias=$host_alias
1335 test -z "$ac_cv_host_alias" &&
1336 ac_cv_host_alias=$ac_cv_build_alias
1337 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1338 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1339 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1340 { (exit 1); exit 1; }; }
1343 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1344 echo "${ECHO_T}$ac_cv_host" >&6
1346 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1347 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1348 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1351 echo "$as_me:$LINENO: checking target system type" >&5
1352 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1353 if test "${ac_cv_target+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_target_alias=$target_alias
1357 test "x$ac_cv_target_alias" = "x" &&
1358 ac_cv_target_alias=$ac_cv_host_alias
1359 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1360 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1361 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1362 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1366 echo "${ECHO_T}$ac_cv_target" >&6
1367 target=$ac_cv_target
1368 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1369 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1370 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1373 # The aliases save the names the user supplied, while $host etc.
1374 # will get canonicalized.
1375 test -n "$target_alias" &&
1376 test "$program_prefix$program_suffix$program_transform_name" = \
1378 program_prefix=${target_alias}-
1380 cat >>confdefs.h <<_ACEOF
1381 #define STR_SYSTEM "$host"
1387 ac_config_headers="$ac_config_headers config.h"
1389 test "$program_prefix" != NONE &&
1390 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1391 # Use a double $ so make ignores it.
1392 test "$program_suffix" != NONE &&
1393 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1394 # Double any \ or $. echo might interpret backslashes.
1395 # By default was `s,x,x', remove it if useless.
1396 cat <<\_ACEOF >conftest.sed
1397 s/[\\$]/&&/g;s/;s,x,x,$//
1399 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1402 # Find a good install program. We prefer a C program (faster),
1403 # so one script is as good as another. But avoid the broken or
1404 # incompatible versions:
1405 # SysV /etc/install, /usr/sbin/install
1406 # SunOS /usr/etc/install
1407 # IRIX /sbin/install
1409 # AmigaOS /C/install, which installs bootblocks on floppy discs
1410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1413 # ./install, which can be erroneously created by make from ./install.sh.
1414 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1415 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1416 if test -z "$INSTALL"; then
1417 if test "${ac_cv_path_install+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1424 test -z "$as_dir" && as_dir=.
1425 # Account for people who put trailing slashes in PATH elements.
1427 ./ | .// | /cC/* | \
1428 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1431 # OSF1 and SCO ODT 3.0 have their own names for install.
1432 # Don't use installbsd from OSF since it installs stuff as root
1434 for ac_prog in ginstall scoinst install; do
1435 for ac_exec_ext in '' $ac_executable_extensions; do
1436 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1437 if test $ac_prog = install &&
1438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1439 # AIX install. It has an incompatible calling convention.
1441 elif test $ac_prog = install &&
1442 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1443 # program-specific install script used by HP pwplus--don't use.
1446 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1458 if test "${ac_cv_path_install+set}" = set; then
1459 INSTALL=$ac_cv_path_install
1461 # As a last resort, use the slow shell script. We don't cache a
1462 # path for INSTALL within a source directory, because that will
1463 # break other packages using the cache if that directory is
1464 # removed, or if the path is relative.
1465 INSTALL=$ac_install_sh
1468 echo "$as_me:$LINENO: result: $INSTALL" >&5
1469 echo "${ECHO_T}$INSTALL" >&6
1471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1472 # It thinks the first close brace ends the variable substitution.
1473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1479 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1480 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1483 echo timestamp > conftest.file
1484 # Do `set' in a subshell so we don't clobber the current shell's
1485 # arguments. Must try -L first in case configure is actually a
1486 # symlink; some systems play weird games with the mod time of symlinks
1487 # (eg FreeBSD returns the mod time of the symlink's containing
1490 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1491 if test "$*" = "X"; then
1493 set X `ls -t $srcdir/configure conftest.file`
1496 if test "$*" != "X $srcdir/configure conftest.file" \
1497 && test "$*" != "X conftest.file $srcdir/configure"; then
1499 # If neither matched, then we have a broken ls. This can happen
1500 # if, for instance, CONFIG_SHELL is bash and it inherits a
1501 # broken ls alias from the environment. This has actually
1502 # happened. Such a system could not be considered "sane".
1503 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1504 alias in your environment" >&5
1505 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1506 alias in your environment" >&2;}
1507 { (exit 1); exit 1; }; }
1510 test "$2" = conftest.file
1516 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1517 Check your system clock" >&5
1518 echo "$as_me: error: newly created file is older than distributed files!
1519 Check your system clock" >&2;}
1520 { (exit 1); exit 1; }; }
1522 echo "$as_me:$LINENO: result: yes" >&5
1523 echo "${ECHO_T}yes" >&6
1525 # expand $ac_aux_dir to an absolute path
1526 am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1528 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1529 # Use eval to expand $SHELL
1530 if eval "$MISSING --run true"; then
1531 am_missing_run="$MISSING --run "
1535 { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1536 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1539 for ac_prog in gawk mawk nawk awk
1541 # Extract the first word of "$ac_prog", so it can be a program name with args.
1542 set dummy $ac_prog; ac_word=$2
1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545 if test "${ac_cv_prog_AWK+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 if test -n "$AWK"; then
1549 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1555 test -z "$as_dir" && as_dir=.
1556 for ac_exec_ext in '' $ac_executable_extensions; do
1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558 ac_cv_prog_AWK="$ac_prog"
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1568 if test -n "$AWK"; then
1569 echo "$as_me:$LINENO: result: $AWK" >&5
1570 echo "${ECHO_T}$AWK" >&6
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1576 test -n "$AWK" && break
1579 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1580 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1582 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 cat >conftest.make <<\_ACEOF
1587 @echo 'ac_maketemp="${MAKE}"'
1589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1590 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1591 if test -n "$ac_maketemp"; then
1592 eval ac_cv_prog_make_${ac_make}_set=yes
1594 eval ac_cv_prog_make_${ac_make}_set=no
1598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1599 echo "$as_me:$LINENO: result: yes" >&5
1600 echo "${ECHO_T}yes" >&6
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1605 SET_MAKE="MAKE=${MAKE-make}"
1608 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1609 if test "${enable_dependency_tracking+set}" = set; then
1610 enableval="$enable_dependency_tracking"
1613 if test "x$enable_dependency_tracking" != xno; then
1614 am_depcomp="$ac_aux_dir/depcomp"
1619 if test "x$enable_dependency_tracking" != xno; then
1630 rm -f .deps 2>/dev/null
1631 mkdir .deps 2>/dev/null
1632 if test -d .deps; then
1635 # MS-DOS does not allow filenames that begin with a dot.
1638 rmdir .deps 2>/dev/null
1641 # test to see if srcdir already configured
1642 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1643 test -f $srcdir/config.status; then
1644 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1645 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1646 { (exit 1); exit 1; }; }
1649 # Define the identity of the package.
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE "$PACKAGE"
1658 cat >>confdefs.h <<_ACEOF
1659 #define VERSION "$VERSION"
1663 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1664 # the ones we care about.
1666 # Autoconf 2.50 always computes EXEEXT. However we need to be
1667 # compatible with 2.13, for now. So we always define EXEEXT, but we
1670 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1671 # requests that it be used. This is a bit dumb.
1675 # Some tools Automake needs.
1677 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1680 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1683 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1686 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1689 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1692 AMTAR=${AMTAR-"${am_missing_run}tar"}
1694 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1696 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1698 # We need awk for the "check" target. The system "awk" is bad on
1701 # We need the cross-compile-aware SIZEOF stuff.
1703 ac_cv_var_atom_ok=no
1704 ac_cv_var_oncore_ok=no
1705 ac_cv_var_ripe_ncc_ok=no
1710 ac_cpp='$CPP $CPPFLAGS'
1711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1714 if test -n "$ac_tool_prefix"; then
1715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1716 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1717 echo "$as_me:$LINENO: checking for $ac_word" >&5
1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1719 if test "${ac_cv_prog_CC+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 if test -n "$CC"; then
1723 ac_cv_prog_CC="$CC" # Let the user override the test.
1725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1729 test -z "$as_dir" && as_dir=.
1730 for ac_exec_ext in '' $ac_executable_extensions; do
1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 if test -n "$CC"; then
1743 echo "$as_me:$LINENO: result: $CC" >&5
1744 echo "${ECHO_T}$CC" >&6
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1751 if test -z "$ac_cv_prog_CC"; then
1753 # Extract the first word of "gcc", so it can be a program name with args.
1754 set dummy gcc; ac_word=$2
1755 echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$ac_ct_CC"; then
1761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir=.
1768 for ac_exec_ext in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_prog_ac_ct_CC="gcc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1780 if test -n "$ac_ct_CC"; then
1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1782 echo "${ECHO_T}$ac_ct_CC" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1793 if test -z "$CC"; then
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1796 set dummy ${ac_tool_prefix}cc; ac_word=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC="$CC" # Let the user override the test.
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir=.
1810 for ac_exec_ext in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_CC="${ac_tool_prefix}cc"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$CC"; then
1823 echo "$as_me:$LINENO: result: $CC" >&5
1824 echo "${ECHO_T}$CC" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1831 if test -z "$ac_cv_prog_CC"; then
1833 # Extract the first word of "cc", so it can be a program name with args.
1834 set dummy cc; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$ac_ct_CC"; then
1841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_ac_ct_CC="cc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1860 if test -n "$ac_ct_CC"; then
1861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1862 echo "${ECHO_T}$ac_ct_CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1874 if test -z "$CC"; then
1875 # Extract the first word of "cc", so it can be a program name with args.
1876 set dummy cc; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$CC"; then
1883 ac_cv_prog_CC="$CC" # Let the user override the test.
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1894 ac_prog_rejected=yes
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 if test $ac_prog_rejected = yes; then
1905 # We found a bogon in the path, so make sure we never use it.
1906 set dummy $ac_cv_prog_CC
1908 if test $# != 0; then
1909 # We chose a different compiler from the bogus one.
1910 # However, it has the same basename, so the bogon will be chosen
1911 # first if we set CC to just the basename; use the full file name.
1913 set dummy "$as_dir/$ac_word" ${1+"$@"}
1921 if test -n "$CC"; then
1922 echo "$as_me:$LINENO: result: $CC" >&5
1923 echo "${ECHO_T}$CC" >&6
1925 echo "$as_me:$LINENO: result: no" >&5
1926 echo "${ECHO_T}no" >&6
1930 if test -z "$CC"; then
1931 if test -n "$ac_tool_prefix"; then
1934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$CC"; then
1942 ac_cv_prog_CC="$CC" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 if test -n "$CC"; then
1962 echo "$as_me:$LINENO: result: $CC" >&5
1963 echo "${ECHO_T}$CC" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1969 test -n "$CC" && break
1972 if test -z "$CC"; then
1976 # Extract the first word of "$ac_prog", so it can be a program name with args.
1977 set dummy $ac_prog; ac_word=$2
1978 echo "$as_me:$LINENO: checking for $ac_word" >&5
1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test -n "$ac_ct_CC"; then
1984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993 ac_cv_prog_ac_ct_CC="$ac_prog"
1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2003 if test -n "$ac_ct_CC"; then
2004 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2005 echo "${ECHO_T}$ac_ct_CC" >&6
2007 echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6
2011 test -n "$ac_ct_CC" && break
2020 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2021 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2022 { (exit 1); exit 1; }; }
2024 # Provide some information about the compiler.
2025 echo "$as_me:$LINENO:" \
2026 "checking for C compiler version" >&5
2027 ac_compiler=`set X $ac_compile; echo $2`
2028 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2029 (eval $ac_compiler --version </dev/null >&5) 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2034 (eval $ac_compiler -v </dev/null >&5) 2>&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }
2038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2039 (eval $ac_compiler -V </dev/null >&5) 2>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }
2044 cat >conftest.$ac_ext <<_ACEOF
2045 #line $LINENO "configure"
2046 #include "confdefs.h"
2048 #ifdef F77_DUMMY_MAIN
2052 int F77_DUMMY_MAIN() { return 1; }
2062 ac_clean_files_save=$ac_clean_files
2063 ac_clean_files="$ac_clean_files a.out a.exe"
2064 # Try to create an executable without -o first, disregard a.out.
2065 # It will help us diagnose broken compilers, and finding out an intuition
2067 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2068 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2069 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2070 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2071 (eval $ac_link_default) 2>&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }; then
2075 # Find the output, starting from the most likely. This scheme is
2076 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2079 # Be careful to initialize this variable, since it used to be cached.
2080 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2082 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2083 ls a.out conftest 2>/dev/null;
2084 ls a.* conftest.* 2>/dev/null`; do
2086 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2087 a.out ) # We found the default executable, but exeext='' is most
2090 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2091 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2098 echo "$as_me: failed program was:" >&5
2099 cat conftest.$ac_ext >&5
2100 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2101 echo "$as_me: error: C compiler cannot create executables" >&2;}
2102 { (exit 77); exit 77; }; }
2105 ac_exeext=$ac_cv_exeext
2106 echo "$as_me:$LINENO: result: $ac_file" >&5
2107 echo "${ECHO_T}$ac_file" >&6
2109 # Check the compiler produces executables we can run. If not, either
2110 # the compiler is broken, or we cross compile.
2111 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2112 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2113 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2114 # If not cross compiling, check that we can run a simple program.
2115 if test "$cross_compiling" != yes; then
2116 if { ac_try='./$ac_file'
2117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; }; then
2124 if test "$cross_compiling" = maybe; then
2127 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2128 If you meant to cross compile, use \`--host'." >&5
2129 echo "$as_me: error: cannot run C compiled programs.
2130 If you meant to cross compile, use \`--host'." >&2;}
2131 { (exit 1); exit 1; }; }
2135 echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6
2138 rm -f a.out a.exe conftest$ac_cv_exeext
2139 ac_clean_files=$ac_clean_files_save
2140 # Check the compiler produces executables we can run. If not, either
2141 # the compiler is broken, or we cross compile.
2142 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2143 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2144 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2145 echo "${ECHO_T}$cross_compiling" >&6
2147 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2148 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2150 (eval $ac_link) 2>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; then
2154 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2155 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2156 # work properly (i.e., refer to `conftest.exe'), while it won't with
2158 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2160 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2161 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2168 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2169 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2170 { (exit 1); exit 1; }; }
2173 rm -f conftest$ac_cv_exeext
2174 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2175 echo "${ECHO_T}$ac_cv_exeext" >&6
2177 rm -f conftest.$ac_ext
2178 EXEEXT=$ac_cv_exeext
2180 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2181 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2182 if test "${ac_cv_objext+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 cat >conftest.$ac_ext <<_ACEOF
2186 #line $LINENO "configure"
2187 #include "confdefs.h"
2189 #ifdef F77_DUMMY_MAIN
2193 int F77_DUMMY_MAIN() { return 1; }
2203 rm -f conftest.o conftest.obj
2204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2205 (eval $ac_compile) 2>&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; then
2209 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2212 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2217 echo "$as_me: failed program was:" >&5
2218 cat conftest.$ac_ext >&5
2219 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2220 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2221 { (exit 1); exit 1; }; }
2224 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2226 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2227 echo "${ECHO_T}$ac_cv_objext" >&6
2228 OBJEXT=$ac_cv_objext
2230 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2231 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 cat >conftest.$ac_ext <<_ACEOF
2236 #line $LINENO "configure"
2237 #include "confdefs.h"
2239 #ifdef F77_DUMMY_MAIN
2243 int F77_DUMMY_MAIN() { return 1; }
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try='test -s conftest.$ac_objext'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; }; then
2270 echo "$as_me: failed program was:" >&5
2271 cat conftest.$ac_ext >&5
2274 rm -f conftest.$ac_objext conftest.$ac_ext
2275 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2278 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2279 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2280 GCC=`test $ac_compiler_gnu = yes && echo yes`
2281 ac_test_CFLAGS=${CFLAGS+set}
2282 ac_save_CFLAGS=$CFLAGS
2284 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2285 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2286 if test "${ac_cv_prog_cc_g+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 cat >conftest.$ac_ext <<_ACEOF
2290 #line $LINENO "configure"
2291 #include "confdefs.h"
2293 #ifdef F77_DUMMY_MAIN
2297 int F77_DUMMY_MAIN() { return 1; }
2307 rm -f conftest.$ac_objext
2308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2309 (eval $ac_compile) 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); } &&
2313 { ac_try='test -s conftest.$ac_objext'
2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; }; then
2321 echo "$as_me: failed program was:" >&5
2322 cat conftest.$ac_ext >&5
2325 rm -f conftest.$ac_objext conftest.$ac_ext
2327 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2328 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2329 if test "$ac_test_CFLAGS" = set; then
2330 CFLAGS=$ac_save_CFLAGS
2331 elif test $ac_cv_prog_cc_g = yes; then
2332 if test "$GCC" = yes; then
2338 if test "$GCC" = yes; then
2344 # Some people use a C++ compiler to compile C. Since we use `exit',
2345 # in C++ we need to declare it. In case someone uses the same compiler
2346 # for both compiling C and C++ we need to have the C++ compiler decide
2347 # the declaration of exit, since it's the most demanding environment.
2348 cat >conftest.$ac_ext <<_ACEOF
2353 rm -f conftest.$ac_objext
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355 (eval $ac_compile) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); } &&
2359 { ac_try='test -s conftest.$ac_objext'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; }; then
2365 for ac_declaration in \
2367 '#include <stdlib.h>' \
2368 'extern "C" void std::exit (int) throw (); using std::exit;' \
2369 'extern "C" void std::exit (int); using std::exit;' \
2370 'extern "C" void exit (int) throw ();' \
2371 'extern "C" void exit (int);' \
2374 cat >conftest.$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2376 #include "confdefs.h"
2379 #ifdef F77_DUMMY_MAIN
2383 int F77_DUMMY_MAIN() { return 1; }
2393 rm -f conftest.$ac_objext
2394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2395 (eval $ac_compile) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } &&
2399 { ac_try='test -s conftest.$ac_objext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 echo "$as_me: failed program was:" >&5
2408 cat conftest.$ac_ext >&5
2411 rm -f conftest.$ac_objext conftest.$ac_ext
2412 cat >conftest.$ac_ext <<_ACEOF
2413 #line $LINENO "configure"
2414 #include "confdefs.h"
2416 #ifdef F77_DUMMY_MAIN
2420 int F77_DUMMY_MAIN() { return 1; }
2430 rm -f conftest.$ac_objext
2431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2432 (eval $ac_compile) 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); } &&
2436 { ac_try='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2444 echo "$as_me: failed program was:" >&5
2445 cat conftest.$ac_ext >&5
2447 rm -f conftest.$ac_objext conftest.$ac_ext
2450 if test -n "$ac_declaration"; then
2451 echo '#ifdef __cplusplus' >>confdefs.h
2452 echo $ac_declaration >>confdefs.h
2453 echo '#endif' >>confdefs.h
2457 echo "$as_me: failed program was:" >&5
2458 cat conftest.$ac_ext >&5
2460 rm -f conftest.$ac_objext conftest.$ac_ext
2462 ac_cpp='$CPP $CPPFLAGS'
2463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2467 ac_config_commands="$ac_config_commands default-1"
2469 am_make=${MAKE-make}
2470 cat > confinc << 'END'
2474 # If we don't find an include directive, just comment out the code.
2475 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2476 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2480 # First try GNU make style include.
2481 echo "include confinc" > confmf
2482 # We grep out `Entering directory' and `Leaving directory'
2483 # messages which can occur if `w' ends up in MAKEFLAGS.
2484 # In particular we don't look at `^make:' because GNU make might
2485 # be invoked under some other name (usually "gmake"), in which
2486 # case it prints its new name instead of `make'.
2487 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2492 # Now try BSD make style include.
2493 if test "$am__include" = "#"; then
2494 echo '.include "confinc"' > confmf
2495 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2496 am__include=.include
2503 echo "$as_me:$LINENO: result: $_am_result" >&5
2504 echo "${ECHO_T}$_am_result" >&6
2505 rm -f confinc confmf
2508 depcc="$CC" am_compiler_list=
2510 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2511 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2512 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2516 # We make a subdir and do the tests there. Otherwise we can end up
2517 # making bogus files that we don't know about and never remove. For
2518 # instance it was reported that on HP-UX the gcc test will end up
2519 # making a dummy file named `D' -- because `-MD' means `put the output
2522 # Copy depcomp to subdir because otherwise we won't find it if we're
2523 # using a relative directory.
2524 cp "$am_depcomp" conftest.dir
2527 am_cv_CC_dependencies_compiler_type=none
2528 if test "$am_compiler_list" = ""; then
2529 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2531 for depmode in $am_compiler_list; do
2532 # We need to recreate these files for each test, as the compiler may
2533 # overwrite some of them when testing with obscure command lines.
2534 # This happens at least with the AIX C compiler.
2535 echo '#include "conftest.h"' > conftest.c
2536 echo 'int i;' > conftest.h
2537 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2541 # after this tag, mechanisms are not by side-effect, so they'll
2542 # only be used when explicitly requested
2543 if test "x$enable_dependency_tracking" = xyes; then
2551 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2552 # mode. It turns out that the SunPro C++ compiler does not properly
2553 # handle `-M -o', and we need to detect this.
2554 if depmode=$depmode \
2555 source=conftest.c object=conftest.o \
2556 depfile=conftest.Po tmpdepfile=conftest.TPo \
2557 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2558 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2559 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2560 am_cv_CC_dependencies_compiler_type=$depmode
2568 am_cv_CC_dependencies_compiler_type=none
2572 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2573 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2574 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2578 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2579 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2580 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 ac_cv_prog_cc_stdc=no
2585 cat >conftest.$ac_ext <<_ACEOF
2586 #line $LINENO "configure"
2587 #include "confdefs.h"
2590 #include <sys/types.h>
2591 #include <sys/stat.h>
2592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2593 struct buf { int x; };
2594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2595 static char *e (p, i)
2601 static char *f (char * (*g) (char **, int), char **p, ...)
2606 s = g (p, va_arg (v,int));
2610 int test (int i, double x);
2611 struct s1 {int (*f) (int a);};
2612 struct s2 {int (*f) (double a);};
2613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2616 #ifdef F77_DUMMY_MAIN
2620 int F77_DUMMY_MAIN() { return 1; }
2625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2630 # Don't try gcc -ansi; that turns off useful extensions and
2631 # breaks some systems' header files.
2632 # AIX -qlanglvl=ansi
2633 # Ultrix and OSF/1 -std1
2634 # HP-UX 10.20 and later -Ae
2635 # HP-UX older versions -Aa -D_HPUX_SOURCE
2636 # SVR4 -Xc -D__EXTENSIONS__
2637 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2639 CC="$ac_save_CC $ac_arg"
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try='test -s conftest.$ac_objext'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2652 ac_cv_prog_cc_stdc=$ac_arg
2655 echo "$as_me: failed program was:" >&5
2656 cat conftest.$ac_ext >&5
2658 rm -f conftest.$ac_objext
2660 rm -f conftest.$ac_ext conftest.$ac_objext
2665 case "x$ac_cv_prog_cc_stdc" in
2667 echo "$as_me:$LINENO: result: none needed" >&5
2668 echo "${ECHO_T}none needed" >&6 ;;
2670 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2671 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2672 CC="$CC $ac_cv_prog_cc_stdc" ;;
2676 ac_cpp='$CPP $CPPFLAGS'
2677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2680 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2682 # On Suns, sometimes $CPP names a directory.
2683 if test -n "$CPP" && test -d "$CPP"; then
2686 if test -z "$CPP"; then
2687 if test "${ac_cv_prog_CPP+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 # Double quotes because CPP needs to be expanded
2691 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2694 for ac_c_preproc_warn_flag in '' yes
2696 # Use a header file that comes with gcc, so configuring glibc
2697 # with a fresh cross-compiler works.
2698 # On the NeXT, cc -E runs the code through the compiler's parser,
2699 # not just through cpp. "Syntax error" is here to catch this case.
2700 cat >conftest.$ac_ext <<_ACEOF
2701 #line $LINENO "configure"
2702 #include "confdefs.h"
2706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2709 egrep -v '^ *\+' conftest.er1 >conftest.err
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } >/dev/null; then
2714 if test -s conftest.err; then
2715 ac_cpp_err=$ac_c_preproc_warn_flag
2722 if test -z "$ac_cpp_err"; then
2725 echo "$as_me: failed program was:" >&5
2726 cat conftest.$ac_ext >&5
2727 # Broken: fails on valid input.
2730 rm -f conftest.err conftest.$ac_ext
2732 # OK, works on sane cases. Now check whether non-existent headers
2733 # can be detected and how.
2734 cat >conftest.$ac_ext <<_ACEOF
2735 #line $LINENO "configure"
2736 #include "confdefs.h"
2737 #include <ac_nonexistent.h>
2739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2742 egrep -v '^ *\+' conftest.er1 >conftest.err
2744 cat conftest.err >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } >/dev/null; then
2747 if test -s conftest.err; then
2748 ac_cpp_err=$ac_c_preproc_warn_flag
2755 if test -z "$ac_cpp_err"; then
2756 # Broken: success on invalid input.
2759 echo "$as_me: failed program was:" >&5
2760 cat conftest.$ac_ext >&5
2761 # Passes both tests.
2765 rm -f conftest.err conftest.$ac_ext
2768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2769 rm -f conftest.err conftest.$ac_ext
2770 if $ac_preproc_ok; then
2782 echo "$as_me:$LINENO: result: $CPP" >&5
2783 echo "${ECHO_T}$CPP" >&6
2785 for ac_c_preproc_warn_flag in '' yes
2787 # Use a header file that comes with gcc, so configuring glibc
2788 # with a fresh cross-compiler works.
2789 # On the NeXT, cc -E runs the code through the compiler's parser,
2790 # not just through cpp. "Syntax error" is here to catch this case.
2791 cat >conftest.$ac_ext <<_ACEOF
2792 #line $LINENO "configure"
2793 #include "confdefs.h"
2797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2800 egrep -v '^ *\+' conftest.er1 >conftest.err
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } >/dev/null; then
2805 if test -s conftest.err; then
2806 ac_cpp_err=$ac_c_preproc_warn_flag
2813 if test -z "$ac_cpp_err"; then
2816 echo "$as_me: failed program was:" >&5
2817 cat conftest.$ac_ext >&5
2818 # Broken: fails on valid input.
2821 rm -f conftest.err conftest.$ac_ext
2823 # OK, works on sane cases. Now check whether non-existent headers
2824 # can be detected and how.
2825 cat >conftest.$ac_ext <<_ACEOF
2826 #line $LINENO "configure"
2827 #include "confdefs.h"
2828 #include <ac_nonexistent.h>
2830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2833 egrep -v '^ *\+' conftest.er1 >conftest.err
2835 cat conftest.err >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } >/dev/null; then
2838 if test -s conftest.err; then
2839 ac_cpp_err=$ac_c_preproc_warn_flag
2846 if test -z "$ac_cpp_err"; then
2847 # Broken: success on invalid input.
2850 echo "$as_me: failed program was:" >&5
2851 cat conftest.$ac_ext >&5
2852 # Passes both tests.
2856 rm -f conftest.err conftest.$ac_ext
2859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2860 rm -f conftest.err conftest.$ac_ext
2861 if $ac_preproc_ok; then
2864 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2865 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2866 { (exit 1); exit 1; }; }
2870 ac_cpp='$CPP $CPPFLAGS'
2871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2878 CFLAGS="$CFLAGS -Dfork=vfork -DSYS_AMIGA"
2881 CFLAGS="$CFLAGS -DSYS_CYGWIN32"
2886 CFLAGS="$CFLAGS -Wc,+abi-socket"
2893 CFLAGS="$CFLAGS -std1"
2898 CPPFLAGS="$CPPFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB"
2899 LDFLAGS="$LDFLAGS -L/SYSLOG/PUB"
2900 LIBS="$LIBS -lcurses"
2909 # Quick and dirty sanity check
2910 case "$VX_KERNEL" in
2911 '') { { echo "$as_me:$LINENO: error: Please follow the directions in html/vxworks.html!" >&5
2912 echo "$as_me: error: Please follow the directions in html/vxworks.html!" >&2;}
2913 { (exit 1); exit 1; }; }
2916 CFLAGS="$CFLAGS -DSYS_VXWORKS"
2922 for ac_prog in gawk mawk nawk awk
2924 # Extract the first word of "$ac_prog", so it can be a program name with args.
2925 set dummy $ac_prog; ac_word=$2
2926 echo "$as_me:$LINENO: checking for $ac_word" >&5
2927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2928 if test "${ac_cv_prog_AWK+set}" = set; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 if test -n "$AWK"; then
2932 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir=.
2939 for ac_exec_ext in '' $ac_executable_extensions; do
2940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2941 ac_cv_prog_AWK="$ac_prog"
2942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 if test -n "$AWK"; then
2952 echo "$as_me:$LINENO: result: $AWK" >&5
2953 echo "${ECHO_T}$AWK" >&6
2955 echo "$as_me:$LINENO: result: no" >&5
2956 echo "${ECHO_T}no" >&6
2959 test -n "$AWK" && break
2962 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
2963 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2964 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2965 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 cat >conftest.make <<\_ACEOF
2970 @echo 'ac_maketemp="${MAKE}"'
2972 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2973 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2974 if test -n "$ac_maketemp"; then
2975 eval ac_cv_prog_make_${ac_make}_set=yes
2977 eval ac_cv_prog_make_${ac_make}_set=no
2981 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2986 echo "$as_me:$LINENO: result: no" >&5
2987 echo "${ECHO_T}no" >&6
2988 SET_MAKE="MAKE=${MAKE-make}"
2996 CFLAGS="$CFLAGS -Wall"
2997 # CFLAGS="$CFLAGS -Wcast-align"
2998 CFLAGS="$CFLAGS -Wcast-qual"
2999 # CFLAGS="$CFLAGS -Wconversion"
3000 # CFLAGS="$CFLAGS -Werror"
3001 CFLAGS="$CFLAGS -Wmissing-prototypes"
3002 CFLAGS="$CFLAGS -Wpointer-arith"
3003 CFLAGS="$CFLAGS -Wshadow"
3004 CFLAGS="$CFLAGS -Wstrict-prototypes"
3005 # CFLAGS="$CFLAGS -Wtraditional"
3006 # CFLAGS="$CFLAGS -Wwrite-strings"
3008 echo "$as_me:$LINENO: checking whether ${CC-cc} -pipe works" >&5
3009 echo $ECHO_N "checking whether ${CC-cc} -pipe works... $ECHO_C" >&6
3010 if test "${ac_cv_prog_cc_pipe+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 echo 'void f(){}' > conftest.c
3014 if test -z "`${CC-cc} -pipe -c conftest.c 2>&1`" -a -s conftest.o; then
3015 ac_cv_prog_cc_pipe=yes
3017 ac_cv_prog_cc_pipe=no
3022 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_pipe" >&5
3023 echo "${ECHO_T}$ac_cv_prog_cc_pipe" >&6
3025 case "$ac_cv_prog_cc_pipe" in
3027 CFLAGS="$CFLAGS -pipe"
3033 ac_busted_vpath_in_make=no
3037 CFLAGS="$CFLAGS -posix"
3039 *-*-irix6.1*) # 64 bit only
3042 *-*-irix6*) # 6.2 (and later?)
3043 ac_busted_vpath_in_make=yes
3044 # don't pass -n32 to gcc, it cannot handle and doesn't need it
3045 if test "$GCC" != yes; then
3049 *) case "$iCFLAGS" in
3050 '') CFLAGS="-O2 -g3 -n32" ;;
3051 *) CFLAGS="$CFLAGS -n32" ;;
3058 *) LDFLAGS="$LDFLAGS -n32" ;;
3063 ac_busted_vpath_in_make=yes
3067 case "$ac_busted_vpath_in_make$srcdir" in
3070 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in
3072 { { echo "$as_me:$LINENO: error: building outside of the main directory requires GNU make" >&5
3073 echo "$as_me: error: building outside of the main directory requires GNU make" >&2;}
3074 { (exit 1); exit 1; }; }
3082 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3083 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3085 if test "$LN_S" = "ln -s"; then
3086 echo "$as_me:$LINENO: result: yes" >&5
3087 echo "${ECHO_T}yes" >&6
3089 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3090 echo "${ECHO_T}no, using $LN_S" >&6
3094 if test $ac_cv_c_compiler_gnu = yes; then
3095 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3096 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3097 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 ac_pattern="Autoconf.*'x'"
3101 cat >conftest.$ac_ext <<_ACEOF
3102 #line $LINENO "configure"
3103 #include "confdefs.h"
3107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3108 egrep "$ac_pattern" >/dev/null 2>&1; then
3109 ac_cv_prog_gcc_traditional=yes
3111 ac_cv_prog_gcc_traditional=no
3116 if test $ac_cv_prog_gcc_traditional = no; then
3117 cat >conftest.$ac_ext <<_ACEOF
3118 #line $LINENO "configure"
3119 #include "confdefs.h"
3123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3124 egrep "$ac_pattern" >/dev/null 2>&1; then
3125 ac_cv_prog_gcc_traditional=yes
3131 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3132 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3133 if test $ac_cv_prog_gcc_traditional = yes; then
3134 CC="$CC -traditional"
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"
3143 #include "confdefs.h"
3149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3150 egrep "yes" >/dev/null 2>&1; then
3151 echo "$as_me:$LINENO: result: yes" >&5
3152 echo "${ECHO_T}yes" >&6
3153 cat >>confdefs.h <<\_ACEOF
3154 #define _ALL_SOURCE 1
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3164 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3165 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3166 if test "${ac_cv_header_stdc+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 cat >conftest.$ac_ext <<_ACEOF
3170 #line $LINENO "configure"
3171 #include "confdefs.h"
3178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3181 egrep -v '^ *\+' conftest.er1 >conftest.err
3183 cat conftest.err >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } >/dev/null; then
3186 if test -s conftest.err; then
3187 ac_cpp_err=$ac_c_preproc_warn_flag
3194 if test -z "$ac_cpp_err"; then
3195 ac_cv_header_stdc=yes
3197 echo "$as_me: failed program was:" >&5
3198 cat conftest.$ac_ext >&5
3199 ac_cv_header_stdc=no
3201 rm -f conftest.err conftest.$ac_ext
3203 if test $ac_cv_header_stdc = yes; then
3204 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3205 cat >conftest.$ac_ext <<_ACEOF
3206 #line $LINENO "configure"
3207 #include "confdefs.h"
3211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3212 egrep "memchr" >/dev/null 2>&1; then
3215 ac_cv_header_stdc=no
3221 if test $ac_cv_header_stdc = yes; then
3222 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3223 cat >conftest.$ac_ext <<_ACEOF
3224 #line $LINENO "configure"
3225 #include "confdefs.h"
3229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3230 egrep "free" >/dev/null 2>&1; then
3233 ac_cv_header_stdc=no
3239 if test $ac_cv_header_stdc = yes; then
3240 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3241 if test "$cross_compiling" = yes; then
3244 cat >conftest.$ac_ext <<_ACEOF
3245 #line $LINENO "configure"
3246 #include "confdefs.h"
3248 #if ((' ' & 0x0FF) == 0x020)
3249 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3250 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3252 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3253 || ('j' <= (c) && (c) <= 'r') \
3254 || ('s' <= (c) && (c) <= 'z'))
3255 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3258 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3263 for (i = 0; i < 256; i++)
3264 if (XOR (islower (i), ISLOWER (i))
3265 || toupper (i) != TOUPPER (i))
3270 rm -f conftest$ac_exeext
3271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3272 (eval $ac_link) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }; }; then
3283 echo "$as_me: program exited with status $ac_status" >&5
3284 echo "$as_me: failed program was:" >&5
3285 cat conftest.$ac_ext >&5
3287 ac_cv_header_stdc=no
3289 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3293 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3294 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3295 if test $ac_cv_header_stdc = yes; then
3297 cat >>confdefs.h <<\_ACEOF
3298 #define STDC_HEADERS 1
3303 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3313 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3314 inttypes.h stdint.h unistd.h
3316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3317 echo "$as_me:$LINENO: checking for $ac_header" >&5
3318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 cat >conftest.$ac_ext <<_ACEOF
3323 #line $LINENO "configure"
3324 #include "confdefs.h"
3325 $ac_includes_default
3327 #include <$ac_header>
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try='test -s conftest.$ac_objext'
3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; }; then
3341 eval "$as_ac_Header=yes"
3343 echo "$as_me: failed program was:" >&5
3344 cat conftest.$ac_ext >&5
3345 eval "$as_ac_Header=no"
3347 rm -f conftest.$ac_objext conftest.$ac_ext
3349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3352 cat >>confdefs.h <<_ACEOF
3353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3361 if test "${ac_cv_header_minix_config_h+set}" = set; then
3362 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3363 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3364 if test "${ac_cv_header_minix_config_h+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3368 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3370 # Is the header compilable?
3371 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3372 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3373 cat >conftest.$ac_ext <<_ACEOF
3374 #line $LINENO "configure"
3375 #include "confdefs.h"
3376 $ac_includes_default
3377 #include <minix/config.h>
3379 rm -f conftest.$ac_objext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3381 (eval $ac_compile) 2>&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 ac_header_compiler=yes
3393 echo "$as_me: failed program was:" >&5
3394 cat conftest.$ac_ext >&5
3395 ac_header_compiler=no
3397 rm -f conftest.$ac_objext conftest.$ac_ext
3398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3399 echo "${ECHO_T}$ac_header_compiler" >&6
3401 # Is the header present?
3402 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3403 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3404 cat >conftest.$ac_ext <<_ACEOF
3405 #line $LINENO "configure"
3406 #include "confdefs.h"
3407 #include <minix/config.h>
3409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3412 egrep -v '^ *\+' conftest.er1 >conftest.err
3414 cat conftest.err >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } >/dev/null; then
3417 if test -s conftest.err; then
3418 ac_cpp_err=$ac_c_preproc_warn_flag
3425 if test -z "$ac_cpp_err"; then
3426 ac_header_preproc=yes
3428 echo "$as_me: failed program was:" >&5
3429 cat conftest.$ac_ext >&5
3430 ac_header_preproc=no
3432 rm -f conftest.err conftest.$ac_ext
3433 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3434 echo "${ECHO_T}$ac_header_preproc" >&6
3436 # So? What about this header?
3437 case $ac_header_compiler:$ac_header_preproc in
3439 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3440 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3441 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3442 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3444 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3445 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3446 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3447 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3448 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3449 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3451 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3452 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3453 if test "${ac_cv_header_minix_config_h+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 ac_cv_header_minix_config_h=$ac_header_preproc
3458 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3459 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3462 if test $ac_cv_header_minix_config_h = yes; then
3469 if test "$MINIX" = yes; then
3471 cat >>confdefs.h <<\_ACEOF
3472 #define _POSIX_SOURCE 1
3476 cat >>confdefs.h <<\_ACEOF
3477 #define _POSIX_1_SOURCE 2
3481 cat >>confdefs.h <<\_ACEOF
3487 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3488 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3489 if test "${ac_cv_search_strerror+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 ac_func_search_save_LIBS=$LIBS
3493 ac_cv_search_strerror=no
3494 cat >conftest.$ac_ext <<_ACEOF
3495 #line $LINENO "configure"
3496 #include "confdefs.h"
3498 /* Override any gcc2 internal prototype to avoid an error. */
3502 /* We use char because int might match the return type of a gcc2
3503 builtin and then its argument prototype would still apply. */
3505 #ifdef F77_DUMMY_MAIN
3509 int F77_DUMMY_MAIN() { return 1; }
3519 rm -f conftest.$ac_objext conftest$ac_exeext
3520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3521 (eval $ac_link) 2>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } &&
3525 { ac_try='test -s conftest$ac_exeext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_search_strerror="none required"
3533 echo "$as_me: failed program was:" >&5
3534 cat conftest.$ac_ext >&5
3536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3537 if test "$ac_cv_search_strerror" = no; then
3538 for ac_lib in cposix; do
3539 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3540 cat >conftest.$ac_ext <<_ACEOF
3541 #line $LINENO "configure"
3542 #include "confdefs.h"
3544 /* Override any gcc2 internal prototype to avoid an error. */
3548 /* We use char because int might match the return type of a gcc2
3549 builtin and then its argument prototype would still apply. */
3551 #ifdef F77_DUMMY_MAIN
3555 int F77_DUMMY_MAIN() { return 1; }
3565 rm -f conftest.$ac_objext conftest$ac_exeext
3566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3567 (eval $ac_link) 2>&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } &&
3571 { ac_try='test -s conftest$ac_exeext'
3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); }; }; then
3577 ac_cv_search_strerror="-l$ac_lib"
3580 echo "$as_me: failed program was:" >&5
3581 cat conftest.$ac_ext >&5
3583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3586 LIBS=$ac_func_search_save_LIBS
3588 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3589 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3590 if test "$ac_cv_search_strerror" != no; then
3591 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3597 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3598 echo "$as_me:$LINENO: checking for $ac_word" >&5
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3600 if test "${ac_cv_prog_RANLIB+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 if test -n "$RANLIB"; then
3604 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 RANLIB=$ac_cv_prog_RANLIB
3623 if test -n "$RANLIB"; then
3624 echo "$as_me:$LINENO: result: $RANLIB" >&5
3625 echo "${ECHO_T}$RANLIB" >&6
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3632 if test -z "$ac_cv_prog_RANLIB"; then
3633 ac_ct_RANLIB=$RANLIB
3634 # Extract the first word of "ranlib", so it can be a program name with args.
3635 set dummy ranlib; ac_word=$2
3636 echo "$as_me:$LINENO: checking for $ac_word" >&5
3637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3638 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 if test -n "$ac_ct_RANLIB"; then
3642 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 ac_cv_prog_ac_ct_RANLIB="ranlib"
3652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3661 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3662 if test -n "$ac_ct_RANLIB"; then
3663 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3664 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3670 RANLIB=$ac_ct_RANLIB
3672 RANLIB="$ac_cv_prog_RANLIB"
3675 # Extract the first word of "sh", so it can be a program name with args.
3676 set dummy sh; ac_word=$2
3677 echo "$as_me:$LINENO: checking for $ac_word" >&5
3678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3679 if test "${ac_cv_path_PATH_SH+set}" = set; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path.
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_path_PATH_SH="$as_dir/$ac_word$ac_exec_ext"
3695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 PATH_SH=$ac_cv_path_PATH_SH
3706 if test -n "$PATH_SH"; then
3707 echo "$as_me:$LINENO: result: $PATH_SH" >&5
3708 echo "${ECHO_T}$PATH_SH" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3714 # Extract the first word of "perl", so it can be a program name with args.
3715 set dummy perl; ac_word=$2
3716 echo "$as_me:$LINENO: checking for $ac_word" >&5
3717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3718 if test "${ac_cv_path_PATH_PERL+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_path_PATH_PERL="$as_dir/$ac_word$ac_exec_ext"
3734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 PATH_PERL=$ac_cv_path_PATH_PERL
3745 if test -n "$PATH_PERL"; then
3746 echo "$as_me:$LINENO: result: $PATH_PERL" >&5
3747 echo "${ECHO_T}$PATH_PERL" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3754 cat >conftest.$ac_ext <<_ACEOF
3755 #line $LINENO "configure"
3756 #include "confdefs.h"
3757 #define ACAT(a,b)a ## b
3761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3762 egrep "Circus" >/dev/null 2>&1; then
3763 cat >>confdefs.h <<\_ACEOF
3764 #define ULONG_CONST(a) a ## UL
3768 cat >conftest.$ac_ext <<_ACEOF
3769 #line $LINENO "configure"
3770 #include "confdefs.h"
3771 #define RCAT(a,b)a/**/b
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 egrep "Reiser" >/dev/null 2>&1; then
3777 cat >>confdefs.h <<\_ACEOF
3778 #define ULONG_CONST(a) a/**/L
3782 { { echo "$as_me:$LINENO: error: How do we create an unsigned long constant?" >&5
3783 echo "$as_me: error: How do we create an unsigned long constant?" >&2;}
3784 { (exit 1); exit 1; }; }
3794 ac_link="$ac_link $VX_KERNEL"
3798 # Find a good install program. We prefer a C program (faster),
3799 # so one script is as good as another. But avoid the broken or
3800 # incompatible versions:
3801 # SysV /etc/install, /usr/sbin/install
3802 # SunOS /usr/etc/install
3803 # IRIX /sbin/install
3805 # AmigaOS /C/install, which installs bootblocks on floppy discs
3806 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3807 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3808 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3809 # ./install, which can be erroneously created by make from ./install.sh.
3810 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3811 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3812 if test -z "$INSTALL"; then
3813 if test "${ac_cv_path_install+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir=.
3821 # Account for people who put trailing slashes in PATH elements.
3823 ./ | .// | /cC/* | \
3824 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3827 # OSF1 and SCO ODT 3.0 have their own names for install.
3828 # Don't use installbsd from OSF since it installs stuff as root
3830 for ac_prog in ginstall scoinst install; do
3831 for ac_exec_ext in '' $ac_executable_extensions; do
3832 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3833 if test $ac_prog = install &&
3834 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3835 # AIX install. It has an incompatible calling convention.
3837 elif test $ac_prog = install &&
3838 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3839 # program-specific install script used by HP pwplus--don't use.
3842 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3854 if test "${ac_cv_path_install+set}" = set; then
3855 INSTALL=$ac_cv_path_install
3857 # As a last resort, use the slow shell script. We don't cache a
3858 # path for INSTALL within a source directory, because that will
3859 # break other packages using the cache if that directory is
3860 # removed, or if the path is relative.
3861 INSTALL=$ac_install_sh
3864 echo "$as_me:$LINENO: result: $INSTALL" >&5
3865 echo "${ECHO_T}$INSTALL" >&6
3867 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3868 # It thinks the first close brace ends the variable substitution.
3869 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3871 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3873 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3879 echo "$as_me:$LINENO: checking for main in -ladvapi32" >&5
3880 echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
3881 if test "${ac_cv_lib_advapi32_main+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_check_lib_save_LIBS=$LIBS
3885 LIBS="-ladvapi32 $LIBS"
3886 cat >conftest.$ac_ext <<_ACEOF
3887 #line $LINENO "configure"
3888 #include "confdefs.h"
3891 #ifdef F77_DUMMY_MAIN
3895 int F77_DUMMY_MAIN() { return 1; }
3905 rm -f conftest.$ac_objext conftest$ac_exeext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3907 (eval $ac_link) 2>&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try='test -s conftest$ac_exeext'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; }; then
3917 ac_cv_lib_advapi32_main=yes
3919 echo "$as_me: failed program was:" >&5
3920 cat conftest.$ac_ext >&5
3921 ac_cv_lib_advapi32_main=no
3923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3924 LIBS=$ac_check_lib_save_LIBS
3926 echo "$as_me:$LINENO: result: $ac_cv_lib_advapi32_main" >&5
3927 echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
3928 if test $ac_cv_lib_advapi32_main = yes; then
3929 cat >>confdefs.h <<_ACEOF
3930 #define HAVE_LIBADVAPI32 1
3933 LIBS="-ladvapi32 $LIBS"
3940 echo "$as_me:$LINENO: checking for nlist in -lelf" >&5
3941 echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6
3942 if test "${ac_cv_lib_elf_nlist+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 ac_check_lib_save_LIBS=$LIBS
3947 cat >conftest.$ac_ext <<_ACEOF
3948 #line $LINENO "configure"
3949 #include "confdefs.h"
3951 /* Override any gcc2 internal prototype to avoid an error. */
3955 /* We use char because int might match the return type of a gcc2
3956 builtin and then its argument prototype would still apply. */
3958 #ifdef F77_DUMMY_MAIN
3962 int F77_DUMMY_MAIN() { return 1; }
3972 rm -f conftest.$ac_objext conftest$ac_exeext
3973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3974 (eval $ac_link) 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } &&
3978 { ac_try='test -s conftest$ac_exeext'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; }; then
3984 ac_cv_lib_elf_nlist=yes
3986 echo "$as_me: failed program was:" >&5
3987 cat conftest.$ac_ext >&5
3988 ac_cv_lib_elf_nlist=no
3990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3991 LIBS=$ac_check_lib_save_LIBS
3993 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_nlist" >&5
3994 echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6
3995 if test $ac_cv_lib_elf_nlist = yes; then
3996 cat >>confdefs.h <<_ACEOF
3997 #define HAVE_LIBELF 1
4004 echo "$as_me:$LINENO: checking for main in -lkvm" >&5
4005 echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6
4006 if test "${ac_cv_lib_kvm_main+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 ac_check_lib_save_LIBS=$LIBS
4011 cat >conftest.$ac_ext <<_ACEOF
4012 #line $LINENO "configure"
4013 #include "confdefs.h"
4016 #ifdef F77_DUMMY_MAIN
4020 int F77_DUMMY_MAIN() { return 1; }
4030 rm -f conftest.$ac_objext conftest$ac_exeext
4031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4032 (eval $ac_link) 2>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try='test -s conftest$ac_exeext'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; }; then
4042 ac_cv_lib_kvm_main=yes
4044 echo "$as_me: failed program was:" >&5
4045 cat conftest.$ac_ext >&5
4046 ac_cv_lib_kvm_main=no
4048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4049 LIBS=$ac_check_lib_save_LIBS
4051 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_main" >&5
4052 echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6
4053 if test $ac_cv_lib_kvm_main = yes; then
4054 cat >>confdefs.h <<_ACEOF
4055 #define HAVE_LIBKVM 1
4062 echo "$as_me:$LINENO: checking for nlist in -lld" >&5
4063 echo $ECHO_N "checking for nlist in -lld... $ECHO_C" >&6
4064 if test "${ac_cv_lib_ld_nlist+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 ac_check_lib_save_LIBS=$LIBS
4069 cat >conftest.$ac_ext <<_ACEOF
4070 #line $LINENO "configure"
4071 #include "confdefs.h"
4073 /* Override any gcc2 internal prototype to avoid an error. */
4077 /* We use char because int might match the return type of a gcc2
4078 builtin and then its argument prototype would still apply. */
4080 #ifdef F77_DUMMY_MAIN
4084 int F77_DUMMY_MAIN() { return 1; }
4094 rm -f conftest.$ac_objext conftest$ac_exeext
4095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4096 (eval $ac_link) 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } &&
4100 { ac_try='test -s conftest$ac_exeext'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 ac_cv_lib_ld_nlist=yes
4108 echo "$as_me: failed program was:" >&5
4109 cat conftest.$ac_ext >&5
4110 ac_cv_lib_ld_nlist=no
4112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4113 LIBS=$ac_check_lib_save_LIBS
4115 echo "$as_me:$LINENO: result: $ac_cv_lib_ld_nlist" >&5
4116 echo "${ECHO_T}$ac_cv_lib_ld_nlist" >&6
4117 if test $ac_cv_lib_ld_nlist = yes; then
4118 cat >>confdefs.h <<_ACEOF
4119 #define HAVE_LIBLD 1
4127 echo "$as_me:$LINENO: checking for nlist in -lmld" >&5
4128 echo $ECHO_N "checking for nlist in -lmld... $ECHO_C" >&6
4129 if test "${ac_cv_lib_mld_nlist+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 ac_check_lib_save_LIBS=$LIBS
4134 cat >conftest.$ac_ext <<_ACEOF
4135 #line $LINENO "configure"
4136 #include "confdefs.h"
4138 /* Override any gcc2 internal prototype to avoid an error. */
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4145 #ifdef F77_DUMMY_MAIN
4149 int F77_DUMMY_MAIN() { return 1; }
4159 rm -f conftest.$ac_objext conftest$ac_exeext
4160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4161 (eval $ac_link) 2>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } &&
4165 { ac_try='test -s conftest$ac_exeext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 ac_cv_lib_mld_nlist=yes
4173 echo "$as_me: failed program was:" >&5
4174 cat conftest.$ac_ext >&5
4175 ac_cv_lib_mld_nlist=no
4177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4178 LIBS=$ac_check_lib_save_LIBS
4180 echo "$as_me:$LINENO: result: $ac_cv_lib_mld_nlist" >&5
4181 echo "${ECHO_T}$ac_cv_lib_mld_nlist" >&6
4182 if test $ac_cv_lib_mld_nlist = yes; then
4183 cat >>confdefs.h <<_ACEOF
4184 #define HAVE_LIBMLD 1
4191 echo "$as_me:$LINENO: checking for gethostent" >&5
4192 echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
4193 if test "${ac_cv_func_gethostent+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6
4196 cat >conftest.$ac_ext <<_ACEOF
4197 #line $LINENO "configure"
4198 #include "confdefs.h"
4199 /* System header to define __stub macros and hopefully few prototypes,
4200 which can conflict with char gethostent (); below. */
4202 /* Override any gcc2 internal prototype to avoid an error. */
4206 /* We use char because int might match the return type of a gcc2
4207 builtin and then its argument prototype would still apply. */
4211 #ifdef F77_DUMMY_MAIN
4215 int F77_DUMMY_MAIN() { return 1; }
4220 /* The GNU C library defines this for functions which it implements
4221 to always fail with ENOSYS. Some functions are actually named
4222 something starting with __ and the normal name is an alias. */
4223 #if defined (__stub_gethostent) || defined (__stub___gethostent)
4233 rm -f conftest.$ac_objext conftest$ac_exeext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4235 (eval $ac_link) 2>&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } &&
4239 { ac_try='test -s conftest$ac_exeext'
4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; }; then
4245 ac_cv_func_gethostent=yes
4247 echo "$as_me: failed program was:" >&5
4248 cat conftest.$ac_ext >&5
4249 ac_cv_func_gethostent=no
4251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4253 echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
4254 echo "${ECHO_T}$ac_cv_func_gethostent" >&6
4255 if test $ac_cv_func_gethostent = yes; then
4259 echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
4260 echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
4261 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 ac_check_lib_save_LIBS=$LIBS
4265 LIBS="-lnsl -lsocket $LIBS"
4266 cat >conftest.$ac_ext <<_ACEOF
4267 #line $LINENO "configure"
4268 #include "confdefs.h"
4270 /* Override any gcc2 internal prototype to avoid an error. */
4274 /* We use char because int might match the return type of a gcc2
4275 builtin and then its argument prototype would still apply. */
4277 #ifdef F77_DUMMY_MAIN
4281 int F77_DUMMY_MAIN() { return 1; }
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4293 (eval $ac_link) 2>&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } &&
4297 { ac_try='test -s conftest$ac_exeext'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; }; then
4303 ac_cv_lib_nsl_gethostent=yes
4305 echo "$as_me: failed program was:" >&5
4306 cat conftest.$ac_ext >&5
4307 ac_cv_lib_nsl_gethostent=no
4309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4310 LIBS=$ac_check_lib_save_LIBS
4312 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
4313 echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
4314 if test $ac_cv_lib_nsl_gethostent = yes; then
4315 cat >>confdefs.h <<_ACEOF
4316 #define HAVE_LIBNSL 1
4325 echo "$as_me:$LINENO: checking for openlog" >&5
4326 echo $ECHO_N "checking for openlog... $ECHO_C" >&6
4327 if test "${ac_cv_func_openlog+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 cat >conftest.$ac_ext <<_ACEOF
4331 #line $LINENO "configure"
4332 #include "confdefs.h"
4333 /* System header to define __stub macros and hopefully few prototypes,
4334 which can conflict with char openlog (); below. */
4336 /* Override any gcc2 internal prototype to avoid an error. */
4340 /* We use char because int might match the return type of a gcc2
4341 builtin and then its argument prototype would still apply. */
4345 #ifdef F77_DUMMY_MAIN
4349 int F77_DUMMY_MAIN() { return 1; }
4354 /* The GNU C library defines this for functions which it implements
4355 to always fail with ENOSYS. Some functions are actually named
4356 something starting with __ and the normal name is an alias. */
4357 #if defined (__stub_openlog) || defined (__stub___openlog)
4367 rm -f conftest.$ac_objext conftest$ac_exeext
4368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4369 (eval $ac_link) 2>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -s conftest$ac_exeext'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; }; then
4379 ac_cv_func_openlog=yes
4381 echo "$as_me: failed program was:" >&5
4382 cat conftest.$ac_ext >&5
4383 ac_cv_func_openlog=no
4385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4387 echo "$as_me:$LINENO: result: $ac_cv_func_openlog" >&5
4388 echo "${ECHO_T}$ac_cv_func_openlog" >&6
4389 if test $ac_cv_func_openlog = yes; then
4393 echo "$as_me:$LINENO: checking for openlog in -lgen" >&5
4394 echo $ECHO_N "checking for openlog in -lgen... $ECHO_C" >&6
4395 if test "${ac_cv_lib_gen_openlog+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 ac_check_lib_save_LIBS=$LIBS
4400 cat >conftest.$ac_ext <<_ACEOF
4401 #line $LINENO "configure"
4402 #include "confdefs.h"
4404 /* Override any gcc2 internal prototype to avoid an error. */
4408 /* We use char because int might match the return type of a gcc2
4409 builtin and then its argument prototype would still apply. */
4411 #ifdef F77_DUMMY_MAIN
4415 int F77_DUMMY_MAIN() { return 1; }
4425 rm -f conftest.$ac_objext conftest$ac_exeext
4426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4427 (eval $ac_link) 2>&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } &&
4431 { ac_try='test -s conftest$ac_exeext'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; }; then
4437 ac_cv_lib_gen_openlog=yes
4439 echo "$as_me: failed program was:" >&5
4440 cat conftest.$ac_ext >&5
4441 ac_cv_lib_gen_openlog=no
4443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_openlog" >&5
4447 echo "${ECHO_T}$ac_cv_lib_gen_openlog" >&6
4448 if test $ac_cv_lib_gen_openlog = yes; then
4449 cat >>confdefs.h <<_ACEOF
4450 #define HAVE_LIBGEN 1
4457 echo "$as_me:$LINENO: checking for openlog in -lsyslog" >&5
4458 echo $ECHO_N "checking for openlog in -lsyslog... $ECHO_C" >&6
4459 if test "${ac_cv_lib_syslog_openlog+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 ac_check_lib_save_LIBS=$LIBS
4463 LIBS="-lsyslog -lsocket $LIBS"
4464 cat >conftest.$ac_ext <<_ACEOF
4465 #line $LINENO "configure"
4466 #include "confdefs.h"
4468 /* Override any gcc2 internal prototype to avoid an error. */
4472 /* We use char because int might match the return type of a gcc2
4473 builtin and then its argument prototype would still apply. */
4475 #ifdef F77_DUMMY_MAIN
4479 int F77_DUMMY_MAIN() { return 1; }
4489 rm -f conftest.$ac_objext conftest$ac_exeext
4490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4491 (eval $ac_link) 2>&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } &&
4495 { ac_try='test -s conftest$ac_exeext'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; }; then
4501 ac_cv_lib_syslog_openlog=yes
4503 echo "$as_me: failed program was:" >&5
4504 cat conftest.$ac_ext >&5
4505 ac_cv_lib_syslog_openlog=no
4507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4508 LIBS=$ac_check_lib_save_LIBS
4510 echo "$as_me:$LINENO: result: $ac_cv_lib_syslog_openlog" >&5
4511 echo "${ECHO_T}$ac_cv_lib_syslog_openlog" >&6
4512 if test $ac_cv_lib_syslog_openlog = yes; then
4513 cat >>confdefs.h <<_ACEOF
4514 #define HAVE_LIBSYSLOG 1
4517 LIBS="-lsyslog $LIBS"
4527 for ac_header in readline/history.h readline/readline.h
4529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4531 echo "$as_me:$LINENO: checking for $ac_header" >&5
4532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4539 # Is the header compilable?
4540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4542 cat >conftest.$ac_ext <<_ACEOF
4543 #line $LINENO "configure"
4544 #include "confdefs.h"
4545 $ac_includes_default
4546 #include <$ac_header>
4548 rm -f conftest.$ac_objext
4549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4550 (eval $ac_compile) 2>&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); } &&
4554 { ac_try='test -s conftest.$ac_objext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 ac_header_compiler=yes
4562 echo "$as_me: failed program was:" >&5
4563 cat conftest.$ac_ext >&5
4564 ac_header_compiler=no
4566 rm -f conftest.$ac_objext conftest.$ac_ext
4567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4568 echo "${ECHO_T}$ac_header_compiler" >&6
4570 # Is the header present?
4571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4573 cat >conftest.$ac_ext <<_ACEOF
4574 #line $LINENO "configure"
4575 #include "confdefs.h"
4576 #include <$ac_header>
4578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4581 egrep -v '^ *\+' conftest.er1 >conftest.err
4583 cat conftest.err >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } >/dev/null; then
4586 if test -s conftest.err; then
4587 ac_cpp_err=$ac_c_preproc_warn_flag
4594 if test -z "$ac_cpp_err"; then
4595 ac_header_preproc=yes
4597 echo "$as_me: failed program was:" >&5
4598 cat conftest.$ac_ext >&5
4599 ac_header_preproc=no
4601 rm -f conftest.err conftest.$ac_ext
4602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4603 echo "${ECHO_T}$ac_header_preproc" >&6
4605 # So? What about this header?
4606 case $ac_header_compiler:$ac_header_preproc in
4608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4620 echo "$as_me:$LINENO: checking for $ac_header" >&5
4621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 eval "$as_ac_Header=$ac_header_preproc"
4627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4632 cat >>confdefs.h <<_ACEOF
4633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4640 case "$ac_cv_header_readline_history_h$ac_cv_header_readline_readline_h" in
4643 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4644 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4645 if test "${ac_cv_lib_readline_readline+set}" = set; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 ac_check_lib_save_LIBS=$LIBS
4649 LIBS="-lreadline $LIBS"
4650 cat >conftest.$ac_ext <<_ACEOF
4651 #line $LINENO "configure"
4652 #include "confdefs.h"
4654 /* Override any gcc2 internal prototype to avoid an error. */
4658 /* We use char because int might match the return type of a gcc2
4659 builtin and then its argument prototype would still apply. */
4661 #ifdef F77_DUMMY_MAIN
4665 int F77_DUMMY_MAIN() { return 1; }
4675 rm -f conftest.$ac_objext conftest$ac_exeext
4676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4677 (eval $ac_link) 2>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } &&
4681 { ac_try='test -s conftest$ac_exeext'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; }; then
4687 ac_cv_lib_readline_readline=yes
4689 echo "$as_me: failed program was:" >&5
4690 cat conftest.$ac_ext >&5
4691 ac_cv_lib_readline_readline=no
4693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4694 LIBS=$ac_check_lib_save_LIBS
4696 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4697 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4698 if test $ac_cv_lib_readline_readline = yes; then
4699 cat >>confdefs.h <<_ACEOF
4700 #define HAVE_LIBREADLINE 1
4703 LIBS="-lreadline $LIBS"
4706 { echo "$as_me:$LINENO: Trying again with -lcurses" >&5
4707 echo "$as_me: Trying again with -lcurses" >&6;}
4708 unset ac_cv_lib_readline_readline
4709 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4710 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4711 if test "${ac_cv_lib_readline_readline+set}" = set; then
4712 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 ac_check_lib_save_LIBS=$LIBS
4715 LIBS="-lreadline -lcurses $LIBS"
4716 cat >conftest.$ac_ext <<_ACEOF
4717 #line $LINENO "configure"
4718 #include "confdefs.h"
4720 /* Override any gcc2 internal prototype to avoid an error. */
4724 /* We use char because int might match the return type of a gcc2
4725 builtin and then its argument prototype would still apply. */
4727 #ifdef F77_DUMMY_MAIN
4731 int F77_DUMMY_MAIN() { return 1; }
4741 rm -f conftest.$ac_objext conftest$ac_exeext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4743 (eval $ac_link) 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try='test -s conftest$ac_exeext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_lib_readline_readline=yes
4755 echo "$as_me: failed program was:" >&5
4756 cat conftest.$ac_ext >&5
4757 ac_cv_lib_readline_readline=no
4759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4760 LIBS=$ac_check_lib_save_LIBS
4762 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4763 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4764 if test $ac_cv_lib_readline_readline = yes; then
4765 LIBS="-lreadline -lcurses $LIBS"
4766 cat >>confdefs.h <<\_ACEOF
4767 #define HAVE_LIBREADLINE 1
4771 cat >>confdefs.h <<\_ACEOF
4772 #define HAVE_LIBCURSES
4788 echo "$as_me:$LINENO: checking for sched_setscheduler in -lrt" >&5
4789 echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6
4790 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 ac_check_lib_save_LIBS=$LIBS
4795 cat >conftest.$ac_ext <<_ACEOF
4796 #line $LINENO "configure"
4797 #include "confdefs.h"
4799 /* Override any gcc2 internal prototype to avoid an error. */
4803 /* We use char because int might match the return type of a gcc2
4804 builtin and then its argument prototype would still apply. */
4805 char sched_setscheduler ();
4806 #ifdef F77_DUMMY_MAIN
4810 int F77_DUMMY_MAIN() { return 1; }
4815 sched_setscheduler ();
4820 rm -f conftest.$ac_objext conftest$ac_exeext
4821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4822 (eval $ac_link) 2>&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try='test -s conftest$ac_exeext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_lib_rt_sched_setscheduler=yes
4834 echo "$as_me: failed program was:" >&5
4835 cat conftest.$ac_ext >&5
4836 ac_cv_lib_rt_sched_setscheduler=no
4838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4839 LIBS=$ac_check_lib_save_LIBS
4841 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_setscheduler" >&5
4842 echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6
4843 if test $ac_cv_lib_rt_sched_setscheduler = yes; then
4844 cat >>confdefs.h <<_ACEOF
4845 #define HAVE_LIBRT 1
4852 echo "$as_me:$LINENO: checking for sched_setscheduler in -lposix4" >&5
4853 echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6
4854 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 ac_check_lib_save_LIBS=$LIBS
4858 LIBS="-lposix4 $LIBS"
4859 cat >conftest.$ac_ext <<_ACEOF
4860 #line $LINENO "configure"
4861 #include "confdefs.h"
4863 /* Override any gcc2 internal prototype to avoid an error. */
4867 /* We use char because int might match the return type of a gcc2
4868 builtin and then its argument prototype would still apply. */
4869 char sched_setscheduler ();
4870 #ifdef F77_DUMMY_MAIN
4874 int F77_DUMMY_MAIN() { return 1; }
4879 sched_setscheduler ();
4884 rm -f conftest.$ac_objext conftest$ac_exeext
4885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4886 (eval $ac_link) 2>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try='test -s conftest$ac_exeext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4896 ac_cv_lib_posix4_sched_setscheduler=yes
4898 echo "$as_me: failed program was:" >&5
4899 cat conftest.$ac_ext >&5
4900 ac_cv_lib_posix4_sched_setscheduler=no
4902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4903 LIBS=$ac_check_lib_save_LIBS
4905 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
4906 echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6
4907 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then
4908 cat >>confdefs.h <<_ACEOF
4909 #define HAVE_LIBPOSIX4 1
4912 LIBS="-lposix4 $LIBS"
4921 echo "$as_me:$LINENO: checking for setsockopt" >&5
4922 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
4923 if test "${ac_cv_func_setsockopt+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 cat >conftest.$ac_ext <<_ACEOF
4927 #line $LINENO "configure"
4928 #include "confdefs.h"
4929 /* System header to define __stub macros and hopefully few prototypes,
4930 which can conflict with char setsockopt (); below. */
4932 /* Override any gcc2 internal prototype to avoid an error. */
4936 /* We use char because int might match the return type of a gcc2
4937 builtin and then its argument prototype would still apply. */
4941 #ifdef F77_DUMMY_MAIN
4945 int F77_DUMMY_MAIN() { return 1; }
4950 /* The GNU C library defines this for functions which it implements
4951 to always fail with ENOSYS. Some functions are actually named
4952 something starting with __ and the normal name is an alias. */
4953 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
4963 rm -f conftest.$ac_objext conftest$ac_exeext
4964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4965 (eval $ac_link) 2>&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } &&
4969 { ac_try='test -s conftest$ac_exeext'
4970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); }; }; then
4975 ac_cv_func_setsockopt=yes
4977 echo "$as_me: failed program was:" >&5
4978 cat conftest.$ac_ext >&5
4979 ac_cv_func_setsockopt=no
4981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4983 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
4984 echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
4985 if test $ac_cv_func_setsockopt = yes; then
4989 echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
4990 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
4991 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 ac_check_lib_save_LIBS=$LIBS
4995 LIBS="-lsocket $LIBS"
4996 cat >conftest.$ac_ext <<_ACEOF
4997 #line $LINENO "configure"
4998 #include "confdefs.h"
5000 /* Override any gcc2 internal prototype to avoid an error. */
5004 /* We use char because int might match the return type of a gcc2
5005 builtin and then its argument prototype would still apply. */
5007 #ifdef F77_DUMMY_MAIN
5011 int F77_DUMMY_MAIN() { return 1; }
5021 rm -f conftest.$ac_objext conftest$ac_exeext
5022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5023 (eval $ac_link) 2>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try='test -s conftest$ac_exeext'
5028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); }; }; then
5033 ac_cv_lib_socket_setsockopt=yes
5035 echo "$as_me: failed program was:" >&5
5036 cat conftest.$ac_ext >&5
5037 ac_cv_lib_socket_setsockopt=no
5039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5040 LIBS=$ac_check_lib_save_LIBS
5042 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
5043 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
5044 if test $ac_cv_lib_socket_setsockopt = yes; then
5045 cat >>confdefs.h <<_ACEOF
5046 #define HAVE_LIBSOCKET 1
5049 LIBS="-lsocket $LIBS"
5056 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5057 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5058 if test "${ac_cv_header_stdc+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 cat >conftest.$ac_ext <<_ACEOF
5062 #line $LINENO "configure"
5063 #include "confdefs.h"
5070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5073 egrep -v '^ *\+' conftest.er1 >conftest.err
5075 cat conftest.err >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } >/dev/null; then
5078 if test -s conftest.err; then
5079 ac_cpp_err=$ac_c_preproc_warn_flag
5086 if test -z "$ac_cpp_err"; then
5087 ac_cv_header_stdc=yes
5089 echo "$as_me: failed program was:" >&5
5090 cat conftest.$ac_ext >&5
5091 ac_cv_header_stdc=no
5093 rm -f conftest.err conftest.$ac_ext
5095 if test $ac_cv_header_stdc = yes; then
5096 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5097 cat >conftest.$ac_ext <<_ACEOF
5098 #line $LINENO "configure"
5099 #include "confdefs.h"
5103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5104 egrep "memchr" >/dev/null 2>&1; then
5107 ac_cv_header_stdc=no
5113 if test $ac_cv_header_stdc = yes; then
5114 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5115 cat >conftest.$ac_ext <<_ACEOF
5116 #line $LINENO "configure"
5117 #include "confdefs.h"
5121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5122 egrep "free" >/dev/null 2>&1; then
5125 ac_cv_header_stdc=no
5131 if test $ac_cv_header_stdc = yes; then
5132 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5133 if test "$cross_compiling" = yes; then
5136 cat >conftest.$ac_ext <<_ACEOF
5137 #line $LINENO "configure"
5138 #include "confdefs.h"
5140 #if ((' ' & 0x0FF) == 0x020)
5141 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5142 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5144 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5145 || ('j' <= (c) && (c) <= 'r') \
5146 || ('s' <= (c) && (c) <= 'z'))
5147 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5150 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5155 for (i = 0; i < 256; i++)
5156 if (XOR (islower (i), ISLOWER (i))
5157 || toupper (i) != TOUPPER (i))
5162 rm -f conftest$ac_exeext
5163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5164 (eval $ac_link) 2>&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; }; then
5175 echo "$as_me: program exited with status $ac_status" >&5
5176 echo "$as_me: failed program was:" >&5
5177 cat conftest.$ac_ext >&5
5179 ac_cv_header_stdc=no
5181 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5185 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5186 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5187 if test $ac_cv_header_stdc = yes; then
5189 cat >>confdefs.h <<\_ACEOF
5190 #define STDC_HEADERS 1
5202 for ac_header in bstring.h errno.h fcntl.h ieeefp.h math.h memory.h netdb.h
5204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5206 echo "$as_me:$LINENO: checking for $ac_header" >&5
5207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5214 # Is the header compilable?
5215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5217 cat >conftest.$ac_ext <<_ACEOF
5218 #line $LINENO "configure"
5219 #include "confdefs.h"
5220 $ac_includes_default
5221 #include <$ac_header>
5223 rm -f conftest.$ac_objext
5224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5225 (eval $ac_compile) 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); } &&
5229 { ac_try='test -s conftest.$ac_objext'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; }; then
5235 ac_header_compiler=yes
5237 echo "$as_me: failed program was:" >&5
5238 cat conftest.$ac_ext >&5
5239 ac_header_compiler=no
5241 rm -f conftest.$ac_objext conftest.$ac_ext
5242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5243 echo "${ECHO_T}$ac_header_compiler" >&6
5245 # Is the header present?
5246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5248 cat >conftest.$ac_ext <<_ACEOF
5249 #line $LINENO "configure"
5250 #include "confdefs.h"
5251 #include <$ac_header>
5253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5256 egrep -v '^ *\+' conftest.er1 >conftest.err
5258 cat conftest.err >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } >/dev/null; then
5261 if test -s conftest.err; then
5262 ac_cpp_err=$ac_c_preproc_warn_flag
5269 if test -z "$ac_cpp_err"; then
5270 ac_header_preproc=yes
5272 echo "$as_me: failed program was:" >&5
5273 cat conftest.$ac_ext >&5
5274 ac_header_preproc=no
5276 rm -f conftest.err conftest.$ac_ext
5277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5278 echo "${ECHO_T}$ac_header_preproc" >&6
5280 # So? What about this header?
5281 case $ac_header_compiler:$ac_header_preproc in
5283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5295 echo "$as_me:$LINENO: checking for $ac_header" >&5
5296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5298 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 eval "$as_ac_Header=$ac_header_preproc"
5302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5307 cat >>confdefs.h <<_ACEOF
5308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5322 for ac_header in poll.h resolv.h sched.h sgtty.h stdlib.h string.h termio.h
5324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5326 echo "$as_me:$LINENO: checking for $ac_header" >&5
5327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5334 # Is the header compilable?
5335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5337 cat >conftest.$ac_ext <<_ACEOF
5338 #line $LINENO "configure"
5339 #include "confdefs.h"
5340 $ac_includes_default
5341 #include <$ac_header>
5343 rm -f conftest.$ac_objext
5344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5345 (eval $ac_compile) 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } &&
5349 { ac_try='test -s conftest.$ac_objext'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; }; then
5355 ac_header_compiler=yes
5357 echo "$as_me: failed program was:" >&5
5358 cat conftest.$ac_ext >&5
5359 ac_header_compiler=no
5361 rm -f conftest.$ac_objext conftest.$ac_ext
5362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5363 echo "${ECHO_T}$ac_header_compiler" >&6
5365 # Is the header present?
5366 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5368 cat >conftest.$ac_ext <<_ACEOF
5369 #line $LINENO "configure"
5370 #include "confdefs.h"
5371 #include <$ac_header>
5373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5376 egrep -v '^ *\+' conftest.er1 >conftest.err
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } >/dev/null; then
5381 if test -s conftest.err; then
5382 ac_cpp_err=$ac_c_preproc_warn_flag
5389 if test -z "$ac_cpp_err"; then
5390 ac_header_preproc=yes
5392 echo "$as_me: failed program was:" >&5
5393 cat conftest.$ac_ext >&5
5394 ac_header_preproc=no
5396 rm -f conftest.err conftest.$ac_ext
5397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5398 echo "${ECHO_T}$ac_header_preproc" >&6
5400 # So? What about this header?
5401 case $ac_header_compiler:$ac_header_preproc in
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5415 echo "$as_me:$LINENO: checking for $ac_header" >&5
5416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 eval "$as_ac_Header=$ac_header_preproc"
5422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5427 cat >>confdefs.h <<_ACEOF
5428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5441 for ac_header in termios.h timepps.h timex.h unistd.h utmp.h utmpx.h
5443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5445 echo "$as_me:$LINENO: checking for $ac_header" >&5
5446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5453 # Is the header compilable?
5454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5456 cat >conftest.$ac_ext <<_ACEOF
5457 #line $LINENO "configure"
5458 #include "confdefs.h"
5459 $ac_includes_default
5460 #include <$ac_header>
5462 rm -f conftest.$ac_objext
5463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5464 (eval $ac_compile) 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } &&
5468 { ac_try='test -s conftest.$ac_objext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 ac_header_compiler=yes
5476 echo "$as_me: failed program was:" >&5
5477 cat conftest.$ac_ext >&5
5478 ac_header_compiler=no
5480 rm -f conftest.$ac_objext conftest.$ac_ext
5481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5482 echo "${ECHO_T}$ac_header_compiler" >&6
5484 # Is the header present?
5485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5487 cat >conftest.$ac_ext <<_ACEOF
5488 #line $LINENO "configure"
5489 #include "confdefs.h"
5490 #include <$ac_header>
5492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5495 egrep -v '^ *\+' conftest.er1 >conftest.err
5497 cat conftest.err >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } >/dev/null; then
5500 if test -s conftest.err; then
5501 ac_cpp_err=$ac_c_preproc_warn_flag
5508 if test -z "$ac_cpp_err"; then
5509 ac_header_preproc=yes
5511 echo "$as_me: failed program was:" >&5
5512 cat conftest.$ac_ext >&5
5513 ac_header_preproc=no
5515 rm -f conftest.err conftest.$ac_ext
5516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5517 echo "${ECHO_T}$ac_header_preproc" >&6
5519 # So? What about this header?
5520 case $ac_header_compiler:$ac_header_preproc in
5522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5534 echo "$as_me:$LINENO: checking for $ac_header" >&5
5535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 eval "$as_ac_Header=$ac_header_preproc"
5541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5546 cat >>confdefs.h <<_ACEOF
5547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5557 for ac_header in arpa/nameser.h net/if.h netinet/in_system.h
5559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5561 echo "$as_me:$LINENO: checking for $ac_header" >&5
5562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5569 # Is the header compilable?
5570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5572 cat >conftest.$ac_ext <<_ACEOF
5573 #line $LINENO "configure"
5574 #include "confdefs.h"
5575 $ac_includes_default
5576 #include <$ac_header>
5578 rm -f conftest.$ac_objext
5579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5580 (eval $ac_compile) 2>&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } &&
5584 { ac_try='test -s conftest.$ac_objext'
5585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; }; then
5590 ac_header_compiler=yes
5592 echo "$as_me: failed program was:" >&5
5593 cat conftest.$ac_ext >&5
5594 ac_header_compiler=no
5596 rm -f conftest.$ac_objext conftest.$ac_ext
5597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5598 echo "${ECHO_T}$ac_header_compiler" >&6
5600 # Is the header present?
5601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5603 cat >conftest.$ac_ext <<_ACEOF
5604 #line $LINENO "configure"
5605 #include "confdefs.h"
5606 #include <$ac_header>
5608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5609 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5611 egrep -v '^ *\+' conftest.er1 >conftest.err
5613 cat conftest.err >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } >/dev/null; then
5616 if test -s conftest.err; then
5617 ac_cpp_err=$ac_c_preproc_warn_flag
5624 if test -z "$ac_cpp_err"; then
5625 ac_header_preproc=yes
5627 echo "$as_me: failed program was:" >&5
5628 cat conftest.$ac_ext >&5
5629 ac_header_preproc=no
5631 rm -f conftest.err conftest.$ac_ext
5632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5633 echo "${ECHO_T}$ac_header_preproc" >&6
5635 # So? What about this header?
5636 case $ac_header_compiler:$ac_header_preproc in
5638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5650 echo "$as_me:$LINENO: checking for $ac_header" >&5
5651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 eval "$as_ac_Header=$ac_header_preproc"
5657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5662 cat >>confdefs.h <<_ACEOF
5663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5673 for ac_header in netinet/in_systm.h netinet/in.h netinet/ip.h
5675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5685 # Is the header compilable?
5686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5688 cat >conftest.$ac_ext <<_ACEOF
5689 #line $LINENO "configure"
5690 #include "confdefs.h"
5691 $ac_includes_default
5692 #include <$ac_header>
5694 rm -f conftest.$ac_objext
5695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5696 (eval $ac_compile) 2>&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } &&
5700 { ac_try='test -s conftest.$ac_objext'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; }; then
5706 ac_header_compiler=yes
5708 echo "$as_me: failed program was:" >&5
5709 cat conftest.$ac_ext >&5
5710 ac_header_compiler=no
5712 rm -f conftest.$ac_objext conftest.$ac_ext
5713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5714 echo "${ECHO_T}$ac_header_compiler" >&6
5716 # Is the header present?
5717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5719 cat >conftest.$ac_ext <<_ACEOF
5720 #line $LINENO "configure"
5721 #include "confdefs.h"
5722 #include <$ac_header>
5724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5727 egrep -v '^ *\+' conftest.er1 >conftest.err
5729 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } >/dev/null; then
5732 if test -s conftest.err; then
5733 ac_cpp_err=$ac_c_preproc_warn_flag
5740 if test -z "$ac_cpp_err"; then
5741 ac_header_preproc=yes
5743 echo "$as_me: failed program was:" >&5
5744 cat conftest.$ac_ext >&5
5745 ac_header_preproc=no
5747 rm -f conftest.err conftest.$ac_ext
5748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5749 echo "${ECHO_T}$ac_header_preproc" >&6
5751 # So? What about this header?
5752 case $ac_header_compiler:$ac_header_preproc in
5754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5766 echo "$as_me:$LINENO: checking for $ac_header" >&5
5767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 eval "$as_ac_Header=$ac_header_preproc"
5773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5778 cat >>confdefs.h <<_ACEOF
5779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5787 for ac_header in netinfo/ni.h
5789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5791 echo "$as_me:$LINENO: checking for $ac_header" >&5
5792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5799 # Is the header compilable?
5800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5802 cat >conftest.$ac_ext <<_ACEOF
5803 #line $LINENO "configure"
5804 #include "confdefs.h"
5805 $ac_includes_default
5806 #include <$ac_header>
5808 rm -f conftest.$ac_objext
5809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5810 (eval $ac_compile) 2>&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } &&
5814 { ac_try='test -s conftest.$ac_objext'
5815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }; }; then
5820 ac_header_compiler=yes
5822 echo "$as_me: failed program was:" >&5
5823 cat conftest.$ac_ext >&5
5824 ac_header_compiler=no
5826 rm -f conftest.$ac_objext conftest.$ac_ext
5827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5828 echo "${ECHO_T}$ac_header_compiler" >&6
5830 # Is the header present?
5831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5833 cat >conftest.$ac_ext <<_ACEOF
5834 #line $LINENO "configure"
5835 #include "confdefs.h"
5836 #include <$ac_header>
5838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5841 egrep -v '^ *\+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } >/dev/null; then
5846 if test -s conftest.err; then
5847 ac_cpp_err=$ac_c_preproc_warn_flag
5854 if test -z "$ac_cpp_err"; then
5855 ac_header_preproc=yes
5857 echo "$as_me: failed program was:" >&5
5858 cat conftest.$ac_ext >&5
5859 ac_header_preproc=no
5861 rm -f conftest.err conftest.$ac_ext
5862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5863 echo "${ECHO_T}$ac_header_preproc" >&6
5865 # So? What about this header?
5866 case $ac_header_compiler:$ac_header_preproc in
5868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5880 echo "$as_me:$LINENO: checking for $ac_header" >&5
5881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 eval "$as_ac_Header=$ac_header_preproc"
5887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5892 cat >>confdefs.h <<_ACEOF
5893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5896 cat >>confdefs.h <<\_ACEOF
5897 #define HAVE_NETINFO 1
5906 for ac_header in sun/audioio.h sys/audioio.h
5908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5910 echo "$as_me:$LINENO: checking for $ac_header" >&5
5911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5918 # Is the header compilable?
5919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5921 cat >conftest.$ac_ext <<_ACEOF
5922 #line $LINENO "configure"
5923 #include "confdefs.h"
5924 $ac_includes_default
5925 #include <$ac_header>
5927 rm -f conftest.$ac_objext
5928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5929 (eval $ac_compile) 2>&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } &&
5933 { ac_try='test -s conftest.$ac_objext'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; }; then
5939 ac_header_compiler=yes
5941 echo "$as_me: failed program was:" >&5
5942 cat conftest.$ac_ext >&5
5943 ac_header_compiler=no
5945 rm -f conftest.$ac_objext conftest.$ac_ext
5946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5947 echo "${ECHO_T}$ac_header_compiler" >&6
5949 # Is the header present?
5950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5952 cat >conftest.$ac_ext <<_ACEOF
5953 #line $LINENO "configure"
5954 #include "confdefs.h"
5955 #include <$ac_header>
5957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5960 egrep -v '^ *\+' conftest.er1 >conftest.err
5962 cat conftest.err >&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } >/dev/null; then
5965 if test -s conftest.err; then
5966 ac_cpp_err=$ac_c_preproc_warn_flag
5973 if test -z "$ac_cpp_err"; then
5974 ac_header_preproc=yes
5976 echo "$as_me: failed program was:" >&5
5977 cat conftest.$ac_ext >&5
5978 ac_header_preproc=no
5980 rm -f conftest.err conftest.$ac_ext
5981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5982 echo "${ECHO_T}$ac_header_preproc" >&6
5984 # So? What about this header?
5985 case $ac_header_compiler:$ac_header_preproc in
5987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5999 echo "$as_me:$LINENO: checking for $ac_header" >&5
6000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 eval "$as_ac_Header=$ac_header_preproc"
6006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6011 cat >>confdefs.h <<_ACEOF
6012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6021 for ac_header in sys/clkdefs.h sys/file.h
6023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6025 echo "$as_me:$LINENO: checking for $ac_header" >&5
6026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6028 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6033 # Is the header compilable?
6034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6036 cat >conftest.$ac_ext <<_ACEOF
6037 #line $LINENO "configure"
6038 #include "confdefs.h"
6039 $ac_includes_default
6040 #include <$ac_header>
6042 rm -f conftest.$ac_objext
6043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6044 (eval $ac_compile) 2>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } &&
6048 { ac_try='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6054 ac_header_compiler=yes
6056 echo "$as_me: failed program was:" >&5
6057 cat conftest.$ac_ext >&5
6058 ac_header_compiler=no
6060 rm -f conftest.$ac_objext conftest.$ac_ext
6061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6062 echo "${ECHO_T}$ac_header_compiler" >&6
6064 # Is the header present?
6065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6067 cat >conftest.$ac_ext <<_ACEOF
6068 #line $LINENO "configure"
6069 #include "confdefs.h"
6070 #include <$ac_header>
6072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6075 egrep -v '^ *\+' conftest.er1 >conftest.err
6077 cat conftest.err >&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); } >/dev/null; then
6080 if test -s conftest.err; then
6081 ac_cpp_err=$ac_c_preproc_warn_flag
6088 if test -z "$ac_cpp_err"; then
6089 ac_header_preproc=yes
6091 echo "$as_me: failed program was:" >&5
6092 cat conftest.$ac_ext >&5
6093 ac_header_preproc=no
6095 rm -f conftest.err conftest.$ac_ext
6096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6097 echo "${ECHO_T}$ac_header_preproc" >&6
6099 # So? What about this header?
6100 case $ac_header_compiler:$ac_header_preproc in
6102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6114 echo "$as_me:$LINENO: checking for $ac_header" >&5
6115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 eval "$as_ac_Header=$ac_header_preproc"
6121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6126 cat >>confdefs.h <<_ACEOF
6127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6137 for ac_header in sys/ioctl.h
6139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6141 echo "$as_me:$LINENO: checking for $ac_header" >&5
6142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6144 echo $ECHO_N "(cached) $ECHO_C" >&6
6146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6149 # Is the header compilable?
6150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6152 cat >conftest.$ac_ext <<_ACEOF
6153 #line $LINENO "configure"
6154 #include "confdefs.h"
6155 $ac_includes_default
6156 #include <$ac_header>
6158 rm -f conftest.$ac_objext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6160 (eval $ac_compile) 2>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } &&
6164 { ac_try='test -s conftest.$ac_objext'
6165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); }; }; then
6170 ac_header_compiler=yes
6172 echo "$as_me: failed program was:" >&5
6173 cat conftest.$ac_ext >&5
6174 ac_header_compiler=no
6176 rm -f conftest.$ac_objext conftest.$ac_ext
6177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6178 echo "${ECHO_T}$ac_header_compiler" >&6
6180 # Is the header present?
6181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6183 cat >conftest.$ac_ext <<_ACEOF
6184 #line $LINENO "configure"
6185 #include "confdefs.h"
6186 #include <$ac_header>
6188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6191 egrep -v '^ *\+' conftest.er1 >conftest.err
6193 cat conftest.err >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } >/dev/null; then
6196 if test -s conftest.err; then
6197 ac_cpp_err=$ac_c_preproc_warn_flag
6204 if test -z "$ac_cpp_err"; then
6205 ac_header_preproc=yes
6207 echo "$as_me: failed program was:" >&5
6208 cat conftest.$ac_ext >&5
6209 ac_header_preproc=no
6211 rm -f conftest.err conftest.$ac_ext
6212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6213 echo "${ECHO_T}$ac_header_preproc" >&6
6215 # So? What about this header?
6216 case $ac_header_compiler:$ac_header_preproc in
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6230 echo "$as_me:$LINENO: checking for $ac_header" >&5
6231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 eval "$as_ac_Header=$ac_header_preproc"
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6257 for ac_header in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h
6259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6261 echo "$as_me:$LINENO: checking for $ac_header" >&5
6262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6269 # Is the header compilable?
6270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6272 cat >conftest.$ac_ext <<_ACEOF
6273 #line $LINENO "configure"
6274 #include "confdefs.h"
6275 $ac_includes_default
6276 #include <$ac_header>
6278 rm -f conftest.$ac_objext
6279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6280 (eval $ac_compile) 2>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try='test -s conftest.$ac_objext'
6285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; }; then
6290 ac_header_compiler=yes
6292 echo "$as_me: failed program was:" >&5
6293 cat conftest.$ac_ext >&5
6294 ac_header_compiler=no
6296 rm -f conftest.$ac_objext conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6298 echo "${ECHO_T}$ac_header_compiler" >&6
6300 # Is the header present?
6301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6303 cat >conftest.$ac_ext <<_ACEOF
6304 #line $LINENO "configure"
6305 #include "confdefs.h"
6306 #include <$ac_header>
6308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6311 egrep -v '^ *\+' conftest.er1 >conftest.err
6313 cat conftest.err >&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } >/dev/null; then
6316 if test -s conftest.err; then
6317 ac_cpp_err=$ac_c_preproc_warn_flag
6324 if test -z "$ac_cpp_err"; then
6325 ac_header_preproc=yes
6327 echo "$as_me: failed program was:" >&5
6328 cat conftest.$ac_ext >&5
6329 ac_header_preproc=no
6331 rm -f conftest.err conftest.$ac_ext
6332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6333 echo "${ECHO_T}$ac_header_preproc" >&6
6335 # So? What about this header?
6336 case $ac_header_compiler:$ac_header_preproc in
6338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6350 echo "$as_me:$LINENO: checking for $ac_header" >&5
6351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 eval "$as_ac_Header=$ac_header_preproc"
6357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6362 cat >>confdefs.h <<_ACEOF
6363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6374 for ac_header in sys/ppstime.h sys/proc.h sys/resource.h sys/sched.h
6376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6378 echo "$as_me:$LINENO: checking for $ac_header" >&5
6379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6386 # Is the header compilable?
6387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6389 cat >conftest.$ac_ext <<_ACEOF
6390 #line $LINENO "configure"
6391 #include "confdefs.h"
6392 $ac_includes_default
6393 #include <$ac_header>
6395 rm -f conftest.$ac_objext
6396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6397 (eval $ac_compile) 2>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } &&
6401 { ac_try='test -s conftest.$ac_objext'
6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }; }; then
6407 ac_header_compiler=yes
6409 echo "$as_me: failed program was:" >&5
6410 cat conftest.$ac_ext >&5
6411 ac_header_compiler=no
6413 rm -f conftest.$ac_objext conftest.$ac_ext
6414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6415 echo "${ECHO_T}$ac_header_compiler" >&6
6417 # Is the header present?
6418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6420 cat >conftest.$ac_ext <<_ACEOF
6421 #line $LINENO "configure"
6422 #include "confdefs.h"
6423 #include <$ac_header>
6425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6428 egrep -v '^ *\+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } >/dev/null; then
6433 if test -s conftest.err; then
6434 ac_cpp_err=$ac_c_preproc_warn_flag
6441 if test -z "$ac_cpp_err"; then
6442 ac_header_preproc=yes
6444 echo "$as_me: failed program was:" >&5
6445 cat conftest.$ac_ext >&5
6446 ac_header_preproc=no
6448 rm -f conftest.err conftest.$ac_ext
6449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6450 echo "${ECHO_T}$ac_header_preproc" >&6
6452 # So? What about this header?
6453 case $ac_header_compiler:$ac_header_preproc in
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6467 echo "$as_me:$LINENO: checking for $ac_header" >&5
6468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 eval "$as_ac_Header=$ac_header_preproc"
6474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6479 cat >>confdefs.h <<_ACEOF
6480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6490 for ac_header in sys/sio.h
6492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6494 echo "$as_me:$LINENO: checking for $ac_header" >&5
6495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6502 # Is the header compilable?
6503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6505 cat >conftest.$ac_ext <<_ACEOF
6506 #line $LINENO "configure"
6507 #include "confdefs.h"
6508 $ac_includes_default
6509 #include <$ac_header>
6511 rm -f conftest.$ac_objext
6512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6513 (eval $ac_compile) 2>&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); } &&
6517 { ac_try='test -s conftest.$ac_objext'
6518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); }; }; then
6523 ac_header_compiler=yes
6525 echo "$as_me: failed program was:" >&5
6526 cat conftest.$ac_ext >&5
6527 ac_header_compiler=no
6529 rm -f conftest.$ac_objext conftest.$ac_ext
6530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6531 echo "${ECHO_T}$ac_header_compiler" >&6
6533 # Is the header present?
6534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6536 cat >conftest.$ac_ext <<_ACEOF
6537 #line $LINENO "configure"
6538 #include "confdefs.h"
6539 #include <$ac_header>
6541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6544 egrep -v '^ *\+' conftest.er1 >conftest.err
6546 cat conftest.err >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } >/dev/null; then
6549 if test -s conftest.err; then
6550 ac_cpp_err=$ac_c_preproc_warn_flag
6557 if test -z "$ac_cpp_err"; then
6558 ac_header_preproc=yes
6560 echo "$as_me: failed program was:" >&5
6561 cat conftest.$ac_ext >&5
6562 ac_header_preproc=no
6564 rm -f conftest.err conftest.$ac_ext
6565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6566 echo "${ECHO_T}$ac_header_preproc" >&6
6568 # So? What about this header?
6569 case $ac_header_compiler:$ac_header_preproc in
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6583 echo "$as_me:$LINENO: checking for $ac_header" >&5
6584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 eval "$as_ac_Header=$ac_header_preproc"
6590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6595 cat >>confdefs.h <<_ACEOF
6596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6608 for ac_header in sys/select.h sys/signal.h sys/sockio.h
6610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6612 echo "$as_me:$LINENO: checking for $ac_header" >&5
6613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6620 # Is the header compilable?
6621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6623 cat >conftest.$ac_ext <<_ACEOF
6624 #line $LINENO "configure"
6625 #include "confdefs.h"
6626 $ac_includes_default
6627 #include <$ac_header>
6629 rm -f conftest.$ac_objext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } &&
6635 { ac_try='test -s conftest.$ac_objext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6641 ac_header_compiler=yes
6643 echo "$as_me: failed program was:" >&5
6644 cat conftest.$ac_ext >&5
6645 ac_header_compiler=no
6647 rm -f conftest.$ac_objext conftest.$ac_ext
6648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6649 echo "${ECHO_T}$ac_header_compiler" >&6
6651 # Is the header present?
6652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6654 cat >conftest.$ac_ext <<_ACEOF
6655 #line $LINENO "configure"
6656 #include "confdefs.h"
6657 #include <$ac_header>
6659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6662 egrep -v '^ *\+' conftest.er1 >conftest.err
6664 cat conftest.err >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } >/dev/null; then
6667 if test -s conftest.err; then
6668 ac_cpp_err=$ac_c_preproc_warn_flag
6675 if test -z "$ac_cpp_err"; then
6676 ac_header_preproc=yes
6678 echo "$as_me: failed program was:" >&5
6679 cat conftest.$ac_ext >&5
6680 ac_header_preproc=no
6682 rm -f conftest.err conftest.$ac_ext
6683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6684 echo "${ECHO_T}$ac_header_preproc" >&6
6686 # So? What about this header?
6687 case $ac_header_compiler:$ac_header_preproc in
6689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6701 echo "$as_me:$LINENO: checking for $ac_header" >&5
6702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 eval "$as_ac_Header=$ac_header_preproc"
6708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6713 cat >>confdefs.h <<_ACEOF
6714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6723 for ac_header in machine/soundcard.h sys/soundcard.h
6725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6727 echo "$as_me:$LINENO: checking for $ac_header" >&5
6728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6735 # Is the header compilable?
6736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6738 cat >conftest.$ac_ext <<_ACEOF
6739 #line $LINENO "configure"
6740 #include "confdefs.h"
6741 $ac_includes_default
6742 #include <$ac_header>
6744 rm -f conftest.$ac_objext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6746 (eval $ac_compile) 2>&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); } &&
6750 { ac_try='test -s conftest.$ac_objext'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then
6756 ac_header_compiler=yes
6758 echo "$as_me: failed program was:" >&5
6759 cat conftest.$ac_ext >&5
6760 ac_header_compiler=no
6762 rm -f conftest.$ac_objext conftest.$ac_ext
6763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6764 echo "${ECHO_T}$ac_header_compiler" >&6
6766 # Is the header present?
6767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6769 cat >conftest.$ac_ext <<_ACEOF
6770 #line $LINENO "configure"
6771 #include "confdefs.h"
6772 #include <$ac_header>
6774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6777 egrep -v '^ *\+' conftest.er1 >conftest.err
6779 cat conftest.err >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } >/dev/null; then
6782 if test -s conftest.err; then
6783 ac_cpp_err=$ac_c_preproc_warn_flag
6790 if test -z "$ac_cpp_err"; then
6791 ac_header_preproc=yes
6793 echo "$as_me: failed program was:" >&5
6794 cat conftest.$ac_ext >&5
6795 ac_header_preproc=no
6797 rm -f conftest.err conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6799 echo "${ECHO_T}$ac_header_preproc" >&6
6801 # So? What about this header?
6802 case $ac_header_compiler:$ac_header_preproc in
6804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6814 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6816 echo "$as_me:$LINENO: checking for $ac_header" >&5
6817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 eval "$as_ac_Header=$ac_header_preproc"
6823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6828 cat >>confdefs.h <<_ACEOF
6829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6838 for ac_header in sys/stat.h sys/stream.h
6840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842 echo "$as_me:$LINENO: checking for $ac_header" >&5
6843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6845 echo $ECHO_N "(cached) $ECHO_C" >&6
6847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6850 # Is the header compilable?
6851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6853 cat >conftest.$ac_ext <<_ACEOF
6854 #line $LINENO "configure"
6855 #include "confdefs.h"
6856 $ac_includes_default
6857 #include <$ac_header>
6859 rm -f conftest.$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861 (eval $ac_compile) 2>&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_header_compiler=yes
6873 echo "$as_me: failed program was:" >&5
6874 cat conftest.$ac_ext >&5
6875 ac_header_compiler=no
6877 rm -f conftest.$ac_objext conftest.$ac_ext
6878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6879 echo "${ECHO_T}$ac_header_compiler" >&6
6881 # Is the header present?
6882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6884 cat >conftest.$ac_ext <<_ACEOF
6885 #line $LINENO "configure"
6886 #include "confdefs.h"
6887 #include <$ac_header>
6889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6892 egrep -v '^ *\+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } >/dev/null; then
6897 if test -s conftest.err; then
6898 ac_cpp_err=$ac_c_preproc_warn_flag
6905 if test -z "$ac_cpp_err"; then
6906 ac_header_preproc=yes
6908 echo "$as_me: failed program was:" >&5
6909 cat conftest.$ac_ext >&5
6910 ac_header_preproc=no
6912 rm -f conftest.err conftest.$ac_ext
6913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6914 echo "${ECHO_T}$ac_header_preproc" >&6
6916 # So? What about this header?
6917 case $ac_header_compiler:$ac_header_preproc in
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6931 echo "$as_me:$LINENO: checking for $ac_header" >&5
6932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 eval "$as_ac_Header=$ac_header_preproc"
6938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6943 cat >>confdefs.h <<_ACEOF
6944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6955 for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/termios.h
6957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6959 echo "$as_me:$LINENO: checking for $ac_header" >&5
6960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6962 echo $ECHO_N "(cached) $ECHO_C" >&6
6964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6967 # Is the header compilable?
6968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6970 cat >conftest.$ac_ext <<_ACEOF
6971 #line $LINENO "configure"
6972 #include "confdefs.h"
6973 $ac_includes_default
6974 #include <$ac_header>
6976 rm -f conftest.$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } &&
6982 { ac_try='test -s conftest.$ac_objext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); }; }; then
6988 ac_header_compiler=yes
6990 echo "$as_me: failed program was:" >&5
6991 cat conftest.$ac_ext >&5
6992 ac_header_compiler=no
6994 rm -f conftest.$ac_objext conftest.$ac_ext
6995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6996 echo "${ECHO_T}$ac_header_compiler" >&6
6998 # Is the header present?
6999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7001 cat >conftest.$ac_ext <<_ACEOF
7002 #line $LINENO "configure"
7003 #include "confdefs.h"
7004 #include <$ac_header>
7006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7009 egrep -v '^ *\+' conftest.er1 >conftest.err
7011 cat conftest.err >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } >/dev/null; then
7014 if test -s conftest.err; then
7015 ac_cpp_err=$ac_c_preproc_warn_flag
7022 if test -z "$ac_cpp_err"; then
7023 ac_header_preproc=yes
7025 echo "$as_me: failed program was:" >&5
7026 cat conftest.$ac_ext >&5
7027 ac_header_preproc=no
7029 rm -f conftest.err conftest.$ac_ext
7030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7031 echo "${ECHO_T}$ac_header_preproc" >&6
7033 # So? What about this header?
7034 case $ac_header_compiler:$ac_header_preproc in
7036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7044 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7048 echo "$as_me:$LINENO: checking for $ac_header" >&5
7049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 eval "$as_ac_Header=$ac_header_preproc"
7055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7060 cat >>confdefs.h <<_ACEOF
7061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7070 for ac_header in sys/time.h sys/signal.h
7072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7074 echo "$as_me:$LINENO: checking for $ac_header" >&5
7075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7082 # Is the header compilable?
7083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7085 cat >conftest.$ac_ext <<_ACEOF
7086 #line $LINENO "configure"
7087 #include "confdefs.h"
7088 $ac_includes_default
7089 #include <$ac_header>
7091 rm -f conftest.$ac_objext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093 (eval $ac_compile) 2>&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
7097 { ac_try='test -s conftest.$ac_objext'
7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; }; then
7103 ac_header_compiler=yes
7105 echo "$as_me: failed program was:" >&5
7106 cat conftest.$ac_ext >&5
7107 ac_header_compiler=no
7109 rm -f conftest.$ac_objext conftest.$ac_ext
7110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7111 echo "${ECHO_T}$ac_header_compiler" >&6
7113 # Is the header present?
7114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7116 cat >conftest.$ac_ext <<_ACEOF
7117 #line $LINENO "configure"
7118 #include "confdefs.h"
7119 #include <$ac_header>
7121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7124 egrep -v '^ *\+' conftest.er1 >conftest.err
7126 cat conftest.err >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } >/dev/null; then
7129 if test -s conftest.err; then
7130 ac_cpp_err=$ac_c_preproc_warn_flag
7137 if test -z "$ac_cpp_err"; then
7138 ac_header_preproc=yes
7140 echo "$as_me: failed program was:" >&5
7141 cat conftest.$ac_ext >&5
7142 ac_header_preproc=no
7144 rm -f conftest.err conftest.$ac_ext
7145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7146 echo "${ECHO_T}$ac_header_preproc" >&6
7148 # So? What about this header?
7149 case $ac_header_compiler:$ac_header_preproc in
7151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7159 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7163 echo "$as_me:$LINENO: checking for $ac_header" >&5
7164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7166 echo $ECHO_N "(cached) $ECHO_C" >&6
7168 eval "$as_ac_Header=$ac_header_preproc"
7170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7175 cat >>confdefs.h <<_ACEOF
7176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 cat >conftest.$ac_ext <<_ACEOF
7184 #line $LINENO "configure"
7185 #include "confdefs.h"
7186 #include <sys/timepps.h>
7187 #ifdef PPS_API_VERS_1
7192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7193 egrep "yes" >/dev/null 2>&1; then
7195 for ac_header in sys/timepps.h
7197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7199 echo "$as_me:$LINENO: checking for $ac_header" >&5
7200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7207 # Is the header compilable?
7208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7210 cat >conftest.$ac_ext <<_ACEOF
7211 #line $LINENO "configure"
7212 #include "confdefs.h"
7213 $ac_includes_default
7214 #include <$ac_header>
7216 rm -f conftest.$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try='test -s conftest.$ac_objext'
7223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }; }; then
7228 ac_header_compiler=yes
7230 echo "$as_me: failed program was:" >&5
7231 cat conftest.$ac_ext >&5
7232 ac_header_compiler=no
7234 rm -f conftest.$ac_objext conftest.$ac_ext
7235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7236 echo "${ECHO_T}$ac_header_compiler" >&6
7238 # Is the header present?
7239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7241 cat >conftest.$ac_ext <<_ACEOF
7242 #line $LINENO "configure"
7243 #include "confdefs.h"
7244 #include <$ac_header>
7246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7249 egrep -v '^ *\+' conftest.er1 >conftest.err
7251 cat conftest.err >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } >/dev/null; then
7254 if test -s conftest.err; then
7255 ac_cpp_err=$ac_c_preproc_warn_flag
7262 if test -z "$ac_cpp_err"; then
7263 ac_header_preproc=yes
7265 echo "$as_me: failed program was:" >&5
7266 cat conftest.$ac_ext >&5
7267 ac_header_preproc=no
7269 rm -f conftest.err conftest.$ac_ext
7270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7271 echo "${ECHO_T}$ac_header_preproc" >&6
7273 # So? What about this header?
7274 case $ac_header_compiler:$ac_header_preproc in
7276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7288 echo "$as_me:$LINENO: checking for $ac_header" >&5
7289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 eval "$as_ac_Header=$ac_header_preproc"
7295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7300 cat >>confdefs.h <<_ACEOF
7301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7316 for ac_header in sys/timers.h sys/timex.h sys/tpro.h sys/types.h sys/wait.h
7318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7320 echo "$as_me:$LINENO: checking for $ac_header" >&5
7321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7328 # Is the header compilable?
7329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7331 cat >conftest.$ac_ext <<_ACEOF
7332 #line $LINENO "configure"
7333 #include "confdefs.h"
7334 $ac_includes_default
7335 #include <$ac_header>
7337 rm -f conftest.$ac_objext
7338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7339 (eval $ac_compile) 2>&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } &&
7343 { ac_try='test -s conftest.$ac_objext'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7349 ac_header_compiler=yes
7351 echo "$as_me: failed program was:" >&5
7352 cat conftest.$ac_ext >&5
7353 ac_header_compiler=no
7355 rm -f conftest.$ac_objext conftest.$ac_ext
7356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7357 echo "${ECHO_T}$ac_header_compiler" >&6
7359 # Is the header present?
7360 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7361 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7362 cat >conftest.$ac_ext <<_ACEOF
7363 #line $LINENO "configure"
7364 #include "confdefs.h"
7365 #include <$ac_header>
7367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7370 egrep -v '^ *\+' conftest.er1 >conftest.err
7372 cat conftest.err >&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); } >/dev/null; then
7375 if test -s conftest.err; then
7376 ac_cpp_err=$ac_c_preproc_warn_flag
7383 if test -z "$ac_cpp_err"; then
7384 ac_header_preproc=yes
7386 echo "$as_me: failed program was:" >&5
7387 cat conftest.$ac_ext >&5
7388 ac_header_preproc=no
7390 rm -f conftest.err conftest.$ac_ext
7391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7392 echo "${ECHO_T}$ac_header_preproc" >&6
7394 # So? What about this header?
7395 case $ac_header_compiler:$ac_header_preproc in
7397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7409 echo "$as_me:$LINENO: checking for $ac_header" >&5
7410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 eval "$as_ac_Header=$ac_header_preproc"
7416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7421 cat >>confdefs.h <<_ACEOF
7422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7429 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7430 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7431 if test "${ac_cv_header_time+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 cat >conftest.$ac_ext <<_ACEOF
7435 #line $LINENO "configure"
7436 #include "confdefs.h"
7437 #include <sys/types.h>
7438 #include <sys/time.h>
7441 #ifdef F77_DUMMY_MAIN
7445 int F77_DUMMY_MAIN() { return 1; }
7450 if ((struct tm *) 0)
7456 rm -f conftest.$ac_objext
7457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7458 (eval $ac_compile) 2>&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); } &&
7462 { ac_try='test -s conftest.$ac_objext'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; }; then
7468 ac_cv_header_time=yes
7470 echo "$as_me: failed program was:" >&5
7471 cat conftest.$ac_ext >&5
7472 ac_cv_header_time=no
7474 rm -f conftest.$ac_objext conftest.$ac_ext
7476 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7477 echo "${ECHO_T}$ac_cv_header_time" >&6
7478 if test $ac_cv_header_time = yes; then
7480 cat >>confdefs.h <<\_ACEOF
7481 #define TIME_WITH_SYS_TIME 1
7490 for ac_header in /sys/sync/queue.h /sys/sync/sema.h
7492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7494 echo "$as_me:$LINENO: checking for $ac_header" >&5
7495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7502 # Is the header compilable?
7503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7505 cat >conftest.$ac_ext <<_ACEOF
7506 #line $LINENO "configure"
7507 #include "confdefs.h"
7508 $ac_includes_default
7509 #include <$ac_header>
7511 rm -f conftest.$ac_objext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7513 (eval $ac_compile) 2>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try='test -s conftest.$ac_objext'
7518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); }; }; then
7523 ac_header_compiler=yes
7525 echo "$as_me: failed program was:" >&5
7526 cat conftest.$ac_ext >&5
7527 ac_header_compiler=no
7529 rm -f conftest.$ac_objext conftest.$ac_ext
7530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7531 echo "${ECHO_T}$ac_header_compiler" >&6
7533 # Is the header present?
7534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7536 cat >conftest.$ac_ext <<_ACEOF
7537 #line $LINENO "configure"
7538 #include "confdefs.h"
7539 #include <$ac_header>
7541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7544 egrep -v '^ *\+' conftest.er1 >conftest.err
7546 cat conftest.err >&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); } >/dev/null; then
7549 if test -s conftest.err; then
7550 ac_cpp_err=$ac_c_preproc_warn_flag
7557 if test -z "$ac_cpp_err"; then
7558 ac_header_preproc=yes
7560 echo "$as_me: failed program was:" >&5
7561 cat conftest.$ac_ext >&5
7562 ac_header_preproc=no
7564 rm -f conftest.err conftest.$ac_ext
7565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7566 echo "${ECHO_T}$ac_header_preproc" >&6
7568 # So? What about this header?
7569 case $ac_header_compiler:$ac_header_preproc in
7571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7583 echo "$as_me:$LINENO: checking for $ac_header" >&5
7584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7588 eval "$as_ac_Header=$ac_header_preproc"
7590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7595 cat >>confdefs.h <<_ACEOF
7596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7608 for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
7610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7612 echo "$as_me:$LINENO: checking for $ac_header" >&5
7613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7615 echo $ECHO_N "(cached) $ECHO_C" >&6
7617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7620 # Is the header compilable?
7621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7623 cat >conftest.$ac_ext <<_ACEOF
7624 #line $LINENO "configure"
7625 #include "confdefs.h"
7626 $ac_includes_default
7627 #include <$ac_header>
7629 rm -f conftest.$ac_objext
7630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7631 (eval $ac_compile) 2>&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try='test -s conftest.$ac_objext'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; }; then
7641 ac_header_compiler=yes
7643 echo "$as_me: failed program was:" >&5
7644 cat conftest.$ac_ext >&5
7645 ac_header_compiler=no
7647 rm -f conftest.$ac_objext conftest.$ac_ext
7648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7649 echo "${ECHO_T}$ac_header_compiler" >&6
7651 # Is the header present?
7652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7654 cat >conftest.$ac_ext <<_ACEOF
7655 #line $LINENO "configure"
7656 #include "confdefs.h"
7657 #include <$ac_header>
7659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7662 egrep -v '^ *\+' conftest.er1 >conftest.err
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } >/dev/null; then
7667 if test -s conftest.err; then
7668 ac_cpp_err=$ac_c_preproc_warn_flag
7675 if test -z "$ac_cpp_err"; then
7676 ac_header_preproc=yes
7678 echo "$as_me: failed program was:" >&5
7679 cat conftest.$ac_ext >&5
7680 ac_header_preproc=no
7682 rm -f conftest.err conftest.$ac_ext
7683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7684 echo "${ECHO_T}$ac_header_preproc" >&6
7686 # So? What about this header?
7687 case $ac_header_compiler:$ac_header_preproc in
7689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7701 echo "$as_me:$LINENO: checking for $ac_header" >&5
7702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 eval "$as_ac_Header=$ac_header_preproc"
7708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7713 cat >>confdefs.h <<_ACEOF
7714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7724 if test "${ac_cv_header_nlist_h+set}" = set; then
7725 echo "$as_me:$LINENO: checking for nlist.h" >&5
7726 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
7727 if test "${ac_cv_header_nlist_h+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7730 echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7731 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
7733 # Is the header compilable?
7734 echo "$as_me:$LINENO: checking nlist.h usability" >&5
7735 echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6
7736 cat >conftest.$ac_ext <<_ACEOF
7737 #line $LINENO "configure"
7738 #include "confdefs.h"
7739 $ac_includes_default
7742 rm -f conftest.$ac_objext
7743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7744 (eval $ac_compile) 2>&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } &&
7748 { ac_try='test -s conftest.$ac_objext'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_header_compiler=yes
7756 echo "$as_me: failed program was:" >&5
7757 cat conftest.$ac_ext >&5
7758 ac_header_compiler=no
7760 rm -f conftest.$ac_objext conftest.$ac_ext
7761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7762 echo "${ECHO_T}$ac_header_compiler" >&6
7764 # Is the header present?
7765 echo "$as_me:$LINENO: checking nlist.h presence" >&5
7766 echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6
7767 cat >conftest.$ac_ext <<_ACEOF
7768 #line $LINENO "configure"
7769 #include "confdefs.h"
7772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7775 egrep -v '^ *\+' conftest.er1 >conftest.err
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } >/dev/null; then
7780 if test -s conftest.err; then
7781 ac_cpp_err=$ac_c_preproc_warn_flag
7788 if test -z "$ac_cpp_err"; then
7789 ac_header_preproc=yes
7791 echo "$as_me: failed program was:" >&5
7792 cat conftest.$ac_ext >&5
7793 ac_header_preproc=no
7795 rm -f conftest.err conftest.$ac_ext
7796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7797 echo "${ECHO_T}$ac_header_preproc" >&6
7799 # So? What about this header?
7800 case $ac_header_compiler:$ac_header_preproc in
7802 { echo "$as_me:$LINENO: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&5
7803 echo "$as_me: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7804 { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
7805 echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;};;
7807 { echo "$as_me:$LINENO: WARNING: nlist.h: present but cannot be compiled" >&5
7808 echo "$as_me: WARNING: nlist.h: present but cannot be compiled" >&2;}
7809 { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
7810 echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
7811 { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
7812 echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;};;
7814 echo "$as_me:$LINENO: checking for nlist.h" >&5
7815 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
7816 if test "${ac_cv_header_nlist_h+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 ac_cv_header_nlist_h=$ac_header_preproc
7821 echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7822 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
7825 if test $ac_cv_header_nlist_h = yes; then
7827 cat >>confdefs.h <<\_ACEOF
7828 #define NLIST_STRUCT 1
7831 echo "$as_me:$LINENO: checking for n_un in struct nlist" >&5
7832 echo $ECHO_N "checking for n_un in struct nlist... $ECHO_C" >&6
7833 if test "${ac_cv_struct_nlist_n_un+set}" = set; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 cat >conftest.$ac_ext <<_ACEOF
7837 #line $LINENO "configure"
7838 #include "confdefs.h"
7840 #ifdef F77_DUMMY_MAIN
7844 int F77_DUMMY_MAIN() { return 1; }
7849 struct nlist n; n.n_un.n_name = 0;
7854 rm -f conftest.$ac_objext
7855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7856 (eval $ac_compile) 2>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } &&
7860 { ac_try='test -s conftest.$ac_objext'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 ac_cv_struct_nlist_n_un=yes
7868 echo "$as_me: failed program was:" >&5
7869 cat conftest.$ac_ext >&5
7870 ac_cv_struct_nlist_n_un=no
7872 rm -f conftest.$ac_objext conftest.$ac_ext
7874 echo "$as_me:$LINENO: result: $ac_cv_struct_nlist_n_un" >&5
7875 echo "${ECHO_T}$ac_cv_struct_nlist_n_un" >&6
7876 if test $ac_cv_struct_nlist_n_un = yes; then
7878 cat >>confdefs.h <<\_ACEOF
7879 #define NLIST_NAME_UNION 1
7887 echo "$as_me:$LINENO: checking for basic volatile support" >&5
7888 echo $ECHO_N "checking for basic volatile support... $ECHO_C" >&6
7889 if test "${ac_cv_c_volatile+set}" = set; then
7890 echo $ECHO_N "(cached) $ECHO_C" >&6
7892 cat >conftest.$ac_ext <<_ACEOF
7893 #line $LINENO "configure"
7894 #include "confdefs.h"
7896 #ifdef F77_DUMMY_MAIN
7900 int F77_DUMMY_MAIN() { return 1; }
7911 rm -f conftest.$ac_objext
7912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7913 (eval $ac_compile) 2>&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); } &&
7917 { ac_try='test -s conftest.$ac_objext'
7918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); }; }; then
7923 ac_cv_c_volatile=yes
7925 echo "$as_me: failed program was:" >&5
7926 cat conftest.$ac_ext >&5
7929 rm -f conftest.$ac_objext conftest.$ac_ext
7932 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7933 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7934 case "$ac_cv_c_volatile" in
7938 cat >>confdefs.h <<\_ACEOF
7947 # Assume that solaris2 is Ansi C...
7953 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
7954 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
7955 if test "${am_cv_prog_cc_stdc+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 am_cv_prog_cc_stdc=no
7960 # Don't try gcc -ansi; that turns off useful extensions and
7961 # breaks some systems' header files.
7962 # AIX -qlanglvl=ansi
7963 # Ultrix and OSF/1 -std1
7964 # HP-UX 10.20 and later -Ae
7965 # HP-UX older versions -Aa -D_HPUX_SOURCE
7966 # SVR4 -Xc -D__EXTENSIONS__
7967 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7969 CC="$ac_save_CC $ac_arg"
7970 cat >conftest.$ac_ext <<_ACEOF
7971 #line $LINENO "configure"
7972 #include "confdefs.h"
7975 #include <sys/types.h>
7976 #include <sys/stat.h>
7977 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7978 struct buf { int x; };
7979 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7980 static char *e (p, i)
7986 static char *f (char * (*g) (char **, int), char **p, ...)
7991 s = g (p, va_arg (v,int));
7995 int test (int i, double x);
7996 struct s1 {int (*f) (int a);};
7997 struct s2 {int (*f) (double a);};
7998 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8002 #ifdef F77_DUMMY_MAIN
8006 int F77_DUMMY_MAIN() { return 1; }
8012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8018 rm -f conftest.$ac_objext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8020 (eval $ac_compile) 2>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } &&
8024 { ac_try='test -s conftest.$ac_objext'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; }; then
8030 am_cv_prog_cc_stdc="$ac_arg"; break
8032 echo "$as_me: failed program was:" >&5
8033 cat conftest.$ac_ext >&5
8035 rm -f conftest.$ac_objext conftest.$ac_ext
8041 if test -z "$am_cv_prog_cc_stdc"; then
8042 echo "$as_me:$LINENO: result: none needed" >&5
8043 echo "${ECHO_T}none needed" >&6
8045 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
8046 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
8048 case "x$am_cv_prog_cc_stdc" in
8050 *) CC="$CC $am_cv_prog_cc_stdc" ;;
8055 echo "$as_me:$LINENO: checking for function prototypes" >&5
8056 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
8057 if test "$am_cv_prog_cc_stdc" != no; then
8058 echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6
8061 cat >>confdefs.h <<\_ACEOF
8062 #define PROTOTYPES 1
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8069 U=_ ANSI2KNR=./ansi2knr
8071 # Ensure some checks needed by ansi2knr itself.
8072 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8073 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8074 if test "${ac_cv_header_stdc+set}" = set; then
8075 echo $ECHO_N "(cached) $ECHO_C" >&6
8077 cat >conftest.$ac_ext <<_ACEOF
8078 #line $LINENO "configure"
8079 #include "confdefs.h"
8086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8089 egrep -v '^ *\+' conftest.er1 >conftest.err
8091 cat conftest.err >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } >/dev/null; then
8094 if test -s conftest.err; then
8095 ac_cpp_err=$ac_c_preproc_warn_flag
8102 if test -z "$ac_cpp_err"; then
8103 ac_cv_header_stdc=yes
8105 echo "$as_me: failed program was:" >&5
8106 cat conftest.$ac_ext >&5
8107 ac_cv_header_stdc=no
8109 rm -f conftest.err conftest.$ac_ext
8111 if test $ac_cv_header_stdc = yes; then
8112 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8113 cat >conftest.$ac_ext <<_ACEOF
8114 #line $LINENO "configure"
8115 #include "confdefs.h"
8119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8120 egrep "memchr" >/dev/null 2>&1; then
8123 ac_cv_header_stdc=no
8129 if test $ac_cv_header_stdc = yes; then
8130 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8131 cat >conftest.$ac_ext <<_ACEOF
8132 #line $LINENO "configure"
8133 #include "confdefs.h"
8137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8138 egrep "free" >/dev/null 2>&1; then
8141 ac_cv_header_stdc=no
8147 if test $ac_cv_header_stdc = yes; then
8148 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8149 if test "$cross_compiling" = yes; then
8152 cat >conftest.$ac_ext <<_ACEOF
8153 #line $LINENO "configure"
8154 #include "confdefs.h"
8156 #if ((' ' & 0x0FF) == 0x020)
8157 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8158 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8160 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
8161 || ('j' <= (c) && (c) <= 'r') \
8162 || ('s' <= (c) && (c) <= 'z'))
8163 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8166 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8171 for (i = 0; i < 256; i++)
8172 if (XOR (islower (i), ISLOWER (i))
8173 || toupper (i) != TOUPPER (i))
8178 rm -f conftest$ac_exeext
8179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8180 (eval $ac_link) 2>&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); }; }; then
8191 echo "$as_me: program exited with status $ac_status" >&5
8192 echo "$as_me: failed program was:" >&5
8193 cat conftest.$ac_ext >&5
8195 ac_cv_header_stdc=no
8197 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8201 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8202 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8203 if test $ac_cv_header_stdc = yes; then
8205 cat >>confdefs.h <<\_ACEOF
8206 #define STDC_HEADERS 1
8212 for ac_header in string.h
8214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8216 echo "$as_me:$LINENO: checking for $ac_header" >&5
8217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8224 # Is the header compilable?
8225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8227 cat >conftest.$ac_ext <<_ACEOF
8228 #line $LINENO "configure"
8229 #include "confdefs.h"
8230 $ac_includes_default
8231 #include <$ac_header>
8233 rm -f conftest.$ac_objext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8235 (eval $ac_compile) 2>&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } &&
8239 { ac_try='test -s conftest.$ac_objext'
8240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; }; then
8245 ac_header_compiler=yes
8247 echo "$as_me: failed program was:" >&5
8248 cat conftest.$ac_ext >&5
8249 ac_header_compiler=no
8251 rm -f conftest.$ac_objext conftest.$ac_ext
8252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8253 echo "${ECHO_T}$ac_header_compiler" >&6
8255 # Is the header present?
8256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8258 cat >conftest.$ac_ext <<_ACEOF
8259 #line $LINENO "configure"
8260 #include "confdefs.h"
8261 #include <$ac_header>
8263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8266 egrep -v '^ *\+' conftest.er1 >conftest.err
8268 cat conftest.err >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } >/dev/null; then
8271 if test -s conftest.err; then
8272 ac_cpp_err=$ac_c_preproc_warn_flag
8279 if test -z "$ac_cpp_err"; then
8280 ac_header_preproc=yes
8282 echo "$as_me: failed program was:" >&5
8283 cat conftest.$ac_ext >&5
8284 ac_header_preproc=no
8286 rm -f conftest.err conftest.$ac_ext
8287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8288 echo "${ECHO_T}$ac_header_preproc" >&6
8290 # So? What about this header?
8291 case $ac_header_compiler:$ac_header_preproc in
8293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8305 echo "$as_me:$LINENO: checking for $ac_header" >&5
8306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 eval "$as_ac_Header=$ac_header_preproc"
8312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8317 cat >>confdefs.h <<_ACEOF
8318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8328 echo "$as_me:$LINENO: checking if C compiler permits function prototypes" >&5
8329 echo $ECHO_N "checking if C compiler permits function prototypes... $ECHO_C" >&6
8330 if test "${ac_cv_have_prototypes+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 cat >conftest.$ac_ext <<_ACEOF
8334 #line $LINENO "configure"
8335 #include "confdefs.h"
8337 extern int foo (short);
8338 int foo(short i) { return i; }
8339 #ifdef F77_DUMMY_MAIN
8343 int F77_DUMMY_MAIN() { return 1; }
8354 rm -f conftest.$ac_objext
8355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8356 (eval $ac_compile) 2>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try='test -s conftest.$ac_objext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_cv_have_prototypes=yes
8368 echo "$as_me: failed program was:" >&5
8369 cat conftest.$ac_ext >&5
8370 ac_cv_have_prototypes=no
8372 rm -f conftest.$ac_objext conftest.$ac_ext
8375 echo "$as_me:$LINENO: result: $ac_cv_have_prototypes" >&5
8376 echo "${ECHO_T}$ac_cv_have_prototypes" >&6
8377 if test "$ac_cv_have_prototypes" = yes; then
8379 cat >>confdefs.h <<\_ACEOF
8380 #define HAVE_PROTOTYPES 1
8385 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8386 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8387 if test "${ac_cv_c_const+set}" = set; then
8388 echo $ECHO_N "(cached) $ECHO_C" >&6
8390 cat >conftest.$ac_ext <<_ACEOF
8391 #line $LINENO "configure"
8392 #include "confdefs.h"
8394 #ifdef F77_DUMMY_MAIN
8398 int F77_DUMMY_MAIN() { return 1; }
8403 /* FIXME: Include the comments suggested by Paul. */
8405 /* Ultrix mips cc rejects this. */
8406 typedef int charset[2];
8408 /* SunOS 4.1.1 cc rejects this. */
8409 char const *const *ccp;
8411 /* NEC SVR4.0.2 mips cc rejects this. */
8412 struct point {int x, y;};
8413 static struct point const zero = {0,0};
8414 /* AIX XL C 1.02.0.0 rejects this.
8415 It does not let you subtract one const X* pointer from another in
8416 an arm of an if-expression whose if-part is not a constant
8418 const char *g = "string";
8419 ccp = &g + (g ? g-g : 0);
8420 /* HPUX 7.0 cc rejects these. */
8423 ccp = (char const *const *) p;
8424 { /* SCO 3.2v4 cc rejects this. */
8426 char const *s = 0 ? (char *) 0 : (char const *) 0;
8430 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8432 const int *foo = &x[0];
8435 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8436 typedef const int *iptr;
8440 { /* AIX XL C 1.02.0.0 rejects this saying
8441 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8442 struct s { int j; const int *ap[3]; };
8443 struct s *b; b->j = 5;
8445 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8454 rm -f conftest.$ac_objext
8455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8456 (eval $ac_compile) 2>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try='test -s conftest.$ac_objext'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; }; then
8468 echo "$as_me: failed program was:" >&5
8469 cat conftest.$ac_ext >&5
8472 rm -f conftest.$ac_objext conftest.$ac_ext
8474 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8475 echo "${ECHO_T}$ac_cv_c_const" >&6
8476 if test $ac_cv_c_const = no; then
8478 cat >>confdefs.h <<\_ACEOF
8486 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8487 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8488 if test "${ac_cv_c_bigendian+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 # See if sys/param.h defines the BYTE_ORDER macro.
8492 cat >conftest.$ac_ext <<_ACEOF
8493 #line $LINENO "configure"
8494 #include "confdefs.h"
8495 #include <sys/types.h>
8496 #include <sys/param.h>
8498 #ifdef F77_DUMMY_MAIN
8502 int F77_DUMMY_MAIN() { return 1; }
8507 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8515 rm -f conftest.$ac_objext
8516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8517 (eval $ac_compile) 2>&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -s conftest.$ac_objext'
8522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); }; }; then
8527 # It does; now see whether it defined to BIG_ENDIAN or not.
8528 cat >conftest.$ac_ext <<_ACEOF
8529 #line $LINENO "configure"
8530 #include "confdefs.h"
8531 #include <sys/types.h>
8532 #include <sys/param.h>
8534 #ifdef F77_DUMMY_MAIN
8538 int F77_DUMMY_MAIN() { return 1; }
8543 #if BYTE_ORDER != BIG_ENDIAN
8551 rm -f conftest.$ac_objext
8552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8553 (eval $ac_compile) 2>&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); } &&
8557 { ac_try='test -s conftest.$ac_objext'
8558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then
8563 ac_cv_c_bigendian=yes
8565 echo "$as_me: failed program was:" >&5
8566 cat conftest.$ac_ext >&5
8567 ac_cv_c_bigendian=no
8569 rm -f conftest.$ac_objext conftest.$ac_ext
8571 echo "$as_me: failed program was:" >&5
8572 cat conftest.$ac_ext >&5
8573 # It does not; compile a test program.
8574 if test "$cross_compiling" = yes; then
8575 # try to guess the endianess by grep'ing values into an object file
8576 ac_cv_c_bigendian=unknown
8577 cat >conftest.$ac_ext <<_ACEOF
8578 #line $LINENO "configure"
8579 #include "confdefs.h"
8580 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8581 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8582 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8583 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8584 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8585 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
8586 #ifdef F77_DUMMY_MAIN
8590 int F77_DUMMY_MAIN() { return 1; }
8595 _ascii (); _ebcdic ();
8600 rm -f conftest.$ac_objext
8601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8602 (eval $ac_compile) 2>&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try='test -s conftest.$ac_objext'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; }; then
8612 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
8613 ac_cv_c_bigendian=yes
8615 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
8616 if test "$ac_cv_c_bigendian" = unknown; then
8617 ac_cv_c_bigendian=no
8619 # finding both strings is unlikely to happen, but who knows?
8620 ac_cv_c_bigendian=unknown
8624 echo "$as_me: failed program was:" >&5
8625 cat conftest.$ac_ext >&5
8627 rm -f conftest.$ac_objext conftest.$ac_ext
8629 cat >conftest.$ac_ext <<_ACEOF
8630 #line $LINENO "configure"
8631 #include "confdefs.h"
8635 /* Are we little or big endian? From Harbison&Steele. */
8639 char c[sizeof (long)];
8642 exit (u.c[sizeof (long) - 1] == 1);
8645 rm -f conftest$ac_exeext
8646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8647 (eval $ac_link) 2>&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; }; then
8656 ac_cv_c_bigendian=no
8658 echo "$as_me: program exited with status $ac_status" >&5
8659 echo "$as_me: failed program was:" >&5
8660 cat conftest.$ac_ext >&5
8662 ac_cv_c_bigendian=yes
8664 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8667 rm -f conftest.$ac_objext conftest.$ac_ext
8669 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8670 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8671 case $ac_cv_c_bigendian in
8674 cat >>confdefs.h <<\_ACEOF
8675 #define WORDS_BIGENDIAN 1
8681 { { echo "$as_me:$LINENO: error: unknown endianess
8682 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8683 echo "$as_me: error: unknown endianess
8684 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8685 { (exit 1); exit 1; }; } ;;
8690 i*86-*-*) # Was i*86-*-vxworks*
8694 cat >>confdefs.h <<\_ACEOF
8695 #define WORDS_BIGENDIAN 1
8699 *) { { echo "$as_me:$LINENO: error: Cross-compiling needs explicit byte order" >&5
8700 echo "$as_me: error: Cross-compiling needs explicit byte order" >&2;}
8701 { (exit 1); exit 1; }; }
8706 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
8707 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
8708 if test "${ac_cv_type_signal+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 cat >conftest.$ac_ext <<_ACEOF
8712 #line $LINENO "configure"
8713 #include "confdefs.h"
8714 #include <sys/types.h>
8720 extern "C" void (*signal (int, void (*)(int)))(int);
8722 void (*signal ()) ();
8725 #ifdef F77_DUMMY_MAIN
8729 int F77_DUMMY_MAIN() { return 1; }
8739 rm -f conftest.$ac_objext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8741 (eval $ac_compile) 2>&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } &&
8745 { ac_try='test -s conftest.$ac_objext'
8746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); }; }; then
8751 ac_cv_type_signal=void
8753 echo "$as_me: failed program was:" >&5
8754 cat conftest.$ac_ext >&5
8755 ac_cv_type_signal=int
8757 rm -f conftest.$ac_objext conftest.$ac_ext
8759 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
8760 echo "${ECHO_T}$ac_cv_type_signal" >&6
8762 cat >>confdefs.h <<_ACEOF
8763 #define RETSIGTYPE $ac_cv_type_signal
8767 echo "$as_me:$LINENO: checking for off_t" >&5
8768 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8769 if test "${ac_cv_type_off_t+set}" = set; then
8770 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 cat >conftest.$ac_ext <<_ACEOF
8773 #line $LINENO "configure"
8774 #include "confdefs.h"
8775 $ac_includes_default
8776 #ifdef F77_DUMMY_MAIN
8780 int F77_DUMMY_MAIN() { return 1; }
8793 rm -f conftest.$ac_objext
8794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8795 (eval $ac_compile) 2>&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); } &&
8799 { ac_try='test -s conftest.$ac_objext'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then
8805 ac_cv_type_off_t=yes
8807 echo "$as_me: failed program was:" >&5
8808 cat conftest.$ac_ext >&5
8811 rm -f conftest.$ac_objext conftest.$ac_ext
8813 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8814 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8815 if test $ac_cv_type_off_t = yes; then
8819 cat >>confdefs.h <<_ACEOF
8825 echo "$as_me:$LINENO: checking for size_t" >&5
8826 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8827 if test "${ac_cv_type_size_t+set}" = set; then
8828 echo $ECHO_N "(cached) $ECHO_C" >&6
8830 cat >conftest.$ac_ext <<_ACEOF
8831 #line $LINENO "configure"
8832 #include "confdefs.h"
8833 $ac_includes_default
8834 #ifdef F77_DUMMY_MAIN
8838 int F77_DUMMY_MAIN() { return 1; }
8845 if (sizeof (size_t))
8851 rm -f conftest.$ac_objext
8852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8853 (eval $ac_compile) 2>&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); } &&
8857 { ac_try='test -s conftest.$ac_objext'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; }; then
8863 ac_cv_type_size_t=yes
8865 echo "$as_me: failed program was:" >&5
8866 cat conftest.$ac_ext >&5
8867 ac_cv_type_size_t=no
8869 rm -f conftest.$ac_objext conftest.$ac_ext
8871 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8872 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8873 if test $ac_cv_type_size_t = yes; then
8877 cat >>confdefs.h <<_ACEOF
8878 #define size_t unsigned
8883 echo "$as_me:$LINENO: checking for time_t" >&5
8884 echo $ECHO_N "checking for time_t... $ECHO_C" >&6
8885 if test "${ac_cv_type_time_t+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 cat >conftest.$ac_ext <<_ACEOF
8889 #line $LINENO "configure"
8890 #include "confdefs.h"
8891 $ac_includes_default
8892 #ifdef F77_DUMMY_MAIN
8896 int F77_DUMMY_MAIN() { return 1; }
8903 if (sizeof (time_t))
8909 rm -f conftest.$ac_objext
8910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8911 (eval $ac_compile) 2>&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); } &&
8915 { ac_try='test -s conftest.$ac_objext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8921 ac_cv_type_time_t=yes
8923 echo "$as_me: failed program was:" >&5
8924 cat conftest.$ac_ext >&5
8925 ac_cv_type_time_t=no
8927 rm -f conftest.$ac_objext conftest.$ac_ext
8929 echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
8930 echo "${ECHO_T}$ac_cv_type_time_t" >&6
8931 if test $ac_cv_type_time_t = yes; then
8935 cat >>confdefs.h <<_ACEOF
8941 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8942 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8943 if test "${ac_cv_struct_tm+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 cat >conftest.$ac_ext <<_ACEOF
8947 #line $LINENO "configure"
8948 #include "confdefs.h"
8949 #include <sys/types.h>
8952 #ifdef F77_DUMMY_MAIN
8956 int F77_DUMMY_MAIN() { return 1; }
8961 struct tm *tp; tp->tm_sec;
8966 rm -f conftest.$ac_objext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8968 (eval $ac_compile) 2>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try='test -s conftest.$ac_objext'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; }; then
8978 ac_cv_struct_tm=time.h
8980 echo "$as_me: failed program was:" >&5
8981 cat conftest.$ac_ext >&5
8982 ac_cv_struct_tm=sys/time.h
8984 rm -f conftest.$ac_objext conftest.$ac_ext
8986 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8987 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8988 if test $ac_cv_struct_tm = sys/time.h; then
8990 cat >>confdefs.h <<\_ACEOF
8991 #define TM_IN_SYS_TIME 1
8997 echo "$as_me:$LINENO: checking for a fallback value for HZ" >&5
8998 echo $ECHO_N "checking for a fallback value for HZ... $ECHO_C" >&6
8999 if test "${ac_cv_var_default_hz+set}" = set; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 ac_cv_var_default_hz=100
9004 alpha*-dec-osf4*|alpha*-dec-osf5*)
9005 ac_cv_var_default_hz=1024
9008 ac_cv_var_default_hz=256
9012 echo "$as_me:$LINENO: result: $ac_cv_var_default_hz" >&5
9013 echo "${ECHO_T}$ac_cv_var_default_hz" >&6
9015 cat >>confdefs.h <<_ACEOF
9016 #define DEFAULT_HZ $ac_cv_var_default_hz
9020 echo "$as_me:$LINENO: checking if we need to override the system's value for HZ" >&5
9021 echo $ECHO_N "checking if we need to override the system's value for HZ... $ECHO_C" >&6
9022 if test "${ac_cv_var_override_hz+set}" = set; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9025 ac_cv_var_override_hz=no
9027 alpha*-dec-osf4*|alpha*-dec-osf5*)
9028 ac_cv_var_override_hz=yes
9031 ac_cv_var_override_hz=yes
9034 ac_cv_var_override_hz=yes
9037 ac_cv_var_override_hz=yes
9041 echo "$as_me:$LINENO: result: $ac_cv_var_override_hz" >&5
9042 echo "${ECHO_T}$ac_cv_var_override_hz" >&6
9043 case "$ac_cv_var_override_hz" in
9046 cat >>confdefs.h <<\_ACEOF
9047 #define OVERRIDE_HZ 1
9055 echo "$as_me:$LINENO: checking struct sigaction for sa_sigaction" >&5
9056 echo $ECHO_N "checking struct sigaction for sa_sigaction... $ECHO_C" >&6
9057 if test "${ac_cv_struct_sigaction_has_sa_sigaction+set}" = set; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 cat >conftest.$ac_ext <<_ACEOF
9062 #line $LINENO "configure"
9063 #include "confdefs.h"
9065 #ifdef F77_DUMMY_MAIN
9069 int F77_DUMMY_MAIN() { return 1; }
9074 struct sigaction act; act.sa_sigaction = 0;
9079 rm -f conftest.$ac_objext
9080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9081 (eval $ac_compile) 2>&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); } &&
9085 { ac_try='test -s conftest.$ac_objext'
9086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); }; }; then
9091 ac_cv_struct_sigaction_has_sa_sigaction=yes
9093 echo "$as_me: failed program was:" >&5
9094 cat conftest.$ac_ext >&5
9095 ac_cv_struct_sigaction_has_sa_sigaction=no
9098 rm -f conftest.$ac_objext conftest.$ac_ext
9102 echo "$as_me:$LINENO: result: $ac_cv_struct_sigaction_has_sa_sigaction" >&5
9103 echo "${ECHO_T}$ac_cv_struct_sigaction_has_sa_sigaction" >&6
9104 if test $ac_cv_struct_sigaction_has_sa_sigaction = yes; then
9106 cat >>confdefs.h <<\_ACEOF
9107 #define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1
9112 echo "$as_me:$LINENO: checking for struct ppsclockev" >&5
9113 echo $ECHO_N "checking for struct ppsclockev... $ECHO_C" >&6
9114 if test "${ac_cv_struct_ppsclockev+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 cat >conftest.$ac_ext <<_ACEOF
9118 #line $LINENO "configure"
9119 #include "confdefs.h"
9121 #include <sys/types.h>
9122 #ifdef HAVE_SYS_TERMIOS_H
9123 # include <sys/termios.h>
9125 #ifdef HAVE_SYS_TIME_H
9126 # include <sys/time.h>
9128 #ifdef HAVE_SYS_PPSCLOCK_H
9129 # include <sys/ppsclock.h>
9131 #ifdef F77_DUMMY_MAIN
9135 int F77_DUMMY_MAIN() { return 1; }
9141 extern struct ppsclockev *pce;
9147 rm -f conftest.$ac_objext
9148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9149 (eval $ac_compile) 2>&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); } &&
9153 { ac_try='test -s conftest.$ac_objext'
9154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }; }; then
9159 ac_cv_struct_ppsclockev=yes
9161 echo "$as_me: failed program was:" >&5
9162 cat conftest.$ac_ext >&5
9163 ac_cv_struct_ppsclockev=no
9165 rm -f conftest.$ac_objext conftest.$ac_ext
9168 echo "$as_me:$LINENO: result: $ac_cv_struct_ppsclockev" >&5
9169 echo "${ECHO_T}$ac_cv_struct_ppsclockev" >&6
9170 if test $ac_cv_struct_ppsclockev = yes; then
9172 cat >>confdefs.h <<\_ACEOF
9173 #define HAVE_STRUCT_PPSCLOCKEV 1
9178 echo "$as_me:$LINENO: checking struct sockaddr for sa_len" >&5
9179 echo $ECHO_N "checking struct sockaddr for sa_len... $ECHO_C" >&6
9180 if test "${ac_cv_struct_sockaddr_has_sa_len+set}" = set; then
9181 echo $ECHO_N "(cached) $ECHO_C" >&6
9183 cat >conftest.$ac_ext <<_ACEOF
9184 #line $LINENO "configure"
9185 #include "confdefs.h"
9187 #include <sys/types.h>
9188 #include <sys/socket.h>
9189 #ifdef F77_DUMMY_MAIN
9193 int F77_DUMMY_MAIN() { return 1; }
9199 extern struct sockaddr *ps;
9205 rm -f conftest.$ac_objext
9206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9207 (eval $ac_compile) 2>&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try='test -s conftest.$ac_objext'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; }; then
9217 ac_cv_struct_sockaddr_has_sa_len=yes
9219 echo "$as_me: failed program was:" >&5
9220 cat conftest.$ac_ext >&5
9221 ac_cv_struct_sockaddr_has_sa_len=no
9223 rm -f conftest.$ac_objext conftest.$ac_ext
9226 echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_has_sa_len" >&5
9227 echo "${ECHO_T}$ac_cv_struct_sockaddr_has_sa_len" >&6
9228 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
9230 cat >>confdefs.h <<\_ACEOF
9231 #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1
9236 case "$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
9238 echo "$as_me:$LINENO: checking for struct snd_size" >&5
9239 echo $ECHO_N "checking for struct snd_size... $ECHO_C" >&6
9240 if test "${ac_cv_struct_snd_size+set}" = set; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 cat >conftest.$ac_ext <<_ACEOF
9244 #line $LINENO "configure"
9245 #include "confdefs.h"
9247 #ifdef HAVE_MACHINE_SOUNDCARD_H
9248 # include <machine/soundcard.h>
9250 #ifdef HAVE_SYS_SOUNDCARD_H
9251 # include <sys/soundcard.h>
9253 #ifdef F77_DUMMY_MAIN
9257 int F77_DUMMY_MAIN() { return 1; }
9263 extern struct snd_size *ss;
9264 return ss->rec_size;
9269 rm -f conftest.$ac_objext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9271 (eval $ac_compile) 2>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } &&
9275 { ac_try='test -s conftest.$ac_objext'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; }; then
9281 ac_cv_struct_snd_size=yes
9283 echo "$as_me: failed program was:" >&5
9284 cat conftest.$ac_ext >&5
9285 ac_cv_struct_snd_size=no
9287 rm -f conftest.$ac_objext conftest.$ac_ext
9290 echo "$as_me:$LINENO: result: $ac_cv_struct_snd_size" >&5
9291 echo "${ECHO_T}$ac_cv_struct_snd_size" >&6
9292 case "$ac_cv_struct_snd_size" in
9294 cat >>confdefs.h <<\_ACEOF
9295 #define HAVE_STRUCT_SND_SIZE 1
9302 echo "$as_me:$LINENO: checking struct clockinfo for hz" >&5
9303 echo $ECHO_N "checking struct clockinfo for hz... $ECHO_C" >&6
9304 if test "${ac_cv_struct_clockinfo_has_hz+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 cat >conftest.$ac_ext <<_ACEOF
9308 #line $LINENO "configure"
9309 #include "confdefs.h"
9311 #include <sys/time.h>
9312 #ifdef F77_DUMMY_MAIN
9316 int F77_DUMMY_MAIN() { return 1; }
9322 extern struct clockinfo *pc;
9328 rm -f conftest.$ac_objext
9329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9330 (eval $ac_compile) 2>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } &&
9334 { ac_try='test -s conftest.$ac_objext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 ac_cv_struct_clockinfo_has_hz=yes
9342 echo "$as_me: failed program was:" >&5
9343 cat conftest.$ac_ext >&5
9344 ac_cv_struct_clockinfo_has_hz=no
9346 rm -f conftest.$ac_objext conftest.$ac_ext
9349 echo "$as_me:$LINENO: result: $ac_cv_struct_clockinfo_has_hz" >&5
9350 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_hz" >&6
9351 if test $ac_cv_struct_clockinfo_has_hz = yes; then
9353 cat >>confdefs.h <<\_ACEOF
9354 #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1
9359 echo "$as_me:$LINENO: checking struct clockinfo for tickadj" >&5
9360 echo $ECHO_N "checking struct clockinfo for tickadj... $ECHO_C" >&6
9361 if test "${ac_cv_struct_clockinfo_has_tickadj+set}" = set; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9364 cat >conftest.$ac_ext <<_ACEOF
9365 #line $LINENO "configure"
9366 #include "confdefs.h"
9368 #include <sys/time.h>
9369 #ifdef F77_DUMMY_MAIN
9373 int F77_DUMMY_MAIN() { return 1; }
9379 extern struct clockinfo *pc;
9385 rm -f conftest.$ac_objext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9387 (eval $ac_compile) 2>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } &&
9391 { ac_try='test -s conftest.$ac_objext'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; }; then
9397 ac_cv_struct_clockinfo_has_tickadj=yes
9399 echo "$as_me: failed program was:" >&5
9400 cat conftest.$ac_ext >&5
9401 ac_cv_struct_clockinfo_has_tickadj=no
9403 rm -f conftest.$ac_objext conftest.$ac_ext
9406 echo "$as_me:$LINENO: result: $ac_cv_struct_clockinfo_has_tickadj" >&5
9407 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_tickadj" >&6
9408 if test $ac_cv_struct_clockinfo_has_tickadj = yes; then
9410 cat >>confdefs.h <<\_ACEOF
9411 #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1
9416 echo "$as_me:$LINENO: checking for struct timespec" >&5
9417 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
9418 if test "${ac_cv_struct_timespec+set}" = set; then
9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 cat >conftest.$ac_ext <<_ACEOF
9422 #line $LINENO "configure"
9423 #include "confdefs.h"
9425 #include <sys/time.h>
9426 /* Under SunOS, timespec is in sys/timepps.h, which needs errno.h and FRAC */
9430 #ifdef HAVE_SYS_TIMEPPS_H
9431 # define FRAC 4294967296
9432 # include <sys/timepps.h>
9434 #ifdef F77_DUMMY_MAIN
9438 int F77_DUMMY_MAIN() { return 1; }
9448 rm -f conftest.$ac_objext
9449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9450 (eval $ac_compile) 2>&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } &&
9454 { ac_try='test -s conftest.$ac_objext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
9460 ac_cv_struct_timespec=yes
9462 echo "$as_me: failed program was:" >&5
9463 cat conftest.$ac_ext >&5
9464 ac_cv_struct_timespec=no
9466 rm -f conftest.$ac_objext conftest.$ac_ext
9468 echo "$as_me:$LINENO: result: $ac_cv_struct_timespec" >&5
9469 echo "${ECHO_T}$ac_cv_struct_timespec" >&6
9470 if test $ac_cv_struct_timespec = yes; then
9472 cat >>confdefs.h <<\_ACEOF
9473 #define HAVE_STRUCT_TIMESPEC 1
9478 echo "$as_me:$LINENO: checking for struct ntptimeval" >&5
9479 echo $ECHO_N "checking for struct ntptimeval... $ECHO_C" >&6
9480 if test "${ac_cv_struct_ntptimeval+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 cat >conftest.$ac_ext <<_ACEOF
9484 #line $LINENO "configure"
9485 #include "confdefs.h"
9487 #include <sys/time.h>
9488 #include <sys/timex.h>
9489 #ifdef F77_DUMMY_MAIN
9493 int F77_DUMMY_MAIN() { return 1; }
9498 struct ntptimeval n;
9503 rm -f conftest.$ac_objext
9504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9505 (eval $ac_compile) 2>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } &&
9509 { ac_try='test -s conftest.$ac_objext'
9510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); }; }; then
9515 ac_cv_struct_ntptimeval=yes
9517 echo "$as_me: failed program was:" >&5
9518 cat conftest.$ac_ext >&5
9519 ac_cv_struct_ntptimeval=no
9521 rm -f conftest.$ac_objext conftest.$ac_ext
9523 echo "$as_me:$LINENO: result: $ac_cv_struct_ntptimeval" >&5
9524 echo "${ECHO_T}$ac_cv_struct_ntptimeval" >&6
9525 if test $ac_cv_struct_ntptimeval = yes; then
9527 cat >>confdefs.h <<\_ACEOF
9528 #define HAVE_STRUCT_NTPTIMEVAL 1
9533 echo "$as_me:$LINENO: checking for struct ntptimeval.time.tv_nsec" >&5
9534 echo $ECHO_N "checking for struct ntptimeval.time.tv_nsec... $ECHO_C" >&6
9535 if test "${ac_cv_member_struct_ntptimeval_time_tv_nsec+set}" = set; then
9536 echo $ECHO_N "(cached) $ECHO_C" >&6
9538 cat >conftest.$ac_ext <<_ACEOF
9539 #line $LINENO "configure"
9540 #include "confdefs.h"
9541 #ifdef HAVE_SYS_TIME_H
9542 #include <sys/time.h>
9548 #ifdef HAVE_SYS_TIMEX_H
9549 #include <sys/timex.h>
9551 # ifdef HAVE_TIMEX_H
9556 #ifdef F77_DUMMY_MAIN
9560 int F77_DUMMY_MAIN() { return 1; }
9565 static struct ntptimeval ac_aggr;
9566 if (ac_aggr.time.tv_nsec)
9572 rm -f conftest.$ac_objext
9573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9574 (eval $ac_compile) 2>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } &&
9578 { ac_try='test -s conftest.$ac_objext'
9579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; }; then
9584 ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
9586 echo "$as_me: failed program was:" >&5
9587 cat conftest.$ac_ext >&5
9588 ac_cv_member_struct_ntptimeval_time_tv_nsec=no
9590 rm -f conftest.$ac_objext conftest.$ac_ext
9592 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ntptimeval_time_tv_nsec" >&5
9593 echo "${ECHO_T}$ac_cv_member_struct_ntptimeval_time_tv_nsec" >&6
9594 if test $ac_cv_member_struct_ntptimeval_time_tv_nsec = yes; then
9596 cat >>confdefs.h <<_ACEOF
9597 #define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
9604 echo "$as_me:$LINENO: checking for inline" >&5
9605 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9606 if test "${ac_cv_c_inline+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9610 for ac_kw in inline __inline__ __inline; do
9611 cat >conftest.$ac_ext <<_ACEOF
9612 #line $LINENO "configure"
9613 #include "confdefs.h"
9615 static $ac_kw int static_foo () {return 0; }
9616 $ac_kw int foo () {return 0; }
9620 rm -f conftest.$ac_objext
9621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9622 (eval $ac_compile) 2>&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); } &&
9626 { ac_try='test -s conftest.$ac_objext'
9627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); }; }; then
9632 ac_cv_c_inline=$ac_kw; break
9634 echo "$as_me: failed program was:" >&5
9635 cat conftest.$ac_ext >&5
9637 rm -f conftest.$ac_objext conftest.$ac_ext
9641 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
9642 echo "${ECHO_T}$ac_cv_c_inline" >&6
9643 case $ac_cv_c_inline in
9646 cat >>confdefs.h <<\_ACEOF
9650 *) cat >>confdefs.h <<_ACEOF
9651 #define inline $ac_cv_c_inline
9657 echo "$as_me:$LINENO: checking whether char is unsigned" >&5
9658 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
9659 if test "${ac_cv_c_char_unsigned+set}" = set; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 cat >conftest.$ac_ext <<_ACEOF
9663 #line $LINENO "configure"
9664 #include "confdefs.h"
9665 $ac_includes_default
9666 #ifdef F77_DUMMY_MAIN
9670 int F77_DUMMY_MAIN() { return 1; }
9675 static int test_array [1 - 2 * !(((char) -1) < 0)];
9682 rm -f conftest.$ac_objext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9684 (eval $ac_compile) 2>&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -s conftest.$ac_objext'
9689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; }; then
9694 ac_cv_c_char_unsigned=no
9696 echo "$as_me: failed program was:" >&5
9697 cat conftest.$ac_ext >&5
9698 ac_cv_c_char_unsigned=yes
9700 rm -f conftest.$ac_objext conftest.$ac_ext
9702 echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
9703 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
9704 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
9705 cat >>confdefs.h <<\_ACEOF
9706 #define __CHAR_UNSIGNED__ 1
9710 echo "$as_me:$LINENO: checking for signed char" >&5
9711 echo $ECHO_N "checking for signed char... $ECHO_C" >&6
9712 if test "${ac_cv_type_signed_char+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 cat >conftest.$ac_ext <<_ACEOF
9716 #line $LINENO "configure"
9717 #include "confdefs.h"
9718 $ac_includes_default
9719 #ifdef F77_DUMMY_MAIN
9723 int F77_DUMMY_MAIN() { return 1; }
9728 if ((signed char *) 0)
9730 if (sizeof (signed char))
9736 rm -f conftest.$ac_objext
9737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9738 (eval $ac_compile) 2>&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } &&
9742 { ac_try='test -s conftest.$ac_objext'
9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; }; then
9748 ac_cv_type_signed_char=yes
9750 echo "$as_me: failed program was:" >&5
9751 cat conftest.$ac_ext >&5
9752 ac_cv_type_signed_char=no
9754 rm -f conftest.$ac_objext conftest.$ac_ext
9756 echo "$as_me:$LINENO: result: $ac_cv_type_signed_char" >&5
9757 echo "${ECHO_T}$ac_cv_type_signed_char" >&6
9759 echo "$as_me:$LINENO: checking size of signed char" >&5
9760 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
9761 if test "${ac_cv_sizeof_signed_char+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 if test "$ac_cv_type_signed_char" = yes; then
9765 # The cast to unsigned long works around a bug in the HP C Compiler
9766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9768 # This bug is HP SR number 8606223364.
9769 if test "$cross_compiling" = yes; then
9770 # Depending upon the size, compute the lo and hi bounds.
9771 cat >conftest.$ac_ext <<_ACEOF
9772 #line $LINENO "configure"
9773 #include "confdefs.h"
9774 $ac_includes_default
9775 #ifdef F77_DUMMY_MAIN
9779 int F77_DUMMY_MAIN() { return 1; }
9784 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= 0)];
9791 rm -f conftest.$ac_objext
9792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9793 (eval $ac_compile) 2>&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try='test -s conftest.$ac_objext'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; }; then
9805 cat >conftest.$ac_ext <<_ACEOF
9806 #line $LINENO "configure"
9807 #include "confdefs.h"
9808 $ac_includes_default
9809 #ifdef F77_DUMMY_MAIN
9813 int F77_DUMMY_MAIN() { return 1; }
9818 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
9825 rm -f conftest.$ac_objext
9826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9827 (eval $ac_compile) 2>&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); } &&
9831 { ac_try='test -s conftest.$ac_objext'
9832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; }; then
9837 ac_hi=$ac_mid; break
9839 echo "$as_me: failed program was:" >&5
9840 cat conftest.$ac_ext >&5
9841 ac_lo=`expr $ac_mid + 1`
9842 if test $ac_lo -le $ac_mid; then
9846 ac_mid=`expr 2 '*' $ac_mid + 1`
9848 rm -f conftest.$ac_objext conftest.$ac_ext
9851 echo "$as_me: failed program was:" >&5
9852 cat conftest.$ac_ext >&5
9853 cat >conftest.$ac_ext <<_ACEOF
9854 #line $LINENO "configure"
9855 #include "confdefs.h"
9856 $ac_includes_default
9857 #ifdef F77_DUMMY_MAIN
9861 int F77_DUMMY_MAIN() { return 1; }
9866 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) < 0)];
9873 rm -f conftest.$ac_objext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9875 (eval $ac_compile) 2>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); } &&
9879 { ac_try='test -s conftest.$ac_objext'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; }; then
9887 cat >conftest.$ac_ext <<_ACEOF
9888 #line $LINENO "configure"
9889 #include "confdefs.h"
9890 $ac_includes_default
9891 #ifdef F77_DUMMY_MAIN
9895 int F77_DUMMY_MAIN() { return 1; }
9900 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= $ac_mid)];
9907 rm -f conftest.$ac_objext
9908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9909 (eval $ac_compile) 2>&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); } &&
9913 { ac_try='test -s conftest.$ac_objext'
9914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); }; }; then
9919 ac_lo=$ac_mid; break
9921 echo "$as_me: failed program was:" >&5
9922 cat conftest.$ac_ext >&5
9923 ac_hi=`expr '(' $ac_mid ')' - 1`
9924 if test $ac_mid -le $ac_hi; then
9928 ac_mid=`expr 2 '*' $ac_mid`
9930 rm -f conftest.$ac_objext conftest.$ac_ext
9933 echo "$as_me: failed program was:" >&5
9934 cat conftest.$ac_ext >&5
9937 rm -f conftest.$ac_objext conftest.$ac_ext
9939 rm -f conftest.$ac_objext conftest.$ac_ext
9940 # Binary search between lo and hi bounds.
9941 while test "x$ac_lo" != "x$ac_hi"; do
9942 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9943 cat >conftest.$ac_ext <<_ACEOF
9944 #line $LINENO "configure"
9945 #include "confdefs.h"
9946 $ac_includes_default
9947 #ifdef F77_DUMMY_MAIN
9951 int F77_DUMMY_MAIN() { return 1; }
9956 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
9963 rm -f conftest.$ac_objext
9964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9965 (eval $ac_compile) 2>&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } &&
9969 { ac_try='test -s conftest.$ac_objext'
9970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; }; then
9977 echo "$as_me: failed program was:" >&5
9978 cat conftest.$ac_ext >&5
9979 ac_lo=`expr '(' $ac_mid ')' + 1`
9981 rm -f conftest.$ac_objext conftest.$ac_ext
9984 ?*) ac_cv_sizeof_signed_char=$ac_lo;;
9985 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77" >&5
9986 echo "$as_me: error: cannot compute sizeof (signed char), 77" >&2;}
9987 { (exit 1); exit 1; }; } ;;
9990 if test "$cross_compiling" = yes; then
9991 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9992 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9993 { (exit 1); exit 1; }; }
9995 cat >conftest.$ac_ext <<_ACEOF
9996 #line $LINENO "configure"
9997 #include "confdefs.h"
9998 $ac_includes_default
9999 long longval () { return (long) (sizeof (signed char)); }
10000 unsigned long ulongval () { return (long) (sizeof (signed char)); }
10002 #include <stdlib.h>
10003 #ifdef F77_DUMMY_MAIN
10004 # ifdef __cplusplus
10007 int F77_DUMMY_MAIN() { return 1; }
10013 FILE *f = fopen ("conftest.val", "w");
10016 if (((long) (sizeof (signed char))) < 0)
10018 long i = longval ();
10019 if (i != ((long) (sizeof (signed char))))
10021 fprintf (f, "%ld\n", i);
10025 unsigned long i = ulongval ();
10026 if (i != ((long) (sizeof (signed char))))
10028 fprintf (f, "%lu\n", i);
10030 exit (ferror (f) || fclose (f) != 0);
10036 rm -f conftest$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10043 (eval $ac_try) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; }; then
10047 ac_cv_sizeof_signed_char=`cat conftest.val`
10049 echo "$as_me: program exited with status $ac_status" >&5
10050 echo "$as_me: failed program was:" >&5
10051 cat conftest.$ac_ext >&5
10052 ( exit $ac_status )
10053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77" >&5
10054 echo "$as_me: error: cannot compute sizeof (signed char), 77" >&2;}
10055 { (exit 1); exit 1; }; }
10057 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10062 ac_cv_sizeof_signed_char=0
10065 echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_char" >&5
10066 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
10067 cat >>confdefs.h <<_ACEOF
10068 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
10072 echo "$as_me:$LINENO: checking for int" >&5
10073 echo $ECHO_N "checking for int... $ECHO_C" >&6
10074 if test "${ac_cv_type_int+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 cat >conftest.$ac_ext <<_ACEOF
10078 #line $LINENO "configure"
10079 #include "confdefs.h"
10080 $ac_includes_default
10081 #ifdef F77_DUMMY_MAIN
10082 # ifdef __cplusplus
10085 int F77_DUMMY_MAIN() { return 1; }
10098 rm -f conftest.$ac_objext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10100 (eval $ac_compile) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); } &&
10104 { ac_try='test -s conftest.$ac_objext'
10105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10106 (eval $ac_try) 2>&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); }; }; then
10112 echo "$as_me: failed program was:" >&5
10113 cat conftest.$ac_ext >&5
10116 rm -f conftest.$ac_objext conftest.$ac_ext
10118 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
10119 echo "${ECHO_T}$ac_cv_type_int" >&6
10121 echo "$as_me:$LINENO: checking size of int" >&5
10122 echo $ECHO_N "checking size of int... $ECHO_C" >&6
10123 if test "${ac_cv_sizeof_int+set}" = set; then
10124 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 if test "$ac_cv_type_int" = yes; then
10127 # The cast to unsigned long works around a bug in the HP C Compiler
10128 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10129 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10130 # This bug is HP SR number 8606223364.
10131 if test "$cross_compiling" = yes; then
10132 # Depending upon the size, compute the lo and hi bounds.
10133 cat >conftest.$ac_ext <<_ACEOF
10134 #line $LINENO "configure"
10135 #include "confdefs.h"
10136 $ac_includes_default
10137 #ifdef F77_DUMMY_MAIN
10138 # ifdef __cplusplus
10141 int F77_DUMMY_MAIN() { return 1; }
10146 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
10153 rm -f conftest.$ac_objext
10154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10155 (eval $ac_compile) 2>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } &&
10159 { ac_try='test -s conftest.$ac_objext'
10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161 (eval $ac_try) 2>&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; }; then
10167 cat >conftest.$ac_ext <<_ACEOF
10168 #line $LINENO "configure"
10169 #include "confdefs.h"
10170 $ac_includes_default
10171 #ifdef F77_DUMMY_MAIN
10172 # ifdef __cplusplus
10175 int F77_DUMMY_MAIN() { return 1; }
10180 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
10187 rm -f conftest.$ac_objext
10188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10189 (eval $ac_compile) 2>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try='test -s conftest.$ac_objext'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; }; then
10199 ac_hi=$ac_mid; break
10201 echo "$as_me: failed program was:" >&5
10202 cat conftest.$ac_ext >&5
10203 ac_lo=`expr $ac_mid + 1`
10204 if test $ac_lo -le $ac_mid; then
10208 ac_mid=`expr 2 '*' $ac_mid + 1`
10210 rm -f conftest.$ac_objext conftest.$ac_ext
10213 echo "$as_me: failed program was:" >&5
10214 cat conftest.$ac_ext >&5
10215 cat >conftest.$ac_ext <<_ACEOF
10216 #line $LINENO "configure"
10217 #include "confdefs.h"
10218 $ac_includes_default
10219 #ifdef F77_DUMMY_MAIN
10220 # ifdef __cplusplus
10223 int F77_DUMMY_MAIN() { return 1; }
10228 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
10235 rm -f conftest.$ac_objext
10236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10237 (eval $ac_compile) 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } &&
10241 { ac_try='test -s conftest.$ac_objext'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; }; then
10249 cat >conftest.$ac_ext <<_ACEOF
10250 #line $LINENO "configure"
10251 #include "confdefs.h"
10252 $ac_includes_default
10253 #ifdef F77_DUMMY_MAIN
10254 # ifdef __cplusplus
10257 int F77_DUMMY_MAIN() { return 1; }
10262 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
10269 rm -f conftest.$ac_objext
10270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10271 (eval $ac_compile) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } &&
10275 { ac_try='test -s conftest.$ac_objext'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 ac_lo=$ac_mid; break
10283 echo "$as_me: failed program was:" >&5
10284 cat conftest.$ac_ext >&5
10285 ac_hi=`expr '(' $ac_mid ')' - 1`
10286 if test $ac_mid -le $ac_hi; then
10290 ac_mid=`expr 2 '*' $ac_mid`
10292 rm -f conftest.$ac_objext conftest.$ac_ext
10295 echo "$as_me: failed program was:" >&5
10296 cat conftest.$ac_ext >&5
10299 rm -f conftest.$ac_objext conftest.$ac_ext
10301 rm -f conftest.$ac_objext conftest.$ac_ext
10302 # Binary search between lo and hi bounds.
10303 while test "x$ac_lo" != "x$ac_hi"; do
10304 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10305 cat >conftest.$ac_ext <<_ACEOF
10306 #line $LINENO "configure"
10307 #include "confdefs.h"
10308 $ac_includes_default
10309 #ifdef F77_DUMMY_MAIN
10310 # ifdef __cplusplus
10313 int F77_DUMMY_MAIN() { return 1; }
10318 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
10325 rm -f conftest.$ac_objext
10326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10327 (eval $ac_compile) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } &&
10331 { ac_try='test -s conftest.$ac_objext'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; }; then
10339 echo "$as_me: failed program was:" >&5
10340 cat conftest.$ac_ext >&5
10341 ac_lo=`expr '(' $ac_mid ')' + 1`
10343 rm -f conftest.$ac_objext conftest.$ac_ext
10346 ?*) ac_cv_sizeof_int=$ac_lo;;
10347 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
10348 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
10349 { (exit 1); exit 1; }; } ;;
10352 if test "$cross_compiling" = yes; then
10353 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
10354 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10355 { (exit 1); exit 1; }; }
10357 cat >conftest.$ac_ext <<_ACEOF
10358 #line $LINENO "configure"
10359 #include "confdefs.h"
10360 $ac_includes_default
10361 long longval () { return (long) (sizeof (int)); }
10362 unsigned long ulongval () { return (long) (sizeof (int)); }
10364 #include <stdlib.h>
10365 #ifdef F77_DUMMY_MAIN
10366 # ifdef __cplusplus
10369 int F77_DUMMY_MAIN() { return 1; }
10375 FILE *f = fopen ("conftest.val", "w");
10378 if (((long) (sizeof (int))) < 0)
10380 long i = longval ();
10381 if (i != ((long) (sizeof (int))))
10383 fprintf (f, "%ld\n", i);
10387 unsigned long i = ulongval ();
10388 if (i != ((long) (sizeof (int))))
10390 fprintf (f, "%lu\n", i);
10392 exit (ferror (f) || fclose (f) != 0);
10398 rm -f conftest$ac_exeext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10400 (eval $ac_link) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then
10409 ac_cv_sizeof_int=`cat conftest.val`
10411 echo "$as_me: program exited with status $ac_status" >&5
10412 echo "$as_me: failed program was:" >&5
10413 cat conftest.$ac_ext >&5
10414 ( exit $ac_status )
10415 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
10416 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
10417 { (exit 1); exit 1; }; }
10419 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10427 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
10428 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
10429 cat >>confdefs.h <<_ACEOF
10430 #define SIZEOF_INT $ac_cv_sizeof_int
10434 echo "$as_me:$LINENO: checking for long" >&5
10435 echo $ECHO_N "checking for long... $ECHO_C" >&6
10436 if test "${ac_cv_type_long+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 cat >conftest.$ac_ext <<_ACEOF
10440 #line $LINENO "configure"
10441 #include "confdefs.h"
10442 $ac_includes_default
10443 #ifdef F77_DUMMY_MAIN
10444 # ifdef __cplusplus
10447 int F77_DUMMY_MAIN() { return 1; }
10460 rm -f conftest.$ac_objext
10461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10462 (eval $ac_compile) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } &&
10466 { ac_try='test -s conftest.$ac_objext'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 ac_cv_type_long=yes
10474 echo "$as_me: failed program was:" >&5
10475 cat conftest.$ac_ext >&5
10478 rm -f conftest.$ac_objext conftest.$ac_ext
10480 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
10481 echo "${ECHO_T}$ac_cv_type_long" >&6
10483 echo "$as_me:$LINENO: checking size of long" >&5
10484 echo $ECHO_N "checking size of long... $ECHO_C" >&6
10485 if test "${ac_cv_sizeof_long+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 if test "$ac_cv_type_long" = yes; then
10489 # The cast to unsigned long works around a bug in the HP C Compiler
10490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10492 # This bug is HP SR number 8606223364.
10493 if test "$cross_compiling" = yes; then
10494 # Depending upon the size, compute the lo and hi bounds.
10495 cat >conftest.$ac_ext <<_ACEOF
10496 #line $LINENO "configure"
10497 #include "confdefs.h"
10498 $ac_includes_default
10499 #ifdef F77_DUMMY_MAIN
10500 # ifdef __cplusplus
10503 int F77_DUMMY_MAIN() { return 1; }
10508 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
10515 rm -f conftest.$ac_objext
10516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10529 cat >conftest.$ac_ext <<_ACEOF
10530 #line $LINENO "configure"
10531 #include "confdefs.h"
10532 $ac_includes_default
10533 #ifdef F77_DUMMY_MAIN
10534 # ifdef __cplusplus
10537 int F77_DUMMY_MAIN() { return 1; }
10542 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10549 rm -f conftest.$ac_objext
10550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10551 (eval $ac_compile) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try='test -s conftest.$ac_objext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 ac_hi=$ac_mid; break
10563 echo "$as_me: failed program was:" >&5
10564 cat conftest.$ac_ext >&5
10565 ac_lo=`expr $ac_mid + 1`
10566 if test $ac_lo -le $ac_mid; then
10570 ac_mid=`expr 2 '*' $ac_mid + 1`
10572 rm -f conftest.$ac_objext conftest.$ac_ext
10575 echo "$as_me: failed program was:" >&5
10576 cat conftest.$ac_ext >&5
10577 cat >conftest.$ac_ext <<_ACEOF
10578 #line $LINENO "configure"
10579 #include "confdefs.h"
10580 $ac_includes_default
10581 #ifdef F77_DUMMY_MAIN
10582 # ifdef __cplusplus
10585 int F77_DUMMY_MAIN() { return 1; }
10590 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
10597 rm -f conftest.$ac_objext
10598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10599 (eval $ac_compile) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } &&
10603 { ac_try='test -s conftest.$ac_objext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10611 cat >conftest.$ac_ext <<_ACEOF
10612 #line $LINENO "configure"
10613 #include "confdefs.h"
10614 $ac_includes_default
10615 #ifdef F77_DUMMY_MAIN
10616 # ifdef __cplusplus
10619 int F77_DUMMY_MAIN() { return 1; }
10624 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10631 rm -f conftest.$ac_objext
10632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10633 (eval $ac_compile) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } &&
10637 { ac_try='test -s conftest.$ac_objext'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then
10643 ac_lo=$ac_mid; break
10645 echo "$as_me: failed program was:" >&5
10646 cat conftest.$ac_ext >&5
10647 ac_hi=`expr '(' $ac_mid ')' - 1`
10648 if test $ac_mid -le $ac_hi; then
10652 ac_mid=`expr 2 '*' $ac_mid`
10654 rm -f conftest.$ac_objext conftest.$ac_ext
10657 echo "$as_me: failed program was:" >&5
10658 cat conftest.$ac_ext >&5
10661 rm -f conftest.$ac_objext conftest.$ac_ext
10663 rm -f conftest.$ac_objext conftest.$ac_ext
10664 # Binary search between lo and hi bounds.
10665 while test "x$ac_lo" != "x$ac_hi"; do
10666 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10667 cat >conftest.$ac_ext <<_ACEOF
10668 #line $LINENO "configure"
10669 #include "confdefs.h"
10670 $ac_includes_default
10671 #ifdef F77_DUMMY_MAIN
10672 # ifdef __cplusplus
10675 int F77_DUMMY_MAIN() { return 1; }
10680 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10687 rm -f conftest.$ac_objext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10689 (eval $ac_compile) 2>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); } &&
10693 { ac_try='test -s conftest.$ac_objext'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then
10701 echo "$as_me: failed program was:" >&5
10702 cat conftest.$ac_ext >&5
10703 ac_lo=`expr '(' $ac_mid ')' + 1`
10705 rm -f conftest.$ac_objext conftest.$ac_ext
10708 ?*) ac_cv_sizeof_long=$ac_lo;;
10709 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
10710 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
10711 { (exit 1); exit 1; }; } ;;
10714 if test "$cross_compiling" = yes; then
10715 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
10716 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10717 { (exit 1); exit 1; }; }
10719 cat >conftest.$ac_ext <<_ACEOF
10720 #line $LINENO "configure"
10721 #include "confdefs.h"
10722 $ac_includes_default
10723 long longval () { return (long) (sizeof (long)); }
10724 unsigned long ulongval () { return (long) (sizeof (long)); }
10726 #include <stdlib.h>
10727 #ifdef F77_DUMMY_MAIN
10728 # ifdef __cplusplus
10731 int F77_DUMMY_MAIN() { return 1; }
10737 FILE *f = fopen ("conftest.val", "w");
10740 if (((long) (sizeof (long))) < 0)
10742 long i = longval ();
10743 if (i != ((long) (sizeof (long))))
10745 fprintf (f, "%ld\n", i);
10749 unsigned long i = ulongval ();
10750 if (i != ((long) (sizeof (long))))
10752 fprintf (f, "%lu\n", i);
10754 exit (ferror (f) || fclose (f) != 0);
10760 rm -f conftest$ac_exeext
10761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10762 (eval $ac_link) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767 (eval $ac_try) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }; }; then
10771 ac_cv_sizeof_long=`cat conftest.val`
10773 echo "$as_me: program exited with status $ac_status" >&5
10774 echo "$as_me: failed program was:" >&5
10775 cat conftest.$ac_ext >&5
10776 ( exit $ac_status )
10777 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
10778 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
10779 { (exit 1); exit 1; }; }
10781 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10786 ac_cv_sizeof_long=0
10789 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10790 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10791 cat >>confdefs.h <<_ACEOF
10792 #define SIZEOF_LONG $ac_cv_sizeof_long
10797 echo "$as_me:$LINENO: checking for s_char" >&5
10798 echo $ECHO_N "checking for s_char... $ECHO_C" >&6
10799 if test "${ac_cv_type_s_char+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 cat >conftest.$ac_ext <<_ACEOF
10803 #line $LINENO "configure"
10804 #include "confdefs.h"
10805 $ac_includes_default
10806 #ifdef F77_DUMMY_MAIN
10807 # ifdef __cplusplus
10810 int F77_DUMMY_MAIN() { return 1; }
10817 if (sizeof (s_char))
10823 rm -f conftest.$ac_objext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10825 (eval $ac_compile) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } &&
10829 { ac_try='test -s conftest.$ac_objext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 ac_cv_type_s_char=yes
10837 echo "$as_me: failed program was:" >&5
10838 cat conftest.$ac_ext >&5
10839 ac_cv_type_s_char=no
10841 rm -f conftest.$ac_objext conftest.$ac_ext
10843 echo "$as_me:$LINENO: result: $ac_cv_type_s_char" >&5
10844 echo "${ECHO_T}$ac_cv_type_s_char" >&6
10845 if test $ac_cv_type_s_char = yes; then
10847 cat >>confdefs.h <<_ACEOF
10848 #define HAVE_S_CHAR 1
10854 case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
10856 # We have a typedef for s_char. Might as well believe it...
10859 # We have signed chars, can't say 'signed char', no s_char typedef.
10861 cat >>confdefs.h <<\_ACEOF
10862 #define NEED_S_CHAR_TYPEDEF 1
10867 # We have signed chars, can say 'signed char', no s_char typedef.
10868 cat >>confdefs.h <<\_ACEOF
10869 #define NEED_S_CHAR_TYPEDEF 1
10874 # We have unsigned chars, can't say 'signed char', no s_char typedef.
10875 { { echo "$as_me:$LINENO: error: No way to specify a signed character!" >&5
10876 echo "$as_me: error: No way to specify a signed character!" >&2;}
10877 { (exit 1); exit 1; }; }
10880 # We have unsigned chars, can say 'signed char', no s_char typedef.
10881 cat >>confdefs.h <<\_ACEOF
10882 #define NEED_S_CHAR_TYPEDEF 1
10887 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10888 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10889 if test "${ac_cv_type_uid_t+set}" = set; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6
10892 cat >conftest.$ac_ext <<_ACEOF
10893 #line $LINENO "configure"
10894 #include "confdefs.h"
10895 #include <sys/types.h>
10898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10899 egrep "uid_t" >/dev/null 2>&1; then
10900 ac_cv_type_uid_t=yes
10902 ac_cv_type_uid_t=no
10907 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10908 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10909 if test $ac_cv_type_uid_t = no; then
10911 cat >>confdefs.h <<\_ACEOF
10916 cat >>confdefs.h <<\_ACEOF
10927 for ac_func in __adjtimex __ntp_gettime
10929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10930 echo "$as_me:$LINENO: checking for $ac_func" >&5
10931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10932 if eval "test \"\${$as_ac_var+set}\" = set"; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10935 cat >conftest.$ac_ext <<_ACEOF
10936 #line $LINENO "configure"
10937 #include "confdefs.h"
10938 /* System header to define __stub macros and hopefully few prototypes,
10939 which can conflict with char $ac_func (); below. */
10940 #include <assert.h>
10941 /* Override any gcc2 internal prototype to avoid an error. */
10945 /* We use char because int might match the return type of a gcc2
10946 builtin and then its argument prototype would still apply. */
10950 #ifdef F77_DUMMY_MAIN
10951 # ifdef __cplusplus
10954 int F77_DUMMY_MAIN() { return 1; }
10959 /* The GNU C library defines this for functions which it implements
10960 to always fail with ENOSYS. Some functions are actually named
10961 something starting with __ and the normal name is an alias. */
10962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10972 rm -f conftest.$ac_objext conftest$ac_exeext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10974 (eval $ac_link) 2>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } &&
10978 { ac_try='test -s conftest$ac_exeext'
10979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10980 (eval $ac_try) 2>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }; }; then
10984 eval "$as_ac_var=yes"
10986 echo "$as_me: failed program was:" >&5
10987 cat conftest.$ac_ext >&5
10988 eval "$as_ac_var=no"
10990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10994 if test `eval echo '${'$as_ac_var'}'` = yes; then
10995 cat >>confdefs.h <<_ACEOF
10996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11006 # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
11007 # (returning ENOSYS). I didn't check 4.2. If, in the future,
11008 # IBM pulls its thumbs out long enough to implement clock_settime,
11009 # this conditional will need to change. Maybe use AC_TRY_RUN
11010 # instead to try to set the time to itself and check errno.
11014 for ac_func in clock_gettime clock_settime
11016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11017 echo "$as_me:$LINENO: checking for $ac_func" >&5
11018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11019 if eval "test \"\${$as_ac_var+set}\" = set"; then
11020 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 cat >conftest.$ac_ext <<_ACEOF
11023 #line $LINENO "configure"
11024 #include "confdefs.h"
11025 /* System header to define __stub macros and hopefully few prototypes,
11026 which can conflict with char $ac_func (); below. */
11027 #include <assert.h>
11028 /* Override any gcc2 internal prototype to avoid an error. */
11032 /* We use char because int might match the return type of a gcc2
11033 builtin and then its argument prototype would still apply. */
11037 #ifdef F77_DUMMY_MAIN
11038 # ifdef __cplusplus
11041 int F77_DUMMY_MAIN() { return 1; }
11046 /* The GNU C library defines this for functions which it implements
11047 to always fail with ENOSYS. Some functions are actually named
11048 something starting with __ and the normal name is an alias. */
11049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11059 rm -f conftest.$ac_objext conftest$ac_exeext
11060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11061 (eval $ac_link) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -s conftest$ac_exeext'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; }; then
11071 eval "$as_ac_var=yes"
11073 echo "$as_me: failed program was:" >&5
11074 cat conftest.$ac_ext >&5
11075 eval "$as_ac_var=no"
11077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11081 if test `eval echo '${'$as_ac_var'}'` = yes; then
11082 cat >>confdefs.h <<_ACEOF
11083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11092 for ac_func in daemon
11094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11095 echo "$as_me:$LINENO: checking for $ac_func" >&5
11096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11097 if eval "test \"\${$as_ac_var+set}\" = set"; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 cat >conftest.$ac_ext <<_ACEOF
11101 #line $LINENO "configure"
11102 #include "confdefs.h"
11103 /* System header to define __stub macros and hopefully few prototypes,
11104 which can conflict with char $ac_func (); below. */
11105 #include <assert.h>
11106 /* Override any gcc2 internal prototype to avoid an error. */
11110 /* We use char because int might match the return type of a gcc2
11111 builtin and then its argument prototype would still apply. */
11115 #ifdef F77_DUMMY_MAIN
11116 # ifdef __cplusplus
11119 int F77_DUMMY_MAIN() { return 1; }
11124 /* The GNU C library defines this for functions which it implements
11125 to always fail with ENOSYS. Some functions are actually named
11126 something starting with __ and the normal name is an alias. */
11127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11137 rm -f conftest.$ac_objext conftest$ac_exeext
11138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11139 (eval $ac_link) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -s conftest$ac_exeext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 eval "$as_ac_var=yes"
11151 echo "$as_me: failed program was:" >&5
11152 cat conftest.$ac_ext >&5
11153 eval "$as_ac_var=no"
11155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11159 if test `eval echo '${'$as_ac_var'}'` = yes; then
11160 cat >>confdefs.h <<_ACEOF
11161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11168 for ac_func in finite
11170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11171 echo "$as_me:$LINENO: checking for $ac_func" >&5
11172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11173 if eval "test \"\${$as_ac_var+set}\" = set"; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 cat >conftest.$ac_ext <<_ACEOF
11177 #line $LINENO "configure"
11178 #include "confdefs.h"
11179 /* System header to define __stub macros and hopefully few prototypes,
11180 which can conflict with char $ac_func (); below. */
11181 #include <assert.h>
11182 /* Override any gcc2 internal prototype to avoid an error. */
11186 /* We use char because int might match the return type of a gcc2
11187 builtin and then its argument prototype would still apply. */
11191 #ifdef F77_DUMMY_MAIN
11192 # ifdef __cplusplus
11195 int F77_DUMMY_MAIN() { return 1; }
11200 /* The GNU C library defines this for functions which it implements
11201 to always fail with ENOSYS. Some functions are actually named
11202 something starting with __ and the normal name is an alias. */
11203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11213 rm -f conftest.$ac_objext conftest$ac_exeext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11215 (eval $ac_link) 2>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try='test -s conftest$ac_exeext'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; }; then
11225 eval "$as_ac_var=yes"
11227 echo "$as_me: failed program was:" >&5
11228 cat conftest.$ac_ext >&5
11229 eval "$as_ac_var=no"
11231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11235 if test `eval echo '${'$as_ac_var'}'` = yes; then
11236 cat >>confdefs.h <<_ACEOF
11237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11242 for ac_func in isfinite
11244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11245 echo "$as_me:$LINENO: checking for $ac_func" >&5
11246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11247 if eval "test \"\${$as_ac_var+set}\" = set"; then
11248 echo $ECHO_N "(cached) $ECHO_C" >&6
11250 cat >conftest.$ac_ext <<_ACEOF
11251 #line $LINENO "configure"
11252 #include "confdefs.h"
11253 /* System header to define __stub macros and hopefully few prototypes,
11254 which can conflict with char $ac_func (); below. */
11255 #include <assert.h>
11256 /* Override any gcc2 internal prototype to avoid an error. */
11260 /* We use char because int might match the return type of a gcc2
11261 builtin and then its argument prototype would still apply. */
11265 #ifdef F77_DUMMY_MAIN
11266 # ifdef __cplusplus
11269 int F77_DUMMY_MAIN() { return 1; }
11274 /* The GNU C library defines this for functions which it implements
11275 to always fail with ENOSYS. Some functions are actually named
11276 something starting with __ and the normal name is an alias. */
11277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11287 rm -f conftest.$ac_objext conftest$ac_exeext
11288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289 (eval $ac_link) 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); } &&
11293 { ac_try='test -s conftest$ac_exeext'
11294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295 (eval $ac_try) 2>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }; }; then
11299 eval "$as_ac_var=yes"
11301 echo "$as_me: failed program was:" >&5
11302 cat conftest.$ac_ext >&5
11303 eval "$as_ac_var=no"
11305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11309 if test `eval echo '${'$as_ac_var'}'` = yes; then
11310 cat >>confdefs.h <<_ACEOF
11311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11315 echo "$as_me:$LINENO: checking for isfinite with <math.h>" >&5
11316 echo $ECHO_N "checking for isfinite with <math.h>... $ECHO_C" >&6
11319 cat >conftest.$ac_ext <<_ACEOF
11320 #line $LINENO "configure"
11321 #include "confdefs.h"
11323 #ifdef F77_DUMMY_MAIN
11324 # ifdef __cplusplus
11327 int F77_DUMMY_MAIN() { return 1; }
11332 float f = 0.0; isfinite(f)
11337 rm -f conftest.$ac_objext conftest$ac_exeext
11338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11339 (eval $ac_link) 2>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } &&
11343 { ac_try='test -s conftest$ac_exeext'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; }; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11351 cat >>confdefs.h <<\_ACEOF
11352 #define HAVE_ISFINITE 1
11356 echo "$as_me: failed program was:" >&5
11357 cat conftest.$ac_ext >&5
11358 echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6
11361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11373 for ac_func in getbootfile getclock getdtablesize getrusage
11375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11376 echo "$as_me:$LINENO: checking for $ac_func" >&5
11377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11378 if eval "test \"\${$as_ac_var+set}\" = set"; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 cat >conftest.$ac_ext <<_ACEOF
11382 #line $LINENO "configure"
11383 #include "confdefs.h"
11384 /* System header to define __stub macros and hopefully few prototypes,
11385 which can conflict with char $ac_func (); below. */
11386 #include <assert.h>
11387 /* Override any gcc2 internal prototype to avoid an error. */
11391 /* We use char because int might match the return type of a gcc2
11392 builtin and then its argument prototype would still apply. */
11396 #ifdef F77_DUMMY_MAIN
11397 # ifdef __cplusplus
11400 int F77_DUMMY_MAIN() { return 1; }
11405 /* The GNU C library defines this for functions which it implements
11406 to always fail with ENOSYS. Some functions are actually named
11407 something starting with __ and the normal name is an alias. */
11408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11418 rm -f conftest.$ac_objext conftest$ac_exeext
11419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11420 (eval $ac_link) 2>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); } &&
11424 { ac_try='test -s conftest$ac_exeext'
11425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11426 (eval $ac_try) 2>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); }; }; then
11430 eval "$as_ac_var=yes"
11432 echo "$as_me: failed program was:" >&5
11433 cat conftest.$ac_ext >&5
11434 eval "$as_ac_var=no"
11436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11440 if test `eval echo '${'$as_ac_var'}'` = yes; then
11441 cat >>confdefs.h <<_ACEOF
11442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11448 echo "$as_me:$LINENO: checking for gettimeofday" >&5
11449 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
11450 if test "${ac_cv_func_gettimeofday+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 cat >conftest.$ac_ext <<_ACEOF
11454 #line $LINENO "configure"
11455 #include "confdefs.h"
11456 /* System header to define __stub macros and hopefully few prototypes,
11457 which can conflict with char gettimeofday (); below. */
11458 #include <assert.h>
11459 /* Override any gcc2 internal prototype to avoid an error. */
11463 /* We use char because int might match the return type of a gcc2
11464 builtin and then its argument prototype would still apply. */
11465 char gettimeofday ();
11468 #ifdef F77_DUMMY_MAIN
11469 # ifdef __cplusplus
11472 int F77_DUMMY_MAIN() { return 1; }
11477 /* The GNU C library defines this for functions which it implements
11478 to always fail with ENOSYS. Some functions are actually named
11479 something starting with __ and the normal name is an alias. */
11480 #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
11490 rm -f conftest.$ac_objext conftest$ac_exeext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11492 (eval $ac_link) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -s conftest$ac_exeext'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; }; then
11502 ac_cv_func_gettimeofday=yes
11504 echo "$as_me: failed program was:" >&5
11505 cat conftest.$ac_ext >&5
11506 ac_cv_func_gettimeofday=no
11508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11510 echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
11511 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
11512 if test $ac_cv_func_gettimeofday = yes; then
11517 *-*-mpeix*) ac_cv_func_gettimeofday=yes
11526 for ac_func in getuid
11528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11529 echo "$as_me:$LINENO: checking for $ac_func" >&5
11530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11531 if eval "test \"\${$as_ac_var+set}\" = set"; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 cat >conftest.$ac_ext <<_ACEOF
11535 #line $LINENO "configure"
11536 #include "confdefs.h"
11537 /* System header to define __stub macros and hopefully few prototypes,
11538 which can conflict with char $ac_func (); below. */
11539 #include <assert.h>
11540 /* Override any gcc2 internal prototype to avoid an error. */
11544 /* We use char because int might match the return type of a gcc2
11545 builtin and then its argument prototype would still apply. */
11549 #ifdef F77_DUMMY_MAIN
11550 # ifdef __cplusplus
11553 int F77_DUMMY_MAIN() { return 1; }
11558 /* The GNU C library defines this for functions which it implements
11559 to always fail with ENOSYS. Some functions are actually named
11560 something starting with __ and the normal name is an alias. */
11561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11571 rm -f conftest.$ac_objext conftest$ac_exeext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11573 (eval $ac_link) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); } &&
11577 { ac_try='test -s conftest$ac_exeext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 eval "$as_ac_var=yes"
11585 echo "$as_me: failed program was:" >&5
11586 cat conftest.$ac_ext >&5
11587 eval "$as_ac_var=no"
11589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11593 if test `eval echo '${'$as_ac_var'}'` = yes; then
11594 cat >>confdefs.h <<_ACEOF
11595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11609 for ac_func in hstrerror K_open kvm_open memcpy memmove memset
11611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11612 echo "$as_me:$LINENO: checking for $ac_func" >&5
11613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11614 if eval "test \"\${$as_ac_var+set}\" = set"; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 cat >conftest.$ac_ext <<_ACEOF
11618 #line $LINENO "configure"
11619 #include "confdefs.h"
11620 /* System header to define __stub macros and hopefully few prototypes,
11621 which can conflict with char $ac_func (); below. */
11622 #include <assert.h>
11623 /* Override any gcc2 internal prototype to avoid an error. */
11627 /* We use char because int might match the return type of a gcc2
11628 builtin and then its argument prototype would still apply. */
11632 #ifdef F77_DUMMY_MAIN
11633 # ifdef __cplusplus
11636 int F77_DUMMY_MAIN() { return 1; }
11641 /* The GNU C library defines this for functions which it implements
11642 to always fail with ENOSYS. Some functions are actually named
11643 something starting with __ and the normal name is an alias. */
11644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11654 rm -f conftest.$ac_objext conftest$ac_exeext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11656 (eval $ac_link) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try='test -s conftest$ac_exeext'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 eval "$as_ac_var=yes"
11668 echo "$as_me: failed program was:" >&5
11669 cat conftest.$ac_ext >&5
11670 eval "$as_ac_var=no"
11672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11676 if test `eval echo '${'$as_ac_var'}'` = yes; then
11677 cat >>confdefs.h <<_ACEOF
11678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11686 # Just stubs. Idiots.
11689 for ac_func in mkstemp
11691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11692 echo "$as_me:$LINENO: checking for $ac_func" >&5
11693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11694 if eval "test \"\${$as_ac_var+set}\" = set"; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 cat >conftest.$ac_ext <<_ACEOF
11698 #line $LINENO "configure"
11699 #include "confdefs.h"
11700 /* System header to define __stub macros and hopefully few prototypes,
11701 which can conflict with char $ac_func (); below. */
11702 #include <assert.h>
11703 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11712 #ifdef F77_DUMMY_MAIN
11713 # ifdef __cplusplus
11716 int F77_DUMMY_MAIN() { return 1; }
11721 /* The GNU C library defines this for functions which it implements
11722 to always fail with ENOSYS. Some functions are actually named
11723 something starting with __ and the normal name is an alias. */
11724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11734 rm -f conftest.$ac_objext conftest$ac_exeext
11735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11736 (eval $ac_link) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); } &&
11740 { ac_try='test -s conftest$ac_exeext'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; }; then
11746 eval "$as_ac_var=yes"
11748 echo "$as_me: failed program was:" >&5
11749 cat conftest.$ac_ext >&5
11750 eval "$as_ac_var=no"
11752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11756 if test `eval echo '${'$as_ac_var'}'` = yes; then
11757 cat >>confdefs.h <<_ACEOF
11758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11767 for ac_func in mktime
11769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11770 echo "$as_me:$LINENO: checking for $ac_func" >&5
11771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11772 if eval "test \"\${$as_ac_var+set}\" = set"; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 cat >conftest.$ac_ext <<_ACEOF
11776 #line $LINENO "configure"
11777 #include "confdefs.h"
11778 /* System header to define __stub macros and hopefully few prototypes,
11779 which can conflict with char $ac_func (); below. */
11780 #include <assert.h>
11781 /* Override any gcc2 internal prototype to avoid an error. */
11785 /* We use char because int might match the return type of a gcc2
11786 builtin and then its argument prototype would still apply. */
11790 #ifdef F77_DUMMY_MAIN
11791 # ifdef __cplusplus
11794 int F77_DUMMY_MAIN() { return 1; }
11799 /* The GNU C library defines this for functions which it implements
11800 to always fail with ENOSYS. Some functions are actually named
11801 something starting with __ and the normal name is an alias. */
11802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11812 rm -f conftest.$ac_objext conftest$ac_exeext
11813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814 (eval $ac_link) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } &&
11818 { ac_try='test -s conftest$ac_exeext'
11819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11820 (eval $ac_try) 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; }; then
11824 eval "$as_ac_var=yes"
11826 echo "$as_me: failed program was:" >&5
11827 cat conftest.$ac_ext >&5
11828 eval "$as_ac_var=no"
11830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11834 if test `eval echo '${'$as_ac_var'}'` = yes; then
11835 cat >>confdefs.h <<_ACEOF
11836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11844 # Just a stub. Idiots.
11847 # Just a stub in Irix. Idiots.
11850 # Apparently there but not working in QNX. Idiots?
11853 # Just a stub. Idiots.
11855 alpha*-dec-osf4*|alpha*-dec-osf5*)
11856 # mlockall is there, as a #define calling memlk via <sys/mman.h>
11857 # Not easy to test for - cheat.
11859 for ac_func in memlk
11861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11862 echo "$as_me:$LINENO: checking for $ac_func" >&5
11863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11864 if eval "test \"\${$as_ac_var+set}\" = set"; then
11865 echo $ECHO_N "(cached) $ECHO_C" >&6
11867 cat >conftest.$ac_ext <<_ACEOF
11868 #line $LINENO "configure"
11869 #include "confdefs.h"
11870 /* System header to define __stub macros and hopefully few prototypes,
11871 which can conflict with char $ac_func (); below. */
11872 #include <assert.h>
11873 /* Override any gcc2 internal prototype to avoid an error. */
11877 /* We use char because int might match the return type of a gcc2
11878 builtin and then its argument prototype would still apply. */
11882 #ifdef F77_DUMMY_MAIN
11883 # ifdef __cplusplus
11886 int F77_DUMMY_MAIN() { return 1; }
11891 /* The GNU C library defines this for functions which it implements
11892 to always fail with ENOSYS. Some functions are actually named
11893 something starting with __ and the normal name is an alias. */
11894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11904 rm -f conftest.$ac_objext conftest$ac_exeext
11905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11906 (eval $ac_link) 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } &&
11910 { ac_try='test -s conftest$ac_exeext'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; }; then
11916 eval "$as_ac_var=yes"
11918 echo "$as_me: failed program was:" >&5
11919 cat conftest.$ac_ext >&5
11920 eval "$as_ac_var=no"
11922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11926 if test `eval echo '${'$as_ac_var'}'` = yes; then
11927 cat >>confdefs.h <<_ACEOF
11928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11930 ac_cv_func_mlockall='yes'
11935 for ac_func in mlockall
11937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11938 echo "$as_me:$LINENO: checking for $ac_func" >&5
11939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11940 if eval "test \"\${$as_ac_var+set}\" = set"; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 cat >conftest.$ac_ext <<_ACEOF
11944 #line $LINENO "configure"
11945 #include "confdefs.h"
11946 /* System header to define __stub macros and hopefully few prototypes,
11947 which can conflict with char $ac_func (); below. */
11948 #include <assert.h>
11949 /* Override any gcc2 internal prototype to avoid an error. */
11953 /* We use char because int might match the return type of a gcc2
11954 builtin and then its argument prototype would still apply. */
11958 #ifdef F77_DUMMY_MAIN
11959 # ifdef __cplusplus
11962 int F77_DUMMY_MAIN() { return 1; }
11967 /* The GNU C library defines this for functions which it implements
11968 to always fail with ENOSYS. Some functions are actually named
11969 something starting with __ and the normal name is an alias. */
11970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11980 rm -f conftest.$ac_objext conftest$ac_exeext
11981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11982 (eval $ac_link) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); } &&
11986 { ac_try='test -s conftest$ac_exeext'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; }; then
11992 eval "$as_ac_var=yes"
11994 echo "$as_me: failed program was:" >&5
11995 cat conftest.$ac_ext >&5
11996 eval "$as_ac_var=no"
11998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12002 if test `eval echo '${'$as_ac_var'}'` = yes; then
12003 cat >>confdefs.h <<_ACEOF
12004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12012 for ac_func in mlockall
12014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12015 echo "$as_me:$LINENO: checking for $ac_func" >&5
12016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12017 if eval "test \"\${$as_ac_var+set}\" = set"; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 cat >conftest.$ac_ext <<_ACEOF
12021 #line $LINENO "configure"
12022 #include "confdefs.h"
12023 /* System header to define __stub macros and hopefully few prototypes,
12024 which can conflict with char $ac_func (); below. */
12025 #include <assert.h>
12026 /* Override any gcc2 internal prototype to avoid an error. */
12030 /* We use char because int might match the return type of a gcc2
12031 builtin and then its argument prototype would still apply. */
12035 #ifdef F77_DUMMY_MAIN
12036 # ifdef __cplusplus
12039 int F77_DUMMY_MAIN() { return 1; }
12044 /* The GNU C library defines this for functions which it implements
12045 to always fail with ENOSYS. Some functions are actually named
12046 something starting with __ and the normal name is an alias. */
12047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -s conftest$ac_exeext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 eval "$as_ac_var=yes"
12071 echo "$as_me: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12073 eval "$as_ac_var=no"
12075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12079 if test `eval echo '${'$as_ac_var'}'` = yes; then
12080 cat >>confdefs.h <<_ACEOF
12081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12093 for ac_func in mrand48 srand48 nice nlist
12095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12096 echo "$as_me:$LINENO: checking for $ac_func" >&5
12097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12098 if eval "test \"\${$as_ac_var+set}\" = set"; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 cat >conftest.$ac_ext <<_ACEOF
12102 #line $LINENO "configure"
12103 #include "confdefs.h"
12104 /* System header to define __stub macros and hopefully few prototypes,
12105 which can conflict with char $ac_func (); below. */
12106 #include <assert.h>
12107 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12116 #ifdef F77_DUMMY_MAIN
12117 # ifdef __cplusplus
12120 int F77_DUMMY_MAIN() { return 1; }
12125 /* The GNU C library defines this for functions which it implements
12126 to always fail with ENOSYS. Some functions are actually named
12127 something starting with __ and the normal name is an alias. */
12128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12138 rm -f conftest.$ac_objext conftest$ac_exeext
12139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12140 (eval $ac_link) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); } &&
12144 { ac_try='test -s conftest$ac_exeext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12150 eval "$as_ac_var=yes"
12152 echo "$as_me: failed program was:" >&5
12153 cat conftest.$ac_ext >&5
12154 eval "$as_ac_var=no"
12156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12160 if test `eval echo '${'$as_ac_var'}'` = yes; then
12161 cat >>confdefs.h <<_ACEOF
12162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12174 for ac_func in ntp_adjtime ntp_gettime
12176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12177 echo "$as_me:$LINENO: checking for $ac_func" >&5
12178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12179 if eval "test \"\${$as_ac_var+set}\" = set"; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 cat >conftest.$ac_ext <<_ACEOF
12183 #line $LINENO "configure"
12184 #include "confdefs.h"
12185 /* System header to define __stub macros and hopefully few prototypes,
12186 which can conflict with char $ac_func (); below. */
12187 #include <assert.h>
12188 /* Override any gcc2 internal prototype to avoid an error. */
12192 /* We use char because int might match the return type of a gcc2
12193 builtin and then its argument prototype would still apply. */
12197 #ifdef F77_DUMMY_MAIN
12198 # ifdef __cplusplus
12201 int F77_DUMMY_MAIN() { return 1; }
12206 /* The GNU C library defines this for functions which it implements
12207 to always fail with ENOSYS. Some functions are actually named
12208 something starting with __ and the normal name is an alias. */
12209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12219 rm -f conftest.$ac_objext conftest$ac_exeext
12220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12221 (eval $ac_link) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } &&
12225 { ac_try='test -s conftest$ac_exeext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231 eval "$as_ac_var=yes"
12233 echo "$as_me: failed program was:" >&5
12234 cat conftest.$ac_ext >&5
12235 eval "$as_ac_var=no"
12237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12241 if test `eval echo '${'$as_ac_var'}'` = yes; then
12242 cat >>confdefs.h <<_ACEOF
12243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12256 for ac_func in plock pututline pututxline readlink rtprio
12258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12259 echo "$as_me:$LINENO: checking for $ac_func" >&5
12260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12261 if eval "test \"\${$as_ac_var+set}\" = set"; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 cat >conftest.$ac_ext <<_ACEOF
12265 #line $LINENO "configure"
12266 #include "confdefs.h"
12267 /* System header to define __stub macros and hopefully few prototypes,
12268 which can conflict with char $ac_func (); below. */
12269 #include <assert.h>
12270 /* Override any gcc2 internal prototype to avoid an error. */
12274 /* We use char because int might match the return type of a gcc2
12275 builtin and then its argument prototype would still apply. */
12279 #ifdef F77_DUMMY_MAIN
12280 # ifdef __cplusplus
12283 int F77_DUMMY_MAIN() { return 1; }
12288 /* The GNU C library defines this for functions which it implements
12289 to always fail with ENOSYS. Some functions are actually named
12290 something starting with __ and the normal name is an alias. */
12291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12301 rm -f conftest.$ac_objext conftest$ac_exeext
12302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12303 (eval $ac_link) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try='test -s conftest$ac_exeext'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; }; then
12313 eval "$as_ac_var=yes"
12315 echo "$as_me: failed program was:" >&5
12316 cat conftest.$ac_ext >&5
12317 eval "$as_ac_var=no"
12319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12323 if test `eval echo '${'$as_ac_var'}'` = yes; then
12324 cat >>confdefs.h <<_ACEOF
12325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12331 case "$ac_cv_func_mrand48" in
12334 for ac_func in random
12336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12337 echo "$as_me:$LINENO: checking for $ac_func" >&5
12338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12339 if eval "test \"\${$as_ac_var+set}\" = set"; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 cat >conftest.$ac_ext <<_ACEOF
12343 #line $LINENO "configure"
12344 #include "confdefs.h"
12345 /* System header to define __stub macros and hopefully few prototypes,
12346 which can conflict with char $ac_func (); below. */
12347 #include <assert.h>
12348 /* Override any gcc2 internal prototype to avoid an error. */
12352 /* We use char because int might match the return type of a gcc2
12353 builtin and then its argument prototype would still apply. */
12357 #ifdef F77_DUMMY_MAIN
12358 # ifdef __cplusplus
12361 int F77_DUMMY_MAIN() { return 1; }
12366 /* The GNU C library defines this for functions which it implements
12367 to always fail with ENOSYS. Some functions are actually named
12368 something starting with __ and the normal name is an alias. */
12369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12379 rm -f conftest.$ac_objext conftest$ac_exeext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12381 (eval $ac_link) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -s conftest$ac_exeext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 eval "$as_ac_var=yes"
12393 echo "$as_me: failed program was:" >&5
12394 cat conftest.$ac_ext >&5
12395 eval "$as_ac_var=no"
12397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12401 if test `eval echo '${'$as_ac_var'}'` = yes; then
12402 cat >>confdefs.h <<_ACEOF
12403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12407 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
12415 # Just a stub in AIX 4. Idiots.
12418 # Just stubs in solaris2.5. Idiots.
12421 for ac_func in sched_setscheduler
12423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12424 echo "$as_me:$LINENO: checking for $ac_func" >&5
12425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12426 if eval "test \"\${$as_ac_var+set}\" = set"; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 cat >conftest.$ac_ext <<_ACEOF
12430 #line $LINENO "configure"
12431 #include "confdefs.h"
12432 /* System header to define __stub macros and hopefully few prototypes,
12433 which can conflict with char $ac_func (); below. */
12434 #include <assert.h>
12435 /* Override any gcc2 internal prototype to avoid an error. */
12439 /* We use char because int might match the return type of a gcc2
12440 builtin and then its argument prototype would still apply. */
12444 #ifdef F77_DUMMY_MAIN
12445 # ifdef __cplusplus
12448 int F77_DUMMY_MAIN() { return 1; }
12453 /* The GNU C library defines this for functions which it implements
12454 to always fail with ENOSYS. Some functions are actually named
12455 something starting with __ and the normal name is an alias. */
12456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12466 rm -f conftest.$ac_objext conftest$ac_exeext
12467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12468 (eval $ac_link) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } &&
12472 { ac_try='test -s conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 eval "$as_ac_var=yes"
12480 echo "$as_me: failed program was:" >&5
12481 cat conftest.$ac_ext >&5
12482 eval "$as_ac_var=no"
12484 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12488 if test `eval echo '${'$as_ac_var'}'` = yes; then
12489 cat >>confdefs.h <<_ACEOF
12490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12502 for ac_func in setlinebuf setpgid setpriority setsid
12504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12505 echo "$as_me:$LINENO: checking for $ac_func" >&5
12506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12507 if eval "test \"\${$as_ac_var+set}\" = set"; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12510 cat >conftest.$ac_ext <<_ACEOF
12511 #line $LINENO "configure"
12512 #include "confdefs.h"
12513 /* System header to define __stub macros and hopefully few prototypes,
12514 which can conflict with char $ac_func (); below. */
12515 #include <assert.h>
12516 /* Override any gcc2 internal prototype to avoid an error. */
12520 /* We use char because int might match the return type of a gcc2
12521 builtin and then its argument prototype would still apply. */
12525 #ifdef F77_DUMMY_MAIN
12526 # ifdef __cplusplus
12529 int F77_DUMMY_MAIN() { return 1; }
12534 /* The GNU C library defines this for functions which it implements
12535 to always fail with ENOSYS. Some functions are actually named
12536 something starting with __ and the normal name is an alias. */
12537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12547 rm -f conftest.$ac_objext conftest$ac_exeext
12548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12549 (eval $ac_link) 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } &&
12553 { ac_try='test -s conftest$ac_exeext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12559 eval "$as_ac_var=yes"
12561 echo "$as_me: failed program was:" >&5
12562 cat conftest.$ac_ext >&5
12563 eval "$as_ac_var=no"
12565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12569 if test `eval echo '${'$as_ac_var'}'` = yes; then
12570 cat >>confdefs.h <<_ACEOF
12571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12578 for ac_func in settimeofday
12580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12581 echo "$as_me:$LINENO: checking for $ac_func" >&5
12582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12583 if eval "test \"\${$as_ac_var+set}\" = set"; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 cat >conftest.$ac_ext <<_ACEOF
12587 #line $LINENO "configure"
12588 #include "confdefs.h"
12589 /* System header to define __stub macros and hopefully few prototypes,
12590 which can conflict with char $ac_func (); below. */
12591 #include <assert.h>
12592 /* Override any gcc2 internal prototype to avoid an error. */
12596 /* We use char because int might match the return type of a gcc2
12597 builtin and then its argument prototype would still apply. */
12601 #ifdef F77_DUMMY_MAIN
12602 # ifdef __cplusplus
12605 int F77_DUMMY_MAIN() { return 1; }
12610 /* The GNU C library defines this for functions which it implements
12611 to always fail with ENOSYS. Some functions are actually named
12612 something starting with __ and the normal name is an alias. */
12613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12623 rm -f conftest.$ac_objext conftest$ac_exeext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625 (eval $ac_link) 2>&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); } &&
12629 { ac_try='test -s conftest$ac_exeext'
12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631 (eval $ac_try) 2>&5
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); }; }; then
12635 eval "$as_ac_var=yes"
12637 echo "$as_me: failed program was:" >&5
12638 cat conftest.$ac_ext >&5
12639 eval "$as_ac_var=no"
12641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12645 if test `eval echo '${'$as_ac_var'}'` = yes; then
12646 cat >>confdefs.h <<_ACEOF
12647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12653 *-*-mpeix*) ac_cv_func_settimeofday=yes
12661 for ac_func in setvbuf sigaction
12663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12664 echo "$as_me:$LINENO: checking for $ac_func" >&5
12665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12666 if eval "test \"\${$as_ac_var+set}\" = set"; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 cat >conftest.$ac_ext <<_ACEOF
12670 #line $LINENO "configure"
12671 #include "confdefs.h"
12672 /* System header to define __stub macros and hopefully few prototypes,
12673 which can conflict with char $ac_func (); below. */
12674 #include <assert.h>
12675 /* Override any gcc2 internal prototype to avoid an error. */
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12684 #ifdef F77_DUMMY_MAIN
12685 # ifdef __cplusplus
12688 int F77_DUMMY_MAIN() { return 1; }
12693 /* The GNU C library defines this for functions which it implements
12694 to always fail with ENOSYS. Some functions are actually named
12695 something starting with __ and the normal name is an alias. */
12696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12706 rm -f conftest.$ac_objext conftest$ac_exeext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12708 (eval $ac_link) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try='test -s conftest$ac_exeext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 eval "$as_ac_var=yes"
12720 echo "$as_me: failed program was:" >&5
12721 cat conftest.$ac_ext >&5
12722 eval "$as_ac_var=no"
12724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12728 if test `eval echo '${'$as_ac_var'}'` = yes; then
12729 cat >>confdefs.h <<_ACEOF
12730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12743 for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl
12745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12746 echo "$as_me:$LINENO: checking for $ac_func" >&5
12747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12748 if eval "test \"\${$as_ac_var+set}\" = set"; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12751 cat >conftest.$ac_ext <<_ACEOF
12752 #line $LINENO "configure"
12753 #include "confdefs.h"
12754 /* System header to define __stub macros and hopefully few prototypes,
12755 which can conflict with char $ac_func (); below. */
12756 #include <assert.h>
12757 /* Override any gcc2 internal prototype to avoid an error. */
12761 /* We use char because int might match the return type of a gcc2
12762 builtin and then its argument prototype would still apply. */
12766 #ifdef F77_DUMMY_MAIN
12767 # ifdef __cplusplus
12770 int F77_DUMMY_MAIN() { return 1; }
12775 /* The GNU C library defines this for functions which it implements
12776 to always fail with ENOSYS. Some functions are actually named
12777 something starting with __ and the normal name is an alias. */
12778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12788 rm -f conftest.$ac_objext conftest$ac_exeext
12789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12790 (eval $ac_link) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 { ac_try='test -s conftest$ac_exeext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 eval "$as_ac_var=yes"
12802 echo "$as_me: failed program was:" >&5
12803 cat conftest.$ac_ext >&5
12804 eval "$as_ac_var=no"
12806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12810 if test `eval echo '${'$as_ac_var'}'` = yes; then
12811 cat >>confdefs.h <<_ACEOF
12812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12822 for ac_func in snprintf strdup strerror strstr
12824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12825 echo "$as_me:$LINENO: checking for $ac_func" >&5
12826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12827 if eval "test \"\${$as_ac_var+set}\" = set"; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 cat >conftest.$ac_ext <<_ACEOF
12831 #line $LINENO "configure"
12832 #include "confdefs.h"
12833 /* System header to define __stub macros and hopefully few prototypes,
12834 which can conflict with char $ac_func (); below. */
12835 #include <assert.h>
12836 /* Override any gcc2 internal prototype to avoid an error. */
12840 /* We use char because int might match the return type of a gcc2
12841 builtin and then its argument prototype would still apply. */
12845 #ifdef F77_DUMMY_MAIN
12846 # ifdef __cplusplus
12849 int F77_DUMMY_MAIN() { return 1; }
12854 /* The GNU C library defines this for functions which it implements
12855 to always fail with ENOSYS. Some functions are actually named
12856 something starting with __ and the normal name is an alias. */
12857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12867 rm -f conftest.$ac_objext conftest$ac_exeext
12868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12869 (eval $ac_link) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } &&
12873 { ac_try='test -s conftest$ac_exeext'
12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875 (eval $ac_try) 2>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); }; }; then
12879 eval "$as_ac_var=yes"
12881 echo "$as_me: failed program was:" >&5
12882 cat conftest.$ac_ext >&5
12883 eval "$as_ac_var=no"
12885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12889 if test `eval echo '${'$as_ac_var'}'` = yes; then
12890 cat >>confdefs.h <<_ACEOF
12891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12898 for ac_func in timegm
12900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12901 echo "$as_me:$LINENO: checking for $ac_func" >&5
12902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12903 if eval "test \"\${$as_ac_var+set}\" = set"; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 cat >conftest.$ac_ext <<_ACEOF
12907 #line $LINENO "configure"
12908 #include "confdefs.h"
12909 /* System header to define __stub macros and hopefully few prototypes,
12910 which can conflict with char $ac_func (); below. */
12911 #include <assert.h>
12912 /* Override any gcc2 internal prototype to avoid an error. */
12916 /* We use char because int might match the return type of a gcc2
12917 builtin and then its argument prototype would still apply. */
12921 #ifdef F77_DUMMY_MAIN
12922 # ifdef __cplusplus
12925 int F77_DUMMY_MAIN() { return 1; }
12930 /* The GNU C library defines this for functions which it implements
12931 to always fail with ENOSYS. Some functions are actually named
12932 something starting with __ and the normal name is an alias. */
12933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12943 rm -f conftest.$ac_objext conftest$ac_exeext
12944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12945 (eval $ac_link) 2>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } &&
12949 { ac_try='test -s conftest$ac_exeext'
12950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951 (eval $ac_try) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); }; }; then
12955 eval "$as_ac_var=yes"
12957 echo "$as_me: failed program was:" >&5
12958 cat conftest.$ac_ext >&5
12959 eval "$as_ac_var=no"
12961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12965 if test `eval echo '${'$as_ac_var'}'` = yes; then
12966 cat >>confdefs.h <<_ACEOF
12967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12975 # Just stubs. Idiots.
12978 # Just stubs. Idiots.
12981 # Just stubs. Idiots.
12985 for ac_func in timer_create timer_settime
12987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12988 echo "$as_me:$LINENO: checking for $ac_func" >&5
12989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12990 if eval "test \"\${$as_ac_var+set}\" = set"; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 cat >conftest.$ac_ext <<_ACEOF
12994 #line $LINENO "configure"
12995 #include "confdefs.h"
12996 /* System header to define __stub macros and hopefully few prototypes,
12997 which can conflict with char $ac_func (); below. */
12998 #include <assert.h>
12999 /* Override any gcc2 internal prototype to avoid an error. */
13003 /* We use char because int might match the return type of a gcc2
13004 builtin and then its argument prototype would still apply. */
13008 #ifdef F77_DUMMY_MAIN
13009 # ifdef __cplusplus
13012 int F77_DUMMY_MAIN() { return 1; }
13017 /* The GNU C library defines this for functions which it implements
13018 to always fail with ENOSYS. Some functions are actually named
13019 something starting with __ and the normal name is an alias. */
13020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030 rm -f conftest.$ac_objext conftest$ac_exeext
13031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13032 (eval $ac_link) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
13036 { ac_try='test -s conftest$ac_exeext'
13037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13038 (eval $ac_try) 2>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); }; }; then
13042 eval "$as_ac_var=yes"
13044 echo "$as_me: failed program was:" >&5
13045 cat conftest.$ac_ext >&5
13046 eval "$as_ac_var=no"
13048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13052 if test `eval echo '${'$as_ac_var'}'` = yes; then
13053 cat >>confdefs.h <<_ACEOF
13054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13064 # I have no idea...
13067 for ac_func in umask
13069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13070 echo "$as_me:$LINENO: checking for $ac_func" >&5
13071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13072 if eval "test \"\${$as_ac_var+set}\" = set"; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13075 cat >conftest.$ac_ext <<_ACEOF
13076 #line $LINENO "configure"
13077 #include "confdefs.h"
13078 /* System header to define __stub macros and hopefully few prototypes,
13079 which can conflict with char $ac_func (); below. */
13080 #include <assert.h>
13081 /* Override any gcc2 internal prototype to avoid an error. */
13085 /* We use char because int might match the return type of a gcc2
13086 builtin and then its argument prototype would still apply. */
13090 #ifdef F77_DUMMY_MAIN
13091 # ifdef __cplusplus
13094 int F77_DUMMY_MAIN() { return 1; }
13099 /* The GNU C library defines this for functions which it implements
13100 to always fail with ENOSYS. Some functions are actually named
13101 something starting with __ and the normal name is an alias. */
13102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13112 rm -f conftest.$ac_objext conftest$ac_exeext
13113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13114 (eval $ac_link) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } &&
13118 { ac_try='test -s conftest$ac_exeext'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13124 eval "$as_ac_var=yes"
13126 echo "$as_me: failed program was:" >&5
13127 cat conftest.$ac_ext >&5
13128 eval "$as_ac_var=no"
13130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13134 if test `eval echo '${'$as_ac_var'}'` = yes; then
13135 cat >>confdefs.h <<_ACEOF
13136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13148 for ac_func in uname updwtmp updwtmpx vsprintf
13150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13151 echo "$as_me:$LINENO: checking for $ac_func" >&5
13152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13153 if eval "test \"\${$as_ac_var+set}\" = set"; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 cat >conftest.$ac_ext <<_ACEOF
13157 #line $LINENO "configure"
13158 #include "confdefs.h"
13159 /* System header to define __stub macros and hopefully few prototypes,
13160 which can conflict with char $ac_func (); below. */
13161 #include <assert.h>
13162 /* Override any gcc2 internal prototype to avoid an error. */
13166 /* We use char because int might match the return type of a gcc2
13167 builtin and then its argument prototype would still apply. */
13171 #ifdef F77_DUMMY_MAIN
13172 # ifdef __cplusplus
13175 int F77_DUMMY_MAIN() { return 1; }
13180 /* The GNU C library defines this for functions which it implements
13181 to always fail with ENOSYS. Some functions are actually named
13182 something starting with __ and the normal name is an alias. */
13183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13193 rm -f conftest.$ac_objext conftest$ac_exeext
13194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13195 (eval $ac_link) 2>&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); } &&
13199 { ac_try='test -s conftest$ac_exeext'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; }; then
13205 eval "$as_ac_var=yes"
13207 echo "$as_me: failed program was:" >&5
13208 cat conftest.$ac_ext >&5
13209 eval "$as_ac_var=no"
13211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13215 if test `eval echo '${'$as_ac_var'}'` = yes; then
13216 cat >>confdefs.h <<_ACEOF
13217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13224 echo "$as_me:$LINENO: checking number of arguments to gettimeofday()" >&5
13225 echo $ECHO_N "checking number of arguments to gettimeofday()... $ECHO_C" >&6
13226 if test "${ac_cv_func_Xettimeofday_nargs+set}" = set; then
13227 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 cat >conftest.$ac_ext <<_ACEOF
13230 #line $LINENO "configure"
13231 #include "confdefs.h"
13232 #include <sys/time.h>
13233 #ifdef F77_DUMMY_MAIN
13234 # ifdef __cplusplus
13237 int F77_DUMMY_MAIN() { return 1; }
13243 gettimeofday((struct timeval*)0,(struct timezone*)0);
13244 settimeofday((struct timeval*)0,(struct timezone*)0);
13250 rm -f conftest.$ac_objext
13251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13252 (eval $ac_compile) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try='test -s conftest.$ac_objext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 ac_cv_func_Xettimeofday_nargs=2
13264 echo "$as_me: failed program was:" >&5
13265 cat conftest.$ac_ext >&5
13266 ac_cv_func_Xettimeofday_nargs=1
13268 rm -f conftest.$ac_objext conftest.$ac_ext
13271 echo "$as_me:$LINENO: result: $ac_cv_func_Xettimeofday_nargs" >&5
13272 echo "${ECHO_T}$ac_cv_func_Xettimeofday_nargs" >&6
13273 if test $ac_cv_func_Xettimeofday_nargs = 1; then
13275 cat >>confdefs.h <<\_ACEOF
13276 #define SYSV_TIMEOFDAY 1
13281 echo "$as_me:$LINENO: checking number of arguments taken by setpgrp()" >&5
13282 echo $ECHO_N "checking number of arguments taken by setpgrp()... $ECHO_C" >&6
13283 if test "${ac_cv_func_setpgrp_nargs+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 cat >conftest.$ac_ext <<_ACEOF
13287 #line $LINENO "configure"
13288 #include "confdefs.h"
13290 #ifdef HAVE_SYS_TYPES_H
13291 # include <sys/types.h>
13293 #ifdef HAVE_UNISTD_H
13294 # include <unistd.h>
13297 #ifdef F77_DUMMY_MAIN
13298 # ifdef __cplusplus
13301 int F77_DUMMY_MAIN() { return 1; }
13311 rm -f conftest.$ac_objext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } &&
13317 { ac_try='test -s conftest.$ac_objext'
13318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13319 (eval $ac_try) 2>&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; }; then
13323 ac_cv_func_setpgrp_nargs=2
13325 echo "$as_me: failed program was:" >&5
13326 cat conftest.$ac_ext >&5
13327 ac_cv_func_setpgrp_nargs=0
13329 rm -f conftest.$ac_objext conftest.$ac_ext
13332 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_nargs" >&5
13333 echo "${ECHO_T}$ac_cv_func_setpgrp_nargs" >&6
13334 if test $ac_cv_func_setpgrp_nargs = 0; then
13336 cat >>confdefs.h <<\_ACEOF
13337 #define HAVE_SETPGRP_0 1
13342 save_CFLAGS=$CFLAGS
13343 CFLAGS="$CFLAGS -I$srcdir/include"
13345 echo "$as_me:$LINENO: checking argument pointer type of qsort()'s compare function and base" >&5
13346 echo $ECHO_N "checking argument pointer type of qsort()'s compare function and base... $ECHO_C" >&6
13347 if test "${ac_cv_func_qsort_argtype+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 cat >conftest.$ac_ext <<_ACEOF
13351 #line $LINENO "configure"
13352 #include "confdefs.h"
13354 #include "l_stdlib.h"
13356 #ifdef HAVE_PROTOTYPES
13363 extern sortfunc P((const void *, const void *));
13366 const void *b; { return 0; }
13368 #ifdef F77_DUMMY_MAIN
13369 # ifdef __cplusplus
13372 int F77_DUMMY_MAIN() { return 1; }
13378 qsort(base, 2, sizeof(char *), sortfunc);
13384 rm -f conftest.$ac_objext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13386 (eval $ac_compile) 2>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try='test -s conftest.$ac_objext'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_func_qsort_argtype=void
13398 echo "$as_me: failed program was:" >&5
13399 cat conftest.$ac_ext >&5
13400 ac_cv_func_qsort_argtype=char
13402 rm -f conftest.$ac_objext conftest.$ac_ext
13405 echo "$as_me:$LINENO: result: $ac_cv_func_qsort_argtype" >&5
13406 echo "${ECHO_T}$ac_cv_func_qsort_argtype" >&6
13407 case "$ac_cv_func_qsort_argtype" in
13410 cat >>confdefs.h <<\_ACEOF
13411 #define QSORT_USES_VOID_P 1
13417 CFLAGS=$save_CFLAGS
13419 echo "$as_me:$LINENO: checking if we need to declare 'errno'" >&5
13420 echo $ECHO_N "checking if we need to declare 'errno'... $ECHO_C" >&6
13421 if test "${ac_cv_decl_errno+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.$ac_ext <<_ACEOF
13425 #line $LINENO "configure"
13426 #include "confdefs.h"
13427 #ifdef HAVE_ERRNO_H
13430 #ifdef F77_DUMMY_MAIN
13431 # ifdef __cplusplus
13434 int F77_DUMMY_MAIN() { return 1; }
13444 rm -f conftest.$ac_objext
13445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13446 (eval $ac_compile) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try='test -s conftest.$ac_objext'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; }; then
13456 ac_cv_decl_errno=no
13458 echo "$as_me: failed program was:" >&5
13459 cat conftest.$ac_ext >&5
13460 ac_cv_decl_errno=yes
13462 rm -f conftest.$ac_objext conftest.$ac_ext
13464 echo "$as_me:$LINENO: result: $ac_cv_decl_errno" >&5
13465 echo "${ECHO_T}$ac_cv_decl_errno" >&6
13466 case "$ac_cv_decl_errno" in
13468 cat >>confdefs.h <<\_ACEOF
13469 #define DECL_ERRNO 1
13474 echo "$as_me:$LINENO: checking if we may declare 'h_errno'" >&5
13475 echo $ECHO_N "checking if we may declare 'h_errno'... $ECHO_C" >&6
13476 if test "${ac_cv_decl_h_errno+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 cat >conftest.$ac_ext <<_ACEOF
13480 #line $LINENO "configure"
13481 #include "confdefs.h"
13482 #include <sys/types.h>
13483 #ifdef HAVE_NETINET_IN_H
13484 #include <netinet/in.h>
13486 #ifdef HAVE_ARPA_NAMESER_H
13487 #include <arpa/nameser.h>
13489 #ifdef HAVE_NETDB_H
13492 #ifdef HAVE_RESOLV_H
13493 #include <resolv.h>
13495 #ifdef F77_DUMMY_MAIN
13496 # ifdef __cplusplus
13499 int F77_DUMMY_MAIN() { return 1; }
13504 extern int h_errno;
13509 rm -f conftest.$ac_objext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_cv_decl_h_errno=yes
13523 echo "$as_me: failed program was:" >&5
13524 cat conftest.$ac_ext >&5
13525 ac_cv_decl_h_errno=no
13527 rm -f conftest.$ac_objext conftest.$ac_ext
13529 echo "$as_me:$LINENO: result: $ac_cv_decl_h_errno" >&5
13530 echo "${ECHO_T}$ac_cv_decl_h_errno" >&6
13531 case "$ac_cv_decl_h_errno" in
13533 cat >>confdefs.h <<\_ACEOF
13534 #define DECL_H_ERRNO 1
13539 echo "$as_me:$LINENO: checking if declaring 'char *sys_errlist[]' is ok" >&5
13540 echo $ECHO_N "checking if declaring 'char *sys_errlist[]' is ok... $ECHO_C" >&6
13541 if test "${ac_cv_decl_sys_errlist+set}" = set; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 cat >conftest.$ac_ext <<_ACEOF
13545 #line $LINENO "configure"
13546 #include "confdefs.h"
13548 #ifdef HAVE_ERRNO_H
13551 #ifdef F77_DUMMY_MAIN
13552 # ifdef __cplusplus
13555 int F77_DUMMY_MAIN() { return 1; }
13560 extern char *sys_errlist[];
13566 rm -f conftest.$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 ac_cv_decl_sys_errlist=yes
13580 echo "$as_me: failed program was:" >&5
13581 cat conftest.$ac_ext >&5
13582 ac_cv_decl_sys_errlist=no
13584 rm -f conftest.$ac_objext conftest.$ac_ext
13586 echo "$as_me:$LINENO: result: $ac_cv_decl_sys_errlist" >&5
13587 echo "${ECHO_T}$ac_cv_decl_sys_errlist" >&6
13588 case "$ac_cv_decl_sys_errlist" in
13590 cat >>confdefs.h <<\_ACEOF
13591 #define CHAR_SYS_ERRLIST 1
13596 echo "$as_me:$LINENO: checking if declaring 'syscall()' is ok" >&5
13597 echo $ECHO_N "checking if declaring 'syscall()' is ok... $ECHO_C" >&6
13598 if test "${ac_cv_decl_syscall+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 cat >conftest.$ac_ext <<_ACEOF
13602 #line $LINENO "configure"
13603 #include "confdefs.h"
13605 #ifdef HAVE_SYS_TYPES_H
13606 # include <sys/types.h>
13608 #ifdef HAVE_UNISTD_H
13609 # include <unistd.h>
13611 #ifdef HAVE_PROTOTYPES
13617 #ifdef F77_DUMMY_MAIN
13618 # ifdef __cplusplus
13621 int F77_DUMMY_MAIN() { return 1; }
13626 extern int syscall P((int, ...));
13631 rm -f conftest.$ac_objext
13632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13633 (eval $ac_compile) 2>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } &&
13637 { ac_try='test -s conftest.$ac_objext'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_decl_syscall=yes
13645 echo "$as_me: failed program was:" >&5
13646 cat conftest.$ac_ext >&5
13647 ac_cv_decl_syscall=no
13649 rm -f conftest.$ac_objext conftest.$ac_ext
13651 echo "$as_me:$LINENO: result: $ac_cv_decl_syscall" >&5
13652 echo "${ECHO_T}$ac_cv_decl_syscall" >&6
13653 case "$ac_cv_decl_syscall" in
13655 cat >>confdefs.h <<\_ACEOF
13656 #define DECL_SYSCALL 1
13664 cat >>confdefs.h <<\_ACEOF
13665 #define DECL_HSTRERROR_0 1
13667 # Needed for XLC under AIX 4.3.2
13671 cat >>confdefs.h <<\_ACEOF
13672 #define DECL_ADJTIME_0 1
13676 cat >>confdefs.h <<\_ACEOF
13677 #define DECL_INET_NTOA_0 1
13681 cat >>confdefs.h <<\_ACEOF
13682 #define DECL_MKTEMP_0 1
13686 cat >>confdefs.h <<\_ACEOF
13687 #define DECL_MRAND48_0 1
13691 cat >>confdefs.h <<\_ACEOF
13692 #define DECL_SELECT_0 1
13696 cat >>confdefs.h <<\_ACEOF
13697 #define DECL_SETITIMER_0 1
13701 cat >>confdefs.h <<\_ACEOF
13702 #define DECL_SRAND48_0 1
13706 cat >>confdefs.h <<\_ACEOF
13707 #define DECL_SYSLOG_0 1
13711 cat >>confdefs.h <<\_ACEOF
13712 #define DECL_TIMEOFDAY_0 1
13718 cat >>confdefs.h <<\_ACEOF
13719 #define DECL_PLOCK_0 1
13723 cat >>confdefs.h <<\_ACEOF
13724 #define DECL_STIME_1 1
13730 cat >>confdefs.h <<\_ACEOF
13731 #define DECL_ADJTIME_0 1
13737 cat >>confdefs.h <<\_ACEOF
13738 #define DECL_ADJTIME_0 1
13742 cat >>confdefs.h <<\_ACEOF
13743 #define DECL_BZERO_0 1
13747 cat >>confdefs.h <<\_ACEOF
13748 #define DECL_IOCTL_0 1
13752 cat >>confdefs.h <<\_ACEOF
13753 #define DECL_IPC_0 1
13757 cat >>confdefs.h <<\_ACEOF
13758 #define DECL_MEMMOVE_0 1
13762 cat >>confdefs.h <<\_ACEOF
13763 #define DECL_MKTEMP_0 1
13767 cat >>confdefs.h <<\_ACEOF
13768 #define DECL_RENAME_0 1
13772 cat >>confdefs.h <<\_ACEOF
13773 #define DECL_SELECT_0 1
13777 cat >>confdefs.h <<\_ACEOF
13778 #define DECL_SETITIMER_0 1
13782 cat >>confdefs.h <<\_ACEOF
13783 #define DECL_SETPRIORITY_0 1
13787 cat >>confdefs.h <<\_ACEOF
13788 #define DECL_STDIO_0 1
13792 cat >>confdefs.h <<\_ACEOF
13793 #define DECL_STRTOL_0 1
13797 cat >>confdefs.h <<\_ACEOF
13798 #define DECL_SYSLOG_0 1
13802 cat >>confdefs.h <<\_ACEOF
13803 #define DECL_TIME_0 1
13807 cat >>confdefs.h <<\_ACEOF
13808 #define DECL_TIMEOFDAY_0 1
13812 cat >>confdefs.h <<\_ACEOF
13813 #define DECL_TOLOWER_0 1
13819 cat >>confdefs.h <<\_ACEOF
13820 #define DECL_MKSTEMP_0 1
13824 cat >>confdefs.h <<\_ACEOF
13825 #define DECL_SETPRIORITY_1 1
13831 cat >>confdefs.h <<\_ACEOF
13832 #define DECL_TIMEOFDAY_0 1
13840 cat >>confdefs.h <<\_ACEOF
13841 #define DECL_ADJTIME_0 1
13845 cat >>confdefs.h <<\_ACEOF
13846 #define DECL_BCOPY_0 1
13850 cat >>confdefs.h <<\_ACEOF
13851 #define DECL_BZERO_0 1
13855 cat >>confdefs.h <<\_ACEOF
13856 #define DECL_IOCTL_0 1
13860 cat >>confdefs.h <<\_ACEOF
13861 #define DECL_IPC_0 1
13865 cat >>confdefs.h <<\_ACEOF
13866 #define DECL_MEMMOVE_0 1
13870 cat >>confdefs.h <<\_ACEOF
13871 #define DECL_MKTEMP_0 1
13875 cat >>confdefs.h <<\_ACEOF
13876 #define DECL_MKSTEMP_0 1
13880 cat >>confdefs.h <<\_ACEOF
13881 #define DECL_MRAND48_0 1
13885 cat >>confdefs.h <<\_ACEOF
13886 #define DECL_RENAME_0 1
13890 cat >>confdefs.h <<\_ACEOF
13891 #define DECL_SELECT_0 1
13895 cat >>confdefs.h <<\_ACEOF
13896 #define DECL_SETITIMER_0 1
13900 cat >>confdefs.h <<\_ACEOF
13901 #define DECL_SETPRIORITY_0 1
13905 cat >>confdefs.h <<\_ACEOF
13906 #define DECL_SIGVEC_0 1
13910 cat >>confdefs.h <<\_ACEOF
13911 #define DECL_SRAND48_0 1
13914 case "`basename $ac_cv_prog_CC`" in
13917 cat >>confdefs.h <<\_ACEOF
13918 #define DECL_STDIO_0 1
13924 cat >>confdefs.h <<\_ACEOF
13925 #define DECL_STRTOL_0 1
13929 cat >>confdefs.h <<\_ACEOF
13930 #define DECL_SYSLOG_0 1
13934 cat >>confdefs.h <<\_ACEOF
13935 #define DECL_TIME_0 1
13939 cat >>confdefs.h <<\_ACEOF
13940 #define DECL_TIMEOFDAY_0 1
13944 cat >>confdefs.h <<\_ACEOF
13945 #define DECL_TOLOWER_0 1
13949 cat >>confdefs.h <<\_ACEOF
13950 #define DECL_TOUPPER_0 1
13954 cat >>confdefs.h <<\_ACEOF
13955 #define DECL_STRERROR_0 1
13961 cat >>confdefs.h <<\_ACEOF
13962 #define DECL_ADJTIME_0 1
13966 cat >>confdefs.h <<\_ACEOF
13967 #define DECL_BZERO_0 1
13971 cat >>confdefs.h <<\_ACEOF
13972 #define DECL_CFSETISPEED_0 1
13976 cat >>confdefs.h <<\_ACEOF
13977 #define DECL_IOCTL_0 1
13981 cat >>confdefs.h <<\_ACEOF
13982 #define DECL_IPC_0 1
13986 cat >>confdefs.h <<\_ACEOF
13987 #define DECL_MKTEMP_0 1
13991 cat >>confdefs.h <<\_ACEOF
13992 #define DECL_MRAND48_0 1
13996 cat >>confdefs.h <<\_ACEOF
13997 #define DECL_NLIST_0 1
14001 cat >>confdefs.h <<\_ACEOF
14002 #define DECL_PLOCK_0 1
14006 cat >>confdefs.h <<\_ACEOF
14007 #define DECL_SELECT_0 1
14011 cat >>confdefs.h <<\_ACEOF
14012 #define DECL_SETITIMER_0 1
14016 cat >>confdefs.h <<\_ACEOF
14017 #define DECL_SETPRIORITY_0 1
14021 cat >>confdefs.h <<\_ACEOF
14022 #define DECL_SRAND48_0 1
14026 cat >>confdefs.h <<\_ACEOF
14027 #define DECL_STIME_0 1
14031 cat >>confdefs.h <<\_ACEOF
14032 #define DECL_SYSLOG_0 1
14036 cat >>confdefs.h <<\_ACEOF
14037 #define DECL_TIMEOFDAY_0 1
14046 cat >>confdefs.h <<\_ACEOF
14047 #define TERMIOS_NEEDS__SVID3 1
14053 echo "$as_me:$LINENO: checking if we should use a streams device for ifconfig" >&5
14054 echo $ECHO_N "checking if we should use a streams device for ifconfig... $ECHO_C" >&6
14055 if test "${ac_cv_var_use_streams_device_for_ifconfig+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 ac_cv_var_use_streams_device_for_ifconfig=no
14060 echo "$as_me:$LINENO: result: $ac_cv_var_use_streams_device_for_ifconfig" >&5
14061 echo "${ECHO_T}$ac_cv_var_use_streams_device_for_ifconfig" >&6
14063 echo "$as_me:$LINENO: checking if we need extra room for SO_RCVBUF" >&5
14064 echo $ECHO_N "checking if we need extra room for SO_RCVBUF... $ECHO_C" >&6
14065 if test "${ac_cv_var_rcvbuf_slop+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 ac_cv_var_rcvbuf_slop=$ans
14076 echo "$as_me:$LINENO: result: $ac_cv_var_rcvbuf_slop" >&5
14077 echo "${ECHO_T}$ac_cv_var_rcvbuf_slop" >&6
14078 case "$ac_cv_var_rcvbuf_slop" in
14080 cat >>confdefs.h <<\_ACEOF
14081 #define NEED_RCVBUF_SLOP 1
14086 echo "$as_me:$LINENO: checking if we will open the broadcast socket" >&5
14087 echo $ECHO_N "checking if we will open the broadcast socket... $ECHO_C" >&6
14088 if test "${ac_cv_var_open_bcast_socket+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 ac_cv_var_open_bcast_socket=$ans
14102 echo "$as_me:$LINENO: result: $ac_cv_var_open_bcast_socket" >&5
14103 echo "${ECHO_T}$ac_cv_var_open_bcast_socket" >&6
14104 case "$ac_cv_var_open_bcast_socket" in
14106 cat >>confdefs.h <<\_ACEOF
14107 #define OPEN_BCAST_SOCKET 1
14112 echo "$as_me:$LINENO: checking if we want the HPUX version of FindConfig()" >&5
14113 echo $ECHO_N "checking if we want the HPUX version of FindConfig()... $ECHO_C" >&6
14114 if test "${ac_cv_var_hpux_findconfig+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 ac_cv_var_hpux_findconfig=$ans
14125 echo "$as_me:$LINENO: result: $ac_cv_var_hpux_findconfig" >&5
14126 echo "${ECHO_T}$ac_cv_var_hpux_findconfig" >&6
14127 case "$ac_cv_var_hpux_findconfig" in
14129 cat >>confdefs.h <<\_ACEOF
14130 #define NEED_HPUX_FINDCONFIG 1
14135 echo "$as_me:$LINENO: checking if process groups are set with -pid" >&5
14136 echo $ECHO_N "checking if process groups are set with -pid... $ECHO_C" >&6
14137 if test "${ac_cv_arg_setpgrp_negpid+set}" = set; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 ac_cv_arg_setpgrp_negpid=$ans
14162 echo "$as_me:$LINENO: result: $ac_cv_arg_setpgrp_negpid" >&5
14163 echo "${ECHO_T}$ac_cv_arg_setpgrp_negpid" >&6
14164 case "$ac_cv_arg_setpgrp_negpid" in
14166 cat >>confdefs.h <<\_ACEOF
14167 #define UDP_BACKWARDS_SETOWN 1
14172 echo "$as_me:$LINENO: checking if we need a ctty for F_SETOWN" >&5
14173 echo $ECHO_N "checking if we need a ctty for F_SETOWN... $ECHO_C" >&6
14174 if test "${ac_cv_func_ctty_for_f_setown+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 ac_cv_func_ctty_for_f_setown=$ans
14198 echo "$as_me:$LINENO: result: $ac_cv_func_ctty_for_f_setown" >&5
14199 echo "${ECHO_T}$ac_cv_func_ctty_for_f_setown" >&6
14200 case "$ac_cv_func_ctty_for_f_setown" in
14202 cat >>confdefs.h <<\_ACEOF
14203 #define USE_FSETOWNCTTY 1
14208 ntp_warning='GRONK'
14209 echo "$as_me:$LINENO: checking if we'll use clock_settime or settimeofday or stime" >&5
14210 echo $ECHO_N "checking if we'll use clock_settime or settimeofday or stime... $ECHO_C" >&6
14211 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
14214 ans='clock_settime()'
14217 ntp_warning='But clock_settime() would be better (if we had it)'
14218 ans='settimeofday()'
14221 ntp_warning='Which is the worst of the three'
14226 $host) ntp_warning='Which leaves us with nothing to use!'
14231 echo "$as_me:$LINENO: result: $ans" >&5
14232 echo "${ECHO_T}$ans" >&6
14233 case "$ntp_warning" in
14235 *) { echo "$as_me:$LINENO: WARNING: *** $ntp_warning ***" >&5
14236 echo "$as_me: WARNING: *** $ntp_warning ***" >&2;}
14240 echo "$as_me:$LINENO: checking if we have a losing syscall()" >&5
14241 echo $ECHO_N "checking if we have a losing syscall()... $ECHO_C" >&6
14242 if test "${ac_cv_var_syscall_bug+set}" = set; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 ac_cv_var_syscall_bug=$ans
14254 echo "$as_me:$LINENO: result: $ac_cv_var_syscall_bug" >&5
14255 echo "${ECHO_T}$ac_cv_var_syscall_bug" >&6
14256 case "$ac_cv_var_syscall_bug" in
14258 cat >>confdefs.h <<\_ACEOF
14259 #define SYSCALL_BUG 1
14264 echo "$as_me:$LINENO: checking for Streams/TLI" >&5
14265 echo $ECHO_N "checking for Streams/TLI... $ECHO_C" >&6
14266 if test "${ac_cv_var_streams_tli+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 case "$ac_cv_header_sys_stropts_h" in
14272 # There must be a better way...
14280 ac_cv_var_streams_tli=$ans
14282 echo "$as_me:$LINENO: result: $ac_cv_var_streams_tli" >&5
14283 echo "${ECHO_T}$ac_cv_var_streams_tli" >&6
14284 case "$ac_cv_var_streams_tli" in
14287 cat >>confdefs.h <<\_ACEOF
14288 #define STREAMS_TLI 1
14294 echo "$as_me:$LINENO: checking for SIGIO" >&5
14295 echo $ECHO_N "checking for SIGIO... $ECHO_C" >&6
14296 if test "${ac_cv_hdr_def_sigio+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 cat >conftest.$ac_ext <<_ACEOF
14300 #line $LINENO "configure"
14301 #include "confdefs.h"
14302 #include <signal.h>
14308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14309 egrep "yes" >/dev/null 2>&1; then
14310 ac_cv_hdr_def_sigio=yes
14312 ac_cv_hdr_def_sigio=no
14317 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigio" >&5
14318 echo "${ECHO_T}$ac_cv_hdr_def_sigio" >&6
14320 echo "$as_me:$LINENO: checking if we want to use signalled IO" >&5
14321 echo $ECHO_N "checking if we want to use signalled IO... $ECHO_C" >&6
14322 if test "${ac_cv_var_signalled_io+set}" = set; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 case "$ac_cv_hdr_def_sigio" in
14330 alpha*-dec-osf4*|alpha*-dec-osf5*)
14360 ac_cv_var_signalled_io=$ans
14362 echo "$as_me:$LINENO: result: $ac_cv_var_signalled_io" >&5
14363 echo "${ECHO_T}$ac_cv_var_signalled_io" >&6
14364 case "$ac_cv_var_signalled_io" in
14366 cat >>confdefs.h <<\_ACEOF
14367 #define HAVE_SIGNALED_IO 1
14372 echo "$as_me:$LINENO: checking for SIGPOLL" >&5
14373 echo $ECHO_N "checking for SIGPOLL... $ECHO_C" >&6
14374 if test "${ac_cv_hdr_def_sigpoll+set}" = set; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14377 cat >conftest.$ac_ext <<_ACEOF
14378 #line $LINENO "configure"
14379 #include "confdefs.h"
14380 #include <signal.h>
14386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14387 egrep "yes" >/dev/null 2>&1; then
14388 ac_cv_hdr_def_sigpoll=yes
14390 ac_cv_hdr_def_sigpoll=no
14395 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigpoll" >&5
14396 echo "${ECHO_T}$ac_cv_hdr_def_sigpoll" >&6
14398 echo "$as_me:$LINENO: checking for SIGSYS" >&5
14399 echo $ECHO_N "checking for SIGSYS... $ECHO_C" >&6
14400 if test "${ac_cv_hdr_def_sigsys+set}" = set; then
14401 echo $ECHO_N "(cached) $ECHO_C" >&6
14403 cat >conftest.$ac_ext <<_ACEOF
14404 #line $LINENO "configure"
14405 #include "confdefs.h"
14406 #include <signal.h>
14412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14413 egrep "yes" >/dev/null 2>&1; then
14414 ac_cv_hdr_def_sigsys=yes
14416 ac_cv_hdr_def_sigsys=no
14421 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigsys" >&5
14422 echo "${ECHO_T}$ac_cv_hdr_def_sigsys" >&6
14424 echo "$as_me:$LINENO: checking if we can use SIGPOLL for UDP I/O" >&5
14425 echo $ECHO_N "checking if we can use SIGPOLL for UDP I/O... $ECHO_C" >&6
14426 if test "${ac_cv_var_use_udp_sigpoll+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 case "$ac_cv_hdr_def_sigpoll" in
14471 ac_cv_var_use_udp_sigpoll=$ans
14473 echo "$as_me:$LINENO: result: $ac_cv_var_use_udp_sigpoll" >&5
14474 echo "${ECHO_T}$ac_cv_var_use_udp_sigpoll" >&6
14475 case "$ac_cv_var_use_udp_sigpoll" in
14477 cat >>confdefs.h <<\_ACEOF
14478 #define USE_UDP_SIGPOLL 1
14483 echo "$as_me:$LINENO: checking if we can use SIGPOLL for TTY I/O" >&5
14484 echo $ECHO_N "checking if we can use SIGPOLL for TTY I/O... $ECHO_C" >&6
14485 if test "${ac_cv_var_use_tty_sigpoll+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 case "$ac_cv_hdr_def_sigpoll" in
14530 ac_cv_var_use_tty_sigpoll=$ans
14532 echo "$as_me:$LINENO: result: $ac_cv_var_use_tty_sigpoll" >&5
14533 echo "${ECHO_T}$ac_cv_var_use_tty_sigpoll" >&6
14534 case "$ac_cv_var_use_tty_sigpoll" in
14536 cat >>confdefs.h <<\_ACEOF
14537 #define USE_TTY_SIGPOLL 1
14542 case "$ac_cv_header_sys_sio_h" in
14544 echo "$as_me:$LINENO: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5
14545 echo $ECHO_N "checking sys/sio.h for TIOCDCDTIMESTAMP... $ECHO_C" >&6
14546 if test "${ac_cv_hdr_def_tiocdcdtimestamp+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 cat >conftest.$ac_ext <<_ACEOF
14550 #line $LINENO "configure"
14551 #include "confdefs.h"
14552 #include <sys/sio.h>
14553 #ifdef TIOCDCDTIMESTAMP
14558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14559 egrep "yes" >/dev/null 2>&1; then
14560 ac_cv_hdr_def_tiocdcdtimestamp=yes
14562 ac_cv_hdr_def_tiocdcdtimestamp=no
14567 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_tiocdcdtimestamp" >&5
14568 echo "${ECHO_T}$ac_cv_hdr_def_tiocdcdtimestamp" >&6
14572 case "$ac_cv_hdr_def_tiocdcdtimestamp" in
14574 ac_cv_var_oncore_ok=yes
14578 echo "$as_me:$LINENO: checking if nlist() values might require extra indirection" >&5
14579 echo $ECHO_N "checking if nlist() values might require extra indirection... $ECHO_C" >&6
14580 if test "${ac_cv_var_nlist_extra_indirection+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14589 ac_cv_var_nlist_extra_indirection=$ans
14591 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_extra_indirection" >&5
14592 echo "${ECHO_T}$ac_cv_var_nlist_extra_indirection" >&6
14593 case "$ac_cv_var_nlist_extra_indirection" in
14595 cat >>confdefs.h <<\_ACEOF
14596 #define NLIST_EXTRA_INDIRECTION 1
14601 echo "$as_me:$LINENO: checking for a minimum recommended value of tickadj" >&5
14602 echo $ECHO_N "checking for a minimum recommended value of tickadj... $ECHO_C" >&6
14603 if test "${ac_cv_var_min_rec_tickadj+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 ac_cv_var_min_rec_tickadj=$ans
14614 echo "$as_me:$LINENO: result: $ac_cv_var_min_rec_tickadj" >&5
14615 echo "${ECHO_T}$ac_cv_var_min_rec_tickadj" >&6
14616 case "$ac_cv_var_min_rec_tickadj" in
14619 cat >>confdefs.h <<_ACEOF
14620 #define MIN_REC_TICKADJ $ac_cv_var_min_rec_tickadj
14625 echo "$as_me:$LINENO: checking if the TTY code permits PARENB and IGNPAR" >&5
14626 echo $ECHO_N "checking if the TTY code permits PARENB and IGNPAR... $ECHO_C" >&6
14627 if test "${ac_cv_var_no_parenb_ignpar+set}" = set; then
14628 echo $ECHO_N "(cached) $ECHO_C" >&6
14638 i?86-*-freebsd[123].*)
14644 ac_cv_var_no_parenb_ignpar=$ans
14646 echo "$as_me:$LINENO: result: $ac_cv_var_no_parenb_ignpar" >&5
14647 echo "${ECHO_T}$ac_cv_var_no_parenb_ignpar" >&6
14648 case "$ac_cv_var_no_parenb_ignpar" in
14650 cat >>confdefs.h <<\_ACEOF
14651 #define NO_PARENB_IGNPAR 1
14656 echo "$as_me:$LINENO: checking if we're including debugging code" >&5
14657 echo $ECHO_N "checking if we're including debugging code... $ECHO_C" >&6
14658 # Check whether --enable-debugging or --disable-debugging was given.
14659 if test "${enable_debugging+set}" = set; then
14660 enableval="$enable_debugging"
14665 if test "$ntp_ok" = "yes"; then
14667 cat >>confdefs.h <<\_ACEOF
14672 echo "$as_me:$LINENO: result: $ntp_ok" >&5
14673 echo "${ECHO_T}$ntp_ok" >&6
14675 echo "$as_me:$LINENO: checking for a the number of minutes in a DST adjustment" >&5
14676 echo $ECHO_N "checking for a the number of minutes in a DST adjustment... $ECHO_C" >&6
14677 # Check whether --enable-dst_minutes or --disable-dst_minutes was given.
14678 if test "${enable_dst_minutes+set}" = set; then
14679 enableval="$enable_dst_minutes"
14685 cat >>confdefs.h <<_ACEOF
14686 #define DSTMINUTES $ans
14689 echo "$as_me:$LINENO: result: $ans" >&5
14690 echo "${ECHO_T}$ans" >&6
14692 echo "$as_me:$LINENO: checking if we have the tty_clk line discipline/streams module" >&5
14693 echo $ECHO_N "checking if we have the tty_clk line discipline/streams module... $ECHO_C" >&6
14694 if test "${ac_cv_var_tty_clk+set}" = set; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 case "$ac_cv_header_sys_clkdefs_h$ac_cv_hdr_def_tiocdcdtimestamp" in
14698 *yes*) ac_cv_var_tty_clk=yes ;;
14701 echo "$as_me:$LINENO: result: $ac_cv_var_tty_clk" >&5
14702 echo "${ECHO_T}$ac_cv_var_tty_clk" >&6
14703 case "$ac_cv_var_tty_clk" in
14705 cat >>confdefs.h <<\_ACEOF
14711 echo "$as_me:$LINENO: checking for the ppsclock streams module" >&5
14712 echo $ECHO_N "checking for the ppsclock streams module... $ECHO_C" >&6
14713 if test "${ac_cv_var_ppsclock+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 ac_cv_var_ppsclock=$ac_cv_struct_ppsclockev
14718 echo "$as_me:$LINENO: result: $ac_cv_var_ppsclock" >&5
14719 echo "${ECHO_T}$ac_cv_var_ppsclock" >&6
14720 case "$ac_cv_var_ppsclock" in
14722 cat >>confdefs.h <<\_ACEOF
14728 echo "$as_me:$LINENO: checking for kernel multicast support" >&5
14729 echo $ECHO_N "checking for kernel multicast support... $ECHO_C" >&6
14730 if test "${ac_cv_var_mcast+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 i386-sequent-sysv4) ;;
14736 *) cat >conftest.$ac_ext <<_ACEOF
14737 #line $LINENO "configure"
14738 #include "confdefs.h"
14739 #include <netinet/in.h>
14740 #ifdef IP_ADD_MEMBERSHIP
14745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14746 egrep "yes" >/dev/null 2>&1; then
14747 ac_cv_var_mcast=yes
14753 echo "$as_me:$LINENO: result: $ac_cv_var_mcast" >&5
14754 echo "${ECHO_T}$ac_cv_var_mcast" >&6
14755 case "$ac_cv_var_mcast" in
14757 cat >>confdefs.h <<\_ACEOF
14763 echo "$as_me:$LINENO: checking availability of ntp_{adj,get}time()" >&5
14764 echo $ECHO_N "checking availability of ntp_{adj,get}time()... $ECHO_C" >&6
14765 if test "${ac_cv_var_ntp_syscalls+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 ac_cv_var_ntp_syscalls=no
14769 case "$ac_cv_func___adjtimex" in
14771 ac_cv_var_ntp_syscalls=libc
14773 *) case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime" in
14775 ac_cv_var_ntp_syscalls=libc
14777 *) cat >conftest.$ac_ext <<_ACEOF
14778 #line $LINENO "configure"
14779 #include "confdefs.h"
14780 #include <sys/syscall.h>
14781 #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
14786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14787 egrep "yes" >/dev/null 2>&1; then
14788 ac_cv_var_ntp_syscalls=kernel
14797 echo "$as_me:$LINENO: result: $ac_cv_var_ntp_syscalls" >&5
14798 echo "${ECHO_T}$ac_cv_var_ntp_syscalls" >&6
14799 case "$ac_cv_var_ntp_syscalls" in
14802 cat >>confdefs.h <<\_ACEOF
14803 #define NTP_SYSCALLS_LIBC 1
14809 cat >>confdefs.h <<\_ACEOF
14810 #define NTP_SYSCALLS_STD 1
14818 echo "$as_me:$LINENO: checking if sys/timex.h has STA_FLL" >&5
14819 echo $ECHO_N "checking if sys/timex.h has STA_FLL... $ECHO_C" >&6
14820 if test "${ac_cv_var_sta_fll+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 cat >conftest.$ac_ext <<_ACEOF
14824 #line $LINENO "configure"
14825 #include "confdefs.h"
14826 #include <sys/timex.h>
14832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14833 egrep "yes" >/dev/null 2>&1; then
14834 ac_cv_var_sta_fll=yes
14836 ac_cv_var_sta_fll=no
14841 echo "$as_me:$LINENO: result: $ac_cv_var_sta_fll" >&5
14842 echo "${ECHO_T}$ac_cv_var_sta_fll" >&6
14844 echo "$as_me:$LINENO: checking if we have kernel PLL support" >&5
14845 echo $ECHO_N "checking if we have kernel PLL support... $ECHO_C" >&6
14846 if test "${ac_cv_var_kernel_pll+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 case "$ac_cv_header_sys_timex_h$ac_cv_struct_ntptimeval$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in
14851 ac_cv_var_kernel_pll=no
14853 *) ac_cv_var_kernel_pll=yes
14857 echo "$as_me:$LINENO: result: $ac_cv_var_kernel_pll" >&5
14858 echo "${ECHO_T}$ac_cv_var_kernel_pll" >&6
14859 case "$ac_cv_var_kernel_pll" in
14862 cat >>confdefs.h <<\_ACEOF
14863 #define KERNEL_PLL 1
14869 echo "$as_me:$LINENO: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
14870 echo $ECHO_N "checking if SIOCGIFCONF returns buffer size in the buffer... $ECHO_C" >&6
14871 if test "${ac_cv_var_size_returned_in_buffer+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 ac_cv_var_size_returned_in_buffer=$ans
14888 echo "$as_me:$LINENO: result: $ac_cv_var_size_returned_in_buffer" >&5
14889 echo "${ECHO_T}$ac_cv_var_size_returned_in_buffer" >&6
14890 case "$ac_cv_var_size_returned_in_buffer" in
14892 cat >>confdefs.h <<\_ACEOF
14893 #define SIZE_RETURNED_IN_BUFFER 1
14899 # Check for ioctls TIOCGPPSEV
14900 echo "$as_me:$LINENO: checking ioctl TIOCGPPSEV" >&5
14901 echo $ECHO_N "checking ioctl TIOCGPPSEV... $ECHO_C" >&6
14902 if test "$ac_cv_header_termios_h" = "yes"; then
14903 cat >conftest.$ac_ext <<_ACEOF
14904 #line $LINENO "configure"
14905 #include "confdefs.h"
14906 #include <termios.h>
14912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14913 egrep "yes" >/dev/null 2>&1; then
14923 if test "$ntp_ok" = "yes"; then
14925 cat >>confdefs.h <<\_ACEOF
14926 #define HAVE_TIOCGPPSEV 1
14929 ac_cv_var_oncore_ok=yes
14931 echo "$as_me:$LINENO: result: $ntp_ok" >&5
14932 echo "${ECHO_T}$ntp_ok" >&6
14934 # Check for ioctls TIOCSPPS
14935 echo "$as_me:$LINENO: checking ioctl TIOCSPPS" >&5
14936 echo $ECHO_N "checking ioctl TIOCSPPS... $ECHO_C" >&6
14937 if test "$ac_cv_header_termios_h" = "yes"; then
14938 cat >conftest.$ac_ext <<_ACEOF
14939 #line $LINENO "configure"
14940 #include "confdefs.h"
14941 #include <termios.h>
14947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14948 egrep "yes" >/dev/null 2>&1; then
14959 if test "$ntp_ok" = "yes"; then
14961 cat >>confdefs.h <<\_ACEOF
14962 #define HAVE_TIOCSPPS 1
14966 echo "$as_me:$LINENO: result: $ntp_ok" >&5
14967 echo "${ECHO_T}$ntp_ok" >&6
14969 # Check for ioctls CIOGETEV
14970 echo "$as_me:$LINENO: checking ioctl CIOGETEV" >&5
14971 echo $ECHO_N "checking ioctl CIOGETEV... $ECHO_C" >&6
14972 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then
14973 cat >conftest.$ac_ext <<_ACEOF
14974 #line $LINENO "configure"
14975 #include "confdefs.h"
14976 #include <sys/ppsclock.h>
14982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14983 egrep "yes" >/dev/null 2>&1; then
14993 if test "$ntp_ok" = "yes"; then
14994 ac_cv_var_oncore_ok=yes
14996 cat >>confdefs.h <<\_ACEOF
14997 #define HAVE_CIOGETEV 1
15001 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15002 echo "${ECHO_T}$ntp_ok" >&6
15005 # ATOM/PPSAPI stuff.
15007 # ATOM used to require struct timespec, but that's been fixed now.
15009 # case "$ac_cv_struct_timespec" in
15011 # ac_cv_var_atom_ok=yes
15014 ac_cv_var_atom_ok=yes
15016 # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff.
15018 # The PPSAPI headers need "inline" ($ac_cv_c_inline='inline')
15020 # The PPSAPI needs ATOM
15022 # The PPSAPI needs struct timespec.
15024 case "$ac_cv_c_inline$ac_cv_struct_timespec$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
15027 cat >>confdefs.h <<\_ACEOF
15028 #define HAVE_PPSAPI 1
15031 ac_cv_var_oncore_ok=yes
15032 ac_cv_var_ripe_ncc_ok=yes
15036 # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
15037 if test "${ac_cv_header_linux_serial_h+set}" = set; then
15038 echo "$as_me:$LINENO: checking for linux/serial.h" >&5
15039 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
15040 if test "${ac_cv_header_linux_serial_h+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 echo "$as_me:$LINENO: result: $ac_cv_header_linux_serial_h" >&5
15044 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
15046 # Is the header compilable?
15047 echo "$as_me:$LINENO: checking linux/serial.h usability" >&5
15048 echo $ECHO_N "checking linux/serial.h usability... $ECHO_C" >&6
15049 cat >conftest.$ac_ext <<_ACEOF
15050 #line $LINENO "configure"
15051 #include "confdefs.h"
15052 $ac_includes_default
15053 #include <linux/serial.h>
15055 rm -f conftest.$ac_objext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15057 (eval $ac_compile) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } &&
15061 { ac_try='test -s conftest.$ac_objext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 ac_header_compiler=yes
15069 echo "$as_me: failed program was:" >&5
15070 cat conftest.$ac_ext >&5
15071 ac_header_compiler=no
15073 rm -f conftest.$ac_objext conftest.$ac_ext
15074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15075 echo "${ECHO_T}$ac_header_compiler" >&6
15077 # Is the header present?
15078 echo "$as_me:$LINENO: checking linux/serial.h presence" >&5
15079 echo $ECHO_N "checking linux/serial.h presence... $ECHO_C" >&6
15080 cat >conftest.$ac_ext <<_ACEOF
15081 #line $LINENO "configure"
15082 #include "confdefs.h"
15083 #include <linux/serial.h>
15085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15088 egrep -v '^ *\+' conftest.er1 >conftest.err
15090 cat conftest.err >&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } >/dev/null; then
15093 if test -s conftest.err; then
15094 ac_cpp_err=$ac_c_preproc_warn_flag
15101 if test -z "$ac_cpp_err"; then
15102 ac_header_preproc=yes
15104 echo "$as_me: failed program was:" >&5
15105 cat conftest.$ac_ext >&5
15106 ac_header_preproc=no
15108 rm -f conftest.err conftest.$ac_ext
15109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15110 echo "${ECHO_T}$ac_header_preproc" >&6
15112 # So? What about this header?
15113 case $ac_header_compiler:$ac_header_preproc in
15115 { echo "$as_me:$LINENO: WARNING: linux/serial.h: accepted by the compiler, rejected by the preprocessor!" >&5
15116 echo "$as_me: WARNING: linux/serial.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&5
15118 echo "$as_me: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&2;};;
15120 { echo "$as_me:$LINENO: WARNING: linux/serial.h: present but cannot be compiled" >&5
15121 echo "$as_me: WARNING: linux/serial.h: present but cannot be compiled" >&2;}
15122 { echo "$as_me:$LINENO: WARNING: linux/serial.h: check for missing prerequisite headers?" >&5
15123 echo "$as_me: WARNING: linux/serial.h: check for missing prerequisite headers?" >&2;}
15124 { echo "$as_me:$LINENO: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&5
15125 echo "$as_me: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&2;};;
15127 echo "$as_me:$LINENO: checking for linux/serial.h" >&5
15128 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
15129 if test "${ac_cv_header_linux_serial_h+set}" = set; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15132 ac_cv_header_linux_serial_h=$ac_header_preproc
15134 echo "$as_me:$LINENO: result: $ac_cv_header_linux_serial_h" >&5
15135 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
15140 echo "$as_me:$LINENO: checking ioctl TIOCGSERIAL" >&5
15141 echo $ECHO_N "checking ioctl TIOCGSERIAL... $ECHO_C" >&6
15142 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
15144 cat >conftest.$ac_ext <<_ACEOF
15145 #line $LINENO "configure"
15146 #include "confdefs.h"
15147 #include <sys/time.h>
15150 #include <sys/ppsclock.h>
15151 #include <linux/serial.h>
15155 #ifdef ASYNC_PPS_CD_POS
15156 #ifdef ASYNC_PPS_CD_NEG
15166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15167 egrep "yes" >/dev/null 2>&1; then
15177 if test "$ntp_ok" = "yes"; then
15179 cat >>confdefs.h <<\_ACEOF
15180 #define HAVE_TIO_SERIAL_STUFF 1
15184 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15185 echo "${ECHO_T}$ntp_ok" >&6
15187 # Check for SHMEM_STATUS support
15188 echo "$as_me:$LINENO: checking SHMEM_STATUS support" >&5
15189 echo $ECHO_N "checking SHMEM_STATUS support... $ECHO_C" >&6
15190 case "$ac_cv_header_sys_mman_h" in
15194 if test "$ntp_ok" = "yes"; then
15196 cat >>confdefs.h <<\_ACEOF
15197 #define ONCORE_SHMEM_STATUS 1
15201 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15202 echo "${ECHO_T}$ntp_ok" >&6
15207 # HPUX only, and by explicit request
15208 echo "$as_me:$LINENO: checking Datum/Bancomm bc635/VME interface" >&5
15209 echo $ECHO_N "checking Datum/Bancomm bc635/VME interface... $ECHO_C" >&6
15210 # Check whether --enable-BANCOMM or --disable-BANCOMM was given.
15211 if test "${enable_BANCOMM+set}" = set; then
15212 enableval="$enable_BANCOMM"
15217 if test "$ntp_ok" = "yes"; then
15220 cat >>confdefs.h <<\_ACEOF
15221 #define CLOCK_BANC 1
15225 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15226 echo "${ECHO_T}$ntp_ok" >&6
15227 case "$ntp_ok$host" in
15229 yes*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
15230 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
15233 #HPUX only, and only by explicit request
15234 echo "$as_me:$LINENO: checking TrueTime GPS receiver/VME interface" >&5
15235 echo $ECHO_N "checking TrueTime GPS receiver/VME interface... $ECHO_C" >&6
15236 # Check whether --enable-GPSVME or --disable-GPSVME was given.
15237 if test "${enable_GPSVME+set}" = set; then
15238 enableval="$enable_GPSVME"
15243 if test "$ntp_ok" = "yes"; then
15246 cat >>confdefs.h <<\_ACEOF
15247 #define CLOCK_GPSVME 1
15251 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15252 echo "${ECHO_T}$ntp_ok" >&6
15253 case "$ntp_ok$host" in
15255 yes*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
15256 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
15259 echo "$as_me:$LINENO: checking for PCL720 clock support" >&5
15260 echo $ECHO_N "checking for PCL720 clock support... $ECHO_C" >&6
15261 case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in
15264 cat >>confdefs.h <<\_ACEOF
15265 #define CLOCK_PPS720 1
15274 echo "$as_me:$LINENO: result: $ans" >&5
15275 echo "${ECHO_T}$ans" >&6
15277 echo "$as_me:$LINENO: checking for SHM clock attached thru shared memory" >&5
15278 echo $ECHO_N "checking for SHM clock attached thru shared memory... $ECHO_C" >&6
15279 # Check whether --enable-SHM or --disable-SHM was given.
15280 if test "${enable_SHM+set}" = set; then
15281 enableval="$enable_SHM"
15286 if test "$ntp_ok" = "yes"; then
15289 cat >>confdefs.h <<\_ACEOF
15290 #define CLOCK_SHM 1
15294 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15295 echo "${ECHO_T}$ntp_ok" >&6
15297 echo "$as_me:$LINENO: checking for default inclusion of all suitable non-PARSE clocks" >&5
15298 echo $ECHO_N "checking for default inclusion of all suitable non-PARSE clocks... $ECHO_C" >&6
15299 # Check whether --enable-all-clocks or --disable-all-clocks was given.
15300 if test "${enable_all_clocks+set}" = set; then
15301 enableval="$enable_all_clocks"
15306 echo "$as_me:$LINENO: result: $ntp_eac" >&5
15307 echo "${ECHO_T}$ntp_eac" >&6
15309 echo "$as_me:$LINENO: checking if we have support for PARSE clocks" >&5
15310 echo $ECHO_N "checking if we have support for PARSE clocks... $ECHO_C" >&6
15311 case "$ac_cv_var_atom_ok$ac_cv_header_termio_h$ac_cv_header_termios_h" in
15318 echo "$as_me:$LINENO: result: $ntp_canparse" >&5
15319 echo "${ECHO_T}$ntp_canparse" >&6
15321 echo "$as_me:$LINENO: checking if we have support for audio clocks" >&5
15322 echo $ECHO_N "checking if we have support for audio clocks... $ECHO_C" >&6
15323 case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h" in
15327 cat >>confdefs.h <<\_ACEOF
15332 *) ntp_canaudio=no ;;
15334 echo "$as_me:$LINENO: result: $ntp_canaudio" >&5
15335 echo "${ECHO_T}$ntp_canaudio" >&6
15337 # Requires modem control
15338 echo "$as_me:$LINENO: checking ACTS modem service" >&5
15339 echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6
15340 # Check whether --enable-ACTS or --disable-ACTS was given.
15341 if test "${enable_ACTS+set}" = set; then
15342 enableval="$enable_ACTS"
15345 cat >conftest.$ac_ext <<_ACEOF
15346 #line $LINENO "configure"
15347 #include "confdefs.h"
15348 #include <termios.h>
15349 #ifdef HAVE_SYS_IOCTL_H
15350 #include <sys/ioctl.h>
15357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15358 egrep "yes" >/dev/null 2>&1; then
15366 if test "$ntp_ok" = "yes"; then
15369 cat >>confdefs.h <<\_ACEOF
15370 #define CLOCK_ACTS 1
15374 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15375 echo "${ECHO_T}$ntp_ok" >&6
15377 echo "$as_me:$LINENO: checking Arbiter 1088A/B GPS receiver" >&5
15378 echo $ECHO_N "checking Arbiter 1088A/B GPS receiver... $ECHO_C" >&6
15379 # Check whether --enable-ARBITER or --disable-ARBITER was given.
15380 if test "${enable_ARBITER+set}" = set; then
15381 enableval="$enable_ARBITER"
15386 if test "$ntp_ok" = "yes"; then
15389 cat >>confdefs.h <<\_ACEOF
15390 #define CLOCK_ARBITER 1
15394 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15395 echo "${ECHO_T}$ntp_ok" >&6
15397 echo "$as_me:$LINENO: checking Arcron MSF receiver" >&5
15398 echo $ECHO_N "checking Arcron MSF receiver... $ECHO_C" >&6
15399 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given.
15400 if test "${enable_ARCRON_MSF+set}" = set; then
15401 enableval="$enable_ARCRON_MSF"
15406 if test "$ntp_ok" = "yes"; then
15409 cat >>confdefs.h <<\_ACEOF
15410 #define CLOCK_ARCRON_MSF 1
15414 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15415 echo "${ECHO_T}$ntp_ok" >&6
15417 echo "$as_me:$LINENO: checking Austron 2200A/2201A GPS receiver" >&5
15418 echo $ECHO_N "checking Austron 2200A/2201A GPS receiver... $ECHO_C" >&6
15419 # Check whether --enable-AS2201 or --disable-AS2201 was given.
15420 if test "${enable_AS2201+set}" = set; then
15421 enableval="$enable_AS2201"
15426 if test "$ntp_ok" = "yes"; then
15429 cat >>confdefs.h <<\_ACEOF
15430 #define CLOCK_AS2201 1
15434 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15435 echo "${ECHO_T}$ntp_ok" >&6
15437 echo "$as_me:$LINENO: checking ATOM PPS interface" >&5
15438 echo $ECHO_N "checking ATOM PPS interface... $ECHO_C" >&6
15439 # Check whether --enable-ATOM or --disable-ATOM was given.
15440 if test "${enable_ATOM+set}" = set; then
15441 enableval="$enable_ATOM"
15446 case "$ac_cv_var_atom_ok" in
15449 if test "$ntp_ok" = "yes"; then
15452 cat >>confdefs.h <<\_ACEOF
15453 #define CLOCK_ATOM 1
15457 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15458 echo "${ECHO_T}$ntp_ok" >&6
15460 echo "$as_me:$LINENO: checking Chrono-log K-series WWVB receiver" >&5
15461 echo $ECHO_N "checking Chrono-log K-series WWVB receiver... $ECHO_C" >&6
15462 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given.
15463 if test "${enable_CHRONOLOG+set}" = set; then
15464 enableval="$enable_CHRONOLOG"
15469 if test "$ntp_ok" = "yes"; then
15472 cat >>confdefs.h <<\_ACEOF
15473 #define CLOCK_CHRONOLOG 1
15477 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15478 echo "${ECHO_T}$ntp_ok" >&6
15480 echo "$as_me:$LINENO: checking CHU modem/decoder" >&5
15481 echo $ECHO_N "checking CHU modem/decoder... $ECHO_C" >&6
15482 # Check whether --enable-CHU or --disable-CHU was given.
15483 if test "${enable_CHU+set}" = set; then
15484 enableval="$enable_CHU"
15489 if test "$ntp_ok" = "yes"; then
15492 cat >>confdefs.h <<\_ACEOF
15493 #define CLOCK_CHU 1
15497 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15498 echo "${ECHO_T}$ntp_ok" >&6
15499 ac_refclock_chu=$ntp_ok
15501 echo "$as_me:$LINENO: checking CHU audio/decoder" >&5
15502 echo $ECHO_N "checking CHU audio/decoder... $ECHO_C" >&6
15503 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given.
15504 if test "${enable_AUDIO_CHU+set}" = set; then
15505 enableval="$enable_AUDIO_CHU"
15508 case "$ntp_eac$ac_refclock_chu$ntp_canaudio" in
15513 if test "$ntp_ok" = "yes"; then
15515 cat >>confdefs.h <<\_ACEOF
15516 #define AUDIO_CHU 1
15520 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15521 echo "${ECHO_T}$ntp_ok" >&6
15522 # We used to check for sunos/solaris target...
15523 case "$ntp_ok$ac_refclock_chu$ntp_canaudio" in
15524 yes*no*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is...no ***" >&5
15525 echo "$as_me: WARNING: *** But the expected answer is...no ***" >&2;} ;;
15529 echo "$as_me:$LINENO: checking Datum Programmable Time System" >&5
15530 echo $ECHO_N "checking Datum Programmable Time System... $ECHO_C" >&6
15531 # Check whether --enable-DATUM or --disable-DATUM was given.
15532 if test "${enable_DATUM+set}" = set; then
15533 enableval="$enable_DATUM"
15536 case "$ac_cv_header_termios_h" in
15544 if test "$ntp_ok" = "yes"; then
15547 cat >>confdefs.h <<\_ACEOF
15548 #define CLOCK_DATUM 1
15552 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15553 echo "${ECHO_T}$ntp_ok" >&6
15555 echo "$as_me:$LINENO: checking Dumb generic hh:mm:ss local clock" >&5
15556 echo $ECHO_N "checking Dumb generic hh:mm:ss local clock... $ECHO_C" >&6
15557 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given.
15558 if test "${enable_DUMBCLOCK+set}" = set; then
15559 enableval="$enable_DUMBCLOCK"
15564 if test "$ntp_ok" = "yes"; then
15567 cat >>confdefs.h <<\_ACEOF
15568 #define CLOCK_DUMBCLOCK 1
15572 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15573 echo "${ECHO_T}$ntp_ok" >&6
15575 echo "$as_me:$LINENO: checking Forum Graphic GPS" >&5
15576 echo $ECHO_N "checking Forum Graphic GPS... $ECHO_C" >&6
15577 # Check whether --enable-FG or --disable-FG was given.
15578 if test "${enable_FG+set}" = set; then
15579 enableval="$enable_FG"
15584 if test "$ntp_ok" = "yes"; then
15587 cat >>confdefs.h <<\_ACEOF
15592 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15593 echo "${ECHO_T}$ntp_ok" >&6
15595 # Requires modem control
15596 echo "$as_me:$LINENO: checking Heath GC-1000 WWV/WWVH receiver" >&5
15597 echo $ECHO_N "checking Heath GC-1000 WWV/WWVH receiver... $ECHO_C" >&6
15598 # Check whether --enable-HEATH or --disable-HEATH was given.
15599 if test "${enable_HEATH+set}" = set; then
15600 enableval="$enable_HEATH"
15603 cat >conftest.$ac_ext <<_ACEOF
15604 #line $LINENO "configure"
15605 #include "confdefs.h"
15606 #include <termios.h>
15607 #ifdef HAVE_SYS_IOCTL_H
15608 #include <sys/ioctl.h>
15615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15616 egrep "yes" >/dev/null 2>&1; then
15624 if test "$ntp_ok" = "yes"; then
15627 cat >>confdefs.h <<\_ACEOF
15628 #define CLOCK_HEATH 1
15632 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15633 echo "${ECHO_T}$ntp_ok" >&6
15635 echo "$as_me:$LINENO: checking for hopf serial clock device" >&5
15636 echo $ECHO_N "checking for hopf serial clock device... $ECHO_C" >&6
15637 # Check whether --enable-HOPFSERIAL or --disable-HOPFSERIAL was given.
15638 if test "${enable_HOPFSERIAL+set}" = set; then
15639 enableval="$enable_HOPFSERIAL"
15644 if test "$ntp_ok" = "yes"; then
15647 cat >>confdefs.h <<\_ACEOF
15648 #define CLOCK_HOPF_SERIAL 1
15652 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15653 echo "${ECHO_T}$ntp_ok" >&6
15655 echo "$as_me:$LINENO: checking for hopf PCI clock 6039" >&5
15656 echo $ECHO_N "checking for hopf PCI clock 6039... $ECHO_C" >&6
15657 # Check whether --enable-HOPFPCI or --disable-HOPFPCI was given.
15658 if test "${enable_HOPFPCI+set}" = set; then
15659 enableval="$enable_HOPFPCI"
15664 if test "$ntp_ok" = "yes"; then
15667 cat >>confdefs.h <<\_ACEOF
15668 #define CLOCK_HOPF_PCI 1
15672 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15673 echo "${ECHO_T}$ntp_ok" >&6
15675 echo "$as_me:$LINENO: checking HP 58503A GPS receiver" >&5
15676 echo $ECHO_N "checking HP 58503A GPS receiver... $ECHO_C" >&6
15677 # Check whether --enable-HPGPS or --disable-HPGPS was given.
15678 if test "${enable_HPGPS+set}" = set; then
15679 enableval="$enable_HPGPS"
15684 if test "$ntp_ok" = "yes"; then
15687 cat >>confdefs.h <<\_ACEOF
15688 #define CLOCK_HPGPS 1
15692 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15693 echo "${ECHO_T}$ntp_ok" >&6
15695 echo "$as_me:$LINENO: checking IRIG audio decoder" >&5
15696 echo $ECHO_N "checking IRIG audio decoder... $ECHO_C" >&6
15697 # Check whether --enable-IRIG or --disable-IRIG was given.
15698 if test "${enable_IRIG+set}" = set; then
15699 enableval="$enable_IRIG"
15702 case "$ntp_eac$ntp_canaudio" in
15707 if test "$ntp_ok" = "yes"; then
15710 cat >>confdefs.h <<\_ACEOF
15711 #define CLOCK_IRIG 1
15715 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15716 echo "${ECHO_T}$ntp_ok" >&6
15717 case "$ntp_ok$ntp_canaudio" in
15718 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
15719 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
15722 echo "$as_me:$LINENO: checking for JJY receiver" >&5
15723 echo $ECHO_N "checking for JJY receiver... $ECHO_C" >&6
15724 # Check whether --enable-JJY or --disable-JJY was given.
15725 if test "${enable_JJY+set}" = set; then
15726 enableval="$enable_JJY"
15731 if test "$ntp_ok" = "yes"; then
15734 cat >>confdefs.h <<\_ACEOF
15735 #define CLOCK_JJY 1
15739 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15740 echo "${ECHO_T}$ntp_ok" >&6
15743 echo "$as_me:$LINENO: checking Rockwell Jupiter GPS receiver" >&5
15744 echo $ECHO_N "checking Rockwell Jupiter GPS receiver... $ECHO_C" >&6
15745 # Check whether --enable-JUPITER or --disable-JUPITER was given.
15746 if test "${enable_JUPITER+set}" = set; then
15747 enableval="$enable_JUPITER"
15750 case "$ac_cv_var_ppsclock" in
15751 # yes) ntp_ok=$ntp_eac
15757 if test "$ntp_ok" = "yes"; then
15760 cat >>confdefs.h <<\_ACEOF
15761 #define CLOCK_JUPITER 1
15765 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15766 echo "${ECHO_T}$ntp_ok" >&6
15767 case "$ntp_ok$host" in
15768 yes*-*-ultrix*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
15769 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
15772 echo "$as_me:$LINENO: checking Leitch CSD 5300 Master Clock System Driver" >&5
15773 echo $ECHO_N "checking Leitch CSD 5300 Master Clock System Driver... $ECHO_C" >&6
15774 # Check whether --enable-LEITCH or --disable-LEITCH was given.
15775 if test "${enable_LEITCH+set}" = set; then
15776 enableval="$enable_LEITCH"
15781 if test "$ntp_ok" = "yes"; then
15784 cat >>confdefs.h <<\_ACEOF
15785 #define CLOCK_LEITCH 1
15789 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15790 echo "${ECHO_T}$ntp_ok" >&6
15792 echo "$as_me:$LINENO: checking local clock reference" >&5
15793 echo $ECHO_N "checking local clock reference... $ECHO_C" >&6
15794 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given.
15795 if test "${enable_LOCAL_CLOCK+set}" = set; then
15796 enableval="$enable_LOCAL_CLOCK"
15801 if test "$ntp_ok" = "yes"; then
15804 cat >>confdefs.h <<\_ACEOF
15805 #define CLOCK_LOCAL 1
15809 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15810 echo "${ECHO_T}$ntp_ok" >&6
15812 echo "$as_me:$LINENO: checking EES M201 MSF receiver" >&5
15813 echo $ECHO_N "checking EES M201 MSF receiver... $ECHO_C" >&6
15814 # Check whether --enable-MSFEES or --disable-MSFEES was given.
15815 if test "${enable_MSFEES+set}" = set; then
15816 enableval="$enable_MSFEES"
15821 if test "$ntp_ok" = "yes"; then
15824 cat >>confdefs.h <<\_ACEOF
15825 #define CLOCK_MSFEES 1
15829 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15830 echo "${ECHO_T}$ntp_ok" >&6
15833 echo "$as_me:$LINENO: checking Magnavox MX4200 GPS receiver" >&5
15834 echo $ECHO_N "checking Magnavox MX4200 GPS receiver... $ECHO_C" >&6
15835 # Check whether --enable-MX4200 or --disable-MX4200 was given.
15836 if test "${enable_MX4200+set}" = set; then
15837 enableval="$enable_MX4200"
15840 case "$ac_cv_var_ppsclock" in
15841 yes) ntp_ok=$ntp_eac
15847 if test "$ntp_ok" = "yes"; then
15850 cat >>confdefs.h <<\_ACEOF
15851 #define CLOCK_MX4200 1
15855 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15856 echo "${ECHO_T}$ntp_ok" >&6
15857 case "$ntp_ok$host" in
15858 yes*-*-ultrix*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
15859 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
15862 echo "$as_me:$LINENO: checking for NeoClock4X receiver" >&5
15863 echo $ECHO_N "checking for NeoClock4X receiver... $ECHO_C" >&6
15864 # Check whether --enable-NEOCLOCK4X or --disable-NEOCLOCK4X was given.
15865 if test "${enable_NEOCLOCK4X+set}" = set; then
15866 enableval="$enable_NEOCLOCK4X"
15871 if test "$ntp_ok" = "yes"; then
15874 cat >>confdefs.h <<\_ACEOF
15875 #define CLOCK_NEOCLOCK4X 1
15879 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15880 echo "${ECHO_T}$ntp_ok" >&6
15882 echo "$as_me:$LINENO: checking NMEA GPS receiver" >&5
15883 echo $ECHO_N "checking NMEA GPS receiver... $ECHO_C" >&6
15884 # Check whether --enable-NMEA or --disable-NMEA was given.
15885 if test "${enable_NMEA+set}" = set; then
15886 enableval="$enable_NMEA"
15891 if test "$ntp_ok" = "yes"; then
15894 cat >>confdefs.h <<\_ACEOF
15895 #define CLOCK_NMEA 1
15899 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15900 echo "${ECHO_T}$ntp_ok" >&6
15902 echo "$as_me:$LINENO: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
15903 echo $ECHO_N "checking for ONCORE Motorola VP/UT Oncore GPS... $ECHO_C" >&6
15904 # Check whether --enable-ONCORE or --disable-ONCORE was given.
15905 if test "${enable_ONCORE+set}" = set; then
15906 enableval="$enable_ONCORE"
15911 case "$ac_cv_var_oncore_ok" in
15914 if test "$ntp_ok" = "yes"; then
15917 cat >>confdefs.h <<\_ACEOF
15918 #define CLOCK_ONCORE 1
15922 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15923 echo "${ECHO_T}$ntp_ok" >&6
15925 echo "$as_me:$LINENO: checking for Palisade clock" >&5
15926 echo $ECHO_N "checking for Palisade clock... $ECHO_C" >&6
15927 # Check whether --enable-PALISADE or --disable-PALISADE was given.
15928 if test "${enable_PALISADE+set}" = set; then
15929 enableval="$enable_PALISADE"
15932 case "$ac_cv_header_termios_h" in
15941 if test "$ntp_ok" = "yes"; then
15944 cat >>confdefs.h <<\_ACEOF
15945 #define CLOCK_PALISADE 1
15949 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15950 echo "${ECHO_T}$ntp_ok" >&6
15952 echo "$as_me:$LINENO: checking Conrad parallel port radio clock" >&5
15953 echo $ECHO_N "checking Conrad parallel port radio clock... $ECHO_C" >&6
15954 # Check whether --enable-PCF or --disable-PCF was given.
15955 if test "${enable_PCF+set}" = set; then
15956 enableval="$enable_PCF"
15961 if test "$ntp_ok" = "yes"; then
15964 cat >>confdefs.h <<\_ACEOF
15965 #define CLOCK_PCF 1
15969 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15970 echo "${ECHO_T}$ntp_ok" >&6
15972 echo "$as_me:$LINENO: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
15973 echo $ECHO_N "checking PST/Traconex 1020 WWV/WWVH receiver... $ECHO_C" >&6
15974 # Check whether --enable-PST or --disable-PST was given.
15975 if test "${enable_PST+set}" = set; then
15976 enableval="$enable_PST"
15981 if test "$ntp_ok" = "yes"; then
15984 cat >>confdefs.h <<\_ACEOF
15985 #define CLOCK_PST 1
15989 echo "$as_me:$LINENO: result: $ntp_ok" >&5
15990 echo "${ECHO_T}$ntp_ok" >&6
15992 # Requires modem control
15993 echo "$as_me:$LINENO: checking PTB modem service" >&5
15994 echo $ECHO_N "checking PTB modem service... $ECHO_C" >&6
15995 # Check whether --enable-PTBACTS or --disable-PTBACTS was given.
15996 if test "${enable_PTBACTS+set}" = set; then
15997 enableval="$enable_PTBACTS"
16000 cat >conftest.$ac_ext <<_ACEOF
16001 #line $LINENO "configure"
16002 #include "confdefs.h"
16003 #include <termios.h>
16004 #ifdef HAVE_SYS_IOCTL_H
16005 #include <sys/ioctl.h>
16012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16013 egrep "yes" >/dev/null 2>&1; then
16021 if test "$ntp_ok" = "yes"; then
16024 cat >>confdefs.h <<\_ACEOF
16025 #define CLOCK_PTBACTS 1
16029 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16030 echo "${ECHO_T}$ntp_ok" >&6
16032 echo "$as_me:$LINENO: checking RIPENCC specific Trimble driver" >&5
16033 echo $ECHO_N "checking RIPENCC specific Trimble driver... $ECHO_C" >&6
16034 # Check whether --enable-RIPENCC or --disable-RIPENCC was given.
16035 if test "${enable_RIPENCC+set}" = set; then
16036 enableval="$enable_RIPENCC"
16041 # 020629: HMS: s/$ntp_eac -> -/no because of ptr += sprintf(ptr, ...) usage
16042 case "$ac_cv_var_ripe_ncc_ok" in
16045 if test "$ntp_ok" = "yes"; then
16048 cat >>confdefs.h <<\_ACEOF
16049 #define CLOCK_RIPENCC
16053 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16054 echo "${ECHO_T}$ntp_ok" >&6
16056 echo "$as_me:$LINENO: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
16057 echo $ECHO_N "checking Spectracom 8170/Netclock/2 WWVB receiver... $ECHO_C" >&6
16058 # Check whether --enable-SPECTRACOM or --disable-SPECTRACOM was given.
16059 if test "${enable_SPECTRACOM+set}" = set; then
16060 enableval="$enable_SPECTRACOM"
16065 if test "$ntp_ok" = "yes"; then
16068 cat >>confdefs.h <<\_ACEOF
16069 #define CLOCK_SPECTRACOM 1
16073 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16074 echo "${ECHO_T}$ntp_ok" >&6
16076 echo "$as_me:$LINENO: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
16077 echo $ECHO_N "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ECHO_C" >&6
16078 # Check whether --enable-TPRO or --disable-TPRO was given.
16079 if test "${enable_TPRO+set}" = set; then
16080 enableval="$enable_TPRO"
16083 case "$ac_cv_header_sys_tpro_h" in
16091 if test "$ntp_ok" = "yes"; then
16094 cat >>confdefs.h <<\_ACEOF
16095 #define CLOCK_TPRO 1
16099 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16100 echo "${ECHO_T}$ntp_ok" >&6
16101 case "$ntp_ok$ac_cv_header_sys_tpro" in
16102 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
16103 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
16106 echo "$as_me:$LINENO: checking TRAK 8810 GPS receiver" >&5
16107 echo $ECHO_N "checking TRAK 8810 GPS receiver... $ECHO_C" >&6
16108 # Check whether --enable-TRAK or --disable-TRAK was given.
16109 if test "${enable_TRAK+set}" = set; then
16110 enableval="$enable_TRAK"
16115 if test "$ntp_ok" = "yes"; then
16118 cat >>confdefs.h <<\_ACEOF
16119 #define CLOCK_TRAK 1
16123 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16124 echo "${ECHO_T}$ntp_ok" >&6
16126 # Not on a vax-dec-bsd
16127 echo "$as_me:$LINENO: checking Kinemetrics/TrueTime receivers" >&5
16128 echo $ECHO_N "checking Kinemetrics/TrueTime receivers... $ECHO_C" >&6
16129 # Check whether --enable-TRUETIME or --disable-TRUETIME was given.
16130 if test "${enable_TRUETIME+set}" = set; then
16131 enableval="$enable_TRUETIME"
16143 if test "$ntp_ok" = "yes"; then
16146 cat >>confdefs.h <<\_ACEOF
16147 #define CLOCK_TRUETIME 1
16151 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16152 echo "${ECHO_T}$ntp_ok" >&6
16153 case "$ntp_ok$host" in
16154 yesvax-dec-bsd) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
16155 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
16158 echo "$as_me:$LINENO: checking TrueTime 560 IRIG-B decoder" >&5
16159 echo $ECHO_N "checking TrueTime 560 IRIG-B decoder... $ECHO_C" >&6
16160 # Check whether --enable-TT560 or --disable-TT560 was given.
16161 if test "${enable_TT560+set}" = set; then
16162 enableval="$enable_TT560"
16167 if test "$ntp_ok" = "yes"; then
16170 cat >>confdefs.h <<\_ACEOF
16171 #define CLOCK_TT560
16175 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16176 echo "${ECHO_T}$ntp_ok" >&6
16178 echo "$as_me:$LINENO: checking Ultralink M320 WWVB receiver" >&5
16179 echo $ECHO_N "checking Ultralink M320 WWVB receiver... $ECHO_C" >&6
16180 # Check whether --enable-ULINK or --disable-ULINK was given.
16181 if test "${enable_ULINK+set}" = set; then
16182 enableval="$enable_ULINK"
16187 if test "$ntp_ok" = "yes"; then
16190 cat >>confdefs.h <<\_ACEOF
16191 #define CLOCK_ULINK 1
16195 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16196 echo "${ECHO_T}$ntp_ok" >&6
16198 # Requires modem control
16199 echo "$as_me:$LINENO: checking USNO modem service" >&5
16200 echo $ECHO_N "checking USNO modem service... $ECHO_C" >&6
16201 # Check whether --enable-USNO or --disable-USNO was given.
16202 if test "${enable_USNO+set}" = set; then
16203 enableval="$enable_USNO"
16206 cat >conftest.$ac_ext <<_ACEOF
16207 #line $LINENO "configure"
16208 #include "confdefs.h"
16209 #include <termios.h>
16210 #ifdef HAVE_SYS_IOCTL_H
16211 #include <sys/ioctl.h>
16218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16219 egrep "yes" >/dev/null 2>&1; then
16227 if test "$ntp_ok" = "yes"; then
16230 cat >>confdefs.h <<\_ACEOF
16231 #define CLOCK_USNO 1
16235 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16236 echo "${ECHO_T}$ntp_ok" >&6
16238 echo "$as_me:$LINENO: checking WWV receiver" >&5
16239 echo $ECHO_N "checking WWV receiver... $ECHO_C" >&6
16240 # Check whether --enable-WWV or --disable-WWV was given.
16241 if test "${enable_WWV+set}" = set; then
16242 enableval="$enable_WWV"
16245 case "$ntp_eac$ntp_canaudio" in
16250 if test "$ntp_ok" = "yes"; then
16253 cat >>confdefs.h <<\_ACEOF
16254 #define CLOCK_WWV 1
16258 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16259 echo "${ECHO_T}$ntp_ok" >&6
16260 case "$ntp_ok$ntp_canaudio" in
16261 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
16262 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
16265 echo "$as_me:$LINENO: checking for Zyfer receiver" >&5
16266 echo $ECHO_N "checking for Zyfer receiver... $ECHO_C" >&6
16267 # Check whether --enable-ZYFER or --disable-ZYFER was given.
16268 if test "${enable_ZYFER+set}" = set; then
16269 enableval="$enable_ZYFER"
16274 if test "$ntp_ok" = "yes"; then
16277 cat >>confdefs.h <<\_ACEOF
16278 #define CLOCK_ZYFER 1
16282 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16283 echo "${ECHO_T}$ntp_ok" >&6
16285 echo "$as_me:$LINENO: checking for default inclusion of all suitable PARSE clocks" >&5
16286 echo $ECHO_N "checking for default inclusion of all suitable PARSE clocks... $ECHO_C" >&6
16287 # Check whether --enable-parse-clocks or --disable-parse-clocks was given.
16288 if test "${enable_parse_clocks+set}" = set; then
16289 enableval="$enable_parse_clocks"
16290 ntp_eapc=$enableval
16293 yes) ntp_eapc=$ntp_canparse ;;
16298 echo "$as_me:$LINENO: result: $ntp_eapc" >&5
16299 echo "${ECHO_T}$ntp_eapc" >&6
16301 case "$ntp_eac$ntp_eapc$ntp_canparse" in
16303 { { echo "$as_me:$LINENO: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&5
16304 echo "$as_me: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&2;}
16305 { (exit 1); exit 1; }; }
16308 { { echo "$as_me:$LINENO: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&5
16309 echo "$as_me: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&2;}
16310 { (exit 1); exit 1; }; }
16319 echo "$as_me:$LINENO: checking Diem Computime Radio Clock" >&5
16320 echo $ECHO_N "checking Diem Computime Radio Clock... $ECHO_C" >&6
16321 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given.
16322 if test "${enable_COMPUTIME+set}" = set; then
16323 enableval="$enable_COMPUTIME"
16328 if test "$ntp_ok" = "yes"; then
16332 cat >>confdefs.h <<\_ACEOF
16333 #define CLOCK_COMPUTIME 1
16337 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16338 echo "${ECHO_T}$ntp_ok" >&6
16339 case "$ntp_ok$ntp_canparse" in
16341 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16342 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16343 { (exit 1); exit 1; }; }
16347 echo "$as_me:$LINENO: checking ELV/DCF7000 clock" >&5
16348 echo $ECHO_N "checking ELV/DCF7000 clock... $ECHO_C" >&6
16349 # Check whether --enable-DCF7000 or --disable-DCF7000 was given.
16350 if test "${enable_DCF7000+set}" = set; then
16351 enableval="$enable_DCF7000"
16356 if test "$ntp_ok" = "yes"; then
16360 cat >>confdefs.h <<\_ACEOF
16361 #define CLOCK_DCF7000 1
16365 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16366 echo "${ECHO_T}$ntp_ok" >&6
16367 case "$ntp_ok$ntp_canparse" in
16369 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16370 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16371 { (exit 1); exit 1; }; }
16375 echo "$as_me:$LINENO: checking HOPF 6021 clock" >&5
16376 echo $ECHO_N "checking HOPF 6021 clock... $ECHO_C" >&6
16377 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given.
16378 if test "${enable_HOPF6021+set}" = set; then
16379 enableval="$enable_HOPF6021"
16384 if test "$ntp_ok" = "yes"; then
16388 cat >>confdefs.h <<\_ACEOF
16389 #define CLOCK_HOPF6021 1
16393 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16394 echo "${ECHO_T}$ntp_ok" >&6
16395 case "$ntp_ok$ntp_canparse" in
16397 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16398 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16399 { (exit 1); exit 1; }; }
16403 echo "$as_me:$LINENO: checking Meinberg clocks" >&5
16404 echo $ECHO_N "checking Meinberg clocks... $ECHO_C" >&6
16405 # Check whether --enable-MEINBERG or --disable-MEINBERG was given.
16406 if test "${enable_MEINBERG+set}" = set; then
16407 enableval="$enable_MEINBERG"
16412 if test "$ntp_ok" = "yes"; then
16416 cat >>confdefs.h <<\_ACEOF
16417 #define CLOCK_MEINBERG 1
16421 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16422 echo "${ECHO_T}$ntp_ok" >&6
16423 case "$ntp_ok$ntp_canparse" in
16425 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16426 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16427 { (exit 1); exit 1; }; }
16431 echo "$as_me:$LINENO: checking DCF77 raw time code" >&5
16432 echo $ECHO_N "checking DCF77 raw time code... $ECHO_C" >&6
16433 # Check whether --enable-RAWDCF or --disable-RAWDCF was given.
16434 if test "${enable_RAWDCF+set}" = set; then
16435 enableval="$enable_RAWDCF"
16440 if test "$ntp_ok" = "yes"; then
16446 cat >>confdefs.h <<\_ACEOF
16447 #define CLOCK_RAWDCF 1
16451 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16452 echo "${ECHO_T}$ntp_ok" >&6
16453 case "$ntp_ok$ntp_canparse" in
16455 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16456 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16457 { (exit 1); exit 1; }; }
16461 case "$ntp_rawdcf" in
16463 echo "$as_me:$LINENO: checking if we must enable parity for RAWDCF" >&5
16464 echo $ECHO_N "checking if we must enable parity for RAWDCF... $ECHO_C" >&6
16465 if test "${ac_cv_var_rawdcf_parity+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16474 ac_cv_var_rawdcf_parity=$ans
16476 echo "$as_me:$LINENO: result: $ac_cv_var_rawdcf_parity" >&5
16477 echo "${ECHO_T}$ac_cv_var_rawdcf_parity" >&6
16478 case "$ac_cv_var_rawdcf_parity" in
16480 cat >>confdefs.h <<\_ACEOF
16481 #define RAWDCF_NO_IGNPAR 1
16487 *) # HMS: Is this a good idea?
16488 ac_cv_var_rawdcf_parity=no
16492 echo "$as_me:$LINENO: checking RCC 8000 clock" >&5
16493 echo $ECHO_N "checking RCC 8000 clock... $ECHO_C" >&6
16494 # Check whether --enable-RCC8000 or --disable-RCC8000 was given.
16495 if test "${enable_RCC8000+set}" = set; then
16496 enableval="$enable_RCC8000"
16501 if test "$ntp_ok" = "yes"; then
16505 cat >>confdefs.h <<\_ACEOF
16506 #define CLOCK_RCC8000 1
16510 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16511 echo "${ECHO_T}$ntp_ok" >&6
16512 case "$ntp_ok$ntp_canparse" in
16514 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16515 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16516 { (exit 1); exit 1; }; }
16520 echo "$as_me:$LINENO: checking Schmid DCF77 clock" >&5
16521 echo $ECHO_N "checking Schmid DCF77 clock... $ECHO_C" >&6
16522 # Check whether --enable-SCHMID or --disable-SCHMID was given.
16523 if test "${enable_SCHMID+set}" = set; then
16524 enableval="$enable_SCHMID"
16529 if test "$ntp_ok" = "yes"; then
16533 cat >>confdefs.h <<\_ACEOF
16534 #define CLOCK_SCHMID 1
16538 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16539 echo "${ECHO_T}$ntp_ok" >&6
16540 case "$ntp_ok$ntp_canparse" in
16542 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16543 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16544 { (exit 1); exit 1; }; }
16548 echo "$as_me:$LINENO: checking Trimble GPS receiver/TAIP protocol" >&5
16549 echo $ECHO_N "checking Trimble GPS receiver/TAIP protocol... $ECHO_C" >&6
16550 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given.
16551 if test "${enable_TRIMTAIP+set}" = set; then
16552 enableval="$enable_TRIMTAIP"
16557 if test "$ntp_ok" = "yes"; then
16561 cat >>confdefs.h <<\_ACEOF
16562 #define CLOCK_TRIMTAIP 1
16566 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16567 echo "${ECHO_T}$ntp_ok" >&6
16568 case "$ntp_ok$ntp_canparse" in
16570 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16571 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16572 { (exit 1); exit 1; }; }
16576 echo "$as_me:$LINENO: checking Trimble GPS receiver/TSIP protocol" >&5
16577 echo $ECHO_N "checking Trimble GPS receiver/TSIP protocol... $ECHO_C" >&6
16578 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given.
16579 if test "${enable_TRIMTSIP+set}" = set; then
16580 enableval="$enable_TRIMTSIP"
16585 if test "$ntp_ok" = "yes"; then
16589 cat >>confdefs.h <<\_ACEOF
16590 #define CLOCK_TRIMTSIP 1
16594 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16595 echo "${ECHO_T}$ntp_ok" >&6
16596 case "$ntp_ok$ntp_canparse" in
16598 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16599 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16600 { (exit 1); exit 1; }; }
16604 echo "$as_me:$LINENO: checking WHARTON 400A Series clock" >&5
16605 echo $ECHO_N "checking WHARTON 400A Series clock... $ECHO_C" >&6
16606 # Check whether --enable-WHARTON or --disable-WHARTON was given.
16607 if test "${enable_WHARTON+set}" = set; then
16608 enableval="$enable_WHARTON"
16613 if test "$ntp_ok" = "yes"; then
16617 cat >>confdefs.h <<\_ACEOF
16618 #define CLOCK_WHARTON_400A 1
16622 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16623 echo "${ECHO_T}$ntp_ok" >&6
16624 case "$ntp_ok$ntp_canparse" in
16626 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16627 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16628 { (exit 1); exit 1; }; }
16632 echo "$as_me:$LINENO: checking VARITEXT clock" >&5
16633 echo $ECHO_N "checking VARITEXT clock... $ECHO_C" >&6
16634 # Check whether --enable-VARITEXT or --disable-VARITEXT was given.
16635 if test "${enable_VARITEXT+set}" = set; then
16636 enableval="$enable_VARITEXT"
16641 if test "$ntp_ok" = "yes"; then
16645 cat >>confdefs.h <<\_ACEOF
16646 #define CLOCK_VARITEXT 1
16650 echo "$as_me:$LINENO: result: $ntp_ok" >&5
16651 echo "${ECHO_T}$ntp_ok" >&6
16652 case "$ntp_ok$ntp_canparse" in
16654 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
16655 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
16656 { (exit 1); exit 1; }; }
16663 echo "$as_me:$LINENO: checking if we need to make and use the parse libraries" >&5
16664 echo $ECHO_N "checking if we need to make and use the parse libraries... $ECHO_C" >&6
16666 case "$ntp_libparse" in
16670 cat >>confdefs.h <<\_ACEOF
16671 #define CLOCK_PARSE 1
16674 LIBPARSE=../libparse/libparse.a
16675 MAKE_LIBPARSE=libparse.a
16676 MAKE_CHECK_Y2K=check_y2k
16678 cat >>confdefs.h <<\_ACEOF
16679 #define PPS_SAMPLE 1
16682 cat >>confdefs.h <<\_ACEOF
16683 #define CLOCK_ATOM 1
16688 echo "$as_me:$LINENO: result: $ans" >&5
16689 echo "${ECHO_T}$ans" >&6
16704 echo "$as_me:$LINENO: checking for openssl library directory" >&5
16705 echo $ECHO_N "checking for openssl library directory... $ECHO_C" >&6
16707 # Check whether --with-openssl-libdir or --without-openssl-libdir was given.
16708 if test "${with_openssl_libdir+set}" = set; then
16709 withval="$with_openssl_libdir"
16717 ans="/usr/lib /usr/local/lib /usr/local/ssl/lib"
16719 *) # Look where they said
16724 *) # Look for libcrypto.a and libssl.a:
16727 test -f $i/libcrypto.a -a -f $i/libssl.a && break
16740 echo "$as_me:$LINENO: result: $ans" >&5
16741 echo "${ECHO_T}$ans" >&6
16743 echo "$as_me:$LINENO: checking for openssl include directory" >&5
16744 echo $ECHO_N "checking for openssl include directory... $ECHO_C" >&6
16746 # Check whether --with-openssl-incdir or --without-openssl-incdir was given.
16747 if test "${with_openssl_incdir+set}" = set; then
16748 withval="$with_openssl_incdir"
16756 ans="/usr/include /usr/local/include /usr/local/ssl/include"
16758 *) # Look where they said
16763 *) # look for openssl/opensslconf.h:
16766 test -f $i/openssl/opensslconf.h && break
16779 echo "$as_me:$LINENO: result: $ans" >&5
16780 echo "${ECHO_T}$ans" >&6
16783 # Check whether --with-crypto or --without-crypto was given.
16784 if test "${with_crypto+set}" = set; then
16785 withval="$with_crypto"
16792 yes|rsaref|openssl)
16794 yes|rsaref) # Just "rsaref" when OpenSSL is ready
16798 if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INC"
16802 # We have OpenSSL inc/lib - use them.
16804 CPPFLAGS="$CPPFLAGS -I$OPENSSL_INC"
16805 LDFLAGS="$LDFLAGS -L$OPENSSL_LIB"
16806 LIBS="$LIBS -lcrypto"
16808 cat >>confdefs.h <<\_ACEOF
16813 cat >>confdefs.h <<\_ACEOF
16818 cat >>confdefs.h <<\_ACEOF
16828 if test -f $srcdir/rsaref2/source/digit.c
16832 RSASRCS="digit.c digit.h"
16835 if test -f $srcdir/rsaeuro1/source/rsaeuro.h
16838 RSAOBJS="md4c.o shsc.o"
16839 RSASRCS="md4c.c shsc.c"
16842 if test "$ans" = "rsaref"; then
16843 LIBRSAREF=../librsaref/librsaref.a
16844 MAKE_LIBRSAREF=librsaref.a
16846 cat >>confdefs.h <<\_ACEOF
16850 cat >>confdefs.h <<\_ACEOF
16855 cat >>confdefs.h <<\_ACEOF
16866 if test x$RSADIR = xrsaref2; then
16875 if test x$RSADIR = xrsaeuro1; then
16877 isRSAEURO_FALSE='#'
16887 cat >>confdefs.h <<\_ACEOF
16894 echo "$as_me:$LINENO: checking for the level of crypto support" >&5
16895 echo $ECHO_N "checking for the level of crypto support... $ECHO_C" >&6
16896 echo "$as_me:$LINENO: result: $ans" >&5
16897 echo "${ECHO_T}$ans" >&6
16899 echo "$as_me:$LINENO: checking if we want to compile with ElectricFence" >&5
16900 echo $ECHO_N "checking if we want to compile with ElectricFence... $ECHO_C" >&6
16902 # Check whether --with-electricfence or --without-electricfence was given.
16903 if test "${with_electricfence+set}" = set; then
16904 withval="$with_electricfence"
16912 LIBS="$LIBS \${top_builddir}/ElectricFence/libefence.a"
16913 EF_PROGS="eftest tstheap"
16915 EF_LIBS=libefence.a
16920 echo "$as_me:$LINENO: result: $ans" >&5
16921 echo "${ECHO_T}$ans" >&6
16926 echo "$as_me:$LINENO: checking if we can make dcf parse utilities" >&5
16927 echo $ECHO_N "checking if we can make dcf parse utilities... $ECHO_C" >&6
16929 if test "$ntp_parseutil" = "yes"; then
16931 *-*-sunos4*|*-*-solaris2*|*-*-linux*)
16938 echo "$as_me:$LINENO: result: $ans" >&5
16939 echo "${ECHO_T}$ans" >&6
16942 echo "$as_me:$LINENO: checking if we can build kernel streams modules for parse" >&5
16943 echo $ECHO_N "checking if we can build kernel streams modules for parse... $ECHO_C" >&6
16945 case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
16949 case "$ac_cv_var_kernel_pll" in
16952 cat >>confdefs.h <<\_ACEOF
16959 MAKE_PARSEKMODULE=parsestreams.loadable_module.o
16963 MAKE_PARSEKMODULE=parse
16968 echo "$as_me:$LINENO: result: $ans" >&5
16969 echo "${ECHO_T}$ans" >&6
16971 echo "$as_me:$LINENO: checking if we need basic refclock support" >&5
16972 echo $ECHO_N "checking if we need basic refclock support... $ECHO_C" >&6
16973 if test "$ntp_refclock" = "yes"; then
16975 cat >>confdefs.h <<\_ACEOF
16980 echo "$as_me:$LINENO: result: $ntp_refclock" >&5
16981 echo "${ECHO_T}$ntp_refclock" >&6
16985 echo "$as_me:$LINENO: checking if we want HP-UX adjtimed support" >&5
16986 echo $ECHO_N "checking if we want HP-UX adjtimed support... $ECHO_C" >&6
16994 if test "$ans" = "yes"; then
16995 MAKE_ADJTIMED=adjtimed
16997 cat >>confdefs.h <<\_ACEOF
16998 #define NEED_HPUX_ADJTIME 1
17002 echo "$as_me:$LINENO: result: $ans" >&5
17003 echo "${ECHO_T}$ans" >&6
17005 echo "$as_me:$LINENO: checking if we want QNX adjtime support" >&5
17006 echo $ECHO_N "checking if we want QNX adjtime support... $ECHO_C" >&6
17014 if test "$ans" = "yes"; then
17016 cat >>confdefs.h <<\_ACEOF
17017 #define NEED_QNX_ADJTIME 1
17021 echo "$as_me:$LINENO: result: $ans" >&5
17022 echo "${ECHO_T}$ans" >&6
17024 echo "$as_me:$LINENO: checking if we can read kmem" >&5
17025 echo $ECHO_N "checking if we can read kmem... $ECHO_C" >&6
17026 if test "${ac_cv_var_can_kmem+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 # Check whether --enable-kmem or --disable-kmem was given.
17030 if test "${enable_kmem+set}" = set; then
17031 enableval="$enable_kmem"
17034 case "$ac_cv_func_nlist$ac_cv_func_K_open$ac_cv_func_kvm_open" in
17045 *-*-domainos) # Won't be found...
17063 ac_cv_var_can_kmem=$ans
17065 echo "$as_me:$LINENO: result: $ac_cv_var_can_kmem" >&5
17066 echo "${ECHO_T}$ac_cv_var_can_kmem" >&6
17068 case "$ac_cv_var_can_kmem" in
17071 cat >>confdefs.h <<\_ACEOF
17077 echo "$as_me:$LINENO: checking if adjtime is accurate" >&5
17078 echo $ECHO_N "checking if adjtime is accurate... $ECHO_C" >&6
17079 if test "${ac_cv_var_adjtime_is_accurate+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given.
17083 if test "${enable_accurate_adjtime+set}" = set; then
17084 enableval="$enable_accurate_adjtime"
17091 i386-unknown-osf1*)
17094 mips-sgi-irix[456]*)
17106 *-*-solaris2.[01]*)
17117 ac_cv_var_adjtime_is_accurate=$ans
17119 echo "$as_me:$LINENO: result: $ac_cv_var_adjtime_is_accurate" >&5
17120 echo "${ECHO_T}$ac_cv_var_adjtime_is_accurate" >&6
17121 case "$ac_cv_var_adjtime_is_accurate" in
17123 cat >>confdefs.h <<\_ACEOF
17124 #define ADJTIME_IS_ACCURATE 1
17129 echo "$as_me:$LINENO: checking the name of 'tick' in the kernel" >&5
17130 echo $ECHO_N "checking the name of 'tick' in the kernel... $ECHO_C" >&6
17131 if test "${ac_cv_var_nlist_tick+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 m68*-hp-hpux*) # HP9000/300?
17164 ac_cv_var_nlist_tick=$ans
17166 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_tick" >&5
17167 echo "${ECHO_T}$ac_cv_var_nlist_tick" >&6
17168 case "$ac_cv_var_nlist_tick" in
17169 ''|no) ;; # HMS: I think we can only get 'no' here...
17171 cat >>confdefs.h <<_ACEOF
17172 #define K_TICK_NAME "$ac_cv_var_nlist_tick"
17177 echo "$as_me:$LINENO: checking for the units of 'tick'" >&5
17178 echo $ECHO_N "checking for the units of 'tick'... $ECHO_C" >&6
17179 if test "${ac_cv_var_tick_nano+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 ac_cv_var_tick_nano=$ans
17190 echo "$as_me:$LINENO: result: $ac_cv_var_tick_nano" >&5
17191 echo "${ECHO_T}$ac_cv_var_tick_nano" >&6
17192 case "$ac_cv_var_tick_nano" in
17195 cat >>confdefs.h <<\_ACEOF
17196 #define TICK_NANO 1
17202 echo "$as_me:$LINENO: checking the name of 'tickadj' in the kernel" >&5
17203 echo $ECHO_N "checking the name of 'tickadj' in the kernel... $ECHO_C" >&6
17204 if test "${ac_cv_var_nlist_tickadj+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17209 m68*-hp-hpux*) # HP9000/300?
17240 ans=no # hrestime_adj
17246 ac_cv_var_nlist_tickadj=$ans
17248 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_tickadj" >&5
17249 echo "${ECHO_T}$ac_cv_var_nlist_tickadj" >&6
17250 case "$ac_cv_var_nlist_tickadj" in
17251 ''|no) ;; # HMS: I think we can only get 'no' here...
17253 cat >>confdefs.h <<_ACEOF
17254 #define K_TICKADJ_NAME "$ac_cv_var_nlist_tickadj"
17259 echo "$as_me:$LINENO: checking for the units of 'tickadj'" >&5
17260 echo $ECHO_N "checking for the units of 'tickadj'... $ECHO_C" >&6
17261 if test "${ac_cv_var_tickadj_nano+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 ac_cv_var_tickadj_nano=$ans
17272 echo "$as_me:$LINENO: result: $ac_cv_var_tickadj_nano" >&5
17273 echo "${ECHO_T}$ac_cv_var_tickadj_nano" >&6
17274 case "$ac_cv_var_tickadj_nano" in
17277 cat >>confdefs.h <<\_ACEOF
17278 #define TICKADJ_NANO 1
17284 echo "$as_me:$LINENO: checking half-heartedly for 'dosynctodr' in the kernel" >&5
17285 echo $ECHO_N "checking half-heartedly for 'dosynctodr' in the kernel... $ECHO_C" >&6
17286 if test "${ac_cv_var_nlist_dosynctodr+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 ac_cv_var_nlist_dosynctodr=$ans
17329 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_dosynctodr" >&5
17330 echo "${ECHO_T}$ac_cv_var_nlist_dosynctodr" >&6
17331 case "$ac_cv_var_nlist_dosynctodr" in
17334 cat >>confdefs.h <<_ACEOF
17335 #define K_DOSYNCTODR_NAME "$ac_cv_var_nlist_dosynctodr"
17341 echo "$as_me:$LINENO: checking half-heartedly for 'noprintf' in the kernel" >&5
17342 echo $ECHO_N "checking half-heartedly for 'noprintf' in the kernel... $ECHO_C" >&6
17343 if test "${ac_cv_var_nlist_noprintf+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17378 ac_cv_var_nlist_noprintf=$ans
17380 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_noprintf" >&5
17381 echo "${ECHO_T}$ac_cv_var_nlist_noprintf" >&6
17382 case "$ac_cv_var_nlist_noprintf" in
17385 cat >>confdefs.h <<_ACEOF
17386 #define K_NOPRINTF_NAME "$ac_cv_var_nlist_noprintf"
17395 echo "$as_me:$LINENO: checking for a default value for 'tick'" >&5
17396 echo $ECHO_N "checking for a default value for 'tick'... $ECHO_C" >&6
17397 if test "${ac_cv_var_tick+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 # Check whether --enable-tick or --disable-tick was given.
17401 if test "${enable_tick+set}" = set; then
17402 enableval="$enable_tick"
17429 ac_cv_var_tick=$ans
17431 echo "$as_me:$LINENO: result: $ac_cv_var_tick" >&5
17432 echo "${ECHO_T}$ac_cv_var_tick" >&6
17433 case "$ac_cv_var_tick" in
17434 ''|no) ;; # HMS: I think we can only get 'no' here...
17436 cat >>confdefs.h <<_ACEOF
17437 #define PRESET_TICK $ac_cv_var_tick
17442 echo "$as_me:$LINENO: checking for a default value for 'tickadj'" >&5
17443 echo $ECHO_N "checking for a default value for 'tickadj'... $ECHO_C" >&6
17444 if test "${ac_cv_var_tickadj+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 # Check whether --enable-tickadj or --disable-tickadj was given.
17448 if test "${enable_tickadj+set}" = set; then
17449 enableval="$enable_tickadj"
17455 case "$ac_cv_var_adjtime_is_accurate" in
17456 yes) ans='tick/16' ;;
17466 case "$ac_cv_var_can_kmem" in
17470 *-*-domainos) # Skippy: won't be found...
17471 case "$ac_cv_var_can_kmem" in
17476 case "$ac_cv_var_adjtime_is_accurate" in
17477 yes) ans='tick/16' ;;
17490 case "$ac_cv_var_adjtime_is_accurate" in
17501 ac_cv_var_tickadj=$ans
17503 echo "$as_me:$LINENO: result: $ac_cv_var_tickadj" >&5
17504 echo "${ECHO_T}$ac_cv_var_tickadj" >&6
17505 case "$ac_cv_var_tickadj" in
17506 ''|no) ;; # HMS: I think we can only get 'no' here...
17508 cat >>confdefs.h <<_ACEOF
17509 #define PRESET_TICKADJ $ac_cv_var_tickadj
17514 # Newer versions of ReliantUNIX round adjtime() values down to
17515 # 1/100s (system tick). Sigh ...
17516 # Unfortunately, there is no easy way to know if particular release
17517 # has this "feature" or any obvious way to test for it.
17520 cat >>confdefs.h <<\_ACEOF
17521 #define RELIANTUNIX_CLOCK 1
17528 cat >>confdefs.h <<\_ACEOF
17529 #define SCO5_CLOCK 1
17534 ac_cv_make_tickadj=yes
17535 case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
17536 nonono) # Don't read KMEM, no presets. Bogus.
17537 { echo "$as_me:$LINENO: WARNING: Can't read kmem" >&5
17538 echo "$as_me: WARNING: Can't read kmem" >&2;}
17539 ac_cv_make_tickadj=no
17541 nono*) # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
17542 { echo "$as_me:$LINENO: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&5
17543 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&2;}
17544 ac_cv_make_tickadj=no
17546 no*no) # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ. Bogus.
17547 { echo "$as_me:$LINENO: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&5
17548 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&2;}
17549 ac_cv_make_tickadj=no
17551 no*) # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ. Cool.
17553 yesnono) # Read KMEM, no presets. Cool.
17555 yesno*) # Read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
17556 { echo "$as_me:$LINENO: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&5
17557 echo "$as_me: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&2;}
17559 yes*no) # Read KMEM, PRESET_TICK but no PRESET_TICKADJ. Cool.
17561 yes*) # READ KMEM, PRESET_TICK and PRESET_TICKADJ.
17563 *) # Generally bogus.
17564 { { echo "$as_me:$LINENO: error: This shouldn't happen." >&5
17565 echo "$as_me: error: This shouldn't happen." >&2;}
17566 { (exit 1); exit 1; }; }
17571 echo "$as_me:$LINENO: checking if we want and can make the ntptime utility" >&5
17572 echo $ECHO_N "checking if we want and can make the ntptime utility... $ECHO_C" >&6
17573 if test "${ac_cv_make_ntptime+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 *) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in
17587 ac_cv_make_ntptime=$ans
17589 echo "$as_me:$LINENO: result: $ac_cv_make_ntptime" >&5
17590 echo "${ECHO_T}$ac_cv_make_ntptime" >&6
17591 case "$ac_cv_make_ntptime" in
17593 MAKE_NTPTIME=ntptime
17600 # tickadj is pretty useless on newer versions of ReliantUNIX
17602 ac_cv_make_tickadj=no
17605 ac_cv_make_tickadj=no
17608 # DLM says tickadj is a no-no starting with solaris2.5
17610 *-*-solaris2.0-4*) ;;
17611 *) ac_cv_make_tickadj=no ;;
17615 echo "$as_me:$LINENO: checking if we want and can make the tickadj utility" >&5
17616 echo $ECHO_N "checking if we want and can make the tickadj utility... $ECHO_C" >&6
17617 if test "${ac_cv_make_tickadj+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 ac_cv_make_tickadj=yes
17622 echo "$as_me:$LINENO: result: $ac_cv_make_tickadj" >&5
17623 echo "${ECHO_T}$ac_cv_make_tickadj" >&6
17624 case "$ac_cv_make_tickadj" in
17626 MAKE_TICKADJ=tickadj
17631 echo "$as_me:$LINENO: checking if we want and can make the timetrim utility" >&5
17632 echo $ECHO_N "checking if we want and can make the timetrim utility... $ECHO_C" >&6
17633 if test "${ac_cv_make_timetrim+set}" = set; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 ac_cv_make_timetrim=yes
17641 ac_cv_make_timetrim=no
17645 echo "$as_me:$LINENO: result: $ac_cv_make_timetrim" >&5
17646 echo "${ECHO_T}$ac_cv_make_timetrim" >&6
17647 case "$ac_cv_make_timetrim" in
17649 MAKE_TIMETRIM=timetrim
17653 echo "$as_me:$LINENO: checking if we want UDP wildcard delivery" >&5
17654 echo $ECHO_N "checking if we want UDP wildcard delivery... $ECHO_C" >&6
17655 if test "${ac_cv_var_udp_wildcard_delivery+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 # Check whether --enable-udp-wildcard or --disable-udp-wildcard was given.
17659 if test "${enable_udp_wildcard+set}" = set; then
17660 enableval="$enable_udp_wildcard"
17712 ac_cv_var_udp_wildcard_delivery=$ans
17714 echo "$as_me:$LINENO: result: $ac_cv_var_udp_wildcard_delivery" >&5
17715 echo "${ECHO_T}$ac_cv_var_udp_wildcard_delivery" >&6
17716 case "$ac_cv_var_udp_wildcard_delivery" in
17718 cat >>confdefs.h <<\_ACEOF
17719 #define UDP_WILDCARD_DELIVERY 1
17729 LDFLAGS="$LDFLAGS -r"
17735 echo "$as_me:$LINENO: checking if we should always slew the time" >&5
17736 echo $ECHO_N "checking if we should always slew the time... $ECHO_C" >&6
17737 if test "${ac_cv_var_slew_always+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 # Check whether --enable-slew-always or --disable-slew-always was given.
17741 if test "${enable_slew_always+set}" = set; then
17742 enableval="$enable_slew_always"
17755 *-*-openvms*) # HMS: won't be found
17763 ac_cv_var_slew_always=$ans
17765 echo "$as_me:$LINENO: result: $ac_cv_var_slew_always" >&5
17766 echo "${ECHO_T}$ac_cv_var_slew_always" >&6
17767 case "$ac_cv_var_slew_always" in
17769 cat >>confdefs.h <<\_ACEOF
17770 #define SLEWALWAYS 1
17775 echo "$as_me:$LINENO: checking if we should step and slew the time" >&5
17776 echo $ECHO_N "checking if we should step and slew the time... $ECHO_C" >&6
17777 if test "${ac_cv_var_step_slew+set}" = set; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17780 # Check whether --enable-step-slew or --disable-step-slew was given.
17781 if test "${enable_step_slew+set}" = set; then
17782 enableval="$enable_step_slew"
17795 *-*-solaris2.[012]*)
17798 *-*-sysv4*) # HMS: Does this catch Fujitsu UXP?
17806 ac_cv_var_step_slew=$ans
17808 echo "$as_me:$LINENO: result: $ac_cv_var_step_slew" >&5
17809 echo "${ECHO_T}$ac_cv_var_step_slew" >&6
17810 case "$ac_cv_var_step_slew" in
17812 cat >>confdefs.h <<\_ACEOF
17813 #define STEP_SLEW 1
17818 echo "$as_me:$LINENO: checking if ntpdate should step the time" >&5
17819 echo $ECHO_N "checking if ntpdate should step the time... $ECHO_C" >&6
17820 if test "${ac_cv_var_ntpdate_step+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given.
17824 if test "${enable_ntpdate_step+set}" = set; then
17825 enableval="$enable_ntpdate_step"
17837 ac_cv_var_ntpdate_step=$ans
17839 echo "$as_me:$LINENO: result: $ac_cv_var_ntpdate_step" >&5
17840 echo "${ECHO_T}$ac_cv_var_ntpdate_step" >&6
17841 case "$ac_cv_var_ntpdate_step" in
17843 cat >>confdefs.h <<\_ACEOF
17844 #define FORCE_NTPDATE_STEP 1
17849 echo "$as_me:$LINENO: checking if we should sync TODR clock every hour" >&5
17850 echo $ECHO_N "checking if we should sync TODR clock every hour... $ECHO_C" >&6
17851 if test "${ac_cv_var_sync_todr+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given.
17855 if test "${enable_hourly_todr_sync+set}" = set; then
17856 enableval="$enable_hourly_todr_sync"
17863 *-*-openvms*) # HMS: won't be found
17870 ac_cv_var_sync_todr=$ans
17872 echo "$as_me:$LINENO: result: $ac_cv_var_sync_todr" >&5
17873 echo "${ECHO_T}$ac_cv_var_sync_todr" >&6
17874 case "$ac_cv_var_sync_todr" in
17876 cat >>confdefs.h <<\_ACEOF
17877 #define DOSYNCTODR 1
17882 echo "$as_me:$LINENO: checking if we should avoid kernel FLL bug" >&5
17883 echo $ECHO_N "checking if we should avoid kernel FLL bug... $ECHO_C" >&6
17884 if test "${ac_cv_var_kernel_fll_bug+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17887 # Check whether --enable-kernel-fll-bug or --disable-kernel-fll-bug was given.
17888 if test "${enable_kernel_fll_bug+set}" = set; then
17889 enableval="$enable_kernel_fll_bug"
17901 if test "$2" -ge 17
17903 # Generic_105181-17 and higher
17921 if test "$2" -ge 07
17923 # Generic_106541-07 and higher
17938 ac_cv_var_kernel_fll_bug=$ans
17940 echo "$as_me:$LINENO: result: $ac_cv_var_kernel_fll_bug" >&5
17941 echo "${ECHO_T}$ac_cv_var_kernel_fll_bug" >&6
17942 case "$ac_cv_var_kernel_fll_bug" in
17944 cat >>confdefs.h <<\_ACEOF
17945 #define KERNEL_FLL_BUG 1
17955 LDFLAGS="$LDFLAGS -r"
17963 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
17964 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
17965 eval echo \""$sysconfdir"\"
17968 cat >>confdefs.h <<_ACEOF
17969 #define NTP_KEYSDIR "$ac_expanded"
17974 # HMS: I think we avoid this problem now...
17975 ## This is necessary so that .o files in LIBOBJS are also built via
17976 ## the ANSI2KNR-filtering rules.
17977 #LIBOBJS=`echo "$LIBOBJS" | sed 's,\.[[^.]]* ,$U&,g;s,\.[[^.]]*$,$U&,'`
17979 ac_config_files="$ac_config_files Makefile"
17981 ac_config_files="$ac_config_files ElectricFence/Makefile"
17983 ac_config_files="$ac_config_files adjtimed/Makefile"
17985 ac_config_files="$ac_config_files clockstuff/Makefile"
17987 ac_config_files="$ac_config_files include/Makefile"
17989 ac_config_files="$ac_config_files kernel/Makefile"
17991 ac_config_files="$ac_config_files kernel/sys/Makefile"
17993 ac_config_files="$ac_config_files libntp/Makefile"
17995 ac_config_files="$ac_config_files libparse/Makefile"
17997 ac_config_files="$ac_config_files librsaref/Makefile"
17999 ac_config_files="$ac_config_files ntpd/Makefile"
18001 ac_config_files="$ac_config_files ntpdate/Makefile"
18003 ac_config_files="$ac_config_files ntpdc/Makefile"
18005 ac_config_files="$ac_config_files ntpq/Makefile"
18007 ac_config_files="$ac_config_files ntptrace/Makefile"
18009 ac_config_files="$ac_config_files parseutil/Makefile"
18011 ac_config_files="$ac_config_files scripts/Makefile"
18013 ac_config_files="$ac_config_files scripts/calc_tickadj"
18015 ac_config_files="$ac_config_files scripts/checktime"
18017 ac_config_files="$ac_config_files scripts/freq_adj"
18019 ac_config_files="$ac_config_files scripts/mkver"
18021 ac_config_files="$ac_config_files scripts/ntp-wait"
18023 ac_config_files="$ac_config_files scripts/ntpsweep"
18025 ac_config_files="$ac_config_files scripts/ntpver"
18027 ac_config_files="$ac_config_files scripts/plot_summary"
18029 ac_config_files="$ac_config_files scripts/summary"
18031 ac_config_files="$ac_config_files util/Makefile"
18034 ac_config_commands="$ac_config_commands default"
18037 cat >confcache <<\_ACEOF
18038 # This file is a shell script that caches the results of configure
18039 # tests run on this system so they can be shared between configure
18040 # scripts and configure runs, see configure's option --config-cache.
18041 # It is not useful on other systems. If it contains results you don't
18042 # want to keep, you may remove or edit it.
18044 # config.status only pays attention to the cache file if you give it
18045 # the --recheck option to rerun configure.
18047 # `ac_cv_env_foo' variables (set or unset) will be overriden when
18048 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18049 # following values.
18053 # The following way of writing the cache mishandles newlines in values,
18054 # but we know of no workaround that is simple, portable, and efficient.
18055 # So, don't put newlines in cache variables' values.
18056 # Ultrix sh set writes to stderr and can't be redirected directly,
18057 # and sets the high bit in the cache file unless we assign to the vars.
18060 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18062 # `set' does not quote correctly, so add quotes (double-quote
18063 # substitution turns \\\\ into \\, and sed turns \\ into \).
18066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18069 # `set' quotes correctly as required by POSIX, so do not add quotes.
18071 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18078 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18080 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18082 if cmp -s $cache_file confcache; then :; else
18083 if test -w $cache_file; then
18084 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18085 cat confcache >$cache_file
18087 echo "not updating unwritable cache $cache_file"
18092 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18093 # Let make expand exec_prefix.
18094 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18096 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18097 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18098 # trailing colons and then remove the whole line if VPATH becomes empty
18099 # (actually we leave an empty line to preserve line numbers).
18100 if test "x$srcdir" = x.; then
18101 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18102 s/:*\$(srcdir):*/:/;
18103 s/:*\${srcdir}:*/:/;
18105 s/^\([^=]*=[ ]*\):*/\1/;
18111 DEFS=-DHAVE_CONFIG_H
18114 : ${CONFIG_STATUS=./config.status}
18115 ac_clean_files_save=$ac_clean_files
18116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18117 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18118 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18119 cat >$CONFIG_STATUS <<_ACEOF
18121 # Generated by $as_me.
18122 # Run this file to recreate the current configuration.
18123 # Compiler output produced by configure, useful for debugging
18124 # configure, is in config.log if it exists.
18127 SHELL=\${CONFIG_SHELL-$SHELL}
18130 cat >>$CONFIG_STATUS <<\_ACEOF
18132 ## --------------------- ##
18133 ## M4sh Initialization. ##
18134 ## --------------------- ##
18136 # Be Bourne compatible
18137 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18140 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18145 # Support unset when possible.
18146 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
18152 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
18153 { $as_unset LANG || test "${LANG+set}" != set; } ||
18154 { LANG=C; export LANG; }
18155 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
18156 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
18157 { LC_ALL=C; export LC_ALL; }
18158 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
18159 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
18160 { LC_TIME=C; export LC_TIME; }
18161 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
18162 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
18163 { LC_CTYPE=C; export LC_CTYPE; }
18164 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
18165 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
18166 { LANGUAGE=C; export LANGUAGE; }
18167 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
18168 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
18169 { LC_COLLATE=C; export LC_COLLATE; }
18170 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
18171 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
18172 { LC_NUMERIC=C; export LC_NUMERIC; }
18173 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
18174 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
18175 { LC_MESSAGES=C; export LC_MESSAGES; }
18178 # Name of the executable.
18179 as_me=`(basename "$0") 2>/dev/null ||
18180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18181 X"$0" : 'X\(//\)$' \| \
18182 X"$0" : 'X\(/\)$' \| \
18183 . : '\(.\)' 2>/dev/null ||
18185 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18186 /^X\/\(\/\/\)$/{ s//\1/; q; }
18187 /^X\/\(\/\).*/{ s//\1/; q; }
18190 # PATH needs CR, and LINENO needs CR and PATH.
18191 # Avoid depending upon Character Ranges.
18192 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18193 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18194 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18195 as_cr_digits='0123456789'
18196 as_cr_alnum=$as_cr_Letters$as_cr_digits
18198 # The user is always right.
18199 if test "${PATH_SEPARATOR+set}" != set; then
18200 echo "#! /bin/sh" >conftest.sh
18201 echo "exit 0" >>conftest.sh
18202 chmod +x conftest.sh
18203 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
18212 as_lineno_1=$LINENO
18213 as_lineno_2=$LINENO
18214 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18215 test "x$as_lineno_1" != "x$as_lineno_2" &&
18216 test "x$as_lineno_3" = "x$as_lineno_2" || {
18217 # Find who we are. Look in the path if we contain no path at all
18220 *[\\/]* ) as_myself=$0 ;;
18221 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18222 for as_dir in $PATH
18225 test -z "$as_dir" && as_dir=.
18226 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18231 # We did not find ourselves, most probably we were run as `sh COMMAND'
18232 # in which case we are not to be found in the path.
18233 if test "x$as_myself" = x; then
18236 if test ! -f "$as_myself"; then
18237 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18238 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18239 { (exit 1); exit 1; }; }
18241 case $CONFIG_SHELL in
18243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18244 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18247 test -z "$as_dir" && as_dir=.
18248 for as_base in sh bash ksh sh5; do
18251 if ("$as_dir/$as_base" -c '
18252 as_lineno_1=$LINENO
18253 as_lineno_2=$LINENO
18254 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18255 test "x$as_lineno_1" != "x$as_lineno_2" &&
18256 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18257 CONFIG_SHELL=$as_dir/$as_base
18258 export CONFIG_SHELL
18259 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18267 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18268 # uniformly replaced by the line number. The first 'sed' inserts a
18269 # line-number line before each line; the second 'sed' does the real
18270 # work. The second script uses 'N' to pair each line-number line
18271 # with the numbered line, and appends trailing '-' during
18272 # substitution so that $LINENO is not a special case at line end.
18273 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18274 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18275 sed '=' <$as_myself |
18280 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18283 s,^['$as_cr_digits']*\n,,
18284 ' >$as_me.lineno &&
18285 chmod +x $as_me.lineno ||
18286 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18287 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18288 { (exit 1); exit 1; }; }
18290 # Don't try to exec as it changes $[0], causing all sort of problems
18291 # (the dirname of $[0] is not the place where we might find the
18292 # original and so on. Autoconf is especially sensible to this).
18294 # Exit status is that of the last command.
18299 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18300 *c*,-n*) ECHO_N= ECHO_C='
18302 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18303 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18306 if expr a : '\(a\)' >/dev/null 2>&1; then
18312 rm -f conf$$ conf$$.exe conf$$.file
18314 if ln -s conf$$.file conf$$ 2>/dev/null; then
18315 # We could just check for DJGPP; but this test a) works b) is more generic
18316 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18317 if test -f conf$$.exe; then
18318 # Don't use ln at all; we don't have any links
18323 elif ln conf$$.file conf$$ 2>/dev/null; then
18328 rm -f conf$$ conf$$.exe conf$$.file
18330 as_executable_p="test -f"
18332 # Sed expression to map a string onto a valid CPP name.
18333 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18335 # Sed expression to map a string onto a valid variable name.
18336 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18340 # We need space, tab and new line, in precisely that order.
18346 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
18350 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18351 # report actual input values of CONFIG_FILES etc. instead of their
18352 # values after options handling. Logging --version etc. is OK.
18356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18357 ## Running $as_me. ##
18362 This file was extended by $as_me, which was
18363 generated by GNU Autoconf 2.53. Invocation command line was
18365 CONFIG_FILES = $CONFIG_FILES
18366 CONFIG_HEADERS = $CONFIG_HEADERS
18367 CONFIG_LINKS = $CONFIG_LINKS
18368 CONFIG_COMMANDS = $CONFIG_COMMANDS
18372 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18376 # Files that config.status was made for.
18377 if test -n "$ac_config_files"; then
18378 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18381 if test -n "$ac_config_headers"; then
18382 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18385 if test -n "$ac_config_links"; then
18386 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18389 if test -n "$ac_config_commands"; then
18390 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18393 cat >>$CONFIG_STATUS <<\_ACEOF
18396 \`$as_me' instantiates files from templates according to the
18397 current configuration.
18399 Usage: $0 [OPTIONS] [FILE]...
18401 -h, --help print this help, then exit
18402 -V, --version print version number, then exit
18403 -d, --debug don't remove temporary files
18404 --recheck update $as_me by reconfiguring in the same conditions
18405 --file=FILE[:TEMPLATE]
18406 instantiate the configuration file FILE
18407 --header=FILE[:TEMPLATE]
18408 instantiate the configuration header FILE
18410 Configuration files:
18413 Configuration headers:
18416 Configuration commands:
18419 Report bugs to <bug-autoconf@gnu.org>."
18422 cat >>$CONFIG_STATUS <<_ACEOF
18425 configured by $0, generated by GNU Autoconf 2.53,
18426 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18428 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
18429 Free Software Foundation, Inc.
18430 This config.status script is free software; the Free Software Foundation
18431 gives unlimited permission to copy, distribute and modify it."
18436 cat >>$CONFIG_STATUS <<\_ACEOF
18437 # If no file are specified by the user, then we need to provide default
18438 # value. By we need to know if files were specified by the user.
18444 ac_option=`expr "x$1" : 'x\([^=]*\)='`
18445 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18447 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
18451 *) # This is not an option, so the user has probably given explicit
18453 ac_need_defaults=false;;
18457 # Handling of the options.
18459 cat >>$CONFIG_STATUS <<_ACEOF
18460 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18461 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
18462 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
18464 cat >>$CONFIG_STATUS <<\_ACEOF
18465 --version | --vers* | -V )
18466 echo "$ac_cs_version"; exit 0 ;;
18468 # Conflict between --help and --header
18469 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18470 Try \`$0 --help' for more information." >&5
18471 echo "$as_me: error: ambiguous option: $1
18472 Try \`$0 --help' for more information." >&2;}
18473 { (exit 1); exit 1; }; };;
18474 --help | --hel | -h )
18475 echo "$ac_cs_usage"; exit 0 ;;
18476 --debug | --d* | -d )
18478 --file | --fil | --fi | --f )
18480 CONFIG_FILES="$CONFIG_FILES $1"
18481 ac_need_defaults=false;;
18482 --header | --heade | --head | --hea )
18484 CONFIG_HEADERS="$CONFIG_HEADERS $1"
18485 ac_need_defaults=false;;
18487 # This is an error.
18488 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18489 Try \`$0 --help' for more information." >&5
18490 echo "$as_me: error: unrecognized option: $1
18491 Try \`$0 --help' for more information." >&2;}
18492 { (exit 1); exit 1; }; } ;;
18494 *) ac_config_targets="$ac_config_targets $1" ;;
18502 cat >>$CONFIG_STATUS <<_ACEOF
18504 # INIT-COMMANDS section.
18507 AMDEP_TRUE="$AMDEP_TRUE"
18508 ac_aux_dir="$ac_aux_dir"
18514 cat >>$CONFIG_STATUS <<\_ACEOF
18515 for ac_config_target in $ac_config_targets
18517 case "$ac_config_target" in
18518 # Handling of arguments.
18519 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18520 "ElectricFence/Makefile" ) CONFIG_FILES="$CONFIG_FILES ElectricFence/Makefile" ;;
18521 "adjtimed/Makefile" ) CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;;
18522 "clockstuff/Makefile" ) CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;;
18523 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18524 "kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
18525 "kernel/sys/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;;
18526 "libntp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;;
18527 "libparse/Makefile" ) CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;;
18528 "librsaref/Makefile" ) CONFIG_FILES="$CONFIG_FILES librsaref/Makefile" ;;
18529 "ntpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;;
18530 "ntpdate/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;;
18531 "ntpdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;;
18532 "ntpq/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;;
18533 "ntptrace/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntptrace/Makefile" ;;
18534 "parseutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;;
18535 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
18536 "scripts/calc_tickadj" ) CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;;
18537 "scripts/checktime" ) CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;;
18538 "scripts/freq_adj" ) CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;;
18539 "scripts/mkver" ) CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;;
18540 "scripts/ntp-wait" ) CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;;
18541 "scripts/ntpsweep" ) CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;;
18542 "scripts/ntpver" ) CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;;
18543 "scripts/plot_summary" ) CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;;
18544 "scripts/summary" ) CONFIG_FILES="$CONFIG_FILES scripts/summary" ;;
18545 "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
18546 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18547 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
18548 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18551 { (exit 1); exit 1; }; };;
18555 # If the user did not use the arguments to specify the items to instantiate,
18556 # then the envvar interface is used. Set only those that are not.
18557 # We use the long form for the default assignment because of an extremely
18558 # bizarre bug on SunOS 4.1.3.
18559 if $ac_need_defaults; then
18560 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18561 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18562 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18565 # Create a temporary directory, and hook for its removal unless debugging.
18568 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18569 trap '{ (exit 1); exit 1; }' 1 2 13 15
18572 # Create a (secure) tmp directory for tmp files.
18575 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
18576 test -n "$tmp" && test -d "$tmp"
18579 tmp=$TMPDIR/cs$$-$RANDOM
18580 (umask 077 && mkdir $tmp)
18583 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
18584 { (exit 1); exit 1; }
18589 cat >>$CONFIG_STATUS <<_ACEOF
18592 # CONFIG_FILES section.
18595 # No need to generate the scripts if there are no CONFIG_FILES.
18596 # This happens for instance when ./config.status config.h
18597 if test -n "\$CONFIG_FILES"; then
18598 # Protect against being on the right side of a sed subst in config.status.
18599 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18600 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18601 s,@SHELL@,$SHELL,;t t
18602 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18603 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18604 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18605 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18606 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18607 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18608 s,@exec_prefix@,$exec_prefix,;t t
18609 s,@prefix@,$prefix,;t t
18610 s,@program_transform_name@,$program_transform_name,;t t
18611 s,@bindir@,$bindir,;t t
18612 s,@sbindir@,$sbindir,;t t
18613 s,@libexecdir@,$libexecdir,;t t
18614 s,@datadir@,$datadir,;t t
18615 s,@sysconfdir@,$sysconfdir,;t t
18616 s,@sharedstatedir@,$sharedstatedir,;t t
18617 s,@localstatedir@,$localstatedir,;t t
18618 s,@libdir@,$libdir,;t t
18619 s,@includedir@,$includedir,;t t
18620 s,@oldincludedir@,$oldincludedir,;t t
18621 s,@infodir@,$infodir,;t t
18622 s,@mandir@,$mandir,;t t
18623 s,@build_alias@,$build_alias,;t t
18624 s,@host_alias@,$host_alias,;t t
18625 s,@target_alias@,$target_alias,;t t
18626 s,@DEFS@,$DEFS,;t t
18627 s,@ECHO_C@,$ECHO_C,;t t
18628 s,@ECHO_N@,$ECHO_N,;t t
18629 s,@ECHO_T@,$ECHO_T,;t t
18630 s,@LIBS@,$LIBS,;t t
18631 s,@build@,$build,;t t
18632 s,@build_cpu@,$build_cpu,;t t
18633 s,@build_vendor@,$build_vendor,;t t
18634 s,@build_os@,$build_os,;t t
18635 s,@host@,$host,;t t
18636 s,@host_cpu@,$host_cpu,;t t
18637 s,@host_vendor@,$host_vendor,;t t
18638 s,@host_os@,$host_os,;t t
18639 s,@target@,$target,;t t
18640 s,@target_cpu@,$target_cpu,;t t
18641 s,@target_vendor@,$target_vendor,;t t
18642 s,@target_os@,$target_os,;t t
18643 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18644 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18645 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18646 s,@PACKAGE@,$PACKAGE,;t t
18647 s,@VERSION@,$VERSION,;t t
18648 s,@EXEEXT@,$EXEEXT,;t t
18649 s,@OBJEXT@,$OBJEXT,;t t
18650 s,@ACLOCAL@,$ACLOCAL,;t t
18651 s,@AUTOCONF@,$AUTOCONF,;t t
18652 s,@AUTOMAKE@,$AUTOMAKE,;t t
18653 s,@AUTOHEADER@,$AUTOHEADER,;t t
18654 s,@MAKEINFO@,$MAKEINFO,;t t
18655 s,@AMTAR@,$AMTAR,;t t
18656 s,@install_sh@,$install_sh,;t t
18657 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18659 s,@SET_MAKE@,$SET_MAKE,;t t
18660 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18661 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18662 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18663 s,@DEPDIR@,$DEPDIR,;t t
18665 s,@CFLAGS@,$CFLAGS,;t t
18666 s,@LDFLAGS@,$LDFLAGS,;t t
18667 s,@CPPFLAGS@,$CPPFLAGS,;t t
18668 s,@ac_ct_CC@,$ac_ct_CC,;t t
18669 s,@am__include@,$am__include,;t t
18670 s,@am__quote@,$am__quote,;t t
18671 s,@CCDEPMODE@,$CCDEPMODE,;t t
18673 s,@LN_S@,$LN_S,;t t
18674 s,@RANLIB@,$RANLIB,;t t
18675 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18676 s,@PATH_SH@,$PATH_SH,;t t
18677 s,@PATH_PERL@,$PATH_PERL,;t t
18679 s,@ANSI2KNR@,$ANSI2KNR,;t t
18680 s,@LIBOBJS@,$LIBOBJS,;t t
18681 s,@LIBPARSE@,$LIBPARSE,;t t
18682 s,@MAKE_LIBPARSE@,$MAKE_LIBPARSE,;t t
18683 s,@MAKE_LIBPARSE_KERNEL@,$MAKE_LIBPARSE_KERNEL,;t t
18684 s,@MAKE_CHECK_Y2K@,$MAKE_CHECK_Y2K,;t t
18685 s,@RSAOBJS@,$RSAOBJS,;t t
18686 s,@RSASRCS@,$RSASRCS,;t t
18687 s,@RSADIR@,$RSADIR,;t t
18688 s,@RSAREF@,$RSAREF,;t t
18689 s,@LIBRSAREF@,$LIBRSAREF,;t t
18690 s,@MAKE_LIBRSAREF@,$MAKE_LIBRSAREF,;t t
18691 s,@OPENSSL@,$OPENSSL,;t t
18692 s,@OPENSSL_INC@,$OPENSSL_INC,;t t
18693 s,@OPENSSL_LIB@,$OPENSSL_LIB,;t t
18694 s,@MAKE_NTP_GENKEYS@,$MAKE_NTP_GENKEYS,;t t
18695 s,@isRSAREF_TRUE@,$isRSAREF_TRUE,;t t
18696 s,@isRSAREF_FALSE@,$isRSAREF_FALSE,;t t
18697 s,@isRSAEURO_TRUE@,$isRSAEURO_TRUE,;t t
18698 s,@isRSAEURO_FALSE@,$isRSAEURO_FALSE,;t t
18699 s,@AUTOKEY@,$AUTOKEY,;t t
18700 s,@EF_PROGS@,$EF_PROGS,;t t
18701 s,@EF_LIBS@,$EF_LIBS,;t t
18702 s,@TESTDCF@,$TESTDCF,;t t
18703 s,@DCFD@,$DCFD,;t t
18704 s,@MAKE_PARSEKMODULE@,$MAKE_PARSEKMODULE,;t t
18705 s,@PROPDELAY@,$PROPDELAY,;t t
18706 s,@CHUTEST@,$CHUTEST,;t t
18707 s,@CLKTEST@,$CLKTEST,;t t
18708 s,@MAKE_ADJTIMED@,$MAKE_ADJTIMED,;t t
18709 s,@MAKE_NTPTIME@,$MAKE_NTPTIME,;t t
18710 s,@MAKE_TICKADJ@,$MAKE_TICKADJ,;t t
18711 s,@MAKE_TIMETRIM@,$MAKE_TIMETRIM,;t t
18716 cat >>$CONFIG_STATUS <<\_ACEOF
18717 # Split the substitutions into bite-sized pieces for seds with
18718 # small command number limits, like on Digital OSF/1 and HP-UX.
18719 ac_max_sed_lines=48
18720 ac_sed_frag=1 # Number of current file.
18721 ac_beg=1 # First line for current file.
18722 ac_end=$ac_max_sed_lines # Line after last line for current file.
18725 while $ac_more_lines; do
18726 if test $ac_beg -gt 1; then
18727 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18729 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18731 if test ! -s $tmp/subs.frag; then
18732 ac_more_lines=false
18734 # The purpose of the label and of the branching condition is to
18735 # speed up the sed processing (if there are no `@' at all, there
18736 # is no need to browse any of the substitutions).
18737 # These are the two extra sed commands mentioned above.
18739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18740 if test -z "$ac_sed_cmds"; then
18741 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18743 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18745 ac_sed_frag=`expr $ac_sed_frag + 1`
18747 ac_end=`expr $ac_end + $ac_max_sed_lines`
18750 if test -z "$ac_sed_cmds"; then
18753 fi # test -n "$CONFIG_FILES"
18756 cat >>$CONFIG_STATUS <<\_ACEOF
18757 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18758 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18760 - | *:- | *:-:* ) # input from stdin
18762 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18763 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18764 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18765 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18766 * ) ac_file_in=$ac_file.in ;;
18769 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18770 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18772 X"$ac_file" : 'X\(//\)[^/]' \| \
18773 X"$ac_file" : 'X\(//\)$' \| \
18774 X"$ac_file" : 'X\(/\)' \| \
18775 . : '\(.\)' 2>/dev/null ||
18777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18779 /^X\(\/\/\)$/{ s//\1/; q; }
18780 /^X\(\/\).*/{ s//\1/; q; }
18782 { case "$ac_dir" in
18783 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
18787 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
18788 case $as_mkdir_dir in
18789 # Skip DOS drivespec
18790 ?:) as_incr_dir=$as_mkdir_dir ;;
18792 as_incr_dir=$as_incr_dir/$as_mkdir_dir
18793 test -d "$as_incr_dir" ||
18794 mkdir "$as_incr_dir" ||
18795 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
18796 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
18797 { (exit 1); exit 1; }; }
18804 if test "$ac_dir" != .; then
18805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18806 # A "../" for each directory in $ac_dir_suffix.
18807 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18809 ac_dir_suffix= ac_top_builddir=
18813 .) # No --srcdir option. We are building in place.
18815 if test -z "$ac_top_builddir"; then
18818 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18820 [\\/]* | ?:[\\/]* ) # Absolute path.
18821 ac_srcdir=$srcdir$ac_dir_suffix;
18822 ac_top_srcdir=$srcdir ;;
18823 *) # Relative path.
18824 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18825 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18827 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18829 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18830 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
18831 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18832 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18836 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18837 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18840 if test x"$ac_file" != x-; then
18841 { echo "$as_me:$LINENO: creating $ac_file" >&5
18842 echo "$as_me: creating $ac_file" >&6;}
18845 # Let's still pretend it is `configure' which instantiates (i.e., don't
18846 # use $as_me), people would be surprised to read:
18847 # /* config.h. Generated by config.status. */
18848 if test x"$ac_file" = x-; then
18851 configure_input="$ac_file. "
18853 configure_input=$configure_input"Generated from `echo $ac_file_in |
18854 sed 's,.*/,,'` by configure."
18856 # First look for the input files in the build tree, otherwise in the
18858 ac_file_inputs=`IFS=:
18859 for f in $ac_file_in; do
18861 -) echo $tmp/stdin ;;
18863 # Absolute (can't be DOS-style, as IFS=:)
18864 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18865 echo "$as_me: error: cannot find input file: $f" >&2;}
18866 { (exit 1); exit 1; }; }
18869 if test -f "$f"; then
18872 elif test -f "$srcdir/$f"; then
18877 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18878 echo "$as_me: error: cannot find input file: $f" >&2;}
18879 { (exit 1); exit 1; }; }
18882 done` || { (exit 1); exit 1; }
18884 cat >>$CONFIG_STATUS <<_ACEOF
18888 cat >>$CONFIG_STATUS <<\_ACEOF
18890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18891 s,@configure_input@,$configure_input,;t t
18892 s,@srcdir@,$ac_srcdir,;t t
18893 s,@abs_srcdir@,$ac_abs_srcdir,;t t
18894 s,@top_srcdir@,$ac_top_srcdir,;t t
18895 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18896 s,@builddir@,$ac_builddir,;t t
18897 s,@abs_builddir@,$ac_abs_builddir,;t t
18898 s,@top_builddir@,$ac_top_builddir,;t t
18899 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18900 s,@INSTALL@,$ac_INSTALL,;t t
18901 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18903 if test x"$ac_file" != x-; then
18904 mv $tmp/out $ac_file
18912 cat >>$CONFIG_STATUS <<\_ACEOF
18915 # CONFIG_HEADER section.
18918 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18919 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18921 # ac_d sets the value in "#define NAME VALUE" lines.
18922 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18923 ac_dB='[ ].*$,\1#\2'
18926 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18927 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18928 ac_uB='$,\1#\2define\3'
18932 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18933 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18935 - | *:- | *:-:* ) # input from stdin
18937 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18938 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18939 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18940 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18941 * ) ac_file_in=$ac_file.in ;;
18944 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18945 echo "$as_me: creating $ac_file" >&6;}
18947 # First look for the input files in the build tree, otherwise in the
18949 ac_file_inputs=`IFS=:
18950 for f in $ac_file_in; do
18952 -) echo $tmp/stdin ;;
18954 # Absolute (can't be DOS-style, as IFS=:)
18955 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18956 echo "$as_me: error: cannot find input file: $f" >&2;}
18957 { (exit 1); exit 1; }; }
18960 if test -f "$f"; then
18963 elif test -f "$srcdir/$f"; then
18968 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18969 echo "$as_me: error: cannot find input file: $f" >&2;}
18970 { (exit 1); exit 1; }; }
18973 done` || { (exit 1); exit 1; }
18974 # Remove the trailing spaces.
18975 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18979 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18980 # `conftest.undefs', that substitutes the proper values into
18981 # config.h.in to produce config.h. The first handles `#define'
18982 # templates, and the second `#undef' templates.
18983 # And first: Protect against being on the right side of a sed subst in
18984 # config.status. Protect against being in an unquoted here document
18985 # in config.status.
18986 rm -f conftest.defines conftest.undefs
18987 # Using a here document instead of a string reduces the quoting nightmare.
18988 # Putting comments in sed scripts is not portable.
18990 # `end' is used to avoid that the second main sed command (meant for
18991 # 0-ary CPP macros) applies to n-ary macro definitions.
18992 # See the Autoconf documentation for `clear'.
18993 cat >confdef2sed.sed <<\_ACEOF
18998 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19000 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19003 # If some macros were called several times there might be several times
19004 # the same #defines, which is useless. Nevertheless, we may not want to
19005 # sort them, since we want the *last* AC-DEFINE to be honored.
19006 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19007 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19008 rm -f confdef2sed.sed
19010 # This sed command replaces #undef with comments. This is necessary, for
19011 # example, in the case of _POSIX_SOURCE, which is predefined and required
19012 # on some systems where configure will not decide to define it.
19013 cat >>conftest.undefs <<\_ACEOF
19014 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19017 # Break up conftest.defines because some shells have a limit on the size
19018 # of here documents, and old seds have small limits too (100 cmds).
19019 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19020 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19021 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19022 echo ' :' >>$CONFIG_STATUS
19023 rm -f conftest.tail
19024 while grep . conftest.defines >/dev/null
19026 # Write a limited-size here document to $tmp/defines.sed.
19027 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19028 # Speed up: don't consider the non `#define' lines.
19029 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19030 # Work around the forget-to-reset-the-flag bug.
19031 echo 't clr' >>$CONFIG_STATUS
19032 echo ': clr' >>$CONFIG_STATUS
19033 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
19035 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19037 mv $tmp/out $tmp/in
19039 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
19040 rm -f conftest.defines
19041 mv conftest.tail conftest.defines
19043 rm -f conftest.defines
19044 echo ' fi # egrep' >>$CONFIG_STATUS
19045 echo >>$CONFIG_STATUS
19047 # Break up conftest.undefs because some shells have a limit on the size
19048 # of here documents, and old seds have small limits too (100 cmds).
19049 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19050 rm -f conftest.tail
19051 while grep . conftest.undefs >/dev/null
19053 # Write a limited-size here document to $tmp/undefs.sed.
19054 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19055 # Speed up: don't consider the non `#undef'
19056 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19057 # Work around the forget-to-reset-the-flag bug.
19058 echo 't clr' >>$CONFIG_STATUS
19059 echo ': clr' >>$CONFIG_STATUS
19060 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19062 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19064 mv $tmp/out $tmp/in
19066 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19067 rm -f conftest.undefs
19068 mv conftest.tail conftest.undefs
19070 rm -f conftest.undefs
19072 cat >>$CONFIG_STATUS <<\_ACEOF
19073 # Let's still pretend it is `configure' which instantiates (i.e., don't
19074 # use $as_me), people would be surprised to read:
19075 # /* config.h. Generated by config.status. */
19076 if test x"$ac_file" = x-; then
19077 echo "/* Generated by configure. */" >$tmp/config.h
19079 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19081 cat $tmp/in >>$tmp/config.h
19083 if test x"$ac_file" != x-; then
19084 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
19085 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19086 echo "$as_me: $ac_file is unchanged" >&6;}
19088 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19090 X"$ac_file" : 'X\(//\)[^/]' \| \
19091 X"$ac_file" : 'X\(//\)$' \| \
19092 X"$ac_file" : 'X\(/\)' \| \
19093 . : '\(.\)' 2>/dev/null ||
19095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19097 /^X\(\/\/\)$/{ s//\1/; q; }
19098 /^X\(\/\).*/{ s//\1/; q; }
19100 { case "$ac_dir" in
19101 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
19105 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
19106 case $as_mkdir_dir in
19107 # Skip DOS drivespec
19108 ?:) as_incr_dir=$as_mkdir_dir ;;
19110 as_incr_dir=$as_incr_dir/$as_mkdir_dir
19111 test -d "$as_incr_dir" ||
19112 mkdir "$as_incr_dir" ||
19113 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
19114 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
19115 { (exit 1); exit 1; }; }
19121 mv $tmp/config.h $ac_file
19125 rm -f $tmp/config.h
19127 # Run the commands associated with the file.
19129 config.h ) # update the timestamp
19130 echo timestamp >"./stamp-h1"
19135 cat >>$CONFIG_STATUS <<\_ACEOF
19138 # CONFIG_COMMANDS section.
19140 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
19141 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19142 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19143 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
19144 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19145 X"$ac_dest" : 'X\(//\)[^/]' \| \
19146 X"$ac_dest" : 'X\(//\)$' \| \
19147 X"$ac_dest" : 'X\(/\)' \| \
19148 . : '\(.\)' 2>/dev/null ||
19150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19152 /^X\(\/\/\)$/{ s//\1/; q; }
19153 /^X\(\/\).*/{ s//\1/; q; }
19157 if test "$ac_dir" != .; then
19158 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19159 # A "../" for each directory in $ac_dir_suffix.
19160 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19162 ac_dir_suffix= ac_top_builddir=
19166 .) # No --srcdir option. We are building in place.
19168 if test -z "$ac_top_builddir"; then
19171 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19173 [\\/]* | ?:[\\/]* ) # Absolute path.
19174 ac_srcdir=$srcdir$ac_dir_suffix;
19175 ac_top_srcdir=$srcdir ;;
19176 *) # Relative path.
19177 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19178 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19180 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
19182 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
19183 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
19184 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
19185 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
19188 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19189 echo "$as_me: executing $ac_dest commands" >&6;}
19192 test x"$AMDEP_TRUE" != x"" ||
19193 for mf in $CONFIG_FILES; do
19195 Makefile) dirpart=.;;
19196 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
19199 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
19200 # Extract the definition of DEP_FILES from the Makefile without
19202 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
19203 test -z "$DEPDIR" && continue
19204 # When using ansi2knr, U may be empty or an underscore; expand it
19205 U=`sed -n -e '/^U = / s///p' < "$mf"`
19206 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
19207 # We invoke sed twice because it is the simplest approach to
19208 # changing $(DEPDIR) to its actual value in the expansion.
19209 for file in `sed -n -e '
19210 /^DEP_FILES = .*\\\\$/ {
19219 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
19220 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19221 # Make sure the directory exists.
19222 test -f "$dirpart/$file" && continue
19223 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
19224 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
19225 # echo "creating $dirpart/$file"
19226 echo '# dummy' > "$dirpart/$file"
19230 default ) chmod +x scripts/calc_tickadj scripts/checktime scripts/freq_adj scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver scripts/plot_summary scripts/summary ;;
19235 cat >>$CONFIG_STATUS <<\_ACEOF
19237 { (exit 0); exit 0; }
19239 chmod +x $CONFIG_STATUS
19240 ac_clean_files=$ac_clean_files_save
19243 # configure is writing to config.log, and then calls config.status.
19244 # config.status does its own redirection, appending to config.log.
19245 # Unfortunately, on DOS this fails, as config.log is still kept open
19246 # by configure, so config.status won't be able to write to it; its
19247 # output is simply discarded. So we exec the FD to /dev/null,
19248 # effectively closing config.log, so it can be properly (re)opened and
19249 # appended to by config.status. When coming back to configure, we
19250 # need to make the FD available again.
19251 if test "$no_create" != yes; then
19254 $SHELL $CONFIG_STATUS || ac_cs_success=false
19256 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19257 # would make configure fail if this is the last instruction.
19258 $ac_cs_success || { (exit 1); exit 1; }